Documentation

Overview

Package lambda provides the client and types for making API requests to AWS Lambda.

Overview

This is the AWS Lambda API Reference. The AWS Lambda Developer Guide provides additional information. For the service overview, see What is AWS Lambda (https://docs.aws.amazon.com/lambda/latest/dg/welcome.html), and for information about how the service works, see AWS Lambda: How it Works (https://docs.aws.amazon.com/lambda/latest/dg/lambda-introduction.html) in the AWS Lambda Developer Guide.

See https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31 for more information on this service.

See lambda package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/

Using the Client

To contact AWS Lambda with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Lambda client Lambda for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/#New

Index

Examples

Constants

View Source
const (
	// CodeSigningPolicyWarn is a CodeSigningPolicy enum value
	CodeSigningPolicyWarn = "Warn"

	// CodeSigningPolicyEnforce is a CodeSigningPolicy enum value
	CodeSigningPolicyEnforce = "Enforce"
)
View Source
const (
	// EventSourcePositionTrimHorizon is a EventSourcePosition enum value
	EventSourcePositionTrimHorizon = "TRIM_HORIZON"

	// EventSourcePositionLatest is a EventSourcePosition enum value
	EventSourcePositionLatest = "LATEST"

	// EventSourcePositionAtTimestamp is a EventSourcePosition enum value
	EventSourcePositionAtTimestamp = "AT_TIMESTAMP"
)
View Source
const (
	// InvocationTypeEvent is a InvocationType enum value
	InvocationTypeEvent = "Event"

	// InvocationTypeRequestResponse is a InvocationType enum value
	InvocationTypeRequestResponse = "RequestResponse"

	// InvocationTypeDryRun is a InvocationType enum value
	InvocationTypeDryRun = "DryRun"
)
View Source
const (
	// LastUpdateStatusSuccessful is a LastUpdateStatus enum value
	LastUpdateStatusSuccessful = "Successful"

	// LastUpdateStatusFailed is a LastUpdateStatus enum value
	LastUpdateStatusFailed = "Failed"

	// LastUpdateStatusInProgress is a LastUpdateStatus enum value
	LastUpdateStatusInProgress = "InProgress"
)
View Source
const (
	// LastUpdateStatusReasonCodeEniLimitExceeded is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeEniLimitExceeded = "EniLimitExceeded"

	// LastUpdateStatusReasonCodeInsufficientRolePermissions is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInsufficientRolePermissions = "InsufficientRolePermissions"

	// LastUpdateStatusReasonCodeInvalidConfiguration is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInvalidConfiguration = "InvalidConfiguration"

	// LastUpdateStatusReasonCodeInternalError is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInternalError = "InternalError"

	// LastUpdateStatusReasonCodeSubnetOutOfIpaddresses is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses"

	// LastUpdateStatusReasonCodeInvalidSubnet is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInvalidSubnet = "InvalidSubnet"

	// LastUpdateStatusReasonCodeInvalidSecurityGroup is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup"

	// LastUpdateStatusReasonCodeImageDeleted is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeImageDeleted = "ImageDeleted"

	// LastUpdateStatusReasonCodeImageAccessDenied is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeImageAccessDenied = "ImageAccessDenied"

	// LastUpdateStatusReasonCodeInvalidImage is a LastUpdateStatusReasonCode enum value
	LastUpdateStatusReasonCodeInvalidImage = "InvalidImage"
)
View Source
const (
	// LogTypeNone is a LogType enum value
	LogTypeNone = "None"

	// LogTypeTail is a LogType enum value
	LogTypeTail = "Tail"
)
View Source
const (
	// PackageTypeZip is a PackageType enum value
	PackageTypeZip = "Zip"

	// PackageTypeImage is a PackageType enum value
	PackageTypeImage = "Image"
)
View Source
const (
	// ProvisionedConcurrencyStatusEnumInProgress is a ProvisionedConcurrencyStatusEnum enum value
	ProvisionedConcurrencyStatusEnumInProgress = "IN_PROGRESS"

	// ProvisionedConcurrencyStatusEnumReady is a ProvisionedConcurrencyStatusEnum enum value
	ProvisionedConcurrencyStatusEnumReady = "READY"

	// ProvisionedConcurrencyStatusEnumFailed is a ProvisionedConcurrencyStatusEnum enum value
	ProvisionedConcurrencyStatusEnumFailed = "FAILED"
)
View Source
const (
	// RuntimeNodejs is a Runtime enum value
	RuntimeNodejs = "nodejs"

	// RuntimeNodejs43 is a Runtime enum value
	RuntimeNodejs43 = "nodejs4.3"

	// RuntimeNodejs610 is a Runtime enum value
	RuntimeNodejs610 = "nodejs6.10"

	// RuntimeNodejs810 is a Runtime enum value
	RuntimeNodejs810 = "nodejs8.10"

	// RuntimeNodejs10X is a Runtime enum value
	RuntimeNodejs10X = "nodejs10.x"

	// RuntimeNodejs12X is a Runtime enum value
	RuntimeNodejs12X = "nodejs12.x"

	// RuntimeNodejs14X is a Runtime enum value
	RuntimeNodejs14X = "nodejs14.x"

	// RuntimeJava8 is a Runtime enum value
	RuntimeJava8 = "java8"

	// RuntimeJava8Al2 is a Runtime enum value
	RuntimeJava8Al2 = "java8.al2"

	// RuntimeJava11 is a Runtime enum value
	RuntimeJava11 = "java11"

	// RuntimePython27 is a Runtime enum value
	RuntimePython27 = "python2.7"

	// RuntimePython36 is a Runtime enum value
	RuntimePython36 = "python3.6"

	// RuntimePython37 is a Runtime enum value
	RuntimePython37 = "python3.7"

	// RuntimePython38 is a Runtime enum value
	RuntimePython38 = "python3.8"

	// RuntimeDotnetcore10 is a Runtime enum value
	RuntimeDotnetcore10 = "dotnetcore1.0"

	// RuntimeDotnetcore20 is a Runtime enum value
	RuntimeDotnetcore20 = "dotnetcore2.0"

	// RuntimeDotnetcore21 is a Runtime enum value
	RuntimeDotnetcore21 = "dotnetcore2.1"

	// RuntimeDotnetcore31 is a Runtime enum value
	RuntimeDotnetcore31 = "dotnetcore3.1"

	// RuntimeNodejs43Edge is a Runtime enum value
	RuntimeNodejs43Edge = "nodejs4.3-edge"

	// RuntimeGo1X is a Runtime enum value
	RuntimeGo1X = "go1.x"

	// RuntimeRuby25 is a Runtime enum value
	RuntimeRuby25 = "ruby2.5"

	// RuntimeRuby27 is a Runtime enum value
	RuntimeRuby27 = "ruby2.7"

	// RuntimeProvided is a Runtime enum value
	RuntimeProvided = "provided"

	// RuntimeProvidedAl2 is a Runtime enum value
	RuntimeProvidedAl2 = "provided.al2"
)
View Source
const (
	// SourceAccessTypeBasicAuth is a SourceAccessType enum value
	SourceAccessTypeBasicAuth = "BASIC_AUTH"

	// SourceAccessTypeVpcSubnet is a SourceAccessType enum value
	SourceAccessTypeVpcSubnet = "VPC_SUBNET"

	// SourceAccessTypeVpcSecurityGroup is a SourceAccessType enum value
	SourceAccessTypeVpcSecurityGroup = "VPC_SECURITY_GROUP"

	// SourceAccessTypeSaslScram512Auth is a SourceAccessType enum value
	SourceAccessTypeSaslScram512Auth = "SASL_SCRAM_512_AUTH"

	// SourceAccessTypeSaslScram256Auth is a SourceAccessType enum value
	SourceAccessTypeSaslScram256Auth = "SASL_SCRAM_256_AUTH"
)
View Source
const (
	// StatePending is a State enum value
	StatePending = "Pending"

	// StateActive is a State enum value
	StateActive = "Active"

	// StateInactive is a State enum value
	StateInactive = "Inactive"

	// StateFailed is a State enum value
	StateFailed = "Failed"
)
View Source
const (
	// StateReasonCodeIdle is a StateReasonCode enum value
	StateReasonCodeIdle = "Idle"

	// StateReasonCodeCreating is a StateReasonCode enum value
	StateReasonCodeCreating = "Creating"

	// StateReasonCodeRestoring is a StateReasonCode enum value
	StateReasonCodeRestoring = "Restoring"

	// StateReasonCodeEniLimitExceeded is a StateReasonCode enum value
	StateReasonCodeEniLimitExceeded = "EniLimitExceeded"

	// StateReasonCodeInsufficientRolePermissions is a StateReasonCode enum value
	StateReasonCodeInsufficientRolePermissions = "InsufficientRolePermissions"

	// StateReasonCodeInvalidConfiguration is a StateReasonCode enum value
	StateReasonCodeInvalidConfiguration = "InvalidConfiguration"

	// StateReasonCodeInternalError is a StateReasonCode enum value
	StateReasonCodeInternalError = "InternalError"

	// StateReasonCodeSubnetOutOfIpaddresses is a StateReasonCode enum value
	StateReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses"

	// StateReasonCodeInvalidSubnet is a StateReasonCode enum value
	StateReasonCodeInvalidSubnet = "InvalidSubnet"

	// StateReasonCodeInvalidSecurityGroup is a StateReasonCode enum value
	StateReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup"

	// StateReasonCodeImageDeleted is a StateReasonCode enum value
	StateReasonCodeImageDeleted = "ImageDeleted"

	// StateReasonCodeImageAccessDenied is a StateReasonCode enum value
	StateReasonCodeImageAccessDenied = "ImageAccessDenied"

	// StateReasonCodeInvalidImage is a StateReasonCode enum value
	StateReasonCodeInvalidImage = "InvalidImage"
)
View Source
const (
	// ThrottleReasonConcurrentInvocationLimitExceeded is a ThrottleReason enum value
	ThrottleReasonConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded"

	// ThrottleReasonFunctionInvocationRateLimitExceeded is a ThrottleReason enum value
	ThrottleReasonFunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded"

	// ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded is a ThrottleReason enum value
	ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded = "ReservedFunctionConcurrentInvocationLimitExceeded"

	// ThrottleReasonReservedFunctionInvocationRateLimitExceeded is a ThrottleReason enum value
	ThrottleReasonReservedFunctionInvocationRateLimitExceeded = "ReservedFunctionInvocationRateLimitExceeded"

	// ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value
	ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded"
)
View Source
const (
	// TracingModeActive is a TracingMode enum value
	TracingModeActive = "Active"

	// TracingModePassThrough is a TracingMode enum value
	TracingModePassThrough = "PassThrough"
)
View Source
const (

	// ErrCodeCodeSigningConfigNotFoundException for service response error code
	// "CodeSigningConfigNotFoundException".
	//
	// The specified code signing configuration does not exist.
	ErrCodeCodeSigningConfigNotFoundException = "CodeSigningConfigNotFoundException"

	// ErrCodeCodeStorageExceededException for service response error code
	// "CodeStorageExceededException".
	//
	// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	ErrCodeCodeStorageExceededException = "CodeStorageExceededException"

	// ErrCodeCodeVerificationFailedException for service response error code
	// "CodeVerificationFailedException".
	//
	// The code signature failed one or more of the validation checks for signature
	// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda
	// blocks the deployment.
	ErrCodeCodeVerificationFailedException = "CodeVerificationFailedException"

	// ErrCodeEC2AccessDeniedException for service response error code
	// "EC2AccessDeniedException".
	//
	// Need additional permissions to configure VPC settings.
	ErrCodeEC2AccessDeniedException = "EC2AccessDeniedException"

	// ErrCodeEC2ThrottledException for service response error code
	// "EC2ThrottledException".
	//
	// AWS Lambda was throttled by Amazon EC2 during Lambda function initialization
	// using the execution role provided for the Lambda function.
	ErrCodeEC2ThrottledException = "EC2ThrottledException"

	// ErrCodeEC2UnexpectedException for service response error code
	// "EC2UnexpectedException".
	//
	// AWS Lambda received an unexpected EC2 client exception while setting up for
	// the Lambda function.
	ErrCodeEC2UnexpectedException = "EC2UnexpectedException"

	// ErrCodeEFSIOException for service response error code
	// "EFSIOException".
	//
	// An error occured when reading from or writing to a connected file system.
	ErrCodeEFSIOException = "EFSIOException"

	// ErrCodeEFSMountConnectivityException for service response error code
	// "EFSMountConnectivityException".
	//
	// The function couldn't make a network connection to the configured file system.
	ErrCodeEFSMountConnectivityException = "EFSMountConnectivityException"

	// ErrCodeEFSMountFailureException for service response error code
	// "EFSMountFailureException".
	//
	// The function couldn't mount the configured file system due to a permission
	// or configuration issue.
	ErrCodeEFSMountFailureException = "EFSMountFailureException"

	// ErrCodeEFSMountTimeoutException for service response error code
	// "EFSMountTimeoutException".
	//
	// The function was able to make a network connection to the configured file
	// system, but the mount operation timed out.
	ErrCodeEFSMountTimeoutException = "EFSMountTimeoutException"

	// ErrCodeENILimitReachedException for service response error code
	// "ENILimitReachedException".
	//
	// AWS Lambda was not able to create an elastic network interface in the VPC,
	// specified as part of Lambda function configuration, because the limit for
	// network interfaces has been reached.
	ErrCodeENILimitReachedException = "ENILimitReachedException"

	// ErrCodeInvalidCodeSignatureException for service response error code
	// "InvalidCodeSignatureException".
	//
	// The code signature failed the integrity check. Lambda always blocks deployment
	// if the integrity check fails, even if code signing policy is set to WARN.
	ErrCodeInvalidCodeSignatureException = "InvalidCodeSignatureException"

	// ErrCodeInvalidParameterValueException for service response error code
	// "InvalidParameterValueException".
	//
	// One of the parameters in the request is invalid.
	ErrCodeInvalidParameterValueException = "InvalidParameterValueException"

	// ErrCodeInvalidRequestContentException for service response error code
	// "InvalidRequestContentException".
	//
	// The request body could not be parsed as JSON.
	ErrCodeInvalidRequestContentException = "InvalidRequestContentException"

	// ErrCodeInvalidRuntimeException for service response error code
	// "InvalidRuntimeException".
	//
	// The runtime or runtime version specified is not supported.
	ErrCodeInvalidRuntimeException = "InvalidRuntimeException"

	// ErrCodeInvalidSecurityGroupIDException for service response error code
	// "InvalidSecurityGroupIDException".
	//
	// The Security Group ID provided in the Lambda function VPC configuration is
	// invalid.
	ErrCodeInvalidSecurityGroupIDException = "InvalidSecurityGroupIDException"

	// ErrCodeInvalidSubnetIDException for service response error code
	// "InvalidSubnetIDException".
	//
	// The Subnet ID provided in the Lambda function VPC configuration is invalid.
	ErrCodeInvalidSubnetIDException = "InvalidSubnetIDException"

	// ErrCodeInvalidZipFileException for service response error code
	// "InvalidZipFileException".
	//
	// AWS Lambda could not unzip the deployment package.
	ErrCodeInvalidZipFileException = "InvalidZipFileException"

	// ErrCodeKMSAccessDeniedException for service response error code
	// "KMSAccessDeniedException".
	//
	// Lambda was unable to decrypt the environment variables because KMS access
	// was denied. Check the Lambda function's KMS permissions.
	ErrCodeKMSAccessDeniedException = "KMSAccessDeniedException"

	// ErrCodeKMSDisabledException for service response error code
	// "KMSDisabledException".
	//
	// Lambda was unable to decrypt the environment variables because the KMS key
	// used is disabled. Check the Lambda function's KMS key settings.
	ErrCodeKMSDisabledException = "KMSDisabledException"

	// ErrCodeKMSInvalidStateException for service response error code
	// "KMSInvalidStateException".
	//
	// Lambda was unable to decrypt the environment variables because the KMS key
	// used is in an invalid state for Decrypt. Check the function's KMS key settings.
	ErrCodeKMSInvalidStateException = "KMSInvalidStateException"

	// ErrCodeKMSNotFoundException for service response error code
	// "KMSNotFoundException".
	//
	// Lambda was unable to decrypt the environment variables because the KMS key
	// was not found. Check the function's KMS key settings.
	ErrCodeKMSNotFoundException = "KMSNotFoundException"

	// ErrCodePolicyLengthExceededException for service response error code
	// "PolicyLengthExceededException".
	//
	// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
	ErrCodePolicyLengthExceededException = "PolicyLengthExceededException"

	// ErrCodePreconditionFailedException for service response error code
	// "PreconditionFailedException".
	//
	// The RevisionId provided does not match the latest RevisionId for the Lambda
	// function or alias. Call the GetFunction or the GetAlias API to retrieve the
	// latest RevisionId for your resource.
	ErrCodePreconditionFailedException = "PreconditionFailedException"

	// ErrCodeProvisionedConcurrencyConfigNotFoundException for service response error code
	// "ProvisionedConcurrencyConfigNotFoundException".
	//
	// The specified configuration does not exist.
	ErrCodeProvisionedConcurrencyConfigNotFoundException = "ProvisionedConcurrencyConfigNotFoundException"

	// ErrCodeRequestTooLargeException for service response error code
	// "RequestTooLargeException".
	//
	// The request payload exceeded the Invoke request body JSON input limit. For
	// more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html).
	ErrCodeRequestTooLargeException = "RequestTooLargeException"

	// ErrCodeResourceConflictException for service response error code
	// "ResourceConflictException".
	//
	// The resource already exists, or another operation is in progress.
	ErrCodeResourceConflictException = "ResourceConflictException"

	// ErrCodeResourceInUseException for service response error code
	// "ResourceInUseException".
	//
	// The operation conflicts with the resource's availability. For example, you
	// attempted to update an EventSource Mapping in CREATING, or tried to delete
	// a EventSource mapping currently in the UPDATING state.
	ErrCodeResourceInUseException = "ResourceInUseException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource specified in the request does not exist.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeResourceNotReadyException for service response error code
	// "ResourceNotReadyException".
	//
	// The function is inactive and its VPC connection is no longer available. Wait
	// for the VPC connection to reestablish and try again.
	ErrCodeResourceNotReadyException = "ResourceNotReadyException"

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// The AWS Lambda service encountered an internal error.
	ErrCodeServiceException = "ServiceException"

	// ErrCodeSubnetIPAddressLimitReachedException for service response error code
	// "SubnetIPAddressLimitReachedException".
	//
	// AWS Lambda was not able to set up VPC access for the Lambda function because
	// one or more configured subnets has no available IP addresses.
	ErrCodeSubnetIPAddressLimitReachedException = "SubnetIPAddressLimitReachedException"

	// ErrCodeTooManyRequestsException for service response error code
	// "TooManyRequestsException".
	//
	// The request throughput limit was exceeded.
	ErrCodeTooManyRequestsException = "TooManyRequestsException"

	// ErrCodeUnsupportedMediaTypeException for service response error code
	// "UnsupportedMediaTypeException".
	//
	// The content type of the Invoke request body is not JSON.
	ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException"
)
View Source
const (
	ServiceName = "lambda"    // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "Lambda"    // ServiceID is a unique identifier of a specific service.
)

    Service information constants

    View Source
    const (
    	// EndPointTypeKafkaBootstrapServers is a EndPointType enum value
    	EndPointTypeKafkaBootstrapServers = "KAFKA_BOOTSTRAP_SERVERS"
    )
    View Source
    const (
    	// FunctionResponseTypeReportBatchItemFailures is a FunctionResponseType enum value
    	FunctionResponseTypeReportBatchItemFailures = "ReportBatchItemFailures"
    )
    View Source
    const (
    	// FunctionVersionAll is a FunctionVersion enum value
    	FunctionVersionAll = "ALL"
    )

    Variables

    This section is empty.

    Functions

    func CodeSigningPolicy_Values

    func CodeSigningPolicy_Values() []string

      CodeSigningPolicy_Values returns all elements of the CodeSigningPolicy enum

      func EndPointType_Values

      func EndPointType_Values() []string

        EndPointType_Values returns all elements of the EndPointType enum

        func EventSourcePosition_Values

        func EventSourcePosition_Values() []string

          EventSourcePosition_Values returns all elements of the EventSourcePosition enum

          func FunctionResponseType_Values

          func FunctionResponseType_Values() []string

            FunctionResponseType_Values returns all elements of the FunctionResponseType enum

            func FunctionVersion_Values

            func FunctionVersion_Values() []string

              FunctionVersion_Values returns all elements of the FunctionVersion enum

              func InvocationType_Values

              func InvocationType_Values() []string

                InvocationType_Values returns all elements of the InvocationType enum

                func LastUpdateStatusReasonCode_Values

                func LastUpdateStatusReasonCode_Values() []string

                  LastUpdateStatusReasonCode_Values returns all elements of the LastUpdateStatusReasonCode enum

                  func LastUpdateStatus_Values

                  func LastUpdateStatus_Values() []string

                    LastUpdateStatus_Values returns all elements of the LastUpdateStatus enum

                    func LogType_Values

                    func LogType_Values() []string

                      LogType_Values returns all elements of the LogType enum

                      func PackageType_Values

                      func PackageType_Values() []string

                        PackageType_Values returns all elements of the PackageType enum

                        func ProvisionedConcurrencyStatusEnum_Values

                        func ProvisionedConcurrencyStatusEnum_Values() []string

                          ProvisionedConcurrencyStatusEnum_Values returns all elements of the ProvisionedConcurrencyStatusEnum enum

                          func Runtime_Values

                          func Runtime_Values() []string

                            Runtime_Values returns all elements of the Runtime enum

                            func SourceAccessType_Values

                            func SourceAccessType_Values() []string

                              SourceAccessType_Values returns all elements of the SourceAccessType enum

                              func StateReasonCode_Values

                              func StateReasonCode_Values() []string

                                StateReasonCode_Values returns all elements of the StateReasonCode enum

                                func State_Values

                                func State_Values() []string

                                  State_Values returns all elements of the State enum

                                  func ThrottleReason_Values

                                  func ThrottleReason_Values() []string

                                    ThrottleReason_Values returns all elements of the ThrottleReason enum

                                    func TracingMode_Values

                                    func TracingMode_Values() []string

                                      TracingMode_Values returns all elements of the TracingMode enum

                                      Types

                                      type AccountLimit

                                      type AccountLimit struct {
                                      
                                      	// The maximum size of a function's deployment package and layers when they're
                                      	// extracted.
                                      	CodeSizeUnzipped *int64 `type:"long"`
                                      
                                      	// The maximum size of a deployment package when it's uploaded directly to AWS
                                      	// Lambda. Use Amazon S3 for larger files.
                                      	CodeSizeZipped *int64 `type:"long"`
                                      
                                      	// The maximum number of simultaneous function executions.
                                      	ConcurrentExecutions *int64 `type:"integer"`
                                      
                                      	// The amount of storage space that you can use for all deployment packages
                                      	// and layer archives.
                                      	TotalCodeSize *int64 `type:"long"`
                                      
                                      	// The maximum number of simultaneous function executions, minus the capacity
                                      	// that's reserved for individual functions with PutFunctionConcurrency.
                                      	UnreservedConcurrentExecutions *int64 `type:"integer"`
                                      	// contains filtered or unexported fields
                                      }

                                        Limits that are related to concurrency and storage. All file and storage sizes are in bytes.

                                        func (AccountLimit) GoString

                                        func (s AccountLimit) GoString() string

                                          GoString returns the string representation

                                          func (*AccountLimit) SetCodeSizeUnzipped

                                          func (s *AccountLimit) SetCodeSizeUnzipped(v int64) *AccountLimit

                                            SetCodeSizeUnzipped sets the CodeSizeUnzipped field's value.

                                            func (*AccountLimit) SetCodeSizeZipped

                                            func (s *AccountLimit) SetCodeSizeZipped(v int64) *AccountLimit

                                              SetCodeSizeZipped sets the CodeSizeZipped field's value.

                                              func (*AccountLimit) SetConcurrentExecutions

                                              func (s *AccountLimit) SetConcurrentExecutions(v int64) *AccountLimit

                                                SetConcurrentExecutions sets the ConcurrentExecutions field's value.

                                                func (*AccountLimit) SetTotalCodeSize

                                                func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit

                                                  SetTotalCodeSize sets the TotalCodeSize field's value.

                                                  func (*AccountLimit) SetUnreservedConcurrentExecutions

                                                  func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit

                                                    SetUnreservedConcurrentExecutions sets the UnreservedConcurrentExecutions field's value.

                                                    func (AccountLimit) String

                                                    func (s AccountLimit) String() string

                                                      String returns the string representation

                                                      type AccountUsage

                                                      type AccountUsage struct {
                                                      
                                                      	// The number of Lambda functions.
                                                      	FunctionCount *int64 `type:"long"`
                                                      
                                                      	// The amount of storage space, in bytes, that's being used by deployment packages
                                                      	// and layer archives.
                                                      	TotalCodeSize *int64 `type:"long"`
                                                      	// contains filtered or unexported fields
                                                      }

                                                        The number of functions and amount of storage in use.

                                                        func (AccountUsage) GoString

                                                        func (s AccountUsage) GoString() string

                                                          GoString returns the string representation

                                                          func (*AccountUsage) SetFunctionCount

                                                          func (s *AccountUsage) SetFunctionCount(v int64) *AccountUsage

                                                            SetFunctionCount sets the FunctionCount field's value.

                                                            func (*AccountUsage) SetTotalCodeSize

                                                            func (s *AccountUsage) SetTotalCodeSize(v int64) *AccountUsage

                                                              SetTotalCodeSize sets the TotalCodeSize field's value.

                                                              func (AccountUsage) String

                                                              func (s AccountUsage) String() string

                                                                String returns the string representation

                                                                type AddLayerVersionPermissionInput

                                                                type AddLayerVersionPermissionInput struct {
                                                                
                                                                	// The API action that grants access to the layer. For example, lambda:GetLayerVersion.
                                                                	//
                                                                	// Action is a required field
                                                                	Action *string `type:"string" required:"true"`
                                                                
                                                                	// The name or Amazon Resource Name (ARN) of the layer.
                                                                	//
                                                                	// LayerName is a required field
                                                                	LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"`
                                                                
                                                                	// With the principal set to *, grant permission to all accounts in the specified
                                                                	// organization.
                                                                	OrganizationId *string `type:"string"`
                                                                
                                                                	// An account ID, or * to grant permission to all AWS accounts.
                                                                	//
                                                                	// Principal is a required field
                                                                	Principal *string `type:"string" required:"true"`
                                                                
                                                                	// Only update the policy if the revision ID matches the ID specified. Use this
                                                                	// option to avoid modifying a policy that has changed since you last read it.
                                                                	RevisionId *string `location:"querystring" locationName:"RevisionId" type:"string"`
                                                                
                                                                	// An identifier that distinguishes the policy from others on the same layer
                                                                	// version.
                                                                	//
                                                                	// StatementId is a required field
                                                                	StatementId *string `min:"1" type:"string" required:"true"`
                                                                
                                                                	// The version number.
                                                                	//
                                                                	// VersionNumber is a required field
                                                                	VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"`
                                                                	// contains filtered or unexported fields
                                                                }

                                                                func (AddLayerVersionPermissionInput) GoString

                                                                  GoString returns the string representation

                                                                  func (*AddLayerVersionPermissionInput) SetAction

                                                                    SetAction sets the Action field's value.

                                                                    func (*AddLayerVersionPermissionInput) SetLayerName

                                                                      SetLayerName sets the LayerName field's value.

                                                                      func (*AddLayerVersionPermissionInput) SetOrganizationId

                                                                        SetOrganizationId sets the OrganizationId field's value.

                                                                        func (*AddLayerVersionPermissionInput) SetPrincipal

                                                                          SetPrincipal sets the Principal field's value.

                                                                          func (*AddLayerVersionPermissionInput) SetRevisionId

                                                                            SetRevisionId sets the RevisionId field's value.

                                                                            func (*AddLayerVersionPermissionInput) SetStatementId

                                                                              SetStatementId sets the StatementId field's value.

                                                                              func (*AddLayerVersionPermissionInput) SetVersionNumber

                                                                                SetVersionNumber sets the VersionNumber field's value.

                                                                                func (AddLayerVersionPermissionInput) String

                                                                                  String returns the string representation

                                                                                  func (*AddLayerVersionPermissionInput) Validate

                                                                                  func (s *AddLayerVersionPermissionInput) Validate() error

                                                                                    Validate inspects the fields of the type to determine if they are valid.

                                                                                    type AddLayerVersionPermissionOutput

                                                                                    type AddLayerVersionPermissionOutput struct {
                                                                                    
                                                                                    	// A unique identifier for the current revision of the policy.
                                                                                    	RevisionId *string `type:"string"`
                                                                                    
                                                                                    	// The permission statement.
                                                                                    	Statement *string `type:"string"`
                                                                                    	// contains filtered or unexported fields
                                                                                    }

                                                                                    func (AddLayerVersionPermissionOutput) GoString

                                                                                      GoString returns the string representation

                                                                                      func (*AddLayerVersionPermissionOutput) SetRevisionId

                                                                                        SetRevisionId sets the RevisionId field's value.

                                                                                        func (*AddLayerVersionPermissionOutput) SetStatement

                                                                                          SetStatement sets the Statement field's value.

                                                                                          func (AddLayerVersionPermissionOutput) String

                                                                                            String returns the string representation

                                                                                            type AddPermissionInput

                                                                                            type AddPermissionInput struct {
                                                                                            
                                                                                            	// The action that the principal can use on the function. For example, lambda:InvokeFunction
                                                                                            	// or lambda:GetFunction.
                                                                                            	//
                                                                                            	// Action is a required field
                                                                                            	Action *string `type:"string" required:"true"`
                                                                                            
                                                                                            	// For Alexa Smart Home functions, a token that must be supplied by the invoker.
                                                                                            	EventSourceToken *string `type:"string"`
                                                                                            
                                                                                            	// The name of the Lambda function, version, or alias.
                                                                                            	//
                                                                                            	// Name formats
                                                                                            	//
                                                                                            	//    * Function name - my-function (name-only), my-function:v1 (with alias).
                                                                                            	//
                                                                                            	//    * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
                                                                                            	//
                                                                                            	//    * Partial ARN - 123456789012:function:my-function.
                                                                                            	//
                                                                                            	// You can append a version number or alias to any of the formats. The length
                                                                                            	// constraint applies only to the full ARN. If you specify only the function
                                                                                            	// name, it is limited to 64 characters in length.
                                                                                            	//
                                                                                            	// FunctionName is a required field
                                                                                            	FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"`
                                                                                            
                                                                                            	// The AWS service or account that invokes the function. If you specify a service,
                                                                                            	// use SourceArn or SourceAccount to limit who can invoke the function through
                                                                                            	// that service.
                                                                                            	//
                                                                                            	// Principal is a required field
                                                                                            	Principal *string `type:"string" required:"true"`
                                                                                            
                                                                                            	// Specify a version or alias to add permissions to a published version of the
                                                                                            	// function.
                                                                                            	Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"`
                                                                                            
                                                                                            	// Only update the policy if the revision ID matches the ID that's specified.
                                                                                            	// Use this option to avoid modifying a policy that has changed since you last
                                                                                            	// read it.
                                                                                            	RevisionId *string `type:"string"`
                                                                                            
                                                                                            	// For Amazon S3, the ID of the account that owns the resource. Use this together
                                                                                            	// with SourceArn to ensure that the resource is owned by the specified account.
                                                                                            	// It is possible for an Amazon S3 bucket to be deleted by its owner and recreated
                                                                                            	// by another account.
                                                                                            	SourceAccount *string `type:"string"`
                                                                                            
                                                                                            	// For AWS services, the ARN of the AWS resource that invokes the function.
                                                                                            	// For example, an Amazon S3 bucket or Amazon SNS topic.
                                                                                            	SourceArn *string `type:"string"`
                                                                                            
                                                                                            	// A statement identifier that differentiates the statement from others in the
                                                                                            	// same policy.
                                                                                            	//
                                                                                            	// StatementId is a required field
                                                                                            	StatementId *string `min:"1" type:"string" required:"true"`
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                            func (AddPermissionInput) GoString

                                                                                            func (s AddPermissionInput) GoString() string

                                                                                              GoString returns the string representation

                                                                                              func (*AddPermissionInput) SetAction

                                                                                              func (s *AddPermissionInput) SetAction(v string) *AddPermissionInput

                                                                                                SetAction sets the Action field's value.

                                                                                                func (*AddPermissionInput) SetEventSourceToken

                                                                                                func (s *AddPermissionInput) SetEventSourceToken(v string) *AddPermissionInput

                                                                                                  SetEventSourceToken sets the EventSourceToken field's value.

                                                                                                  func (*AddPermissionInput) SetFunctionName

                                                                                                  func (s *AddPermissionInput) SetFunctionName(v string) *AddPermissionInput

                                                                                                    SetFunctionName sets the FunctionName field's value.

                                                                                                    func (*AddPermissionInput) SetPrincipal

                                                                                                    func (s *AddPermissionInput) SetPrincipal(v string) *AddPermissionInput

                                                                                                      SetPrincipal sets the Principal field's value.

                                                                                                      func (*AddPermissionInput) SetQualifier

                                                                                                      func (s *AddPermissionInput) SetQualifier(v string) *AddPermissionInput

                                                                                                        SetQualifier sets the Qualifier field's value.

                                                                                                        func (*AddPermissionInput) SetRevisionId

                                                                                                        func (s *AddPermissionInput) SetRevisionId(v string) *AddPermissionInput

                                                                                                          SetRevisionId sets the RevisionId field's value.

                                                                                                          func (*AddPermissionInput) SetSourceAccount

                                                                                                          func (s *AddPermissionInput) SetSourceAccount(v string) *AddPermissionInput

                                                                                                            SetSourceAccount sets the SourceAccount field's value.

                                                                                                            func (*AddPermissionInput) SetSourceArn

                                                                                                            func (s *AddPermissionInput) SetSourceArn(v string) *AddPermissionInput

                                                                                                              SetSourceArn sets the SourceArn field's value.