Documentation ¶
Index ¶
- type ApiGateway
- type DynamoDB
- type SNS
- type SQS
- type Settings
- func (s *Settings) HandleAPIGatewayEvent(event events.APIGatewayProxyRequest) *lowcodeattribute.ExecutionResponse
- func (s *Settings) HandleDynamoDBEvent(event events.DynamoDBEvent) string
- func (s *Settings) HandleSNSEvent(event events.SNSEvent) string
- func (s *Settings) HandleSQSEvent(event events.SQSEvent) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGateway ¶ added in v0.1.15
type ApiGateway interface {
HandleAPIGatewayEvent(event events.APIGatewayProxyRequest) *lowcodeattribute.ExecutionResponse
}
type DynamoDB ¶ added in v0.1.15
type DynamoDB interface {
HandleDynamoDBEvent(event events.DynamoDBEvent) string
}
type Settings ¶ added in v0.1.15
Conf refers to the lambda function's configuration, containing all the necessary information about the request, database, and response parameters that the client uses to orchestrate requests.
func (*Settings) HandleAPIGatewayEvent ¶ added in v0.1.15
func (s *Settings) HandleAPIGatewayEvent(event events.APIGatewayProxyRequest) *lowcodeattribute.ExecutionResponse
handleAPIGatewayEvent é uma função interna que valida a requisição recebida do gateway e direciona a ação solicitada de acordo com o método http recebido.
É importante destacar, que apenas os métodos http indicados como permitido na configuração da função serão permitidos.
Caso o método enviado não seja suportado pela função ainda, ela responderá com um código 400
func (*Settings) HandleDynamoDBEvent ¶ added in v0.1.15
func (s *Settings) HandleDynamoDBEvent(event events.DynamoDBEvent) string
func (*Settings) HandleSNSEvent ¶ added in v0.1.15
Click to show internal directories.
Click to hide internal directories.