handlers

package
v1.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: AGPL-3.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup()

Setup parses the environment and constructs AWS and http clients on a cold Lambda start. All required environment variables must be present or this function will panic.

Types

type API added in v1.14.0

type API struct{}

API defines all of the handlers as receiver functions.

func (API) BulkUpload added in v1.14.0

BulkUpload uploads multiple analysis items from a zipfile.

func (API) CreateDataModel added in v1.14.0

CreateDataModel adds a new DataModel to the Dynamo table.

func (API) CreateGlobal added in v1.14.0

func (API) CreatePolicy added in v1.14.0

CreatePolicy adds a new policy to the Dynamo table.

func (API) CreateRule added in v1.14.0

func (API) DeleteDataModels added in v1.14.0

func (api API) DeleteDataModels(input *models.DeleteDataModelsInput) *events.APIGatewayProxyResponse

func (API) DeleteGlobals added in v1.14.0

func (API) DeletePolicies added in v1.14.0

func (API) DeleteRules added in v1.14.0

func (API) GetDataModel added in v1.14.0

func (API) GetGlobal added in v1.14.0

func (API) GetPolicy added in v1.14.0

func (API) GetRule added in v1.14.0

func (API) ListDataModels added in v1.14.0

func (API) ListGlobals added in v1.14.0

func (API) ListPolicies added in v1.14.0

func (API) ListRules added in v1.14.0

func (API) Suppress added in v1.14.0

Suppress adds suppressions for one or more policies in the same organization.

func (API) TestPolicy added in v1.14.0

func (API) TestRule added in v1.14.0

func (API) UpdateDataModel added in v1.14.0

func (API) UpdateGlobal added in v1.14.0

func (API) UpdatePolicy added in v1.14.0

func (API) UpdateRule added in v1.14.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL