package types
import "github.com/aws/aws-sdk-go-v2/service/lambda/types"
Index ¶
- type AccountLimit
- type AccountUsage
- type AliasConfiguration
- type AliasRoutingConfiguration
- type AllowedPublishers
- type AmazonManagedKafkaEventSourceConfig
- type Architecture
- type CodeSigningConfig
- type CodeSigningConfigNotFoundException
- func (e *CodeSigningConfigNotFoundException) Error() string
- func (e *CodeSigningConfigNotFoundException) ErrorCode() string
- func (e *CodeSigningConfigNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *CodeSigningConfigNotFoundException) ErrorMessage() string
- type CodeSigningPolicies
- type CodeSigningPolicy
- type CodeStorageExceededException
- func (e *CodeStorageExceededException) Error() string
- func (e *CodeStorageExceededException) ErrorCode() string
- func (e *CodeStorageExceededException) ErrorFault() smithy.ErrorFault
- func (e *CodeStorageExceededException) ErrorMessage() string
- type CodeVerificationFailedException
- func (e *CodeVerificationFailedException) Error() string
- func (e *CodeVerificationFailedException) ErrorCode() string
- func (e *CodeVerificationFailedException) ErrorFault() smithy.ErrorFault
- func (e *CodeVerificationFailedException) ErrorMessage() string
- type Concurrency
- type Cors
- 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
- type EC2ThrottledException
- func (e *EC2ThrottledException) Error() string
- func (e *EC2ThrottledException) ErrorCode() string
- func (e *EC2ThrottledException) ErrorFault() smithy.ErrorFault
- func (e *EC2ThrottledException) ErrorMessage() string
- type EC2UnexpectedException
- func (e *EC2UnexpectedException) Error() string
- func (e *EC2UnexpectedException) ErrorCode() string
- func (e *EC2UnexpectedException) ErrorFault() smithy.ErrorFault
- func (e *EC2UnexpectedException) ErrorMessage() string
- type EFSIOException
- func (e *EFSIOException) Error() string
- func (e *EFSIOException) ErrorCode() string
- func (e *EFSIOException) ErrorFault() smithy.ErrorFault
- func (e *EFSIOException) ErrorMessage() string
- type EFSMountConnectivityException
- func (e *EFSMountConnectivityException) Error() string
- func (e *EFSMountConnectivityException) ErrorCode() string
- func (e *EFSMountConnectivityException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountConnectivityException) ErrorMessage() string
- type EFSMountFailureException
- func (e *EFSMountFailureException) Error() string
- func (e *EFSMountFailureException) ErrorCode() string
- func (e *EFSMountFailureException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountFailureException) ErrorMessage() string
- type EFSMountTimeoutException
- func (e *EFSMountTimeoutException) Error() string
- func (e *EFSMountTimeoutException) ErrorCode() string
- func (e *EFSMountTimeoutException) ErrorFault() smithy.ErrorFault
- func (e *EFSMountTimeoutException) ErrorMessage() string
- type ENILimitReachedException
- func (e *ENILimitReachedException) Error() string
- func (e *ENILimitReachedException) ErrorCode() string
- func (e *ENILimitReachedException) ErrorFault() smithy.ErrorFault
- func (e *ENILimitReachedException) ErrorMessage() string
- type EndPointType
- type Environment
- type EnvironmentError
- type EnvironmentResponse
- type EphemeralStorage
- type EventSourceMappingConfiguration
- type EventSourcePosition
- type FileSystemConfig
- type Filter
- type FilterCriteria
- type FunctionCode
- type FunctionCodeLocation
- type FunctionConfiguration
- type FunctionEventInvokeConfig
- type FunctionResponseType
- type FunctionUrlAuthType
- type FunctionUrlConfig
- type FunctionVersion
- type ImageConfig
- type ImageConfigError
- type ImageConfigResponse
- type InvalidCodeSignatureException
- func (e *InvalidCodeSignatureException) Error() string
- func (e *InvalidCodeSignatureException) ErrorCode() string
- func (e *InvalidCodeSignatureException) ErrorFault() smithy.ErrorFault
- func (e *InvalidCodeSignatureException) ErrorMessage() string
- type InvalidParameterValueException
- func (e *InvalidParameterValueException) Error() string
- func (e *InvalidParameterValueException) ErrorCode() string
- func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault
- func (e *InvalidParameterValueException) ErrorMessage() string
- type InvalidRequestContentException
- func (e *InvalidRequestContentException) Error() string
- func (e *InvalidRequestContentException) ErrorCode() string
- func (e *InvalidRequestContentException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRequestContentException) ErrorMessage() string
- type InvalidRuntimeException
- func (e *InvalidRuntimeException) Error() string
- func (e *InvalidRuntimeException) ErrorCode() string
- func (e *InvalidRuntimeException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRuntimeException) ErrorMessage() string
- type InvalidSecurityGroupIDException
- func (e *InvalidSecurityGroupIDException) Error() string
- func (e *InvalidSecurityGroupIDException) ErrorCode() string
- func (e *InvalidSecurityGroupIDException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSecurityGroupIDException) ErrorMessage() string
- type InvalidSubnetIDException
- func (e *InvalidSubnetIDException) Error() string
- func (e *InvalidSubnetIDException) ErrorCode() string
- func (e *InvalidSubnetIDException) ErrorFault() smithy.ErrorFault
- func (e *InvalidSubnetIDException) ErrorMessage() string
- type InvalidZipFileException
- func (e *InvalidZipFileException) Error() string
- func (e *InvalidZipFileException) ErrorCode() string
- func (e *InvalidZipFileException) ErrorFault() smithy.ErrorFault
- func (e *InvalidZipFileException) ErrorMessage() string
- 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
- type KMSDisabledException
- func (e *KMSDisabledException) Error() string
- func (e *KMSDisabledException) ErrorCode() string
- func (e *KMSDisabledException) ErrorFault() smithy.ErrorFault
- func (e *KMSDisabledException) ErrorMessage() string
- type KMSInvalidStateException
- func (e *KMSInvalidStateException) Error() string
- func (e *KMSInvalidStateException) ErrorCode() string
- func (e *KMSInvalidStateException) ErrorFault() smithy.ErrorFault
- func (e *KMSInvalidStateException) ErrorMessage() string
- type KMSNotFoundException
- func (e *KMSNotFoundException) Error() string
- func (e *KMSNotFoundException) ErrorCode() string
- func (e *KMSNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *KMSNotFoundException) ErrorMessage() string
- type LastUpdateStatus
- type LastUpdateStatusReasonCode
- type Layer
- type LayerVersionContentInput
- type LayerVersionContentOutput
- type LayerVersionsListItem
- type LayersListItem
- type LogType
- type OnFailure
- type OnSuccess
- type PackageType
- type PolicyLengthExceededException
- func (e *PolicyLengthExceededException) Error() string
- func (e *PolicyLengthExceededException) ErrorCode() string
- func (e *PolicyLengthExceededException) ErrorFault() smithy.ErrorFault
- func (e *PolicyLengthExceededException) ErrorMessage() string
- type PreconditionFailedException
- func (e *PreconditionFailedException) Error() string
- func (e *PreconditionFailedException) ErrorCode() string
- func (e *PreconditionFailedException) ErrorFault() smithy.ErrorFault
- func (e *PreconditionFailedException) ErrorMessage() string
- 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
- 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
- type ResourceConflictException
- func (e *ResourceConflictException) Error() string
- func (e *ResourceConflictException) ErrorCode() string
- func (e *ResourceConflictException) ErrorFault() smithy.ErrorFault
- func (e *ResourceConflictException) ErrorMessage() string
- type ResourceInUseException
- func (e *ResourceInUseException) Error() string
- func (e *ResourceInUseException) ErrorCode() string
- func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault
- func (e *ResourceInUseException) ErrorMessage() string
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type ResourceNotReadyException
- func (e *ResourceNotReadyException) Error() string
- func (e *ResourceNotReadyException) ErrorCode() string
- func (e *ResourceNotReadyException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotReadyException) ErrorMessage() string
- type Runtime
- type SelfManagedEventSource
- type SelfManagedKafkaEventSourceConfig
- type ServiceException
- func (e *ServiceException) Error() string
- func (e *ServiceException) ErrorCode() string
- func (e *ServiceException) ErrorFault() smithy.ErrorFault
- func (e *ServiceException) ErrorMessage() string
- type SourceAccessConfiguration
- type SourceAccessType
- 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
- 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
- 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
- type VpcConfig
- type VpcConfigResponse
Types ¶
type AccountLimit ¶
type AccountLimit struct { // The maximum size of a function's deployment package and layers when they're // extracted. CodeSizeUnzipped int64 // The maximum size of a deployment package when it's uploaded directly to Lambda. // Use Amazon S3 for larger files. CodeSizeZipped int64 // 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 number of simultaneous function executions, minus the capacity // that's reserved for individual functions with PutFunctionConcurrency. UnreservedConcurrentExecutions *int32 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
The number of functions and amount of storage in use.
type AliasConfiguration ¶
type AliasConfiguration struct { // The Amazon Resource Name (ARN) of the alias. AliasArn *string // A description of the alias. Description *string // The function version that the alias invokes. FunctionVersion *string // The name of the alias. Name *string // A unique identifier that changes when you update the alias. RevisionId *string // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *AliasRoutingConfiguration // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.
type AllowedPublishers ¶
type AllowedPublishers struct { // The Amazon Resource Name (ARN) for each of the signing profiles. A signing // profile defines a trusted user who can sign a code package. // // This member is required. SigningProfileVersionArns []string // contains filtered or unexported fields }
List of signing profiles that can sign a code package.
type AmazonManagedKafkaEventSourceConfig ¶
type AmazonManagedKafkaEventSourceConfig struct { // The identifier for the Kafka consumer group to join. The consumer group ID must // be unique among all your Kafka event sources. After creating a Kafka event // source mapping with the consumer group ID specified, you cannot update this // value. For more information, see services-msk-consumer-group-id. ConsumerGroupId *string // contains filtered or unexported fields }
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
type Architecture ¶
type Architecture string
const ( ArchitectureX8664 Architecture = "x86_64" ArchitectureArm64 Architecture = "arm64" )
Enum values for Architecture
func (Architecture) Values ¶
func (Architecture) Values() []Architecture
Values returns all known values for Architecture. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type CodeSigningConfig ¶
type CodeSigningConfig struct { // List of allowed publishers. // // This member is required. AllowedPublishers *AllowedPublishers // The Amazon Resource Name (ARN) of the Code signing configuration. // // This member is required. CodeSigningConfigArn *string // Unique identifer for the Code signing configuration. // // This member is required. CodeSigningConfigId *string // The code signing policy controls the validation failure action for signature // mismatch or expiry. // // This member is required. CodeSigningPolicies *CodeSigningPolicies // The date and time that the Code signing configuration was last modified, in // ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). // // This member is required. LastModified *string // Code signing configuration description. Description *string // contains filtered or unexported fields }
Details about a Code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
type CodeSigningConfigNotFoundException ¶
type CodeSigningConfigNotFoundException struct { Message *string Type *string // contains filtered or unexported fields }
The specified code signing configuration does not exist.
func (*CodeSigningConfigNotFoundException) Error ¶
func (e *CodeSigningConfigNotFoundException) Error() string
func (*CodeSigningConfigNotFoundException) ErrorCode ¶
func (e *CodeSigningConfigNotFoundException) ErrorCode() string
func (*CodeSigningConfigNotFoundException) ErrorFault ¶
func (e *CodeSigningConfigNotFoundException) ErrorFault() smithy.ErrorFault
func (*CodeSigningConfigNotFoundException) ErrorMessage ¶
func (e *CodeSigningConfigNotFoundException) ErrorMessage() string
type CodeSigningPolicies ¶
type CodeSigningPolicies struct { // Code signing configuration policy for deployment validation failure. If you set // the policy to Enforce, Lambda blocks the deployment request if signature // validation checks fail. If you set the policy to Warn, Lambda allows the // deployment and creates a CloudWatch log. Default value: Warn UntrustedArtifactOnDeployment CodeSigningPolicy // contains filtered or unexported fields }
Code signing configuration policies (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) specify the validation failure action for signature mismatch or expiry.
type CodeSigningPolicy ¶
type CodeSigningPolicy string
const ( CodeSigningPolicyWarn CodeSigningPolicy = "Warn" CodeSigningPolicyEnforce CodeSigningPolicy = "Enforce" )
Enum values for CodeSigningPolicy
func (CodeSigningPolicy) Values ¶
func (CodeSigningPolicy) Values() []CodeSigningPolicy
Values returns all known values for CodeSigningPolicy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type CodeStorageExceededException ¶
type CodeStorageExceededException struct { Message *string Type *string // contains filtered or unexported fields }
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
type CodeVerificationFailedException ¶
type CodeVerificationFailedException struct { Message *string Type *string // contains filtered or unexported fields }
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.
func (*CodeVerificationFailedException) Error ¶
func (e *CodeVerificationFailedException) Error() string
func (*CodeVerificationFailedException) ErrorCode ¶
func (e *CodeVerificationFailedException) ErrorCode() string
func (*CodeVerificationFailedException) ErrorFault ¶
func (e *CodeVerificationFailedException) ErrorFault() smithy.ErrorFault
func (*CodeVerificationFailedException) ErrorMessage ¶
func (e *CodeVerificationFailedException) ErrorMessage() string
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/configuration-concurrency.html). ReservedConcurrentExecutions *int32 // contains filtered or unexported fields }
type Cors ¶
type Cors struct { // Whether to allow cookies or other credentials in requests to your function URL. // The default is false. AllowCredentials *bool // The HTTP headers that origins can include in requests to your function URL. For // example: Date, Keep-Alive, X-Custom-Header. AllowHeaders []string // The HTTP methods that are allowed when calling your function URL. For example: // GET, POST, DELETE, or the wildcard character (*). AllowMethods []string // The origins that can access your function URL. You can list any number of // specific origins, separated by a comma. For example: https://www.example.com, // http://localhost:60905. Alternatively, you can grant access to all origins using // the wildcard character (*). AllowOrigins []string // The HTTP headers in your function response that you want to expose to origins // that call your function URL. For example: Date, Keep-Alive, X-Custom-Header. ExposeHeaders []string // The maximum amount of time, in seconds, that web browsers can cache results of a // preflight request. By default, this is set to 0, which means that the browser // doesn't cache results. MaxAge *int32 // contains filtered or unexported fields }
The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.
type DeadLetterConfig ¶
type DeadLetterConfig struct { // The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic. TargetArn *string // contains filtered or unexported fields }
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 failed invocations. OnFailure *OnFailure // The destination configuration for successful invocations. OnSuccess *OnSuccess // contains filtered or unexported fields }
A configuration object that specifies the destination of an event after Lambda processes it.
type EC2AccessDeniedException ¶
type EC2AccessDeniedException struct { Message *string Type *string // contains filtered or unexported fields }
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
type EC2ThrottledException ¶
type EC2ThrottledException struct { Message *string Type *string // contains filtered or unexported fields }
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
type EC2UnexpectedException ¶
type EC2UnexpectedException struct { Message *string Type *string EC2ErrorCode *string // contains filtered or unexported fields }
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
type EFSIOException ¶
type EFSIOException struct { Message *string Type *string // contains filtered or unexported fields }
An error occurred 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
type EFSMountConnectivityException ¶
type EFSMountConnectivityException struct { Message *string Type *string // contains filtered or unexported fields }
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
type EFSMountFailureException ¶
type EFSMountFailureException struct { Message *string Type *string // contains filtered or unexported fields }
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
type EFSMountTimeoutException ¶
type EFSMountTimeoutException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ENILimitReachedException ¶
type ENILimitReachedException struct { Message *string Type *string // contains filtered or unexported fields }
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
type EndPointType ¶
type EndPointType string
const ( EndPointTypeKafkaBootstrapServers EndPointType = "KAFKA_BOOTSTRAP_SERVERS" )
Enum values for EndPointType
func (EndPointType) Values ¶
func (EndPointType) Values() []EndPointType
Values returns all known values for EndPointType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type Environment ¶
type Environment struct { // Environment variable key-value pairs. For more information, see Using Lambda // environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Variables map[string]string // contains filtered or unexported fields }
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
type EnvironmentError ¶
type EnvironmentError struct { // The error code. ErrorCode *string // The error message. Message *string // contains filtered or unexported fields }
Error messages for environment variables that couldn't be applied.
type EnvironmentResponse ¶
type EnvironmentResponse struct { // Error messages for environment variables that couldn't be applied. Error *EnvironmentError // Environment variable key-value pairs. Variables map[string]string // contains filtered or unexported fields }
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 EphemeralStorage ¶
type EphemeralStorage struct { // The size of the function’s /tmp directory. // // This member is required. Size *int32 // contains filtered or unexported fields }
The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.
type EventSourceMappingConfiguration ¶
type EventSourceMappingConfiguration struct { // Specific configuration settings for an Amazon Managed Streaming for Apache Kafka // (Amazon MSK) event source. AmazonManagedKafkaEventSourceConfig *AmazonManagedKafkaEventSourceConfig // The maximum number of records in each batch that Lambda pulls from your stream // or queue and sends to your function. Lambda passes all of the records in the // batch to the function in a single call, up to the payload limit for synchronous // invocation (6 MB). Default value: Varies by service. For Amazon SQS, the default // is 10. For all other services, the default is 100. Related setting: When you set // BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. The default value is false. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *DestinationConfig // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria // The ARN of the Lambda function. FunctionArn *string // (Streams and Amazon SQS) A list of current response type enums applied to the // event source mapping. FunctionResponseTypes []FunctionResponseType // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time // The result of the last Lambda invocation of your function. LastProcessingResult *string // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is -1, which sets the maximum age to infinite. When the value is set to // infinite, Lambda never discards old records. MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is -1, which sets the maximum number of retries to infinite. When // MaximumRetryAttempts is infinite, Lambda retries failed records until the record // expires in the event source. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process concurrently from each shard. // The default value is 1. ParallelizationFactor *int32 // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *SelfManagedEventSource // Specific configuration settings for a self-managed Apache Kafka event source. SelfManagedKafkaEventSourceConfig *SelfManagedKafkaEventSourceConfig // An array of the authentication protocol, VPC components, or virtual host to // secure and define your event source. SourceAccessConfigurations []SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // 1–900 seconds. TumblingWindowInSeconds *int32 // The identifier of the event source mapping. UUID *string // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
type EventSourcePosition ¶
type EventSourcePosition string
const ( EventSourcePositionTrimHorizon EventSourcePosition = "TRIM_HORIZON" EventSourcePositionLatest EventSourcePosition = "LATEST" EventSourcePositionAtTimestamp EventSourcePosition = "AT_TIMESTAMP" )
Enum values for EventSourcePosition
func (EventSourcePosition) Values ¶
func (EventSourcePosition) Values() []EventSourcePosition
Values returns all known values for EventSourcePosition. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type FileSystemConfig ¶
type FileSystemConfig struct { // The Amazon Resource Name (ARN) of the Amazon EFS access point that provides // access to the file system. // // This member is required. Arn *string // The path where the function can access the file system, starting with /mnt/. // // This member is required. LocalMountPath *string // contains filtered or unexported fields }
Details about the connection between a Lambda function and an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html).
type Filter ¶
type Filter struct { // A filter pattern. For more information on the syntax of a filter pattern, see // Filter rule syntax // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). Pattern *string // contains filtered or unexported fields }
A structure within a FilterCriteria object that defines an event filtering pattern.
type FilterCriteria ¶
type FilterCriteria struct { // A list of filters. Filters []Filter // contains filtered or unexported fields }
An object that contains the filters for an event source.
type FunctionCode ¶
type FunctionCode struct { // URI of a container image // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in the Amazon // ECR registry. ImageUri *string // An Amazon S3 bucket in the same Amazon Web Services Region as your function. The // bucket can be in a different Amazon Web Services account. S3Bucket *string // The Amazon S3 key of the deployment package. S3Key *string // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string // The base64-encoded contents of the deployment package. Amazon Web Services SDK // and Amazon Web Services CLI clients handle the encoding for you. ZipFile []byte // contains filtered or unexported fields }
The code for the Lambda function. You can specify either an object in Amazon S3, upload a .zip file archive deployment package directly, or specify the URI of a container image.
type FunctionCodeLocation ¶
type FunctionCodeLocation struct { // URI of a container image in the Amazon ECR registry. ImageUri *string // A presigned URL that you can use to download the deployment package. Location *string // The service that's hosting the file. RepositoryType *string // The resolved URI for the image. ResolvedImageUri *string // contains filtered or unexported fields }
Details about a function's deployment package.
type FunctionConfiguration ¶
type FunctionConfiguration struct { // The instruction set architecture that the function supports. Architecture is a // string array with one of the valid values. The default architecture value is // x86_64. Architectures []Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *ImageConfigResponse // 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 key. KMSKeyArn *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 status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State State // The reason for the function's current state. StateReason *string // 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 amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *VpcConfigResponse // contains filtered or unexported fields }
Details about a function's configuration.
type FunctionEventInvokeConfig ¶
type FunctionEventInvokeConfig struct { // 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 Amazon Resource Name (ARN) of the function. FunctionArn *string // The date and time that the configuration was last updated. LastModified *time.Time // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // contains filtered or unexported fields }
type FunctionResponseType ¶
type FunctionResponseType string
const ( FunctionResponseTypeReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures" )
Enum values for FunctionResponseType
func (FunctionResponseType) Values ¶
func (FunctionResponseType) Values() []FunctionResponseType
Values returns all known values for FunctionResponseType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type FunctionUrlAuthType ¶
type FunctionUrlAuthType string
const ( FunctionUrlAuthTypeNone FunctionUrlAuthType = "NONE" FunctionUrlAuthTypeAwsIam FunctionUrlAuthType = "AWS_IAM" )
Enum values for FunctionUrlAuthType
func (FunctionUrlAuthType) Values ¶
func (FunctionUrlAuthType) Values() []FunctionUrlAuthType
Values returns all known values for FunctionUrlAuthType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type FunctionUrlConfig ¶
type FunctionUrlConfig struct { // The type of authentication that your function URL uses. Set to AWS_IAM if you // want to restrict access to authenticated IAM users only. Set to NONE if you want // to bypass IAM authentication to create a public endpoint. For more information, // see Security and auth model for Lambda function URLs // (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // This member is required. AuthType FunctionUrlAuthType // When the function URL was created, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). // // This member is required. CreationTime *string // The Amazon Resource Name (ARN) of your function. // // This member is required. FunctionArn *string // The HTTP URL endpoint for your function. // // This member is required. FunctionUrl *string // When the function URL configuration was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). // // This member is required. LastModifiedTime *string // The cross-origin resource sharing (CORS) // (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your // function URL. Cors *Cors // contains filtered or unexported fields }
Details about a Lambda function URL.
type FunctionVersion ¶
type FunctionVersion string
const ( FunctionVersionAll FunctionVersion = "ALL" )
Enum values for FunctionVersion
func (FunctionVersion) Values ¶
func (FunctionVersion) Values() []FunctionVersion
Values returns all known values for FunctionVersion. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ImageConfig ¶
type ImageConfig struct { // Specifies parameters that you want to pass in with ENTRYPOINT. Command []string // Specifies the entry point to their application, which is typically the location // of the runtime executable. EntryPoint []string // Specifies the working directory. WorkingDirectory *string // contains filtered or unexported fields }
Configuration values that override the container image Dockerfile settings. See Container settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
type ImageConfigError ¶
type ImageConfigError struct { // Error code. ErrorCode *string // Error message. Message *string // contains filtered or unexported fields }
Error response to GetFunctionConfiguration.
type ImageConfigResponse ¶
type ImageConfigResponse struct { // Error response to GetFunctionConfiguration. Error *ImageConfigError // Configuration values that override the container image Dockerfile. ImageConfig *ImageConfig // contains filtered or unexported fields }
Response to GetFunctionConfiguration request.
type InvalidCodeSignatureException ¶
type InvalidCodeSignatureException struct { Message *string Type *string // contains filtered or unexported fields }
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.
func (*InvalidCodeSignatureException) Error ¶
func (e *InvalidCodeSignatureException) Error() string
func (*InvalidCodeSignatureException) ErrorCode ¶
func (e *InvalidCodeSignatureException) ErrorCode() string
func (*InvalidCodeSignatureException) ErrorFault ¶
func (e *InvalidCodeSignatureException) ErrorFault() smithy.ErrorFault
func (*InvalidCodeSignatureException) ErrorMessage ¶
func (e *InvalidCodeSignatureException) ErrorMessage() string
type InvalidParameterValueException ¶
type InvalidParameterValueException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvalidRequestContentException ¶
type InvalidRequestContentException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvalidRuntimeException ¶
type InvalidRuntimeException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvalidSecurityGroupIDException ¶
type InvalidSecurityGroupIDException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvalidSubnetIDException ¶
type InvalidSubnetIDException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvalidZipFileException ¶
type InvalidZipFileException struct { Message *string Type *string // contains filtered or unexported fields }
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
type InvocationType ¶
type InvocationType string
const ( InvocationTypeEvent InvocationType = "Event" InvocationTypeRequestResponse InvocationType = "RequestResponse" InvocationTypeDryRun InvocationType = "DryRun" )
Enum values for InvocationType
func (InvocationType) Values ¶
func (InvocationType) Values() []InvocationType
Values returns all known values for InvocationType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type KMSAccessDeniedException ¶
type KMSAccessDeniedException struct { Message *string Type *string // contains filtered or unexported fields }
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
type KMSDisabledException ¶
type KMSDisabledException struct { Message *string Type *string // contains filtered or unexported fields }
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
type KMSInvalidStateException ¶
type KMSInvalidStateException struct { Message *string Type *string // contains filtered or unexported fields }
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
type KMSNotFoundException ¶
type KMSNotFoundException struct { Message *string Type *string // contains filtered or unexported fields }
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
type LastUpdateStatus ¶
type LastUpdateStatus string
const ( LastUpdateStatusSuccessful LastUpdateStatus = "Successful" LastUpdateStatusFailed LastUpdateStatus = "Failed" LastUpdateStatusInProgress LastUpdateStatus = "InProgress" )
Enum values for LastUpdateStatus
func (LastUpdateStatus) Values ¶
func (LastUpdateStatus) Values() []LastUpdateStatus
Values returns all known values for LastUpdateStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
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" LastUpdateStatusReasonCodeImageDeleted LastUpdateStatusReasonCode = "ImageDeleted" LastUpdateStatusReasonCodeImageAccessDenied LastUpdateStatusReasonCode = "ImageAccessDenied" LastUpdateStatusReasonCodeInvalidImage LastUpdateStatusReasonCode = "InvalidImage" )
Enum values for LastUpdateStatusReasonCode
func (LastUpdateStatusReasonCode) Values ¶
func (LastUpdateStatusReasonCode) Values() []LastUpdateStatusReasonCode
Values returns all known values for LastUpdateStatusReasonCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
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 // The Amazon Resource Name (ARN) of a signing job. SigningJobArn *string // The Amazon Resource Name (ARN) for a signing profile version. SigningProfileVersionArn *string // contains filtered or unexported fields }
An 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 // The Amazon S3 key of the layer archive. S3Key *string // For versioned objects, the version of the layer archive object to use. S3ObjectVersion *string // The base64-encoded contents of the layer archive. Amazon Web Services SDK and // Amazon Web Services CLI clients handle the encoding for you. ZipFile []byte // contains filtered or unexported fields }
A ZIP archive that contains the contents of an 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 // The Amazon Resource Name (ARN) of a signing job. SigningJobArn *string // The Amazon Resource Name (ARN) for a signing profile version. SigningProfileVersionArn *string // contains filtered or unexported fields }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LayerVersionsListItem ¶
type LayerVersionsListItem struct { // A list of compatible instruction set architectures // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []Architecture // The layer's compatible runtimes. CompatibleRuntimes []Runtime // The date that the version was created, in ISO 8601 format. For example, // 2018-11-27T15:10:45.123+0000. CreatedDate *string // The description of the version. Description *string // The ARN of the layer version. LayerVersionArn *string // The layer's open-source license. LicenseInfo *string // The version number. Version int64 // contains filtered or unexported fields }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LayersListItem ¶
type LayersListItem struct { // The newest version of the layer. LatestMatchingVersion *LayerVersionsListItem // The Amazon Resource Name (ARN) of the function layer. LayerArn *string // The name of the layer. LayerName *string // contains filtered or unexported fields }
Details about an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
type LogType ¶
type LogType string
Enum values for LogType
func (LogType) Values ¶
Values returns all known values for LogType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type OnFailure ¶
type OnFailure struct { // The Amazon Resource Name (ARN) of the destination resource. Destination *string // contains filtered or unexported fields }
A destination for events that failed processing.
type OnSuccess ¶
type OnSuccess struct { // The Amazon Resource Name (ARN) of the destination resource. Destination *string // contains filtered or unexported fields }
A destination for events that were processed successfully.
type PackageType ¶
type PackageType string
const ( PackageTypeZip PackageType = "Zip" PackageTypeImage PackageType = "Image" )
Enum values for PackageType
func (PackageType) Values ¶
func (PackageType) Values() []PackageType
Values returns all known values for PackageType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type PolicyLengthExceededException ¶
type PolicyLengthExceededException struct { Message *string Type *string // contains filtered or unexported fields }
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
type PreconditionFailedException ¶
type PreconditionFailedException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ProvisionedConcurrencyConfigListItem ¶
type ProvisionedConcurrencyConfigListItem struct { // The amount of provisioned concurrency allocated. AllocatedProvisionedConcurrentExecutions *int32 // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int32 // The Amazon Resource Name (ARN) of the alias or version. FunctionArn *string // 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 requested. RequestedProvisionedConcurrentExecutions *int32 // The status of the allocation process. Status ProvisionedConcurrencyStatusEnum // For failed allocations, the reason that provisioned concurrency could not be // allocated. StatusReason *string // contains filtered or unexported fields }
Details about the provisioned concurrency configuration for a function alias or version.
type ProvisionedConcurrencyConfigNotFoundException ¶
type ProvisionedConcurrencyConfigNotFoundException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ProvisionedConcurrencyStatusEnum ¶
type ProvisionedConcurrencyStatusEnum string
const ( ProvisionedConcurrencyStatusEnumInProgress ProvisionedConcurrencyStatusEnum = "IN_PROGRESS" ProvisionedConcurrencyStatusEnumReady ProvisionedConcurrencyStatusEnum = "READY" ProvisionedConcurrencyStatusEnumFailed ProvisionedConcurrencyStatusEnum = "FAILED" )
Enum values for ProvisionedConcurrencyStatusEnum
func (ProvisionedConcurrencyStatusEnum) Values ¶
func (ProvisionedConcurrencyStatusEnum) Values() []ProvisionedConcurrencyStatusEnum
Values returns all known values for ProvisionedConcurrencyStatusEnum. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type RequestTooLargeException ¶
type RequestTooLargeException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ResourceConflictException ¶
type ResourceConflictException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ResourceInUseException ¶
type ResourceInUseException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string Type *string // contains filtered or unexported fields }
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
type ResourceNotReadyException ¶
type ResourceNotReadyException struct { Message *string Type *string // contains filtered or unexported fields }
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
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" RuntimeNodejs14x Runtime = "nodejs14.x" RuntimeNodejs16x Runtime = "nodejs16.x" RuntimeJava8 Runtime = "java8" RuntimeJava8al2 Runtime = "java8.al2" RuntimeJava11 Runtime = "java11" RuntimePython27 Runtime = "python2.7" RuntimePython36 Runtime = "python3.6" RuntimePython37 Runtime = "python3.7" RuntimePython38 Runtime = "python3.8" RuntimePython39 Runtime = "python3.9" RuntimeDotnetcore10 Runtime = "dotnetcore1.0" RuntimeDotnetcore20 Runtime = "dotnetcore2.0" RuntimeDotnetcore21 Runtime = "dotnetcore2.1" RuntimeDotnetcore31 Runtime = "dotnetcore3.1" RuntimeDotnet6 Runtime = "dotnet6" RuntimeNodejs43edge Runtime = "nodejs4.3-edge" RuntimeGo1x Runtime = "go1.x" RuntimeRuby25 Runtime = "ruby2.5" RuntimeRuby27 Runtime = "ruby2.7" RuntimeProvided Runtime = "provided" RuntimeProvidedal2 Runtime = "provided.al2" )
Enum values for Runtime
func (Runtime) Values ¶
Values returns all known values for Runtime. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type SelfManagedEventSource ¶
type SelfManagedEventSource struct { // The list of bootstrap servers for your Kafka brokers in the following format: // "KAFKA_BOOTSTRAP_SERVERS": ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"]. Endpoints map[string][]string // contains filtered or unexported fields }
The self-managed Apache Kafka cluster for your event source.
type SelfManagedKafkaEventSourceConfig ¶
type SelfManagedKafkaEventSourceConfig struct { // The identifier for the Kafka consumer group to join. The consumer group ID must // be unique among all your Kafka event sources. After creating a Kafka event // source mapping with the consumer group ID specified, you cannot update this // value. For more information, see services-msk-consumer-group-id. ConsumerGroupId *string // contains filtered or unexported fields }
Specific configuration settings for a self-managed Apache Kafka event source.
type ServiceException ¶
type ServiceException struct { Message *string Type *string // contains filtered or unexported fields }
The 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
type SourceAccessConfiguration ¶
type SourceAccessConfiguration struct { // The type of authentication protocol, VPC components, or virtual host for your // event source. For example: "Type":"SASL_SCRAM_512_AUTH". // // * BASIC_AUTH - (Amazon // MQ) The Secrets Manager secret that stores your broker credentials. // // * // BASIC_AUTH - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret // key used for SASL/PLAIN authentication of your Apache Kafka brokers. // // * // VPC_SUBNET - The subnets associated with your VPC. Lambda connects to these // subnets to fetch data from your self-managed Apache Kafka cluster. // // * // VPC_SECURITY_GROUP - The VPC security group used to manage access to your // self-managed Apache Kafka brokers. // // * SASL_SCRAM_256_AUTH - The Secrets Manager // ARN of your secret key used for SASL SCRAM-256 authentication of your // self-managed Apache Kafka brokers. // // * SASL_SCRAM_512_AUTH - The Secrets Manager // ARN of your secret key used for SASL SCRAM-512 authentication of your // self-managed Apache Kafka brokers. // // * VIRTUAL_HOST - (Amazon MQ) The name of the // virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the // event source. This property cannot be specified in an UpdateEventSourceMapping // API call. // // * CLIENT_CERTIFICATE_TLS_AUTH - (Amazon MSK, self-managed Apache // Kafka) The Secrets Manager ARN of your secret key containing the certificate // chain (X.509 PEM), private key (PKCS#8 PEM), and private key password (optional) // used for mutual TLS authentication of your MSK/Apache Kafka brokers. // // * // SERVER_ROOT_CA_CERTIFICATE - (Self-managed Apache Kafka) The Secrets Manager ARN // of your secret key containing the root CA certificate (X.509 PEM) used for TLS // encryption of your Apache Kafka brokers. Type SourceAccessType // The value for your chosen configuration in Type. For example: "URI": // "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". URI *string // contains filtered or unexported fields }
To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.
type SourceAccessType ¶
type SourceAccessType string
const ( SourceAccessTypeBasicAuth SourceAccessType = "BASIC_AUTH" SourceAccessTypeVpcSubnet SourceAccessType = "VPC_SUBNET" SourceAccessTypeVpcSecurityGroup SourceAccessType = "VPC_SECURITY_GROUP" SourceAccessTypeSaslScram512Auth SourceAccessType = "SASL_SCRAM_512_AUTH" SourceAccessTypeSaslScram256Auth SourceAccessType = "SASL_SCRAM_256_AUTH" SourceAccessTypeVirtualHost SourceAccessType = "VIRTUAL_HOST" SourceAccessTypeClientCertificateTlsAuth SourceAccessType = "CLIENT_CERTIFICATE_TLS_AUTH" SourceAccessTypeServerRootCaCertificate SourceAccessType = "SERVER_ROOT_CA_CERTIFICATE" )
Enum values for SourceAccessType
func (SourceAccessType) Values ¶
func (SourceAccessType) Values() []SourceAccessType
Values returns all known values for SourceAccessType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type State ¶
type State string
const ( StatePending State = "Pending" StateActive State = "Active" StateInactive State = "Inactive" StateFailed State = "Failed" )
Enum values for State
func (State) Values ¶
Values returns all known values for State. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
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" StateReasonCodeImageDeleted StateReasonCode = "ImageDeleted" StateReasonCodeImageAccessDenied StateReasonCode = "ImageAccessDenied" StateReasonCodeInvalidImage StateReasonCode = "InvalidImage" )
Enum values for StateReasonCode
func (StateReasonCode) Values ¶
func (StateReasonCode) Values() []StateReasonCode
Values returns all known values for StateReasonCode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type SubnetIPAddressLimitReachedException ¶
type SubnetIPAddressLimitReachedException struct { Message *string Type *string // contains filtered or unexported fields }
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
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
func (ThrottleReason) Values ¶
func (ThrottleReason) Values() []ThrottleReason
Values returns all known values for ThrottleReason. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type TooManyRequestsException ¶
type TooManyRequestsException struct { Message *string RetryAfterSeconds *string Type *string Reason ThrottleReason // contains filtered or unexported fields }
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
type TracingConfig ¶
type TracingConfig struct { // The tracing mode. Mode TracingMode // contains filtered or unexported fields }
The function's X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set Mode to Active.
type TracingConfigResponse ¶
type TracingConfigResponse struct { // The tracing mode. Mode TracingMode // contains filtered or unexported fields }
The function's X-Ray tracing configuration.
type TracingMode ¶
type TracingMode string
const ( TracingModeActive TracingMode = "Active" TracingModePassThrough TracingMode = "PassThrough" )
Enum values for TracingMode
func (TracingMode) Values ¶
func (TracingMode) Values() []TracingMode
Values returns all known values for TracingMode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type UnsupportedMediaTypeException ¶
type UnsupportedMediaTypeException struct { Message *string Type *string // contains filtered or unexported fields }
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
type VpcConfig ¶
type VpcConfig struct { // A list of VPC security groups IDs. SecurityGroupIds []string // A list of VPC subnet IDs. SubnetIds []string // contains filtered or unexported fields }
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 security groups IDs. SecurityGroupIds []string // A list of VPC subnet IDs. SubnetIds []string // The ID of the VPC. VpcId *string // contains filtered or unexported fields }
The VPC security groups and subnets that are attached to a Lambda function.
Source Files ¶
- Version
- v1.24.6
- Published
- Sep 20, 2022
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.