Documentation
¶
Index ¶
- type AccountLimit
- type AccountUsage
- type AliasConfiguration
- type AliasRoutingConfiguration
- type CodeStorageExceededException
- func (e *CodeStorageExceededException) Error() string
- func (e *CodeStorageExceededException) ErrorCode() string
- func (e *CodeStorageExceededException) ErrorFault() smithy.ErrorFault
- func (e *CodeStorageExceededException) ErrorMessage() string
- func (e *CodeStorageExceededException) GetMessage() string
- func (e *CodeStorageExceededException) GetType() string
- func (e *CodeStorageExceededException) HasMessage() bool
- func (e *CodeStorageExceededException) HasType() bool
- type Concurrency
- type DeadLetterConfig
- type DestinationConfig
- type EC2AccessDeniedException
- func (e *EC2AccessDeniedException) Error() string
- func (e *EC2AccessDeniedException) ErrorCode() string
- func (e *EC2AccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *EC2AccessDeniedException) ErrorMessage() string
- func (e *EC2AccessDeniedException) GetMessage() string
- func (e *EC2AccessDeniedException) GetType() string
- func (e *EC2AccessDeniedException) HasMessage() bool
- func (e *EC2AccessDeniedException) HasType() bool
- type EC2ThrottledException
- func (e *EC2ThrottledException) Error() string
- func (e *EC2ThrottledException) ErrorCode() string
- func (e *EC2ThrottledException) ErrorFault() smithy.ErrorFault
- func (e *EC2ThrottledException) ErrorMessage() string
- func (e *EC2ThrottledException) GetMessage() string
- func (e *EC2ThrottledException) GetType() string
- func (e *EC2ThrottledException) HasMessage() bool
- func (e *EC2ThrottledException) HasType() bool
- type EC2UnexpectedException
- func (e *EC2UnexpectedException) Error() string
- func (e *EC2UnexpectedException) ErrorCode() string
- func (e *EC2UnexpectedException) ErrorFault() smithy.ErrorFault
- func (e *EC2UnexpectedException) ErrorMessage() string
- func (e *EC2UnexpectedException) GetEC2ErrorCode() string
- func (e *EC2UnexpectedException) GetMessage() string
- func (e *EC2UnexpectedException) GetType() string
- func (e *EC2UnexpectedException) HasEC2ErrorCode() bool
- func (e *EC2UnexpectedException) HasMessage() bool
- func (e *EC2UnexpectedException) HasType() bool
- type EFSIOException
- func (e *EFSIOException) Error() string
- func (e *EFSIOException) ErrorCode() string
- func (e *EFSIOException) ErrorFault() smithy.ErrorFault
- func (e *EFSIOException) ErrorMessage() string
- func (e *EFSIOException) GetMessage() string
- func (e *EFSIOException) GetType() string
- func (e *EFSIOException) HasMessage() bool
- func (e *EFSIOException) HasType() bool
- type EFSMountConnectivityException
- func (e *EFSMountConnectivityException) Error() string
- func (e *EFSMountConnectivityException) ErrorCode() string
- func (e *EFSMountConnectivityException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountConnectivityException) ErrorMessage() string
- func (e *EFSMountConnectivityException) GetMessage() string
- func (e *EFSMountConnectivityException) GetType() string
- func (e *EFSMountConnectivityException) HasMessage() bool
- func (e *EFSMountConnectivityException) HasType() bool
- type EFSMountFailureException
- func (e *EFSMountFailureException) Error() string
- func (e *EFSMountFailureException) ErrorCode() string
- func (e *EFSMountFailureException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountFailureException) ErrorMessage() string
- func (e *EFSMountFailureException) GetMessage() string
- func (e *EFSMountFailureException) GetType() string
- func (e *EFSMountFailureException) HasMessage() bool
- func (e *EFSMountFailureException) HasType() bool
- type EFSMountTimeoutException
- func (e *EFSMountTimeoutException) Error() string
- func (e *EFSMountTimeoutException) ErrorCode() string
- func (e *EFSMountTimeoutException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountTimeoutException) ErrorMessage() string
- func (e *EFSMountTimeoutException) GetMessage() string
- func (e *EFSMountTimeoutException) GetType() string
- func (e *EFSMountTimeoutException) HasMessage() bool
- func (e *EFSMountTimeoutException) HasType() bool
- type ENILimitReachedException
- func (e *ENILimitReachedException) Error() string
- func (e *ENILimitReachedException) ErrorCode() string
- func (e *ENILimitReachedException) ErrorFault() smithy.ErrorFault
- func (e *ENILimitReachedException) ErrorMessage() string
- func (e *ENILimitReachedException) GetMessage() string
- func (e *ENILimitReachedException) GetType() string
- func (e *ENILimitReachedException) HasMessage() bool
- func (e *ENILimitReachedException) HasType() bool
- type Environment
- type EnvironmentError
- type EnvironmentResponse
- type EventSourceMappingConfiguration
- type EventSourcePosition
- type FileSystemConfig
- type FunctionCode
- type FunctionCodeLocation
- type FunctionConfiguration
- type FunctionEventInvokeConfig
- type FunctionVersion
- type InvalidParameterValueException
- func (e *InvalidParameterValueException) Error() string
- func (e *InvalidParameterValueException) ErrorCode() string
- func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault
- func (e *InvalidParameterValueException) ErrorMessage() string
- func (e *InvalidParameterValueException) GetMessage() string
- func (e *InvalidParameterValueException) GetType() string
- func (e *InvalidParameterValueException) HasMessage() bool
- func (e *InvalidParameterValueException) HasType() bool
- type InvalidRequestContentException
- func (e *InvalidRequestContentException) Error() string
- func (e *InvalidRequestContentException) ErrorCode() string
- func (e *InvalidRequestContentException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRequestContentException) ErrorMessage() string
- func (e *InvalidRequestContentException) GetMessage() string
- func (e *InvalidRequestContentException) GetType() string
- func (e *InvalidRequestContentException) HasMessage() bool
- func (e *InvalidRequestContentException) HasType() bool
- type InvalidRuntimeException
- func (e *InvalidRuntimeException) Error() string
- func (e *InvalidRuntimeException) ErrorCode() string
- func (e *InvalidRuntimeException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRuntimeException) ErrorMessage() string
- func (e *InvalidRuntimeException) GetMessage() string
- func (e *InvalidRuntimeException) GetType() string
- func (e *InvalidRuntimeException) HasMessage() bool
- func (e *InvalidRuntimeException) HasType() bool
- type InvalidSecurityGroupIDException
- func (e *InvalidSecurityGroupIDException) Error() string
- func (e *InvalidSecurityGroupIDException) ErrorCode() string
- func (e *InvalidSecurityGroupIDException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSecurityGroupIDException) ErrorMessage() string
- func (e *InvalidSecurityGroupIDException) GetMessage() string
- func (e *InvalidSecurityGroupIDException) GetType() string
- func (e *InvalidSecurityGroupIDException) HasMessage() bool
- func (e *InvalidSecurityGroupIDException) HasType() bool
- type InvalidSubnetIDException
- func (e *InvalidSubnetIDException) Error() string
- func (e *InvalidSubnetIDException) ErrorCode() string
- func (e *InvalidSubnetIDException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSubnetIDException) ErrorMessage() string
- func (e *InvalidSubnetIDException) GetMessage() string
- func (e *InvalidSubnetIDException) GetType() string
- func (e *InvalidSubnetIDException) HasMessage() bool
- func (e *InvalidSubnetIDException) HasType() bool
- type InvalidZipFileException
- func (e *InvalidZipFileException) Error() string
- func (e *InvalidZipFileException) ErrorCode() string
- func (e *InvalidZipFileException) ErrorFault() smithy.ErrorFault
- func (e *InvalidZipFileException) ErrorMessage() string
- func (e *InvalidZipFileException) GetMessage() string
- func (e *InvalidZipFileException) GetType() string
- func (e *InvalidZipFileException) HasMessage() bool
- func (e *InvalidZipFileException) HasType() bool
- type InvocationType
- type KMSAccessDeniedException
- func (e *KMSAccessDeniedException) Error() string
- func (e *KMSAccessDeniedException) ErrorCode() string
- func (e *KMSAccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *KMSAccessDeniedException) ErrorMessage() string
- func (e *KMSAccessDeniedException) GetMessage() string
- func (e *KMSAccessDeniedException) GetType() string
- func (e *KMSAccessDeniedException) HasMessage() bool
- func (e *KMSAccessDeniedException) HasType() bool
- type KMSDisabledException
- func (e *KMSDisabledException) Error() string
- func (e *KMSDisabledException) ErrorCode() string
- func (e *KMSDisabledException) ErrorFault() smithy.ErrorFault
- func (e *KMSDisabledException) ErrorMessage() string
- func (e *KMSDisabledException) GetMessage() string
- func (e *KMSDisabledException) GetType() string
- func (e *KMSDisabledException) HasMessage() bool
- func (e *KMSDisabledException) HasType() bool
- type KMSInvalidStateException
- func (e *KMSInvalidStateException) Error() string
- func (e *KMSInvalidStateException) ErrorCode() string
- func (e *KMSInvalidStateException) ErrorFault() smithy.ErrorFault
- func (e *KMSInvalidStateException) ErrorMessage() string
- func (e *KMSInvalidStateException) GetMessage() string
- func (e *KMSInvalidStateException) GetType() string
- func (e *KMSInvalidStateException) HasMessage() bool
- func (e *KMSInvalidStateException) HasType() bool
- type KMSNotFoundException
- func (e *KMSNotFoundException) Error() string
- func (e *KMSNotFoundException) ErrorCode() string
- func (e *KMSNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *KMSNotFoundException) ErrorMessage() string
- func (e *KMSNotFoundException) GetMessage() string
- func (e *KMSNotFoundException) GetType() string
- func (e *KMSNotFoundException) HasMessage() bool
- func (e *KMSNotFoundException) HasType() bool
- type LastUpdateStatus
- type LastUpdateStatusReasonCode
- type Layer
- type LayerVersionContentInput
- type LayerVersionContentOutput
- type LayerVersionsListItem
- type LayersListItem
- type LogType
- type OnFailure
- type OnSuccess
- type PolicyLengthExceededException
- func (e *PolicyLengthExceededException) Error() string
- func (e *PolicyLengthExceededException) ErrorCode() string
- func (e *PolicyLengthExceededException) ErrorFault() smithy.ErrorFault
- func (e *PolicyLengthExceededException) ErrorMessage() string
- func (e *PolicyLengthExceededException) GetMessage() string
- func (e *PolicyLengthExceededException) GetType() string
- func (e *PolicyLengthExceededException) HasMessage() bool
- func (e *PolicyLengthExceededException) HasType() bool
- type PreconditionFailedException
- func (e *PreconditionFailedException) Error() string
- func (e *PreconditionFailedException) ErrorCode() string
- func (e *PreconditionFailedException) ErrorFault() smithy.ErrorFault
- func (e *PreconditionFailedException) ErrorMessage() string
- func (e *PreconditionFailedException) GetMessage() string
- func (e *PreconditionFailedException) GetType() string
- func (e *PreconditionFailedException) HasMessage() bool
- func (e *PreconditionFailedException) HasType() bool
- type ProvisionedConcurrencyConfigListItem
- type ProvisionedConcurrencyConfigNotFoundException
- func (e *ProvisionedConcurrencyConfigNotFoundException) Error() string
- func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorCode() string
- func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorMessage() string
- func (e *ProvisionedConcurrencyConfigNotFoundException) GetMessage() string
- func (e *ProvisionedConcurrencyConfigNotFoundException) GetType() string
- func (e *ProvisionedConcurrencyConfigNotFoundException) HasMessage() bool
- func (e *ProvisionedConcurrencyConfigNotFoundException) HasType() bool
- type ProvisionedConcurrencyStatusEnum
- type RequestTooLargeException
- func (e *RequestTooLargeException) Error() string
- func (e *RequestTooLargeException) ErrorCode() string
- func (e *RequestTooLargeException) ErrorFault() smithy.ErrorFault
- func (e *RequestTooLargeException) ErrorMessage() string
- func (e *RequestTooLargeException) GetMessage() string
- func (e *RequestTooLargeException) GetType() string
- func (e *RequestTooLargeException) HasMessage() bool
- func (e *RequestTooLargeException) HasType() bool
- type ResourceConflictException
- func (e *ResourceConflictException) Error() string
- func (e *ResourceConflictException) ErrorCode() string
- func (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
- func (e *ResourceConflictException) ErrorMessage() string
- func (e *ResourceConflictException) GetMessage() string
- func (e *ResourceConflictException) GetType() string
- func (e *ResourceConflictException) HasMessage() bool
- func (e *ResourceConflictException) HasType() bool
- type ResourceInUseException
- func (e *ResourceInUseException) Error() string
- func (e *ResourceInUseException) ErrorCode() string
- func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault
- func (e *ResourceInUseException) ErrorMessage() string
- func (e *ResourceInUseException) GetMessage() string
- func (e *ResourceInUseException) GetType() string
- func (e *ResourceInUseException) HasMessage() bool
- func (e *ResourceInUseException) HasType() bool
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- func (e *ResourceNotFoundException) GetMessage() string
- func (e *ResourceNotFoundException) GetType() string
- func (e *ResourceNotFoundException) HasMessage() bool
- func (e *ResourceNotFoundException) HasType() bool
- type ResourceNotReadyException
- func (e *ResourceNotReadyException) Error() string
- func (e *ResourceNotReadyException) ErrorCode() string
- func (e *ResourceNotReadyException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotReadyException) ErrorMessage() string
- func (e *ResourceNotReadyException) GetMessage() string
- func (e *ResourceNotReadyException) GetType() string
- func (e *ResourceNotReadyException) HasMessage() bool
- func (e *ResourceNotReadyException) HasType() bool
- type Runtime
- type ServiceException
- func (e *ServiceException) Error() string
- func (e *ServiceException) ErrorCode() string
- func (e *ServiceException) ErrorFault() smithy.ErrorFault
- func (e *ServiceException) ErrorMessage() string
- func (e *ServiceException) GetMessage() string
- func (e *ServiceException) GetType() string
- func (e *ServiceException) HasMessage() bool
- func (e *ServiceException) HasType() bool
- type State
- type StateReasonCode
- type SubnetIPAddressLimitReachedException
- func (e *SubnetIPAddressLimitReachedException) Error() string
- func (e *SubnetIPAddressLimitReachedException) ErrorCode() string
- func (e *SubnetIPAddressLimitReachedException) ErrorFault() smithy.ErrorFault
- func (e *SubnetIPAddressLimitReachedException) ErrorMessage() string
- func (e *SubnetIPAddressLimitReachedException) GetMessage() string
- func (e *SubnetIPAddressLimitReachedException) GetType() string
- func (e *SubnetIPAddressLimitReachedException) HasMessage() bool
- func (e *SubnetIPAddressLimitReachedException) HasType() bool
- type ThrottleReason
- type TooManyRequestsException
- func (e *TooManyRequestsException) Error() string
- func (e *TooManyRequestsException) ErrorCode() string
- func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
- func (e *TooManyRequestsException) ErrorMessage() string
- func (e *TooManyRequestsException) GetMessage() string
- func (e *TooManyRequestsException) GetReason() ThrottleReason
- func (e *TooManyRequestsException) GetRetryAfterSeconds() string
- func (e *TooManyRequestsException) GetType() string
- func (e *TooManyRequestsException) HasMessage() bool
- func (e *TooManyRequestsException) HasRetryAfterSeconds() bool
- func (e *TooManyRequestsException) HasType() bool
- type TracingConfig
- type TracingConfigResponse
- type TracingMode
- type UnsupportedMediaTypeException
- func (e *UnsupportedMediaTypeException) Error() string
- func (e *UnsupportedMediaTypeException) ErrorCode() string
- func (e *UnsupportedMediaTypeException) ErrorFault() smithy.ErrorFault
- func (e *UnsupportedMediaTypeException) ErrorMessage() string
- func (e *UnsupportedMediaTypeException) GetMessage() string
- func (e *UnsupportedMediaTypeException) GetType() string
- func (e *UnsupportedMediaTypeException) HasMessage() bool
- func (e *UnsupportedMediaTypeException) HasType() bool
- type VpcConfig
- type VpcConfigResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountLimit ¶
type AccountLimit struct { // The maximum number of simultaneous function executions. ConcurrentExecutions *int32 // The amount of storage space that you can use for all deployment packages and // layer archives. TotalCodeSize *int64 // The maximum size of a deployment package when it's uploaded directly to AWS // Lambda. Use Amazon S3 for larger files. CodeSizeZipped *int64 // The maximum number of simultaneous function executions, minus the capacity // that's reserved for individual functions with PutFunctionConcurrency (). UnreservedConcurrentExecutions *int32 // The maximum size of a function's deployment package and layers when they're // extracted. CodeSizeUnzipped *int64 }
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
type AccountUsage ¶
type AccountUsage struct { // The number of Lambda functions. FunctionCount *int64 // The amount of storage space, in bytes, that's being used by deployment packages // and layer archives. TotalCodeSize *int64 }
The number of functions and amount of storage in use.
type AliasConfiguration ¶
type AliasConfiguration struct { // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *AliasRoutingConfiguration // The name of the alias. Name *string // The Amazon Resource Name (ARN) of the alias. AliasArn *string // A unique identifier that changes when you update the alias. RevisionId *string // The function version that the alias invokes. FunctionVersion *string // A description of the alias. Description *string }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
type AliasRoutingConfiguration ¶
type AliasRoutingConfiguration struct { // The second version, and the percentage of traffic that's routed to it. AdditionalVersionWeights map[string]*float64 }
The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.
type CodeStorageExceededException ¶
You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
func (*CodeStorageExceededException) Error ¶
func (e *CodeStorageExceededException) Error() string
func (*CodeStorageExceededException) ErrorCode ¶
func (e *CodeStorageExceededException) ErrorCode() string
func (*CodeStorageExceededException) ErrorFault ¶
func (e *CodeStorageExceededException) ErrorFault() smithy.ErrorFault
func (*CodeStorageExceededException) ErrorMessage ¶
func (e *CodeStorageExceededException) ErrorMessage() string
func (*CodeStorageExceededException) GetMessage ¶
func (e *CodeStorageExceededException) GetMessage() string
func (*CodeStorageExceededException) GetType ¶
func (e *CodeStorageExceededException) GetType() string
func (*CodeStorageExceededException) HasMessage ¶
func (e *CodeStorageExceededException) HasMessage() bool
func (*CodeStorageExceededException) HasType ¶
func (e *CodeStorageExceededException) HasType() bool
type Concurrency ¶
type Concurrency struct { // The number of concurrent executions that are reserved for this function. For // more information, see Managing Concurrency // (https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). ReservedConcurrentExecutions *int32 }
type DeadLetterConfig ¶
type DeadLetterConfig struct { // The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic. TargetArn *string }
The dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations.
type DestinationConfig ¶
type DestinationConfig struct { // The destination configuration for successful invocations. OnSuccess *OnSuccess // The destination configuration for failed invocations. OnFailure *OnFailure }
A configuration object that specifies the destination of an event after Lambda processes it.
type EC2AccessDeniedException ¶
Need additional permissions to configure VPC settings.
func (*EC2AccessDeniedException) Error ¶
func (e *EC2AccessDeniedException) Error() string
func (*EC2AccessDeniedException) ErrorCode ¶
func (e *EC2AccessDeniedException) ErrorCode() string
func (*EC2AccessDeniedException) ErrorFault ¶
func (e *EC2AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*EC2AccessDeniedException) ErrorMessage ¶
func (e *EC2AccessDeniedException) ErrorMessage() string
func (*EC2AccessDeniedException) GetMessage ¶
func (e *EC2AccessDeniedException) GetMessage() string
func (*EC2AccessDeniedException) GetType ¶
func (e *EC2AccessDeniedException) GetType() string
func (*EC2AccessDeniedException) HasMessage ¶
func (e *EC2AccessDeniedException) HasMessage() bool
func (*EC2AccessDeniedException) HasType ¶
func (e *EC2AccessDeniedException) HasType() bool
type EC2ThrottledException ¶
AWS Lambda was throttled by Amazon EC2 during Lambda function initialization using the execution role provided for the Lambda function.
func (*EC2ThrottledException) Error ¶
func (e *EC2ThrottledException) Error() string
func (*EC2ThrottledException) ErrorCode ¶
func (e *EC2ThrottledException) ErrorCode() string
func (*EC2ThrottledException) ErrorFault ¶
func (e *EC2ThrottledException) ErrorFault() smithy.ErrorFault
func (*EC2ThrottledException) ErrorMessage ¶
func (e *EC2ThrottledException) ErrorMessage() string
func (*EC2ThrottledException) GetMessage ¶
func (e *EC2ThrottledException) GetMessage() string
func (*EC2ThrottledException) GetType ¶
func (e *EC2ThrottledException) GetType() string
func (*EC2ThrottledException) HasMessage ¶
func (e *EC2ThrottledException) HasMessage() bool
func (*EC2ThrottledException) HasType ¶
func (e *EC2ThrottledException) HasType() bool
type EC2UnexpectedException ¶
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
func (*EC2UnexpectedException) Error ¶
func (e *EC2UnexpectedException) Error() string
func (*EC2UnexpectedException) ErrorCode ¶
func (e *EC2UnexpectedException) ErrorCode() string
func (*EC2UnexpectedException) ErrorFault ¶
func (e *EC2UnexpectedException) ErrorFault() smithy.ErrorFault
func (*EC2UnexpectedException) ErrorMessage ¶
func (e *EC2UnexpectedException) ErrorMessage() string
func (*EC2UnexpectedException) GetEC2ErrorCode ¶
func (e *EC2UnexpectedException) GetEC2ErrorCode() string
func (*EC2UnexpectedException) GetMessage ¶
func (e *EC2UnexpectedException) GetMessage() string
func (*EC2UnexpectedException) GetType ¶
func (e *EC2UnexpectedException) GetType() string
func (*EC2UnexpectedException) HasEC2ErrorCode ¶
func (e *EC2UnexpectedException) HasEC2ErrorCode() bool
func (*EC2UnexpectedException) HasMessage ¶
func (e *EC2UnexpectedException) HasMessage() bool
func (*EC2UnexpectedException) HasType ¶
func (e *EC2UnexpectedException) HasType() bool
type EFSIOException ¶
An error occured when reading from or writing to a connected file system.
func (*EFSIOException) Error ¶
func (e *EFSIOException) Error() string
func (*EFSIOException) ErrorCode ¶
func (e *EFSIOException) ErrorCode() string
func (*EFSIOException) ErrorFault ¶
func (e *EFSIOException) ErrorFault() smithy.ErrorFault
func (*EFSIOException) ErrorMessage ¶
func (e *EFSIOException) ErrorMessage() string
func (*EFSIOException) GetMessage ¶
func (e *EFSIOException) GetMessage() string
func (*EFSIOException) GetType ¶
func (e *EFSIOException) GetType() string
func (*EFSIOException) HasMessage ¶
func (e *EFSIOException) HasMessage() bool
func (*EFSIOException) HasType ¶
func (e *EFSIOException) HasType() bool
type EFSMountConnectivityException ¶
The function couldn't make a network connection to the configured file system.
func (*EFSMountConnectivityException) Error ¶
func (e *EFSMountConnectivityException) Error() string
func (*EFSMountConnectivityException) ErrorCode ¶
func (e *EFSMountConnectivityException) ErrorCode() string
func (*EFSMountConnectivityException) ErrorFault ¶
func (e *EFSMountConnectivityException) ErrorFault() smithy.ErrorFault
func (*EFSMountConnectivityException) ErrorMessage ¶
func (e *EFSMountConnectivityException) ErrorMessage() string
func (*EFSMountConnectivityException) GetMessage ¶
func (e *EFSMountConnectivityException) GetMessage() string
func (*EFSMountConnectivityException) GetType ¶
func (e *EFSMountConnectivityException) GetType() string
func (*EFSMountConnectivityException) HasMessage ¶
func (e *EFSMountConnectivityException) HasMessage() bool
func (*EFSMountConnectivityException) HasType ¶
func (e *EFSMountConnectivityException) HasType() bool
type EFSMountFailureException ¶
The function couldn't mount the configured file system due to a permission or configuration issue.
func (*EFSMountFailureException) Error ¶
func (e *EFSMountFailureException) Error() string
func (*EFSMountFailureException) ErrorCode ¶
func (e *EFSMountFailureException) ErrorCode() string
func (*EFSMountFailureException) ErrorFault ¶
func (e *EFSMountFailureException) ErrorFault() smithy.ErrorFault
func (*EFSMountFailureException) ErrorMessage ¶
func (e *EFSMountFailureException) ErrorMessage() string
func (*EFSMountFailureException) GetMessage ¶
func (e *EFSMountFailureException) GetMessage() string
func (*EFSMountFailureException) GetType ¶
func (e *EFSMountFailureException) GetType() string
func (*EFSMountFailureException) HasMessage ¶
func (e *EFSMountFailureException) HasMessage() bool
func (*EFSMountFailureException) HasType ¶
func (e *EFSMountFailureException) HasType() bool
type EFSMountTimeoutException ¶
The function was able to make a network connection to the configured file system, but the mount operation timed out.
func (*EFSMountTimeoutException) Error ¶
func (e *EFSMountTimeoutException) Error() string
func (*EFSMountTimeoutException) ErrorCode ¶
func (e *EFSMountTimeoutException) ErrorCode() string
func (*EFSMountTimeoutException) ErrorFault ¶
func (e *EFSMountTimeoutException) ErrorFault() smithy.ErrorFault
func (*EFSMountTimeoutException) ErrorMessage ¶
func (e *EFSMountTimeoutException) ErrorMessage() string
func (*EFSMountTimeoutException) GetMessage ¶
func (e *EFSMountTimeoutException) GetMessage() string
func (*EFSMountTimeoutException) GetType ¶
func (e *EFSMountTimeoutException) GetType() string
func (*EFSMountTimeoutException) HasMessage ¶
func (e *EFSMountTimeoutException) HasMessage() bool
func (*EFSMountTimeoutException) HasType ¶
func (e *EFSMountTimeoutException) HasType() bool
type 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.
func (*ENILimitReachedException) Error ¶
func (e *ENILimitReachedException) Error() string
func (*ENILimitReachedException) ErrorCode ¶
func (e *ENILimitReachedException) ErrorCode() string
func (*ENILimitReachedException) ErrorFault ¶
func (e *ENILimitReachedException) ErrorFault() smithy.ErrorFault
func (*ENILimitReachedException) ErrorMessage ¶
func (e *ENILimitReachedException) ErrorMessage() string
func (*ENILimitReachedException) GetMessage ¶
func (e *ENILimitReachedException) GetMessage() string
func (*ENILimitReachedException) GetType ¶
func (e *ENILimitReachedException) GetType() string
func (*ENILimitReachedException) HasMessage ¶
func (e *ENILimitReachedException) HasMessage() bool
func (*ENILimitReachedException) HasType ¶
func (e *ENILimitReachedException) HasType() bool
type Environment ¶
A function's environment variable settings.
type EnvironmentError ¶
type EnvironmentError struct { // The error message. Message *string // The error code. ErrorCode *string }
Error messages for environment variables that couldn't be applied.
type EnvironmentResponse ¶
type EnvironmentResponse struct { // Environment variable key-value pairs. Variables map[string]*string // Error messages for environment variables that couldn't be applied. Error *EnvironmentError }
The results of an operation to update or read environment variables. If the operation is successful, the response contains the environment variables. If it failed, the response contains details about the error.
type EventSourceMappingConfiguration ¶
type EventSourceMappingConfiguration struct { // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *DestinationConfig // (Streams) The maximum amount of time to gather records before invoking the // function, in seconds. MaximumBatchingWindowInSeconds *int32 // (Streams) The maximum number of times to retry when the function returns an // error. MaximumRetryAttempts *int32 // The maximum number of items to retrieve in a single batch. BatchSize *int32 // The result of the last AWS Lambda invocation of your Lambda function. LastProcessingResult *string // (Streams) The number of batches to process from each shard concurrently. ParallelizationFactor *int32 // (Streams) If the function returns an error, split the batch in two and retry. BisectBatchOnFunctionError *bool // Indicates whether the last change to the event source mapping was made by a // user, or by the Lambda service. StateTransitionReason *string // (Streams) The maximum age of a record that Lambda sends to a function for // processing. MaximumRecordAgeInSeconds *int32 // The date that the event source mapping was last updated, or its state changed. LastModified *time.Time // The ARN of the Lambda function. FunctionArn *string // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // The identifier of the event source mapping. UUID *string }
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping () for details.
type EventSourcePosition ¶
type EventSourcePosition string
const ( EventSourcePositionTrim_horizon EventSourcePosition = "TRIM_HORIZON" EventSourcePositionLatest EventSourcePosition = "LATEST" EventSourcePositionAt_timestamp EventSourcePosition = "AT_TIMESTAMP" )
Enum values for EventSourcePosition
type FileSystemConfig ¶
type FileSystemConfig struct { // The Amazon Resource Name (ARN) of the Amazon EFS access point that provides // access to the file system. Arn *string // The path where the function can access the file system, starting with /mnt/. LocalMountPath *string }
Details about the connection between a Lambda function and an Amazon EFS file system.
type FunctionCode ¶
type FunctionCode struct { // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string // An Amazon S3 bucket in the same AWS Region as your function. The bucket can be // in a different AWS account. S3Bucket *string // The Amazon S3 key of the deployment package. S3Key *string // The base64-encoded contents of the deployment package. AWS SDK and AWS CLI // clients handle the encoding for you. ZipFile []byte }
The code for the Lambda function. You can specify either an object in Amazon S3, or upload a deployment package directly.
type FunctionCodeLocation ¶
type FunctionCodeLocation struct { // A presigned URL that you can use to download the deployment package. Location *string // The service that's hosting the file. RepositoryType *string }
Details about a function's deployment package.
type FunctionConfiguration ¶
type FunctionConfiguration struct { // The name of the function. FunctionName *string // The latest updated revision of the function or alias. RevisionId *string // For Lambda@Edge functions, the ARN of the master function. MasterArn *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus LastUpdateStatus // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []*Layer // Connection settings for an Amazon EFS file system. FileSystemConfigs []*FileSystemConfig // The function's networking configuration. VpcConfig *VpcConfigResponse // The runtime environment for the Lambda function. Runtime Runtime // The SHA256 hash of the function's deployment package. CodeSha256 *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The memory that's allocated to the function. MemorySize *int32 // The version of the Lambda function. Version *string // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The size of the function's deployment package, in bytes. CodeSize *int64 // The function's Amazon Resource Name (ARN). FunctionArn *string // The function's environment variables. Environment *EnvironmentResponse // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The function that Lambda calls to begin executing your function. Handler *string // The function's AWS X-Ray tracing configuration. TracingConfig *TracingConfigResponse // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode StateReasonCode // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode LastUpdateStatusReasonCode // The function's description. Description *string // The function's execution role. Role *string // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed CMK. KMSKeyArn *string // The function's dead letter queue. DeadLetterConfig *DeadLetterConfig // The reason for the function's current state. StateReason *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State State }
Details about a function's configuration.
type FunctionEventInvokeConfig ¶
type FunctionEventInvokeConfig struct { // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // A destination for events after they have been sent to a function for processing. // Destinations // // * Function - The Amazon Resource Name (ARN) of a Lambda // function. // // * Queue - The ARN of an SQS queue. // // * Topic - The ARN of an // SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig // The date and time that the configuration was last updated. LastModified *time.Time // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // The Amazon Resource Name (ARN) of the function. FunctionArn *string }
type FunctionVersion ¶
type FunctionVersion string
const (
FunctionVersionAll FunctionVersion = "ALL"
)
Enum values for FunctionVersion
type InvalidParameterValueException ¶
One of the parameters in the request is invalid.
func (*InvalidParameterValueException) Error ¶
func (e *InvalidParameterValueException) Error() string
func (*InvalidParameterValueException) ErrorCode ¶
func (e *InvalidParameterValueException) ErrorCode() string
func (*InvalidParameterValueException) ErrorFault ¶
func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterValueException) ErrorMessage ¶
func (e *InvalidParameterValueException) ErrorMessage() string
func (*InvalidParameterValueException) GetMessage ¶
func (e *InvalidParameterValueException) GetMessage() string
func (*InvalidParameterValueException) GetType ¶
func (e *InvalidParameterValueException) GetType() string
func (*InvalidParameterValueException) HasMessage ¶
func (e *InvalidParameterValueException) HasMessage() bool
func (*InvalidParameterValueException) HasType ¶
func (e *InvalidParameterValueException) HasType() bool
type InvalidRequestContentException ¶
The request body could not be parsed as JSON.
func (*InvalidRequestContentException) Error ¶
func (e *InvalidRequestContentException) Error() string
func (*InvalidRequestContentException) ErrorCode ¶
func (e *InvalidRequestContentException) ErrorCode() string
func (*InvalidRequestContentException) ErrorFault ¶
func (e *InvalidRequestContentException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestContentException) ErrorMessage ¶
func (e *InvalidRequestContentException) ErrorMessage() string
func (*InvalidRequestContentException) GetMessage ¶
func (e *InvalidRequestContentException) GetMessage() string
func (*InvalidRequestContentException) GetType ¶
func (e *InvalidRequestContentException) GetType() string
func (*InvalidRequestContentException) HasMessage ¶
func (e *InvalidRequestContentException) HasMessage() bool
func (*InvalidRequestContentException) HasType ¶
func (e *InvalidRequestContentException) HasType() bool
type InvalidRuntimeException ¶
The runtime or runtime version specified is not supported.
func (*InvalidRuntimeException) Error ¶
func (e *InvalidRuntimeException) Error() string
func (*InvalidRuntimeException) ErrorCode ¶
func (e *InvalidRuntimeException) ErrorCode() string
func (*InvalidRuntimeException) ErrorFault ¶
func (e *InvalidRuntimeException) ErrorFault() smithy.ErrorFault
func (*InvalidRuntimeException) ErrorMessage ¶
func (e *InvalidRuntimeException) ErrorMessage() string
func (*InvalidRuntimeException) GetMessage ¶
func (e *InvalidRuntimeException) GetMessage() string
func (*InvalidRuntimeException) GetType ¶
func (e *InvalidRuntimeException) GetType() string
func (*InvalidRuntimeException) HasMessage ¶
func (e *InvalidRuntimeException) HasMessage() bool
func (*InvalidRuntimeException) HasType ¶
func (e *InvalidRuntimeException) HasType() bool
type InvalidSecurityGroupIDException ¶
The Security Group ID provided in the Lambda function VPC configuration is invalid.
func (*InvalidSecurityGroupIDException) Error ¶
func (e *InvalidSecurityGroupIDException) Error() string
func (*InvalidSecurityGroupIDException) ErrorCode ¶
func (e *InvalidSecurityGroupIDException) ErrorCode() string
func (*InvalidSecurityGroupIDException) ErrorFault ¶
func (e *InvalidSecurityGroupIDException) ErrorFault() smithy.ErrorFault
func (*InvalidSecurityGroupIDException) ErrorMessage ¶
func (e *InvalidSecurityGroupIDException) ErrorMessage() string
func (*InvalidSecurityGroupIDException) GetMessage ¶
func (e *InvalidSecurityGroupIDException) GetMessage() string
func (*InvalidSecurityGroupIDException) GetType ¶
func (e *InvalidSecurityGroupIDException) GetType() string
func (*InvalidSecurityGroupIDException) HasMessage ¶
func (e *InvalidSecurityGroupIDException) HasMessage() bool
func (*InvalidSecurityGroupIDException) HasType ¶
func (e *InvalidSecurityGroupIDException) HasType() bool
type InvalidSubnetIDException ¶
The Subnet ID provided in the Lambda function VPC configuration is invalid.
func (*InvalidSubnetIDException) Error ¶
func (e *InvalidSubnetIDException) Error() string
func (*InvalidSubnetIDException) ErrorCode ¶
func (e *InvalidSubnetIDException) ErrorCode() string
func (*InvalidSubnetIDException) ErrorFault ¶
func (e *InvalidSubnetIDException) ErrorFault() smithy.ErrorFault
func (*InvalidSubnetIDException) ErrorMessage ¶
func (e *InvalidSubnetIDException) ErrorMessage() string
func (*InvalidSubnetIDException) GetMessage ¶
func (e *InvalidSubnetIDException) GetMessage() string
func (*InvalidSubnetIDException) GetType ¶
func (e *InvalidSubnetIDException) GetType() string
func (*InvalidSubnetIDException) HasMessage ¶
func (e *InvalidSubnetIDException) HasMessage() bool
func (*InvalidSubnetIDException) HasType ¶
func (e *InvalidSubnetIDException) HasType() bool
type InvalidZipFileException ¶
AWS Lambda could not unzip the deployment package.
func (*InvalidZipFileException) Error ¶
func (e *InvalidZipFileException) Error() string
func (*InvalidZipFileException) ErrorCode ¶
func (e *InvalidZipFileException) ErrorCode() string
func (*InvalidZipFileException) ErrorFault ¶
func (e *InvalidZipFileException) ErrorFault() smithy.ErrorFault
func (*InvalidZipFileException) ErrorMessage ¶
func (e *InvalidZipFileException) ErrorMessage() string
func (*InvalidZipFileException) GetMessage ¶
func (e *InvalidZipFileException) GetMessage() string
func (*InvalidZipFileException) GetType ¶
func (e *InvalidZipFileException) GetType() string
func (*InvalidZipFileException) HasMessage ¶
func (e *InvalidZipFileException) HasMessage() bool
func (*InvalidZipFileException) HasType ¶
func (e *InvalidZipFileException) HasType() bool
type InvocationType ¶
type InvocationType string
const ( InvocationTypeEvent InvocationType = "Event" InvocationTypeRequestresponse InvocationType = "RequestResponse" InvocationTypeDryrun InvocationType = "DryRun" )
Enum values for InvocationType
type KMSAccessDeniedException ¶
Lambda was unable to decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
func (*KMSAccessDeniedException) Error ¶
func (e *KMSAccessDeniedException) Error() string
func (*KMSAccessDeniedException) ErrorCode ¶
func (e *KMSAccessDeniedException) ErrorCode() string
func (*KMSAccessDeniedException) ErrorFault ¶
func (e *KMSAccessDeniedException) ErrorFault() smithy.ErrorFault
func (*KMSAccessDeniedException) ErrorMessage ¶
func (e *KMSAccessDeniedException) ErrorMessage() string
func (*KMSAccessDeniedException) GetMessage ¶
func (e *KMSAccessDeniedException) GetMessage() string
func (*KMSAccessDeniedException) GetType ¶
func (e *KMSAccessDeniedException) GetType() string
func (*KMSAccessDeniedException) HasMessage ¶
func (e *KMSAccessDeniedException) HasMessage() bool
func (*KMSAccessDeniedException) HasType ¶
func (e *KMSAccessDeniedException) HasType() bool
type KMSDisabledException ¶
Lambda was unable to decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
func (*KMSDisabledException) Error ¶
func (e *KMSDisabledException) Error() string
func (*KMSDisabledException) ErrorCode ¶
func (e *KMSDisabledException) ErrorCode() string
func (*KMSDisabledException) ErrorFault ¶
func (e *KMSDisabledException) ErrorFault() smithy.ErrorFault
func (*KMSDisabledException) ErrorMessage ¶
func (e *KMSDisabledException) ErrorMessage() string
func (*KMSDisabledException) GetMessage ¶
func (e *KMSDisabledException) GetMessage() string
func (*KMSDisabledException) GetType ¶
func (e *KMSDisabledException) GetType() string
func (*KMSDisabledException) HasMessage ¶
func (e *KMSDisabledException) HasMessage() bool
func (*KMSDisabledException) HasType ¶
func (e *KMSDisabledException) HasType() bool
type 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.
func (*KMSInvalidStateException) Error ¶
func (e *KMSInvalidStateException) Error() string
func (*KMSInvalidStateException) ErrorCode ¶
func (e *KMSInvalidStateException) ErrorCode() string
func (*KMSInvalidStateException) ErrorFault ¶
func (e *KMSInvalidStateException) ErrorFault() smithy.ErrorFault
func (*KMSInvalidStateException) ErrorMessage ¶
func (e *KMSInvalidStateException) ErrorMessage() string
func (*KMSInvalidStateException) GetMessage ¶
func (e *KMSInvalidStateException) GetMessage() string
func (*KMSInvalidStateException) GetType ¶
func (e *KMSInvalidStateException) GetType() string
func (*KMSInvalidStateException) HasMessage ¶
func (e *KMSInvalidStateException) HasMessage() bool
func (*KMSInvalidStateException) HasType ¶
func (e *KMSInvalidStateException) HasType() bool
type KMSNotFoundException ¶
Lambda was unable to decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
func (*KMSNotFoundException) Error ¶
func (e *KMSNotFoundException) Error() string
func (*KMSNotFoundException) ErrorCode ¶
func (e *KMSNotFoundException) ErrorCode() string
func (*KMSNotFoundException) ErrorFault ¶
func (e *KMSNotFoundException) ErrorFault() smithy.ErrorFault
func (*KMSNotFoundException) ErrorMessage ¶
func (e *KMSNotFoundException) ErrorMessage() string
func (*KMSNotFoundException) GetMessage ¶
func (e *KMSNotFoundException) GetMessage() string
func (*KMSNotFoundException) GetType ¶
func (e *KMSNotFoundException) GetType() string
func (*KMSNotFoundException) HasMessage ¶
func (e *KMSNotFoundException) HasMessage() bool
func (*KMSNotFoundException) HasType ¶
func (e *KMSNotFoundException) HasType() bool
type LastUpdateStatus ¶
type LastUpdateStatus string
const ( LastUpdateStatusSuccessful LastUpdateStatus = "Successful" LastUpdateStatusFailed LastUpdateStatus = "Failed" LastUpdateStatusInprogress LastUpdateStatus = "InProgress" )
Enum values for LastUpdateStatus
type LastUpdateStatusReasonCode ¶
type LastUpdateStatusReasonCode string
const ( LastUpdateStatusReasonCodeEnilimitexceeded LastUpdateStatusReasonCode = "EniLimitExceeded" LastUpdateStatusReasonCodeInsufficientrolepermissions LastUpdateStatusReasonCode = "InsufficientRolePermissions" LastUpdateStatusReasonCodeInvalidconfiguration LastUpdateStatusReasonCode = "InvalidConfiguration" LastUpdateStatusReasonCodeInternalerror LastUpdateStatusReasonCode = "InternalError" LastUpdateStatusReasonCodeSubnetoutofipaddresses LastUpdateStatusReasonCode = "SubnetOutOfIPAddresses" LastUpdateStatusReasonCodeInvalidsubnet LastUpdateStatusReasonCode = "InvalidSubnet" LastUpdateStatusReasonCodeInvalidsecuritygroup LastUpdateStatusReasonCode = "InvalidSecurityGroup" )
Enum values for LastUpdateStatusReasonCode
type Layer ¶
type Layer struct { // The Amazon Resource Name (ARN) of the function layer. Arn *string // The size of the layer archive in bytes. CodeSize *int64 }
An AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LayerVersionContentInput ¶
type LayerVersionContentInput struct { // The Amazon S3 bucket of the layer archive. S3Bucket *string // For versioned objects, the version of the layer archive object to use. S3ObjectVersion *string // The Amazon S3 key of the layer archive. S3Key *string // The base64-encoded contents of the layer archive. AWS SDK and AWS CLI clients // handle the encoding for you. ZipFile []byte }
A ZIP archive that contains the contents of an AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). You can specify either an Amazon S3 location, or upload a layer archive directly.
type LayerVersionContentOutput ¶
type LayerVersionContentOutput struct { // The SHA-256 hash of the layer archive. CodeSha256 *string // The size of the layer archive in bytes. CodeSize *int64 // A link to the layer archive in Amazon S3 that is valid for 10 minutes. Location *string }
Details about a version of an AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LayerVersionsListItem ¶
type LayerVersionsListItem struct { // The date that the version was created, in ISO 8601 format. For example, // 2018-11-27T15:10:45.123+0000. CreatedDate *string // The version number. Version *int64 // The layer's open-source license. LicenseInfo *string // The layer's compatible runtimes. CompatibleRuntimes []Runtime // The description of the version. Description *string // The ARN of the layer version. LayerVersionArn *string }
Details about a version of an AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LayersListItem ¶
type LayersListItem struct { // The Amazon Resource Name (ARN) of the function layer. LayerArn *string // The name of the layer. LayerName *string // The newest version of the layer. LatestMatchingVersion *LayerVersionsListItem }
Details about an AWS Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type OnFailure ¶
type OnFailure struct { // The Amazon Resource Name (ARN) of the destination resource. Destination *string }
A destination for events that failed processing.
type OnSuccess ¶
type OnSuccess struct { // The Amazon Resource Name (ARN) of the destination resource. Destination *string }
A destination for events that were processed successfully.
type PolicyLengthExceededException ¶
The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
func (*PolicyLengthExceededException) Error ¶
func (e *PolicyLengthExceededException) Error() string
func (*PolicyLengthExceededException) ErrorCode ¶
func (e *PolicyLengthExceededException) ErrorCode() string
func (*PolicyLengthExceededException) ErrorFault ¶
func (e *PolicyLengthExceededException) ErrorFault() smithy.ErrorFault
func (*PolicyLengthExceededException) ErrorMessage ¶
func (e *PolicyLengthExceededException) ErrorMessage() string
func (*PolicyLengthExceededException) GetMessage ¶
func (e *PolicyLengthExceededException) GetMessage() string
func (*PolicyLengthExceededException) GetType ¶
func (e *PolicyLengthExceededException) GetType() string
func (*PolicyLengthExceededException) HasMessage ¶
func (e *PolicyLengthExceededException) HasMessage() bool
func (*PolicyLengthExceededException) HasType ¶
func (e *PolicyLengthExceededException) HasType() bool
type 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.
func (*PreconditionFailedException) Error ¶
func (e *PreconditionFailedException) Error() string
func (*PreconditionFailedException) ErrorCode ¶
func (e *PreconditionFailedException) ErrorCode() string
func (*PreconditionFailedException) ErrorFault ¶
func (e *PreconditionFailedException) ErrorFault() smithy.ErrorFault
func (*PreconditionFailedException) ErrorMessage ¶
func (e *PreconditionFailedException) ErrorMessage() string
func (*PreconditionFailedException) GetMessage ¶
func (e *PreconditionFailedException) GetMessage() string
func (*PreconditionFailedException) GetType ¶
func (e *PreconditionFailedException) GetType() string
func (*PreconditionFailedException) HasMessage ¶
func (e *PreconditionFailedException) HasMessage() bool
func (*PreconditionFailedException) HasType ¶
func (e *PreconditionFailedException) HasType() bool
type ProvisionedConcurrencyConfigListItem ¶
type ProvisionedConcurrencyConfigListItem struct { // The date and time that a user last updated the configuration, in ISO 8601 format // (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string // The amount of provisioned concurrency allocated. AllocatedProvisionedConcurrentExecutions *int32 // The status of the allocation process. Status ProvisionedConcurrencyStatusEnum // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int32 // For failed allocations, the reason that provisioned concurrency could not be // allocated. StatusReason *string // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int32 // The Amazon Resource Name (ARN) of the alias or version. FunctionArn *string }
Details about the provisioned concurrency configuration for a function alias or version.
type ProvisionedConcurrencyConfigNotFoundException ¶
The specified configuration does not exist.
func (*ProvisionedConcurrencyConfigNotFoundException) Error ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) Error() string
func (*ProvisionedConcurrencyConfigNotFoundException) ErrorCode ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorCode() string
func (*ProvisionedConcurrencyConfigNotFoundException) ErrorFault ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorFault() smithy.ErrorFault
func (*ProvisionedConcurrencyConfigNotFoundException) ErrorMessage ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) ErrorMessage() string
func (*ProvisionedConcurrencyConfigNotFoundException) GetMessage ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) GetMessage() string
func (*ProvisionedConcurrencyConfigNotFoundException) GetType ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) GetType() string
func (*ProvisionedConcurrencyConfigNotFoundException) HasMessage ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) HasMessage() bool
func (*ProvisionedConcurrencyConfigNotFoundException) HasType ¶
func (e *ProvisionedConcurrencyConfigNotFoundException) HasType() bool
type ProvisionedConcurrencyStatusEnum ¶
type ProvisionedConcurrencyStatusEnum string
const ( ProvisionedConcurrencyStatusEnumIn_progress ProvisionedConcurrencyStatusEnum = "IN_PROGRESS" ProvisionedConcurrencyStatusEnumReady ProvisionedConcurrencyStatusEnum = "READY" ProvisionedConcurrencyStatusEnumFailed ProvisionedConcurrencyStatusEnum = "FAILED" )
Enum values for ProvisionedConcurrencyStatusEnum
type 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).
func (*RequestTooLargeException) Error ¶
func (e *RequestTooLargeException) Error() string
func (*RequestTooLargeException) ErrorCode ¶
func (e *RequestTooLargeException) ErrorCode() string
func (*RequestTooLargeException) ErrorFault ¶
func (e *RequestTooLargeException) ErrorFault() smithy.ErrorFault
func (*RequestTooLargeException) ErrorMessage ¶
func (e *RequestTooLargeException) ErrorMessage() string
func (*RequestTooLargeException) GetMessage ¶
func (e *RequestTooLargeException) GetMessage() string
func (*RequestTooLargeException) GetType ¶
func (e *RequestTooLargeException) GetType() string
func (*RequestTooLargeException) HasMessage ¶
func (e *RequestTooLargeException) HasMessage() bool
func (*RequestTooLargeException) HasType ¶
func (e *RequestTooLargeException) HasType() bool
type ResourceConflictException ¶
The resource already exists, or another operation is in progress.
func (*ResourceConflictException) Error ¶
func (e *ResourceConflictException) Error() string
func (*ResourceConflictException) ErrorCode ¶
func (e *ResourceConflictException) ErrorCode() string
func (*ResourceConflictException) ErrorFault ¶
func (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
func (*ResourceConflictException) ErrorMessage ¶
func (e *ResourceConflictException) ErrorMessage() string
func (*ResourceConflictException) GetMessage ¶
func (e *ResourceConflictException) GetMessage() string
func (*ResourceConflictException) GetType ¶
func (e *ResourceConflictException) GetType() string
func (*ResourceConflictException) HasMessage ¶
func (e *ResourceConflictException) HasMessage() bool
func (*ResourceConflictException) HasType ¶
func (e *ResourceConflictException) HasType() bool
type 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.
func (*ResourceInUseException) Error ¶
func (e *ResourceInUseException) Error() string
func (*ResourceInUseException) ErrorCode ¶
func (e *ResourceInUseException) ErrorCode() string
func (*ResourceInUseException) ErrorFault ¶
func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault
func (*ResourceInUseException) ErrorMessage ¶
func (e *ResourceInUseException) ErrorMessage() string
func (*ResourceInUseException) GetMessage ¶
func (e *ResourceInUseException) GetMessage() string
func (*ResourceInUseException) GetType ¶
func (e *ResourceInUseException) GetType() string
func (*ResourceInUseException) HasMessage ¶
func (e *ResourceInUseException) HasMessage() bool
func (*ResourceInUseException) HasType ¶
func (e *ResourceInUseException) HasType() bool
type ResourceNotFoundException ¶
The resource specified in the request does not exist.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
func (*ResourceNotFoundException) GetMessage ¶
func (e *ResourceNotFoundException) GetMessage() string
func (*ResourceNotFoundException) GetType ¶
func (e *ResourceNotFoundException) GetType() string
func (*ResourceNotFoundException) HasMessage ¶
func (e *ResourceNotFoundException) HasMessage() bool
func (*ResourceNotFoundException) HasType ¶
func (e *ResourceNotFoundException) HasType() bool
type ResourceNotReadyException ¶
The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
func (*ResourceNotReadyException) Error ¶
func (e *ResourceNotReadyException) Error() string
func (*ResourceNotReadyException) ErrorCode ¶
func (e *ResourceNotReadyException) ErrorCode() string
func (*ResourceNotReadyException) ErrorFault ¶
func (e *ResourceNotReadyException) ErrorFault() smithy.ErrorFault
func (*ResourceNotReadyException) ErrorMessage ¶
func (e *ResourceNotReadyException) ErrorMessage() string
func (*ResourceNotReadyException) GetMessage ¶
func (e *ResourceNotReadyException) GetMessage() string
func (*ResourceNotReadyException) GetType ¶
func (e *ResourceNotReadyException) GetType() string
func (*ResourceNotReadyException) HasMessage ¶
func (e *ResourceNotReadyException) HasMessage() bool
func (*ResourceNotReadyException) HasType ¶
func (e *ResourceNotReadyException) HasType() bool
type Runtime ¶
type Runtime string
const ( RuntimeNodejs Runtime = "nodejs" RuntimeNodejs43 Runtime = "nodejs4.3" RuntimeNodejs610 Runtime = "nodejs6.10" RuntimeNodejs810 Runtime = "nodejs8.10" RuntimeNodejs10x Runtime = "nodejs10.x" RuntimeNodejs12x Runtime = "nodejs12.x" RuntimeJava8 Runtime = "java8" RuntimeJava11 Runtime = "java11" RuntimePython27 Runtime = "python2.7" RuntimePython36 Runtime = "python3.6" RuntimePython37 Runtime = "python3.7" RuntimePython38 Runtime = "python3.8" RuntimeDotnetcore10 Runtime = "dotnetcore1.0" RuntimeDotnetcore20 Runtime = "dotnetcore2.0" RuntimeDotnetcore21 Runtime = "dotnetcore2.1" RuntimeDotnetcore31 Runtime = "dotnetcore3.1" RuntimeNodejs43edge Runtime = "nodejs4.3-edge" RuntimeGo1x Runtime = "go1.x" RuntimeRuby25 Runtime = "ruby2.5" RuntimeRuby27 Runtime = "ruby2.7" RuntimeProvided Runtime = "provided" )
Enum values for Runtime
type ServiceException ¶
The AWS Lambda service encountered an internal error.
func (*ServiceException) Error ¶
func (e *ServiceException) Error() string
func (*ServiceException) ErrorCode ¶
func (e *ServiceException) ErrorCode() string
func (*ServiceException) ErrorFault ¶
func (e *ServiceException) ErrorFault() smithy.ErrorFault
func (*ServiceException) ErrorMessage ¶
func (e *ServiceException) ErrorMessage() string
func (*ServiceException) GetMessage ¶
func (e *ServiceException) GetMessage() string
func (*ServiceException) GetType ¶
func (e *ServiceException) GetType() string
func (*ServiceException) HasMessage ¶
func (e *ServiceException) HasMessage() bool
func (*ServiceException) HasType ¶
func (e *ServiceException) HasType() bool
type StateReasonCode ¶
type StateReasonCode string
const ( StateReasonCodeIdle StateReasonCode = "Idle" StateReasonCodeCreating StateReasonCode = "Creating" StateReasonCodeRestoring StateReasonCode = "Restoring" StateReasonCodeEnilimitexceeded StateReasonCode = "EniLimitExceeded" StateReasonCodeInsufficientrolepermissions StateReasonCode = "InsufficientRolePermissions" StateReasonCodeInvalidconfiguration StateReasonCode = "InvalidConfiguration" StateReasonCodeInternalerror StateReasonCode = "InternalError" StateReasonCodeSubnetoutofipaddresses StateReasonCode = "SubnetOutOfIPAddresses" StateReasonCodeInvalidsubnet StateReasonCode = "InvalidSubnet" StateReasonCodeInvalidsecuritygroup StateReasonCode = "InvalidSecurityGroup" )
Enum values for StateReasonCode
type 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.
func (*SubnetIPAddressLimitReachedException) Error ¶
func (e *SubnetIPAddressLimitReachedException) Error() string
func (*SubnetIPAddressLimitReachedException) ErrorCode ¶
func (e *SubnetIPAddressLimitReachedException) ErrorCode() string
func (*SubnetIPAddressLimitReachedException) ErrorFault ¶
func (e *SubnetIPAddressLimitReachedException) ErrorFault() smithy.ErrorFault
func (*SubnetIPAddressLimitReachedException) ErrorMessage ¶
func (e *SubnetIPAddressLimitReachedException) ErrorMessage() string
func (*SubnetIPAddressLimitReachedException) GetMessage ¶
func (e *SubnetIPAddressLimitReachedException) GetMessage() string
func (*SubnetIPAddressLimitReachedException) GetType ¶
func (e *SubnetIPAddressLimitReachedException) GetType() string
func (*SubnetIPAddressLimitReachedException) HasMessage ¶
func (e *SubnetIPAddressLimitReachedException) HasMessage() bool
func (*SubnetIPAddressLimitReachedException) HasType ¶
func (e *SubnetIPAddressLimitReachedException) HasType() bool
type ThrottleReason ¶
type ThrottleReason string
const ( ThrottleReasonConcurrentinvocationlimitexceeded ThrottleReason = "ConcurrentInvocationLimitExceeded" ThrottleReasonFunctioninvocationratelimitexceeded ThrottleReason = "FunctionInvocationRateLimitExceeded" ThrottleReasonReservedfunctionconcurrentinvocationlimitexceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded" ThrottleReasonReservedfunctioninvocationratelimitexceeded ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded" ThrottleReasonCallerratelimitexceeded ThrottleReason = "CallerRateLimitExceeded" )
Enum values for ThrottleReason
type TooManyRequestsException ¶
type TooManyRequestsException struct { Message *string RetryAfterSeconds *string Type *string Reason ThrottleReason }
The request throughput limit was exceeded.
func (*TooManyRequestsException) Error ¶
func (e *TooManyRequestsException) Error() string
func (*TooManyRequestsException) ErrorCode ¶
func (e *TooManyRequestsException) ErrorCode() string
func (*TooManyRequestsException) ErrorFault ¶
func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault
func (*TooManyRequestsException) ErrorMessage ¶
func (e *TooManyRequestsException) ErrorMessage() string
func (*TooManyRequestsException) GetMessage ¶
func (e *TooManyRequestsException) GetMessage() string
func (*TooManyRequestsException) GetReason ¶
func (e *TooManyRequestsException) GetReason() ThrottleReason
func (*TooManyRequestsException) GetRetryAfterSeconds ¶
func (e *TooManyRequestsException) GetRetryAfterSeconds() string
func (*TooManyRequestsException) GetType ¶
func (e *TooManyRequestsException) GetType() string
func (*TooManyRequestsException) HasMessage ¶
func (e *TooManyRequestsException) HasMessage() bool
func (*TooManyRequestsException) HasRetryAfterSeconds ¶
func (e *TooManyRequestsException) HasRetryAfterSeconds() bool
func (*TooManyRequestsException) HasType ¶
func (e *TooManyRequestsException) HasType() bool
type TracingConfig ¶
type TracingConfig struct { // The tracing mode. Mode TracingMode }
The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active.
type TracingConfigResponse ¶
type TracingConfigResponse struct { // The tracing mode. Mode TracingMode }
The function's AWS X-Ray tracing configuration.
type TracingMode ¶
type TracingMode string
const ( TracingModeActive TracingMode = "Active" TracingModePassthrough TracingMode = "PassThrough" )
Enum values for TracingMode
type UnsupportedMediaTypeException ¶
The content type of the Invoke request body is not JSON.
func (*UnsupportedMediaTypeException) Error ¶
func (e *UnsupportedMediaTypeException) Error() string
func (*UnsupportedMediaTypeException) ErrorCode ¶
func (e *UnsupportedMediaTypeException) ErrorCode() string
func (*UnsupportedMediaTypeException) ErrorFault ¶
func (e *UnsupportedMediaTypeException) ErrorFault() smithy.ErrorFault
func (*UnsupportedMediaTypeException) ErrorMessage ¶
func (e *UnsupportedMediaTypeException) ErrorMessage() string
func (*UnsupportedMediaTypeException) GetMessage ¶
func (e *UnsupportedMediaTypeException) GetMessage() string
func (*UnsupportedMediaTypeException) GetType ¶
func (e *UnsupportedMediaTypeException) GetType() string
func (*UnsupportedMediaTypeException) HasMessage ¶
func (e *UnsupportedMediaTypeException) HasMessage() bool
func (*UnsupportedMediaTypeException) HasType ¶
func (e *UnsupportedMediaTypeException) HasType() bool
type VpcConfig ¶
type VpcConfig struct { // A list of VPC subnet IDs. SubnetIds []*string // A list of VPC security groups IDs. SecurityGroupIds []*string }
The VPC security groups and subnets that are attached to a Lambda function. For more information, see VPC Settings (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
type VpcConfigResponse ¶
type VpcConfigResponse struct { // A list of VPC subnet IDs. SubnetIds []*string // A list of VPC security groups IDs. SecurityGroupIds []*string // The ID of the VPC. VpcId *string }
The VPC security groups and subnets that are attached to a Lambda function.