{"modulePath":"github.com/grumpy-programmer/aws-lambda-go","version":"v1.10.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package events\n\n## Constants\n\n```go\nconst (\n\tKinesisFirehoseTransformedStateOk               = \"Ok\"\n\tKinesisFirehoseTransformedStateDropped          = \"Dropped\"\n\tKinesisFirehoseTransformedStateProcessingFailed = \"ProcessingFailed\"\n)\n```\nConstants used for describing the transformation result\n\n```go\nconst (\n\tKinesisAnalyticsOutputDeliveryOK     = \"Ok\"\n\tKinesisAnalyticsOutputDeliveryFailed = \"DeliveryFailed\"\n)\n```\n\n## Types\n\n```go\ntype ALBTargetGroupRequest struct {\n\tHTTPMethod                      string                       `json:\"httpMethod\"`\n\tPath                            string                       `json:\"path\"`\n\tQueryStringParameters           map[string]string            `json:\"queryStringParameters,omitempty\"`\n\tMultiValueQueryStringParameters map[string][]string          `json:\"multiValueQueryStringParameters,omitempty\"`\n\tHeaders                         map[string]string            `json:\"headers,omitempty\"`\n\tMultiValueHeaders               map[string][]string          `json:\"multiValueHeaders,omitempty\"`\n\tRequestContext                  ALBTargetGroupRequestContext `json:\"requestContext\"`\n\tIsBase64Encoded                 bool                         `json:\"isBase64Encoded\"`\n\tBody                            string                       `json:\"body\"`\n}\n```\nALBTargetGroupRequest contains data originating from the ALB Lambda target group integration\n\n```go\ntype ALBTargetGroupRequestContext struct {\n\tELB ELBContext `json:\"elb\"`\n}\n```\nALBTargetGroupRequestContext contains the information to identify the load balancer invoking the lambda\n\n```go\ntype ALBTargetGroupResponse struct {\n\tStatusCode        int                 `json:\"statusCode\"`\n\tStatusDescription string              `json:\"statusDescription\"`\n\tHeaders           map[string]string   `json:\"headers\"`\n\tMultiValueHeaders map[string][]string `json:\"multiValueHeaders\"`\n\tBody              string              `json:\"body\"`\n\tIsBase64Encoded   bool                `json:\"isBase64Encoded\"`\n}\n```\nALBTargetGroupResponse configures the response to be returned by the ALB Lambda target group for the request\n\n```go\ntype APIGatewayCustomAuthorizerContext struct {\n\tPrincipalID *string `json:\"principalId\"`\n\tStringKey   *string `json:\"stringKey,omitempty\"`\n\tNumKey      *int    `json:\"numKey,omitempty\"`\n\tBoolKey     *bool   `json:\"boolKey,omitempty\"`\n}\n```\nAPIGatewayCustomAuthorizerContext represents the expected format of an API Gateway custom authorizer response. Deprecated. Code should be updated to use the Authorizer map from APIGatewayRequestIdentity. Ex: Authorizer\\[\"principalId\"]\n\n```go\ntype APIGatewayCustomAuthorizerPolicy struct {\n\tVersion   string\n\tStatement []IAMPolicyStatement\n}\n```\nAPIGatewayCustomAuthorizerPolicy represents an IAM policy\n\n```go\ntype APIGatewayCustomAuthorizerRequest struct {\n\tType               string `json:\"type\"`\n\tAuthorizationToken string `json:\"authorizationToken\"`\n\tMethodArn          string `json:\"methodArn\"`\n}\n```\nAPIGatewayCustomAuthorizerRequest contains data coming in to a custom API Gateway authorizer function.\n\n```go\ntype APIGatewayCustomAuthorizerRequestTypeRequest struct {\n\tType                            string                                              `json:\"type\"`\n\tMethodArn                       string                                              `json:\"methodArn\"`\n\tResource                        string                                              `json:\"resource\"`\n\tPath                            string                                              `json:\"path\"`\n\tHTTPMethod                      string                                              `json:\"httpMethod\"`\n\tHeaders                         map[string]string                                   `json:\"headers\"`\n\tMultiValueHeaders               map[string][]string                                 `json:\"multiValueHeaders\"`\n\tQueryStringParameters           map[string]string                                   `json:\"queryStringParameters\"`\n\tMultiValueQueryStringParameters map[string][]string                                 `json:\"multiValueQueryStringParameters\"`\n\tPathParameters                  map[string]string                                   `json:\"pathParameters\"`\n\tStageVariables                  map[string]string                                   `json:\"stageVariables\"`\n\tRequestContext                  APIGatewayCustomAuthorizerRequestTypeRequestContext `json:\"requestContext\"`\n}\n```\nAPIGatewayCustomAuthorizerRequestTypeRequest contains data coming in to a custom API Gateway authorizer function.\n\n```go\ntype APIGatewayCustomAuthorizerRequestTypeRequestContext struct {\n\tPath         string                                               `json:\"path\"`\n\tAccountID    string                                               `json:\"accountId\"`\n\tResourceID   string                                               `json:\"resourceId\"`\n\tStage        string                                               `json:\"stage\"`\n\tRequestID    string                                               `json:\"requestId\"`\n\tIdentity     APIGatewayCustomAuthorizerRequestTypeRequestIdentity `json:\"identity\"`\n\tResourcePath string                                               `json:\"resourcePath\"`\n\tHTTPMethod   string                                               `json:\"httpMethod\"`\n\tAPIID        string                                               `json:\"apiId\"`\n}\n```\nAPIGatewayCustomAuthorizerRequestTypeRequestContext represents the expected format of an API Gateway custom authorizer response.\n\n```go\ntype APIGatewayCustomAuthorizerRequestTypeRequestIdentity struct {\n\tAPIKey   string `json:\"apiKey\"`\n\tSourceIP string `json:\"sourceIp\"`\n}\n```\nAPIGatewayCustomAuthorizerRequestTypeRequestIdentity contains identity information for the request caller.\n\n```go\ntype APIGatewayCustomAuthorizerResponse struct {\n\tPrincipalID        string                           `json:\"principalId\"`\n\tPolicyDocument     APIGatewayCustomAuthorizerPolicy `json:\"policyDocument\"`\n\tContext            map[string]interface{}           `json:\"context,omitempty\"`\n\tUsageIdentifierKey string                           `json:\"usageIdentifierKey,omitempty\"`\n}\n```\nAPIGatewayCustomAuthorizerResponse represents the expected format of an API Gateway authorization response.\n\n```go\ntype APIGatewayProxyRequest struct {\n\tResource                        string                        `json:\"resource\"` // The resource path defined in API Gateway\n\tPath                            string                        `json:\"path\"`     // The url path for the caller\n\tHTTPMethod                      string                        `json:\"httpMethod\"`\n\tHeaders                         map[string]string             `json:\"headers\"`\n\tMultiValueHeaders               map[string][]string           `json:\"multiValueHeaders\"`\n\tQueryStringParameters           map[string]string             `json:\"queryStringParameters\"`\n\tMultiValueQueryStringParameters map[string][]string           `json:\"multiValueQueryStringParameters\"`\n\tPathParameters                  map[string]string             `json:\"pathParameters\"`\n\tStageVariables                  map[string]string             `json:\"stageVariables\"`\n\tRequestContext                  APIGatewayProxyRequestContext `json:\"requestContext\"`\n\tBody                            string                        `json:\"body\"`\n\tIsBase64Encoded                 bool                          `json:\"isBase64Encoded,omitempty\"`\n}\n```\nAPIGatewayProxyRequest contains data coming from the API Gateway proxy\n\n```go\ntype APIGatewayProxyRequestContext struct {\n\tAccountID    string                    `json:\"accountId\"`\n\tResourceID   string                    `json:\"resourceId\"`\n\tStage        string                    `json:\"stage\"`\n\tRequestID    string                    `json:\"requestId\"`\n\tIdentity     APIGatewayRequestIdentity `json:\"identity\"`\n\tResourcePath string                    `json:\"resourcePath\"`\n\tAuthorizer   map[string]interface{}    `json:\"authorizer\"`\n\tHTTPMethod   string                    `json:\"httpMethod\"`\n\tAPIID        string                    `json:\"apiId\"` // The API Gateway rest API Id\n}\n```\nAPIGatewayProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.\n\n```go\ntype APIGatewayProxyResponse struct {\n\tStatusCode        int                 `json:\"statusCode\"`\n\tHeaders           map[string]string   `json:\"headers\"`\n\tMultiValueHeaders map[string][]string `json:\"multiValueHeaders\"`\n\tBody              string              `json:\"body\"`\n\tIsBase64Encoded   bool                `json:\"isBase64Encoded,omitempty\"`\n}\n```\nAPIGatewayProxyResponse configures the response to be returned by API Gateway for the request\n\n```go\ntype APIGatewayRequestIdentity struct {\n\tCognitoIdentityPoolID         string `json:\"cognitoIdentityPoolId\"`\n\tAccountID                     string `json:\"accountId\"`\n\tCognitoIdentityID             string `json:\"cognitoIdentityId\"`\n\tCaller                        string `json:\"caller\"`\n\tAPIKey                        string `json:\"apiKey\"`\n\tAccessKey                     string `json:\"accessKey\"`\n\tSourceIP                      string `json:\"sourceIp\"`\n\tCognitoAuthenticationType     string `json:\"cognitoAuthenticationType\"`\n\tCognitoAuthenticationProvider string `json:\"cognitoAuthenticationProvider\"`\n\tUserArn                       string `json:\"userArn\"`\n\tUserAgent                     string `json:\"userAgent\"`\n\tUser                          string `json:\"user\"`\n}\n```\nAPIGatewayRequestIdentity contains identity information for the request caller.\n\n```go\ntype APIGatewayWebsocketProxyRequest struct {\n\tResource                        string                                 `json:\"resource\"` // The resource path defined in API Gateway\n\tPath                            string                                 `json:\"path\"`     // The url path for the caller\n\tHTTPMethod                      string                                 `json:\"httpMethod\"`\n\tHeaders                         map[string]string                      `json:\"headers\"`\n\tMultiValueHeaders               map[string][]string                    `json:\"multiValueHeaders\"`\n\tQueryStringParameters           map[string]string                      `json:\"queryStringParameters\"`\n\tMultiValueQueryStringParameters map[string][]string                    `json:\"multiValueQueryStringParameters\"`\n\tPathParameters                  map[string]string                      `json:\"pathParameters\"`\n\tStageVariables                  map[string]string                      `json:\"stageVariables\"`\n\tRequestContext                  APIGatewayWebsocketProxyRequestContext `json:\"requestContext\"`\n\tBody                            string                                 `json:\"body\"`\n\tIsBase64Encoded                 bool                                   `json:\"isBase64Encoded,omitempty\"`\n}\n```\nAPIGatewayWebsocketProxyRequest contains data coming from the API Gateway proxy\n\n```go\ntype APIGatewayWebsocketProxyRequestContext struct {\n\tAccountID          string                    `json:\"accountId\"`\n\tResourceID         string                    `json:\"resourceId\"`\n\tStage              string                    `json:\"stage\"`\n\tRequestID          string                    `json:\"requestId\"`\n\tIdentity           APIGatewayRequestIdentity `json:\"identity\"`\n\tResourcePath       string                    `json:\"resourcePath\"`\n\tAuthorizer         interface{}               `json:\"authorizer\"`\n\tHTTPMethod         string                    `json:\"httpMethod\"`\n\tAPIID              string                    `json:\"apiId\"` // The API Gateway rest API Id\n\tConnectedAt        int64                     `json:\"connectedAt\"`\n\tConnectionID       string                    `json:\"connectionId\"`\n\tDomainName         string                    `json:\"domainName\"`\n\tError              string                    `json:\"error\"`\n\tEventType          string                    `json:\"eventType\"`\n\tExtendedRequestID  string                    `json:\"extendedRequestId\"`\n\tIntegrationLatency string                    `json:\"integrationLatency\"`\n\tMessageDirection   string                    `json:\"messageDirection\"`\n\tMessageID          interface{}               `json:\"messageId\"`\n\tRequestTime        string                    `json:\"requestTime\"`\n\tRequestTimeEpoch   int64                     `json:\"requestTimeEpoch\"`\n\tRouteKey           string                    `json:\"routeKey\"`\n\tStatus             string                    `json:\"status\"`\n}\n```\nAPIGatewayWebsocketProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.\n\n```go\ntype AppSyncCognitoIdentity struct {\n\tSub                 string                 `json:\"sub\"`\n\tIssuer              string                 `json:\"issuer\"`\n\tUsername            string                 `json:\"username\"`\n\tClaims              map[string]interface{} `json:\"claims\"`\n\tSourceIP            []string               `json:\"sourceIp\"`\n\tDefaultAuthStrategy string                 `json:\"defaultAuthStrategy\"`\n}\n```\nAppSyncCognitoIdentity contains information about the caller authed via Cognito.\n\n```go\ntype AppSyncIAMIdentity struct {\n\tAccountID             string   `json:\"accountId\"`\n\tCognitoIdentityPoolID string   `json:\"cognitoIdentityPoolId\"`\n\tCognitoIdentityID     string   `json:\"cognitoIdentityId\"`\n\tSourceIP              []string `json:\"sourceIp\"`\n\tUsername              string   `json:\"username\"`\n\tUserARN               string   `json:\"userArn\"`\n}\n```\nAppSyncIAMIdentity contains information about the caller authed via IAM.\n\n```go\ntype AppSyncOperation string\n```\nAppSyncOperation specifies the operation type supported by Lambda operations\n\n```go\nconst (\n\t// OperationInvoke lets AWS AppSync know to call your Lambda function for every GraphQL field resolver\n\tOperationInvoke AppSyncOperation = \"Invoke\"\n\t// OperationBatchInvoke instructs AWS AppSync to batch requests for the current GraphQL field\n\tOperationBatchInvoke AppSyncOperation = \"BatchInvoke\"\n)\n```\n\n```go\ntype AppSyncResolverTemplate struct {\n\tVersion   string           `json:\"version\"`\n\tOperation AppSyncOperation `json:\"operation\"`\n\tPayload   json.RawMessage  `json:\"payload\"`\n}\n```\nAppSyncResolverTemplate represents the requests from AppSync to Lambda\n\n```go\ntype Attachment struct {\n\tTitle             string              `json:\"title,omitempty\"`\n\tSubTitle          string              `json:\"subTitle,omitempty\"`\n\tImageURL          string              `json:\"imageUrl,omitempty\"`\n\tAttachmentLinkURL string              `json:\"attachmentLinkUrl,omitempty\"`\n\tButtons           []map[string]string `json:\"buttons,omitempty\"`\n}\n```\n\n```go\ntype AutoScalingEvent struct {\n\tVersion    string                 `json:\"version\"`     // The version of event data\n\tID         string                 `json:\"id\"`          // The unique ID of the event\n\tDetailType string                 `json:\"detail-type\"` //Details about event type\n\tSource     string                 `json:\"source\"`      //Source of the event\n\tAccountID  string                 `json:\"account\"`     //AccountId\n\tTime       time.Time              `json:\"time\"`        //Event timestamp\n\tRegion     string                 `json:\"region\"`      //Region of event\n\tResources  []string               `json:\"resources\"`   //Information about resources impacted by event\n\tDetail     map[string]interface{} `json:\"detail\"`\n}\n```\nAutoScalingEvent struct is used to parse the json for auto scaling event types //\n\n```go\ntype ClaimsOverrideDetails struct {\n\tGroupOverrideDetails  GroupConfiguration `json:\"groupOverrideDetails\"`\n\tClaimsToAddOrOverride map[string]string  `json:\"claimsToAddOrOverride\"`\n\tClaimsToSuppress      []string           `json:\"claimsToSuppress\"`\n}\n```\nClaimsOverrideDetails allows lambda to add, supress or override claims in the token\n\n```go\ntype CloudWatchEvent struct {\n\tVersion    string          `json:\"version\"`\n\tID         string          `json:\"id\"`\n\tDetailType string          `json:\"detail-type\"`\n\tSource     string          `json:\"source\"`\n\tAccountID  string          `json:\"account\"`\n\tTime       time.Time       `json:\"time\"`\n\tRegion     string          `json:\"region\"`\n\tResources  []string        `json:\"resources\"`\n\tDetail     json.RawMessage `json:\"detail\"`\n}\n```\nCloudWatchEvent is the outer structure of an event sent via CloudWatch Events. For examples of events that come via CloudWatch Events, see [https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/EventTypes.html)\n\n```go\ntype CloudwatchLogsData struct {\n\tOwner               string                   `json:\"owner\"`\n\tLogGroup            string                   `json:\"logGroup\"`\n\tLogStream           string                   `json:\"logStream\"`\n\tSubscriptionFilters []string                 `json:\"subscriptionFilters\"`\n\tMessageType         string                   `json:\"messageType\"`\n\tLogEvents           []CloudwatchLogsLogEvent `json:\"logEvents\"`\n}\n```\nCloudwatchLogsData is an unmarshal'd, ungzip'd, cloudwatch logs event\n\n```go\ntype CloudwatchLogsEvent struct {\n\tAWSLogs CloudwatchLogsRawData `json:\"awslogs\"`\n}\n```\nCloudwatchLogsEvent represents raw data from a cloudwatch logs event\n\n```go\ntype CloudwatchLogsLogEvent struct {\n\tID        string `json:\"id\"`\n\tTimestamp int64  `json:\"timestamp\"`\n\tMessage   string `json:\"message\"`\n}\n```\nLogEvent represents a log entry from cloudwatch logs\n\n```go\ntype CloudwatchLogsRawData struct {\n\tData string `json:\"data\"`\n}\n```\nCloudwatchLogsRawData contains gzipped base64 json representing the bulk of a cloudwatch logs event\n\n```go\nfunc (c CloudwatchLogsRawData) Parse() (d CloudwatchLogsData, err error)\n```\nParse returns a struct representing a usable CloudwatchLogs event\n\n```go\ntype CodeCommitCodeCommit struct {\n\tReferences []CodeCommitReference `json:\"references\"`\n}\n```\nCodeCommitCodeCommit represents a CodeCommit object in a record\n\n```go\nfunc (c CodeCommitCodeCommit) String() string\n```\nString returns a string representation of this object. Useful for testing and debugging.\n\n```go\ntype CodeCommitEvent struct {\n\tRecords []CodeCommitRecord `json:\"Records\"`\n}\n```\nCodeCommitEvent represents a CodeCommit event\n\n```go\nfunc (e CodeCommitEvent) String() string\n```\nString returns a string representation of this object. Useful for testing and debugging.\n\n```go\ntype CodeCommitEventTime time.Time\n```\n\n```go\nfunc (t *CodeCommitEventTime) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (t *CodeCommitEventTime) UnmarshalJSON(data []byte) error\n```\n\n```go\ntype CodeCommitRecord struct {\n\tEventID              string               `json:\"eventId\"`\n\tEventVersion         string               `json:\"eventVersion\"`\n\tEventTime            CodeCommitEventTime  `json:\"eventTime\"`\n\tEventTriggerName     string               `json:\"eventTriggerName\"`\n\tEventPartNumber      uint64               `json:\"eventPartNumber\"`\n\tCodeCommit           CodeCommitCodeCommit `json:\"codecommit\"`\n\tEventName            string               `json:\"eventName\"`\n\tEventTriggerConfigId string               `json:\"eventTriggerConfigId\"`\n\tEventSourceARN       string               `json:\"eventSourceARN\"`\n\tUserIdentityARN      string               `json:\"userIdentityARN\"`\n\tEventSource          string               `json:\"eventSource\"`\n\tAWSRegion            string               `json:\"awsRegion\"`\n\tEventTotalParts      uint64               `json:\"eventTotalParts\"`\n\tCustomData           string               `json:\"customData,omitempty\"`\n}\n```\nrepresents a CodeCommit record\n\n```go\nfunc (r CodeCommitRecord) String() string\n```\nString returns a string representation of this object. Useful for testing and debugging.\n\n```go\ntype CodeCommitReference struct {\n\tCommit  string `json:\"commit\"`\n\tRef     string `json:\"ref\"`\n\tCreated bool   `json:\"created,omitempty\"`\n}\n```\nCodeCommitReference represents a Reference object in a CodeCommit object\n\n```go\nfunc (r CodeCommitReference) String() string\n```\nString returns a string representation of this object. Useful for testing and debugging.\n\n```go\ntype CodePipelineActionConfiguration struct {\n\tConfiguration CodePipelineConfiguration `json:\"configuration\"`\n}\n```\nCodePipelineActionConfiguration represents an Action Configuration\n\n```go\ntype CodePipelineArtifactCredentials struct {\n\tSecretAccessKey string `json:\"secretAccessKey\"`\n\tSessionToken    string `json:\"sessionToken\"`\n\tAccessKeyID     string `json:\"accessKeyId\"`\n}\n```\nCodePipelineArtifactCredentials represents CodePipeline artifact credentials\n\n```go\ntype CodePipelineConfiguration struct {\n\tFunctionName   string `json:\"FunctionName\"`\n\tUserParameters string `json:\"UserParameters\"`\n}\n```\nCodePipelineConfiguration represents a configuration for an Action Configuration\n\n```go\ntype CodePipelineData struct {\n\tActionConfiguration CodePipelineActionConfiguration `json:\"actionConfiguration\"`\n\tInputArtifacts      []CodePipelineInputArtifact     `json:\"inputArtifacts\"`\n\tOutPutArtifacts     []CodePipelineOutputArtifact    `json:\"outputArtifacts\"`\n\tArtifactCredentials CodePipelineArtifactCredentials `json:\"artifactCredentials\"`\n\tContinuationToken   string                          `json:\"continuationToken\"`\n}\n```\nCodePipelineData represents a job from an AWS CodePipeline event\n\n```go\ntype CodePipelineEvent struct {\n\tCodePipelineJob CodePipelineJob `json:\"CodePipeline.job\"`\n}\n```\nCodePipelineEvent contains data from an event sent from AWS Codepipeline\n\n```go\ntype CodePipelineInputArtifact struct {\n\tLocation CodePipelineInputLocation `json:\"location\"`\n\tRevision *string                   `json:\"revision\"`\n\tName     string                    `json:\"name\"`\n}\n```\nCodePipelineInputArtifact represents an input artifact\n\n```go\ntype CodePipelineInputLocation struct {\n\tS3Location   CodePipelineS3Location `json:\"s3Location\"`\n\tLocationType string                 `json:\"type\"`\n}\n```\nCodePipelineInputLocation represents a input location\n\n```go\ntype CodePipelineJob struct {\n\tID        string           `json:\"id\"`\n\tAccountID string           `json:\"accountId\"`\n\tData      CodePipelineData `json:\"data\"`\n}\n```\nCodePipelineJob represents a job from an AWS CodePipeline event\n\n```go\ntype CodePipelineOutputArtifact struct {\n\tLocation CodePipelineInputLocation `json:\"location\"`\n\tRevision *string                   `json:\"revision\"`\n\tName     string                    `json:\"name\"`\n}\n```\nCodePipelineOutputArtifact represents an output artifact\n\n```go\ntype CodePipelineOutputLocation struct {\n\tS3Location   CodePipelineS3Location `json:\"s3Location\"`\n\tLocationType string                 `json:\"type\"`\n}\n```\nCodePipelineOutputLocation represents a output location\n\n```go\ntype CodePipelineS3Location struct {\n\tBucketName string `json:\"bucketName\"`\n\tObjectKey  string `json:\"objectKey\"`\n}\n```\nCodePipelineS3Location represents an s3 input location\n\n```go\ntype CognitoDatasetRecord struct {\n\tNewValue string `json:\"newValue\"`\n\tOldValue string `json:\"oldValue\"`\n\tOp       string `json:\"op\"`\n}\n```\nCognitoDatasetRecord represents a record from an AWS Cognito Sync event\n\n```go\ntype CognitoEvent struct {\n\tDatasetName    string                          `json:\"datasetName\"`\n\tDatasetRecords map[string]CognitoDatasetRecord `json:\"datasetRecords\"`\n\tEventType      string                          `json:\"eventType\"`\n\tIdentityID     string                          `json:\"identityId\"`\n\tIdentityPoolID string                          `json:\"identityPoolId\"`\n\tRegion         string                          `json:\"region\"`\n\tVersion        int                             `json:\"version\"`\n}\n```\nCognitoEvent contains data from an event sent from AWS Cognito Sync\n\n```go\ntype CognitoEventUserPoolsCallerContext struct {\n\tAWSSDKVersion string `json:\"awsSdkVersion\"`\n\tClientID      string `json:\"clientId\"`\n}\n```\nCognitoEventUserPoolsCallerContext contains information about the caller\n\n```go\ntype CognitoEventUserPoolsHeader struct {\n\tVersion       string                             `json:\"version\"`\n\tTriggerSource string                             `json:\"triggerSource\"`\n\tRegion        string                             `json:\"region\"`\n\tUserPoolID    string                             `json:\"userPoolId\"`\n\tCallerContext CognitoEventUserPoolsCallerContext `json:\"callerContext\"`\n\tUserName      string                             `json:\"userName\"`\n}\n```\nCognitoEventUserPoolsHeader contains common data from events sent by AWS Cognito User Pools\n\n```go\ntype CognitoEventUserPoolsPostConfirmation struct {\n\tCognitoEventUserPoolsHeader\n\tRequest  CognitoEventUserPoolsPostConfirmationRequest  `json:\"request\"`\n\tResponse CognitoEventUserPoolsPostConfirmationResponse `json:\"response\"`\n}\n```\nCognitoEventUserPoolsPostConfirmation is sent by AWS Cognito User Pools after a user is confirmed, allowing the Lambda to send custom messages or add custom logic.\n\n```go\ntype CognitoEventUserPoolsPostConfirmationRequest struct {\n\tUserAttributes map[string]string `json:\"userAttributes\"`\n}\n```\nCognitoEventUserPoolsPostConfirmationRequest contains the request portion of a PostConfirmation event\n\n```go\ntype CognitoEventUserPoolsPostConfirmationResponse struct {\n}\n```\nCognitoEventUserPoolsPostConfirmationResponse contains the response portion of a PostConfirmation event\n\n```go\ntype CognitoEventUserPoolsPreSignup struct {\n\tCognitoEventUserPoolsHeader\n\tRequest  CognitoEventUserPoolsPreSignupRequest  `json:\"request\"`\n\tResponse CognitoEventUserPoolsPreSignupResponse `json:\"response\"`\n}\n```\nCognitoEventUserPoolsPreSignup is sent by AWS Cognito User Pools when a user attempts to register (sign up), allowing a Lambda to perform custom validation to accept or deny the registration request\n\n```go\ntype CognitoEventUserPoolsPreSignupRequest struct {\n\tUserAttributes map[string]string `json:\"userAttributes\"`\n\tValidationData map[string]string `json:\"validationData\"`\n}\n```\nCognitoEventUserPoolsPreSignupRequest contains the request portion of a PreSignup event\n\n```go\ntype CognitoEventUserPoolsPreSignupResponse struct {\n\tAutoConfirmUser bool `json:\"autoConfirmUser\"`\n\tAutoVerifyEmail bool `json:\"autoVerifyEmail\"`\n\tAutoVerifyPhone bool `json:\"autoVerifyPhone\"`\n}\n```\nCognitoEventUserPoolsPreSignupResponse contains the response portion of a PreSignup event\n\n```go\ntype CognitoEventUserPoolsPreTokenGen struct {\n\tCognitoEventUserPoolsHeader\n\tRequest  CognitoEventUserPoolsPreTokenGenRequest  `json:\"request\"`\n\tResponse CognitoEventUserPoolsPreTokenGenResponse `json:\"response\"`\n}\n```\nCognitoEventUserPoolsPreTokenGen is sent by AWS Cognito User Pools when a user attempts to retrieve credentials, allowing a Lambda to perform insert, supress or override claims\n\n```go\ntype CognitoEventUserPoolsPreTokenGenRequest struct {\n\tUserAttributes     map[string]string  `json:\"userAttributes\"`\n\tGroupConfiguration GroupConfiguration `json:\"groupConfiguration\"`\n}\n```\nCognitoEventUserPoolsPreTokenGenRequest contains request portion of PreTokenGen event\n\n```go\ntype CognitoEventUserPoolsPreTokenGenResponse struct {\n\tClaimsOverrideDetails ClaimsOverrideDetails `json:\"claimsOverrideDetails\"`\n}\n```\nCognitoEventUserPoolsPreTokenGenResponse containst the response portion of  a PreTokenGen event\n\n```go\ntype ConfigEvent struct {\n\tAccountID        string `json:\"accountId\"`     // The ID of the AWS account that owns the rule\n\tConfigRuleArn    string `json:\"configRuleArn\"` // The ARN that AWS Config assigned to the rule\n\tConfigRuleID     string `json:\"configRuleId\"`\n\tConfigRuleName   string `json:\"configRuleName\"` // The name that you assigned to the rule that caused AWS Config to publish the event\n\tEventLeftScope   bool   `json:\"eventLeftScope\"` // A boolean value that indicates whether the AWS resource to be evaluated has been removed from the rule's scope\n\tExecutionRoleArn string `json:\"executionRoleArn\"`\n\tInvokingEvent    string `json:\"invokingEvent\"`  // If the event is published in response to a resource configuration change, this value contains a JSON configuration item\n\tResultToken      string `json:\"resultToken\"`    // A token that the function must pass to AWS Config with the PutEvaluations call\n\tRuleParameters   string `json:\"ruleParameters\"` // Key/value pairs that the function processes as part of its evaluation logic\n\tVersion          string `json:\"version\"`\n}\n```\nConfigEvent contains data from an event sent from AWS Config\n\n```go\ntype ConnectContactData struct {\n\t// The custom attributes from Connect that the Lambda function was invoked with.\n\tAttributes       map[string]string `json:\"Attributes\"`\n\tChannel          string            `json:\"Channel\"`\n\tContactID        string            `json:\"ContactId\"`\n\tCustomerEndpoint ConnectEndpoint   `json:\"CustomerEndpoint\"`\n\tInitialContactID string            `json:\"InitialContactId\"`\n\n\t// Either: INBOUND/OUTBOUND/TRANSFER/CALLBACK\n\tInitiationMethod  string          `json:\"InitiationMethod\"`\n\tPreviousContactID string          `json:\"PreviousContactId\"`\n\tQueue             ConnectQueue    `json:\"Queue\"`\n\tSystemEndpoint    ConnectEndpoint `json:\"SystemEndpoint\"`\n\tInstanceARN       string          `json:\"InstanceARN\"`\n}\n```\nConnectContactData holds all of the contact information for the user that invoked the Connect event.\n\n```go\ntype ConnectDetails struct {\n\tContactData ConnectContactData `json:\"ContactData\"`\n\n\t// The parameters that have been set in the Connect instance at the time of the Lambda invocation.\n\tParameters map[string]string `json:\"Parameters\"`\n}\n```\nConnectDetails holds the details of a Connect event\n\n```go\ntype ConnectEndpoint struct {\n\tAddress string `json:\"Address\"`\n\tType    string `json:\"Type\"`\n}\n```\nConnectEndpoint represents routing information.\n\n```go\ntype ConnectEvent struct {\n\tDetails ConnectDetails `json:\"Details\"`\n\tName    string         `json:\"Name\"` // The name of the event.\n}\n```\nConnectEvent contains the data structure for a Connect event.\n\n```go\ntype ConnectQueue struct {\n\tName string `json:\"Name\"`\n\tARN  string `json:\"ARN\"`\n}\n```\nConnectQueue represents a queue object.\n\n```go\ntype ConnectResponse map[string]string\n```\nConnectResponse is the structure that Connect expects to get back from Lambda. These return values can be used in Connect to perform further routing decisions.\n\n```go\ntype DynamoDBAttributeValue struct {\n\t// contains filtered or unexported fields\n}\n```\nDynamoDBAttributeValue provides convenient access for a value stored in DynamoDB. For more information,  please see [http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API\\_AttributeValue.html](http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_AttributeValue.html)\n\n```go\nfunc NewBinaryAttribute(value []byte) DynamoDBAttributeValue\n```\nNewBinaryAttribute creates an DynamoDBAttributeValue containing a Binary\n\n```go\nfunc NewBinarySetAttribute(value [][]byte) DynamoDBAttributeValue\n```\nNewBinarySetAttribute creates an DynamoDBAttributeValue containing a BinarySet\n\n```go\nfunc NewBooleanAttribute(value bool) DynamoDBAttributeValue\n```\nNewBooleanAttribute creates an DynamoDBAttributeValue containing a Boolean\n\n```go\nfunc NewListAttribute(value []DynamoDBAttributeValue) DynamoDBAttributeValue\n```\nNewListAttribute creates an DynamoDBAttributeValue containing a List\n\n```go\nfunc NewMapAttribute(value map[string]DynamoDBAttributeValue) DynamoDBAttributeValue\n```\nNewMapAttribute creates an DynamoDBAttributeValue containing a Map\n\n```go\nfunc NewNullAttribute() DynamoDBAttributeValue\n```\nNewNullAttribute creates an DynamoDBAttributeValue containing a Null\n\n```go\nfunc NewNumberAttribute(value string) DynamoDBAttributeValue\n```\nNewNumberAttribute creates an DynamoDBAttributeValue containing a Number\n\n```go\nfunc NewNumberSetAttribute(value []string) DynamoDBAttributeValue\n```\nNewNumberSetAttribute creates an DynamoDBAttributeValue containing a NumberSet\n\n```go\nfunc NewStringAttribute(value string) DynamoDBAttributeValue\n```\nNewStringAttribute creates an DynamoDBAttributeValue containing a String\n\n```go\nfunc NewStringSetAttribute(value []string) DynamoDBAttributeValue\n```\nNewStringSetAttribute creates an DynamoDBAttributeValue containing a StringSet\n\n```go\nfunc (av DynamoDBAttributeValue) Binary() []byte\n```\nBinary provides access to an attribute of type Binary. Method panics if the attribute is not of type Binary.\n\n```go\nfunc (av DynamoDBAttributeValue) BinarySet() [][]byte\n```\nBinarySet provides access to an attribute of type Binary Set. Method panics if the attribute is not of type BinarySet.\n\n```go\nfunc (av DynamoDBAttributeValue) Boolean() bool\n```\nBoolean provides access to an attribute of type Boolean. Method panics if the attribute is not of type Boolean.\n\n```go\nfunc (av DynamoDBAttributeValue) DataType() DynamoDBDataType\n```\nDataType provides access to the DynamoDB type of the attribute\n\n```go\nfunc (av DynamoDBAttributeValue) Float() (float64, error)\n```\nFloat provides access to an attribute of type Number. DynamoDB sends the values as strings. For convenience this method provides conversion to float64. The returned value is the nearest floating point number rounded using IEEE754 unbiased rounding. If the number is more than 1/2 ULP away from the largest floating point number of the given size, the value returned is ±Inf, err.Err = ErrRange. Method panics if the attribute is not of type Number.\n\n```go\nfunc (av DynamoDBAttributeValue) Integer() (int64, error)\n```\nInteger provides access to an attribute of type Number. DynamoDB sends the values as strings. For convenience this method provides conversion to int. If the value cannot be represented by a signed integer, err.Err = ErrRange and the returned value is the maximum magnitude integer of an int64 of the appropriate sign. Method panics if the attribute is not of type Number.\n\n```go\nfunc (av DynamoDBAttributeValue) IsNull() bool\n```\nIsNull returns true if the attribute is of type Null.\n\n```go\nfunc (av DynamoDBAttributeValue) List() []DynamoDBAttributeValue\n```\nList provides access to an attribute of type List. Each element of the list is an DynamoDBAttributeValue itself. Method panics if the attribute is not of type List.\n\n```go\nfunc (av DynamoDBAttributeValue) Map() map[string]DynamoDBAttributeValue\n```\nMap provides access to an attribute of type Map. They Keys are strings and the values are DynamoDBAttributeValue instances. Method panics if the attribute is not of type Map.\n\n```go\nfunc (av DynamoDBAttributeValue) MarshalJSON() ([]byte, error)\n```\nMarshalJSON implements custom marshaling to be used by the standard json/encoding package\n\n```go\nfunc (av DynamoDBAttributeValue) Number() string\n```\nNumber provides access to an attribute of type Number. DynamoDB sends the values as strings. For convenience please see also the methods Integer() and Float(). Method panics if the attribute is not of type Number.\n\n```go\nfunc (av DynamoDBAttributeValue) NumberSet() []string\n```\nNumberSet provides access to an attribute of type Number Set. DynamoDB sends the numbers as strings. Method panics if the attribute is not of type Number.\n\n```go\nfunc (av DynamoDBAttributeValue) String() string\n```\nString provides access to an attribute of type String. Method panics if the attribute is not of type String.\n\n```go\nfunc (av DynamoDBAttributeValue) StringSet() []string\n```\nStringSet provides access to an attribute of type String Set. Method panics if the attribute is not of type String Set.\n\n```go\nfunc (av *DynamoDBAttributeValue) UnmarshalJSON(b []byte) error\n```\nUnmarshalJSON unmarshals a JSON description of this DynamoDBAttributeValue\n\n```go\ntype DynamoDBDataType int\n```\nDynamoDBDataType specifies the type supported natively by DynamoDB for an attribute\n\n```go\nconst (\n\tDataTypeBinary DynamoDBDataType = iota\n\tDataTypeBoolean\n\tDataTypeBinarySet\n\tDataTypeList\n\tDataTypeMap\n\tDataTypeNumber\n\tDataTypeNumberSet\n\tDataTypeNull\n\tDataTypeString\n\tDataTypeStringSet\n)\n```\n\n```go\ntype DynamoDBEvent struct {\n\tRecords []DynamoDBEventRecord `json:\"Records\"`\n}\n```\nThe DynamoDBEvent stream event handled to Lambda [http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-ddb-update](http://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-ddb-update)\n\n```go\ntype DynamoDBEventRecord struct {\n\t// The region in which the GetRecords request was received.\n\tAWSRegion string `json:\"awsRegion\"`\n\n\t// The main body of the stream record, containing all of the DynamoDB-specific\n\t// fields.\n\tChange DynamoDBStreamRecord `json:\"dynamodb\"`\n\n\t// A globally unique identifier for the event that was recorded in this stream\n\t// record.\n\tEventID string `json:\"eventID\"`\n\n\t// The type of data modification that was performed on the DynamoDB table:\n\t//\n\t//    * INSERT - a new item was added to the table.\n\t//\n\t//    * MODIFY - one or more of an existing item's attributes were modified.\n\t//\n\t//    * REMOVE - the item was deleted from the table\n\tEventName string `json:\"eventName\"`\n\n\t// The AWS service from which the stream record originated. For DynamoDB Streams,\n\t// this is aws:dynamodb.\n\tEventSource string `json:\"eventSource\"`\n\n\t// The version number of the stream record format. This number is updated whenever\n\t// the structure of Record is modified.\n\t//\n\t// Client applications must not assume that eventVersion will remain at a particular\n\t// value, as this number is subject to change at any time. In general, eventVersion\n\t// will only increase as the low-level DynamoDB Streams API evolves.\n\tEventVersion string `json:\"eventVersion\"`\n\n\t// The event source ARN of DynamoDB\n\tEventSourceArn string `json:\"eventSourceARN\"`\n\n\t// Items that are deleted by the Time to Live process after expiration have\n\t// the following fields:\n\t//\n\t//    * Records[].userIdentity.type\n\t//\n\t// \"Service\"\n\t//\n\t//    * Records[].userIdentity.principalId\n\t//\n\t// \"dynamodb.amazonaws.com\"\n\tUserIdentity *DynamoDBUserIdentity `json:\"userIdentity,omitempty\"`\n}\n```\nDynamoDbEventRecord stores information about each record of a DynamoDb stream event\n\n```go\ntype DynamoDBKeyType string\n```\n\n```go\nconst (\n\tDynamoDBKeyTypeHash  DynamoDBKeyType = \"HASH\"\n\tDynamoDBKeyTypeRange DynamoDBKeyType = \"RANGE\"\n)\n```\n\n```go\ntype DynamoDBOperationType string\n```\n\n```go\nconst (\n\tDynamoDBOperationTypeInsert DynamoDBOperationType = \"INSERT\"\n\tDynamoDBOperationTypeModify DynamoDBOperationType = \"MODIFY\"\n\tDynamoDBOperationTypeRemove DynamoDBOperationType = \"REMOVE\"\n)\n```\n\n```go\ntype DynamoDBSharedIteratorType string\n```\n\n```go\nconst (\n\tDynamoDBShardIteratorTypeTrimHorizon         DynamoDBSharedIteratorType = \"TRIM_HORIZON\"\n\tDynamoDBShardIteratorTypeLatest              DynamoDBSharedIteratorType = \"LATEST\"\n\tDynamoDBShardIteratorTypeAtSequenceNumber    DynamoDBSharedIteratorType = \"AT_SEQUENCE_NUMBER\"\n\tDynamoDBShardIteratorTypeAfterSequenceNumber DynamoDBSharedIteratorType = \"AFTER_SEQUENCE_NUMBER\"\n)\n```\n\n```go\ntype DynamoDBStreamRecord struct {\n\n\t// The approximate date and time when the stream record was created, in UNIX\n\t// epoch time (http://www.epochconverter.com/) format.\n\tApproximateCreationDateTime SecondsEpochTime `json:\"ApproximateCreationDateTime,omitempty\"`\n\n\t// The primary key attribute(s) for the DynamoDB item that was modified.\n\tKeys map[string]DynamoDBAttributeValue `json:\"Keys,omitempty\"`\n\n\t// The item in the DynamoDB table as it appeared after it was modified.\n\tNewImage map[string]DynamoDBAttributeValue `json:\"NewImage,omitempty\"`\n\n\t// The item in the DynamoDB table as it appeared before it was modified.\n\tOldImage map[string]DynamoDBAttributeValue `json:\"OldImage,omitempty\"`\n\n\t// The sequence number of the stream record.\n\tSequenceNumber string `json:\"SequenceNumber\"`\n\n\t// The size of the stream record, in bytes.\n\tSizeBytes int64 `json:\"SizeBytes\"`\n\n\t// The type of data from the modified DynamoDB item that was captured in this\n\t// stream record.\n\tStreamViewType string `json:\"StreamViewType\"`\n}\n```\nA description of a single data modification that was performed on an item in a DynamoDB table.\n\n```go\ntype DynamoDBStreamStatus string\n```\n\n```go\nconst (\n\tDynamoDBStreamStatusEnabling  DynamoDBStreamStatus = \"ENABLING\"\n\tDynamoDBStreamStatusEnabled   DynamoDBStreamStatus = \"ENABLED\"\n\tDynamoDBStreamStatusDisabling DynamoDBStreamStatus = \"DISABLING\"\n\tDynamoDBStreamStatusDisabled  DynamoDBStreamStatus = \"DISABLED\"\n)\n```\n\n```go\ntype DynamoDBStreamViewType string\n```\n\n```go\nconst (\n\tDynamoDBStreamViewTypeNewImage        DynamoDBStreamViewType = \"NEW_IMAGE\"          // the entire item, as it appeared after it was modified.\n\tDynamoDBStreamViewTypeOldImage        DynamoDBStreamViewType = \"OLD_IMAGE\"          // the entire item, as it appeared before it was modified.\n\tDynamoDBStreamViewTypeNewAndOldImages DynamoDBStreamViewType = \"NEW_AND_OLD_IMAGES\" // both the new and the old item images of the item.\n\tDynamoDBStreamViewTypeKeysOnly        DynamoDBStreamViewType = \"KEYS_ONLY\"          // only the key attributes of the modified item.\n)\n```\n\n```go\ntype DynamoDBUserIdentity struct {\n\tType        string `json:\"type\"`\n\tPrincipalID string `json:\"principalId\"`\n}\n```\n\n```go\ntype ELBContext struct {\n\tTargetGroupArn string `json:\"targetGroupArn\"`\n}\n```\nELBContext contains the information to identify the ARN invoking the lambda\n\n```go\ntype GroupConfiguration struct {\n\tGroupsToOverride   []string `json:\"groupsToOverride\"`\n\tIAMRolesToOverride []string `json:\"iamRolesToOverride\"`\n\tPreferredRole      *string  `json:\"preferredRole\"`\n}\n```\nGroupConfiguration allows lambda to override groups, roles and set a perferred role\n\n```go\ntype IAMPolicyStatement struct {\n\tAction   []string\n\tEffect   string\n\tResource []string\n}\n```\n\n```go\ntype IncompatibleDynamoDBTypeError struct {\n\tRequested DynamoDBDataType\n\tActual    DynamoDBDataType\n}\n```\nIncompatibleDynamoDBTypeError is the error passed in a panic when calling an accessor for an incompatible type\n\n```go\nfunc (e IncompatibleDynamoDBTypeError) Error() string\n```\n\n```go\ntype IoTButtonEvent struct {\n\tSerialNumber   string `json:\"serialNumber\"`\n\tClickType      string `json:\"clickType\"`\n\tBatteryVoltage string `json:\"batteryVoltage\"`\n}\n```\n\n```go\ntype KinesisAnalyticsOutputDeliveryEvent struct {\n\tInvocationID   string                                      `json:\"invocationId\"`\n\tApplicationARN string                                      `json:\"applicationArn\"`\n\tRecords        []KinesisAnalyticsOutputDeliveryEventRecord `json:\"records\"`\n}\n```\n\n```go\ntype KinesisAnalyticsOutputDeliveryEventRecord struct {\n\tRecordID string `json:\"recordId\"`\n\tData     []byte `json:\"data\"`\n}\n```\n\n```go\ntype KinesisAnalyticsOutputDeliveryResponse struct {\n\tRecords []KinesisAnalyticsOutputDeliveryResponseRecord `json:\"records\"`\n}\n```\n\n```go\ntype KinesisAnalyticsOutputDeliveryResponseRecord struct {\n\tRecordID string `json:\"recordId\"`\n\tResult   string `json:\"result\"` //possible values include Ok and DeliveryFailed\n}\n```\n\n```go\ntype KinesisEvent struct {\n\tRecords []KinesisEventRecord `json:\"Records\"`\n}\n```\n\n```go\ntype KinesisEventRecord struct {\n\tAwsRegion         string        `json:\"awsRegion\"`\n\tEventID           string        `json:\"eventID\"`\n\tEventName         string        `json:\"eventName\"`\n\tEventSource       string        `json:\"eventSource\"`\n\tEventSourceArn    string        `json:\"eventSourceARN\"`\n\tEventVersion      string        `json:\"eventVersion\"`\n\tInvokeIdentityArn string        `json:\"invokeIdentityArn\"`\n\tKinesis           KinesisRecord `json:\"kinesis\"`\n}\n```\n\n```go\ntype KinesisFirehoseEvent struct {\n\tInvocationID      string                       `json:\"invocationId\"`\n\tDeliveryStreamArn string                       `json:\"deliveryStreamArn\"`\n\tRegion            string                       `json:\"region\"`\n\tRecords           []KinesisFirehoseEventRecord `json:\"records\"`\n}\n```\nKinesisFirehoseEvent represents the input event from Amazon Kinesis Firehose. It is used as the input parameter.\n\n```go\ntype KinesisFirehoseEventRecord struct {\n\tRecordID                    string                `json:\"recordId\"`\n\tApproximateArrivalTimestamp MilliSecondsEpochTime `json:\"approximateArrivalTimestamp\"`\n\tData                        []byte                `json:\"data\"`\n}\n```\n\n```go\ntype KinesisFirehoseResponse struct {\n\tRecords []KinesisFirehoseResponseRecord `json:\"records\"`\n}\n```\n\n```go\ntype KinesisFirehoseResponseRecord struct {\n\tRecordID string `json:\"recordId\"`\n\tResult   string `json:\"result\"` // The status of the transformation. May be TransformedStateOk, TransformedStateDropped or TransformedStateProcessingFailed\n\tData     []byte `json:\"data\"`\n}\n```\n\n```go\ntype KinesisRecord struct {\n\tApproximateArrivalTimestamp SecondsEpochTime `json:\"approximateArrivalTimestamp\"`\n\tData                        []byte           `json:\"data\"`\n\tEncryptionType              string           `json:\"encryptionType,omitempty\"`\n\tPartitionKey                string           `json:\"partitionKey\"`\n\tSequenceNumber              string           `json:\"sequenceNumber\"`\n\tKinesisSchemaVersion        string           `json:\"kinesisSchemaVersion\"`\n}\n```\n\n```go\ntype LexBot struct {\n\tName    string `json:\"name,omitempty\"`\n\tAlias   string `json:\"alias,omitempty\"`\n\tVersion string `json:\"version,omitempty\"`\n}\n```\n\n```go\ntype LexCurrentIntent struct {\n\tName               string                `json:\"name,omitempty\"`\n\tSlots              Slots                 `json:\"slots,omitempty\"`\n\tSlotDetails        map[string]SlotDetail `json:\"slotDetails,omitempty\"`\n\tConfirmationStatus string                `json:\"confirmationStatus,omitempty\"`\n}\n```\n\n```go\ntype LexDialogAction struct {\n\tType             string            `json:\"type,omitempty\"`\n\tFulfillmentState string            `json:\"fulfillmentState,omitempty\"`\n\tMessage          map[string]string `json:\"message,omitempty\"`\n\tIntentName       string            `json:\"intentName,omitempty\"`\n\tSlots            Slots             `json:\"slots,omitempty\"`\n\tSlotToElicit     string            `json:\"slotToElicit,omitempty\"`\n\tResponseCard     *LexResponseCard  `json:\"responseCard,omitempty\"`\n}\n```\n\n```go\ntype LexEvent struct {\n\tMessageVersion    string            `json:\"messageVersion,omitempty\"`\n\tInvocationSource  string            `json:\"invocationSource,omitempty\"`\n\tUserID            string            `json:\"userId,omitempty\"`\n\tInputTranscript   string            `json:\"inputTranscript,omitempty\"`\n\tSessionAttributes map[string]string `json:\"sessionAttributes,omitempty\"`\n\tRequestAttributes map[string]string `json:\"requestAttributes,omitempty\"`\n\tBot               *LexBot           `json:\"bot,omitempty\"`\n\tOutputDialogMode  string            `json:\"outputDialogMode,omitempty\"`\n\tCurrentIntent     *LexCurrentIntent `json:\"currentIntent,omitempty\"`\n\tDialogAction      *LexDialogAction  `json:\"dialogAction,omitempty\"`\n}\n```\n\n```go\nfunc (h *LexEvent) Clear()\n```\n\n```go\ntype LexResponseCard struct {\n\tVersion            int64        `json:\"version,omitempty\"`\n\tContentType        string       `json:\"contentType,omitempty\"`\n\tGenericAttachments []Attachment `json:\"genericAttachments,omitempty\"`\n}\n```\n\n```go\ntype MilliSecondsEpochTime struct {\n\ttime.Time\n}\n```\nMilliSecondsEpochTime serializes a time.Time in JSON as a UNIX epoch time in milliseconds.\n\n```go\nfunc (e MilliSecondsEpochTime) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (e *MilliSecondsEpochTime) UnmarshalJSON(b []byte) error\n```\n\n```go\ntype S3Bucket struct {\n\tName          string         `json:\"name\"`\n\tOwnerIdentity S3UserIdentity `json:\"ownerIdentity\"`\n\tArn           string         `json:\"arn\"`\n}\n```\n\n```go\ntype S3Entity struct {\n\tSchemaVersion   string   `json:\"s3SchemaVersion\"`\n\tConfigurationID string   `json:\"configurationId\"`\n\tBucket          S3Bucket `json:\"bucket\"`\n\tObject          S3Object `json:\"object\"`\n}\n```\n\n```go\ntype S3Event struct {\n\tRecords []S3EventRecord `json:\"Records\"`\n}\n```\n\n```go\ntype S3EventRecord struct {\n\tEventVersion      string              `json:\"eventVersion\"`\n\tEventSource       string              `json:\"eventSource\"`\n\tAWSRegion         string              `json:\"awsRegion\"`\n\tEventTime         time.Time           `json:\"eventTime\"`\n\tEventName         string              `json:\"eventName\"`\n\tPrincipalID       S3UserIdentity      `json:\"userIdentity\"`\n\tRequestParameters S3RequestParameters `json:\"requestParameters\"`\n\tResponseElements  map[string]string   `json:\"responseElements\"`\n\tS3                S3Entity            `json:\"s3\"`\n}\n```\n\n```go\ntype S3Object struct {\n\tKey           string `json:\"key\"`\n\tSize          int64  `json:\"size\"`\n\tURLDecodedKey string `json:\"urlDecodedKey\"`\n\tVersionID     string `json:\"versionId\"`\n\tETag          string `json:\"eTag\"`\n\tSequencer     string `json:\"sequencer\"`\n}\n```\n\n```go\ntype S3RequestParameters struct {\n\tSourceIPAddress string `json:\"sourceIPAddress\"`\n}\n```\n\n```go\ntype S3TestEvent struct {\n\tService   string    `json:\"Service\"`\n\tBucket    string    `json:\"Bucket\"`\n\tEvent     string    `json:\"Event\"`\n\tTime      time.Time `json:\"Time\"`\n\tRequestID string    `json:\"RequestId\"`\n\tHostID    string    `json:\"HostId\"`\n}\n```\n\n```go\ntype S3UserIdentity struct {\n\tPrincipalID string `json:\"principalId\"`\n}\n```\n\n```go\ntype SNSEntity struct {\n\tSignature         string                 `json:\"Signature\"`\n\tMessageID         string                 `json:\"MessageId\"`\n\tType              string                 `json:\"Type\"`\n\tTopicArn          string                 `json:\"TopicArn\"`\n\tMessageAttributes map[string]interface{} `json:\"MessageAttributes\"`\n\tSignatureVersion  string                 `json:\"SignatureVersion\"`\n\tTimestamp         time.Time              `json:\"Timestamp\"`\n\tSigningCertURL    string                 `json:\"SigningCertUrl\"`\n\tMessage           string                 `json:\"Message\"`\n\tUnsubscribeURL    string                 `json:\"UnsubscribeUrl\"`\n\tSubject           string                 `json:\"Subject\"`\n}\n```\n\n```go\ntype SNSEvent struct {\n\tRecords []SNSEventRecord `json:\"Records\"`\n}\n```\n\n```go\ntype SNSEventRecord struct {\n\tEventVersion         string    `json:\"EventVersion\"`\n\tEventSubscriptionArn string    `json:\"EventSubscriptionArn\"`\n\tEventSource          string    `json:\"EventSource\"`\n\tSNS                  SNSEntity `json:\"Sns\"`\n}\n```\n\n```go\ntype SQSEvent struct {\n\tRecords []SQSMessage `json:\"Records\"`\n}\n```\n\n```go\ntype SQSMessage struct {\n\tMessageId              string                         `json:\"messageId\"`\n\tReceiptHandle          string                         `json:\"receiptHandle\"`\n\tBody                   string                         `json:\"body\"`\n\tMd5OfBody              string                         `json:\"md5OfBody\"`\n\tMd5OfMessageAttributes string                         `json:\"md5OfMessageAttributes\"`\n\tAttributes             map[string]string              `json:\"attributes\"`\n\tMessageAttributes      map[string]SQSMessageAttribute `json:\"messageAttributes\"`\n\tEventSourceARN         string                         `json:\"eventSourceARN\"`\n\tEventSource            string                         `json:\"eventSource\"`\n\tAWSRegion              string                         `json:\"awsRegion\"`\n}\n```\n\n```go\ntype SQSMessageAttribute struct {\n\tStringValue      *string  `json:\"stringValue,omitempty\"`\n\tBinaryValue      []byte   `json:\"binaryValue,omitempty\"`\n\tStringListValues []string `json:\"stringListValues\"`\n\tBinaryListValues [][]byte `json:\"binaryListValues\"`\n\tDataType         string   `json:\"dataType\"`\n}\n```\n\n```go\ntype SecondsEpochTime struct {\n\ttime.Time\n}\n```\nSecondsEpochTime serializes a time.Time in JSON as a UNIX epoch time in seconds\n\n```go\nfunc (e SecondsEpochTime) MarshalJSON() ([]byte, error)\n```\n\n```go\nfunc (e *SecondsEpochTime) UnmarshalJSON(b []byte) error\n```\n\n```go\ntype SimpleEmailCommonHeaders struct {\n\tFrom       []string `json:\"from\"`\n\tTo         []string `json:\"to\"`\n\tReturnPath string   `json:\"returnPath\"`\n\tMessageID  string   `json:\"messageId\"`\n\tDate       string   `json:\"date\"`\n\tSubject    string   `json:\"subject\"`\n}\n```\n\n```go\ntype SimpleEmailDisposition struct {\n\tDisposition SimpleEmailDispositionValue `json:\"disposition\"`\n}\n```\nSimpleEmailDisposition disposition return for SES to control rule functions\n\n```go\ntype SimpleEmailDispositionValue string\n```\nSimpleEmailDispositionValue enumeration representing the dispostition value for SES\n\n```go\nconst (\n\t// SimpleEmailContinue represents the CONTINUE disposition which tells the SES Rule Set to continue to the next rule\n\tSimpleEmailContinue SimpleEmailDispositionValue = \"CONTINUE\"\n\t// SimpleEmailStopRule represents the STOP_RULE disposition which tells the SES Rule Set to stop processing this rule and continue to the next\n\tSimpleEmailStopRule SimpleEmailDispositionValue = \"STOP_RULE\"\n\t// SimpleEmailStopRuleSet represents the STOP_RULE_SET disposition which tells the SES Rule SEt to stop processing all rules\n\tSimpleEmailStopRuleSet SimpleEmailDispositionValue = \"STOP_RULE_SET\"\n)\n```\n\n```go\ntype SimpleEmailEvent struct {\n\tRecords []SimpleEmailRecord `json:\"Records\"`\n}\n```\nSimpleEmailEvent is the outer structure of an event sent via SES.\n\n```go\ntype SimpleEmailHeader struct {\n\tName  string `json:\"name\"`\n\tValue string `json:\"value\"`\n}\n```\n\n```go\ntype SimpleEmailMessage struct {\n\tCommonHeaders    SimpleEmailCommonHeaders `json:\"commonHeaders\"`\n\tSource           string                   `json:\"source\"`\n\tTimestamp        time.Time                `json:\"timestamp\"`\n\tDestination      []string                 `json:\"destination\"`\n\tHeaders          []SimpleEmailHeader      `json:\"headers\"`\n\tHeadersTruncated bool                     `json:\"headersTruncated\"`\n\tMessageID        string                   `json:\"messageId\"`\n}\n```\n\n```go\ntype SimpleEmailReceipt struct {\n\tRecipients           []string                 `json:\"recipients\"`\n\tTimestamp            time.Time                `json:\"timestamp\"`\n\tSpamVerdict          SimpleEmailVerdict       `json:\"spamVerdict\"`\n\tDKIMVerdict          SimpleEmailVerdict       `json:\"dkimVerdict\"`\n\tDMARCVerdict         SimpleEmailVerdict       `json:\"dmarcVerdict\"`\n\tDMARCPolicy          string                   `json:\"dmarcPolicy\"`\n\tSPFVerdict           SimpleEmailVerdict       `json:\"spfVerdict\"`\n\tVirusVerdict         SimpleEmailVerdict       `json:\"virusVerdict\"`\n\tAction               SimpleEmailReceiptAction `json:\"action\"`\n\tProcessingTimeMillis int64                    `json:\"processingTimeMillis\"`\n}\n```\n\n```go\ntype SimpleEmailReceiptAction struct {\n\tType           string `json:\"type\"`\n\tInvocationType string `json:\"invocationType\"`\n\tFunctionArn    string `json:\"functionArn\"`\n}\n```\n\n```go\ntype SimpleEmailRecord struct {\n\tEventVersion string             `json:\"eventVersion\"`\n\tEventSource  string             `json:\"eventSource\"`\n\tSES          SimpleEmailService `json:\"ses\"`\n}\n```\n\n```go\ntype SimpleEmailService struct {\n\tMail    SimpleEmailMessage `json:\"mail\"`\n\tReceipt SimpleEmailReceipt `json:\"receipt\"`\n}\n```\n\n```go\ntype SimpleEmailVerdict struct {\n\tStatus string `json:\"status\"`\n}\n```\n\n```go\ntype SlotDetail struct {\n\tResolutions   []map[string]string `json:\"resolutions,omitempty\"`\n\tOriginalValue string              `json:\"originalValue,omitempty\"`\n}\n```\n\n```go\ntype Slots map[string]*string\n```\n\n```go\ntype UnsupportedDynamoDBTypeError struct {\n\tType string\n}\n```\nUnsupportedDynamoDBTypeError is the error returned when trying to unmarshal a DynamoDB Attribute type not recognized by this library\n\n```go\nfunc (e UnsupportedDynamoDBTypeError) Error() string\n```\n\n","path":"github.com/grumpy-programmer/aws-lambda-go/events","name":"events","synopsis":"","isRedistributable":true}
