Documentation
¶
Index ¶
- type AccountLimit
- type AccountUsage
- type AliasConfiguration
- type AliasRoutingConfiguration
- type AllowedPublishers
- type AmazonManagedKafkaEventSourceConfig
- type ApplicationLogLevel
- type Architecture
- type CallbackDetails
- type CallbackFailedDetails
- type CallbackOptions
- type CallbackStartedDetails
- type CallbackSucceededDetails
- type CallbackTimedOutDetails
- type CallbackTimeoutException
- type CapacityProvider
- type CapacityProviderConfig
- type CapacityProviderLimitExceededException
- type CapacityProviderPermissionsConfig
- type CapacityProviderPredefinedMetricType
- type CapacityProviderScalingConfig
- type CapacityProviderScalingMode
- type CapacityProviderState
- type CapacityProviderVpcConfig
- type ChainedInvokeDetails
- type ChainedInvokeFailedDetails
- type ChainedInvokeOptions
- type ChainedInvokeStartedDetails
- type ChainedInvokeStoppedDetails
- type ChainedInvokeSucceededDetails
- type ChainedInvokeTimedOutDetails
- type CheckpointUpdatedExecutionState
- type CodeSigningConfig
- type CodeSigningConfigNotFoundException
- type CodeSigningPolicies
- type CodeSigningPolicy
- type CodeStorageExceededException
- type CodeVerificationFailedException
- type Concurrency
- type ContextDetails
- type ContextFailedDetails
- type ContextOptions
- type ContextStartedDetails
- type ContextSucceededDetails
- type Cors
- type DeadLetterConfig
- type DestinationConfig
- type DocumentDBEventSourceConfig
- type DurableConfig
- type DurableExecutionAlreadyStartedException
- type EC2AccessDeniedException
- type EC2ThrottledException
- type EC2UnexpectedException
- type EFSIOException
- type EFSMountConnectivityException
- type EFSMountFailureException
- type EFSMountTimeoutException
- type ENILimitReachedException
- type EndPointType
- type Environment
- type EnvironmentError
- type EnvironmentResponse
- type EphemeralStorage
- type ErrorObject
- type Event
- type EventError
- type EventInput
- type EventResult
- type EventSourceMappingConfiguration
- type EventSourceMappingMetric
- type EventSourceMappingMetricsConfig
- type EventSourcePosition
- type EventType
- type Execution
- type ExecutionDetails
- type ExecutionFailedDetails
- type ExecutionStartedDetails
- type ExecutionStatus
- type ExecutionStoppedDetails
- type ExecutionSucceededDetails
- type ExecutionTimedOutDetails
- type FileSystemConfig
- type Filter
- type FilterCriteria
- type FilterCriteriaError
- type FullDocument
- type FunctionCode
- type FunctionCodeLocation
- type FunctionConfiguration
- type FunctionEventInvokeConfig
- type FunctionResponseType
- type FunctionScalingConfig
- type FunctionUrlAuthType
- type FunctionUrlConfig
- type FunctionVersion
- type FunctionVersionLatestPublished
- type FunctionVersionsByCapacityProviderListItem
- type FunctionVersionsPerCapacityProviderLimitExceededException
- func (e *FunctionVersionsPerCapacityProviderLimitExceededException) Error() string
- func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorCode() string
- func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorMessage() string
- type ImageConfig
- type ImageConfigError
- type ImageConfigResponse
- type InstanceRequirements
- type InvalidCodeSignatureException
- type InvalidParameterValueException
- type InvalidRequestContentException
- type InvalidRuntimeException
- type InvalidSecurityGroupIDException
- type InvalidSubnetIDException
- type InvalidZipFileException
- type InvocationCompletedDetails
- type InvocationType
- type InvokeMode
- type InvokeResponseStreamUpdate
- type InvokeWithResponseStreamCompleteEvent
- type InvokeWithResponseStreamResponseEvent
- type InvokeWithResponseStreamResponseEventMemberInvokeComplete
- type InvokeWithResponseStreamResponseEventMemberPayloadChunk
- type KMSAccessDeniedException
- type KMSDisabledException
- type KMSInvalidStateException
- type KMSNotFoundException
- type KafkaSchemaRegistryAccessConfig
- type KafkaSchemaRegistryAuthType
- type KafkaSchemaRegistryConfig
- type KafkaSchemaValidationAttribute
- type KafkaSchemaValidationConfig
- type LambdaManagedInstancesCapacityProviderConfig
- type LastUpdateStatus
- type LastUpdateStatusReasonCode
- type Layer
- type LayerVersionContentInput
- type LayerVersionContentOutput
- type LayerVersionsListItem
- type LayersListItem
- type LogFormat
- type LogType
- type LoggingConfig
- type NoPublishedVersionException
- type OnFailure
- type OnSuccess
- type Operation
- type OperationAction
- type OperationStatus
- type OperationType
- type OperationUpdate
- type PackageType
- type PolicyLengthExceededException
- type PreconditionFailedException
- 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 ProvisionedPollerConfig
- type RecursiveInvocationException
- type RecursiveLoop
- type RequestTooLargeException
- type ResourceConflictException
- type ResourceInUseException
- type ResourceNotFoundException
- type ResourceNotReadyException
- type ResponseStreamingInvocationType
- type RetryDetails
- type Runtime
- type RuntimeVersionConfig
- type RuntimeVersionError
- type ScalingConfig
- type SchemaRegistryEventRecordFormat
- type SelfManagedEventSource
- type SelfManagedKafkaEventSourceConfig
- type SerializedRequestEntityTooLargeException
- type ServiceException
- type SnapStart
- type SnapStartApplyOn
- type SnapStartException
- type SnapStartNotReadyException
- type SnapStartOptimizationStatus
- type SnapStartResponse
- type SnapStartTimeoutException
- type SourceAccessConfiguration
- type SourceAccessType
- type State
- type StateReasonCode
- type StepDetails
- type StepFailedDetails
- type StepOptions
- type StepStartedDetails
- type StepSucceededDetails
- type SubnetIPAddressLimitReachedException
- type SystemLogLevel
- type TagsError
- type TargetTrackingScalingPolicy
- type TenancyConfig
- type TenantIsolationMode
- type ThrottleReason
- type TooManyRequestsException
- type TraceHeader
- type TracingConfig
- type TracingConfigResponse
- type TracingMode
- type UnknownUnionMember
- type UnsupportedMediaTypeException
- type UpdateRuntimeOn
- type VpcConfig
- type VpcConfigResponse
- type WaitCancelledDetails
- type WaitDetails
- type WaitOptions
- type WaitStartedDetails
- type WaitSucceededDetails
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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] of the alias.
//
// [routing configuration]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html
RoutingConfig *AliasRoutingConfiguration
// contains filtered or unexported fields
}
Provides configuration information about a Lambda function alias.
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 configuration of a Lambda function alias.
type AllowedPublishers ¶ added in v0.31.0
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 ¶ added in v1.24.0
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 [Customizable consumer group ID].
//
// [Customizable consumer group ID]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id
ConsumerGroupId *string
// Specific configuration settings for a Kafka schema registry.
SchemaRegistryConfig *KafkaSchemaRegistryConfig
// contains filtered or unexported fields
}
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
type ApplicationLogLevel ¶ added in v1.48.0
type ApplicationLogLevel string
const ( ApplicationLogLevelTrace ApplicationLogLevel = "TRACE" ApplicationLogLevelDebug ApplicationLogLevel = "DEBUG" ApplicationLogLevelInfo ApplicationLogLevel = "INFO" ApplicationLogLevelWarn ApplicationLogLevel = "WARN" ApplicationLogLevelError ApplicationLogLevel = "ERROR" ApplicationLogLevelFatal ApplicationLogLevel = "FATAL" )
Enum values for ApplicationLogLevel
func (ApplicationLogLevel) Values ¶ added in v1.48.0
func (ApplicationLogLevel) Values() []ApplicationLogLevel
Values returns all known values for ApplicationLogLevel. 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 Architecture ¶ added in v1.9.0
type Architecture string
const ( ArchitectureX8664 Architecture = "x86_64" ArchitectureArm64 Architecture = "arm64" )
Enum values for Architecture
func (Architecture) Values ¶ added in v1.9.0
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 CallbackDetails ¶ added in v1.85.0
type CallbackDetails struct {
// The callback ID. Callback IDs are generated by the DurableContext when a
// durable function calls ctx.waitForCallback .
CallbackId *string
// An error object that contains details about the failure.
Error *ErrorObject
// The response payload from the callback operation as a string.
Result *string
// contains filtered or unexported fields
}
Contains details about a callback operation in a durable execution, including the callback token and timeout configuration.
type CallbackFailedDetails ¶ added in v1.85.0
type CallbackFailedDetails struct {
// An error object that contains details about the failure.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Contains details about a failed callback operation, including error information and the reason for failure.
type CallbackOptions ¶ added in v1.85.0
type CallbackOptions struct {
// The heartbeat timeout for the callback operation, in seconds. If not specified
// or set to 0, heartbeat timeout is disabled.
HeartbeatTimeoutSeconds int32
// The timeout for the callback operation in seconds. If not specified or set to
// 0, the callback has no timeout.
TimeoutSeconds int32
// contains filtered or unexported fields
}
Configuration options for callback operations in durable executions, including timeout settings and retry behavior.
type CallbackStartedDetails ¶ added in v1.85.0
type CallbackStartedDetails struct {
// The callback ID. Callback IDs are generated by the DurableContext when a
// durable function calls ctx.waitForCallback .
//
// This member is required.
CallbackId *string
// The heartbeat timeout value, in seconds.
HeartbeatTimeout *int32
// The timeout value, in seconds.
Timeout *int32
// contains filtered or unexported fields
}
Contains details about a callback operation that has started, including timing information and callback metadata.
type CallbackSucceededDetails ¶ added in v1.85.0
type CallbackSucceededDetails struct {
// The response payload from the successful operation.
//
// This member is required.
Result *EventResult
// contains filtered or unexported fields
}
Contains details about a successfully completed callback operation, including the result data and completion timestamp.
type CallbackTimedOutDetails ¶ added in v1.85.0
type CallbackTimedOutDetails struct {
// Details about the callback timeout.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Contains details about a callback operation that timed out, including timeout duration and any partial results.
type CallbackTimeoutException ¶ added in v1.85.0
type CallbackTimeoutException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The callback ID token has either expired or the callback associated with the token has already been closed.
func (*CallbackTimeoutException) Error ¶ added in v1.85.0
func (e *CallbackTimeoutException) Error() string
func (*CallbackTimeoutException) ErrorCode ¶ added in v1.85.0
func (e *CallbackTimeoutException) ErrorCode() string
func (*CallbackTimeoutException) ErrorFault ¶ added in v1.85.0
func (e *CallbackTimeoutException) ErrorFault() smithy.ErrorFault
func (*CallbackTimeoutException) ErrorMessage ¶ added in v1.85.0
func (e *CallbackTimeoutException) ErrorMessage() string
type CapacityProvider ¶ added in v1.84.0
type CapacityProvider struct {
// The Amazon Resource Name (ARN) of the capacity provider.
//
// This member is required.
CapacityProviderArn *string
// The permissions configuration for the capacity provider.
//
// This member is required.
PermissionsConfig *CapacityProviderPermissionsConfig
// The current state of the capacity provider.
//
// This member is required.
State CapacityProviderState
// The VPC configuration for the capacity provider.
//
// This member is required.
VpcConfig *CapacityProviderVpcConfig
// The scaling configuration for the capacity provider.
CapacityProviderScalingConfig *CapacityProviderScalingConfig
// The instance requirements for compute resources managed by the capacity
// provider.
InstanceRequirements *InstanceRequirements
// The ARN of the KMS key used to encrypt the capacity provider's resources.
KmsKeyArn *string
// The date and time when the capacity provider was last modified.
LastModified *string
// contains filtered or unexported fields
}
A capacity provider manages compute resources for Lambda functions.
type CapacityProviderConfig ¶ added in v1.84.0
type CapacityProviderConfig struct {
// Configuration for Lambda-managed instances used by the capacity provider.
//
// This member is required.
LambdaManagedInstancesCapacityProviderConfig *LambdaManagedInstancesCapacityProviderConfig
// contains filtered or unexported fields
}
Configuration for the capacity provider that manages compute resources for Lambda functions.
type CapacityProviderLimitExceededException ¶ added in v1.84.0
type CapacityProviderLimitExceededException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The maximum number of capacity providers for your account has been exceeded. For more information, see Lambda quotas
func (*CapacityProviderLimitExceededException) Error ¶ added in v1.84.0
func (e *CapacityProviderLimitExceededException) Error() string
func (*CapacityProviderLimitExceededException) ErrorCode ¶ added in v1.84.0
func (e *CapacityProviderLimitExceededException) ErrorCode() string
func (*CapacityProviderLimitExceededException) ErrorFault ¶ added in v1.84.0
func (e *CapacityProviderLimitExceededException) ErrorFault() smithy.ErrorFault
func (*CapacityProviderLimitExceededException) ErrorMessage ¶ added in v1.84.0
func (e *CapacityProviderLimitExceededException) ErrorMessage() string
type CapacityProviderPermissionsConfig ¶ added in v1.84.0
type CapacityProviderPermissionsConfig struct {
// The ARN of the IAM role that the capacity provider uses to manage compute
// instances and other Amazon Web Services resources.
//
// This member is required.
CapacityProviderOperatorRoleArn *string
// contains filtered or unexported fields
}
Configuration that specifies the permissions required for the capacity provider to manage compute resources.
type CapacityProviderPredefinedMetricType ¶ added in v1.84.0
type CapacityProviderPredefinedMetricType string
const (
CapacityProviderPredefinedMetricTypeLambdaCapacityProviderAverageCPUUtilization CapacityProviderPredefinedMetricType = "LambdaCapacityProviderAverageCPUUtilization"
)
Enum values for CapacityProviderPredefinedMetricType
func (CapacityProviderPredefinedMetricType) Values ¶ added in v1.84.0
func (CapacityProviderPredefinedMetricType) Values() []CapacityProviderPredefinedMetricType
Values returns all known values for CapacityProviderPredefinedMetricType. 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 CapacityProviderScalingConfig ¶ added in v1.84.0
type CapacityProviderScalingConfig struct {
// The maximum number of vCPUs that the capacity provider can provision across all
// compute instances.
MaxVCpuCount *int32
// The scaling mode that determines how the capacity provider responds to changes
// in demand.
ScalingMode CapacityProviderScalingMode
// A list of scaling policies that define how the capacity provider scales compute
// instances based on metrics and thresholds.
ScalingPolicies []TargetTrackingScalingPolicy
// contains filtered or unexported fields
}
Configuration that defines how the capacity provider scales compute instances based on demand and policies.
type CapacityProviderScalingMode ¶ added in v1.84.0
type CapacityProviderScalingMode string
const ( CapacityProviderScalingModeAuto CapacityProviderScalingMode = "Auto" CapacityProviderScalingModeManual CapacityProviderScalingMode = "Manual" )
Enum values for CapacityProviderScalingMode
func (CapacityProviderScalingMode) Values ¶ added in v1.84.0
func (CapacityProviderScalingMode) Values() []CapacityProviderScalingMode
Values returns all known values for CapacityProviderScalingMode. 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 CapacityProviderState ¶ added in v1.84.0
type CapacityProviderState string
const ( CapacityProviderStatePending CapacityProviderState = "Pending" CapacityProviderStateActive CapacityProviderState = "Active" CapacityProviderStateFailed CapacityProviderState = "Failed" CapacityProviderStateDeleting CapacityProviderState = "Deleting" )
Enum values for CapacityProviderState
func (CapacityProviderState) Values ¶ added in v1.84.0
func (CapacityProviderState) Values() []CapacityProviderState
Values returns all known values for CapacityProviderState. 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 CapacityProviderVpcConfig ¶ added in v1.84.0
type CapacityProviderVpcConfig struct {
// A list of security group IDs that control network access for compute instances
// managed by the capacity provider.
//
// This member is required.
SecurityGroupIds []string
// A list of subnet IDs where the capacity provider launches compute instances.
//
// This member is required.
SubnetIds []string
// contains filtered or unexported fields
}
VPC configuration that specifies the network settings for compute instances managed by the capacity provider.
type ChainedInvokeDetails ¶ added in v1.85.0
type ChainedInvokeDetails struct {
// Details about the chained invocation failure.
Error *ErrorObject
// The response payload from the chained invocation.
Result *string
// contains filtered or unexported fields
}
Contains details about a chained function invocation in a durable execution, including the target function and invocation parameters.
type ChainedInvokeFailedDetails ¶ added in v1.85.0
type ChainedInvokeFailedDetails struct {
// Details about the chained invocation failure.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Contains details about a failed chained function invocation, including error information and failure reason.
type ChainedInvokeOptions ¶ added in v1.85.0
type ChainedInvokeOptions struct {
// The name or ARN of the Lambda function to invoke.
//
// This member is required.
FunctionName *string
// The tenant identifier for the chained invocation.
TenantId *string
// contains filtered or unexported fields
}
Configuration options for chained function invocations in durable executions, including retry settings and timeout configuration.
type ChainedInvokeStartedDetails ¶ added in v1.85.0
type ChainedInvokeStartedDetails struct {
// The name or ARN of the Lambda function being invoked.
//
// This member is required.
FunctionName *string
// The Amazon Resource Name (ARN) that identifies the durable execution.
DurableExecutionArn *string
// The version of the function that was executed.
ExecutedVersion *string
// The JSON input payload provided to the chained invocation.
Input *EventInput
// The tenant identifier for the chained invocation.
TenantId *string
// contains filtered or unexported fields
}
Contains details about a chained function invocation that has started execution, including start time and execution context.
type ChainedInvokeStoppedDetails ¶ added in v1.85.0
type ChainedInvokeStoppedDetails struct {
// Details about why the chained invocation stopped.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Details about a chained invocation that was stopped.
type ChainedInvokeSucceededDetails ¶ added in v1.85.0
type ChainedInvokeSucceededDetails struct {
// The response payload from the successful operation.
//
// This member is required.
Result *EventResult
// contains filtered or unexported fields
}
Details about a chained invocation that succeeded.
type ChainedInvokeTimedOutDetails ¶ added in v1.85.0
type ChainedInvokeTimedOutDetails struct {
// Details about the chained invocation timeout.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Details about a chained invocation that timed out.
type CheckpointUpdatedExecutionState ¶ added in v1.85.0
type CheckpointUpdatedExecutionState struct {
// Indicates that more results are available. Use this value in a subsequent call
// to retrieve the next page of results.
NextMarker *string
// A list of operations that have been updated since the last checkpoint.
Operations []Operation
// contains filtered or unexported fields
}
Contains operations that have been updated since the last checkpoint, such as completed asynchronous work like timers or callbacks.
type CodeSigningConfig ¶ added in v0.31.0
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.
type CodeSigningConfigNotFoundException ¶ added in v0.31.0
type CodeSigningConfigNotFoundException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The specified code signing configuration does not exist.
func (*CodeSigningConfigNotFoundException) Error ¶ added in v0.31.0
func (e *CodeSigningConfigNotFoundException) Error() string
func (*CodeSigningConfigNotFoundException) ErrorCode ¶ added in v0.31.0
func (e *CodeSigningConfigNotFoundException) ErrorCode() string
func (*CodeSigningConfigNotFoundException) ErrorFault ¶ added in v0.31.0
func (e *CodeSigningConfigNotFoundException) ErrorFault() smithy.ErrorFault
func (*CodeSigningConfigNotFoundException) ErrorMessage ¶ added in v0.31.0
func (e *CodeSigningConfigNotFoundException) ErrorMessage() string
type CodeSigningPolicies ¶ added in v0.31.0
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 issues a new Amazon CloudWatch metric ( SignatureValidationErrors
// ) and also stores the warning in the CloudTrail log.
//
// Default value: Warn
UntrustedArtifactOnDeployment CodeSigningPolicy
// contains filtered or unexported fields
}
Code signing configuration policies specify the validation failure action for signature mismatch or expiry.
type CodeSigningPolicy ¶ added in v0.31.0
type CodeSigningPolicy string
const ( CodeSigningPolicyWarn CodeSigningPolicy = "Warn" CodeSigningPolicyEnforce CodeSigningPolicy = "Enforce" )
Enum values for CodeSigningPolicy
func (CodeSigningPolicy) Values ¶ added in v0.31.0
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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
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 ¶ added in v0.31.0
type CodeVerificationFailedException struct {
Message *string
ErrorCodeOverride *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 ¶ added in v0.31.0
func (e *CodeVerificationFailedException) Error() string
func (*CodeVerificationFailedException) ErrorCode ¶ added in v0.31.0
func (e *CodeVerificationFailedException) ErrorCode() string
func (*CodeVerificationFailedException) ErrorFault ¶ added in v0.31.0
func (e *CodeVerificationFailedException) ErrorFault() smithy.ErrorFault
func (*CodeVerificationFailedException) ErrorMessage ¶ added in v0.31.0
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 Lambda reserved concurrency].
//
// [Managing Lambda reserved concurrency]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html
ReservedConcurrentExecutions *int32
// contains filtered or unexported fields
}
type ContextDetails ¶ added in v1.85.0
type ContextDetails struct {
// Details about the context failure.
Error *ErrorObject
// Whether the state data of child operations of this completed context should be
// included in the invoke payload and GetDurableExecutionState response.
ReplayChildren *bool
// The response payload from the context.
Result *string
// contains filtered or unexported fields
}
Details about a durable execution context.
type ContextFailedDetails ¶ added in v1.85.0
type ContextFailedDetails struct {
// Details about the context failure.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Details about a context that failed.
type ContextOptions ¶ added in v1.85.0
type ContextOptions struct {
// Whether the state data of children of the completed context should be included
// in the invoke payload and GetDurableExecutionState response.
ReplayChildren *bool
// contains filtered or unexported fields
}
Configuration options for a durable execution context.
type ContextStartedDetails ¶ added in v1.85.0
type ContextStartedDetails struct {
// contains filtered or unexported fields
}
Details about a context that has started.
type ContextSucceededDetails ¶ added in v1.85.0
type ContextSucceededDetails struct {
// The JSON response payload from the successful context.
//
// This member is required.
Result *EventResult
// contains filtered or unexported fields
}
Details about a context that succeeded.
type Cors ¶ added in v1.13.0
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) 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 for failed asynchronous invocations.
type DestinationConfig ¶
type DestinationConfig struct {
// The destination configuration for failed invocations.
OnFailure *OnFailure
// The destination configuration for successful invocations. Not supported in
// CreateEventSourceMapping or UpdateEventSourceMapping .
OnSuccess *OnSuccess
// contains filtered or unexported fields
}
A configuration object that specifies the destination of an event after Lambda processes it. For more information, see Adding a destination.
type DocumentDBEventSourceConfig ¶ added in v1.30.0
type DocumentDBEventSourceConfig struct {
// The name of the collection to consume within the database. If you do not
// specify a collection, Lambda consumes all collections.
CollectionName *string
// The name of the database to consume within the DocumentDB cluster.
DatabaseName *string
// Determines what DocumentDB sends to your event stream during document update
// operations. If set to UpdateLookup, DocumentDB sends a delta describing the
// changes, along with a copy of the entire document. Otherwise, DocumentDB sends
// only a partial document that contains the changes.
FullDocument FullDocument
// contains filtered or unexported fields
}
Specific configuration settings for a DocumentDB event source.
type DurableConfig ¶ added in v1.85.0
type DurableConfig struct {
// The maximum time (in seconds) that a durable execution can run before timing
// out. This timeout applies to the entire durable execution, not individual
// function invocations.
ExecutionTimeout *int32
// The number of days to retain execution history after a durable execution
// completes. After this period, execution history is no longer available through
// the GetDurableExecutionHistory API.
RetentionPeriodInDays *int32
// contains filtered or unexported fields
}
Configuration settings for durable functions, including execution timeout and retention period for execution history.
type DurableExecutionAlreadyStartedException ¶ added in v1.85.0
type DurableExecutionAlreadyStartedException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The durable execution with the specified name has already been started. Each durable execution name must be unique within the function. Use a different name or check the status of the existing execution.
func (*DurableExecutionAlreadyStartedException) Error ¶ added in v1.85.0
func (e *DurableExecutionAlreadyStartedException) Error() string
func (*DurableExecutionAlreadyStartedException) ErrorCode ¶ added in v1.85.0
func (e *DurableExecutionAlreadyStartedException) ErrorCode() string
func (*DurableExecutionAlreadyStartedException) ErrorFault ¶ added in v1.85.0
func (e *DurableExecutionAlreadyStartedException) ErrorFault() smithy.ErrorFault
func (*DurableExecutionAlreadyStartedException) ErrorMessage ¶ added in v1.85.0
func (e *DurableExecutionAlreadyStartedException) ErrorMessage() string
type EC2AccessDeniedException ¶
type EC2AccessDeniedException struct {
Message *string
ErrorCodeOverride *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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the 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
ErrorCodeOverride *string
Type *string
EC2ErrorCode *string
// contains filtered or unexported fields
}
Lambda received an unexpected Amazon 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
ErrorCodeOverride *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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The Lambda 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The Lambda 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The Lambda function made 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.
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 ¶ added in v0.31.0
type EndPointType string
const (
EndPointTypeKafkaBootstrapServers EndPointType = "KAFKA_BOOTSTRAP_SERVERS"
)
Enum values for EndPointType
func (EndPointType) Values ¶ added in v0.31.0
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].
//
// [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. Omitted from CloudTrail logs.
Variables map[string]string
// contains filtered or unexported fields
}
The results of an operation to update or read environment variables. If the operation succeeds, the response contains the environment variables. If it fails, the response contains details about the error.
type EphemeralStorage ¶ added in v1.21.0
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 10,240 MB. For more information, see Configuring ephemeral storage (console).
type ErrorObject ¶ added in v1.85.0
type ErrorObject struct {
// Machine-readable error data.
ErrorData *string
// A human-readable error message.
ErrorMessage *string
// The error type.
ErrorType *string
// Stack trace information for the error.
StackTrace []string
// contains filtered or unexported fields
}
An object that contains error information.
type Event ¶ added in v1.85.0
type Event struct {
// Contains details about a failed callback operation, including error information
// and the reason for failure.
CallbackFailedDetails *CallbackFailedDetails
// Contains details about a callback operation that has started, including timing
// information and callback metadata.
CallbackStartedDetails *CallbackStartedDetails
// Contains details about a successfully completed callback operation, including
// the result data and completion timestamp.
CallbackSucceededDetails *CallbackSucceededDetails
// Contains details about a callback operation that timed out, including timeout
// duration and any partial results.
CallbackTimedOutDetails *CallbackTimedOutDetails
// Contains details about a failed chained function invocation, including error
// information and failure reason.
ChainedInvokeFailedDetails *ChainedInvokeFailedDetails
// Contains details about a chained function invocation that has started
// execution, including start time and execution context.
ChainedInvokeStartedDetails *ChainedInvokeStartedDetails
// Details about a chained invocation that was stopped.
ChainedInvokeStoppedDetails *ChainedInvokeStoppedDetails
// Details about a chained invocation that succeeded.
ChainedInvokeSucceededDetails *ChainedInvokeSucceededDetails
// Details about a chained invocation that timed out.
ChainedInvokeTimedOutDetails *ChainedInvokeTimedOutDetails
// Details about a context that failed.
ContextFailedDetails *ContextFailedDetails
// Details about a context that started.
ContextStartedDetails *ContextStartedDetails
// Details about a context that succeeded.
ContextSucceededDetails *ContextSucceededDetails
// The unique identifier for this event. Event IDs increment sequentially.
EventId *int32
// The date and time when this event occurred, in [ISO-8601 format] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
EventTimestamp *time.Time
// The type of event that occurred.
EventType EventType
// Details about an execution that failed.
ExecutionFailedDetails *ExecutionFailedDetails
// Details about an execution that started.
ExecutionStartedDetails *ExecutionStartedDetails
// Details about an execution that was stopped.
ExecutionStoppedDetails *ExecutionStoppedDetails
// Details about an execution that succeeded.
ExecutionSucceededDetails *ExecutionSucceededDetails
// Details about an execution that timed out.
ExecutionTimedOutDetails *ExecutionTimedOutDetails
// The unique identifier for this operation.
Id *string
// Details about a function invocation that completed.
InvocationCompletedDetails *InvocationCompletedDetails
// The customer-provided name for this operation.
Name *string
// The unique identifier of the parent operation, if this operation is running
// within a child context.
ParentId *string
// Details about a step that failed.
StepFailedDetails *StepFailedDetails
// Details about a step that started.
StepStartedDetails *StepStartedDetails
// Details about a step that succeeded.
StepSucceededDetails *StepSucceededDetails
// The subtype of the event, providing additional categorization.
SubType *string
// Details about a wait operation that was cancelled.
WaitCancelledDetails *WaitCancelledDetails
// Details about a wait operation that started.
WaitStartedDetails *WaitStartedDetails
// Details about a wait operation that succeeded.
WaitSucceededDetails *WaitSucceededDetails
// contains filtered or unexported fields
}
An event that occurred during the execution of a durable function.
type EventError ¶ added in v1.85.0
type EventError struct {
// The error payload.
Payload *ErrorObject
// Indicates if the error payload was truncated due to size limits.
Truncated *bool
// contains filtered or unexported fields
}
Error information for an event.
type EventInput ¶ added in v1.85.0
type EventInput struct {
// The input payload.
Payload *string
// Indicates if the error payload was truncated due to size limits.
Truncated *bool
// contains filtered or unexported fields
}
Input information for an event.
type EventResult ¶ added in v1.85.0
type EventResult struct {
// The result payload.
Payload *string
// Indicates if the error payload was truncated due to size limits.
Truncated *bool
// contains filtered or unexported fields
}
Result information for an event.
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
// (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) If the
// function returns an error, split the batch in two and retry. The default value
// is false.
BisectBatchOnFunctionError *bool
// (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) A
// configuration object that specifies the destination of an event after Lambda
// processes it.
DestinationConfig *DestinationConfig
// Specific configuration settings for a DocumentDB event source.
DocumentDBEventSourceConfig *DocumentDBEventSourceConfig
// The Amazon Resource Name (ARN) of the event source.
EventSourceArn *string
// The Amazon Resource Name (ARN) of the event source mapping.
EventSourceMappingArn *string
// An object that defines the filter criteria that determine whether Lambda should
// process an event. For more information, see [Lambda event filtering].
//
// If filter criteria is encrypted, this field shows up as null in the response of
// ListEventSourceMapping API calls. You can view this field in plaintext in the
// response of GetEventSourceMapping and DeleteEventSourceMapping calls if you have
// kms:Decrypt permissions for the correct KMS key.
//
// [Lambda event filtering]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html
FilterCriteria *FilterCriteria
// An object that contains details about an error related to filter criteria
// encryption.
FilterCriteriaError *FilterCriteriaError
// The ARN of the Lambda function.
FunctionArn *string
// (Kinesis, DynamoDB Streams, Amazon MSK, self-managed Apache Kafka, and Amazon
// SQS) A list of current response type enums applied to the event source mapping.
FunctionResponseTypes []FunctionResponseType
// The ARN of the Key Management Service (KMS) customer managed key that Lambda
// uses to encrypt your function's [filter criteria].
//
// [filter criteria]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-basics
KMSKeyArn *string
// The date that the event source mapping was last updated or that its state
// changed.
LastModified *time.Time
// The result of the event source mapping's last processing attempt.
LastProcessingResult *string
// The maximum amount of time, in seconds, that Lambda spends gathering records
// before invoking the function. You can configure MaximumBatchingWindowInSeconds
// to any value from 0 seconds to 300 seconds in increments of seconds.
//
// For streams and Amazon SQS event sources, the default batching window is 0
// seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB
// event sources, the default batching window is 500 ms. Note that because you can
// only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot
// revert back to the 500 ms default batching window after you have changed it. To
// restore the default batching window, you must create a new event source mapping.
//
// Related setting: For streams and Amazon SQS event sources, when you set
// BatchSize to a value greater than 10, you must set
// MaximumBatchingWindowInSeconds to at least 1.
MaximumBatchingWindowInSeconds *int32
// (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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.
//
// The minimum valid value for maximum record age is 60s. Although values less
// than 60 and greater than -1 fall within the parameter's absolute range, they are
// not allowed
MaximumRecordAgeInSeconds *int32
// (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka) 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
// The metrics configuration for your event source. For more information, see [Event source mapping metrics].
//
// [Event source mapping metrics]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
MetricsConfig *EventSourceMappingMetricsConfig
// (Kinesis and DynamoDB Streams only) The number of batches to process
// concurrently from each shard. The default value is 1.
ParallelizationFactor *int32
// (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned
// mode configuration for the event source. For more information, see [provisioned mode].
//
// [provisioned mode]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode
ProvisionedPollerConfig *ProvisionedPollerConfig
// (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
Queues []string
// (Amazon SQS only) The scaling configuration for the event source. For more
// information, see [Configuring maximum concurrency for Amazon SQS event sources].
//
// [Configuring maximum concurrency for Amazon SQS event sources]: https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency
ScalingConfig *ScalingConfig
// 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 and Amazon DynamoDB Stream event sources. AT_TIMESTAMP is supported
// only for Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed
// Apache Kafka.
StartingPosition EventSourcePosition
// With StartingPosition set to AT_TIMESTAMP , the time from which to start
// reading. StartingPositionTimestamp cannot be in the future.
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
// (Kinesis and DynamoDB Streams only) The duration in seconds of a processing
// window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds
// indicates no tumbling window.
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 EventSourceMappingMetric ¶ added in v1.68.0
type EventSourceMappingMetric string
const (
EventSourceMappingMetricEventCount EventSourceMappingMetric = "EventCount"
)
Enum values for EventSourceMappingMetric
func (EventSourceMappingMetric) Values ¶ added in v1.68.0
func (EventSourceMappingMetric) Values() []EventSourceMappingMetric
Values returns all known values for EventSourceMappingMetric. 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 EventSourceMappingMetricsConfig ¶ added in v1.68.0
type EventSourceMappingMetricsConfig struct {
// The metrics you want your event source mapping to produce. Include EventCount
// to receive event source mapping metrics related to the number of events
// processed by your event source mapping. For more information about these
// metrics, see [Event source mapping metrics].
//
// [Event source mapping metrics]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
Metrics []EventSourceMappingMetric
// contains filtered or unexported fields
}
The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.
type EventSourcePosition ¶
type EventSourcePosition string
const ( EventSourcePositionTrimHorizon EventSourcePosition = "TRIM_HORIZON" EventSourcePositionLatest EventSourcePosition = "LATEST" EventSourcePositionAtTimestamp EventSourcePosition = "AT_TIMESTAMP" )
Enum values for EventSourcePosition
func (EventSourcePosition) Values ¶ added in v0.29.0
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 EventType ¶ added in v1.85.0
type EventType string
const ( EventTypeExecutionStarted EventType = "ExecutionStarted" EventTypeExecutionSucceeded EventType = "ExecutionSucceeded" EventTypeExecutionFailed EventType = "ExecutionFailed" EventTypeExecutionTimedOut EventType = "ExecutionTimedOut" EventTypeExecutionStopped EventType = "ExecutionStopped" EventTypeContextStarted EventType = "ContextStarted" EventTypeContextSucceeded EventType = "ContextSucceeded" EventTypeContextFailed EventType = "ContextFailed" EventTypeWaitStarted EventType = "WaitStarted" EventTypeWaitSucceeded EventType = "WaitSucceeded" EventTypeWaitCancelled EventType = "WaitCancelled" EventTypeStepStarted EventType = "StepStarted" EventTypeStepSucceeded EventType = "StepSucceeded" EventTypeStepFailed EventType = "StepFailed" EventTypeChainedInvokeStarted EventType = "ChainedInvokeStarted" EventTypeChainedInvokeSucceeded EventType = "ChainedInvokeSucceeded" EventTypeChainedInvokeFailed EventType = "ChainedInvokeFailed" EventTypeChainedInvokeTimedOut EventType = "ChainedInvokeTimedOut" EventTypeChainedInvokeStopped EventType = "ChainedInvokeStopped" EventTypeCallbackStarted EventType = "CallbackStarted" EventTypeCallbackSucceeded EventType = "CallbackSucceeded" EventTypeCallbackFailed EventType = "CallbackFailed" EventTypeCallbackTimedOut EventType = "CallbackTimedOut" EventTypeInvocationCompleted EventType = "InvocationCompleted" )
Enum values for EventType
type Execution ¶ added in v1.85.0
type Execution struct {
// The Amazon Resource Name (ARN) of the durable execution, if this execution is a
// durable execution.
//
// This member is required.
DurableExecutionArn *string
// The unique name of the durable execution, if one was provided when the
// execution was started.
//
// This member is required.
DurableExecutionName *string
// The Amazon Resource Name (ARN) of the Lambda function.
//
// This member is required.
FunctionArn *string
// The date and time when the durable execution started, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
StartTimestamp *time.Time
// The current status of the durable execution.
//
// This member is required.
Status ExecutionStatus
// The date and time when the durable execution ended, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
EndTimestamp *time.Time
// contains filtered or unexported fields
}
Information about a durable execution.
type ExecutionDetails ¶ added in v1.85.0
type ExecutionDetails struct {
// The original input payload provided for the durable execution.
InputPayload *string
// contains filtered or unexported fields
}
Details about a durable execution.
type ExecutionFailedDetails ¶ added in v1.85.0
type ExecutionFailedDetails struct {
// Details about the execution failure.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Details about a failed durable execution.
type ExecutionStartedDetails ¶ added in v1.85.0
type ExecutionStartedDetails struct {
// The maximum amount of time that the durable execution is allowed to run, in
// seconds.
//
// This member is required.
ExecutionTimeout *int32
// The input payload provided for the durable execution.
//
// This member is required.
Input *EventInput
// contains filtered or unexported fields
}
Details about a durable execution that started.
type ExecutionStatus ¶ added in v1.85.0
type ExecutionStatus string
const ( ExecutionStatusRunning ExecutionStatus = "RUNNING" ExecutionStatusSucceeded ExecutionStatus = "SUCCEEDED" ExecutionStatusFailed ExecutionStatus = "FAILED" ExecutionStatusTimedOut ExecutionStatus = "TIMED_OUT" ExecutionStatusStopped ExecutionStatus = "STOPPED" )
Enum values for ExecutionStatus
func (ExecutionStatus) Values ¶ added in v1.85.0
func (ExecutionStatus) Values() []ExecutionStatus
Values returns all known values for ExecutionStatus. 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 ExecutionStoppedDetails ¶ added in v1.85.0
type ExecutionStoppedDetails struct {
// Details about why the execution stopped.
//
// This member is required.
Error *EventError
// contains filtered or unexported fields
}
Details about a durable execution that stopped.
type ExecutionSucceededDetails ¶ added in v1.85.0
type ExecutionSucceededDetails struct {
// The response payload from the successful operation.
//
// This member is required.
Result *EventResult
// contains filtered or unexported fields
}
Details about a durable execution that succeeded.
type ExecutionTimedOutDetails ¶ added in v1.85.0
type ExecutionTimedOutDetails struct {
// Details about the execution timeout.
Error *EventError
// contains filtered or unexported fields
}
Details about a durable execution that timed out.
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.
type Filter ¶ added in v1.14.0
type Filter struct {
// A filter pattern. For more information on the syntax of a filter pattern, see [Filter rule syntax]
// .
//
// [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 ¶ added in v1.14.0
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 FilterCriteriaError ¶ added in v1.58.0
type FilterCriteriaError struct {
// The KMS exception that resulted from filter criteria encryption or decryption.
ErrorCode *string
// The error message.
Message *string
// contains filtered or unexported fields
}
An object that contains details about an error related to filter criteria encryption.
type FullDocument ¶ added in v1.30.0
type FullDocument string
const ( FullDocumentUpdateLookup FullDocument = "UpdateLookup" FullDocumentDefault FullDocument = "Default" )
Enum values for FullDocument
func (FullDocument) Values ¶ added in v1.30.0
func (FullDocument) Values() []FullDocument
Values returns all known values for FullDocument. 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 FunctionCode ¶
type FunctionCode struct {
// URI of a [container image] in the Amazon ECR registry.
//
// [container image]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html
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 ARN of the Key Management Service (KMS) customer managed key that's used to
// encrypt your function's .zip deployment package. If you don't provide a customer
// managed key, Lambda uses an [Amazon Web Services owned key].
//
// [Amazon Web Services owned key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
SourceKMSKeyArn *string
// The base64-encoded contents of the deployment package. Amazon Web Services SDK
// and CLI clients handle the encoding for you.
ZipFile []byte
// contains filtered or unexported fields
}
The code for the Lambda function. You can either specify 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
// The ARN of the Key Management Service (KMS) customer managed key that's used to
// encrypt your function's .zip deployment package. If you don't provide a customer
// managed key, Lambda uses an [Amazon Web Services owned key].
//
// [Amazon Web Services owned key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
SourceKMSKeyArn *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
// Configuration for the capacity provider that manages compute resources for
// Lambda functions.
CapacityProviderConfig *CapacityProviderConfig
// The SHA256 hash of the function's deployment package.
CodeSha256 *string
// The size of the function's deployment package, in bytes.
CodeSize int64
// The SHA256 hash of the function configuration.
ConfigSha256 *string
// The function's dead letter queue.
DeadLetterConfig *DeadLetterConfig
// The function's description.
Description *string
// The function's durable execution configuration settings, if the function is
// configured for durability.
DurableConfig *DurableConfig
// The function's [environment variables]. Omitted from CloudTrail logs.
//
// [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 10,240 MB. For more information, see [Configuring ephemeral storage (console)].
//
// [Configuring ephemeral storage (console)]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage
EphemeralStorage *EphemeralStorage
// Connection settings for an [Amazon EFS file system].
//
// [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 running your function.
Handler *string
// The function's image configuration values.
ImageConfigResponse *ImageConfigResponse
// The ARN of the Key Management Service (KMS) customer managed key that's used to
// encrypt the following resources:
//
// - The function's [environment variables].
//
// - The function's [Lambda SnapStart]snapshots.
//
// - When used with SourceKMSKeyArn , the unzipped version of the .zip deployment
// package that's used for function invocations. For more information, see [Specifying a customer managed key for Lambda].
//
// - The optimized version of the container image that's used for function
// invocations. Note that this is not the same key that's used to protect your
// container image in the Amazon Elastic Container Registry (Amazon ECR). For more
// information, see [Function lifecycle].
//
// If you don't provide a customer managed key, Lambda uses an [Amazon Web Services owned key] or an [Amazon Web Services managed key].
//
// [Amazon Web Services owned key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk
// [Specifying a customer managed key for Lambda]: https://docs.aws.amazon.com/lambda/latest/dg/encrypt-zip-package.html#enable-zip-custom-encryption
// [Lambda SnapStart]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html
// [environment variables]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption
// [Function lifecycle]: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-lifecycle
// [Amazon Web Services managed key]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
KMSKeyArn *string
// The date and time that the function was last updated, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
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].
//
// [layers]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
Layers []Layer
// The function's Amazon CloudWatch Logs configuration settings.
LoggingConfig *LoggingConfig
// 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 identifier of the function's [runtime]. Runtime is required if the deployment
// package is a .zip file archive. Specifying a runtime results in an error if
// you're deploying a function using a container image.
//
// The following list includes deprecated runtimes. Lambda blocks creating new
// functions and updating existing functions shortly after each runtime is
// deprecated. For more information, see [Runtime use after deprecation].
//
// For a list of all currently supported runtimes, see [Supported runtimes].
//
// [Runtime use after deprecation]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
// [runtime]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
// [Supported runtimes]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
Runtime Runtime
// The ARN of the runtime and any errors that occured.
RuntimeVersionConfig *RuntimeVersionConfig
// The ARN of the signing job.
SigningJobArn *string
// The ARN of the signing profile version.
SigningProfileVersionArn *string
// Set ApplyOn to PublishedVersions to create a snapshot of the initialized
// execution environment when you publish a function version. For more information,
// see [Improving startup performance with Lambda SnapStart].
//
// [Improving startup performance with Lambda SnapStart]: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html
SnapStart *SnapStartResponse
// 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 function's tenant isolation configuration settings. Determines whether the
// Lambda function runs on a shared or dedicated infrastructure per unique tenant.
TenancyConfig *TenancyConfig
// 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 a standard SQS queue.
//
// - Bucket - The ARN of an Amazon S3 bucket.
//
// - Topic - The ARN of a standard SNS topic.
//
// - Event Bus - The ARN of an Amazon EventBridge event bus.
//
// S3 buckets are supported only for on-failure destinations. To retain records of
// successful invocations, use another destination type.
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 ¶ added in v0.31.0
type FunctionResponseType string
const (
FunctionResponseTypeReportBatchItemFailures FunctionResponseType = "ReportBatchItemFailures"
)
Enum values for FunctionResponseType
func (FunctionResponseType) Values ¶ added in v0.31.0
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 FunctionScalingConfig ¶ added in v1.84.0
type FunctionScalingConfig struct {
// The maximum number of execution environments that can be provisioned for the
// function.
MaxExecutionEnvironments *int32
// The minimum number of execution environments to maintain for the function.
MinExecutionEnvironments *int32
// contains filtered or unexported fields
}
Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.
type FunctionUrlAuthType ¶ added in v1.22.0
type FunctionUrlAuthType string
const ( FunctionUrlAuthTypeNone FunctionUrlAuthType = "NONE" FunctionUrlAuthTypeAwsIam FunctionUrlAuthType = "AWS_IAM" )
Enum values for FunctionUrlAuthType
func (FunctionUrlAuthType) Values ¶ added in v1.22.0
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 ¶ added in v1.13.0
type FunctionUrlConfig struct {
// The type of authentication that your function URL uses. Set to AWS_IAM if you
// want to restrict access to authenticated 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].
//
// [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] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// 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]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
LastModifiedTime *string
// The [cross-origin resource sharing (CORS)] settings for your function URL.
//
// [cross-origin resource sharing (CORS)]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
Cors *Cors
// Use one of the following options:
//
// - BUFFERED – This is the default option. Lambda invokes your function using
// the Invoke API operation. Invocation results are available when the payload is
// complete. The maximum payload size is 6 MB.
//
// - RESPONSE_STREAM – Your function streams payload results as they become
// available. Lambda invokes your function using the InvokeWithResponseStream API
// operation. The maximum response payload size is 200 MB.
InvokeMode InvokeMode
// 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 ¶ added in v0.29.0
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 FunctionVersionLatestPublished ¶ added in v1.84.0
type FunctionVersionLatestPublished string
const (
FunctionVersionLatestPublishedLatestPublished FunctionVersionLatestPublished = "LATEST_PUBLISHED"
)
Enum values for FunctionVersionLatestPublished
func (FunctionVersionLatestPublished) Values ¶ added in v1.84.0
func (FunctionVersionLatestPublished) Values() []FunctionVersionLatestPublished
Values returns all known values for FunctionVersionLatestPublished. 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 FunctionVersionsByCapacityProviderListItem ¶ added in v1.84.0
type FunctionVersionsByCapacityProviderListItem struct {
// The Amazon Resource Name (ARN) of the function version.
//
// This member is required.
FunctionArn *string
// The current state of the function version.
//
// This member is required.
State State
// contains filtered or unexported fields
}
Information about a function version that uses a specific capacity provider, including its ARN and current state.
type FunctionVersionsPerCapacityProviderLimitExceededException ¶ added in v1.84.0
type FunctionVersionsPerCapacityProviderLimitExceededException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The maximum number of function versions that can be associated with a single capacity provider has been exceeded. For more information, see Lambda quotas.
func (*FunctionVersionsPerCapacityProviderLimitExceededException) Error ¶ added in v1.84.0
func (e *FunctionVersionsPerCapacityProviderLimitExceededException) Error() string
func (*FunctionVersionsPerCapacityProviderLimitExceededException) ErrorCode ¶ added in v1.84.0
func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorCode() string
func (*FunctionVersionsPerCapacityProviderLimitExceededException) ErrorFault ¶ added in v1.84.0
func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorFault() smithy.ErrorFault
func (*FunctionVersionsPerCapacityProviderLimitExceededException) ErrorMessage ¶ added in v1.84.0
func (e *FunctionVersionsPerCapacityProviderLimitExceededException) ErrorMessage() string
type ImageConfig ¶ added in v0.31.0
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. For more information, see Container image settings.
type ImageConfigError ¶ added in v0.31.0
type ImageConfigError struct {
// Error code.
ErrorCode *string
// Error message.
Message *string
// contains filtered or unexported fields
}
Error response to GetFunctionConfiguration .
type ImageConfigResponse ¶ added in v0.31.0
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 a GetFunctionConfiguration request.
type InstanceRequirements ¶ added in v1.84.0
type InstanceRequirements struct {
// A list of EC2 instance types that the capacity provider is allowed to use. If
// not specified, all compatible instance types are allowed.
AllowedInstanceTypes []string
// A list of supported CPU architectures for compute instances. Valid values
// include x86_64 and arm64 .
Architectures []Architecture
// A list of EC2 instance types that the capacity provider should not use, even if
// they meet other requirements.
ExcludedInstanceTypes []string
// contains filtered or unexported fields
}
Specifications that define the characteristics and constraints for compute instances used by the capacity provider.
type InvalidCodeSignatureException ¶ added in v0.31.0
type InvalidCodeSignatureException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.
func (*InvalidCodeSignatureException) Error ¶ added in v0.31.0
func (e *InvalidCodeSignatureException) Error() string
func (*InvalidCodeSignatureException) ErrorCode ¶ added in v0.31.0
func (e *InvalidCodeSignatureException) ErrorCode() string
func (*InvalidCodeSignatureException) ErrorFault ¶ added in v0.31.0
func (e *InvalidCodeSignatureException) ErrorFault() smithy.ErrorFault
func (*InvalidCodeSignatureException) ErrorMessage ¶ added in v0.31.0
func (e *InvalidCodeSignatureException) ErrorMessage() string
type InvalidParameterValueException ¶
type InvalidParameterValueException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
One of the parameters in the request is not valid.
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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The request body could not be parsed as JSON, or a request header is invalid. For example, the 'x-amzn-RequestId' header is not a valid UUID string.
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
ErrorCodeOverride *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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The security group ID provided in the Lambda function VPC configuration is not valid.
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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The subnet ID provided in the Lambda function VPC configuration is not valid.
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
ErrorCodeOverride *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 InvocationCompletedDetails ¶ added in v1.85.0
type InvocationCompletedDetails struct {
// The date and time when the invocation ended, in [ISO-8601 format] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
EndTimestamp *time.Time
// The request ID for the invocation.
//
// This member is required.
RequestId *string
// The date and time when the invocation started, in [ISO-8601 format] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
StartTimestamp *time.Time
// Details about the invocation failure.
Error *EventError
// contains filtered or unexported fields
}
Details about a function invocation that completed.
type InvocationType ¶
type InvocationType string
const ( InvocationTypeEvent InvocationType = "Event" InvocationTypeRequestResponse InvocationType = "RequestResponse" InvocationTypeDryRun InvocationType = "DryRun" )
Enum values for InvocationType
func (InvocationType) Values ¶ added in v0.29.0
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 InvokeMode ¶ added in v1.31.0
type InvokeMode string
const ( InvokeModeBuffered InvokeMode = "BUFFERED" InvokeModeResponseStream InvokeMode = "RESPONSE_STREAM" )
Enum values for InvokeMode
func (InvokeMode) Values ¶ added in v1.31.0
func (InvokeMode) Values() []InvokeMode
Values returns all known values for InvokeMode. 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 InvokeResponseStreamUpdate ¶ added in v1.31.0
type InvokeResponseStreamUpdate struct {
// Data returned by your Lambda function.
Payload []byte
// contains filtered or unexported fields
}
A chunk of the streamed response payload.
type InvokeWithResponseStreamCompleteEvent ¶ added in v1.31.0
type InvokeWithResponseStreamCompleteEvent struct {
// An error code.
ErrorCode *string
// The details of any returned error.
ErrorDetails *string
// The last 4 KB of the execution log, which is base64-encoded.
LogResult *string
// contains filtered or unexported fields
}
A response confirming that the event stream is complete.
type InvokeWithResponseStreamResponseEvent ¶ added in v1.31.0
type InvokeWithResponseStreamResponseEvent interface {
// contains filtered or unexported methods
}
An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a InvokeComplete object.
The following types satisfy this interface:
InvokeWithResponseStreamResponseEventMemberInvokeComplete InvokeWithResponseStreamResponseEventMemberPayloadChunk
Example (OutputUsage) ¶
// Code generated by smithy-go-codegen DO NOT EDIT.
package main
import (
"fmt"
"github.com/aws/aws-sdk-go-v2/service/lambda/types"
)
func main() {
var union types.InvokeWithResponseStreamResponseEvent
// type switches can be used to check the union value
switch v := union.(type) {
case *types.InvokeWithResponseStreamResponseEventMemberInvokeComplete:
_ = v.Value // Value is types.InvokeWithResponseStreamCompleteEvent
case *types.InvokeWithResponseStreamResponseEventMemberPayloadChunk:
_ = v.Value // Value is types.InvokeResponseStreamUpdate
case *types.UnknownUnionMember:
fmt.Println("unknown tag:", v.Tag)
default:
fmt.Println("union is nil or unknown type")
}
}
var _ *types.InvokeWithResponseStreamCompleteEvent
var _ *types.InvokeResponseStreamUpdate
type InvokeWithResponseStreamResponseEventMemberInvokeComplete ¶ added in v1.31.0
type InvokeWithResponseStreamResponseEventMemberInvokeComplete struct {
Value InvokeWithResponseStreamCompleteEvent
// contains filtered or unexported fields
}
An object that's returned when the stream has ended and all the payload chunks have been returned.
type InvokeWithResponseStreamResponseEventMemberPayloadChunk ¶ added in v1.31.0
type InvokeWithResponseStreamResponseEventMemberPayloadChunk struct {
Value InvokeResponseStreamUpdate
// contains filtered or unexported fields
}
A chunk of the streamed response payload.
type KMSAccessDeniedException ¶
type KMSAccessDeniedException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't 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 KafkaSchemaRegistryAccessConfig ¶ added in v1.72.0
type KafkaSchemaRegistryAccessConfig struct {
// The type of authentication Lambda uses to access your schema registry.
Type KafkaSchemaRegistryAuthType
// The URI of the secret (Secrets Manager secret ARN) to authenticate with your
// schema registry.
URI *string
// contains filtered or unexported fields
}
Specific access configuration settings that tell Lambda how to authenticate with your schema registry.
If you're working with an Glue schema registry, don't provide authentication details in this object. Instead, ensure that your execution role has the required permissions for Lambda to access your cluster.
If you're working with a Confluent schema registry, choose the authentication method in the Type field, and provide the Secrets Manager secret ARN in the URI field.
type KafkaSchemaRegistryAuthType ¶ added in v1.72.0
type KafkaSchemaRegistryAuthType string
const ( KafkaSchemaRegistryAuthTypeBasicAuth KafkaSchemaRegistryAuthType = "BASIC_AUTH" KafkaSchemaRegistryAuthTypeClientCertificateTlsAuth KafkaSchemaRegistryAuthType = "CLIENT_CERTIFICATE_TLS_AUTH" KafkaSchemaRegistryAuthTypeServerRootCaCertificate KafkaSchemaRegistryAuthType = "SERVER_ROOT_CA_CERTIFICATE" )
Enum values for KafkaSchemaRegistryAuthType
func (KafkaSchemaRegistryAuthType) Values ¶ added in v1.72.0
func (KafkaSchemaRegistryAuthType) Values() []KafkaSchemaRegistryAuthType
Values returns all known values for KafkaSchemaRegistryAuthType. 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 KafkaSchemaRegistryConfig ¶ added in v1.72.0
type KafkaSchemaRegistryConfig struct {
// An array of access configuration objects that tell Lambda how to authenticate
// with your schema registry.
AccessConfigs []KafkaSchemaRegistryAccessConfig
// The record format that Lambda delivers to your function after schema validation.
//
// - Choose JSON to have Lambda deliver the record to your function as a standard
// JSON object.
//
// - Choose SOURCE to have Lambda deliver the record to your function in its
// original source format. Lambda removes all schema metadata, such as the schema
// ID, before sending the record to your function.
EventRecordFormat SchemaRegistryEventRecordFormat
// The URI for your schema registry. The correct URI format depends on the type of
// schema registry you're using.
//
// - For Glue schema registries, use the ARN of the registry.
//
// - For Confluent schema registries, use the URL of the registry.
SchemaRegistryURI *string
// An array of schema validation configuration objects, which tell Lambda the
// message attributes you want to validate and filter using your schema registry.
SchemaValidationConfigs []KafkaSchemaValidationConfig
// contains filtered or unexported fields
}
Specific configuration settings for a Kafka schema registry.
type KafkaSchemaValidationAttribute ¶ added in v1.72.0
type KafkaSchemaValidationAttribute string
const ( KafkaSchemaValidationAttributeKey KafkaSchemaValidationAttribute = "KEY" KafkaSchemaValidationAttributeValue KafkaSchemaValidationAttribute = "VALUE" )
Enum values for KafkaSchemaValidationAttribute
func (KafkaSchemaValidationAttribute) Values ¶ added in v1.72.0
func (KafkaSchemaValidationAttribute) Values() []KafkaSchemaValidationAttribute
Values returns all known values for KafkaSchemaValidationAttribute. 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 KafkaSchemaValidationConfig ¶ added in v1.72.0
type KafkaSchemaValidationConfig struct {
// The attributes you want your schema registry to validate and filter for. If
// you selected JSON as the EventRecordFormat , Lambda also deserializes the
// selected message attributes.
Attribute KafkaSchemaValidationAttribute
// contains filtered or unexported fields
}
Specific schema validation configuration settings that tell Lambda the message attributes you want to validate and filter using your schema registry.
type LambdaManagedInstancesCapacityProviderConfig ¶ added in v1.84.0
type LambdaManagedInstancesCapacityProviderConfig struct {
// The Amazon Resource Name (ARN) of the capacity provider.
//
// This member is required.
CapacityProviderArn *string
// The amount of memory in GiB allocated per vCPU for execution environments.
ExecutionEnvironmentMemoryGiBPerVCpu *float64
// The maximum number of concurrent execution environments that can run on each
// compute instance.
PerExecutionEnvironmentMaxConcurrency *int32
// contains filtered or unexported fields
}
Configuration for Lambda-managed instances used by the capacity provider.
type LastUpdateStatus ¶
type LastUpdateStatus string
const ( LastUpdateStatusSuccessful LastUpdateStatus = "Successful" LastUpdateStatusFailed LastUpdateStatus = "Failed" LastUpdateStatusInProgress LastUpdateStatus = "InProgress" )
Enum values for LastUpdateStatus
func (LastUpdateStatus) Values ¶ added in v0.29.0
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" LastUpdateStatusReasonCodeKMSKeyAccessDenied LastUpdateStatusReasonCode = "KMSKeyAccessDenied" LastUpdateStatusReasonCodeKMSKeyNotFound LastUpdateStatusReasonCode = "KMSKeyNotFound" LastUpdateStatusReasonCodeInvalidStateKMSKey LastUpdateStatusReasonCode = "InvalidStateKMSKey" LastUpdateStatusReasonCodeDisabledKMSKey LastUpdateStatusReasonCode = "DisabledKMSKey" LastUpdateStatusReasonCodeEFSIOError LastUpdateStatusReasonCode = "EFSIOError" LastUpdateStatusReasonCodeEFSMountConnectivityError LastUpdateStatusReasonCode = "EFSMountConnectivityError" LastUpdateStatusReasonCodeEFSMountFailure LastUpdateStatusReasonCode = "EFSMountFailure" LastUpdateStatusReasonCodeEFSMountTimeout LastUpdateStatusReasonCode = "EFSMountTimeout" LastUpdateStatusReasonCodeInvalidRuntime LastUpdateStatusReasonCode = "InvalidRuntime" LastUpdateStatusReasonCodeInvalidZipFileException LastUpdateStatusReasonCode = "InvalidZipFileException" LastUpdateStatusReasonCodeFunctionError LastUpdateStatusReasonCode = "FunctionError" LastUpdateStatusReasonCodeVcpuLimitExceeded LastUpdateStatusReasonCode = "VcpuLimitExceeded" LastUpdateStatusReasonCodeCapacityProviderScalingLimitExceeded LastUpdateStatusReasonCode = "CapacityProviderScalingLimitExceeded" LastUpdateStatusReasonCodeInsufficientCapacity LastUpdateStatusReasonCode = "InsufficientCapacity" LastUpdateStatusReasonCodeEC2RequestLimitExceeded LastUpdateStatusReasonCode = "EC2RequestLimitExceeded" LastUpdateStatusReasonCodeFunctionErrorInitTimeout LastUpdateStatusReasonCode = "FunctionError.InitTimeout" LastUpdateStatusReasonCodeFunctionErrorRuntimeInitError LastUpdateStatusReasonCode = "FunctionError.RuntimeInitError" LastUpdateStatusReasonCodeFunctionErrorExtensionInitError LastUpdateStatusReasonCode = "FunctionError.ExtensionInitError" LastUpdateStatusReasonCodeFunctionErrorInvalidEntryPoint LastUpdateStatusReasonCode = "FunctionError.InvalidEntryPoint" LastUpdateStatusReasonCodeFunctionErrorInvalidWorkingDirectory LastUpdateStatusReasonCode = "FunctionError.InvalidWorkingDirectory" LastUpdateStatusReasonCodeFunctionErrorPermissionDenied LastUpdateStatusReasonCode = "FunctionError.PermissionDenied" LastUpdateStatusReasonCodeFunctionErrorTooManyExtensions LastUpdateStatusReasonCode = "FunctionError.TooManyExtensions" LastUpdateStatusReasonCodeFunctionErrorInitResourceExhausted LastUpdateStatusReasonCode = "FunctionError.InitResourceExhausted" )
Enum values for LastUpdateStatusReasonCode
func (LastUpdateStatusReasonCode) Values ¶ added in v0.29.0
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.
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. 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.
type LayerVersionsListItem ¶
type LayerVersionsListItem struct {
// A list of compatible [instruction set architectures].
//
// [instruction set architectures]: https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html
CompatibleArchitectures []Architecture
// The layer's compatible runtimes.
//
// The following list includes deprecated runtimes. For more information, see [Runtime use after deprecation].
//
// For a list of all currently supported runtimes, see [Supported runtimes].
//
// [Runtime use after deprecation]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels
// [Supported runtimes]: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported
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.
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.
type LoggingConfig ¶ added in v1.48.0
type LoggingConfig struct {
// Set this property to filter the application logs for your function that Lambda
// sends to CloudWatch. Lambda only sends application logs at the selected level of
// detail and lower, where TRACE is the highest level and FATAL is the lowest.
ApplicationLogLevel ApplicationLogLevel
// The format in which Lambda sends your function's application and system logs to
// CloudWatch. Select between plain text and structured JSON.
LogFormat LogFormat
// The name of the Amazon CloudWatch log group the function sends logs to. By
// default, Lambda functions send logs to a default log group named
// /aws/lambda/<function name> . To use a different log group, enter an existing
// log group or enter a new log group name.
LogGroup *string
// Set this property to filter the system logs for your function that Lambda sends
// to CloudWatch. Lambda only sends system logs at the selected level of detail and
// lower, where DEBUG is the highest level and WARN is the lowest.
SystemLogLevel SystemLogLevel
// contains filtered or unexported fields
}
The function's Amazon CloudWatch Logs configuration settings.
type NoPublishedVersionException ¶ added in v1.84.0
type NoPublishedVersionException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The function has no published versions available.
func (*NoPublishedVersionException) Error ¶ added in v1.84.0
func (e *NoPublishedVersionException) Error() string
func (*NoPublishedVersionException) ErrorCode ¶ added in v1.84.0
func (e *NoPublishedVersionException) ErrorCode() string
func (*NoPublishedVersionException) ErrorFault ¶ added in v1.84.0
func (e *NoPublishedVersionException) ErrorFault() smithy.ErrorFault
func (*NoPublishedVersionException) ErrorMessage ¶ added in v1.84.0
func (e *NoPublishedVersionException) ErrorMessage() string
type OnFailure ¶
type OnFailure struct {
// The Amazon Resource Name (ARN) of the destination resource.
//
// To retain records of failed invocations from [Kinesis], [DynamoDB], [self-managed Apache Kafka], or [Amazon MSK], you can configure an
// Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the
// destination.
//
// Amazon SNS destinations have a message size limit of 256 KB. If the combined
// size of the function request and response payload exceeds the limit, Lambda will
// drop the payload when sending OnFailure event to the destination. For details
// on this behavior, refer to [Retaining records of asynchronous invocations].
//
// To retain records of failed invocations from [Kinesis], [DynamoDB], [self-managed Kafka] or [Amazon MSK], you can configure an
// Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket as the destination.
//
// [Amazon MSK]: https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination
// [Retaining records of asynchronous invocations]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
// [Kinesis]: https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html
// [DynamoDB]: https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
// [self-managed Apache Kafka]: https://docs.aws.amazon.com/lambda/latest/dg/kafka-on-failure.html
// [self-managed Kafka]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination
Destination *string
// contains filtered or unexported fields
}
A destination for events that failed processing. For more information, see Adding a destination.
type OnSuccess ¶
type OnSuccess struct {
// The Amazon Resource Name (ARN) of the destination resource.
//
// Amazon SNS destinations have a message size limit of 256 KB. If the combined
// size of the function request and response payload exceeds the limit, Lambda will
// drop the payload when sending OnFailure event to the destination. For details
// on this behavior, refer to [Retaining records of asynchronous invocations].
//
// [Retaining records of asynchronous invocations]: https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html
Destination *string
// contains filtered or unexported fields
}
A destination for events that were processed successfully.
To retain records of successful asynchronous invocations, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.
OnSuccess is not supported in CreateEventSourceMapping or UpdateEventSourceMapping requests.
type Operation ¶ added in v1.85.0
type Operation struct {
// The unique identifier for this operation.
//
// This member is required.
Id *string
// The date and time when the operation started, in [ISO-8601 format] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
StartTimestamp *time.Time
// The current status of the operation.
//
// This member is required.
Status OperationStatus
// The type of operation.
//
// This member is required.
Type OperationType
// Contains details about a callback operation in a durable execution, including
// the callback token and timeout configuration.
CallbackDetails *CallbackDetails
// Contains details about a chained function invocation in a durable execution,
// including the target function and invocation parameters.
ChainedInvokeDetails *ChainedInvokeDetails
// Details about the context, if this operation represents a context.
ContextDetails *ContextDetails
// The date and time when the operation ended, in [ISO-8601 format] (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
EndTimestamp *time.Time
// Details about the execution, if this operation represents an execution.
ExecutionDetails *ExecutionDetails
// The customer-provided name for this operation.
Name *string
// The unique identifier of the parent operation, if this operation is running
// within a child context.
ParentId *string
// Details about the step, if this operation represents a step.
StepDetails *StepDetails
// The subtype of the operation, providing additional categorization.
SubType *string
// Details about the wait operation, if this operation represents a wait.
WaitDetails *WaitDetails
// contains filtered or unexported fields
}
Information about an operation within a durable execution.
type OperationAction ¶ added in v1.85.0
type OperationAction string
const ( OperationActionStart OperationAction = "START" OperationActionSucceed OperationAction = "SUCCEED" OperationActionFail OperationAction = "FAIL" OperationActionRetry OperationAction = "RETRY" OperationActionCancel OperationAction = "CANCEL" )
Enum values for OperationAction
func (OperationAction) Values ¶ added in v1.85.0
func (OperationAction) Values() []OperationAction
Values returns all known values for OperationAction. 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 OperationStatus ¶ added in v1.85.0
type OperationStatus string
const ( OperationStatusStarted OperationStatus = "STARTED" OperationStatusPending OperationStatus = "PENDING" OperationStatusReady OperationStatus = "READY" OperationStatusSucceeded OperationStatus = "SUCCEEDED" OperationStatusFailed OperationStatus = "FAILED" OperationStatusCancelled OperationStatus = "CANCELLED" OperationStatusTimedOut OperationStatus = "TIMED_OUT" OperationStatusStopped OperationStatus = "STOPPED" )
Enum values for OperationStatus
func (OperationStatus) Values ¶ added in v1.85.0
func (OperationStatus) Values() []OperationStatus
Values returns all known values for OperationStatus. 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 OperationType ¶ added in v1.85.0
type OperationType string
const ( OperationTypeExecution OperationType = "EXECUTION" OperationTypeContext OperationType = "CONTEXT" OperationTypeStep OperationType = "STEP" OperationTypeWait OperationType = "WAIT" OperationTypeCallback OperationType = "CALLBACK" OperationTypeChainedInvoke OperationType = "CHAINED_INVOKE" )
Enum values for OperationType
func (OperationType) Values ¶ added in v1.85.0
func (OperationType) Values() []OperationType
Values returns all known values for OperationType. 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 OperationUpdate ¶ added in v1.85.0
type OperationUpdate struct {
// The action to take on the operation.
//
// This member is required.
Action OperationAction
// The unique identifier for this operation.
//
// This member is required.
Id *string
// The type of operation to update.
//
// This member is required.
Type OperationType
// Configuration options for callback operations in durable executions, including
// timeout settings and retry behavior.
CallbackOptions *CallbackOptions
// Configuration options for chained function invocations in durable executions,
// including retry settings and timeout configuration.
ChainedInvokeOptions *ChainedInvokeOptions
// Options for context operations.
ContextOptions *ContextOptions
// The error information for failed operations.
Error *ErrorObject
// The customer-provided name for this operation.
Name *string
// The unique identifier of the parent operation, if this operation is running
// within a child context.
ParentId *string
// The payload for successful operations.
Payload *string
// Options for step operations.
StepOptions *StepOptions
// The subtype of the operation, providing additional categorization.
SubType *string
// Options for wait operations.
WaitOptions *WaitOptions
// contains filtered or unexported fields
}
An update to be applied to an operation during checkpointing.
type PackageType ¶ added in v0.31.0
type PackageType string
const ( PackageTypeZip PackageType = "Zip" PackageTypeImage PackageType = "Image" )
Enum values for PackageType
func (PackageType) Values ¶ added in v0.31.0
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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The permissions policy for the resource is too large. For more information, see Lambda quotas .
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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.
For AddPermission and RemovePermission API operations: Call GetPolicy to retrieve the latest RevisionId for your resource.
For all other API operations: Call GetFunction or GetAlias 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. When a weighted alias is used
// during linear and canary deployments, this value fluctuates depending on the
// amount of concurrency that is provisioned for the function versions.
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].
//
// [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
ErrorCodeOverride *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 ¶ added in v0.29.0
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 ProvisionedPollerConfig ¶ added in v1.69.0
type ProvisionedPollerConfig struct {
// The maximum number of event pollers this event source can scale up to. For
// Amazon SQS events source mappings, default is 200, and minimum value allowed is
// 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default
// is 200, and minimum value allowed is 1.
MaximumPollers *int32
// The minimum number of event pollers this event source can scale down to. For
// Amazon SQS events source mappings, default is 2, and minimum 2 required. For
// Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
MinimumPollers *int32
// (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller
// group. Use this option to group multiple ESMs within the event source's VPC to
// share Event Poller Unit (EPU) capacity. You can use this option to optimize
// Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller
// group and aggregate maximum pollers across all ESMs in a group cannot exceed
// 2000.
PollerGroupName *string
// contains filtered or unexported fields
}
The provisioned mode configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers for your event source.
type RecursiveInvocationException ¶ added in v1.36.0
type RecursiveInvocationException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.
func (*RecursiveInvocationException) Error ¶ added in v1.36.0
func (e *RecursiveInvocationException) Error() string
func (*RecursiveInvocationException) ErrorCode ¶ added in v1.36.0
func (e *RecursiveInvocationException) ErrorCode() string
func (*RecursiveInvocationException) ErrorFault ¶ added in v1.36.0
func (e *RecursiveInvocationException) ErrorFault() smithy.ErrorFault
func (*RecursiveInvocationException) ErrorMessage ¶ added in v1.36.0
func (e *RecursiveInvocationException) ErrorMessage() string
type RecursiveLoop ¶ added in v1.57.0
type RecursiveLoop string
const ( RecursiveLoopAllow RecursiveLoop = "Allow" RecursiveLoopTerminate RecursiveLoop = "Terminate" )
Enum values for RecursiveLoop
func (RecursiveLoop) Values ¶ added in v1.57.0
func (RecursiveLoop) Values() []RecursiveLoop
Values returns all known values for RecursiveLoop. 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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas.
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
ErrorCodeOverride *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
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.
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
ErrorCodeOverride *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
ErrorCodeOverride *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 ResponseStreamingInvocationType ¶ added in v1.31.0
type ResponseStreamingInvocationType string
const ( ResponseStreamingInvocationTypeRequestResponse ResponseStreamingInvocationType = "RequestResponse" ResponseStreamingInvocationTypeDryRun ResponseStreamingInvocationType = "DryRun" )
Enum values for ResponseStreamingInvocationType
func (ResponseStreamingInvocationType) Values ¶ added in v1.31.0
func (ResponseStreamingInvocationType) Values() []ResponseStreamingInvocationType
Values returns all known values for ResponseStreamingInvocationType. 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 RetryDetails ¶ added in v1.85.0
type RetryDetails struct {
// The current attempt number for this operation.
CurrentAttempt int32
// The delay before the next retry attempt, in seconds.
NextAttemptDelaySeconds *int32
// contains filtered or unexported fields
}
Information about retry attempts for an operation.
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" RuntimeDotnet8 Runtime = "dotnet8" RuntimeNodejs43edge Runtime = "nodejs4.3-edge" RuntimeGo1x Runtime = "go1.x" RuntimeRuby25 Runtime = "ruby2.5" RuntimeRuby27 Runtime = "ruby2.7" RuntimeProvided Runtime = "provided" RuntimeProvidedal2 Runtime = "provided.al2" RuntimeNodejs18x Runtime = "nodejs18.x" RuntimePython310 Runtime = "python3.10" RuntimeJava17 Runtime = "java17" RuntimeRuby32 Runtime = "ruby3.2" RuntimeRuby33 Runtime = "ruby3.3" RuntimeRuby34 Runtime = "ruby3.4" RuntimePython311 Runtime = "python3.11" RuntimeNodejs20x Runtime = "nodejs20.x" RuntimeProvidedal2023 Runtime = "provided.al2023" RuntimePython312 Runtime = "python3.12" RuntimeJava21 Runtime = "java21" RuntimePython313 Runtime = "python3.13" RuntimeNodejs22x Runtime = "nodejs22.x" RuntimeNodejs24x Runtime = "nodejs24.x" RuntimePython314 Runtime = "python3.14" RuntimeJava25 Runtime = "java25" )
Enum values for Runtime
type RuntimeVersionConfig ¶ added in v1.29.0
type RuntimeVersionConfig struct {
// Error response when Lambda is unable to retrieve the runtime version for a
// function.
Error *RuntimeVersionError
// The ARN of the runtime version you want the function to use.
RuntimeVersionArn *string
// contains filtered or unexported fields
}
The ARN of the runtime and any errors that occured.
type RuntimeVersionError ¶ added in v1.29.0
type RuntimeVersionError struct {
// The error code.
ErrorCode *string
// The error message.
Message *string
// contains filtered or unexported fields
}
Any error returned when the runtime version information for the function could not be retrieved.
type ScalingConfig ¶ added in v1.28.0
type ScalingConfig struct {
// Limits the number of concurrent instances that the Amazon SQS event source can
// invoke.
MaximumConcurrency *int32
// contains filtered or unexported fields
}
(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.
type SchemaRegistryEventRecordFormat ¶ added in v1.72.0
type SchemaRegistryEventRecordFormat string
const ( SchemaRegistryEventRecordFormatJson SchemaRegistryEventRecordFormat = "JSON" SchemaRegistryEventRecordFormatSource SchemaRegistryEventRecordFormat = "SOURCE" )
Enum values for SchemaRegistryEventRecordFormat
func (SchemaRegistryEventRecordFormat) Values ¶ added in v1.72.0
func (SchemaRegistryEventRecordFormat) Values() []SchemaRegistryEventRecordFormat
Values returns all known values for SchemaRegistryEventRecordFormat. 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 ¶ added in v0.31.0
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 ¶ added in v1.24.0
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 [Customizable consumer group ID].
//
// [Customizable consumer group ID]: https://docs.aws.amazon.com/lambda/latest/dg/with-kafka-process.html#services-smaa-topic-add
ConsumerGroupId *string
// Specific configuration settings for a Kafka schema registry.
SchemaRegistryConfig *KafkaSchemaRegistryConfig
// contains filtered or unexported fields
}
Specific configuration settings for a self-managed Apache Kafka event source.
type SerializedRequestEntityTooLargeException ¶ added in v1.80.0
type SerializedRequestEntityTooLargeException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The request payload exceeded the maximum allowed size for serialized request entities.
func (*SerializedRequestEntityTooLargeException) Error ¶ added in v1.80.0
func (e *SerializedRequestEntityTooLargeException) Error() string
func (*SerializedRequestEntityTooLargeException) ErrorCode ¶ added in v1.80.0
func (e *SerializedRequestEntityTooLargeException) ErrorCode() string
func (*SerializedRequestEntityTooLargeException) ErrorFault ¶ added in v1.80.0
func (e *SerializedRequestEntityTooLargeException) ErrorFault() smithy.ErrorFault
func (*SerializedRequestEntityTooLargeException) ErrorMessage ¶ added in v1.80.0
func (e *SerializedRequestEntityTooLargeException) ErrorMessage() string
type ServiceException ¶
type ServiceException struct {
Message *string
ErrorCodeOverride *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 SnapStart ¶ added in v1.26.0
type SnapStart struct {
// Set to PublishedVersions to create a snapshot of the initialized execution
// environment when you publish a function version.
ApplyOn SnapStartApplyOn
// contains filtered or unexported fields
}
The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.
type SnapStartApplyOn ¶ added in v1.26.0
type SnapStartApplyOn string
const ( SnapStartApplyOnPublishedVersions SnapStartApplyOn = "PublishedVersions" SnapStartApplyOnNone SnapStartApplyOn = "None" )
Enum values for SnapStartApplyOn
func (SnapStartApplyOn) Values ¶ added in v1.26.0
func (SnapStartApplyOn) Values() []SnapStartApplyOn
Values returns all known values for SnapStartApplyOn. 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 SnapStartException ¶ added in v1.26.0
type SnapStartException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
The afterRestore()runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.
func (*SnapStartException) Error ¶ added in v1.26.0
func (e *SnapStartException) Error() string
func (*SnapStartException) ErrorCode ¶ added in v1.26.0
func (e *SnapStartException) ErrorCode() string
func (*SnapStartException) ErrorFault ¶ added in v1.26.0
func (e *SnapStartException) ErrorFault() smithy.ErrorFault
func (*SnapStartException) ErrorMessage ¶ added in v1.26.0
func (e *SnapStartException) ErrorMessage() string
type SnapStartNotReadyException ¶ added in v1.26.0
type SnapStartNotReadyException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda is initializing your function. You can invoke the function when the function state becomes Active .
func (*SnapStartNotReadyException) Error ¶ added in v1.26.0
func (e *SnapStartNotReadyException) Error() string
func (*SnapStartNotReadyException) ErrorCode ¶ added in v1.26.0
func (e *SnapStartNotReadyException) ErrorCode() string
func (*SnapStartNotReadyException) ErrorFault ¶ added in v1.26.0
func (e *SnapStartNotReadyException) ErrorFault() smithy.ErrorFault
func (*SnapStartNotReadyException) ErrorMessage ¶ added in v1.26.0
func (e *SnapStartNotReadyException) ErrorMessage() string
type SnapStartOptimizationStatus ¶ added in v1.26.0
type SnapStartOptimizationStatus string
const ( SnapStartOptimizationStatusOn SnapStartOptimizationStatus = "On" SnapStartOptimizationStatusOff SnapStartOptimizationStatus = "Off" )
Enum values for SnapStartOptimizationStatus
func (SnapStartOptimizationStatus) Values ¶ added in v1.26.0
func (SnapStartOptimizationStatus) Values() []SnapStartOptimizationStatus
Values returns all known values for SnapStartOptimizationStatus. 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 SnapStartResponse ¶ added in v1.26.0
type SnapStartResponse struct {
// When set to PublishedVersions , Lambda creates a snapshot of the execution
// environment when you publish a function version.
ApplyOn SnapStartApplyOn
// When you provide a [qualified Amazon Resource Name (ARN)], this response element indicates whether SnapStart is
// activated for the specified function version.
//
// [qualified Amazon Resource Name (ARN)]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using
OptimizationStatus SnapStartOptimizationStatus
// contains filtered or unexported fields
}
The function's SnapStart setting.
type SnapStartTimeoutException ¶ added in v1.26.0
type SnapStartTimeoutException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't restore the snapshot within the timeout limit.
func (*SnapStartTimeoutException) Error ¶ added in v1.26.0
func (e *SnapStartTimeoutException) Error() string
func (*SnapStartTimeoutException) ErrorCode ¶ added in v1.26.0
func (e *SnapStartTimeoutException) ErrorCode() string
func (*SnapStartTimeoutException) ErrorFault ¶ added in v1.26.0
func (e *SnapStartTimeoutException) ErrorFault() smithy.ErrorFault
func (*SnapStartTimeoutException) ErrorMessage ¶ added in v1.26.0
func (e *SnapStartTimeoutException) ErrorMessage() string
type SourceAccessConfiguration ¶ added in v0.30.0
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 – (Self-managed Apache Kafka) The subnets associated with your
// VPC. Lambda connects to these subnets to fetch data from your self-managed
// Apache Kafka cluster.
//
// - VPC_SECURITY_GROUP – (Self-managed Apache Kafka) The VPC security group used
// to manage access to your self-managed Apache Kafka brokers.
//
// - SASL_SCRAM_256_AUTH – (Self-managed Apache Kafka) 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 – (Amazon MSK, Self-managed Apache Kafka) The Secrets
// Manager ARN of your secret key used for SASL SCRAM-512 authentication of your
// self-managed Apache Kafka brokers.
//
// - VIRTUAL_HOST –- (RabbitMQ) 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 ¶ added in v0.30.0
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 ¶ added in v0.30.0
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" StateDeactivating State = "Deactivating" StateDeactivated State = "Deactivated" StateActiveNonInvocable State = "ActiveNonInvocable" StateDeleting State = "Deleting" )
Enum values for State
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" StateReasonCodeKMSKeyAccessDenied StateReasonCode = "KMSKeyAccessDenied" StateReasonCodeKMSKeyNotFound StateReasonCode = "KMSKeyNotFound" StateReasonCodeInvalidStateKMSKey StateReasonCode = "InvalidStateKMSKey" StateReasonCodeDisabledKMSKey StateReasonCode = "DisabledKMSKey" StateReasonCodeEFSIOError StateReasonCode = "EFSIOError" StateReasonCodeEFSMountConnectivityError StateReasonCode = "EFSMountConnectivityError" StateReasonCodeEFSMountFailure StateReasonCode = "EFSMountFailure" StateReasonCodeEFSMountTimeout StateReasonCode = "EFSMountTimeout" StateReasonCodeInvalidRuntime StateReasonCode = "InvalidRuntime" StateReasonCodeInvalidZipFileException StateReasonCode = "InvalidZipFileException" StateReasonCodeFunctionError StateReasonCode = "FunctionError" StateReasonCodeDrainingDurableExecutions StateReasonCode = "DrainingDurableExecutions" StateReasonCodeVcpuLimitExceeded StateReasonCode = "VcpuLimitExceeded" StateReasonCodeCapacityProviderScalingLimitExceeded StateReasonCode = "CapacityProviderScalingLimitExceeded" StateReasonCodeInsufficientCapacity StateReasonCode = "InsufficientCapacity" StateReasonCodeEC2RequestLimitExceeded StateReasonCode = "EC2RequestLimitExceeded" StateReasonCodeFunctionErrorInitTimeout StateReasonCode = "FunctionError.InitTimeout" StateReasonCodeFunctionErrorRuntimeInitError StateReasonCode = "FunctionError.RuntimeInitError" StateReasonCodeFunctionErrorExtensionInitError StateReasonCode = "FunctionError.ExtensionInitError" StateReasonCodeFunctionErrorInvalidEntryPoint StateReasonCode = "FunctionError.InvalidEntryPoint" StateReasonCodeFunctionErrorInvalidWorkingDirectory StateReasonCode = "FunctionError.InvalidWorkingDirectory" StateReasonCodeFunctionErrorPermissionDenied StateReasonCode = "FunctionError.PermissionDenied" StateReasonCodeFunctionErrorTooManyExtensions StateReasonCode = "FunctionError.TooManyExtensions" StateReasonCodeFunctionErrorInitResourceExhausted StateReasonCode = "FunctionError.InitResourceExhausted" )
Enum values for StateReasonCode
func (StateReasonCode) Values ¶ added in v0.29.0
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 StepDetails ¶ added in v1.85.0
type StepDetails struct {
// The current attempt number for this step.
Attempt int32
// Details about the step failure.
Error *ErrorObject
// The date and time when the next attempt is scheduled, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
NextAttemptTimestamp *time.Time
// The JSON response payload from the step operation.
Result *string
// contains filtered or unexported fields
}
Details about a step operation.
type StepFailedDetails ¶ added in v1.85.0
type StepFailedDetails struct {
// Details about the step failure.
//
// This member is required.
Error *EventError
// Information about retry attempts for this step operation.
//
// This member is required.
RetryDetails *RetryDetails
// contains filtered or unexported fields
}
Details about a step that failed.
type StepOptions ¶ added in v1.85.0
type StepOptions struct {
// The delay in seconds before the next retry attempt.
NextAttemptDelaySeconds *int32
// contains filtered or unexported fields
}
Configuration options for a step operation.
type StepStartedDetails ¶ added in v1.85.0
type StepStartedDetails struct {
// contains filtered or unexported fields
}
Details about a step that has started.
type StepSucceededDetails ¶ added in v1.85.0
type StepSucceededDetails struct {
// The response payload from the successful operation.
//
// This member is required.
Result *EventResult
// Information about retry attempts for this step operation.
//
// This member is required.
RetryDetails *RetryDetails
// contains filtered or unexported fields
}
Details about a step that succeeded.
type SubnetIPAddressLimitReachedException ¶
type SubnetIPAddressLimitReachedException struct {
Message *string
ErrorCodeOverride *string
Type *string
// contains filtered or unexported fields
}
Lambda couldn't 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 SystemLogLevel ¶ added in v1.48.0
type SystemLogLevel string
const ( SystemLogLevelDebug SystemLogLevel = "DEBUG" SystemLogLevelInfo SystemLogLevel = "INFO" SystemLogLevelWarn SystemLogLevel = "WARN" )
Enum values for SystemLogLevel
func (SystemLogLevel) Values ¶ added in v1.48.0
func (SystemLogLevel) Values() []SystemLogLevel
Values returns all known values for SystemLogLevel. 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 TagsError ¶ added in v1.64.0
type TagsError struct {
// The error code.
//
// This member is required.
ErrorCode *string
// The error message.
//
// This member is required.
Message *string
// contains filtered or unexported fields
}
An object that contains details about an error related to retrieving tags.
type TargetTrackingScalingPolicy ¶ added in v1.84.0
type TargetTrackingScalingPolicy struct {
// The predefined metric type to track for scaling decisions.
//
// This member is required.
PredefinedMetricType CapacityProviderPredefinedMetricType
// The target value for the metric that the scaling policy attempts to maintain
// through scaling actions.
//
// This member is required.
TargetValue *float64
// contains filtered or unexported fields
}
A scaling policy for the capacity provider that automatically adjusts capacity to maintain a target value for a specific metric.
type TenancyConfig ¶ added in v1.82.0
type TenancyConfig struct {
// Tenant isolation mode allows for invocation to be sent to a corresponding
// execution environment dedicated to a specific tenant ID.
//
// This member is required.
TenantIsolationMode TenantIsolationMode
// contains filtered or unexported fields
}
Specifies the tenant isolation mode configuration for a Lambda function. This allows you to configure specific tenant isolation strategies for your function invocations. Tenant isolation configuration cannot be modified after function creation.
type TenantIsolationMode ¶ added in v1.82.0
type TenantIsolationMode string
const (
TenantIsolationModePerTenant TenantIsolationMode = "PER_TENANT"
)
Enum values for TenantIsolationMode
func (TenantIsolationMode) Values ¶ added in v1.82.0
func (TenantIsolationMode) Values() []TenantIsolationMode
Values returns all known values for TenantIsolationMode. 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 ThrottleReason ¶
type ThrottleReason string
const ( ThrottleReasonConcurrentInvocationLimitExceeded ThrottleReason = "ConcurrentInvocationLimitExceeded" ThrottleReasonFunctionInvocationRateLimitExceeded ThrottleReason = "FunctionInvocationRateLimitExceeded" ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded ThrottleReason = "ReservedFunctionConcurrentInvocationLimitExceeded" ThrottleReasonReservedFunctionInvocationRateLimitExceeded ThrottleReason = "ReservedFunctionInvocationRateLimitExceeded" ThrottleReasonCallerRateLimitExceeded ThrottleReason = "CallerRateLimitExceeded" ThrottleReasonConcurrentSnapshotCreateLimitExceeded ThrottleReason = "ConcurrentSnapshotCreateLimitExceeded" )
Enum values for ThrottleReason
func (ThrottleReason) Values ¶ added in v0.29.0
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
ErrorCodeOverride *string
RetryAfterSeconds *string
Type *string
Reason ThrottleReason
// contains filtered or unexported fields
}
The request throughput limit was exceeded. For more information, see Lambda quotas.
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 TraceHeader ¶ added in v1.85.0
type TraceHeader struct {
// The X-Ray trace header associated with the durable execution.
XAmznTraceId *string
// contains filtered or unexported fields
}
Contains trace headers for the Lambda durable execution.
type TracingConfig ¶
type TracingConfig struct {
// The tracing mode.
Mode TracingMode
// contains filtered or unexported fields
}
The function's X-Ray 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 ¶ added in v0.29.0
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 UnknownUnionMember ¶ added in v1.31.0
type UnknownUnionMember struct {
Tag string
Value []byte
// contains filtered or unexported fields
}
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type UnsupportedMediaTypeException ¶
type UnsupportedMediaTypeException struct {
Message *string
ErrorCodeOverride *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 UpdateRuntimeOn ¶ added in v1.29.0
type UpdateRuntimeOn string
const ( UpdateRuntimeOnAuto UpdateRuntimeOn = "Auto" UpdateRuntimeOnManual UpdateRuntimeOn = "Manual" UpdateRuntimeOnFunctionUpdate UpdateRuntimeOn = "FunctionUpdate" )
Enum values for UpdateRuntimeOn
func (UpdateRuntimeOn) Values ¶ added in v1.29.0
func (UpdateRuntimeOn) Values() []UpdateRuntimeOn
Values returns all known values for UpdateRuntimeOn. 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 VpcConfig ¶
type VpcConfig struct {
// Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack
// subnets.
Ipv6AllowedForDualStack *bool
// A list of VPC security group 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 Configuring a Lambda function to access resources in a VPC.
type VpcConfigResponse ¶
type VpcConfigResponse struct {
// Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack
// subnets.
Ipv6AllowedForDualStack *bool
// A list of VPC security group 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.
type WaitCancelledDetails ¶ added in v1.85.0
type WaitCancelledDetails struct {
// Details about why the wait operation was cancelled.
Error *EventError
// contains filtered or unexported fields
}
Details about a wait operation that was cancelled.
type WaitDetails ¶ added in v1.85.0
type WaitDetails struct {
// The date and time when the wait operation is scheduled to complete, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
ScheduledEndTimestamp *time.Time
// contains filtered or unexported fields
}
Details about a wait operation.
type WaitOptions ¶ added in v1.85.0
type WaitOptions struct {
// The duration to wait, in seconds.
WaitSeconds *int32
// contains filtered or unexported fields
}
Specifies how long to pause the durable execution.
type WaitStartedDetails ¶ added in v1.85.0
type WaitStartedDetails struct {
// The duration to wait, in seconds.
//
// This member is required.
Duration *int32
// The date and time when the wait operation is scheduled to complete, in [ISO-8601 format]
// (YYYY-MM-DDThh:mm:ss.sTZD).
//
// [ISO-8601 format]: https://www.w3.org/TR/NOTE-datetime
//
// This member is required.
ScheduledEndTimestamp *time.Time
// contains filtered or unexported fields
}
Details about a wait operation that has started.
type WaitSucceededDetails ¶ added in v1.85.0
type WaitSucceededDetails struct {
// The wait duration, in seconds.
Duration *int32
// contains filtered or unexported fields
}
Details about a wait operation that succeeded.