Documentation ¶
Overview ¶
Package lambda provides the client and types for making API requests to AWS Lambda.
Overview ¶
Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda (https://docs.aws.amazon.com/lambda/latest/dg/welcome.html) in the Lambda Developer Guide.
The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.
You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/lambda-service.html/) in the Amazon Web Services General Reference..
When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) in the Amazon Web Services General Reference..
CA certificates ¶
Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:
Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list.
Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list.
Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list.
Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:
Amazon Root CA 1
Starfield Services Root Certificate Authority - G2
Starfield Class 2 Certification Authority
Root certificates from the first two authorities are available from Amazon trust services (https://www.amazontrust.com/repository/), but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs. (http://aws.amazon.com/certificate-manager/faqs/#certificates)
See https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31 for more information on this service.
See lambda package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/
Using the Client ¶
To contact AWS Lambda with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.
See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/
See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config
See the AWS Lambda client Lambda for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/#New
Index ¶
- Constants
- func ApplicationLogLevel_Values() []string
- func Architecture_Values() []string
- func CodeSigningPolicy_Values() []string
- func EndPointType_Values() []string
- func EventSourcePosition_Values() []string
- func FullDocument_Values() []string
- func FunctionResponseType_Values() []string
- func FunctionUrlAuthType_Values() []string
- func FunctionVersion_Values() []string
- func InvocationType_Values() []string
- func InvokeMode_Values() []string
- func LastUpdateStatusReasonCode_Values() []string
- func LastUpdateStatus_Values() []string
- func LogFormat_Values() []string
- func LogType_Values() []string
- func PackageType_Values() []string
- func ProvisionedConcurrencyStatusEnum_Values() []string
- func ResponseStreamingInvocationType_Values() []string
- func Runtime_Values() []string
- func SnapStartApplyOn_Values() []string
- func SnapStartOptimizationStatus_Values() []string
- func SourceAccessType_Values() []string
- func StateReasonCode_Values() []string
- func State_Values() []string
- func SystemLogLevel_Values() []string
- func ThrottleReason_Values() []string
- func TracingMode_Values() []string
- func UpdateRuntimeOn_Values() []string
- type AccountLimit
- func (s AccountLimit) GoString() string
- func (s *AccountLimit) SetCodeSizeUnzipped(v int64) *AccountLimit
- func (s *AccountLimit) SetCodeSizeZipped(v int64) *AccountLimit
- func (s *AccountLimit) SetConcurrentExecutions(v int64) *AccountLimit
- func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit
- func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit
- func (s AccountLimit) String() string
- type AccountUsage
- type AddLayerVersionPermissionInput
- func (s AddLayerVersionPermissionInput) GoString() string
- func (s *AddLayerVersionPermissionInput) SetAction(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetLayerName(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetOrganizationId(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetPrincipal(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetRevisionId(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetStatementId(v string) *AddLayerVersionPermissionInput
- func (s *AddLayerVersionPermissionInput) SetVersionNumber(v int64) *AddLayerVersionPermissionInput
- func (s AddLayerVersionPermissionInput) String() string
- func (s *AddLayerVersionPermissionInput) Validate() error
- type AddLayerVersionPermissionOutput
- func (s AddLayerVersionPermissionOutput) GoString() string
- func (s *AddLayerVersionPermissionOutput) SetRevisionId(v string) *AddLayerVersionPermissionOutput
- func (s *AddLayerVersionPermissionOutput) SetStatement(v string) *AddLayerVersionPermissionOutput
- func (s AddLayerVersionPermissionOutput) String() string
- type AddPermissionInput
- func (s AddPermissionInput) GoString() string
- func (s *AddPermissionInput) SetAction(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetEventSourceToken(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetFunctionName(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetFunctionUrlAuthType(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetPrincipal(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetPrincipalOrgID(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetQualifier(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetRevisionId(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetSourceAccount(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetSourceArn(v string) *AddPermissionInput
- func (s *AddPermissionInput) SetStatementId(v string) *AddPermissionInput
- func (s AddPermissionInput) String() string
- func (s *AddPermissionInput) Validate() error
- type AddPermissionOutput
- type AliasConfiguration
- func (s AliasConfiguration) GoString() string
- func (s *AliasConfiguration) SetAliasArn(v string) *AliasConfiguration
- func (s *AliasConfiguration) SetDescription(v string) *AliasConfiguration
- func (s *AliasConfiguration) SetFunctionVersion(v string) *AliasConfiguration
- func (s *AliasConfiguration) SetName(v string) *AliasConfiguration
- func (s *AliasConfiguration) SetRevisionId(v string) *AliasConfiguration
- func (s *AliasConfiguration) SetRoutingConfig(v *AliasRoutingConfiguration) *AliasConfiguration
- func (s AliasConfiguration) String() string
- type AliasRoutingConfiguration
- type AllowedPublishers
- type AmazonManagedKafkaEventSourceConfig
- type CodeSigningConfig
- func (s CodeSigningConfig) GoString() string
- func (s *CodeSigningConfig) SetAllowedPublishers(v *AllowedPublishers) *CodeSigningConfig
- func (s *CodeSigningConfig) SetCodeSigningConfigArn(v string) *CodeSigningConfig
- func (s *CodeSigningConfig) SetCodeSigningConfigId(v string) *CodeSigningConfig
- func (s *CodeSigningConfig) SetCodeSigningPolicies(v *CodeSigningPolicies) *CodeSigningConfig
- func (s *CodeSigningConfig) SetDescription(v string) *CodeSigningConfig
- func (s *CodeSigningConfig) SetLastModified(v string) *CodeSigningConfig
- func (s CodeSigningConfig) String() string
- type CodeSigningConfigNotFoundException
- func (s *CodeSigningConfigNotFoundException) Code() string
- func (s *CodeSigningConfigNotFoundException) Error() string
- func (s CodeSigningConfigNotFoundException) GoString() string
- func (s *CodeSigningConfigNotFoundException) Message() string
- func (s *CodeSigningConfigNotFoundException) OrigErr() error
- func (s *CodeSigningConfigNotFoundException) RequestID() string
- func (s *CodeSigningConfigNotFoundException) StatusCode() int
- func (s CodeSigningConfigNotFoundException) String() string
- type CodeSigningPolicies
- type CodeStorageExceededException
- func (s *CodeStorageExceededException) Code() string
- func (s *CodeStorageExceededException) Error() string
- func (s CodeStorageExceededException) GoString() string
- func (s *CodeStorageExceededException) Message() string
- func (s *CodeStorageExceededException) OrigErr() error
- func (s *CodeStorageExceededException) RequestID() string
- func (s *CodeStorageExceededException) StatusCode() int
- func (s CodeStorageExceededException) String() string
- type CodeVerificationFailedException
- func (s *CodeVerificationFailedException) Code() string
- func (s *CodeVerificationFailedException) Error() string
- func (s CodeVerificationFailedException) GoString() string
- func (s *CodeVerificationFailedException) Message() string
- func (s *CodeVerificationFailedException) OrigErr() error
- func (s *CodeVerificationFailedException) RequestID() string
- func (s *CodeVerificationFailedException) StatusCode() int
- func (s CodeVerificationFailedException) String() string
- type Cors
- func (s Cors) GoString() string
- func (s *Cors) SetAllowCredentials(v bool) *Cors
- func (s *Cors) SetAllowHeaders(v []*string) *Cors
- func (s *Cors) SetAllowMethods(v []*string) *Cors
- func (s *Cors) SetAllowOrigins(v []*string) *Cors
- func (s *Cors) SetExposeHeaders(v []*string) *Cors
- func (s *Cors) SetMaxAge(v int64) *Cors
- func (s Cors) String() string
- type CreateAliasInput
- func (s CreateAliasInput) GoString() string
- func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput
- func (s *CreateAliasInput) SetFunctionName(v string) *CreateAliasInput
- func (s *CreateAliasInput) SetFunctionVersion(v string) *CreateAliasInput
- func (s *CreateAliasInput) SetName(v string) *CreateAliasInput
- func (s *CreateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *CreateAliasInput
- func (s CreateAliasInput) String() string
- func (s *CreateAliasInput) Validate() error
- type CreateCodeSigningConfigInput
- func (s CreateCodeSigningConfigInput) GoString() string
- func (s *CreateCodeSigningConfigInput) SetAllowedPublishers(v *AllowedPublishers) *CreateCodeSigningConfigInput
- func (s *CreateCodeSigningConfigInput) SetCodeSigningPolicies(v *CodeSigningPolicies) *CreateCodeSigningConfigInput
- func (s *CreateCodeSigningConfigInput) SetDescription(v string) *CreateCodeSigningConfigInput
- func (s CreateCodeSigningConfigInput) String() string
- func (s *CreateCodeSigningConfigInput) Validate() error
- type CreateCodeSigningConfigOutput
- type CreateEventSourceMappingInput
- func (s CreateEventSourceMappingInput) GoString() string
- func (s *CreateEventSourceMappingInput) SetAmazonManagedKafkaEventSourceConfig(v *AmazonManagedKafkaEventSourceConfig) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetBatchSize(v int64) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetBisectBatchOnFunctionError(v bool) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetDestinationConfig(v *DestinationConfig) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetEnabled(v bool) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetEventSourceArn(v string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetFilterCriteria(v *FilterCriteria) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetFunctionName(v string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetFunctionResponseTypes(v []*string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds(v int64) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetMaximumRecordAgeInSeconds(v int64) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetMaximumRetryAttempts(v int64) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetParallelizationFactor(v int64) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetQueues(v []*string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetSelfManagedEventSource(v *SelfManagedEventSource) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetSelfManagedKafkaEventSourceConfig(v *SelfManagedKafkaEventSourceConfig) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetStartingPosition(v string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetStartingPositionTimestamp(v time.Time) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetTopics(v []*string) *CreateEventSourceMappingInput
- func (s *CreateEventSourceMappingInput) SetTumblingWindowInSeconds(v int64) *CreateEventSourceMappingInput
- func (s CreateEventSourceMappingInput) String() string
- func (s *CreateEventSourceMappingInput) Validate() error
- type CreateFunctionInput
- func (s CreateFunctionInput) GoString() string
- func (s *CreateFunctionInput) SetArchitectures(v []*string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetCode(v *FunctionCode) *CreateFunctionInput
- func (s *CreateFunctionInput) SetCodeSigningConfigArn(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetDeadLetterConfig(v *DeadLetterConfig) *CreateFunctionInput
- func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetEnvironment(v *Environment) *CreateFunctionInput
- func (s *CreateFunctionInput) SetEphemeralStorage(v *EphemeralStorage) *CreateFunctionInput
- func (s *CreateFunctionInput) SetFileSystemConfigs(v []*FileSystemConfig) *CreateFunctionInput
- func (s *CreateFunctionInput) SetFunctionName(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetHandler(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetImageConfig(v *ImageConfig) *CreateFunctionInput
- func (s *CreateFunctionInput) SetKMSKeyArn(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetLayers(v []*string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetLoggingConfig(v *LoggingConfig) *CreateFunctionInput
- func (s *CreateFunctionInput) SetMemorySize(v int64) *CreateFunctionInput
- func (s *CreateFunctionInput) SetPackageType(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetPublish(v bool) *CreateFunctionInput
- func (s *CreateFunctionInput) SetRole(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetRuntime(v string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetSnapStart(v *SnapStart) *CreateFunctionInput
- func (s *CreateFunctionInput) SetTags(v map[string]*string) *CreateFunctionInput
- func (s *CreateFunctionInput) SetTimeout(v int64) *CreateFunctionInput
- func (s *CreateFunctionInput) SetTracingConfig(v *TracingConfig) *CreateFunctionInput
- func (s *CreateFunctionInput) SetVpcConfig(v *VpcConfig) *CreateFunctionInput
- func (s CreateFunctionInput) String() string
- func (s *CreateFunctionInput) Validate() error
- type CreateFunctionUrlConfigInput
- func (s CreateFunctionUrlConfigInput) GoString() string
- func (s *CreateFunctionUrlConfigInput) SetAuthType(v string) *CreateFunctionUrlConfigInput
- func (s *CreateFunctionUrlConfigInput) SetCors(v *Cors) *CreateFunctionUrlConfigInput
- func (s *CreateFunctionUrlConfigInput) SetFunctionName(v string) *CreateFunctionUrlConfigInput
- func (s *CreateFunctionUrlConfigInput) SetInvokeMode(v string) *CreateFunctionUrlConfigInput
- func (s *CreateFunctionUrlConfigInput) SetQualifier(v string) *CreateFunctionUrlConfigInput
- func (s CreateFunctionUrlConfigInput) String() string
- func (s *CreateFunctionUrlConfigInput) Validate() error
- type CreateFunctionUrlConfigOutput
- func (s CreateFunctionUrlConfigOutput) GoString() string
- func (s *CreateFunctionUrlConfigOutput) SetAuthType(v string) *CreateFunctionUrlConfigOutput
- func (s *CreateFunctionUrlConfigOutput) SetCors(v *Cors) *CreateFunctionUrlConfigOutput
- func (s *CreateFunctionUrlConfigOutput) SetCreationTime(v string) *CreateFunctionUrlConfigOutput
- func (s *CreateFunctionUrlConfigOutput) SetFunctionArn(v string) *CreateFunctionUrlConfigOutput
- func (s *CreateFunctionUrlConfigOutput) SetFunctionUrl(v string) *CreateFunctionUrlConfigOutput
- func (s *CreateFunctionUrlConfigOutput) SetInvokeMode(v string) *CreateFunctionUrlConfigOutput
- func (s CreateFunctionUrlConfigOutput) String() string
- type DeadLetterConfig
- type DeleteAliasInput
- type DeleteAliasOutput
- type DeleteCodeSigningConfigInput
- type DeleteCodeSigningConfigOutput
- type DeleteEventSourceMappingInput
- type DeleteFunctionCodeSigningConfigInput
- func (s DeleteFunctionCodeSigningConfigInput) GoString() string
- func (s *DeleteFunctionCodeSigningConfigInput) SetFunctionName(v string) *DeleteFunctionCodeSigningConfigInput
- func (s DeleteFunctionCodeSigningConfigInput) String() string
- func (s *DeleteFunctionCodeSigningConfigInput) Validate() error
- type DeleteFunctionCodeSigningConfigOutput
- type DeleteFunctionConcurrencyInput
- type DeleteFunctionConcurrencyOutput
- type DeleteFunctionEventInvokeConfigInput
- func (s DeleteFunctionEventInvokeConfigInput) GoString() string
- func (s *DeleteFunctionEventInvokeConfigInput) SetFunctionName(v string) *DeleteFunctionEventInvokeConfigInput
- func (s *DeleteFunctionEventInvokeConfigInput) SetQualifier(v string) *DeleteFunctionEventInvokeConfigInput
- func (s DeleteFunctionEventInvokeConfigInput) String() string
- func (s *DeleteFunctionEventInvokeConfigInput) Validate() error
- type DeleteFunctionEventInvokeConfigOutput
- type DeleteFunctionInput
- type DeleteFunctionOutput
- type DeleteFunctionUrlConfigInput
- func (s DeleteFunctionUrlConfigInput) GoString() string
- func (s *DeleteFunctionUrlConfigInput) SetFunctionName(v string) *DeleteFunctionUrlConfigInput
- func (s *DeleteFunctionUrlConfigInput) SetQualifier(v string) *DeleteFunctionUrlConfigInput
- func (s DeleteFunctionUrlConfigInput) String() string
- func (s *DeleteFunctionUrlConfigInput) Validate() error
- type DeleteFunctionUrlConfigOutput
- type DeleteLayerVersionInput
- func (s DeleteLayerVersionInput) GoString() string
- func (s *DeleteLayerVersionInput) SetLayerName(v string) *DeleteLayerVersionInput
- func (s *DeleteLayerVersionInput) SetVersionNumber(v int64) *DeleteLayerVersionInput
- func (s DeleteLayerVersionInput) String() string
- func (s *DeleteLayerVersionInput) Validate() error
- type DeleteLayerVersionOutput
- type DeleteProvisionedConcurrencyConfigInput
- func (s DeleteProvisionedConcurrencyConfigInput) GoString() string
- func (s *DeleteProvisionedConcurrencyConfigInput) SetFunctionName(v string) *DeleteProvisionedConcurrencyConfigInput
- func (s *DeleteProvisionedConcurrencyConfigInput) SetQualifier(v string) *DeleteProvisionedConcurrencyConfigInput
- func (s DeleteProvisionedConcurrencyConfigInput) String() string
- func (s *DeleteProvisionedConcurrencyConfigInput) Validate() error
- type DeleteProvisionedConcurrencyConfigOutput
- type DestinationConfig
- type DocumentDBEventSourceConfig
- func (s DocumentDBEventSourceConfig) GoString() string
- func (s *DocumentDBEventSourceConfig) SetCollectionName(v string) *DocumentDBEventSourceConfig
- func (s *DocumentDBEventSourceConfig) SetDatabaseName(v string) *DocumentDBEventSourceConfig
- func (s *DocumentDBEventSourceConfig) SetFullDocument(v string) *DocumentDBEventSourceConfig
- func (s DocumentDBEventSourceConfig) String() string
- func (s *DocumentDBEventSourceConfig) Validate() error
- type EC2AccessDeniedException
- func (s *EC2AccessDeniedException) Code() string
- func (s *EC2AccessDeniedException) Error() string
- func (s EC2AccessDeniedException) GoString() string
- func (s *EC2AccessDeniedException) Message() string
- func (s *EC2AccessDeniedException) OrigErr() error
- func (s *EC2AccessDeniedException) RequestID() string
- func (s *EC2AccessDeniedException) StatusCode() int
- func (s EC2AccessDeniedException) String() string
- type EC2ThrottledException
- func (s *EC2ThrottledException) Code() string
- func (s *EC2ThrottledException) Error() string
- func (s EC2ThrottledException) GoString() string
- func (s *EC2ThrottledException) Message() string
- func (s *EC2ThrottledException) OrigErr() error
- func (s *EC2ThrottledException) RequestID() string
- func (s *EC2ThrottledException) StatusCode() int
- func (s EC2ThrottledException) String() string
- type EC2UnexpectedException
- func (s *EC2UnexpectedException) Code() string
- func (s *EC2UnexpectedException) Error() string
- func (s EC2UnexpectedException) GoString() string
- func (s *EC2UnexpectedException) Message() string
- func (s *EC2UnexpectedException) OrigErr() error
- func (s *EC2UnexpectedException) RequestID() string
- func (s *EC2UnexpectedException) StatusCode() int
- func (s EC2UnexpectedException) String() string
- type EFSIOException
- func (s *EFSIOException) Code() string
- func (s *EFSIOException) Error() string
- func (s EFSIOException) GoString() string
- func (s *EFSIOException) Message() string
- func (s *EFSIOException) OrigErr() error
- func (s *EFSIOException) RequestID() string
- func (s *EFSIOException) StatusCode() int
- func (s EFSIOException) String() string
- type EFSMountConnectivityException
- func (s *EFSMountConnectivityException) Code() string
- func (s *EFSMountConnectivityException) Error() string
- func (s EFSMountConnectivityException) GoString() string
- func (s *EFSMountConnectivityException) Message() string
- func (s *EFSMountConnectivityException) OrigErr() error
- func (s *EFSMountConnectivityException) RequestID() string
- func (s *EFSMountConnectivityException) StatusCode() int
- func (s EFSMountConnectivityException) String() string
- type EFSMountFailureException
- func (s *EFSMountFailureException) Code() string
- func (s *EFSMountFailureException) Error() string
- func (s EFSMountFailureException) GoString() string
- func (s *EFSMountFailureException) Message() string
- func (s *EFSMountFailureException) OrigErr() error
- func (s *EFSMountFailureException) RequestID() string
- func (s *EFSMountFailureException) StatusCode() int
- func (s EFSMountFailureException) String() string
- type EFSMountTimeoutException
- func (s *EFSMountTimeoutException) Code() string
- func (s *EFSMountTimeoutException) Error() string
- func (s EFSMountTimeoutException) GoString() string
- func (s *EFSMountTimeoutException) Message() string
- func (s *EFSMountTimeoutException) OrigErr() error
- func (s *EFSMountTimeoutException) RequestID() string
- func (s *EFSMountTimeoutException) StatusCode() int
- func (s EFSMountTimeoutException) String() string
- type ENILimitReachedException
- func (s *ENILimitReachedException) Code() string
- func (s *ENILimitReachedException) Error() string
- func (s ENILimitReachedException) GoString() string
- func (s *ENILimitReachedException) Message() string
- func (s *ENILimitReachedException) OrigErr() error
- func (s *ENILimitReachedException) RequestID() string
- func (s *ENILimitReachedException) StatusCode() int
- func (s ENILimitReachedException) String() string
- type Environment
- type EnvironmentError
- type EnvironmentResponse
- type EphemeralStorage
- type EventSourceMappingConfiguration
- func (s EventSourceMappingConfiguration) GoString() string
- func (s *EventSourceMappingConfiguration) SetAmazonManagedKafkaEventSourceConfig(v *AmazonManagedKafkaEventSourceConfig) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetBatchSize(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetBisectBatchOnFunctionError(v bool) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetDestinationConfig(v *DestinationConfig) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetEventSourceArn(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetFilterCriteria(v *FilterCriteria) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetFunctionArn(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetFunctionResponseTypes(v []*string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetLastModified(v time.Time) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetLastProcessingResult(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetMaximumBatchingWindowInSeconds(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetMaximumRecordAgeInSeconds(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetMaximumRetryAttempts(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetParallelizationFactor(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetQueues(v []*string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetScalingConfig(v *ScalingConfig) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetSelfManagedEventSource(v *SelfManagedEventSource) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetSelfManagedKafkaEventSourceConfig(v *SelfManagedKafkaEventSourceConfig) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetStartingPosition(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetStartingPositionTimestamp(v time.Time) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetState(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetStateTransitionReason(v string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetTopics(v []*string) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetTumblingWindowInSeconds(v int64) *EventSourceMappingConfiguration
- func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingConfiguration
- func (s EventSourceMappingConfiguration) String() string
- type FileSystemConfig
- type Filter
- type FilterCriteria
- type FunctionCode
- func (s FunctionCode) GoString() string
- func (s *FunctionCode) SetImageUri(v string) *FunctionCode
- func (s *FunctionCode) SetS3Bucket(v string) *FunctionCode
- func (s *FunctionCode) SetS3Key(v string) *FunctionCode
- func (s *FunctionCode) SetS3ObjectVersion(v string) *FunctionCode
- func (s *FunctionCode) SetZipFile(v []byte) *FunctionCode
- func (s FunctionCode) String() string
- func (s *FunctionCode) Validate() error
- type FunctionCodeLocation
- func (s FunctionCodeLocation) GoString() string
- func (s *FunctionCodeLocation) SetImageUri(v string) *FunctionCodeLocation
- func (s *FunctionCodeLocation) SetLocation(v string) *FunctionCodeLocation
- func (s *FunctionCodeLocation) SetRepositoryType(v string) *FunctionCodeLocation
- func (s *FunctionCodeLocation) SetResolvedImageUri(v string) *FunctionCodeLocation
- func (s FunctionCodeLocation) String() string
- type FunctionConfiguration
- func (s FunctionConfiguration) GoString() string
- func (s *FunctionConfiguration) SetArchitectures(v []*string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetCodeSha256(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetCodeSize(v int64) *FunctionConfiguration
- func (s *FunctionConfiguration) SetDeadLetterConfig(v *DeadLetterConfig) *FunctionConfiguration
- func (s *FunctionConfiguration) SetDescription(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetEnvironment(v *EnvironmentResponse) *FunctionConfiguration
- func (s *FunctionConfiguration) SetEphemeralStorage(v *EphemeralStorage) *FunctionConfiguration
- func (s *FunctionConfiguration) SetFileSystemConfigs(v []*FileSystemConfig) *FunctionConfiguration
- func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetFunctionName(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetHandler(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetImageConfigResponse(v *ImageConfigResponse) *FunctionConfiguration
- func (s *FunctionConfiguration) SetKMSKeyArn(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLastModified(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLastUpdateStatus(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLastUpdateStatusReason(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLastUpdateStatusReasonCode(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLayers(v []*Layer) *FunctionConfiguration
- func (s *FunctionConfiguration) SetLoggingConfig(v *LoggingConfig) *FunctionConfiguration
- func (s *FunctionConfiguration) SetMasterArn(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetMemorySize(v int64) *FunctionConfiguration
- func (s *FunctionConfiguration) SetPackageType(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetRevisionId(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetRole(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetRuntime(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetRuntimeVersionConfig(v *RuntimeVersionConfig) *FunctionConfiguration
- func (s *FunctionConfiguration) SetSigningJobArn(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetSigningProfileVersionArn(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetSnapStart(v *SnapStartResponse) *FunctionConfiguration
- func (s *FunctionConfiguration) SetState(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetStateReason(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetStateReasonCode(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetTimeout(v int64) *FunctionConfiguration
- func (s *FunctionConfiguration) SetTracingConfig(v *TracingConfigResponse) *FunctionConfiguration
- func (s *FunctionConfiguration) SetVersion(v string) *FunctionConfiguration
- func (s *FunctionConfiguration) SetVpcConfig(v *VpcConfigResponse) *FunctionConfiguration
- func (s FunctionConfiguration) String() string
- type FunctionEventInvokeConfig
- func (s FunctionEventInvokeConfig) GoString() string
- func (s *FunctionEventInvokeConfig) SetDestinationConfig(v *DestinationConfig) *FunctionEventInvokeConfig
- func (s *FunctionEventInvokeConfig) SetFunctionArn(v string) *FunctionEventInvokeConfig
- func (s *FunctionEventInvokeConfig) SetLastModified(v time.Time) *FunctionEventInvokeConfig
- func (s *FunctionEventInvokeConfig) SetMaximumEventAgeInSeconds(v int64) *FunctionEventInvokeConfig
- func (s *FunctionEventInvokeConfig) SetMaximumRetryAttempts(v int64) *FunctionEventInvokeConfig
- func (s FunctionEventInvokeConfig) String() string
- type FunctionUrlConfig
- func (s FunctionUrlConfig) GoString() string
- func (s *FunctionUrlConfig) SetAuthType(v string) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetCors(v *Cors) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetCreationTime(v string) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetFunctionArn(v string) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetFunctionUrl(v string) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetInvokeMode(v string) *FunctionUrlConfig
- func (s *FunctionUrlConfig) SetLastModifiedTime(v string) *FunctionUrlConfig
- func (s FunctionUrlConfig) String() string
- type GetAccountSettingsInput
- type GetAccountSettingsOutput
- type GetAliasInput
- type GetCodeSigningConfigInput
- type GetCodeSigningConfigOutput
- type GetEventSourceMappingInput
- type GetFunctionCodeSigningConfigInput
- type GetFunctionCodeSigningConfigOutput
- func (s GetFunctionCodeSigningConfigOutput) GoString() string
- func (s *GetFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn(v string) *GetFunctionCodeSigningConfigOutput
- func (s *GetFunctionCodeSigningConfigOutput) SetFunctionName(v string) *GetFunctionCodeSigningConfigOutput
- func (s GetFunctionCodeSigningConfigOutput) String() string
- type GetFunctionConcurrencyInput
- type GetFunctionConcurrencyOutput
- type GetFunctionConfigurationInput
- func (s GetFunctionConfigurationInput) GoString() string
- func (s *GetFunctionConfigurationInput) SetFunctionName(v string) *GetFunctionConfigurationInput
- func (s *GetFunctionConfigurationInput) SetQualifier(v string) *GetFunctionConfigurationInput
- func (s GetFunctionConfigurationInput) String() string
- func (s *GetFunctionConfigurationInput) Validate() error
- type GetFunctionEventInvokeConfigInput
- func (s GetFunctionEventInvokeConfigInput) GoString() string
- func (s *GetFunctionEventInvokeConfigInput) SetFunctionName(v string) *GetFunctionEventInvokeConfigInput
- func (s *GetFunctionEventInvokeConfigInput) SetQualifier(v string) *GetFunctionEventInvokeConfigInput
- func (s GetFunctionEventInvokeConfigInput) String() string
- func (s *GetFunctionEventInvokeConfigInput) Validate() error
- type GetFunctionEventInvokeConfigOutput
- func (s GetFunctionEventInvokeConfigOutput) GoString() string
- func (s *GetFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *GetFunctionEventInvokeConfigOutput
- func (s *GetFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *GetFunctionEventInvokeConfigOutput
- func (s *GetFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *GetFunctionEventInvokeConfigOutput
- func (s *GetFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *GetFunctionEventInvokeConfigOutput
- func (s *GetFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *GetFunctionEventInvokeConfigOutput
- func (s GetFunctionEventInvokeConfigOutput) String() string
- type GetFunctionInput
- type GetFunctionOutput
- func (s GetFunctionOutput) GoString() string
- func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput
- func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput
- func (s *GetFunctionOutput) SetConfiguration(v *FunctionConfiguration) *GetFunctionOutput
- func (s *GetFunctionOutput) SetTags(v map[string]*string) *GetFunctionOutput
- func (s GetFunctionOutput) String() string
- type GetFunctionUrlConfigInput
- func (s GetFunctionUrlConfigInput) GoString() string
- func (s *GetFunctionUrlConfigInput) SetFunctionName(v string) *GetFunctionUrlConfigInput
- func (s *GetFunctionUrlConfigInput) SetQualifier(v string) *GetFunctionUrlConfigInput
- func (s GetFunctionUrlConfigInput) String() string
- func (s *GetFunctionUrlConfigInput) Validate() error
- type GetFunctionUrlConfigOutput
- func (s GetFunctionUrlConfigOutput) GoString() string
- func (s *GetFunctionUrlConfigOutput) SetAuthType(v string) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetCors(v *Cors) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetCreationTime(v string) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetFunctionArn(v string) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetFunctionUrl(v string) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetInvokeMode(v string) *GetFunctionUrlConfigOutput
- func (s *GetFunctionUrlConfigOutput) SetLastModifiedTime(v string) *GetFunctionUrlConfigOutput
- func (s GetFunctionUrlConfigOutput) String() string
- type GetLayerVersionByArnInput
- type GetLayerVersionByArnOutput
- func (s GetLayerVersionByArnOutput) GoString() string
- func (s *GetLayerVersionByArnOutput) SetCompatibleArchitectures(v []*string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetCompatibleRuntimes(v []*string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetContent(v *LayerVersionContentOutput) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetCreatedDate(v string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetDescription(v string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetLayerArn(v string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetLayerVersionArn(v string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetLicenseInfo(v string) *GetLayerVersionByArnOutput
- func (s *GetLayerVersionByArnOutput) SetVersion(v int64) *GetLayerVersionByArnOutput
- func (s GetLayerVersionByArnOutput) String() string
- type GetLayerVersionInput
- type GetLayerVersionOutput
- func (s GetLayerVersionOutput) GoString() string
- func (s *GetLayerVersionOutput) SetCompatibleArchitectures(v []*string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetCompatibleRuntimes(v []*string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetContent(v *LayerVersionContentOutput) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetCreatedDate(v string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetDescription(v string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetLayerArn(v string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetLayerVersionArn(v string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetLicenseInfo(v string) *GetLayerVersionOutput
- func (s *GetLayerVersionOutput) SetVersion(v int64) *GetLayerVersionOutput
- func (s GetLayerVersionOutput) String() string
- type GetLayerVersionPolicyInput
- func (s GetLayerVersionPolicyInput) GoString() string
- func (s *GetLayerVersionPolicyInput) SetLayerName(v string) *GetLayerVersionPolicyInput
- func (s *GetLayerVersionPolicyInput) SetVersionNumber(v int64) *GetLayerVersionPolicyInput
- func (s GetLayerVersionPolicyInput) String() string
- func (s *GetLayerVersionPolicyInput) Validate() error
- type GetLayerVersionPolicyOutput
- type GetPolicyInput
- type GetPolicyOutput
- type GetProvisionedConcurrencyConfigInput
- func (s GetProvisionedConcurrencyConfigInput) GoString() string
- func (s *GetProvisionedConcurrencyConfigInput) SetFunctionName(v string) *GetProvisionedConcurrencyConfigInput
- func (s *GetProvisionedConcurrencyConfigInput) SetQualifier(v string) *GetProvisionedConcurrencyConfigInput
- func (s GetProvisionedConcurrencyConfigInput) String() string
- func (s *GetProvisionedConcurrencyConfigInput) Validate() error
- type GetProvisionedConcurrencyConfigOutput
- func (s GetProvisionedConcurrencyConfigOutput) GoString() string
- func (s *GetProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
- func (s *GetProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
- func (s *GetProvisionedConcurrencyConfigOutput) SetLastModified(v string) *GetProvisionedConcurrencyConfigOutput
- func (s *GetProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
- func (s *GetProvisionedConcurrencyConfigOutput) SetStatus(v string) *GetProvisionedConcurrencyConfigOutput
- func (s *GetProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *GetProvisionedConcurrencyConfigOutput
- func (s GetProvisionedConcurrencyConfigOutput) String() string
- type GetRuntimeManagementConfigInput
- func (s GetRuntimeManagementConfigInput) GoString() string
- func (s *GetRuntimeManagementConfigInput) SetFunctionName(v string) *GetRuntimeManagementConfigInput
- func (s *GetRuntimeManagementConfigInput) SetQualifier(v string) *GetRuntimeManagementConfigInput
- func (s GetRuntimeManagementConfigInput) String() string
- func (s *GetRuntimeManagementConfigInput) Validate() error
- type GetRuntimeManagementConfigOutput
- func (s GetRuntimeManagementConfigOutput) GoString() string
- func (s *GetRuntimeManagementConfigOutput) SetFunctionArn(v string) *GetRuntimeManagementConfigOutput
- func (s *GetRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *GetRuntimeManagementConfigOutput
- func (s *GetRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *GetRuntimeManagementConfigOutput
- func (s GetRuntimeManagementConfigOutput) String() string
- type ImageConfig
- type ImageConfigError
- type ImageConfigResponse
- type InvalidCodeSignatureException
- func (s *InvalidCodeSignatureException) Code() string
- func (s *InvalidCodeSignatureException) Error() string
- func (s InvalidCodeSignatureException) GoString() string
- func (s *InvalidCodeSignatureException) Message() string
- func (s *InvalidCodeSignatureException) OrigErr() error
- func (s *InvalidCodeSignatureException) RequestID() string
- func (s *InvalidCodeSignatureException) StatusCode() int
- func (s InvalidCodeSignatureException) String() string
- type InvalidParameterValueException
- func (s *InvalidParameterValueException) Code() string
- func (s *InvalidParameterValueException) Error() string
- func (s InvalidParameterValueException) GoString() string
- func (s *InvalidParameterValueException) Message() string
- func (s *InvalidParameterValueException) OrigErr() error
- func (s *InvalidParameterValueException) RequestID() string
- func (s *InvalidParameterValueException) StatusCode() int
- func (s InvalidParameterValueException) String() string
- type InvalidRequestContentException
- func (s *InvalidRequestContentException) Code() string
- func (s *InvalidRequestContentException) Error() string
- func (s InvalidRequestContentException) GoString() string
- func (s *InvalidRequestContentException) Message() string
- func (s *InvalidRequestContentException) OrigErr() error
- func (s *InvalidRequestContentException) RequestID() string
- func (s *InvalidRequestContentException) StatusCode() int
- func (s InvalidRequestContentException) String() string
- type InvalidRuntimeException
- func (s *InvalidRuntimeException) Code() string
- func (s *InvalidRuntimeException) Error() string
- func (s InvalidRuntimeException) GoString() string
- func (s *InvalidRuntimeException) Message() string
- func (s *InvalidRuntimeException) OrigErr() error
- func (s *InvalidRuntimeException) RequestID() string
- func (s *InvalidRuntimeException) StatusCode() int
- func (s InvalidRuntimeException) String() string
- type InvalidSecurityGroupIDException
- func (s *InvalidSecurityGroupIDException) Code() string
- func (s *InvalidSecurityGroupIDException) Error() string
- func (s InvalidSecurityGroupIDException) GoString() string
- func (s *InvalidSecurityGroupIDException) Message() string
- func (s *InvalidSecurityGroupIDException) OrigErr() error
- func (s *InvalidSecurityGroupIDException) RequestID() string
- func (s *InvalidSecurityGroupIDException) StatusCode() int
- func (s InvalidSecurityGroupIDException) String() string
- type InvalidSubnetIDException
- func (s *InvalidSubnetIDException) Code() string
- func (s *InvalidSubnetIDException) Error() string
- func (s InvalidSubnetIDException) GoString() string
- func (s *InvalidSubnetIDException) Message() string
- func (s *InvalidSubnetIDException) OrigErr() error
- func (s *InvalidSubnetIDException) RequestID() string
- func (s *InvalidSubnetIDException) StatusCode() int
- func (s InvalidSubnetIDException) String() string
- type InvalidZipFileException
- func (s *InvalidZipFileException) Code() string
- func (s *InvalidZipFileException) Error() string
- func (s InvalidZipFileException) GoString() string
- func (s *InvalidZipFileException) Message() string
- func (s *InvalidZipFileException) OrigErr() error
- func (s *InvalidZipFileException) RequestID() string
- func (s *InvalidZipFileException) StatusCode() int
- func (s InvalidZipFileException) String() string
- type InvokeAsyncInputdeprecated
- type InvokeAsyncOutputdeprecated
- type InvokeInput
- func (s InvokeInput) GoString() string
- func (s *InvokeInput) SetClientContext(v string) *InvokeInput
- func (s *InvokeInput) SetFunctionName(v string) *InvokeInput
- func (s *InvokeInput) SetInvocationType(v string) *InvokeInput
- func (s *InvokeInput) SetLogType(v string) *InvokeInput
- func (s *InvokeInput) SetPayload(v []byte) *InvokeInput
- func (s *InvokeInput) SetQualifier(v string) *InvokeInput
- func (s InvokeInput) String() string
- func (s *InvokeInput) Validate() error
- type InvokeOutput
- func (s InvokeOutput) GoString() string
- func (s *InvokeOutput) SetExecutedVersion(v string) *InvokeOutput
- func (s *InvokeOutput) SetFunctionError(v string) *InvokeOutput
- func (s *InvokeOutput) SetLogResult(v string) *InvokeOutput
- func (s *InvokeOutput) SetPayload(v []byte) *InvokeOutput
- func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput
- func (s InvokeOutput) String() string
- type InvokeResponseStreamUpdate
- func (s InvokeResponseStreamUpdate) GoString() string
- func (s *InvokeResponseStreamUpdate) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *InvokeResponseStreamUpdate) SetPayload(v []byte) *InvokeResponseStreamUpdate
- func (s InvokeResponseStreamUpdate) String() string
- func (s *InvokeResponseStreamUpdate) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type InvokeWithResponseStreamCompleteEvent
- func (s InvokeWithResponseStreamCompleteEvent) GoString() string
- func (s *InvokeWithResponseStreamCompleteEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
- func (s *InvokeWithResponseStreamCompleteEvent) SetErrorCode(v string) *InvokeWithResponseStreamCompleteEvent
- func (s *InvokeWithResponseStreamCompleteEvent) SetErrorDetails(v string) *InvokeWithResponseStreamCompleteEvent
- func (s *InvokeWithResponseStreamCompleteEvent) SetLogResult(v string) *InvokeWithResponseStreamCompleteEvent
- func (s InvokeWithResponseStreamCompleteEvent) String() string
- func (s *InvokeWithResponseStreamCompleteEvent) UnmarshalEvent(payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message) error
- type InvokeWithResponseStreamEventStream
- type InvokeWithResponseStreamInput
- func (s InvokeWithResponseStreamInput) GoString() string
- func (s *InvokeWithResponseStreamInput) SetClientContext(v string) *InvokeWithResponseStreamInput
- func (s *InvokeWithResponseStreamInput) SetFunctionName(v string) *InvokeWithResponseStreamInput
- func (s *InvokeWithResponseStreamInput) SetInvocationType(v string) *InvokeWithResponseStreamInput
- func (s *InvokeWithResponseStreamInput) SetLogType(v string) *InvokeWithResponseStreamInput
- func (s *InvokeWithResponseStreamInput) SetPayload(v []byte) *InvokeWithResponseStreamInput
- func (s *InvokeWithResponseStreamInput) SetQualifier(v string) *InvokeWithResponseStreamInput
- func (s InvokeWithResponseStreamInput) String() string
- func (s *InvokeWithResponseStreamInput) Validate() error
- type InvokeWithResponseStreamOutput
- func (s *InvokeWithResponseStreamOutput) GetStream() *InvokeWithResponseStreamEventStream
- func (s InvokeWithResponseStreamOutput) GoString() string
- func (s *InvokeWithResponseStreamOutput) SetExecutedVersion(v string) *InvokeWithResponseStreamOutput
- func (s *InvokeWithResponseStreamOutput) SetResponseStreamContentType(v string) *InvokeWithResponseStreamOutput
- func (s *InvokeWithResponseStreamOutput) SetStatusCode(v int64) *InvokeWithResponseStreamOutput
- func (s InvokeWithResponseStreamOutput) String() string
- type InvokeWithResponseStreamResponseEventEvent
- type InvokeWithResponseStreamResponseEventReader
- type InvokeWithResponseStreamResponseEventUnknownEvent
- type KMSAccessDeniedException
- func (s *KMSAccessDeniedException) Code() string
- func (s *KMSAccessDeniedException) Error() string
- func (s KMSAccessDeniedException) GoString() string
- func (s *KMSAccessDeniedException) Message() string
- func (s *KMSAccessDeniedException) OrigErr() error
- func (s *KMSAccessDeniedException) RequestID() string
- func (s *KMSAccessDeniedException) StatusCode() int
- func (s KMSAccessDeniedException) String() string
- type KMSDisabledException
- func (s *KMSDisabledException) Code() string
- func (s *KMSDisabledException) Error() string
- func (s KMSDisabledException) GoString() string
- func (s *KMSDisabledException) Message() string
- func (s *KMSDisabledException) OrigErr() error
- func (s *KMSDisabledException) RequestID() string
- func (s *KMSDisabledException) StatusCode() int
- func (s KMSDisabledException) String() string
- type KMSInvalidStateException
- func (s *KMSInvalidStateException) Code() string
- func (s *KMSInvalidStateException) Error() string
- func (s KMSInvalidStateException) GoString() string
- func (s *KMSInvalidStateException) Message() string
- func (s *KMSInvalidStateException) OrigErr() error
- func (s *KMSInvalidStateException) RequestID() string
- func (s *KMSInvalidStateException) StatusCode() int
- func (s KMSInvalidStateException) String() string
- type KMSNotFoundException
- func (s *KMSNotFoundException) Code() string
- func (s *KMSNotFoundException) Error() string
- func (s KMSNotFoundException) GoString() string
- func (s *KMSNotFoundException) Message() string
- func (s *KMSNotFoundException) OrigErr() error
- func (s *KMSNotFoundException) RequestID() string
- func (s *KMSNotFoundException) StatusCode() int
- func (s KMSNotFoundException) String() string
- type Lambda
- func (c *Lambda) AddLayerVersionPermission(input *AddLayerVersionPermissionInput) (*AddLayerVersionPermissionOutput, error)
- func (c *Lambda) AddLayerVersionPermissionRequest(input *AddLayerVersionPermissionInput) (req *request.Request, output *AddLayerVersionPermissionOutput)
- func (c *Lambda) AddLayerVersionPermissionWithContext(ctx aws.Context, input *AddLayerVersionPermissionInput, opts ...request.Option) (*AddLayerVersionPermissionOutput, error)
- func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error)
- func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput)
- func (c *Lambda) AddPermissionWithContext(ctx aws.Context, input *AddPermissionInput, opts ...request.Option) (*AddPermissionOutput, error)
- func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error)
- func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *AliasConfiguration)
- func (c *Lambda) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInput, opts ...request.Option) (*AliasConfiguration, error)
- func (c *Lambda) CreateCodeSigningConfig(input *CreateCodeSigningConfigInput) (*CreateCodeSigningConfigOutput, error)
- func (c *Lambda) CreateCodeSigningConfigRequest(input *CreateCodeSigningConfigInput) (req *request.Request, output *CreateCodeSigningConfigOutput)
- func (c *Lambda) CreateCodeSigningConfigWithContext(ctx aws.Context, input *CreateCodeSigningConfigInput, opts ...request.Option) (*CreateCodeSigningConfigOutput, error)
- func (c *Lambda) CreateEventSourceMapping(input *CreateEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
- func (c *Lambda) CreateEventSourceMappingWithContext(ctx aws.Context, input *CreateEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) CreateFunction(input *CreateFunctionInput) (*FunctionConfiguration, error)
- func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *FunctionConfiguration)
- func (c *Lambda) CreateFunctionUrlConfig(input *CreateFunctionUrlConfigInput) (*CreateFunctionUrlConfigOutput, error)
- func (c *Lambda) CreateFunctionUrlConfigRequest(input *CreateFunctionUrlConfigInput) (req *request.Request, output *CreateFunctionUrlConfigOutput)
- func (c *Lambda) CreateFunctionUrlConfigWithContext(ctx aws.Context, input *CreateFunctionUrlConfigInput, opts ...request.Option) (*CreateFunctionUrlConfigOutput, error)
- func (c *Lambda) CreateFunctionWithContext(ctx aws.Context, input *CreateFunctionInput, opts ...request.Option) (*FunctionConfiguration, error)
- func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error)
- func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput)
- func (c *Lambda) DeleteAliasWithContext(ctx aws.Context, input *DeleteAliasInput, opts ...request.Option) (*DeleteAliasOutput, error)
- func (c *Lambda) DeleteCodeSigningConfig(input *DeleteCodeSigningConfigInput) (*DeleteCodeSigningConfigOutput, error)
- func (c *Lambda) DeleteCodeSigningConfigRequest(input *DeleteCodeSigningConfigInput) (req *request.Request, output *DeleteCodeSigningConfigOutput)
- func (c *Lambda) DeleteCodeSigningConfigWithContext(ctx aws.Context, input *DeleteCodeSigningConfigInput, opts ...request.Option) (*DeleteCodeSigningConfigOutput, error)
- func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
- func (c *Lambda) DeleteEventSourceMappingWithContext(ctx aws.Context, input *DeleteEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)
- func (c *Lambda) DeleteFunctionCodeSigningConfig(input *DeleteFunctionCodeSigningConfigInput) (*DeleteFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCodeSigningConfigInput) (req *request.Request, output *DeleteFunctionCodeSigningConfigOutput)
- func (c *Lambda) DeleteFunctionCodeSigningConfigWithContext(ctx aws.Context, input *DeleteFunctionCodeSigningConfigInput, ...) (*DeleteFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) DeleteFunctionConcurrency(input *DeleteFunctionConcurrencyInput) (*DeleteFunctionConcurrencyOutput, error)
- func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurrencyInput) (req *request.Request, output *DeleteFunctionConcurrencyOutput)
- func (c *Lambda) DeleteFunctionConcurrencyWithContext(ctx aws.Context, input *DeleteFunctionConcurrencyInput, opts ...request.Option) (*DeleteFunctionConcurrencyOutput, error)
- func (c *Lambda) DeleteFunctionEventInvokeConfig(input *DeleteFunctionEventInvokeConfigInput) (*DeleteFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) DeleteFunctionEventInvokeConfigRequest(input *DeleteFunctionEventInvokeConfigInput) (req *request.Request, output *DeleteFunctionEventInvokeConfigOutput)
- func (c *Lambda) DeleteFunctionEventInvokeConfigWithContext(ctx aws.Context, input *DeleteFunctionEventInvokeConfigInput, ...) (*DeleteFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput)
- func (c *Lambda) DeleteFunctionUrlConfig(input *DeleteFunctionUrlConfigInput) (*DeleteFunctionUrlConfigOutput, error)
- func (c *Lambda) DeleteFunctionUrlConfigRequest(input *DeleteFunctionUrlConfigInput) (req *request.Request, output *DeleteFunctionUrlConfigOutput)
- func (c *Lambda) DeleteFunctionUrlConfigWithContext(ctx aws.Context, input *DeleteFunctionUrlConfigInput, opts ...request.Option) (*DeleteFunctionUrlConfigOutput, error)
- func (c *Lambda) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctionInput, opts ...request.Option) (*DeleteFunctionOutput, error)
- func (c *Lambda) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error)
- func (c *Lambda) DeleteLayerVersionRequest(input *DeleteLayerVersionInput) (req *request.Request, output *DeleteLayerVersionOutput)
- func (c *Lambda) DeleteLayerVersionWithContext(ctx aws.Context, input *DeleteLayerVersionInput, opts ...request.Option) (*DeleteLayerVersionOutput, error)
- func (c *Lambda) DeleteProvisionedConcurrencyConfig(input *DeleteProvisionedConcurrencyConfigInput) (*DeleteProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisionedConcurrencyConfigInput) (req *request.Request, output *DeleteProvisionedConcurrencyConfigOutput)
- func (c *Lambda) DeleteProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *DeleteProvisionedConcurrencyConfigInput, ...) (*DeleteProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)
- func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput)
- func (c *Lambda) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error)
- func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error)
- func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, output *AliasConfiguration)
- func (c *Lambda) GetAliasWithContext(ctx aws.Context, input *GetAliasInput, opts ...request.Option) (*AliasConfiguration, error)
- func (c *Lambda) GetCodeSigningConfig(input *GetCodeSigningConfigInput) (*GetCodeSigningConfigOutput, error)
- func (c *Lambda) GetCodeSigningConfigRequest(input *GetCodeSigningConfigInput) (req *request.Request, output *GetCodeSigningConfigOutput)
- func (c *Lambda) GetCodeSigningConfigWithContext(ctx aws.Context, input *GetCodeSigningConfigInput, opts ...request.Option) (*GetCodeSigningConfigOutput, error)
- func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
- func (c *Lambda) GetEventSourceMappingWithContext(ctx aws.Context, input *GetEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)
- func (c *Lambda) GetFunctionCodeSigningConfig(input *GetFunctionCodeSigningConfigInput) (*GetFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigningConfigInput) (req *request.Request, output *GetFunctionCodeSigningConfigOutput)
- func (c *Lambda) GetFunctionCodeSigningConfigWithContext(ctx aws.Context, input *GetFunctionCodeSigningConfigInput, ...) (*GetFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) GetFunctionConcurrency(input *GetFunctionConcurrencyInput) (*GetFunctionConcurrencyOutput, error)
- func (c *Lambda) GetFunctionConcurrencyRequest(input *GetFunctionConcurrencyInput) (req *request.Request, output *GetFunctionConcurrencyOutput)
- func (c *Lambda) GetFunctionConcurrencyWithContext(ctx aws.Context, input *GetFunctionConcurrencyInput, opts ...request.Option) (*GetFunctionConcurrencyOutput, error)
- func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error)
- func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration)
- func (c *Lambda) GetFunctionConfigurationWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.Option) (*FunctionConfiguration, error)
- func (c *Lambda) GetFunctionEventInvokeConfig(input *GetFunctionEventInvokeConfigInput) (*GetFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) GetFunctionEventInvokeConfigRequest(input *GetFunctionEventInvokeConfigInput) (req *request.Request, output *GetFunctionEventInvokeConfigOutput)
- func (c *Lambda) GetFunctionEventInvokeConfigWithContext(ctx aws.Context, input *GetFunctionEventInvokeConfigInput, ...) (*GetFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput)
- func (c *Lambda) GetFunctionUrlConfig(input *GetFunctionUrlConfigInput) (*GetFunctionUrlConfigOutput, error)
- func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) (req *request.Request, output *GetFunctionUrlConfigOutput)
- func (c *Lambda) GetFunctionUrlConfigWithContext(ctx aws.Context, input *GetFunctionUrlConfigInput, opts ...request.Option) (*GetFunctionUrlConfigOutput, error)
- func (c *Lambda) GetFunctionWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.Option) (*GetFunctionOutput, error)
- func (c *Lambda) GetLayerVersion(input *GetLayerVersionInput) (*GetLayerVersionOutput, error)
- func (c *Lambda) GetLayerVersionByArn(input *GetLayerVersionByArnInput) (*GetLayerVersionByArnOutput, error)
- func (c *Lambda) GetLayerVersionByArnRequest(input *GetLayerVersionByArnInput) (req *request.Request, output *GetLayerVersionByArnOutput)
- func (c *Lambda) GetLayerVersionByArnWithContext(ctx aws.Context, input *GetLayerVersionByArnInput, opts ...request.Option) (*GetLayerVersionByArnOutput, error)
- func (c *Lambda) GetLayerVersionPolicy(input *GetLayerVersionPolicyInput) (*GetLayerVersionPolicyOutput, error)
- func (c *Lambda) GetLayerVersionPolicyRequest(input *GetLayerVersionPolicyInput) (req *request.Request, output *GetLayerVersionPolicyOutput)
- func (c *Lambda) GetLayerVersionPolicyWithContext(ctx aws.Context, input *GetLayerVersionPolicyInput, opts ...request.Option) (*GetLayerVersionPolicyOutput, error)
- func (c *Lambda) GetLayerVersionRequest(input *GetLayerVersionInput) (req *request.Request, output *GetLayerVersionOutput)
- func (c *Lambda) GetLayerVersionWithContext(ctx aws.Context, input *GetLayerVersionInput, opts ...request.Option) (*GetLayerVersionOutput, error)
- func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)
- func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput)
- func (c *Lambda) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error)
- func (c *Lambda) GetProvisionedConcurrencyConfig(input *GetProvisionedConcurrencyConfigInput) (*GetProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) GetProvisionedConcurrencyConfigRequest(input *GetProvisionedConcurrencyConfigInput) (req *request.Request, output *GetProvisionedConcurrencyConfigOutput)
- func (c *Lambda) GetProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *GetProvisionedConcurrencyConfigInput, ...) (*GetProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) GetRuntimeManagementConfig(input *GetRuntimeManagementConfigInput) (*GetRuntimeManagementConfigOutput, error)
- func (c *Lambda) GetRuntimeManagementConfigRequest(input *GetRuntimeManagementConfigInput) (req *request.Request, output *GetRuntimeManagementConfigOutput)
- func (c *Lambda) GetRuntimeManagementConfigWithContext(ctx aws.Context, input *GetRuntimeManagementConfigInput, ...) (*GetRuntimeManagementConfigOutput, error)
- func (c *Lambda) Invoke(input *InvokeInput) (*InvokeOutput, error)
- func (c *Lambda) InvokeAsync(input *InvokeAsyncInput) (*InvokeAsyncOutput, error)deprecated
- func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Request, output *InvokeAsyncOutput)deprecated
- func (c *Lambda) InvokeAsyncWithContext(ctx aws.Context, input *InvokeAsyncInput, opts ...request.Option) (*InvokeAsyncOutput, error)deprecated
- func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output *InvokeOutput)
- func (c *Lambda) InvokeWithContext(ctx aws.Context, input *InvokeInput, opts ...request.Option) (*InvokeOutput, error)
- func (c *Lambda) InvokeWithResponseStream(input *InvokeWithResponseStreamInput) (*InvokeWithResponseStreamOutput, error)
- func (c *Lambda) InvokeWithResponseStreamRequest(input *InvokeWithResponseStreamInput) (req *request.Request, output *InvokeWithResponseStreamOutput)
- func (c *Lambda) InvokeWithResponseStreamWithContext(ctx aws.Context, input *InvokeWithResponseStreamInput, opts ...request.Option) (*InvokeWithResponseStreamOutput, error)
- func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error)
- func (c *Lambda) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error
- func (c *Lambda) ListAliasesPagesWithContext(ctx aws.Context, input *ListAliasesInput, ...) error
- func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput)
- func (c *Lambda) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, opts ...request.Option) (*ListAliasesOutput, error)
- func (c *Lambda) ListCodeSigningConfigs(input *ListCodeSigningConfigsInput) (*ListCodeSigningConfigsOutput, error)
- func (c *Lambda) ListCodeSigningConfigsPages(input *ListCodeSigningConfigsInput, ...) error
- func (c *Lambda) ListCodeSigningConfigsPagesWithContext(ctx aws.Context, input *ListCodeSigningConfigsInput, ...) error
- func (c *Lambda) ListCodeSigningConfigsRequest(input *ListCodeSigningConfigsInput) (req *request.Request, output *ListCodeSigningConfigsOutput)
- func (c *Lambda) ListCodeSigningConfigsWithContext(ctx aws.Context, input *ListCodeSigningConfigsInput, opts ...request.Option) (*ListCodeSigningConfigsOutput, error)
- func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error)
- func (c *Lambda) ListEventSourceMappingsPages(input *ListEventSourceMappingsInput, ...) error
- func (c *Lambda) ListEventSourceMappingsPagesWithContext(ctx aws.Context, input *ListEventSourceMappingsInput, ...) error
- func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsInput) (req *request.Request, output *ListEventSourceMappingsOutput)
- func (c *Lambda) ListEventSourceMappingsWithContext(ctx aws.Context, input *ListEventSourceMappingsInput, opts ...request.Option) (*ListEventSourceMappingsOutput, error)
- func (c *Lambda) ListFunctionEventInvokeConfigs(input *ListFunctionEventInvokeConfigsInput) (*ListFunctionEventInvokeConfigsOutput, error)
- func (c *Lambda) ListFunctionEventInvokeConfigsPages(input *ListFunctionEventInvokeConfigsInput, ...) error
- func (c *Lambda) ListFunctionEventInvokeConfigsPagesWithContext(ctx aws.Context, input *ListFunctionEventInvokeConfigsInput, ...) error
- func (c *Lambda) ListFunctionEventInvokeConfigsRequest(input *ListFunctionEventInvokeConfigsInput) (req *request.Request, output *ListFunctionEventInvokeConfigsOutput)
- func (c *Lambda) ListFunctionEventInvokeConfigsWithContext(ctx aws.Context, input *ListFunctionEventInvokeConfigsInput, ...) (*ListFunctionEventInvokeConfigsOutput, error)
- func (c *Lambda) ListFunctionUrlConfigs(input *ListFunctionUrlConfigsInput) (*ListFunctionUrlConfigsOutput, error)
- func (c *Lambda) ListFunctionUrlConfigsPages(input *ListFunctionUrlConfigsInput, ...) error
- func (c *Lambda) ListFunctionUrlConfigsPagesWithContext(ctx aws.Context, input *ListFunctionUrlConfigsInput, ...) error
- func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInput) (req *request.Request, output *ListFunctionUrlConfigsOutput)
- func (c *Lambda) ListFunctionUrlConfigsWithContext(ctx aws.Context, input *ListFunctionUrlConfigsInput, opts ...request.Option) (*ListFunctionUrlConfigsOutput, error)
- func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)
- func (c *Lambda) ListFunctionsByCodeSigningConfig(input *ListFunctionsByCodeSigningConfigInput) (*ListFunctionsByCodeSigningConfigOutput, error)
- func (c *Lambda) ListFunctionsByCodeSigningConfigPages(input *ListFunctionsByCodeSigningConfigInput, ...) error
- func (c *Lambda) ListFunctionsByCodeSigningConfigPagesWithContext(ctx aws.Context, input *ListFunctionsByCodeSigningConfigInput, ...) error
- func (c *Lambda) ListFunctionsByCodeSigningConfigRequest(input *ListFunctionsByCodeSigningConfigInput) (req *request.Request, output *ListFunctionsByCodeSigningConfigOutput)
- func (c *Lambda) ListFunctionsByCodeSigningConfigWithContext(ctx aws.Context, input *ListFunctionsByCodeSigningConfigInput, ...) (*ListFunctionsByCodeSigningConfigOutput, error)
- func (c *Lambda) ListFunctionsPages(input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool) error
- func (c *Lambda) ListFunctionsPagesWithContext(ctx aws.Context, input *ListFunctionsInput, ...) error
- func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput)
- func (c *Lambda) ListFunctionsWithContext(ctx aws.Context, input *ListFunctionsInput, opts ...request.Option) (*ListFunctionsOutput, error)
- func (c *Lambda) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error)
- func (c *Lambda) ListLayerVersionsPages(input *ListLayerVersionsInput, fn func(*ListLayerVersionsOutput, bool) bool) error
- func (c *Lambda) ListLayerVersionsPagesWithContext(ctx aws.Context, input *ListLayerVersionsInput, ...) error
- func (c *Lambda) ListLayerVersionsRequest(input *ListLayerVersionsInput) (req *request.Request, output *ListLayerVersionsOutput)
- func (c *Lambda) ListLayerVersionsWithContext(ctx aws.Context, input *ListLayerVersionsInput, opts ...request.Option) (*ListLayerVersionsOutput, error)
- func (c *Lambda) ListLayers(input *ListLayersInput) (*ListLayersOutput, error)
- func (c *Lambda) ListLayersPages(input *ListLayersInput, fn func(*ListLayersOutput, bool) bool) error
- func (c *Lambda) ListLayersPagesWithContext(ctx aws.Context, input *ListLayersInput, fn func(*ListLayersOutput, bool) bool, ...) error
- func (c *Lambda) ListLayersRequest(input *ListLayersInput) (req *request.Request, output *ListLayersOutput)
- func (c *Lambda) ListLayersWithContext(ctx aws.Context, input *ListLayersInput, opts ...request.Option) (*ListLayersOutput, error)
- func (c *Lambda) ListProvisionedConcurrencyConfigs(input *ListProvisionedConcurrencyConfigsInput) (*ListProvisionedConcurrencyConfigsOutput, error)
- func (c *Lambda) ListProvisionedConcurrencyConfigsPages(input *ListProvisionedConcurrencyConfigsInput, ...) error
- func (c *Lambda) ListProvisionedConcurrencyConfigsPagesWithContext(ctx aws.Context, input *ListProvisionedConcurrencyConfigsInput, ...) error
- func (c *Lambda) ListProvisionedConcurrencyConfigsRequest(input *ListProvisionedConcurrencyConfigsInput) (req *request.Request, output *ListProvisionedConcurrencyConfigsOutput)
- func (c *Lambda) ListProvisionedConcurrencyConfigsWithContext(ctx aws.Context, input *ListProvisionedConcurrencyConfigsInput, ...) (*ListProvisionedConcurrencyConfigsOutput, error)
- func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
- func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
- func (c *Lambda) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
- func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error)
- func (c *Lambda) ListVersionsByFunctionPages(input *ListVersionsByFunctionInput, ...) error
- func (c *Lambda) ListVersionsByFunctionPagesWithContext(ctx aws.Context, input *ListVersionsByFunctionInput, ...) error
- func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInput) (req *request.Request, output *ListVersionsByFunctionOutput)
- func (c *Lambda) ListVersionsByFunctionWithContext(ctx aws.Context, input *ListVersionsByFunctionInput, opts ...request.Option) (*ListVersionsByFunctionOutput, error)
- func (c *Lambda) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error)
- func (c *Lambda) PublishLayerVersionRequest(input *PublishLayerVersionInput) (req *request.Request, output *PublishLayerVersionOutput)
- func (c *Lambda) PublishLayerVersionWithContext(ctx aws.Context, input *PublishLayerVersionInput, opts ...request.Option) (*PublishLayerVersionOutput, error)
- func (c *Lambda) PublishVersion(input *PublishVersionInput) (*FunctionConfiguration, error)
- func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request.Request, output *FunctionConfiguration)
- func (c *Lambda) PublishVersionWithContext(ctx aws.Context, input *PublishVersionInput, opts ...request.Option) (*FunctionConfiguration, error)
- func (c *Lambda) PutFunctionCodeSigningConfig(input *PutFunctionCodeSigningConfigInput) (*PutFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) PutFunctionCodeSigningConfigRequest(input *PutFunctionCodeSigningConfigInput) (req *request.Request, output *PutFunctionCodeSigningConfigOutput)
- func (c *Lambda) PutFunctionCodeSigningConfigWithContext(ctx aws.Context, input *PutFunctionCodeSigningConfigInput, ...) (*PutFunctionCodeSigningConfigOutput, error)
- func (c *Lambda) PutFunctionConcurrency(input *PutFunctionConcurrencyInput) (*PutFunctionConcurrencyOutput, error)
- func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInput) (req *request.Request, output *PutFunctionConcurrencyOutput)
- func (c *Lambda) PutFunctionConcurrencyWithContext(ctx aws.Context, input *PutFunctionConcurrencyInput, opts ...request.Option) (*PutFunctionConcurrencyOutput, error)
- func (c *Lambda) PutFunctionEventInvokeConfig(input *PutFunctionEventInvokeConfigInput) (*PutFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) PutFunctionEventInvokeConfigRequest(input *PutFunctionEventInvokeConfigInput) (req *request.Request, output *PutFunctionEventInvokeConfigOutput)
- func (c *Lambda) PutFunctionEventInvokeConfigWithContext(ctx aws.Context, input *PutFunctionEventInvokeConfigInput, ...) (*PutFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) PutProvisionedConcurrencyConfig(input *PutProvisionedConcurrencyConfigInput) (*PutProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedConcurrencyConfigInput) (req *request.Request, output *PutProvisionedConcurrencyConfigOutput)
- func (c *Lambda) PutProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *PutProvisionedConcurrencyConfigInput, ...) (*PutProvisionedConcurrencyConfigOutput, error)
- func (c *Lambda) PutRuntimeManagementConfig(input *PutRuntimeManagementConfigInput) (*PutRuntimeManagementConfigOutput, error)
- func (c *Lambda) PutRuntimeManagementConfigRequest(input *PutRuntimeManagementConfigInput) (req *request.Request, output *PutRuntimeManagementConfigOutput)
- func (c *Lambda) PutRuntimeManagementConfigWithContext(ctx aws.Context, input *PutRuntimeManagementConfigInput, ...) (*PutRuntimeManagementConfigOutput, error)
- func (c *Lambda) RemoveLayerVersionPermission(input *RemoveLayerVersionPermissionInput) (*RemoveLayerVersionPermissionOutput, error)
- func (c *Lambda) RemoveLayerVersionPermissionRequest(input *RemoveLayerVersionPermissionInput) (req *request.Request, output *RemoveLayerVersionPermissionOutput)
- func (c *Lambda) RemoveLayerVersionPermissionWithContext(ctx aws.Context, input *RemoveLayerVersionPermissionInput, ...) (*RemoveLayerVersionPermissionOutput, error)
- func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error)
- func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput)
- func (c *Lambda) RemovePermissionWithContext(ctx aws.Context, input *RemovePermissionInput, opts ...request.Option) (*RemovePermissionOutput, error)
- func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
- func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
- func (c *Lambda) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
- func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
- func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
- func (c *Lambda) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
- func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error)
- func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *AliasConfiguration)
- func (c *Lambda) UpdateAliasWithContext(ctx aws.Context, input *UpdateAliasInput, opts ...request.Option) (*AliasConfiguration, error)
- func (c *Lambda) UpdateCodeSigningConfig(input *UpdateCodeSigningConfigInput) (*UpdateCodeSigningConfigOutput, error)
- func (c *Lambda) UpdateCodeSigningConfigRequest(input *UpdateCodeSigningConfigInput) (req *request.Request, output *UpdateCodeSigningConfigOutput)
- func (c *Lambda) UpdateCodeSigningConfigWithContext(ctx aws.Context, input *UpdateCodeSigningConfigInput, opts ...request.Option) (*UpdateCodeSigningConfigOutput, error)
- func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
- func (c *Lambda) UpdateEventSourceMappingWithContext(ctx aws.Context, input *UpdateEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
- func (c *Lambda) UpdateFunctionCode(input *UpdateFunctionCodeInput) (*FunctionConfiguration, error)
- func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req *request.Request, output *FunctionConfiguration)
- func (c *Lambda) UpdateFunctionCodeWithContext(ctx aws.Context, input *UpdateFunctionCodeInput, opts ...request.Option) (*FunctionConfiguration, error)
- func (c *Lambda) UpdateFunctionConfiguration(input *UpdateFunctionConfigurationInput) (*FunctionConfiguration, error)
- func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration)
- func (c *Lambda) UpdateFunctionConfigurationWithContext(ctx aws.Context, input *UpdateFunctionConfigurationInput, ...) (*FunctionConfiguration, error)
- func (c *Lambda) UpdateFunctionEventInvokeConfig(input *UpdateFunctionEventInvokeConfigInput) (*UpdateFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) UpdateFunctionEventInvokeConfigRequest(input *UpdateFunctionEventInvokeConfigInput) (req *request.Request, output *UpdateFunctionEventInvokeConfigOutput)
- func (c *Lambda) UpdateFunctionEventInvokeConfigWithContext(ctx aws.Context, input *UpdateFunctionEventInvokeConfigInput, ...) (*UpdateFunctionEventInvokeConfigOutput, error)
- func (c *Lambda) UpdateFunctionUrlConfig(input *UpdateFunctionUrlConfigInput) (*UpdateFunctionUrlConfigOutput, error)
- func (c *Lambda) UpdateFunctionUrlConfigRequest(input *UpdateFunctionUrlConfigInput) (req *request.Request, output *UpdateFunctionUrlConfigOutput)
- func (c *Lambda) UpdateFunctionUrlConfigWithContext(ctx aws.Context, input *UpdateFunctionUrlConfigInput, opts ...request.Option) (*UpdateFunctionUrlConfigOutput, error)
- func (c *Lambda) WaitUntilFunctionActive(input *GetFunctionConfigurationInput) error
- func (c *Lambda) WaitUntilFunctionActiveV2(input *GetFunctionInput) error
- func (c *Lambda) WaitUntilFunctionActiveV2WithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
- func (c *Lambda) WaitUntilFunctionActiveWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, ...) error
- func (c *Lambda) WaitUntilFunctionExists(input *GetFunctionInput) error
- func (c *Lambda) WaitUntilFunctionExistsWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
- func (c *Lambda) WaitUntilFunctionUpdated(input *GetFunctionConfigurationInput) error
- func (c *Lambda) WaitUntilFunctionUpdatedV2(input *GetFunctionInput) error
- func (c *Lambda) WaitUntilFunctionUpdatedV2WithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
- func (c *Lambda) WaitUntilFunctionUpdatedWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, ...) error
- func (c *Lambda) WaitUntilPublishedVersionActive(input *GetFunctionConfigurationInput) error
- func (c *Lambda) WaitUntilPublishedVersionActiveWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, ...) error
- type Layer
- type LayerVersionContentInput
- func (s LayerVersionContentInput) GoString() string
- func (s *LayerVersionContentInput) SetS3Bucket(v string) *LayerVersionContentInput
- func (s *LayerVersionContentInput) SetS3Key(v string) *LayerVersionContentInput
- func (s *LayerVersionContentInput) SetS3ObjectVersion(v string) *LayerVersionContentInput
- func (s *LayerVersionContentInput) SetZipFile(v []byte) *LayerVersionContentInput
- func (s LayerVersionContentInput) String() string
- func (s *LayerVersionContentInput) Validate() error
- type LayerVersionContentOutput
- func (s LayerVersionContentOutput) GoString() string
- func (s *LayerVersionContentOutput) SetCodeSha256(v string) *LayerVersionContentOutput
- func (s *LayerVersionContentOutput) SetCodeSize(v int64) *LayerVersionContentOutput
- func (s *LayerVersionContentOutput) SetLocation(v string) *LayerVersionContentOutput
- func (s *LayerVersionContentOutput) SetSigningJobArn(v string) *LayerVersionContentOutput
- func (s *LayerVersionContentOutput) SetSigningProfileVersionArn(v string) *LayerVersionContentOutput
- func (s LayerVersionContentOutput) String() string
- type LayerVersionsListItem
- func (s LayerVersionsListItem) GoString() string
- func (s *LayerVersionsListItem) SetCompatibleArchitectures(v []*string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetCompatibleRuntimes(v []*string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetCreatedDate(v string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetDescription(v string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetLayerVersionArn(v string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetLicenseInfo(v string) *LayerVersionsListItem
- func (s *LayerVersionsListItem) SetVersion(v int64) *LayerVersionsListItem
- func (s LayerVersionsListItem) String() string
- type LayersListItem
- func (s LayersListItem) GoString() string
- func (s *LayersListItem) SetLatestMatchingVersion(v *LayerVersionsListItem) *LayersListItem
- func (s *LayersListItem) SetLayerArn(v string) *LayersListItem
- func (s *LayersListItem) SetLayerName(v string) *LayersListItem
- func (s LayersListItem) String() string
- type ListAliasesInput
- func (s ListAliasesInput) GoString() string
- func (s *ListAliasesInput) SetFunctionName(v string) *ListAliasesInput
- func (s *ListAliasesInput) SetFunctionVersion(v string) *ListAliasesInput
- func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput
- func (s *ListAliasesInput) SetMaxItems(v int64) *ListAliasesInput
- func (s ListAliasesInput) String() string
- func (s *ListAliasesInput) Validate() error
- type ListAliasesOutput
- type ListCodeSigningConfigsInput
- func (s ListCodeSigningConfigsInput) GoString() string
- func (s *ListCodeSigningConfigsInput) SetMarker(v string) *ListCodeSigningConfigsInput
- func (s *ListCodeSigningConfigsInput) SetMaxItems(v int64) *ListCodeSigningConfigsInput
- func (s ListCodeSigningConfigsInput) String() string
- func (s *ListCodeSigningConfigsInput) Validate() error
- type ListCodeSigningConfigsOutput
- func (s ListCodeSigningConfigsOutput) GoString() string
- func (s *ListCodeSigningConfigsOutput) SetCodeSigningConfigs(v []*CodeSigningConfig) *ListCodeSigningConfigsOutput
- func (s *ListCodeSigningConfigsOutput) SetNextMarker(v string) *ListCodeSigningConfigsOutput
- func (s ListCodeSigningConfigsOutput) String() string
- type ListEventSourceMappingsInput
- func (s ListEventSourceMappingsInput) GoString() string
- func (s *ListEventSourceMappingsInput) SetEventSourceArn(v string) *ListEventSourceMappingsInput
- func (s *ListEventSourceMappingsInput) SetFunctionName(v string) *ListEventSourceMappingsInput
- func (s *ListEventSourceMappingsInput) SetMarker(v string) *ListEventSourceMappingsInput
- func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMappingsInput
- func (s ListEventSourceMappingsInput) String() string
- func (s *ListEventSourceMappingsInput) Validate() error
- type ListEventSourceMappingsOutput
- func (s ListEventSourceMappingsOutput) GoString() string
- func (s *ListEventSourceMappingsOutput) SetEventSourceMappings(v []*EventSourceMappingConfiguration) *ListEventSourceMappingsOutput
- func (s *ListEventSourceMappingsOutput) SetNextMarker(v string) *ListEventSourceMappingsOutput
- func (s ListEventSourceMappingsOutput) String() string
- type ListFunctionEventInvokeConfigsInput
- func (s ListFunctionEventInvokeConfigsInput) GoString() string
- func (s *ListFunctionEventInvokeConfigsInput) SetFunctionName(v string) *ListFunctionEventInvokeConfigsInput
- func (s *ListFunctionEventInvokeConfigsInput) SetMarker(v string) *ListFunctionEventInvokeConfigsInput
- func (s *ListFunctionEventInvokeConfigsInput) SetMaxItems(v int64) *ListFunctionEventInvokeConfigsInput
- func (s ListFunctionEventInvokeConfigsInput) String() string
- func (s *ListFunctionEventInvokeConfigsInput) Validate() error
- type ListFunctionEventInvokeConfigsOutput
- func (s ListFunctionEventInvokeConfigsOutput) GoString() string
- func (s *ListFunctionEventInvokeConfigsOutput) SetFunctionEventInvokeConfigs(v []*FunctionEventInvokeConfig) *ListFunctionEventInvokeConfigsOutput
- func (s *ListFunctionEventInvokeConfigsOutput) SetNextMarker(v string) *ListFunctionEventInvokeConfigsOutput
- func (s ListFunctionEventInvokeConfigsOutput) String() string
- type ListFunctionUrlConfigsInput
- func (s ListFunctionUrlConfigsInput) GoString() string
- func (s *ListFunctionUrlConfigsInput) SetFunctionName(v string) *ListFunctionUrlConfigsInput
- func (s *ListFunctionUrlConfigsInput) SetMarker(v string) *ListFunctionUrlConfigsInput
- func (s *ListFunctionUrlConfigsInput) SetMaxItems(v int64) *ListFunctionUrlConfigsInput
- func (s ListFunctionUrlConfigsInput) String() string
- func (s *ListFunctionUrlConfigsInput) Validate() error
- type ListFunctionUrlConfigsOutput
- func (s ListFunctionUrlConfigsOutput) GoString() string
- func (s *ListFunctionUrlConfigsOutput) SetFunctionUrlConfigs(v []*FunctionUrlConfig) *ListFunctionUrlConfigsOutput
- func (s *ListFunctionUrlConfigsOutput) SetNextMarker(v string) *ListFunctionUrlConfigsOutput
- func (s ListFunctionUrlConfigsOutput) String() string
- type ListFunctionsByCodeSigningConfigInput
- func (s ListFunctionsByCodeSigningConfigInput) GoString() string
- func (s *ListFunctionsByCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *ListFunctionsByCodeSigningConfigInput
- func (s *ListFunctionsByCodeSigningConfigInput) SetMarker(v string) *ListFunctionsByCodeSigningConfigInput
- func (s *ListFunctionsByCodeSigningConfigInput) SetMaxItems(v int64) *ListFunctionsByCodeSigningConfigInput
- func (s ListFunctionsByCodeSigningConfigInput) String() string
- func (s *ListFunctionsByCodeSigningConfigInput) Validate() error
- type ListFunctionsByCodeSigningConfigOutput
- func (s ListFunctionsByCodeSigningConfigOutput) GoString() string
- func (s *ListFunctionsByCodeSigningConfigOutput) SetFunctionArns(v []*string) *ListFunctionsByCodeSigningConfigOutput
- func (s *ListFunctionsByCodeSigningConfigOutput) SetNextMarker(v string) *ListFunctionsByCodeSigningConfigOutput
- func (s ListFunctionsByCodeSigningConfigOutput) String() string
- type ListFunctionsInput
- func (s ListFunctionsInput) GoString() string
- func (s *ListFunctionsInput) SetFunctionVersion(v string) *ListFunctionsInput
- func (s *ListFunctionsInput) SetMarker(v string) *ListFunctionsInput
- func (s *ListFunctionsInput) SetMasterRegion(v string) *ListFunctionsInput
- func (s *ListFunctionsInput) SetMaxItems(v int64) *ListFunctionsInput
- func (s ListFunctionsInput) String() string
- func (s *ListFunctionsInput) Validate() error
- type ListFunctionsOutput
- type ListLayerVersionsInput
- func (s ListLayerVersionsInput) GoString() string
- func (s *ListLayerVersionsInput) SetCompatibleArchitecture(v string) *ListLayerVersionsInput
- func (s *ListLayerVersionsInput) SetCompatibleRuntime(v string) *ListLayerVersionsInput
- func (s *ListLayerVersionsInput) SetLayerName(v string) *ListLayerVersionsInput
- func (s *ListLayerVersionsInput) SetMarker(v string) *ListLayerVersionsInput
- func (s *ListLayerVersionsInput) SetMaxItems(v int64) *ListLayerVersionsInput
- func (s ListLayerVersionsInput) String() string
- func (s *ListLayerVersionsInput) Validate() error
- type ListLayerVersionsOutput
- type ListLayersInput
- func (s ListLayersInput) GoString() string
- func (s *ListLayersInput) SetCompatibleArchitecture(v string) *ListLayersInput
- func (s *ListLayersInput) SetCompatibleRuntime(v string) *ListLayersInput
- func (s *ListLayersInput) SetMarker(v string) *ListLayersInput
- func (s *ListLayersInput) SetMaxItems(v int64) *ListLayersInput
- func (s ListLayersInput) String() string
- func (s *ListLayersInput) Validate() error
- type ListLayersOutput
- type ListProvisionedConcurrencyConfigsInput
- func (s ListProvisionedConcurrencyConfigsInput) GoString() string
- func (s *ListProvisionedConcurrencyConfigsInput) SetFunctionName(v string) *ListProvisionedConcurrencyConfigsInput
- func (s *ListProvisionedConcurrencyConfigsInput) SetMarker(v string) *ListProvisionedConcurrencyConfigsInput
- func (s *ListProvisionedConcurrencyConfigsInput) SetMaxItems(v int64) *ListProvisionedConcurrencyConfigsInput
- func (s ListProvisionedConcurrencyConfigsInput) String() string
- func (s *ListProvisionedConcurrencyConfigsInput) Validate() error
- type ListProvisionedConcurrencyConfigsOutput
- func (s ListProvisionedConcurrencyConfigsOutput) GoString() string
- func (s *ListProvisionedConcurrencyConfigsOutput) SetNextMarker(v string) *ListProvisionedConcurrencyConfigsOutput
- func (s *ListProvisionedConcurrencyConfigsOutput) SetProvisionedConcurrencyConfigs(v []*ProvisionedConcurrencyConfigListItem) *ListProvisionedConcurrencyConfigsOutput
- func (s ListProvisionedConcurrencyConfigsOutput) String() string
- type ListTagsInput
- type ListTagsOutput
- type ListVersionsByFunctionInput
- func (s ListVersionsByFunctionInput) GoString() string
- func (s *ListVersionsByFunctionInput) SetFunctionName(v string) *ListVersionsByFunctionInput
- func (s *ListVersionsByFunctionInput) SetMarker(v string) *ListVersionsByFunctionInput
- func (s *ListVersionsByFunctionInput) SetMaxItems(v int64) *ListVersionsByFunctionInput
- func (s ListVersionsByFunctionInput) String() string
- func (s *ListVersionsByFunctionInput) Validate() error
- type ListVersionsByFunctionOutput
- func (s ListVersionsByFunctionOutput) GoString() string
- func (s *ListVersionsByFunctionOutput) SetNextMarker(v string) *ListVersionsByFunctionOutput
- func (s *ListVersionsByFunctionOutput) SetVersions(v []*FunctionConfiguration) *ListVersionsByFunctionOutput
- func (s ListVersionsByFunctionOutput) String() string
- type LoggingConfig
- func (s LoggingConfig) GoString() string
- func (s *LoggingConfig) SetApplicationLogLevel(v string) *LoggingConfig
- func (s *LoggingConfig) SetLogFormat(v string) *LoggingConfig
- func (s *LoggingConfig) SetLogGroup(v string) *LoggingConfig
- func (s *LoggingConfig) SetSystemLogLevel(v string) *LoggingConfig
- func (s LoggingConfig) String() string
- func (s *LoggingConfig) Validate() error
- type OnFailure
- type OnSuccess
- type PolicyLengthExceededException
- func (s *PolicyLengthExceededException) Code() string
- func (s *PolicyLengthExceededException) Error() string
- func (s PolicyLengthExceededException) GoString() string
- func (s *PolicyLengthExceededException) Message() string
- func (s *PolicyLengthExceededException) OrigErr() error
- func (s *PolicyLengthExceededException) RequestID() string
- func (s *PolicyLengthExceededException) StatusCode() int
- func (s PolicyLengthExceededException) String() string
- type PreconditionFailedException
- func (s *PreconditionFailedException) Code() string
- func (s *PreconditionFailedException) Error() string
- func (s PreconditionFailedException) GoString() string
- func (s *PreconditionFailedException) Message() string
- func (s *PreconditionFailedException) OrigErr() error
- func (s *PreconditionFailedException) RequestID() string
- func (s *PreconditionFailedException) StatusCode() int
- func (s PreconditionFailedException) String() string
- type ProvisionedConcurrencyConfigListItem
- func (s ProvisionedConcurrencyConfigListItem) GoString() string
- func (s *ProvisionedConcurrencyConfigListItem) SetAllocatedProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetAvailableProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetFunctionArn(v string) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetLastModified(v string) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetRequestedProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetStatus(v string) *ProvisionedConcurrencyConfigListItem
- func (s *ProvisionedConcurrencyConfigListItem) SetStatusReason(v string) *ProvisionedConcurrencyConfigListItem
- func (s ProvisionedConcurrencyConfigListItem) String() string
- type ProvisionedConcurrencyConfigNotFoundException
- func (s *ProvisionedConcurrencyConfigNotFoundException) Code() string
- func (s *ProvisionedConcurrencyConfigNotFoundException) Error() string
- func (s ProvisionedConcurrencyConfigNotFoundException) GoString() string
- func (s *ProvisionedConcurrencyConfigNotFoundException) Message() string
- func (s *ProvisionedConcurrencyConfigNotFoundException) OrigErr() error
- func (s *ProvisionedConcurrencyConfigNotFoundException) RequestID() string
- func (s *ProvisionedConcurrencyConfigNotFoundException) StatusCode() int
- func (s ProvisionedConcurrencyConfigNotFoundException) String() string
- type PublishLayerVersionInput
- func (s PublishLayerVersionInput) GoString() string
- func (s *PublishLayerVersionInput) SetCompatibleArchitectures(v []*string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) SetCompatibleRuntimes(v []*string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) SetContent(v *LayerVersionContentInput) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) SetDescription(v string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) SetLayerName(v string) *PublishLayerVersionInput
- func (s *PublishLayerVersionInput) SetLicenseInfo(v string) *PublishLayerVersionInput
- func (s PublishLayerVersionInput) String() string
- func (s *PublishLayerVersionInput) Validate() error
- type PublishLayerVersionOutput
- func (s PublishLayerVersionOutput) GoString() string
- func (s *PublishLayerVersionOutput) SetCompatibleArchitectures(v []*string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetCompatibleRuntimes(v []*string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetContent(v *LayerVersionContentOutput) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetCreatedDate(v string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetDescription(v string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetLayerArn(v string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetLayerVersionArn(v string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetLicenseInfo(v string) *PublishLayerVersionOutput
- func (s *PublishLayerVersionOutput) SetVersion(v int64) *PublishLayerVersionOutput
- func (s PublishLayerVersionOutput) String() string
- type PublishVersionInput
- func (s PublishVersionInput) GoString() string
- func (s *PublishVersionInput) SetCodeSha256(v string) *PublishVersionInput
- func (s *PublishVersionInput) SetDescription(v string) *PublishVersionInput
- func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput
- func (s *PublishVersionInput) SetRevisionId(v string) *PublishVersionInput
- func (s PublishVersionInput) String() string
- func (s *PublishVersionInput) Validate() error
- type PutFunctionCodeSigningConfigInput
- func (s PutFunctionCodeSigningConfigInput) GoString() string
- func (s *PutFunctionCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *PutFunctionCodeSigningConfigInput
- func (s *PutFunctionCodeSigningConfigInput) SetFunctionName(v string) *PutFunctionCodeSigningConfigInput
- func (s PutFunctionCodeSigningConfigInput) String() string
- func (s *PutFunctionCodeSigningConfigInput) Validate() error
- type PutFunctionCodeSigningConfigOutput
- func (s PutFunctionCodeSigningConfigOutput) GoString() string
- func (s *PutFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn(v string) *PutFunctionCodeSigningConfigOutput
- func (s *PutFunctionCodeSigningConfigOutput) SetFunctionName(v string) *PutFunctionCodeSigningConfigOutput
- func (s PutFunctionCodeSigningConfigOutput) String() string
- type PutFunctionConcurrencyInput
- func (s PutFunctionConcurrencyInput) GoString() string
- func (s *PutFunctionConcurrencyInput) SetFunctionName(v string) *PutFunctionConcurrencyInput
- func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput
- func (s PutFunctionConcurrencyInput) String() string
- func (s *PutFunctionConcurrencyInput) Validate() error
- type PutFunctionConcurrencyOutput
- type PutFunctionEventInvokeConfigInput
- func (s PutFunctionEventInvokeConfigInput) GoString() string
- func (s *PutFunctionEventInvokeConfigInput) SetDestinationConfig(v *DestinationConfig) *PutFunctionEventInvokeConfigInput
- func (s *PutFunctionEventInvokeConfigInput) SetFunctionName(v string) *PutFunctionEventInvokeConfigInput
- func (s *PutFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds(v int64) *PutFunctionEventInvokeConfigInput
- func (s *PutFunctionEventInvokeConfigInput) SetMaximumRetryAttempts(v int64) *PutFunctionEventInvokeConfigInput
- func (s *PutFunctionEventInvokeConfigInput) SetQualifier(v string) *PutFunctionEventInvokeConfigInput
- func (s PutFunctionEventInvokeConfigInput) String() string
- func (s *PutFunctionEventInvokeConfigInput) Validate() error
- type PutFunctionEventInvokeConfigOutput
- func (s PutFunctionEventInvokeConfigOutput) GoString() string
- func (s *PutFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *PutFunctionEventInvokeConfigOutput
- func (s *PutFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *PutFunctionEventInvokeConfigOutput
- func (s *PutFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *PutFunctionEventInvokeConfigOutput
- func (s *PutFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *PutFunctionEventInvokeConfigOutput
- func (s *PutFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *PutFunctionEventInvokeConfigOutput
- func (s PutFunctionEventInvokeConfigOutput) String() string
- type PutProvisionedConcurrencyConfigInput
- func (s PutProvisionedConcurrencyConfigInput) GoString() string
- func (s *PutProvisionedConcurrencyConfigInput) SetFunctionName(v string) *PutProvisionedConcurrencyConfigInput
- func (s *PutProvisionedConcurrencyConfigInput) SetProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigInput
- func (s *PutProvisionedConcurrencyConfigInput) SetQualifier(v string) *PutProvisionedConcurrencyConfigInput
- func (s PutProvisionedConcurrencyConfigInput) String() string
- func (s *PutProvisionedConcurrencyConfigInput) Validate() error
- type PutProvisionedConcurrencyConfigOutput
- func (s PutProvisionedConcurrencyConfigOutput) GoString() string
- func (s *PutProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
- func (s *PutProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
- func (s *PutProvisionedConcurrencyConfigOutput) SetLastModified(v string) *PutProvisionedConcurrencyConfigOutput
- func (s *PutProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
- func (s *PutProvisionedConcurrencyConfigOutput) SetStatus(v string) *PutProvisionedConcurrencyConfigOutput
- func (s *PutProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *PutProvisionedConcurrencyConfigOutput
- func (s PutProvisionedConcurrencyConfigOutput) String() string
- type PutRuntimeManagementConfigInput
- func (s PutRuntimeManagementConfigInput) GoString() string
- func (s *PutRuntimeManagementConfigInput) SetFunctionName(v string) *PutRuntimeManagementConfigInput
- func (s *PutRuntimeManagementConfigInput) SetQualifier(v string) *PutRuntimeManagementConfigInput
- func (s *PutRuntimeManagementConfigInput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigInput
- func (s *PutRuntimeManagementConfigInput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigInput
- func (s PutRuntimeManagementConfigInput) String() string
- func (s *PutRuntimeManagementConfigInput) Validate() error
- type PutRuntimeManagementConfigOutput
- func (s PutRuntimeManagementConfigOutput) GoString() string
- func (s *PutRuntimeManagementConfigOutput) SetFunctionArn(v string) *PutRuntimeManagementConfigOutput
- func (s *PutRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigOutput
- func (s *PutRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigOutput
- func (s PutRuntimeManagementConfigOutput) String() string
- type RecursiveInvocationException
- func (s *RecursiveInvocationException) Code() string
- func (s *RecursiveInvocationException) Error() string
- func (s RecursiveInvocationException) GoString() string
- func (s *RecursiveInvocationException) Message() string
- func (s *RecursiveInvocationException) OrigErr() error
- func (s *RecursiveInvocationException) RequestID() string
- func (s *RecursiveInvocationException) StatusCode() int
- func (s RecursiveInvocationException) String() string
- type RemoveLayerVersionPermissionInput
- func (s RemoveLayerVersionPermissionInput) GoString() string
- func (s *RemoveLayerVersionPermissionInput) SetLayerName(v string) *RemoveLayerVersionPermissionInput
- func (s *RemoveLayerVersionPermissionInput) SetRevisionId(v string) *RemoveLayerVersionPermissionInput
- func (s *RemoveLayerVersionPermissionInput) SetStatementId(v string) *RemoveLayerVersionPermissionInput
- func (s *RemoveLayerVersionPermissionInput) SetVersionNumber(v int64) *RemoveLayerVersionPermissionInput
- func (s RemoveLayerVersionPermissionInput) String() string
- func (s *RemoveLayerVersionPermissionInput) Validate() error
- type RemoveLayerVersionPermissionOutput
- type RemovePermissionInput
- func (s RemovePermissionInput) GoString() string
- func (s *RemovePermissionInput) SetFunctionName(v string) *RemovePermissionInput
- func (s *RemovePermissionInput) SetQualifier(v string) *RemovePermissionInput
- func (s *RemovePermissionInput) SetRevisionId(v string) *RemovePermissionInput
- func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput
- func (s RemovePermissionInput) String() string
- func (s *RemovePermissionInput) Validate() error
- type RemovePermissionOutput
- type RequestTooLargeException
- func (s *RequestTooLargeException) Code() string
- func (s *RequestTooLargeException) Error() string
- func (s RequestTooLargeException) GoString() string
- func (s *RequestTooLargeException) Message() string
- func (s *RequestTooLargeException) OrigErr() error
- func (s *RequestTooLargeException) RequestID() string
- func (s *RequestTooLargeException) StatusCode() int
- func (s RequestTooLargeException) String() string
- type ResourceConflictException
- func (s *ResourceConflictException) Code() string
- func (s *ResourceConflictException) Error() string
- func (s ResourceConflictException) GoString() string
- func (s *ResourceConflictException) Message() string
- func (s *ResourceConflictException) OrigErr() error
- func (s *ResourceConflictException) RequestID() string
- func (s *ResourceConflictException) StatusCode() int
- func (s ResourceConflictException) String() string
- type ResourceInUseException
- func (s *ResourceInUseException) Code() string
- func (s *ResourceInUseException) Error() string
- func (s ResourceInUseException) GoString() string
- func (s *ResourceInUseException) Message() string
- func (s *ResourceInUseException) OrigErr() error
- func (s *ResourceInUseException) RequestID() string
- func (s *ResourceInUseException) StatusCode() int
- func (s ResourceInUseException) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ResourceNotReadyException
- func (s *ResourceNotReadyException) Code() string
- func (s *ResourceNotReadyException) Error() string
- func (s ResourceNotReadyException) GoString() string
- func (s *ResourceNotReadyException) Message() string
- func (s *ResourceNotReadyException) OrigErr() error
- func (s *ResourceNotReadyException) RequestID() string
- func (s *ResourceNotReadyException) StatusCode() int
- func (s ResourceNotReadyException) String() string
- type RuntimeVersionConfig
- type RuntimeVersionError
- type ScalingConfig
- type SelfManagedEventSource
- type SelfManagedKafkaEventSourceConfig
- type ServiceException
- func (s *ServiceException) Code() string
- func (s *ServiceException) Error() string
- func (s ServiceException) GoString() string
- func (s *ServiceException) Message() string
- func (s *ServiceException) OrigErr() error
- func (s *ServiceException) RequestID() string
- func (s *ServiceException) StatusCode() int
- func (s ServiceException) String() string
- type SnapStart
- type SnapStartException
- func (s *SnapStartException) Code() string
- func (s *SnapStartException) Error() string
- func (s SnapStartException) GoString() string
- func (s *SnapStartException) Message() string
- func (s *SnapStartException) OrigErr() error
- func (s *SnapStartException) RequestID() string
- func (s *SnapStartException) StatusCode() int
- func (s SnapStartException) String() string
- type SnapStartNotReadyException
- func (s *SnapStartNotReadyException) Code() string
- func (s *SnapStartNotReadyException) Error() string
- func (s SnapStartNotReadyException) GoString() string
- func (s *SnapStartNotReadyException) Message() string
- func (s *SnapStartNotReadyException) OrigErr() error
- func (s *SnapStartNotReadyException) RequestID() string
- func (s *SnapStartNotReadyException) StatusCode() int
- func (s SnapStartNotReadyException) String() string
- type SnapStartResponse
- type SnapStartTimeoutException
- func (s *SnapStartTimeoutException) Code() string
- func (s *SnapStartTimeoutException) Error() string
- func (s SnapStartTimeoutException) GoString() string
- func (s *SnapStartTimeoutException) Message() string
- func (s *SnapStartTimeoutException) OrigErr() error
- func (s *SnapStartTimeoutException) RequestID() string
- func (s *SnapStartTimeoutException) StatusCode() int
- func (s SnapStartTimeoutException) String() string
- type SourceAccessConfiguration
- func (s SourceAccessConfiguration) GoString() string
- func (s *SourceAccessConfiguration) SetType(v string) *SourceAccessConfiguration
- func (s *SourceAccessConfiguration) SetURI(v string) *SourceAccessConfiguration
- func (s SourceAccessConfiguration) String() string
- func (s *SourceAccessConfiguration) Validate() error
- type SubnetIPAddressLimitReachedException
- func (s *SubnetIPAddressLimitReachedException) Code() string
- func (s *SubnetIPAddressLimitReachedException) Error() string
- func (s SubnetIPAddressLimitReachedException) GoString() string
- func (s *SubnetIPAddressLimitReachedException) Message() string
- func (s *SubnetIPAddressLimitReachedException) OrigErr() error
- func (s *SubnetIPAddressLimitReachedException) RequestID() string
- func (s *SubnetIPAddressLimitReachedException) StatusCode() int
- func (s SubnetIPAddressLimitReachedException) String() string
- type TagResourceInput
- type TagResourceOutput
- type TooManyRequestsException
- func (s *TooManyRequestsException) Code() string
- func (s *TooManyRequestsException) Error() string
- func (s TooManyRequestsException) GoString() string
- func (s *TooManyRequestsException) Message() string
- func (s *TooManyRequestsException) OrigErr() error
- func (s *TooManyRequestsException) RequestID() string
- func (s *TooManyRequestsException) StatusCode() int
- func (s TooManyRequestsException) String() string
- type TracingConfig
- type TracingConfigResponse
- type UnsupportedMediaTypeException
- func (s *UnsupportedMediaTypeException) Code() string
- func (s *UnsupportedMediaTypeException) Error() string
- func (s UnsupportedMediaTypeException) GoString() string
- func (s *UnsupportedMediaTypeException) Message() string
- func (s *UnsupportedMediaTypeException) OrigErr() error
- func (s *UnsupportedMediaTypeException) RequestID() string
- func (s *UnsupportedMediaTypeException) StatusCode() int
- func (s UnsupportedMediaTypeException) String() string
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAliasInput
- func (s UpdateAliasInput) GoString() string
- func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput
- func (s *UpdateAliasInput) SetFunctionName(v string) *UpdateAliasInput
- func (s *UpdateAliasInput) SetFunctionVersion(v string) *UpdateAliasInput
- func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput
- func (s *UpdateAliasInput) SetRevisionId(v string) *UpdateAliasInput
- func (s *UpdateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *UpdateAliasInput
- func (s UpdateAliasInput) String() string
- func (s *UpdateAliasInput) Validate() error
- type UpdateCodeSigningConfigInput
- func (s UpdateCodeSigningConfigInput) GoString() string
- func (s *UpdateCodeSigningConfigInput) SetAllowedPublishers(v *AllowedPublishers) *UpdateCodeSigningConfigInput
- func (s *UpdateCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *UpdateCodeSigningConfigInput
- func (s *UpdateCodeSigningConfigInput) SetCodeSigningPolicies(v *CodeSigningPolicies) *UpdateCodeSigningConfigInput
- func (s *UpdateCodeSigningConfigInput) SetDescription(v string) *UpdateCodeSigningConfigInput
- func (s UpdateCodeSigningConfigInput) String() string
- func (s *UpdateCodeSigningConfigInput) Validate() error
- type UpdateCodeSigningConfigOutput
- type UpdateEventSourceMappingInput
- func (s UpdateEventSourceMappingInput) GoString() string
- func (s *UpdateEventSourceMappingInput) SetBatchSize(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetBisectBatchOnFunctionError(v bool) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetDestinationConfig(v *DestinationConfig) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetEnabled(v bool) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetFilterCriteria(v *FilterCriteria) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetFunctionName(v string) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetFunctionResponseTypes(v []*string) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetMaximumRecordAgeInSeconds(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetMaximumRetryAttempts(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetParallelizationFactor(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetTumblingWindowInSeconds(v int64) *UpdateEventSourceMappingInput
- func (s *UpdateEventSourceMappingInput) SetUUID(v string) *UpdateEventSourceMappingInput
- func (s UpdateEventSourceMappingInput) String() string
- func (s *UpdateEventSourceMappingInput) Validate() error
- type UpdateFunctionCodeInput
- func (s UpdateFunctionCodeInput) GoString() string
- func (s *UpdateFunctionCodeInput) SetArchitectures(v []*string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetDryRun(v bool) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetFunctionName(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetImageUri(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetPublish(v bool) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetRevisionId(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetS3Bucket(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetS3Key(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetS3ObjectVersion(v string) *UpdateFunctionCodeInput
- func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput
- func (s UpdateFunctionCodeInput) String() string
- func (s *UpdateFunctionCodeInput) Validate() error
- type UpdateFunctionConfigurationInput
- func (s UpdateFunctionConfigurationInput) GoString() string
- func (s *UpdateFunctionConfigurationInput) SetDeadLetterConfig(v *DeadLetterConfig) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetDescription(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetEnvironment(v *Environment) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetEphemeralStorage(v *EphemeralStorage) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetFileSystemConfigs(v []*FileSystemConfig) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetFunctionName(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetHandler(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetImageConfig(v *ImageConfig) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetKMSKeyArn(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetLayers(v []*string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetLoggingConfig(v *LoggingConfig) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetMemorySize(v int64) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetRevisionId(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetRole(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetRuntime(v string) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetSnapStart(v *SnapStart) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetTimeout(v int64) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetTracingConfig(v *TracingConfig) *UpdateFunctionConfigurationInput
- func (s *UpdateFunctionConfigurationInput) SetVpcConfig(v *VpcConfig) *UpdateFunctionConfigurationInput
- func (s UpdateFunctionConfigurationInput) String() string
- func (s *UpdateFunctionConfigurationInput) Validate() error
- type UpdateFunctionEventInvokeConfigInput
- func (s UpdateFunctionEventInvokeConfigInput) GoString() string
- func (s *UpdateFunctionEventInvokeConfigInput) SetDestinationConfig(v *DestinationConfig) *UpdateFunctionEventInvokeConfigInput
- func (s *UpdateFunctionEventInvokeConfigInput) SetFunctionName(v string) *UpdateFunctionEventInvokeConfigInput
- func (s *UpdateFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds(v int64) *UpdateFunctionEventInvokeConfigInput
- func (s *UpdateFunctionEventInvokeConfigInput) SetMaximumRetryAttempts(v int64) *UpdateFunctionEventInvokeConfigInput
- func (s *UpdateFunctionEventInvokeConfigInput) SetQualifier(v string) *UpdateFunctionEventInvokeConfigInput
- func (s UpdateFunctionEventInvokeConfigInput) String() string
- func (s *UpdateFunctionEventInvokeConfigInput) Validate() error
- type UpdateFunctionEventInvokeConfigOutput
- func (s UpdateFunctionEventInvokeConfigOutput) GoString() string
- func (s *UpdateFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *UpdateFunctionEventInvokeConfigOutput
- func (s *UpdateFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *UpdateFunctionEventInvokeConfigOutput
- func (s *UpdateFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *UpdateFunctionEventInvokeConfigOutput
- func (s *UpdateFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *UpdateFunctionEventInvokeConfigOutput
- func (s *UpdateFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *UpdateFunctionEventInvokeConfigOutput
- func (s UpdateFunctionEventInvokeConfigOutput) String() string
- type UpdateFunctionUrlConfigInput
- func (s UpdateFunctionUrlConfigInput) GoString() string
- func (s *UpdateFunctionUrlConfigInput) SetAuthType(v string) *UpdateFunctionUrlConfigInput
- func (s *UpdateFunctionUrlConfigInput) SetCors(v *Cors) *UpdateFunctionUrlConfigInput
- func (s *UpdateFunctionUrlConfigInput) SetFunctionName(v string) *UpdateFunctionUrlConfigInput
- func (s *UpdateFunctionUrlConfigInput) SetInvokeMode(v string) *UpdateFunctionUrlConfigInput
- func (s *UpdateFunctionUrlConfigInput) SetQualifier(v string) *UpdateFunctionUrlConfigInput
- func (s UpdateFunctionUrlConfigInput) String() string
- func (s *UpdateFunctionUrlConfigInput) Validate() error
- type UpdateFunctionUrlConfigOutput
- func (s UpdateFunctionUrlConfigOutput) GoString() string
- func (s *UpdateFunctionUrlConfigOutput) SetAuthType(v string) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetCors(v *Cors) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetCreationTime(v string) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetFunctionArn(v string) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetFunctionUrl(v string) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetInvokeMode(v string) *UpdateFunctionUrlConfigOutput
- func (s *UpdateFunctionUrlConfigOutput) SetLastModifiedTime(v string) *UpdateFunctionUrlConfigOutput
- func (s UpdateFunctionUrlConfigOutput) String() string
- type VpcConfig
- type VpcConfigResponse
- func (s VpcConfigResponse) GoString() string
- func (s *VpcConfigResponse) SetIpv6AllowedForDualStack(v bool) *VpcConfigResponse
- func (s *VpcConfigResponse) SetSecurityGroupIds(v []*string) *VpcConfigResponse
- func (s *VpcConfigResponse) SetSubnetIds(v []*string) *VpcConfigResponse
- func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse
- func (s VpcConfigResponse) String() string
Examples ¶
- Lambda.AddLayerVersionPermission (Shared00)
- Lambda.AddPermission (Shared00)
- Lambda.AddPermission (Shared01)
- Lambda.CreateAlias (Shared00)
- Lambda.CreateEventSourceMapping (Shared00)
- Lambda.CreateFunction (Shared00)
- Lambda.DeleteAlias (Shared00)
- Lambda.DeleteEventSourceMapping (Shared00)
- Lambda.DeleteFunction (Shared00)
- Lambda.DeleteFunctionConcurrency (Shared00)
- Lambda.DeleteFunctionEventInvokeConfig (Shared00)
- Lambda.DeleteLayerVersion (Shared00)
- Lambda.DeleteProvisionedConcurrencyConfig (Shared00)
- Lambda.GetAccountSettings (Shared00)
- Lambda.GetAlias (Shared00)
- Lambda.GetEventSourceMapping (Shared00)
- Lambda.GetFunction (Shared00)
- Lambda.GetFunctionConcurrency (Shared00)
- Lambda.GetFunctionConfiguration (Shared00)
- Lambda.GetFunctionEventInvokeConfig (Shared00)
- Lambda.GetLayerVersion (Shared00)
- Lambda.GetLayerVersionByArn (Shared00)
- Lambda.GetPolicy (Shared00)
- Lambda.GetProvisionedConcurrencyConfig (Shared00)
- Lambda.GetProvisionedConcurrencyConfig (Shared01)
- Lambda.Invoke (Shared00)
- Lambda.Invoke (Shared01)
- Lambda.InvokeAsync (Shared00)
- Lambda.ListAliases (Shared00)
- Lambda.ListEventSourceMappings (Shared00)
- Lambda.ListFunctionEventInvokeConfigs (Shared00)
- Lambda.ListFunctions (Shared00)
- Lambda.ListLayerVersions (Shared00)
- Lambda.ListLayers (Shared00)
- Lambda.ListProvisionedConcurrencyConfigs (Shared00)
- Lambda.ListTags (Shared00)
- Lambda.ListVersionsByFunction (Shared00)
- Lambda.PublishLayerVersion (Shared00)
- Lambda.PublishVersion (Shared00)
- Lambda.PutFunctionConcurrency (Shared00)
- Lambda.PutFunctionEventInvokeConfig (Shared00)
- Lambda.PutProvisionedConcurrencyConfig (Shared00)
- Lambda.RemoveLayerVersionPermission (Shared00)
- Lambda.RemovePermission (Shared00)
- Lambda.TagResource (Shared00)
- Lambda.UntagResource (Shared00)
- Lambda.UpdateAlias (Shared00)
- Lambda.UpdateEventSourceMapping (Shared00)
- Lambda.UpdateFunctionCode (Shared00)
- Lambda.UpdateFunctionConfiguration (Shared00)
- Lambda.UpdateFunctionEventInvokeConfig (Shared00)
Constants ¶
const ( // ApplicationLogLevelTrace is a ApplicationLogLevel enum value ApplicationLogLevelTrace = "TRACE" // ApplicationLogLevelDebug is a ApplicationLogLevel enum value ApplicationLogLevelDebug = "DEBUG" // ApplicationLogLevelInfo is a ApplicationLogLevel enum value ApplicationLogLevelInfo = "INFO" // ApplicationLogLevelWarn is a ApplicationLogLevel enum value ApplicationLogLevelWarn = "WARN" // ApplicationLogLevelError is a ApplicationLogLevel enum value ApplicationLogLevelError = "ERROR" // ApplicationLogLevelFatal is a ApplicationLogLevel enum value ApplicationLogLevelFatal = "FATAL" )
const ( // ArchitectureX8664 is a Architecture enum value ArchitectureX8664 = "x86_64" // ArchitectureArm64 is a Architecture enum value ArchitectureArm64 = "arm64" )
const ( // CodeSigningPolicyWarn is a CodeSigningPolicy enum value CodeSigningPolicyWarn = "Warn" // CodeSigningPolicyEnforce is a CodeSigningPolicy enum value CodeSigningPolicyEnforce = "Enforce" )
const ( // EventSourcePositionTrimHorizon is a EventSourcePosition enum value EventSourcePositionTrimHorizon = "TRIM_HORIZON" // EventSourcePositionLatest is a EventSourcePosition enum value EventSourcePositionLatest = "LATEST" // EventSourcePositionAtTimestamp is a EventSourcePosition enum value EventSourcePositionAtTimestamp = "AT_TIMESTAMP" )
const ( // FullDocumentUpdateLookup is a FullDocument enum value FullDocumentUpdateLookup = "UpdateLookup" // FullDocumentDefault is a FullDocument enum value FullDocumentDefault = "Default" )
const ( // FunctionUrlAuthTypeNone is a FunctionUrlAuthType enum value FunctionUrlAuthTypeNone = "NONE" // FunctionUrlAuthTypeAwsIam is a FunctionUrlAuthType enum value FunctionUrlAuthTypeAwsIam = "AWS_IAM" )
const ( // InvocationTypeEvent is a InvocationType enum value InvocationTypeEvent = "Event" // InvocationTypeRequestResponse is a InvocationType enum value InvocationTypeRequestResponse = "RequestResponse" // InvocationTypeDryRun is a InvocationType enum value InvocationTypeDryRun = "DryRun" )
const ( // InvokeModeBuffered is a InvokeMode enum value InvokeModeBuffered = "BUFFERED" // InvokeModeResponseStream is a InvokeMode enum value InvokeModeResponseStream = "RESPONSE_STREAM" )
const ( // LastUpdateStatusSuccessful is a LastUpdateStatus enum value LastUpdateStatusSuccessful = "Successful" // LastUpdateStatusFailed is a LastUpdateStatus enum value LastUpdateStatusFailed = "Failed" // LastUpdateStatusInProgress is a LastUpdateStatus enum value LastUpdateStatusInProgress = "InProgress" )
const ( // LastUpdateStatusReasonCodeEniLimitExceeded is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEniLimitExceeded = "EniLimitExceeded" // LastUpdateStatusReasonCodeInsufficientRolePermissions is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInsufficientRolePermissions = "InsufficientRolePermissions" // LastUpdateStatusReasonCodeInvalidConfiguration is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidConfiguration = "InvalidConfiguration" // LastUpdateStatusReasonCodeInternalError is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInternalError = "InternalError" // LastUpdateStatusReasonCodeSubnetOutOfIpaddresses is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses" // LastUpdateStatusReasonCodeInvalidSubnet is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidSubnet = "InvalidSubnet" // LastUpdateStatusReasonCodeInvalidSecurityGroup is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" // LastUpdateStatusReasonCodeImageDeleted is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeImageDeleted = "ImageDeleted" // LastUpdateStatusReasonCodeImageAccessDenied is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeImageAccessDenied = "ImageAccessDenied" // LastUpdateStatusReasonCodeInvalidImage is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidImage = "InvalidImage" // LastUpdateStatusReasonCodeKmskeyAccessDenied is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeKmskeyAccessDenied = "KMSKeyAccessDenied" // LastUpdateStatusReasonCodeKmskeyNotFound is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeKmskeyNotFound = "KMSKeyNotFound" // LastUpdateStatusReasonCodeInvalidStateKmskey is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidStateKmskey = "InvalidStateKMSKey" // LastUpdateStatusReasonCodeDisabledKmskey is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeDisabledKmskey = "DisabledKMSKey" // LastUpdateStatusReasonCodeEfsioerror is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEfsioerror = "EFSIOError" // LastUpdateStatusReasonCodeEfsmountConnectivityError is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEfsmountConnectivityError = "EFSMountConnectivityError" // LastUpdateStatusReasonCodeEfsmountFailure is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEfsmountFailure = "EFSMountFailure" // LastUpdateStatusReasonCodeEfsmountTimeout is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeEfsmountTimeout = "EFSMountTimeout" // LastUpdateStatusReasonCodeInvalidRuntime is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidRuntime = "InvalidRuntime" // LastUpdateStatusReasonCodeInvalidZipFileException is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeInvalidZipFileException = "InvalidZipFileException" // LastUpdateStatusReasonCodeFunctionError is a LastUpdateStatusReasonCode enum value LastUpdateStatusReasonCodeFunctionError = "FunctionError" )
const ( // LogFormatJson is a LogFormat enum value LogFormatJson = "JSON" // LogFormatText is a LogFormat enum value LogFormatText = "Text" )
const ( // LogTypeNone is a LogType enum value LogTypeNone = "None" // LogTypeTail is a LogType enum value LogTypeTail = "Tail" )
const ( // PackageTypeZip is a PackageType enum value PackageTypeZip = "Zip" // PackageTypeImage is a PackageType enum value PackageTypeImage = "Image" )
const ( // ProvisionedConcurrencyStatusEnumInProgress is a ProvisionedConcurrencyStatusEnum enum value ProvisionedConcurrencyStatusEnumInProgress = "IN_PROGRESS" // ProvisionedConcurrencyStatusEnumReady is a ProvisionedConcurrencyStatusEnum enum value ProvisionedConcurrencyStatusEnumReady = "READY" // ProvisionedConcurrencyStatusEnumFailed is a ProvisionedConcurrencyStatusEnum enum value ProvisionedConcurrencyStatusEnumFailed = "FAILED" )
const ( // ResponseStreamingInvocationTypeRequestResponse is a ResponseStreamingInvocationType enum value ResponseStreamingInvocationTypeRequestResponse = "RequestResponse" // ResponseStreamingInvocationTypeDryRun is a ResponseStreamingInvocationType enum value ResponseStreamingInvocationTypeDryRun = "DryRun" )
const ( // RuntimeNodejs is a Runtime enum value RuntimeNodejs = "nodejs" // RuntimeNodejs43 is a Runtime enum value RuntimeNodejs43 = "nodejs4.3" // RuntimeNodejs610 is a Runtime enum value RuntimeNodejs610 = "nodejs6.10" // RuntimeNodejs810 is a Runtime enum value RuntimeNodejs810 = "nodejs8.10" // RuntimeNodejs10X is a Runtime enum value RuntimeNodejs10X = "nodejs10.x" // RuntimeNodejs12X is a Runtime enum value RuntimeNodejs12X = "nodejs12.x" // RuntimeNodejs14X is a Runtime enum value RuntimeNodejs14X = "nodejs14.x" // RuntimeNodejs16X is a Runtime enum value RuntimeNodejs16X = "nodejs16.x" // RuntimeJava8 is a Runtime enum value RuntimeJava8 = "java8" // RuntimeJava8Al2 is a Runtime enum value RuntimeJava8Al2 = "java8.al2" // RuntimeJava11 is a Runtime enum value RuntimeJava11 = "java11" // RuntimePython27 is a Runtime enum value RuntimePython27 = "python2.7" // RuntimePython36 is a Runtime enum value RuntimePython36 = "python3.6" // RuntimePython37 is a Runtime enum value RuntimePython37 = "python3.7" // RuntimePython38 is a Runtime enum value RuntimePython38 = "python3.8" // RuntimePython39 is a Runtime enum value RuntimePython39 = "python3.9" // RuntimeDotnetcore10 is a Runtime enum value RuntimeDotnetcore10 = "dotnetcore1.0" // RuntimeDotnetcore20 is a Runtime enum value RuntimeDotnetcore20 = "dotnetcore2.0" // RuntimeDotnetcore21 is a Runtime enum value RuntimeDotnetcore21 = "dotnetcore2.1" // RuntimeDotnetcore31 is a Runtime enum value RuntimeDotnetcore31 = "dotnetcore3.1" // RuntimeDotnet6 is a Runtime enum value RuntimeDotnet6 = "dotnet6" // RuntimeDotnet8 is a Runtime enum value RuntimeDotnet8 = "dotnet8" // RuntimeNodejs43Edge is a Runtime enum value RuntimeNodejs43Edge = "nodejs4.3-edge" // RuntimeGo1X is a Runtime enum value RuntimeGo1X = "go1.x" // RuntimeRuby25 is a Runtime enum value RuntimeRuby25 = "ruby2.5" // RuntimeRuby27 is a Runtime enum value RuntimeRuby27 = "ruby2.7" // RuntimeProvided is a Runtime enum value RuntimeProvided = "provided" // RuntimeProvidedAl2 is a Runtime enum value RuntimeProvidedAl2 = "provided.al2" // RuntimeNodejs18X is a Runtime enum value RuntimeNodejs18X = "nodejs18.x" // RuntimePython310 is a Runtime enum value RuntimePython310 = "python3.10" // RuntimeJava17 is a Runtime enum value RuntimeJava17 = "java17" // RuntimeRuby32 is a Runtime enum value RuntimeRuby32 = "ruby3.2" // RuntimeRuby33 is a Runtime enum value RuntimeRuby33 = "ruby3.3" // RuntimePython311 is a Runtime enum value RuntimePython311 = "python3.11" // RuntimeNodejs20X is a Runtime enum value RuntimeNodejs20X = "nodejs20.x" // RuntimeProvidedAl2023 is a Runtime enum value RuntimeProvidedAl2023 = "provided.al2023" // RuntimePython312 is a Runtime enum value RuntimePython312 = "python3.12" // RuntimeJava21 is a Runtime enum value RuntimeJava21 = "java21" )
const ( // SnapStartApplyOnPublishedVersions is a SnapStartApplyOn enum value SnapStartApplyOnPublishedVersions = "PublishedVersions" // SnapStartApplyOnNone is a SnapStartApplyOn enum value SnapStartApplyOnNone = "None" )
const ( // SnapStartOptimizationStatusOn is a SnapStartOptimizationStatus enum value SnapStartOptimizationStatusOn = "On" // SnapStartOptimizationStatusOff is a SnapStartOptimizationStatus enum value SnapStartOptimizationStatusOff = "Off" )
const ( // SourceAccessTypeBasicAuth is a SourceAccessType enum value SourceAccessTypeBasicAuth = "BASIC_AUTH" // SourceAccessTypeVpcSubnet is a SourceAccessType enum value SourceAccessTypeVpcSubnet = "VPC_SUBNET" // SourceAccessTypeVpcSecurityGroup is a SourceAccessType enum value SourceAccessTypeVpcSecurityGroup = "VPC_SECURITY_GROUP" // SourceAccessTypeSaslScram512Auth is a SourceAccessType enum value SourceAccessTypeSaslScram512Auth = "SASL_SCRAM_512_AUTH" // SourceAccessTypeSaslScram256Auth is a SourceAccessType enum value SourceAccessTypeSaslScram256Auth = "SASL_SCRAM_256_AUTH" // SourceAccessTypeVirtualHost is a SourceAccessType enum value SourceAccessTypeVirtualHost = "VIRTUAL_HOST" // SourceAccessTypeClientCertificateTlsAuth is a SourceAccessType enum value SourceAccessTypeClientCertificateTlsAuth = "CLIENT_CERTIFICATE_TLS_AUTH" // SourceAccessTypeServerRootCaCertificate is a SourceAccessType enum value SourceAccessTypeServerRootCaCertificate = "SERVER_ROOT_CA_CERTIFICATE" )
const ( // StatePending is a State enum value StatePending = "Pending" // StateActive is a State enum value StateActive = "Active" // StateInactive is a State enum value StateInactive = "Inactive" // StateFailed is a State enum value StateFailed = "Failed" )
const ( // StateReasonCodeIdle is a StateReasonCode enum value StateReasonCodeIdle = "Idle" // StateReasonCodeCreating is a StateReasonCode enum value StateReasonCodeCreating = "Creating" // StateReasonCodeRestoring is a StateReasonCode enum value StateReasonCodeRestoring = "Restoring" // StateReasonCodeEniLimitExceeded is a StateReasonCode enum value StateReasonCodeEniLimitExceeded = "EniLimitExceeded" // StateReasonCodeInsufficientRolePermissions is a StateReasonCode enum value StateReasonCodeInsufficientRolePermissions = "InsufficientRolePermissions" // StateReasonCodeInvalidConfiguration is a StateReasonCode enum value StateReasonCodeInvalidConfiguration = "InvalidConfiguration" // StateReasonCodeInternalError is a StateReasonCode enum value StateReasonCodeInternalError = "InternalError" // StateReasonCodeSubnetOutOfIpaddresses is a StateReasonCode enum value StateReasonCodeSubnetOutOfIpaddresses = "SubnetOutOfIPAddresses" // StateReasonCodeInvalidSubnet is a StateReasonCode enum value StateReasonCodeInvalidSubnet = "InvalidSubnet" // StateReasonCodeInvalidSecurityGroup is a StateReasonCode enum value StateReasonCodeInvalidSecurityGroup = "InvalidSecurityGroup" // StateReasonCodeImageDeleted is a StateReasonCode enum value StateReasonCodeImageDeleted = "ImageDeleted" // StateReasonCodeImageAccessDenied is a StateReasonCode enum value StateReasonCodeImageAccessDenied = "ImageAccessDenied" // StateReasonCodeInvalidImage is a StateReasonCode enum value StateReasonCodeInvalidImage = "InvalidImage" // StateReasonCodeKmskeyAccessDenied is a StateReasonCode enum value StateReasonCodeKmskeyAccessDenied = "KMSKeyAccessDenied" // StateReasonCodeKmskeyNotFound is a StateReasonCode enum value StateReasonCodeKmskeyNotFound = "KMSKeyNotFound" // StateReasonCodeInvalidStateKmskey is a StateReasonCode enum value StateReasonCodeInvalidStateKmskey = "InvalidStateKMSKey" // StateReasonCodeDisabledKmskey is a StateReasonCode enum value StateReasonCodeDisabledKmskey = "DisabledKMSKey" // StateReasonCodeEfsioerror is a StateReasonCode enum value StateReasonCodeEfsioerror = "EFSIOError" // StateReasonCodeEfsmountConnectivityError is a StateReasonCode enum value StateReasonCodeEfsmountConnectivityError = "EFSMountConnectivityError" // StateReasonCodeEfsmountFailure is a StateReasonCode enum value StateReasonCodeEfsmountFailure = "EFSMountFailure" // StateReasonCodeEfsmountTimeout is a StateReasonCode enum value StateReasonCodeEfsmountTimeout = "EFSMountTimeout" // StateReasonCodeInvalidRuntime is a StateReasonCode enum value StateReasonCodeInvalidRuntime = "InvalidRuntime" // StateReasonCodeInvalidZipFileException is a StateReasonCode enum value StateReasonCodeInvalidZipFileException = "InvalidZipFileException" // StateReasonCodeFunctionError is a StateReasonCode enum value StateReasonCodeFunctionError = "FunctionError" )
const ( // SystemLogLevelDebug is a SystemLogLevel enum value SystemLogLevelDebug = "DEBUG" // SystemLogLevelInfo is a SystemLogLevel enum value SystemLogLevelInfo = "INFO" // SystemLogLevelWarn is a SystemLogLevel enum value SystemLogLevelWarn = "WARN" )
const ( // ThrottleReasonConcurrentInvocationLimitExceeded is a ThrottleReason enum value ThrottleReasonConcurrentInvocationLimitExceeded = "ConcurrentInvocationLimitExceeded" // ThrottleReasonFunctionInvocationRateLimitExceeded is a ThrottleReason enum value ThrottleReasonFunctionInvocationRateLimitExceeded = "FunctionInvocationRateLimitExceeded" // ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded is a ThrottleReason enum value ThrottleReasonReservedFunctionConcurrentInvocationLimitExceeded = "ReservedFunctionConcurrentInvocationLimitExceeded" // ThrottleReasonReservedFunctionInvocationRateLimitExceeded is a ThrottleReason enum value ThrottleReasonReservedFunctionInvocationRateLimitExceeded = "ReservedFunctionInvocationRateLimitExceeded" // ThrottleReasonCallerRateLimitExceeded is a ThrottleReason enum value ThrottleReasonCallerRateLimitExceeded = "CallerRateLimitExceeded" // ThrottleReasonConcurrentSnapshotCreateLimitExceeded is a ThrottleReason enum value ThrottleReasonConcurrentSnapshotCreateLimitExceeded = "ConcurrentSnapshotCreateLimitExceeded" )
const ( // TracingModeActive is a TracingMode enum value TracingModeActive = "Active" // TracingModePassThrough is a TracingMode enum value TracingModePassThrough = "PassThrough" )
const ( // UpdateRuntimeOnAuto is a UpdateRuntimeOn enum value UpdateRuntimeOnAuto = "Auto" // UpdateRuntimeOnManual is a UpdateRuntimeOn enum value UpdateRuntimeOnManual = "Manual" // UpdateRuntimeOnFunctionUpdate is a UpdateRuntimeOn enum value UpdateRuntimeOnFunctionUpdate = "FunctionUpdate" )
const ( // ErrCodeCodeSigningConfigNotFoundException for service response error code // "CodeSigningConfigNotFoundException". // // The specified code signing configuration does not exist. ErrCodeCodeSigningConfigNotFoundException = "CodeSigningConfigNotFoundException" // ErrCodeCodeStorageExceededException for service response error code // "CodeStorageExceededException". // // Your Amazon Web Services account has exceeded its maximum total code size. // For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeCodeStorageExceededException = "CodeStorageExceededException" // ErrCodeCodeVerificationFailedException for service response error code // "CodeVerificationFailedException". // // The code signature failed one or more of the validation checks for signature // mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda // blocks the deployment. ErrCodeCodeVerificationFailedException = "CodeVerificationFailedException" // ErrCodeEC2AccessDeniedException for service response error code // "EC2AccessDeniedException". // // Need additional permissions to configure VPC settings. ErrCodeEC2AccessDeniedException = "EC2AccessDeniedException" // ErrCodeEC2ThrottledException for service response error code // "EC2ThrottledException". // // Amazon EC2 throttled Lambda during Lambda function initialization using the // execution role provided for the function. ErrCodeEC2ThrottledException = "EC2ThrottledException" // ErrCodeEC2UnexpectedException for service response error code // "EC2UnexpectedException". // // Lambda received an unexpected Amazon EC2 client exception while setting up // for the Lambda function. ErrCodeEC2UnexpectedException = "EC2UnexpectedException" // ErrCodeEFSIOException for service response error code // "EFSIOException". // // An error occurred when reading from or writing to a connected file system. ErrCodeEFSIOException = "EFSIOException" // ErrCodeEFSMountConnectivityException for service response error code // "EFSMountConnectivityException". // // The Lambda function couldn't make a network connection to the configured // file system. ErrCodeEFSMountConnectivityException = "EFSMountConnectivityException" // ErrCodeEFSMountFailureException for service response error code // "EFSMountFailureException". // // The Lambda function couldn't mount the configured file system due to a permission // or configuration issue. ErrCodeEFSMountFailureException = "EFSMountFailureException" // ErrCodeEFSMountTimeoutException for service response error code // "EFSMountTimeoutException". // // The Lambda function made a network connection to the configured file system, // but the mount operation timed out. ErrCodeEFSMountTimeoutException = "EFSMountTimeoutException" // ErrCodeENILimitReachedException for service response error code // "ENILimitReachedException". // // 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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeENILimitReachedException = "ENILimitReachedException" // ErrCodeInvalidCodeSignatureException for service response error code // "InvalidCodeSignatureException". // // 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. ErrCodeInvalidCodeSignatureException = "InvalidCodeSignatureException" // ErrCodeInvalidParameterValueException for service response error code // "InvalidParameterValueException". // // One of the parameters in the request is not valid. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" // ErrCodeInvalidRequestContentException for service response error code // "InvalidRequestContentException". // // The request body could not be parsed as JSON. ErrCodeInvalidRequestContentException = "InvalidRequestContentException" // ErrCodeInvalidRuntimeException for service response error code // "InvalidRuntimeException". // // The runtime or runtime version specified is not supported. ErrCodeInvalidRuntimeException = "InvalidRuntimeException" // ErrCodeInvalidSecurityGroupIDException for service response error code // "InvalidSecurityGroupIDException". // // The security group ID provided in the Lambda function VPC configuration is // not valid. ErrCodeInvalidSecurityGroupIDException = "InvalidSecurityGroupIDException" // ErrCodeInvalidSubnetIDException for service response error code // "InvalidSubnetIDException". // // The subnet ID provided in the Lambda function VPC configuration is not valid. ErrCodeInvalidSubnetIDException = "InvalidSubnetIDException" // ErrCodeInvalidZipFileException for service response error code // "InvalidZipFileException". // // Lambda could not unzip the deployment package. ErrCodeInvalidZipFileException = "InvalidZipFileException" // ErrCodeKMSAccessDeniedException for service response error code // "KMSAccessDeniedException". // // Lambda couldn't decrypt the environment variables because KMS access was // denied. Check the Lambda function's KMS permissions. ErrCodeKMSAccessDeniedException = "KMSAccessDeniedException" // ErrCodeKMSDisabledException for service response error code // "KMSDisabledException". // // Lambda couldn't decrypt the environment variables because the KMS key used // is disabled. Check the Lambda function's KMS key settings. ErrCodeKMSDisabledException = "KMSDisabledException" // ErrCodeKMSInvalidStateException for service response error code // "KMSInvalidStateException". // // Lambda 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. ErrCodeKMSInvalidStateException = "KMSInvalidStateException" // ErrCodeKMSNotFoundException for service response error code // "KMSNotFoundException". // // Lambda couldn't decrypt the environment variables because the KMS key was // not found. Check the function's KMS key settings. ErrCodeKMSNotFoundException = "KMSNotFoundException" // ErrCodePolicyLengthExceededException for service response error code // "PolicyLengthExceededException". // // The permissions policy for the resource is too large. For more information, // see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodePolicyLengthExceededException = "PolicyLengthExceededException" // ErrCodePreconditionFailedException for service response error code // "PreconditionFailedException". // // The RevisionId provided does not match the latest RevisionId for the Lambda // function or alias. Call the GetFunction or the GetAlias API operation to // retrieve the latest RevisionId for your resource. ErrCodePreconditionFailedException = "PreconditionFailedException" // ErrCodeProvisionedConcurrencyConfigNotFoundException for service response error code // "ProvisionedConcurrencyConfigNotFoundException". // // The specified configuration does not exist. ErrCodeProvisionedConcurrencyConfigNotFoundException = "ProvisionedConcurrencyConfigNotFoundException" // ErrCodeRecursiveInvocationException for service response error code // "RecursiveInvocationException". // // Lambda has detected your function being invoked in a recursive loop with // other Amazon Web Services resources and stopped your function's invocation. ErrCodeRecursiveInvocationException = "RecursiveInvocationException" // ErrCodeRequestTooLargeException for service response error code // "RequestTooLargeException". // // The request payload exceeded the Invoke request body JSON input quota. For // more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). ErrCodeRequestTooLargeException = "RequestTooLargeException" // ErrCodeResourceConflictException for service response error code // "ResourceConflictException". // // The resource already exists, or another operation is in progress. ErrCodeResourceConflictException = "ResourceConflictException" // ErrCodeResourceInUseException for service response error code // "ResourceInUseException". // // The operation conflicts with the resource's availability. For example, you // tried to update an event source mapping in the CREATING state, or you tried // to delete an event source mapping currently UPDATING. ErrCodeResourceInUseException = "ResourceInUseException" // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // // The resource specified in the request does not exist. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourceNotReadyException for service response error code // "ResourceNotReadyException". // // The function is inactive and its VPC connection is no longer available. Wait // for the VPC connection to reestablish and try again. ErrCodeResourceNotReadyException = "ResourceNotReadyException" // ErrCodeServiceException for service response error code // "ServiceException". // // The Lambda service encountered an internal error. ErrCodeServiceException = "ServiceException" // ErrCodeSnapStartException for service response error code // "SnapStartException". // // The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) // encountered an error. For more information, check the Amazon CloudWatch logs. ErrCodeSnapStartException = "SnapStartException" // ErrCodeSnapStartNotReadyException for service response error code // "SnapStartNotReadyException". // // Lambda is initializing your function. You can invoke the function when the // function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) // becomes Active. ErrCodeSnapStartNotReadyException = "SnapStartNotReadyException" // ErrCodeSnapStartTimeoutException for service response error code // "SnapStartTimeoutException". // // Lambda couldn't restore the snapshot within the timeout limit. ErrCodeSnapStartTimeoutException = "SnapStartTimeoutException" // ErrCodeSubnetIPAddressLimitReachedException for service response error code // "SubnetIPAddressLimitReachedException". // // Lambda couldn't set up VPC access for the Lambda function because one or // more configured subnets has no available IP addresses. ErrCodeSubnetIPAddressLimitReachedException = "SubnetIPAddressLimitReachedException" // ErrCodeTooManyRequestsException for service response error code // "TooManyRequestsException". // // The request throughput limit was exceeded. For more information, see Lambda // quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). ErrCodeTooManyRequestsException = "TooManyRequestsException" // ErrCodeUnsupportedMediaTypeException for service response error code // "UnsupportedMediaTypeException". // // The content type of the Invoke request body is not JSON. ErrCodeUnsupportedMediaTypeException = "UnsupportedMediaTypeException" )
const ( ServiceName = "lambda" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "Lambda" // ServiceID is a unique identifier of a specific service. )
Service information constants
const (
// EndPointTypeKafkaBootstrapServers is a EndPointType enum value
EndPointTypeKafkaBootstrapServers = "KAFKA_BOOTSTRAP_SERVERS"
)
const (
// FunctionResponseTypeReportBatchItemFailures is a FunctionResponseType enum value
FunctionResponseTypeReportBatchItemFailures = "ReportBatchItemFailures"
)
const (
// FunctionVersionAll is a FunctionVersion enum value
FunctionVersionAll = "ALL"
)
Variables ¶
This section is empty.
Functions ¶
func ApplicationLogLevel_Values ¶ added in v1.47.13
func ApplicationLogLevel_Values() []string
ApplicationLogLevel_Values returns all elements of the ApplicationLogLevel enum
func Architecture_Values ¶ added in v1.40.52
func Architecture_Values() []string
Architecture_Values returns all elements of the Architecture enum
func CodeSigningPolicy_Values ¶ added in v1.35.34
func CodeSigningPolicy_Values() []string
CodeSigningPolicy_Values returns all elements of the CodeSigningPolicy enum
func EndPointType_Values ¶ added in v1.36.9
func EndPointType_Values() []string
EndPointType_Values returns all elements of the EndPointType enum
func EventSourcePosition_Values ¶ added in v1.34.3
func EventSourcePosition_Values() []string
EventSourcePosition_Values returns all elements of the EventSourcePosition enum
func FullDocument_Values ¶ added in v1.44.210
func FullDocument_Values() []string
FullDocument_Values returns all elements of the FullDocument enum
func FunctionResponseType_Values ¶ added in v1.36.9
func FunctionResponseType_Values() []string
FunctionResponseType_Values returns all elements of the FunctionResponseType enum
func FunctionUrlAuthType_Values ¶ added in v1.43.34
func FunctionUrlAuthType_Values() []string
FunctionUrlAuthType_Values returns all elements of the FunctionUrlAuthType enum
func FunctionVersion_Values ¶ added in v1.34.3
func FunctionVersion_Values() []string
FunctionVersion_Values returns all elements of the FunctionVersion enum
func InvocationType_Values ¶ added in v1.34.3
func InvocationType_Values() []string
InvocationType_Values returns all elements of the InvocationType enum
func InvokeMode_Values ¶ added in v1.44.239
func InvokeMode_Values() []string
InvokeMode_Values returns all elements of the InvokeMode enum
func LastUpdateStatusReasonCode_Values ¶ added in v1.34.3
func LastUpdateStatusReasonCode_Values() []string
LastUpdateStatusReasonCode_Values returns all elements of the LastUpdateStatusReasonCode enum
func LastUpdateStatus_Values ¶ added in v1.34.3
func LastUpdateStatus_Values() []string
LastUpdateStatus_Values returns all elements of the LastUpdateStatus enum
func LogFormat_Values ¶ added in v1.47.13
func LogFormat_Values() []string
LogFormat_Values returns all elements of the LogFormat enum
func LogType_Values ¶ added in v1.34.3
func LogType_Values() []string
LogType_Values returns all elements of the LogType enum
func PackageType_Values ¶ added in v1.35.37
func PackageType_Values() []string
PackageType_Values returns all elements of the PackageType enum
func ProvisionedConcurrencyStatusEnum_Values ¶ added in v1.34.3
func ProvisionedConcurrencyStatusEnum_Values() []string
ProvisionedConcurrencyStatusEnum_Values returns all elements of the ProvisionedConcurrencyStatusEnum enum
func ResponseStreamingInvocationType_Values ¶ added in v1.44.239
func ResponseStreamingInvocationType_Values() []string
ResponseStreamingInvocationType_Values returns all elements of the ResponseStreamingInvocationType enum
func Runtime_Values ¶ added in v1.34.3
func Runtime_Values() []string
Runtime_Values returns all elements of the Runtime enum
func SnapStartApplyOn_Values ¶ added in v1.44.147
func SnapStartApplyOn_Values() []string
SnapStartApplyOn_Values returns all elements of the SnapStartApplyOn enum
func SnapStartOptimizationStatus_Values ¶ added in v1.44.147
func SnapStartOptimizationStatus_Values() []string
SnapStartOptimizationStatus_Values returns all elements of the SnapStartOptimizationStatus enum
func SourceAccessType_Values ¶ added in v1.35.22
func SourceAccessType_Values() []string
SourceAccessType_Values returns all elements of the SourceAccessType enum
func StateReasonCode_Values ¶ added in v1.34.3
func StateReasonCode_Values() []string
StateReasonCode_Values returns all elements of the StateReasonCode enum
func State_Values ¶ added in v1.34.3
func State_Values() []string
State_Values returns all elements of the State enum
func SystemLogLevel_Values ¶ added in v1.47.13
func SystemLogLevel_Values() []string
SystemLogLevel_Values returns all elements of the SystemLogLevel enum
func ThrottleReason_Values ¶ added in v1.34.3
func ThrottleReason_Values() []string
ThrottleReason_Values returns all elements of the ThrottleReason enum
func TracingMode_Values ¶ added in v1.34.3
func TracingMode_Values() []string
TracingMode_Values returns all elements of the TracingMode enum
func UpdateRuntimeOn_Values ¶ added in v1.44.185
func UpdateRuntimeOn_Values() []string
UpdateRuntimeOn_Values returns all elements of the UpdateRuntimeOn enum
Types ¶
type AccountLimit ¶ added in v1.5.13
type AccountLimit struct { // The maximum size of a function's deployment package and layers when they're // extracted. CodeSizeUnzipped *int64 `type:"long"` // The maximum size of a deployment package when it's uploaded directly to Lambda. // Use Amazon S3 for larger files. CodeSizeZipped *int64 `type:"long"` // The maximum number of simultaneous function executions. ConcurrentExecutions *int64 `type:"integer"` // The amount of storage space that you can use for all deployment packages // and layer archives. TotalCodeSize *int64 `type:"long"` // The maximum number of simultaneous function executions, minus the capacity // that's reserved for individual functions with PutFunctionConcurrency. UnreservedConcurrentExecutions *int64 `type:"integer"` // contains filtered or unexported fields }
Limits that are related to concurrency and storage. All file and storage sizes are in bytes.
func (AccountLimit) GoString ¶ added in v1.5.13
func (s AccountLimit) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountLimit) SetCodeSizeUnzipped ¶ added in v1.5.13
func (s *AccountLimit) SetCodeSizeUnzipped(v int64) *AccountLimit
SetCodeSizeUnzipped sets the CodeSizeUnzipped field's value.
func (*AccountLimit) SetCodeSizeZipped ¶ added in v1.5.13
func (s *AccountLimit) SetCodeSizeZipped(v int64) *AccountLimit
SetCodeSizeZipped sets the CodeSizeZipped field's value.
func (*AccountLimit) SetConcurrentExecutions ¶ added in v1.5.13
func (s *AccountLimit) SetConcurrentExecutions(v int64) *AccountLimit
SetConcurrentExecutions sets the ConcurrentExecutions field's value.
func (*AccountLimit) SetTotalCodeSize ¶ added in v1.5.13
func (s *AccountLimit) SetTotalCodeSize(v int64) *AccountLimit
SetTotalCodeSize sets the TotalCodeSize field's value.
func (*AccountLimit) SetUnreservedConcurrentExecutions ¶ added in v1.12.38
func (s *AccountLimit) SetUnreservedConcurrentExecutions(v int64) *AccountLimit
SetUnreservedConcurrentExecutions sets the UnreservedConcurrentExecutions field's value.
func (AccountLimit) String ¶ added in v1.5.13
func (s AccountLimit) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AccountUsage ¶ added in v1.5.13
type AccountUsage struct { // The number of Lambda functions. FunctionCount *int64 `type:"long"` // The amount of storage space, in bytes, that's being used by deployment packages // and layer archives. TotalCodeSize *int64 `type:"long"` // contains filtered or unexported fields }
The number of functions and amount of storage in use.
func (AccountUsage) GoString ¶ added in v1.5.13
func (s AccountUsage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AccountUsage) SetFunctionCount ¶ added in v1.5.13
func (s *AccountUsage) SetFunctionCount(v int64) *AccountUsage
SetFunctionCount sets the FunctionCount field's value.
func (*AccountUsage) SetTotalCodeSize ¶ added in v1.5.13
func (s *AccountUsage) SetTotalCodeSize(v int64) *AccountUsage
SetTotalCodeSize sets the TotalCodeSize field's value.
func (AccountUsage) String ¶ added in v1.5.13
func (s AccountUsage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AddLayerVersionPermissionInput ¶ added in v1.15.87
type AddLayerVersionPermissionInput struct { // The API action that grants access to the layer. For example, lambda:GetLayerVersion. // // Action is a required field Action *string `type:"string" required:"true"` // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // With the principal set to *, grant permission to all accounts in the specified // organization. OrganizationId *string `type:"string"` // An account ID, or * to grant layer usage permission to all accounts in an // organization, or all Amazon Web Services accounts (if organizationId is not // specified). For the last case, make sure that you really do want all Amazon // Web Services accounts to have usage permission to this layer. // // Principal is a required field Principal *string `type:"string" required:"true"` // Only update the policy if the revision ID matches the ID specified. Use this // option to avoid modifying a policy that has changed since you last read it. RevisionId *string `location:"querystring" locationName:"RevisionId" type:"string"` // An identifier that distinguishes the policy from others on the same layer // version. // // StatementId is a required field StatementId *string `min:"1" type:"string" required:"true"` // The version number. // // VersionNumber is a required field VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"` // contains filtered or unexported fields }
func (AddLayerVersionPermissionInput) GoString ¶ added in v1.15.87
func (s AddLayerVersionPermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLayerVersionPermissionInput) SetAction ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetAction(v string) *AddLayerVersionPermissionInput
SetAction sets the Action field's value.
func (*AddLayerVersionPermissionInput) SetLayerName ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetLayerName(v string) *AddLayerVersionPermissionInput
SetLayerName sets the LayerName field's value.
func (*AddLayerVersionPermissionInput) SetOrganizationId ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetOrganizationId(v string) *AddLayerVersionPermissionInput
SetOrganizationId sets the OrganizationId field's value.
func (*AddLayerVersionPermissionInput) SetPrincipal ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetPrincipal(v string) *AddLayerVersionPermissionInput
SetPrincipal sets the Principal field's value.
func (*AddLayerVersionPermissionInput) SetRevisionId ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetRevisionId(v string) *AddLayerVersionPermissionInput
SetRevisionId sets the RevisionId field's value.
func (*AddLayerVersionPermissionInput) SetStatementId ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetStatementId(v string) *AddLayerVersionPermissionInput
SetStatementId sets the StatementId field's value.
func (*AddLayerVersionPermissionInput) SetVersionNumber ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) SetVersionNumber(v int64) *AddLayerVersionPermissionInput
SetVersionNumber sets the VersionNumber field's value.
func (AddLayerVersionPermissionInput) String ¶ added in v1.15.87
func (s AddLayerVersionPermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLayerVersionPermissionInput) Validate ¶ added in v1.15.87
func (s *AddLayerVersionPermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddLayerVersionPermissionOutput ¶ added in v1.15.87
type AddLayerVersionPermissionOutput struct { // A unique identifier for the current revision of the policy. RevisionId *string `type:"string"` // The permission statement. Statement *string `type:"string"` // contains filtered or unexported fields }
func (AddLayerVersionPermissionOutput) GoString ¶ added in v1.15.87
func (s AddLayerVersionPermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddLayerVersionPermissionOutput) SetRevisionId ¶ added in v1.15.87
func (s *AddLayerVersionPermissionOutput) SetRevisionId(v string) *AddLayerVersionPermissionOutput
SetRevisionId sets the RevisionId field's value.
func (*AddLayerVersionPermissionOutput) SetStatement ¶ added in v1.15.87
func (s *AddLayerVersionPermissionOutput) SetStatement(v string) *AddLayerVersionPermissionOutput
SetStatement sets the Statement field's value.
func (AddLayerVersionPermissionOutput) String ¶ added in v1.15.87
func (s AddLayerVersionPermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AddPermissionInput ¶
type AddPermissionInput struct { // The action that the principal can use on the function. For example, lambda:InvokeFunction // or lambda:GetFunction. // // Action is a required field Action *string `type:"string" required:"true"` // For Alexa Smart Home functions, a token that the invoker must supply. EventSourceToken *string `type:"string"` // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). FunctionUrlAuthType *string `type:"string" enum:"FunctionUrlAuthType"` // The Amazon Web Service or Amazon Web Services account that invokes the function. // If you specify a service, use SourceArn or SourceAccount to limit who can // invoke the function through that service. // // Principal is a required field Principal *string `type:"string" required:"true"` // The identifier for your organization in Organizations. Use this to grant // permissions to all the Amazon Web Services accounts under this organization. PrincipalOrgID *string `min:"12" type:"string"` // Specify a version or alias to add permissions to a published version of the // function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // Update the policy only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a policy that has changed since you last // read it. RevisionId *string `type:"string"` // For Amazon Web Service, the ID of the Amazon Web Services account that owns // the resource. Use this together with SourceArn to ensure that the specified // account owns the resource. It is possible for an Amazon S3 bucket to be deleted // by its owner and recreated by another account. SourceAccount *string `type:"string"` // For Amazon Web Services, the ARN of the Amazon Web Services resource that // invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. // // Note that Lambda configures the comparison using the StringLike operator. SourceArn *string `type:"string"` // A statement identifier that differentiates the statement from others in the // same policy. // // StatementId is a required field StatementId *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (AddPermissionInput) GoString ¶ added in v0.6.5
func (s AddPermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddPermissionInput) SetAction ¶ added in v1.5.0
func (s *AddPermissionInput) SetAction(v string) *AddPermissionInput
SetAction sets the Action field's value.
func (*AddPermissionInput) SetEventSourceToken ¶ added in v1.5.0
func (s *AddPermissionInput) SetEventSourceToken(v string) *AddPermissionInput
SetEventSourceToken sets the EventSourceToken field's value.
func (*AddPermissionInput) SetFunctionName ¶ added in v1.5.0
func (s *AddPermissionInput) SetFunctionName(v string) *AddPermissionInput
SetFunctionName sets the FunctionName field's value.
func (*AddPermissionInput) SetFunctionUrlAuthType ¶ added in v1.43.34
func (s *AddPermissionInput) SetFunctionUrlAuthType(v string) *AddPermissionInput
SetFunctionUrlAuthType sets the FunctionUrlAuthType field's value.
func (*AddPermissionInput) SetPrincipal ¶ added in v1.5.0
func (s *AddPermissionInput) SetPrincipal(v string) *AddPermissionInput
SetPrincipal sets the Principal field's value.
func (*AddPermissionInput) SetPrincipalOrgID ¶ added in v1.43.17
func (s *AddPermissionInput) SetPrincipalOrgID(v string) *AddPermissionInput
SetPrincipalOrgID sets the PrincipalOrgID field's value.
func (*AddPermissionInput) SetQualifier ¶ added in v1.5.0
func (s *AddPermissionInput) SetQualifier(v string) *AddPermissionInput
SetQualifier sets the Qualifier field's value.
func (*AddPermissionInput) SetRevisionId ¶ added in v1.12.69
func (s *AddPermissionInput) SetRevisionId(v string) *AddPermissionInput
SetRevisionId sets the RevisionId field's value.
func (*AddPermissionInput) SetSourceAccount ¶ added in v1.5.0
func (s *AddPermissionInput) SetSourceAccount(v string) *AddPermissionInput
SetSourceAccount sets the SourceAccount field's value.
func (*AddPermissionInput) SetSourceArn ¶ added in v1.5.0
func (s *AddPermissionInput) SetSourceArn(v string) *AddPermissionInput
SetSourceArn sets the SourceArn field's value.
func (*AddPermissionInput) SetStatementId ¶ added in v1.5.0
func (s *AddPermissionInput) SetStatementId(v string) *AddPermissionInput
SetStatementId sets the StatementId field's value.
func (AddPermissionInput) String ¶ added in v0.6.5
func (s AddPermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddPermissionInput) Validate ¶ added in v1.1.21
func (s *AddPermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddPermissionOutput ¶
type AddPermissionOutput struct { // The permission statement that's added to the function policy. Statement *string `type:"string"` // contains filtered or unexported fields }
func (AddPermissionOutput) GoString ¶ added in v0.6.5
func (s AddPermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AddPermissionOutput) SetStatement ¶ added in v1.5.0
func (s *AddPermissionOutput) SetStatement(v string) *AddPermissionOutput
SetStatement sets the Statement field's value.
func (AddPermissionOutput) String ¶ added in v0.6.5
func (s AddPermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AliasConfiguration ¶ added in v0.9.14
type AliasConfiguration struct { // The Amazon Resource Name (ARN) of the alias. AliasArn *string `type:"string"` // A description of the alias. Description *string `type:"string"` // The function version that the alias invokes. FunctionVersion *string `min:"1" type:"string"` // The name of the alias. Name *string `min:"1" type:"string"` // A unique identifier that changes when you update the alias. RevisionId *string `type:"string"` // The routing configuration (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *AliasRoutingConfiguration `type:"structure"` // contains filtered or unexported fields }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html).
func (AliasConfiguration) GoString ¶ added in v0.9.14
func (s AliasConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AliasConfiguration) SetAliasArn ¶ added in v1.5.0
func (s *AliasConfiguration) SetAliasArn(v string) *AliasConfiguration
SetAliasArn sets the AliasArn field's value.
func (*AliasConfiguration) SetDescription ¶ added in v1.5.0
func (s *AliasConfiguration) SetDescription(v string) *AliasConfiguration
SetDescription sets the Description field's value.
func (*AliasConfiguration) SetFunctionVersion ¶ added in v1.5.0
func (s *AliasConfiguration) SetFunctionVersion(v string) *AliasConfiguration
SetFunctionVersion sets the FunctionVersion field's value.
func (*AliasConfiguration) SetName ¶ added in v1.5.0
func (s *AliasConfiguration) SetName(v string) *AliasConfiguration
SetName sets the Name field's value.
func (*AliasConfiguration) SetRevisionId ¶ added in v1.12.69
func (s *AliasConfiguration) SetRevisionId(v string) *AliasConfiguration
SetRevisionId sets the RevisionId field's value.
func (*AliasConfiguration) SetRoutingConfig ¶ added in v1.12.35
func (s *AliasConfiguration) SetRoutingConfig(v *AliasRoutingConfiguration) *AliasConfiguration
SetRoutingConfig sets the RoutingConfig field's value.
func (AliasConfiguration) String ¶ added in v0.9.14
func (s AliasConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AliasRoutingConfiguration ¶ added in v1.12.35
type AliasRoutingConfiguration struct { // The second version, and the percentage of traffic that's routed to it. AdditionalVersionWeights map[string]*float64 `type:"map"` // contains filtered or unexported fields }
The traffic-shifting (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) configuration of a Lambda function alias.
func (AliasRoutingConfiguration) GoString ¶ added in v1.12.35
func (s AliasRoutingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AliasRoutingConfiguration) SetAdditionalVersionWeights ¶ added in v1.12.35
func (s *AliasRoutingConfiguration) SetAdditionalVersionWeights(v map[string]*float64) *AliasRoutingConfiguration
SetAdditionalVersionWeights sets the AdditionalVersionWeights field's value.
func (AliasRoutingConfiguration) String ¶ added in v1.12.35
func (s AliasRoutingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AllowedPublishers ¶ added in v1.35.34
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. // // SigningProfileVersionArns is a required field SigningProfileVersionArns []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
List of signing profiles that can sign a code package.
func (AllowedPublishers) GoString ¶ added in v1.35.34
func (s AllowedPublishers) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AllowedPublishers) SetSigningProfileVersionArns ¶ added in v1.35.34
func (s *AllowedPublishers) SetSigningProfileVersionArns(v []*string) *AllowedPublishers
SetSigningProfileVersionArns sets the SigningProfileVersionArns field's value.
func (AllowedPublishers) String ¶ added in v1.35.34
func (s AllowedPublishers) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AllowedPublishers) Validate ¶ added in v1.35.34
func (s *AllowedPublishers) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AmazonManagedKafkaEventSourceConfig ¶ added in v1.44.79
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 (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). ConsumerGroupId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
func (AmazonManagedKafkaEventSourceConfig) GoString ¶ added in v1.44.79
func (s AmazonManagedKafkaEventSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmazonManagedKafkaEventSourceConfig) SetConsumerGroupId ¶ added in v1.44.79
func (s *AmazonManagedKafkaEventSourceConfig) SetConsumerGroupId(v string) *AmazonManagedKafkaEventSourceConfig
SetConsumerGroupId sets the ConsumerGroupId field's value.
func (AmazonManagedKafkaEventSourceConfig) String ¶ added in v1.44.79
func (s AmazonManagedKafkaEventSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*AmazonManagedKafkaEventSourceConfig) Validate ¶ added in v1.44.79
func (s *AmazonManagedKafkaEventSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CodeSigningConfig ¶ added in v1.35.34
type CodeSigningConfig struct { // List of allowed publishers. // // AllowedPublishers is a required field AllowedPublishers *AllowedPublishers `type:"structure" required:"true"` // The Amazon Resource Name (ARN) of the Code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `type:"string" required:"true"` // Unique identifer for the Code signing configuration. // // CodeSigningConfigId is a required field CodeSigningConfigId *string `type:"string" required:"true"` // The code signing policy controls the validation failure action for signature // mismatch or expiry. // // CodeSigningPolicies is a required field CodeSigningPolicies *CodeSigningPolicies `type:"structure" required:"true"` // Code signing configuration description. Description *string `type:"string"` // The date and time that the Code signing configuration was last modified, // in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). // // LastModified is a required field LastModified *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about a Code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
func (CodeSigningConfig) GoString ¶ added in v1.35.34
func (s CodeSigningConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeSigningConfig) SetAllowedPublishers ¶ added in v1.35.34
func (s *CodeSigningConfig) SetAllowedPublishers(v *AllowedPublishers) *CodeSigningConfig
SetAllowedPublishers sets the AllowedPublishers field's value.
func (*CodeSigningConfig) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *CodeSigningConfig) SetCodeSigningConfigArn(v string) *CodeSigningConfig
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*CodeSigningConfig) SetCodeSigningConfigId ¶ added in v1.35.34
func (s *CodeSigningConfig) SetCodeSigningConfigId(v string) *CodeSigningConfig
SetCodeSigningConfigId sets the CodeSigningConfigId field's value.
func (*CodeSigningConfig) SetCodeSigningPolicies ¶ added in v1.35.34
func (s *CodeSigningConfig) SetCodeSigningPolicies(v *CodeSigningPolicies) *CodeSigningConfig
SetCodeSigningPolicies sets the CodeSigningPolicies field's value.
func (*CodeSigningConfig) SetDescription ¶ added in v1.35.34
func (s *CodeSigningConfig) SetDescription(v string) *CodeSigningConfig
SetDescription sets the Description field's value.
func (*CodeSigningConfig) SetLastModified ¶ added in v1.35.34
func (s *CodeSigningConfig) SetLastModified(v string) *CodeSigningConfig
SetLastModified sets the LastModified field's value.
func (CodeSigningConfig) String ¶ added in v1.35.34
func (s CodeSigningConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeSigningConfigNotFoundException ¶ added in v1.35.34
type CodeSigningConfigNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The specified code signing configuration does not exist.
func (*CodeSigningConfigNotFoundException) Code ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) Code() string
Code returns the exception type name.
func (*CodeSigningConfigNotFoundException) Error ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) Error() string
func (CodeSigningConfigNotFoundException) GoString ¶ added in v1.35.34
func (s CodeSigningConfigNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeSigningConfigNotFoundException) Message ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) Message() string
Message returns the exception's message.
func (*CodeSigningConfigNotFoundException) OrigErr ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CodeSigningConfigNotFoundException) RequestID ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CodeSigningConfigNotFoundException) StatusCode ¶ added in v1.35.34
func (s *CodeSigningConfigNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CodeSigningConfigNotFoundException) String ¶ added in v1.35.34
func (s CodeSigningConfigNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeSigningPolicies ¶ added in v1.35.34
type CodeSigningPolicies struct { // Code signing configuration policy for deployment validation failure. If you // set the policy to Enforce, Lambda blocks the deployment request if signature // validation checks fail. If you set the policy to Warn, Lambda allows the // deployment and creates a CloudWatch log. // // Default value: Warn UntrustedArtifactOnDeployment *string `type:"string" enum:"CodeSigningPolicy"` // contains filtered or unexported fields }
Code signing configuration policies (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html#config-codesigning-policies) specify the validation failure action for signature mismatch or expiry.
func (CodeSigningPolicies) GoString ¶ added in v1.35.34
func (s CodeSigningPolicies) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeSigningPolicies) SetUntrustedArtifactOnDeployment ¶ added in v1.35.34
func (s *CodeSigningPolicies) SetUntrustedArtifactOnDeployment(v string) *CodeSigningPolicies
SetUntrustedArtifactOnDeployment sets the UntrustedArtifactOnDeployment field's value.
func (CodeSigningPolicies) String ¶ added in v1.35.34
func (s CodeSigningPolicies) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeStorageExceededException ¶ added in v1.28.0
type CodeStorageExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` // The exception type. Type *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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
func (*CodeStorageExceededException) Code ¶ added in v1.28.0
func (s *CodeStorageExceededException) Code() string
Code returns the exception type name.
func (*CodeStorageExceededException) Error ¶ added in v1.28.0
func (s *CodeStorageExceededException) Error() string
func (CodeStorageExceededException) GoString ¶ added in v1.28.0
func (s CodeStorageExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeStorageExceededException) Message ¶ added in v1.28.0
func (s *CodeStorageExceededException) Message() string
Message returns the exception's message.
func (*CodeStorageExceededException) OrigErr ¶ added in v1.28.0
func (s *CodeStorageExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CodeStorageExceededException) RequestID ¶ added in v1.28.0
func (s *CodeStorageExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CodeStorageExceededException) StatusCode ¶ added in v1.28.0
func (s *CodeStorageExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CodeStorageExceededException) String ¶ added in v1.28.0
func (s CodeStorageExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CodeVerificationFailedException ¶ added in v1.35.34
type CodeVerificationFailedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.35.34
func (s *CodeVerificationFailedException) Code() string
Code returns the exception type name.
func (*CodeVerificationFailedException) Error ¶ added in v1.35.34
func (s *CodeVerificationFailedException) Error() string
func (CodeVerificationFailedException) GoString ¶ added in v1.35.34
func (s CodeVerificationFailedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CodeVerificationFailedException) Message ¶ added in v1.35.34
func (s *CodeVerificationFailedException) Message() string
Message returns the exception's message.
func (*CodeVerificationFailedException) OrigErr ¶ added in v1.35.34
func (s *CodeVerificationFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*CodeVerificationFailedException) RequestID ¶ added in v1.35.34
func (s *CodeVerificationFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*CodeVerificationFailedException) StatusCode ¶ added in v1.35.34
func (s *CodeVerificationFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (CodeVerificationFailedException) String ¶ added in v1.35.34
func (s CodeVerificationFailedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Cors ¶ added in v1.42.9
type Cors struct { // Whether to allow cookies or other credentials in requests to your function // URL. The default is false. AllowCredentials *bool `type:"boolean"` // The HTTP headers that origins can include in requests to your function URL. // For example: Date, Keep-Alive, X-Custom-Header. AllowHeaders []*string `type:"list"` // The HTTP methods that are allowed when calling your function URL. For example: // GET, POST, DELETE, or the wildcard character (*). AllowMethods []*string `type:"list"` // 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 `type:"list"` // 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 `type:"list"` // 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 *int64 `type:"integer"` // contains filtered or unexported fields }
The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.
func (Cors) GoString ¶ added in v1.42.9
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Cors) SetAllowCredentials ¶ added in v1.42.9
SetAllowCredentials sets the AllowCredentials field's value.
func (*Cors) SetAllowHeaders ¶ added in v1.42.9
SetAllowHeaders sets the AllowHeaders field's value.
func (*Cors) SetAllowMethods ¶ added in v1.42.9
SetAllowMethods sets the AllowMethods field's value.
func (*Cors) SetAllowOrigins ¶ added in v1.42.9
SetAllowOrigins sets the AllowOrigins field's value.
func (*Cors) SetExposeHeaders ¶ added in v1.42.9
SetExposeHeaders sets the ExposeHeaders field's value.
type CreateAliasInput ¶ added in v0.9.14
type CreateAliasInput struct { // A description of the alias. Description *string `type:"string"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The function version that the alias invokes. // // FunctionVersion is a required field FunctionVersion *string `min:"1" type:"string" required:"true"` // The name of the alias. // // Name is a required field Name *string `min:"1" type:"string" required:"true"` // The routing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) // of the alias. RoutingConfig *AliasRoutingConfiguration `type:"structure"` // contains filtered or unexported fields }
func (CreateAliasInput) GoString ¶ added in v0.9.14
func (s CreateAliasInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateAliasInput) SetDescription ¶ added in v1.5.0
func (s *CreateAliasInput) SetDescription(v string) *CreateAliasInput
SetDescription sets the Description field's value.
func (*CreateAliasInput) SetFunctionName ¶ added in v1.5.0
func (s *CreateAliasInput) SetFunctionName(v string) *CreateAliasInput
SetFunctionName sets the FunctionName field's value.
func (*CreateAliasInput) SetFunctionVersion ¶ added in v1.5.0
func (s *CreateAliasInput) SetFunctionVersion(v string) *CreateAliasInput
SetFunctionVersion sets the FunctionVersion field's value.
func (*CreateAliasInput) SetName ¶ added in v1.5.0
func (s *CreateAliasInput) SetName(v string) *CreateAliasInput
SetName sets the Name field's value.
func (*CreateAliasInput) SetRoutingConfig ¶ added in v1.12.35
func (s *CreateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *CreateAliasInput
SetRoutingConfig sets the RoutingConfig field's value.
func (CreateAliasInput) String ¶ added in v0.9.14
func (s CreateAliasInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateAliasInput) Validate ¶ added in v1.1.21
func (s *CreateAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCodeSigningConfigInput ¶ added in v1.35.34
type CreateCodeSigningConfigInput struct { // Signing profiles for this code signing configuration. // // AllowedPublishers is a required field AllowedPublishers *AllowedPublishers `type:"structure" required:"true"` // The code signing policies define the actions to take if the validation checks // fail. CodeSigningPolicies *CodeSigningPolicies `type:"structure"` // Descriptive name for this code signing configuration. Description *string `type:"string"` // contains filtered or unexported fields }
func (CreateCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s CreateCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeSigningConfigInput) SetAllowedPublishers ¶ added in v1.35.34
func (s *CreateCodeSigningConfigInput) SetAllowedPublishers(v *AllowedPublishers) *CreateCodeSigningConfigInput
SetAllowedPublishers sets the AllowedPublishers field's value.
func (*CreateCodeSigningConfigInput) SetCodeSigningPolicies ¶ added in v1.35.34
func (s *CreateCodeSigningConfigInput) SetCodeSigningPolicies(v *CodeSigningPolicies) *CreateCodeSigningConfigInput
SetCodeSigningPolicies sets the CodeSigningPolicies field's value.
func (*CreateCodeSigningConfigInput) SetDescription ¶ added in v1.35.34
func (s *CreateCodeSigningConfigInput) SetDescription(v string) *CreateCodeSigningConfigInput
SetDescription sets the Description field's value.
func (CreateCodeSigningConfigInput) String ¶ added in v1.35.34
func (s CreateCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *CreateCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCodeSigningConfigOutput ¶ added in v1.35.34
type CreateCodeSigningConfigOutput struct { // The code signing configuration. // // CodeSigningConfig is a required field CodeSigningConfig *CodeSigningConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
func (CreateCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s CreateCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateCodeSigningConfigOutput) SetCodeSigningConfig ¶ added in v1.35.34
func (s *CreateCodeSigningConfigOutput) SetCodeSigningConfig(v *CodeSigningConfig) *CreateCodeSigningConfigOutput
SetCodeSigningConfig sets the CodeSigningConfig field's value.
func (CreateCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s CreateCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateEventSourceMappingInput ¶
type CreateEventSourceMappingInput struct { // Specific configuration settings for an Amazon Managed Streaming for Apache // Kafka (Amazon MSK) event source. AmazonManagedKafkaEventSourceConfig *AmazonManagedKafkaEventSourceConfig `type:"structure"` // 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). // // * Amazon Kinesis – Default 100. Max 10,000. // // * Amazon DynamoDB Streams – Default 100. Max 10,000. // // * Amazon Simple Queue Service – Default 10. For standard queues the // max is 10,000. For FIFO queues the max is 10. // // * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000. // // * Self-managed Apache Kafka – Default 100. Max 10,000. // // * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000. // // * DocumentDB – Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Kinesis and DynamoDB Streams only) If the function returns an error, split // the batch in two and retry. BisectBatchOnFunctionError *bool `type:"boolean"` // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration // object that specifies the destination of an event after Lambda processes // it. DestinationConfig *DestinationConfig `type:"structure"` // Specific configuration settings for a DocumentDB event source. DocumentDBEventSourceConfig *DocumentDBEventSourceConfig `type:"structure"` // When true, the event source mapping is active. When false, Lambda pauses // polling and invocation. // // Default: True Enabled *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the event source. // // * Amazon Kinesis – The ARN of the data stream or a stream consumer. // // * Amazon DynamoDB Streams – The ARN of the stream. // // * Amazon Simple Queue Service – The ARN of the queue. // // * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster // or the ARN of the VPC connection (for cross-account event source mappings // (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). // // * Amazon MQ – The ARN of the broker. // // * Amazon DocumentDB – The ARN of the DocumentDB change stream. EventSourceArn *string `type:"string"` // An object that defines the filter criteria that determine whether Lambda // should process an event. For more information, see Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – MyFunction. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type // enums applied to the event source mapping. FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // 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 *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records older than the specified // age. The default value is infinite (-1). MaximumRecordAgeInSeconds *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records after the specified number // of retries. The default value is infinite (-1). When set to infinite (-1), // failed records are retried until the record expires. MaximumRetryAttempts *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) The number of batches to process from // each shard concurrently. ParallelizationFactor *int64 `min:"1" type:"integer"` // (MQ) The name of the Amazon MQ broker destination queue to consume. Queues []*string `min:"1" type:"list"` // (Amazon SQS only) The scaling configuration for the event source. For more // information, see 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 `type:"structure"` // The self-managed Apache Kafka cluster to receive records from. SelfManagedEventSource *SelfManagedEventSource `type:"structure"` // Specific configuration settings for a self-managed Apache Kafka event source. SelfManagedKafkaEventSourceConfig *SelfManagedKafkaEventSourceConfig `type:"structure"` // An array of authentication protocols or VPC components required to secure // your event source. SourceAccessConfigurations []*SourceAccessConfiguration `type:"list"` // 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 *string `type:"string" enum:"EventSourcePosition"` // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. // StartingPositionTimestamp cannot be in the future. StartingPositionTimestamp *time.Time `type:"timestamp"` // The name of the Kafka topic. Topics []*string `min:"1" type:"list"` // (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 *int64 `type:"integer"` // contains filtered or unexported fields }
func (CreateEventSourceMappingInput) GoString ¶ added in v0.6.5
func (s CreateEventSourceMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEventSourceMappingInput) SetAmazonManagedKafkaEventSourceConfig ¶ added in v1.44.79
func (s *CreateEventSourceMappingInput) SetAmazonManagedKafkaEventSourceConfig(v *AmazonManagedKafkaEventSourceConfig) *CreateEventSourceMappingInput
SetAmazonManagedKafkaEventSourceConfig sets the AmazonManagedKafkaEventSourceConfig field's value.
func (*CreateEventSourceMappingInput) SetBatchSize ¶ added in v1.5.0
func (s *CreateEventSourceMappingInput) SetBatchSize(v int64) *CreateEventSourceMappingInput
SetBatchSize sets the BatchSize field's value.
func (*CreateEventSourceMappingInput) SetBisectBatchOnFunctionError ¶ added in v1.25.42
func (s *CreateEventSourceMappingInput) SetBisectBatchOnFunctionError(v bool) *CreateEventSourceMappingInput
SetBisectBatchOnFunctionError sets the BisectBatchOnFunctionError field's value.
func (*CreateEventSourceMappingInput) SetDestinationConfig ¶ added in v1.25.42
func (s *CreateEventSourceMappingInput) SetDestinationConfig(v *DestinationConfig) *CreateEventSourceMappingInput
SetDestinationConfig sets the DestinationConfig field's value.
func (*CreateEventSourceMappingInput) SetDocumentDBEventSourceConfig ¶ added in v1.44.210
func (s *CreateEventSourceMappingInput) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *CreateEventSourceMappingInput
SetDocumentDBEventSourceConfig sets the DocumentDBEventSourceConfig field's value.
func (*CreateEventSourceMappingInput) SetEnabled ¶ added in v1.5.0
func (s *CreateEventSourceMappingInput) SetEnabled(v bool) *CreateEventSourceMappingInput
SetEnabled sets the Enabled field's value.
func (*CreateEventSourceMappingInput) SetEventSourceArn ¶ added in v1.5.0
func (s *CreateEventSourceMappingInput) SetEventSourceArn(v string) *CreateEventSourceMappingInput
SetEventSourceArn sets the EventSourceArn field's value.
func (*CreateEventSourceMappingInput) SetFilterCriteria ¶ added in v1.42.11
func (s *CreateEventSourceMappingInput) SetFilterCriteria(v *FilterCriteria) *CreateEventSourceMappingInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*CreateEventSourceMappingInput) SetFunctionName ¶ added in v1.5.0
func (s *CreateEventSourceMappingInput) SetFunctionName(v string) *CreateEventSourceMappingInput
SetFunctionName sets the FunctionName field's value.
func (*CreateEventSourceMappingInput) SetFunctionResponseTypes ¶ added in v1.36.9
func (s *CreateEventSourceMappingInput) SetFunctionResponseTypes(v []*string) *CreateEventSourceMappingInput
SetFunctionResponseTypes sets the FunctionResponseTypes field's value.
func (*CreateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds ¶ added in v1.23.12
func (s *CreateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds(v int64) *CreateEventSourceMappingInput
SetMaximumBatchingWindowInSeconds sets the MaximumBatchingWindowInSeconds field's value.
func (*CreateEventSourceMappingInput) SetMaximumRecordAgeInSeconds ¶ added in v1.25.42
func (s *CreateEventSourceMappingInput) SetMaximumRecordAgeInSeconds(v int64) *CreateEventSourceMappingInput
SetMaximumRecordAgeInSeconds sets the MaximumRecordAgeInSeconds field's value.
func (*CreateEventSourceMappingInput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *CreateEventSourceMappingInput) SetMaximumRetryAttempts(v int64) *CreateEventSourceMappingInput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (*CreateEventSourceMappingInput) SetParallelizationFactor ¶ added in v1.25.42
func (s *CreateEventSourceMappingInput) SetParallelizationFactor(v int64) *CreateEventSourceMappingInput
SetParallelizationFactor sets the ParallelizationFactor field's value.
func (*CreateEventSourceMappingInput) SetQueues ¶ added in v1.35.22
func (s *CreateEventSourceMappingInput) SetQueues(v []*string) *CreateEventSourceMappingInput
SetQueues sets the Queues field's value.
func (*CreateEventSourceMappingInput) SetScalingConfig ¶ added in v1.44.179
func (s *CreateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *CreateEventSourceMappingInput
SetScalingConfig sets the ScalingConfig field's value.
func (*CreateEventSourceMappingInput) SetSelfManagedEventSource ¶ added in v1.36.9
func (s *CreateEventSourceMappingInput) SetSelfManagedEventSource(v *SelfManagedEventSource) *CreateEventSourceMappingInput
SetSelfManagedEventSource sets the SelfManagedEventSource field's value.
func (*CreateEventSourceMappingInput) SetSelfManagedKafkaEventSourceConfig ¶ added in v1.44.79
func (s *CreateEventSourceMappingInput) SetSelfManagedKafkaEventSourceConfig(v *SelfManagedKafkaEventSourceConfig) *CreateEventSourceMappingInput
SetSelfManagedKafkaEventSourceConfig sets the SelfManagedKafkaEventSourceConfig field's value.
func (*CreateEventSourceMappingInput) SetSourceAccessConfigurations ¶ added in v1.35.22
func (s *CreateEventSourceMappingInput) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *CreateEventSourceMappingInput
SetSourceAccessConfigurations sets the SourceAccessConfigurations field's value.
func (*CreateEventSourceMappingInput) SetStartingPosition ¶ added in v1.5.0
func (s *CreateEventSourceMappingInput) SetStartingPosition(v string) *CreateEventSourceMappingInput
SetStartingPosition sets the StartingPosition field's value.
func (*CreateEventSourceMappingInput) SetStartingPositionTimestamp ¶ added in v1.5.13
func (s *CreateEventSourceMappingInput) SetStartingPositionTimestamp(v time.Time) *CreateEventSourceMappingInput
SetStartingPositionTimestamp sets the StartingPositionTimestamp field's value.
func (*CreateEventSourceMappingInput) SetTopics ¶ added in v1.34.2
func (s *CreateEventSourceMappingInput) SetTopics(v []*string) *CreateEventSourceMappingInput
SetTopics sets the Topics field's value.
func (*CreateEventSourceMappingInput) SetTumblingWindowInSeconds ¶ added in v1.36.9
func (s *CreateEventSourceMappingInput) SetTumblingWindowInSeconds(v int64) *CreateEventSourceMappingInput
SetTumblingWindowInSeconds sets the TumblingWindowInSeconds field's value.
func (CreateEventSourceMappingInput) String ¶ added in v0.6.5
func (s CreateEventSourceMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateEventSourceMappingInput) Validate ¶ added in v1.1.21
func (s *CreateEventSourceMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionInput ¶
type CreateFunctionInput struct { // The instruction set architecture that the function supports. Enter a string // array with one of the valid values (arm64 or x86_64). The default value is // x86_64. Architectures []*string `min:"1" type:"list" enum:"Architecture"` // The code for the function. // // Code is a required field Code *FunctionCode `type:"structure" required:"true"` // To enable code signing for this function, specify the ARN of a code-signing // configuration. A code-signing configuration includes a set of signing profiles, // which define the trusted publishers for this function. CodeSigningConfigArn *string `type:"string"` // A dead-letter queue configuration that specifies the queue or topic where // Lambda sends asynchronous events when they fail processing. For more information, // see Dead-letter queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). DeadLetterConfig *DeadLetterConfig `type:"structure"` // A description of the function. Description *string `type:"string"` // Environment variables that are accessible from function code during execution. Environment *Environment `type:"structure"` // 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) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system. FileSystemConfigs []*FileSystemConfig `type:"list"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // The name of the method within your code that Lambda calls to run your function. // Handler is required if the deployment package is a .zip file archive. The // format includes the file name. It can also include namespaces and other qualifiers, // depending on the runtime. For more information, see Lambda programming model // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). Handler *string `type:"string"` // Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) // that override the values in the container image Dockerfile. ImageConfig *ImageConfig `type:"structure"` // The ARN of the Key Management Service (KMS) customer managed key that's used // to encrypt your function's environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). // When Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) // is activated, Lambda also uses this key is to encrypt your function's snapshot. // If you deploy your function using a container image, Lambda also uses this // key to encrypt your function when it's deployed. Note that this is not the // same key that's used to protect your container image in the Amazon Elastic // Container Registry (Amazon ECR). If you don't provide a customer managed // key, Lambda uses a default service key. KMSKeyArn *string `type:"string"` // A list of function layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) // to add to the function's execution environment. Specify each layer by its // ARN, including the version. Layers []*string `type:"list"` // The function's Amazon CloudWatch Logs configuration settings. LoggingConfig *LoggingConfig `type:"structure"` // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) // at runtime. Increasing the function memory also increases its CPU allocation. // The default value is 128 MB. The value can be any multiple of 1 MB. MemorySize *int64 `min:"128" type:"integer"` // The type of deployment package. Set to Image for container image and set // to Zip for .zip file archive. PackageType *string `type:"string" enum:"PackageType"` // Set to true to publish the first version of the function during creation. Publish *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the function's execution role. // // Role is a required field Role *string `type:"string" required:"true"` // The identifier of the function's runtime (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Runtime is required if the deployment package is a .zip file archive. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). Runtime *string `type:"string" enum:"Runtime"` // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) // setting. SnapStart *SnapStart `type:"structure"` // A list of tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) // to apply to the function. Tags map[string]*string `type:"map"` // The amount of time (in seconds) that Lambda allows a function to run before // stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. // For more information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int64 `min:"1" type:"integer"` // Set Mode to Active to sample and trace a subset of incoming requests with // X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). TracingConfig *TracingConfig `type:"structure"` // For network connectivity to Amazon Web Services resources in a VPC, specify // a list of security groups and subnets in the VPC. When you connect a function // to a VPC, it can access resources and the internet only through that VPC. // For more information, see Configuring a Lambda function to access resources // in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *VpcConfig `type:"structure"` // contains filtered or unexported fields }
func (CreateFunctionInput) GoString ¶ added in v0.6.5
func (s CreateFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFunctionInput) SetArchitectures ¶ added in v1.40.52
func (s *CreateFunctionInput) SetArchitectures(v []*string) *CreateFunctionInput
SetArchitectures sets the Architectures field's value.
func (*CreateFunctionInput) SetCode ¶ added in v1.5.0
func (s *CreateFunctionInput) SetCode(v *FunctionCode) *CreateFunctionInput
SetCode sets the Code field's value.
func (*CreateFunctionInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *CreateFunctionInput) SetCodeSigningConfigArn(v string) *CreateFunctionInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*CreateFunctionInput) SetDeadLetterConfig ¶ added in v1.5.13
func (s *CreateFunctionInput) SetDeadLetterConfig(v *DeadLetterConfig) *CreateFunctionInput
SetDeadLetterConfig sets the DeadLetterConfig field's value.
func (*CreateFunctionInput) SetDescription ¶ added in v1.5.0
func (s *CreateFunctionInput) SetDescription(v string) *CreateFunctionInput
SetDescription sets the Description field's value.
func (*CreateFunctionInput) SetEnvironment ¶ added in v1.5.8
func (s *CreateFunctionInput) SetEnvironment(v *Environment) *CreateFunctionInput
SetEnvironment sets the Environment field's value.
func (*CreateFunctionInput) SetEphemeralStorage ¶ added in v1.43.25
func (s *CreateFunctionInput) SetEphemeralStorage(v *EphemeralStorage) *CreateFunctionInput
SetEphemeralStorage sets the EphemeralStorage field's value.
func (*CreateFunctionInput) SetFileSystemConfigs ¶ added in v1.32.3
func (s *CreateFunctionInput) SetFileSystemConfigs(v []*FileSystemConfig) *CreateFunctionInput
SetFileSystemConfigs sets the FileSystemConfigs field's value.
func (*CreateFunctionInput) SetFunctionName ¶ added in v1.5.0
func (s *CreateFunctionInput) SetFunctionName(v string) *CreateFunctionInput
SetFunctionName sets the FunctionName field's value.
func (*CreateFunctionInput) SetHandler ¶ added in v1.5.0
func (s *CreateFunctionInput) SetHandler(v string) *CreateFunctionInput
SetHandler sets the Handler field's value.
func (*CreateFunctionInput) SetImageConfig ¶ added in v1.35.37
func (s *CreateFunctionInput) SetImageConfig(v *ImageConfig) *CreateFunctionInput
SetImageConfig sets the ImageConfig field's value.
func (*CreateFunctionInput) SetKMSKeyArn ¶ added in v1.5.8
func (s *CreateFunctionInput) SetKMSKeyArn(v string) *CreateFunctionInput
SetKMSKeyArn sets the KMSKeyArn field's value.
func (*CreateFunctionInput) SetLayers ¶ added in v1.15.87
func (s *CreateFunctionInput) SetLayers(v []*string) *CreateFunctionInput
SetLayers sets the Layers field's value.
func (*CreateFunctionInput) SetLoggingConfig ¶ added in v1.47.13
func (s *CreateFunctionInput) SetLoggingConfig(v *LoggingConfig) *CreateFunctionInput
SetLoggingConfig sets the LoggingConfig field's value.
func (*CreateFunctionInput) SetMemorySize ¶ added in v1.5.0
func (s *CreateFunctionInput) SetMemorySize(v int64) *CreateFunctionInput
SetMemorySize sets the MemorySize field's value.
func (*CreateFunctionInput) SetPackageType ¶ added in v1.35.37
func (s *CreateFunctionInput) SetPackageType(v string) *CreateFunctionInput
SetPackageType sets the PackageType field's value.
func (*CreateFunctionInput) SetPublish ¶ added in v1.5.0
func (s *CreateFunctionInput) SetPublish(v bool) *CreateFunctionInput
SetPublish sets the Publish field's value.
func (*CreateFunctionInput) SetRole ¶ added in v1.5.0
func (s *CreateFunctionInput) SetRole(v string) *CreateFunctionInput
SetRole sets the Role field's value.
func (*CreateFunctionInput) SetRuntime ¶ added in v1.5.0
func (s *CreateFunctionInput) SetRuntime(v string) *CreateFunctionInput
SetRuntime sets the Runtime field's value.
func (*CreateFunctionInput) SetSnapStart ¶ added in v1.44.147
func (s *CreateFunctionInput) SetSnapStart(v *SnapStart) *CreateFunctionInput
SetSnapStart sets the SnapStart field's value.
func (*CreateFunctionInput) SetTags ¶ added in v1.8.13
func (s *CreateFunctionInput) SetTags(v map[string]*string) *CreateFunctionInput
SetTags sets the Tags field's value.
func (*CreateFunctionInput) SetTimeout ¶ added in v1.5.0
func (s *CreateFunctionInput) SetTimeout(v int64) *CreateFunctionInput
SetTimeout sets the Timeout field's value.
func (*CreateFunctionInput) SetTracingConfig ¶ added in v1.8.14
func (s *CreateFunctionInput) SetTracingConfig(v *TracingConfig) *CreateFunctionInput
SetTracingConfig sets the TracingConfig field's value.
func (*CreateFunctionInput) SetVpcConfig ¶ added in v1.5.0
func (s *CreateFunctionInput) SetVpcConfig(v *VpcConfig) *CreateFunctionInput
SetVpcConfig sets the VpcConfig field's value.
func (CreateFunctionInput) String ¶ added in v0.6.5
func (s CreateFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFunctionInput) Validate ¶ added in v1.1.21
func (s *CreateFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionUrlConfigInput ¶ added in v1.42.9
type CreateFunctionUrlConfigInput 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // AuthType is a required field AuthType *string `type:"string" required:"true" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // The alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (CreateFunctionUrlConfigInput) GoString ¶ added in v1.42.9
func (s CreateFunctionUrlConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFunctionUrlConfigInput) SetAuthType ¶ added in v1.43.34
func (s *CreateFunctionUrlConfigInput) SetAuthType(v string) *CreateFunctionUrlConfigInput
SetAuthType sets the AuthType field's value.
func (*CreateFunctionUrlConfigInput) SetCors ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigInput) SetCors(v *Cors) *CreateFunctionUrlConfigInput
SetCors sets the Cors field's value.
func (*CreateFunctionUrlConfigInput) SetFunctionName ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigInput) SetFunctionName(v string) *CreateFunctionUrlConfigInput
SetFunctionName sets the FunctionName field's value.
func (*CreateFunctionUrlConfigInput) SetInvokeMode ¶ added in v1.44.239
func (s *CreateFunctionUrlConfigInput) SetInvokeMode(v string) *CreateFunctionUrlConfigInput
SetInvokeMode sets the InvokeMode field's value.
func (*CreateFunctionUrlConfigInput) SetQualifier ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigInput) SetQualifier(v string) *CreateFunctionUrlConfigInput
SetQualifier sets the Qualifier field's value.
func (CreateFunctionUrlConfigInput) String ¶ added in v1.42.9
func (s CreateFunctionUrlConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFunctionUrlConfigInput) Validate ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateFunctionUrlConfigOutput ¶ added in v1.42.9
type CreateFunctionUrlConfigOutput 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // AuthType is a required field AuthType *string `type:"string" required:"true" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // // CreationTime is a required field CreationTime *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of your function. // // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The HTTP URL endpoint for your function. // // FunctionUrl is a required field FunctionUrl *string `min:"40" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // contains filtered or unexported fields }
func (CreateFunctionUrlConfigOutput) GoString ¶ added in v1.42.9
func (s CreateFunctionUrlConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*CreateFunctionUrlConfigOutput) SetAuthType ¶ added in v1.43.34
func (s *CreateFunctionUrlConfigOutput) SetAuthType(v string) *CreateFunctionUrlConfigOutput
SetAuthType sets the AuthType field's value.
func (*CreateFunctionUrlConfigOutput) SetCors ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigOutput) SetCors(v *Cors) *CreateFunctionUrlConfigOutput
SetCors sets the Cors field's value.
func (*CreateFunctionUrlConfigOutput) SetCreationTime ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigOutput) SetCreationTime(v string) *CreateFunctionUrlConfigOutput
SetCreationTime sets the CreationTime field's value.
func (*CreateFunctionUrlConfigOutput) SetFunctionArn ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigOutput) SetFunctionArn(v string) *CreateFunctionUrlConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*CreateFunctionUrlConfigOutput) SetFunctionUrl ¶ added in v1.42.9
func (s *CreateFunctionUrlConfigOutput) SetFunctionUrl(v string) *CreateFunctionUrlConfigOutput
SetFunctionUrl sets the FunctionUrl field's value.
func (*CreateFunctionUrlConfigOutput) SetInvokeMode ¶ added in v1.44.239
func (s *CreateFunctionUrlConfigOutput) SetInvokeMode(v string) *CreateFunctionUrlConfigOutput
SetInvokeMode sets the InvokeMode field's value.
func (CreateFunctionUrlConfigOutput) String ¶ added in v1.42.9
func (s CreateFunctionUrlConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeadLetterConfig ¶ added in v1.5.13
type DeadLetterConfig struct { // The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic. TargetArn *string `type:"string"` // contains filtered or unexported fields }
The dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq) for failed asynchronous invocations.
func (DeadLetterConfig) GoString ¶ added in v1.5.13
func (s DeadLetterConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeadLetterConfig) SetTargetArn ¶ added in v1.5.13
func (s *DeadLetterConfig) SetTargetArn(v string) *DeadLetterConfig
SetTargetArn sets the TargetArn field's value.
func (DeadLetterConfig) String ¶ added in v1.5.13
func (s DeadLetterConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteAliasInput ¶ added in v0.9.14
type DeleteAliasInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The name of the alias. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteAliasInput) GoString ¶ added in v0.9.14
func (s DeleteAliasInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteAliasInput) SetFunctionName ¶ added in v1.5.0
func (s *DeleteAliasInput) SetFunctionName(v string) *DeleteAliasInput
SetFunctionName sets the FunctionName field's value.
func (*DeleteAliasInput) SetName ¶ added in v1.5.0
func (s *DeleteAliasInput) SetName(v string) *DeleteAliasInput
SetName sets the Name field's value.
func (DeleteAliasInput) String ¶ added in v0.9.14
func (s DeleteAliasInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteAliasInput) Validate ¶ added in v1.1.21
func (s *DeleteAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAliasOutput ¶ added in v0.9.14
type DeleteAliasOutput struct {
// contains filtered or unexported fields
}
func (DeleteAliasOutput) GoString ¶ added in v0.9.14
func (s DeleteAliasOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteAliasOutput) String ¶ added in v0.9.14
func (s DeleteAliasOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteCodeSigningConfigInput ¶ added in v1.35.34
type DeleteCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `location:"uri" locationName:"CodeSigningConfigArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s DeleteCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteCodeSigningConfigInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *DeleteCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *DeleteCodeSigningConfigInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (DeleteCodeSigningConfigInput) String ¶ added in v1.35.34
func (s DeleteCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *DeleteCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteCodeSigningConfigOutput ¶ added in v1.35.34
type DeleteCodeSigningConfigOutput struct {
// contains filtered or unexported fields
}
func (DeleteCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s DeleteCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s DeleteCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteEventSourceMappingInput ¶
type DeleteEventSourceMappingInput struct { // The identifier of the event source mapping. // // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteEventSourceMappingInput) GoString ¶ added in v0.6.5
func (s DeleteEventSourceMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEventSourceMappingInput) SetUUID ¶ added in v1.5.0
func (s *DeleteEventSourceMappingInput) SetUUID(v string) *DeleteEventSourceMappingInput
SetUUID sets the UUID field's value.
func (DeleteEventSourceMappingInput) String ¶ added in v0.6.5
func (s DeleteEventSourceMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteEventSourceMappingInput) Validate ¶ added in v1.1.21
func (s *DeleteEventSourceMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionCodeSigningConfigInput ¶ added in v1.35.34
type DeleteFunctionCodeSigningConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFunctionCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s DeleteFunctionCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionCodeSigningConfigInput) SetFunctionName ¶ added in v1.35.34
func (s *DeleteFunctionCodeSigningConfigInput) SetFunctionName(v string) *DeleteFunctionCodeSigningConfigInput
SetFunctionName sets the FunctionName field's value.
func (DeleteFunctionCodeSigningConfigInput) String ¶ added in v1.35.34
func (s DeleteFunctionCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *DeleteFunctionCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionCodeSigningConfigOutput ¶ added in v1.35.34
type DeleteFunctionCodeSigningConfigOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s DeleteFunctionCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFunctionCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s DeleteFunctionCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFunctionConcurrencyInput ¶ added in v1.12.38
type DeleteFunctionConcurrencyInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteFunctionConcurrencyInput) GoString ¶ added in v1.12.38
func (s DeleteFunctionConcurrencyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionConcurrencyInput) SetFunctionName ¶ added in v1.12.38
func (s *DeleteFunctionConcurrencyInput) SetFunctionName(v string) *DeleteFunctionConcurrencyInput
SetFunctionName sets the FunctionName field's value.
func (DeleteFunctionConcurrencyInput) String ¶ added in v1.12.38
func (s DeleteFunctionConcurrencyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionConcurrencyInput) Validate ¶ added in v1.12.38
func (s *DeleteFunctionConcurrencyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionConcurrencyOutput ¶ added in v1.12.38
type DeleteFunctionConcurrencyOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionConcurrencyOutput) GoString ¶ added in v1.12.38
func (s DeleteFunctionConcurrencyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFunctionConcurrencyOutput) String ¶ added in v1.12.38
func (s DeleteFunctionConcurrencyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFunctionEventInvokeConfigInput ¶ added in v1.25.42
type DeleteFunctionEventInvokeConfigInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // A version number or alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteFunctionEventInvokeConfigInput) GoString ¶ added in v1.25.42
func (s DeleteFunctionEventInvokeConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionEventInvokeConfigInput) SetFunctionName ¶ added in v1.25.42
func (s *DeleteFunctionEventInvokeConfigInput) SetFunctionName(v string) *DeleteFunctionEventInvokeConfigInput
SetFunctionName sets the FunctionName field's value.
func (*DeleteFunctionEventInvokeConfigInput) SetQualifier ¶ added in v1.25.42
func (s *DeleteFunctionEventInvokeConfigInput) SetQualifier(v string) *DeleteFunctionEventInvokeConfigInput
SetQualifier sets the Qualifier field's value.
func (DeleteFunctionEventInvokeConfigInput) String ¶ added in v1.25.42
func (s DeleteFunctionEventInvokeConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionEventInvokeConfigInput) Validate ¶ added in v1.25.42
func (s *DeleteFunctionEventInvokeConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionEventInvokeConfigOutput ¶ added in v1.25.42
type DeleteFunctionEventInvokeConfigOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionEventInvokeConfigOutput) GoString ¶ added in v1.25.42
func (s DeleteFunctionEventInvokeConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFunctionEventInvokeConfigOutput) String ¶ added in v1.25.42
func (s DeleteFunctionEventInvokeConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFunctionInput ¶
type DeleteFunctionInput struct { // The name or ARN of the Lambda function or version. // // Name formats // // * Function name – my-function (name-only), my-function:1 (with version). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version to delete. You can't delete a version that an alias references. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteFunctionInput) GoString ¶ added in v0.6.5
func (s DeleteFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionInput) SetFunctionName ¶ added in v1.5.0
func (s *DeleteFunctionInput) SetFunctionName(v string) *DeleteFunctionInput
SetFunctionName sets the FunctionName field's value.
func (*DeleteFunctionInput) SetQualifier ¶ added in v1.5.0
func (s *DeleteFunctionInput) SetQualifier(v string) *DeleteFunctionInput
SetQualifier sets the Qualifier field's value.
func (DeleteFunctionInput) String ¶ added in v0.6.5
func (s DeleteFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionInput) Validate ¶ added in v1.1.21
func (s *DeleteFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionOutput ¶
type DeleteFunctionOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionOutput) GoString ¶ added in v0.6.5
func (s DeleteFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFunctionOutput) String ¶ added in v0.6.5
func (s DeleteFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteFunctionUrlConfigInput ¶ added in v1.42.9
type DeleteFunctionUrlConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (DeleteFunctionUrlConfigInput) GoString ¶ added in v1.42.9
func (s DeleteFunctionUrlConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionUrlConfigInput) SetFunctionName ¶ added in v1.42.9
func (s *DeleteFunctionUrlConfigInput) SetFunctionName(v string) *DeleteFunctionUrlConfigInput
SetFunctionName sets the FunctionName field's value.
func (*DeleteFunctionUrlConfigInput) SetQualifier ¶ added in v1.42.9
func (s *DeleteFunctionUrlConfigInput) SetQualifier(v string) *DeleteFunctionUrlConfigInput
SetQualifier sets the Qualifier field's value.
func (DeleteFunctionUrlConfigInput) String ¶ added in v1.42.9
func (s DeleteFunctionUrlConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteFunctionUrlConfigInput) Validate ¶ added in v1.42.9
func (s *DeleteFunctionUrlConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFunctionUrlConfigOutput ¶ added in v1.42.9
type DeleteFunctionUrlConfigOutput struct {
// contains filtered or unexported fields
}
func (DeleteFunctionUrlConfigOutput) GoString ¶ added in v1.42.9
func (s DeleteFunctionUrlConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteFunctionUrlConfigOutput) String ¶ added in v1.42.9
func (s DeleteFunctionUrlConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteLayerVersionInput ¶ added in v1.15.87
type DeleteLayerVersionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // The version number. // // VersionNumber is a required field VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"` // contains filtered or unexported fields }
func (DeleteLayerVersionInput) GoString ¶ added in v1.15.87
func (s DeleteLayerVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLayerVersionInput) SetLayerName ¶ added in v1.15.87
func (s *DeleteLayerVersionInput) SetLayerName(v string) *DeleteLayerVersionInput
SetLayerName sets the LayerName field's value.
func (*DeleteLayerVersionInput) SetVersionNumber ¶ added in v1.15.87
func (s *DeleteLayerVersionInput) SetVersionNumber(v int64) *DeleteLayerVersionInput
SetVersionNumber sets the VersionNumber field's value.
func (DeleteLayerVersionInput) String ¶ added in v1.15.87
func (s DeleteLayerVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteLayerVersionInput) Validate ¶ added in v1.15.87
func (s *DeleteLayerVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLayerVersionOutput ¶ added in v1.15.87
type DeleteLayerVersionOutput struct {
// contains filtered or unexported fields
}
func (DeleteLayerVersionOutput) GoString ¶ added in v1.15.87
func (s DeleteLayerVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteLayerVersionOutput) String ¶ added in v1.15.87
func (s DeleteLayerVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DeleteProvisionedConcurrencyConfigInput ¶ added in v1.25.47
type DeleteProvisionedConcurrencyConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The version number or alias name. // // Qualifier is a required field Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (DeleteProvisionedConcurrencyConfigInput) GoString ¶ added in v1.25.47
func (s DeleteProvisionedConcurrencyConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProvisionedConcurrencyConfigInput) SetFunctionName ¶ added in v1.25.47
func (s *DeleteProvisionedConcurrencyConfigInput) SetFunctionName(v string) *DeleteProvisionedConcurrencyConfigInput
SetFunctionName sets the FunctionName field's value.
func (*DeleteProvisionedConcurrencyConfigInput) SetQualifier ¶ added in v1.25.47
func (s *DeleteProvisionedConcurrencyConfigInput) SetQualifier(v string) *DeleteProvisionedConcurrencyConfigInput
SetQualifier sets the Qualifier field's value.
func (DeleteProvisionedConcurrencyConfigInput) String ¶ added in v1.25.47
func (s DeleteProvisionedConcurrencyConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DeleteProvisionedConcurrencyConfigInput) Validate ¶ added in v1.25.47
func (s *DeleteProvisionedConcurrencyConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteProvisionedConcurrencyConfigOutput ¶ added in v1.25.47
type DeleteProvisionedConcurrencyConfigOutput struct {
// contains filtered or unexported fields
}
func (DeleteProvisionedConcurrencyConfigOutput) GoString ¶ added in v1.25.47
func (s DeleteProvisionedConcurrencyConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (DeleteProvisionedConcurrencyConfigOutput) String ¶ added in v1.25.47
func (s DeleteProvisionedConcurrencyConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DestinationConfig ¶ added in v1.25.42
type DestinationConfig struct { // The destination configuration for failed invocations. OnFailure *OnFailure `type:"structure"` // The destination configuration for successful invocations. OnSuccess *OnSuccess `type:"structure"` // contains filtered or unexported fields }
A configuration object that specifies the destination of an event after Lambda processes it.
func (DestinationConfig) GoString ¶ added in v1.25.42
func (s DestinationConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DestinationConfig) SetOnFailure ¶ added in v1.25.42
func (s *DestinationConfig) SetOnFailure(v *OnFailure) *DestinationConfig
SetOnFailure sets the OnFailure field's value.
func (*DestinationConfig) SetOnSuccess ¶ added in v1.25.42
func (s *DestinationConfig) SetOnSuccess(v *OnSuccess) *DestinationConfig
SetOnSuccess sets the OnSuccess field's value.
func (DestinationConfig) String ¶ added in v1.25.42
func (s DestinationConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DocumentDBEventSourceConfig ¶ added in v1.44.210
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 `min:"1" type:"string"` // The name of the database to consume within the DocumentDB cluster. DatabaseName *string `min:"1" type:"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 *string `type:"string" enum:"FullDocument"` // contains filtered or unexported fields }
Specific configuration settings for a DocumentDB event source.
func (DocumentDBEventSourceConfig) GoString ¶ added in v1.44.210
func (s DocumentDBEventSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DocumentDBEventSourceConfig) SetCollectionName ¶ added in v1.44.210
func (s *DocumentDBEventSourceConfig) SetCollectionName(v string) *DocumentDBEventSourceConfig
SetCollectionName sets the CollectionName field's value.
func (*DocumentDBEventSourceConfig) SetDatabaseName ¶ added in v1.44.210
func (s *DocumentDBEventSourceConfig) SetDatabaseName(v string) *DocumentDBEventSourceConfig
SetDatabaseName sets the DatabaseName field's value.
func (*DocumentDBEventSourceConfig) SetFullDocument ¶ added in v1.44.210
func (s *DocumentDBEventSourceConfig) SetFullDocument(v string) *DocumentDBEventSourceConfig
SetFullDocument sets the FullDocument field's value.
func (DocumentDBEventSourceConfig) String ¶ added in v1.44.210
func (s DocumentDBEventSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*DocumentDBEventSourceConfig) Validate ¶ added in v1.44.210
func (s *DocumentDBEventSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EC2AccessDeniedException ¶ added in v1.28.0
type EC2AccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Need additional permissions to configure VPC settings.
func (*EC2AccessDeniedException) Code ¶ added in v1.28.0
func (s *EC2AccessDeniedException) Code() string
Code returns the exception type name.
func (*EC2AccessDeniedException) Error ¶ added in v1.28.0
func (s *EC2AccessDeniedException) Error() string
func (EC2AccessDeniedException) GoString ¶ added in v1.28.0
func (s EC2AccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EC2AccessDeniedException) Message ¶ added in v1.28.0
func (s *EC2AccessDeniedException) Message() string
Message returns the exception's message.
func (*EC2AccessDeniedException) OrigErr ¶ added in v1.28.0
func (s *EC2AccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EC2AccessDeniedException) RequestID ¶ added in v1.28.0
func (s *EC2AccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EC2AccessDeniedException) StatusCode ¶ added in v1.28.0
func (s *EC2AccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EC2AccessDeniedException) String ¶ added in v1.28.0
func (s EC2AccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2ThrottledException ¶ added in v1.28.0
type EC2ThrottledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *EC2ThrottledException) Code() string
Code returns the exception type name.
func (*EC2ThrottledException) Error ¶ added in v1.28.0
func (s *EC2ThrottledException) Error() string
func (EC2ThrottledException) GoString ¶ added in v1.28.0
func (s EC2ThrottledException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EC2ThrottledException) Message ¶ added in v1.28.0
func (s *EC2ThrottledException) Message() string
Message returns the exception's message.
func (*EC2ThrottledException) OrigErr ¶ added in v1.28.0
func (s *EC2ThrottledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EC2ThrottledException) RequestID ¶ added in v1.28.0
func (s *EC2ThrottledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EC2ThrottledException) StatusCode ¶ added in v1.28.0
func (s *EC2ThrottledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EC2ThrottledException) String ¶ added in v1.28.0
func (s EC2ThrottledException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EC2UnexpectedException ¶ added in v1.28.0
type EC2UnexpectedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` EC2ErrorCode *string `type:"string"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
func (*EC2UnexpectedException) Code ¶ added in v1.28.0
func (s *EC2UnexpectedException) Code() string
Code returns the exception type name.
func (*EC2UnexpectedException) Error ¶ added in v1.28.0
func (s *EC2UnexpectedException) Error() string
func (EC2UnexpectedException) GoString ¶ added in v1.28.0
func (s EC2UnexpectedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EC2UnexpectedException) Message ¶ added in v1.28.0
func (s *EC2UnexpectedException) Message() string
Message returns the exception's message.
func (*EC2UnexpectedException) OrigErr ¶ added in v1.28.0
func (s *EC2UnexpectedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EC2UnexpectedException) RequestID ¶ added in v1.28.0
func (s *EC2UnexpectedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EC2UnexpectedException) StatusCode ¶ added in v1.28.0
func (s *EC2UnexpectedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EC2UnexpectedException) String ¶ added in v1.28.0
func (s EC2UnexpectedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EFSIOException ¶ added in v1.32.3
type EFSIOException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
An error occurred when reading from or writing to a connected file system.
func (*EFSIOException) Code ¶ added in v1.32.3
func (s *EFSIOException) Code() string
Code returns the exception type name.
func (*EFSIOException) Error ¶ added in v1.32.3
func (s *EFSIOException) Error() string
func (EFSIOException) GoString ¶ added in v1.32.3
func (s EFSIOException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSIOException) Message ¶ added in v1.32.3
func (s *EFSIOException) Message() string
Message returns the exception's message.
func (*EFSIOException) OrigErr ¶ added in v1.32.3
func (s *EFSIOException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EFSIOException) RequestID ¶ added in v1.32.3
func (s *EFSIOException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EFSIOException) StatusCode ¶ added in v1.32.3
func (s *EFSIOException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EFSIOException) String ¶ added in v1.32.3
func (s EFSIOException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EFSMountConnectivityException ¶ added in v1.32.3
type EFSMountConnectivityException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The Lambda function couldn't make a network connection to the configured file system.
func (*EFSMountConnectivityException) Code ¶ added in v1.32.3
func (s *EFSMountConnectivityException) Code() string
Code returns the exception type name.
func (*EFSMountConnectivityException) Error ¶ added in v1.32.3
func (s *EFSMountConnectivityException) Error() string
func (EFSMountConnectivityException) GoString ¶ added in v1.32.3
func (s EFSMountConnectivityException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSMountConnectivityException) Message ¶ added in v1.32.3
func (s *EFSMountConnectivityException) Message() string
Message returns the exception's message.
func (*EFSMountConnectivityException) OrigErr ¶ added in v1.32.3
func (s *EFSMountConnectivityException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EFSMountConnectivityException) RequestID ¶ added in v1.32.3
func (s *EFSMountConnectivityException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EFSMountConnectivityException) StatusCode ¶ added in v1.32.3
func (s *EFSMountConnectivityException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EFSMountConnectivityException) String ¶ added in v1.32.3
func (s EFSMountConnectivityException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EFSMountFailureException ¶ added in v1.32.3
type EFSMountFailureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.32.3
func (s *EFSMountFailureException) Code() string
Code returns the exception type name.
func (*EFSMountFailureException) Error ¶ added in v1.32.3
func (s *EFSMountFailureException) Error() string
func (EFSMountFailureException) GoString ¶ added in v1.32.3
func (s EFSMountFailureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSMountFailureException) Message ¶ added in v1.32.3
func (s *EFSMountFailureException) Message() string
Message returns the exception's message.
func (*EFSMountFailureException) OrigErr ¶ added in v1.32.3
func (s *EFSMountFailureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EFSMountFailureException) RequestID ¶ added in v1.32.3
func (s *EFSMountFailureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EFSMountFailureException) StatusCode ¶ added in v1.32.3
func (s *EFSMountFailureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EFSMountFailureException) String ¶ added in v1.32.3
func (s EFSMountFailureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EFSMountTimeoutException ¶ added in v1.32.3
type EFSMountTimeoutException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.32.3
func (s *EFSMountTimeoutException) Code() string
Code returns the exception type name.
func (*EFSMountTimeoutException) Error ¶ added in v1.32.3
func (s *EFSMountTimeoutException) Error() string
func (EFSMountTimeoutException) GoString ¶ added in v1.32.3
func (s EFSMountTimeoutException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EFSMountTimeoutException) Message ¶ added in v1.32.3
func (s *EFSMountTimeoutException) Message() string
Message returns the exception's message.
func (*EFSMountTimeoutException) OrigErr ¶ added in v1.32.3
func (s *EFSMountTimeoutException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*EFSMountTimeoutException) RequestID ¶ added in v1.32.3
func (s *EFSMountTimeoutException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*EFSMountTimeoutException) StatusCode ¶ added in v1.32.3
func (s *EFSMountTimeoutException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (EFSMountTimeoutException) String ¶ added in v1.32.3
func (s EFSMountTimeoutException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ENILimitReachedException ¶ added in v1.28.0
type ENILimitReachedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
func (*ENILimitReachedException) Code ¶ added in v1.28.0
func (s *ENILimitReachedException) Code() string
Code returns the exception type name.
func (*ENILimitReachedException) Error ¶ added in v1.28.0
func (s *ENILimitReachedException) Error() string
func (ENILimitReachedException) GoString ¶ added in v1.28.0
func (s ENILimitReachedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ENILimitReachedException) Message ¶ added in v1.28.0
func (s *ENILimitReachedException) Message() string
Message returns the exception's message.
func (*ENILimitReachedException) OrigErr ¶ added in v1.28.0
func (s *ENILimitReachedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ENILimitReachedException) RequestID ¶ added in v1.28.0
func (s *ENILimitReachedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ENILimitReachedException) StatusCode ¶ added in v1.28.0
func (s *ENILimitReachedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ENILimitReachedException) String ¶ added in v1.28.0
func (s ENILimitReachedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Environment ¶ added in v1.5.8
type Environment struct { // Environment variable key-value pairs. For more information, see Using Lambda // environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). // // Variables is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Environment's // String and GoString methods. Variables map[string]*string `type:"map" sensitive:"true"` // 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.
func (Environment) GoString ¶ added in v1.5.8
func (s Environment) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Environment) SetVariables ¶ added in v1.5.8
func (s *Environment) SetVariables(v map[string]*string) *Environment
SetVariables sets the Variables field's value.
func (Environment) String ¶ added in v1.5.8
func (s Environment) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnvironmentError ¶ added in v1.5.8
type EnvironmentError struct { // The error code. ErrorCode *string `type:"string"` // The error message. // // Message is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EnvironmentError's // String and GoString methods. Message *string `type:"string" sensitive:"true"` // contains filtered or unexported fields }
Error messages for environment variables that couldn't be applied.
func (EnvironmentError) GoString ¶ added in v1.5.8
func (s EnvironmentError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EnvironmentError) SetErrorCode ¶ added in v1.5.8
func (s *EnvironmentError) SetErrorCode(v string) *EnvironmentError
SetErrorCode sets the ErrorCode field's value.
func (*EnvironmentError) SetMessage ¶ added in v1.5.8
func (s *EnvironmentError) SetMessage(v string) *EnvironmentError
SetMessage sets the Message field's value.
func (EnvironmentError) String ¶ added in v1.5.8
func (s EnvironmentError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EnvironmentResponse ¶ added in v1.5.8
type EnvironmentResponse struct { // Error messages for environment variables that couldn't be applied. Error *EnvironmentError `type:"structure"` // Environment variable key-value pairs. Omitted from CloudTrail logs. // // Variables is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by EnvironmentResponse's // String and GoString methods. Variables map[string]*string `type:"map" sensitive:"true"` // 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.
func (EnvironmentResponse) GoString ¶ added in v1.5.8
func (s EnvironmentResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EnvironmentResponse) SetError ¶ added in v1.5.8
func (s *EnvironmentResponse) SetError(v *EnvironmentError) *EnvironmentResponse
SetError sets the Error field's value.
func (*EnvironmentResponse) SetVariables ¶ added in v1.5.8
func (s *EnvironmentResponse) SetVariables(v map[string]*string) *EnvironmentResponse
SetVariables sets the Variables field's value.
func (EnvironmentResponse) String ¶ added in v1.5.8
func (s EnvironmentResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EphemeralStorage ¶ added in v1.43.25
type EphemeralStorage struct { // The size of the function's /tmp directory. // // Size is a required field Size *int64 `min:"512" type:"integer" required:"true"` // 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) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage).
func (EphemeralStorage) GoString ¶ added in v1.43.25
func (s EphemeralStorage) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EphemeralStorage) SetSize ¶ added in v1.43.25
func (s *EphemeralStorage) SetSize(v int64) *EphemeralStorage
SetSize sets the Size field's value.
func (EphemeralStorage) String ¶ added in v1.43.25
func (s EphemeralStorage) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EphemeralStorage) Validate ¶ added in v1.43.25
func (s *EphemeralStorage) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type EventSourceMappingConfiguration ¶
type EventSourceMappingConfiguration struct { // Specific configuration settings for an Amazon Managed Streaming for Apache // Kafka (Amazon MSK) event source. AmazonManagedKafkaEventSourceConfig *AmazonManagedKafkaEventSourceConfig `type:"structure"` // 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 *int64 `min:"1" type:"integer"` // (Kinesis and DynamoDB Streams only) If the function returns an error, split // the batch in two and retry. The default value is false. BisectBatchOnFunctionError *bool `type:"boolean"` // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event // sources only) A configuration object that specifies the destination of an // event after Lambda processes it. DestinationConfig *DestinationConfig `type:"structure"` // Specific configuration settings for a DocumentDB event source. DocumentDBEventSourceConfig *DocumentDBEventSourceConfig `type:"structure"` // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string `type:"string"` // An object that defines the filter criteria that determine whether Lambda // should process an event. For more information, see Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The ARN of the Lambda function. FunctionArn *string `type:"string"` // (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type // enums applied to the event source mapping. FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time `type:"timestamp"` // The result of the last Lambda invocation of your function. LastProcessingResult *string `type:"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 *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records older than the specified // age. The default value is -1, which sets the maximum age to infinite. When // the value is set to infinite, Lambda never discards old records. // // 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 *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records after the specified number // of retries. The default value is -1, which sets the maximum number of retries // to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed // records until the record expires in the event source. MaximumRetryAttempts *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) The number of batches to process concurrently // from each shard. The default value is 1. ParallelizationFactor *int64 `min:"1" type:"integer"` // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []*string `min:"1" type:"list"` // (Amazon SQS only) The scaling configuration for the event source. For more // information, see 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 `type:"structure"` // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *SelfManagedEventSource `type:"structure"` // Specific configuration settings for a self-managed Apache Kafka event source. SelfManagedKafkaEventSourceConfig *SelfManagedKafkaEventSourceConfig `type:"structure"` // An array of the authentication protocol, VPC components, or virtual host // to secure and define your event source. SourceAccessConfigurations []*SourceAccessConfiguration `type:"list"` // 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 *string `type:"string" enum:"EventSourcePosition"` // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. // StartingPositionTimestamp cannot be in the future. StartingPositionTimestamp *time.Time `type:"timestamp"` // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string `type:"string"` // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string `type:"string"` // The name of the Kafka topic. Topics []*string `min:"1" type:"list"` // (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 *int64 `type:"integer"` // The identifier of the event source mapping. UUID *string `type:"string"` // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
func (EventSourceMappingConfiguration) GoString ¶ added in v0.6.5
func (s EventSourceMappingConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*EventSourceMappingConfiguration) SetAmazonManagedKafkaEventSourceConfig ¶ added in v1.44.79
func (s *EventSourceMappingConfiguration) SetAmazonManagedKafkaEventSourceConfig(v *AmazonManagedKafkaEventSourceConfig) *EventSourceMappingConfiguration
SetAmazonManagedKafkaEventSourceConfig sets the AmazonManagedKafkaEventSourceConfig field's value.
func (*EventSourceMappingConfiguration) SetBatchSize ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetBatchSize(v int64) *EventSourceMappingConfiguration
SetBatchSize sets the BatchSize field's value.
func (*EventSourceMappingConfiguration) SetBisectBatchOnFunctionError ¶ added in v1.25.42
func (s *EventSourceMappingConfiguration) SetBisectBatchOnFunctionError(v bool) *EventSourceMappingConfiguration
SetBisectBatchOnFunctionError sets the BisectBatchOnFunctionError field's value.
func (*EventSourceMappingConfiguration) SetDestinationConfig ¶ added in v1.25.42
func (s *EventSourceMappingConfiguration) SetDestinationConfig(v *DestinationConfig) *EventSourceMappingConfiguration
SetDestinationConfig sets the DestinationConfig field's value.
func (*EventSourceMappingConfiguration) SetDocumentDBEventSourceConfig ¶ added in v1.44.210
func (s *EventSourceMappingConfiguration) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *EventSourceMappingConfiguration
SetDocumentDBEventSourceConfig sets the DocumentDBEventSourceConfig field's value.
func (*EventSourceMappingConfiguration) SetEventSourceArn ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetEventSourceArn(v string) *EventSourceMappingConfiguration
SetEventSourceArn sets the EventSourceArn field's value.
func (*EventSourceMappingConfiguration) SetFilterCriteria ¶ added in v1.42.11
func (s *EventSourceMappingConfiguration) SetFilterCriteria(v *FilterCriteria) *EventSourceMappingConfiguration
SetFilterCriteria sets the FilterCriteria field's value.
func (*EventSourceMappingConfiguration) SetFunctionArn ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetFunctionArn(v string) *EventSourceMappingConfiguration
SetFunctionArn sets the FunctionArn field's value.
func (*EventSourceMappingConfiguration) SetFunctionResponseTypes ¶ added in v1.36.9
func (s *EventSourceMappingConfiguration) SetFunctionResponseTypes(v []*string) *EventSourceMappingConfiguration
SetFunctionResponseTypes sets the FunctionResponseTypes field's value.
func (*EventSourceMappingConfiguration) SetLastModified ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetLastModified(v time.Time) *EventSourceMappingConfiguration
SetLastModified sets the LastModified field's value.
func (*EventSourceMappingConfiguration) SetLastProcessingResult ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetLastProcessingResult(v string) *EventSourceMappingConfiguration
SetLastProcessingResult sets the LastProcessingResult field's value.
func (*EventSourceMappingConfiguration) SetMaximumBatchingWindowInSeconds ¶ added in v1.23.12
func (s *EventSourceMappingConfiguration) SetMaximumBatchingWindowInSeconds(v int64) *EventSourceMappingConfiguration
SetMaximumBatchingWindowInSeconds sets the MaximumBatchingWindowInSeconds field's value.
func (*EventSourceMappingConfiguration) SetMaximumRecordAgeInSeconds ¶ added in v1.25.42
func (s *EventSourceMappingConfiguration) SetMaximumRecordAgeInSeconds(v int64) *EventSourceMappingConfiguration
SetMaximumRecordAgeInSeconds sets the MaximumRecordAgeInSeconds field's value.
func (*EventSourceMappingConfiguration) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *EventSourceMappingConfiguration) SetMaximumRetryAttempts(v int64) *EventSourceMappingConfiguration
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (*EventSourceMappingConfiguration) SetParallelizationFactor ¶ added in v1.25.42
func (s *EventSourceMappingConfiguration) SetParallelizationFactor(v int64) *EventSourceMappingConfiguration
SetParallelizationFactor sets the ParallelizationFactor field's value.
func (*EventSourceMappingConfiguration) SetQueues ¶ added in v1.35.22
func (s *EventSourceMappingConfiguration) SetQueues(v []*string) *EventSourceMappingConfiguration
SetQueues sets the Queues field's value.
func (*EventSourceMappingConfiguration) SetScalingConfig ¶ added in v1.44.179
func (s *EventSourceMappingConfiguration) SetScalingConfig(v *ScalingConfig) *EventSourceMappingConfiguration
SetScalingConfig sets the ScalingConfig field's value.
func (*EventSourceMappingConfiguration) SetSelfManagedEventSource ¶ added in v1.36.9
func (s *EventSourceMappingConfiguration) SetSelfManagedEventSource(v *SelfManagedEventSource) *EventSourceMappingConfiguration
SetSelfManagedEventSource sets the SelfManagedEventSource field's value.
func (*EventSourceMappingConfiguration) SetSelfManagedKafkaEventSourceConfig ¶ added in v1.44.79
func (s *EventSourceMappingConfiguration) SetSelfManagedKafkaEventSourceConfig(v *SelfManagedKafkaEventSourceConfig) *EventSourceMappingConfiguration
SetSelfManagedKafkaEventSourceConfig sets the SelfManagedKafkaEventSourceConfig field's value.
func (*EventSourceMappingConfiguration) SetSourceAccessConfigurations ¶ added in v1.35.22
func (s *EventSourceMappingConfiguration) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *EventSourceMappingConfiguration
SetSourceAccessConfigurations sets the SourceAccessConfigurations field's value.
func (*EventSourceMappingConfiguration) SetStartingPosition ¶ added in v1.35.32
func (s *EventSourceMappingConfiguration) SetStartingPosition(v string) *EventSourceMappingConfiguration
SetStartingPosition sets the StartingPosition field's value.
func (*EventSourceMappingConfiguration) SetStartingPositionTimestamp ¶ added in v1.35.32
func (s *EventSourceMappingConfiguration) SetStartingPositionTimestamp(v time.Time) *EventSourceMappingConfiguration
SetStartingPositionTimestamp sets the StartingPositionTimestamp field's value.
func (*EventSourceMappingConfiguration) SetState ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetState(v string) *EventSourceMappingConfiguration
SetState sets the State field's value.
func (*EventSourceMappingConfiguration) SetStateTransitionReason ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetStateTransitionReason(v string) *EventSourceMappingConfiguration
SetStateTransitionReason sets the StateTransitionReason field's value.
func (*EventSourceMappingConfiguration) SetTopics ¶ added in v1.34.2
func (s *EventSourceMappingConfiguration) SetTopics(v []*string) *EventSourceMappingConfiguration
SetTopics sets the Topics field's value.
func (*EventSourceMappingConfiguration) SetTumblingWindowInSeconds ¶ added in v1.36.9
func (s *EventSourceMappingConfiguration) SetTumblingWindowInSeconds(v int64) *EventSourceMappingConfiguration
SetTumblingWindowInSeconds sets the TumblingWindowInSeconds field's value.
func (*EventSourceMappingConfiguration) SetUUID ¶ added in v1.5.0
func (s *EventSourceMappingConfiguration) SetUUID(v string) *EventSourceMappingConfiguration
SetUUID sets the UUID field's value.
func (EventSourceMappingConfiguration) String ¶ added in v0.6.5
func (s EventSourceMappingConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FileSystemConfig ¶ added in v1.32.3
type FileSystemConfig struct { // The Amazon Resource Name (ARN) of the Amazon EFS access point that provides // access to the file system. // // Arn is a required field Arn *string `type:"string" required:"true"` // The path where the function can access the file system, starting with /mnt/. // // LocalMountPath is a required field LocalMountPath *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about the connection between a Lambda function and an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html).
func (FileSystemConfig) GoString ¶ added in v1.32.3
func (s FileSystemConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FileSystemConfig) SetArn ¶ added in v1.32.3
func (s *FileSystemConfig) SetArn(v string) *FileSystemConfig
SetArn sets the Arn field's value.
func (*FileSystemConfig) SetLocalMountPath ¶ added in v1.32.3
func (s *FileSystemConfig) SetLocalMountPath(v string) *FileSystemConfig
SetLocalMountPath sets the LocalMountPath field's value.
func (FileSystemConfig) String ¶ added in v1.32.3
func (s FileSystemConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FileSystemConfig) Validate ¶ added in v1.32.3
func (s *FileSystemConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Filter ¶ added in v1.42.11
type Filter struct { // A filter pattern. For more information on the syntax of a filter pattern, // see Filter rule syntax (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html#filtering-syntax). Pattern *string `type:"string"` // contains filtered or unexported fields }
A structure within a FilterCriteria object that defines an event filtering pattern.
func (Filter) GoString ¶ added in v1.42.11
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Filter) SetPattern ¶ added in v1.42.11
SetPattern sets the Pattern field's value.
type FilterCriteria ¶ added in v1.42.11
type FilterCriteria struct { // A list of filters. Filters []*Filter `type:"list"` // contains filtered or unexported fields }
An object that contains the filters for an event source.
func (FilterCriteria) GoString ¶ added in v1.42.11
func (s FilterCriteria) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FilterCriteria) SetFilters ¶ added in v1.42.11
func (s *FilterCriteria) SetFilters(v []*Filter) *FilterCriteria
SetFilters sets the Filters field's value.
func (FilterCriteria) String ¶ added in v1.42.11
func (s FilterCriteria) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FunctionCode ¶
type FunctionCode struct { // URI of a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) // in the Amazon ECR registry. ImageUri *string `type:"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 `min:"3" type:"string"` // The Amazon S3 key of the deployment package. S3Key *string `min:"1" type:"string"` // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string `min:"1" type:"string"` // The base64-encoded contents of the deployment package. Amazon Web Services // SDK and CLI clients handle the encoding for you. // // ZipFile is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by FunctionCode's // String and GoString methods. // // ZipFile is automatically base64 encoded/decoded by the SDK. ZipFile []byte `type:"blob" sensitive:"true"` // 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.
func (FunctionCode) GoString ¶ added in v0.6.5
func (s FunctionCode) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionCode) SetImageUri ¶ added in v1.35.37
func (s *FunctionCode) SetImageUri(v string) *FunctionCode
SetImageUri sets the ImageUri field's value.
func (*FunctionCode) SetS3Bucket ¶ added in v1.5.0
func (s *FunctionCode) SetS3Bucket(v string) *FunctionCode
SetS3Bucket sets the S3Bucket field's value.
func (*FunctionCode) SetS3Key ¶ added in v1.5.0
func (s *FunctionCode) SetS3Key(v string) *FunctionCode
SetS3Key sets the S3Key field's value.
func (*FunctionCode) SetS3ObjectVersion ¶ added in v1.5.0
func (s *FunctionCode) SetS3ObjectVersion(v string) *FunctionCode
SetS3ObjectVersion sets the S3ObjectVersion field's value.
func (*FunctionCode) SetZipFile ¶ added in v1.5.0
func (s *FunctionCode) SetZipFile(v []byte) *FunctionCode
SetZipFile sets the ZipFile field's value.
func (FunctionCode) String ¶ added in v0.6.5
func (s FunctionCode) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionCode) Validate ¶ added in v1.1.21
func (s *FunctionCode) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FunctionCodeLocation ¶
type FunctionCodeLocation struct { // URI of a container image in the Amazon ECR registry. ImageUri *string `type:"string"` // A presigned URL that you can use to download the deployment package. Location *string `type:"string"` // The service that's hosting the file. RepositoryType *string `type:"string"` // The resolved URI for the image. ResolvedImageUri *string `type:"string"` // contains filtered or unexported fields }
Details about a function's deployment package.
func (FunctionCodeLocation) GoString ¶ added in v0.6.5
func (s FunctionCodeLocation) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionCodeLocation) SetImageUri ¶ added in v1.35.37
func (s *FunctionCodeLocation) SetImageUri(v string) *FunctionCodeLocation
SetImageUri sets the ImageUri field's value.
func (*FunctionCodeLocation) SetLocation ¶ added in v1.5.0
func (s *FunctionCodeLocation) SetLocation(v string) *FunctionCodeLocation
SetLocation sets the Location field's value.
func (*FunctionCodeLocation) SetRepositoryType ¶ added in v1.5.0
func (s *FunctionCodeLocation) SetRepositoryType(v string) *FunctionCodeLocation
SetRepositoryType sets the RepositoryType field's value.
func (*FunctionCodeLocation) SetResolvedImageUri ¶ added in v1.35.37
func (s *FunctionCodeLocation) SetResolvedImageUri(v string) *FunctionCodeLocation
SetResolvedImageUri sets the ResolvedImageUri field's value.
func (FunctionCodeLocation) String ¶ added in v0.6.5
func (s FunctionCodeLocation) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 []*string `min:"1" type:"list" enum:"Architecture"` // The SHA256 hash of the function's deployment package. CodeSha256 *string `type:"string"` // The size of the function's deployment package, in bytes. CodeSize *int64 `type:"long"` // The function's dead letter queue. DeadLetterConfig *DeadLetterConfig `type:"structure"` // The function's description. Description *string `type:"string"` // The function's environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). // Omitted from CloudTrail logs. Environment *EnvironmentResponse `type:"structure"` // 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) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []*FileSystemConfig `type:"list"` // The function's Amazon Resource Name (ARN). FunctionArn *string `type:"string"` // The name of the function. FunctionName *string `min:"1" type:"string"` // The function that Lambda calls to begin running your function. Handler *string `type:"string"` // The function's image configuration values. ImageConfigResponse *ImageConfigResponse `type:"structure"` // The KMS key that's used to encrypt the function's environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). // When Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) // is activated, this key is also used to encrypt the function's snapshot. This // key is returned only if you've configured a customer managed key. KMSKeyArn *string `type:"string"` // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string `type:"string"` // The status of the last update that was performed on the function. This is // first set to Successful after function creation completes. LastUpdateStatus *string `type:"string" enum:"LastUpdateStatus"` // The reason for the last update that was performed on the function. LastUpdateStatusReason *string `type:"string"` // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode *string `type:"string" enum:"LastUpdateStatusReasonCode"` // The function's layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []*Layer `type:"list"` // The function's Amazon CloudWatch Logs configuration settings. LoggingConfig *LoggingConfig `type:"structure"` // For Lambda@Edge functions, the ARN of the main function. MasterArn *string `type:"string"` // The amount of memory available to the function at runtime. MemorySize *int64 `min:"128" type:"integer"` // The type of deployment package. Set to Image for container image and set // Zip for .zip file archive. PackageType *string `type:"string" enum:"PackageType"` // The latest updated revision of the function or alias. RevisionId *string `type:"string"` // The function's execution role. Role *string `type:"string"` // The identifier of the function's runtime (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Runtime is required if the deployment package is a .zip file archive. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). Runtime *string `type:"string" enum:"Runtime"` // The ARN of the runtime and any errors that occured. RuntimeVersionConfig *RuntimeVersionConfig `type:"structure"` // The ARN of the signing job. SigningJobArn *string `type:"string"` // The ARN of the signing profile version. SigningProfileVersionArn *string `type:"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 (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html). SnapStart *SnapStartResponse `type:"structure"` // The current state of the function. When the state is Inactive, you can reactivate // the function by invoking it. State *string `type:"string" enum:"State"` // The reason for the function's current state. StateReason *string `type:"string"` // The reason code for the function's current state. When the code is Creating, // you can't invoke or modify the function. StateReasonCode *string `type:"string" enum:"StateReasonCode"` // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int64 `min:"1" type:"integer"` // The function's X-Ray tracing configuration. TracingConfig *TracingConfigResponse `type:"structure"` // The version of the Lambda function. Version *string `min:"1" type:"string"` // The function's networking configuration. VpcConfig *VpcConfigResponse `type:"structure"` // contains filtered or unexported fields }
Details about a function's configuration.
func (FunctionConfiguration) GoString ¶ added in v0.6.5
func (s FunctionConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionConfiguration) SetArchitectures ¶ added in v1.40.52
func (s *FunctionConfiguration) SetArchitectures(v []*string) *FunctionConfiguration
SetArchitectures sets the Architectures field's value.
func (*FunctionConfiguration) SetCodeSha256 ¶ added in v1.5.0
func (s *FunctionConfiguration) SetCodeSha256(v string) *FunctionConfiguration
SetCodeSha256 sets the CodeSha256 field's value.
func (*FunctionConfiguration) SetCodeSize ¶ added in v1.5.0
func (s *FunctionConfiguration) SetCodeSize(v int64) *FunctionConfiguration
SetCodeSize sets the CodeSize field's value.
func (*FunctionConfiguration) SetDeadLetterConfig ¶ added in v1.5.13
func (s *FunctionConfiguration) SetDeadLetterConfig(v *DeadLetterConfig) *FunctionConfiguration
SetDeadLetterConfig sets the DeadLetterConfig field's value.
func (*FunctionConfiguration) SetDescription ¶ added in v1.5.0
func (s *FunctionConfiguration) SetDescription(v string) *FunctionConfiguration
SetDescription sets the Description field's value.
func (*FunctionConfiguration) SetEnvironment ¶ added in v1.5.8
func (s *FunctionConfiguration) SetEnvironment(v *EnvironmentResponse) *FunctionConfiguration
SetEnvironment sets the Environment field's value.
func (*FunctionConfiguration) SetEphemeralStorage ¶ added in v1.43.25
func (s *FunctionConfiguration) SetEphemeralStorage(v *EphemeralStorage) *FunctionConfiguration
SetEphemeralStorage sets the EphemeralStorage field's value.
func (*FunctionConfiguration) SetFileSystemConfigs ¶ added in v1.32.3
func (s *FunctionConfiguration) SetFileSystemConfigs(v []*FileSystemConfig) *FunctionConfiguration
SetFileSystemConfigs sets the FileSystemConfigs field's value.
func (*FunctionConfiguration) SetFunctionArn ¶ added in v1.5.0
func (s *FunctionConfiguration) SetFunctionArn(v string) *FunctionConfiguration
SetFunctionArn sets the FunctionArn field's value.
func (*FunctionConfiguration) SetFunctionName ¶ added in v1.5.0
func (s *FunctionConfiguration) SetFunctionName(v string) *FunctionConfiguration
SetFunctionName sets the FunctionName field's value.
func (*FunctionConfiguration) SetHandler ¶ added in v1.5.0
func (s *FunctionConfiguration) SetHandler(v string) *FunctionConfiguration
SetHandler sets the Handler field's value.
func (*FunctionConfiguration) SetImageConfigResponse ¶ added in v1.35.37
func (s *FunctionConfiguration) SetImageConfigResponse(v *ImageConfigResponse) *FunctionConfiguration
SetImageConfigResponse sets the ImageConfigResponse field's value.
func (*FunctionConfiguration) SetKMSKeyArn ¶ added in v1.5.8
func (s *FunctionConfiguration) SetKMSKeyArn(v string) *FunctionConfiguration
SetKMSKeyArn sets the KMSKeyArn field's value.
func (*FunctionConfiguration) SetLastModified ¶ added in v1.5.0
func (s *FunctionConfiguration) SetLastModified(v string) *FunctionConfiguration
SetLastModified sets the LastModified field's value.
func (*FunctionConfiguration) SetLastUpdateStatus ¶ added in v1.25.42
func (s *FunctionConfiguration) SetLastUpdateStatus(v string) *FunctionConfiguration
SetLastUpdateStatus sets the LastUpdateStatus field's value.
func (*FunctionConfiguration) SetLastUpdateStatusReason ¶ added in v1.25.42
func (s *FunctionConfiguration) SetLastUpdateStatusReason(v string) *FunctionConfiguration
SetLastUpdateStatusReason sets the LastUpdateStatusReason field's value.
func (*FunctionConfiguration) SetLastUpdateStatusReasonCode ¶ added in v1.25.42
func (s *FunctionConfiguration) SetLastUpdateStatusReasonCode(v string) *FunctionConfiguration
SetLastUpdateStatusReasonCode sets the LastUpdateStatusReasonCode field's value.
func (*FunctionConfiguration) SetLayers ¶ added in v1.15.87
func (s *FunctionConfiguration) SetLayers(v []*Layer) *FunctionConfiguration
SetLayers sets the Layers field's value.
func (*FunctionConfiguration) SetLoggingConfig ¶ added in v1.47.13
func (s *FunctionConfiguration) SetLoggingConfig(v *LoggingConfig) *FunctionConfiguration
SetLoggingConfig sets the LoggingConfig field's value.
func (*FunctionConfiguration) SetMasterArn ¶ added in v1.10.12
func (s *FunctionConfiguration) SetMasterArn(v string) *FunctionConfiguration
SetMasterArn sets the MasterArn field's value.
func (*FunctionConfiguration) SetMemorySize ¶ added in v1.5.0
func (s *FunctionConfiguration) SetMemorySize(v int64) *FunctionConfiguration
SetMemorySize sets the MemorySize field's value.
func (*FunctionConfiguration) SetPackageType ¶ added in v1.35.37
func (s *FunctionConfiguration) SetPackageType(v string) *FunctionConfiguration
SetPackageType sets the PackageType field's value.
func (*FunctionConfiguration) SetRevisionId ¶ added in v1.12.69
func (s *FunctionConfiguration) SetRevisionId(v string) *FunctionConfiguration
SetRevisionId sets the RevisionId field's value.
func (*FunctionConfiguration) SetRole ¶ added in v1.5.0
func (s *FunctionConfiguration) SetRole(v string) *FunctionConfiguration
SetRole sets the Role field's value.
func (*FunctionConfiguration) SetRuntime ¶ added in v1.5.0
func (s *FunctionConfiguration) SetRuntime(v string) *FunctionConfiguration
SetRuntime sets the Runtime field's value.
func (*FunctionConfiguration) SetRuntimeVersionConfig ¶ added in v1.44.185
func (s *FunctionConfiguration) SetRuntimeVersionConfig(v *RuntimeVersionConfig) *FunctionConfiguration
SetRuntimeVersionConfig sets the RuntimeVersionConfig field's value.
func (*FunctionConfiguration) SetSigningJobArn ¶ added in v1.35.34
func (s *FunctionConfiguration) SetSigningJobArn(v string) *FunctionConfiguration
SetSigningJobArn sets the SigningJobArn field's value.
func (*FunctionConfiguration) SetSigningProfileVersionArn ¶ added in v1.35.34
func (s *FunctionConfiguration) SetSigningProfileVersionArn(v string) *FunctionConfiguration
SetSigningProfileVersionArn sets the SigningProfileVersionArn field's value.
func (*FunctionConfiguration) SetSnapStart ¶ added in v1.44.147
func (s *FunctionConfiguration) SetSnapStart(v *SnapStartResponse) *FunctionConfiguration
SetSnapStart sets the SnapStart field's value.
func (*FunctionConfiguration) SetState ¶ added in v1.25.42
func (s *FunctionConfiguration) SetState(v string) *FunctionConfiguration
SetState sets the State field's value.
func (*FunctionConfiguration) SetStateReason ¶ added in v1.25.42
func (s *FunctionConfiguration) SetStateReason(v string) *FunctionConfiguration
SetStateReason sets the StateReason field's value.
func (*FunctionConfiguration) SetStateReasonCode ¶ added in v1.25.42
func (s *FunctionConfiguration) SetStateReasonCode(v string) *FunctionConfiguration
SetStateReasonCode sets the StateReasonCode field's value.
func (*FunctionConfiguration) SetTimeout ¶ added in v1.5.0
func (s *FunctionConfiguration) SetTimeout(v int64) *FunctionConfiguration
SetTimeout sets the Timeout field's value.
func (*FunctionConfiguration) SetTracingConfig ¶ added in v1.8.14
func (s *FunctionConfiguration) SetTracingConfig(v *TracingConfigResponse) *FunctionConfiguration
SetTracingConfig sets the TracingConfig field's value.
func (*FunctionConfiguration) SetVersion ¶ added in v1.5.0
func (s *FunctionConfiguration) SetVersion(v string) *FunctionConfiguration
SetVersion sets the Version field's value.
func (*FunctionConfiguration) SetVpcConfig ¶ added in v1.5.0
func (s *FunctionConfiguration) SetVpcConfig(v *VpcConfigResponse) *FunctionConfiguration
SetVpcConfig sets the VpcConfig field's value.
func (FunctionConfiguration) String ¶ added in v0.6.5
func (s FunctionConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FunctionEventInvokeConfig ¶ added in v1.25.42
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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The Amazon Resource Name (ARN) of the function. FunctionArn *string `type:"string"` // The date and time that the configuration was last updated. LastModified *time.Time `type:"timestamp"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // contains filtered or unexported fields }
func (FunctionEventInvokeConfig) GoString ¶ added in v1.25.42
func (s FunctionEventInvokeConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionEventInvokeConfig) SetDestinationConfig ¶ added in v1.25.42
func (s *FunctionEventInvokeConfig) SetDestinationConfig(v *DestinationConfig) *FunctionEventInvokeConfig
SetDestinationConfig sets the DestinationConfig field's value.
func (*FunctionEventInvokeConfig) SetFunctionArn ¶ added in v1.25.42
func (s *FunctionEventInvokeConfig) SetFunctionArn(v string) *FunctionEventInvokeConfig
SetFunctionArn sets the FunctionArn field's value.
func (*FunctionEventInvokeConfig) SetLastModified ¶ added in v1.25.42
func (s *FunctionEventInvokeConfig) SetLastModified(v time.Time) *FunctionEventInvokeConfig
SetLastModified sets the LastModified field's value.
func (*FunctionEventInvokeConfig) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *FunctionEventInvokeConfig) SetMaximumEventAgeInSeconds(v int64) *FunctionEventInvokeConfig
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*FunctionEventInvokeConfig) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *FunctionEventInvokeConfig) SetMaximumRetryAttempts(v int64) *FunctionEventInvokeConfig
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (FunctionEventInvokeConfig) String ¶ added in v1.25.42
func (s FunctionEventInvokeConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FunctionUrlConfig ¶ added in v1.42.9
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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // AuthType is a required field AuthType *string `type:"string" required:"true" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // // CreationTime is a required field CreationTime *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of your function. // // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The HTTP URL endpoint for your function. // // FunctionUrl is a required field FunctionUrl *string `min:"40" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // When the function URL configuration was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). // // LastModifiedTime is a required field LastModifiedTime *string `type:"string" required:"true"` // contains filtered or unexported fields }
Details about a Lambda function URL.
func (FunctionUrlConfig) GoString ¶ added in v1.42.9
func (s FunctionUrlConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*FunctionUrlConfig) SetAuthType ¶ added in v1.43.34
func (s *FunctionUrlConfig) SetAuthType(v string) *FunctionUrlConfig
SetAuthType sets the AuthType field's value.
func (*FunctionUrlConfig) SetCors ¶ added in v1.42.9
func (s *FunctionUrlConfig) SetCors(v *Cors) *FunctionUrlConfig
SetCors sets the Cors field's value.
func (*FunctionUrlConfig) SetCreationTime ¶ added in v1.42.9
func (s *FunctionUrlConfig) SetCreationTime(v string) *FunctionUrlConfig
SetCreationTime sets the CreationTime field's value.
func (*FunctionUrlConfig) SetFunctionArn ¶ added in v1.42.9
func (s *FunctionUrlConfig) SetFunctionArn(v string) *FunctionUrlConfig
SetFunctionArn sets the FunctionArn field's value.
func (*FunctionUrlConfig) SetFunctionUrl ¶ added in v1.42.9
func (s *FunctionUrlConfig) SetFunctionUrl(v string) *FunctionUrlConfig
SetFunctionUrl sets the FunctionUrl field's value.
func (*FunctionUrlConfig) SetInvokeMode ¶ added in v1.44.239
func (s *FunctionUrlConfig) SetInvokeMode(v string) *FunctionUrlConfig
SetInvokeMode sets the InvokeMode field's value.
func (*FunctionUrlConfig) SetLastModifiedTime ¶ added in v1.42.9
func (s *FunctionUrlConfig) SetLastModifiedTime(v string) *FunctionUrlConfig
SetLastModifiedTime sets the LastModifiedTime field's value.
func (FunctionUrlConfig) String ¶ added in v1.42.9
func (s FunctionUrlConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAccountSettingsInput ¶ added in v1.5.13
type GetAccountSettingsInput struct {
// contains filtered or unexported fields
}
func (GetAccountSettingsInput) GoString ¶ added in v1.5.13
func (s GetAccountSettingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (GetAccountSettingsInput) String ¶ added in v1.5.13
func (s GetAccountSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAccountSettingsOutput ¶ added in v1.5.13
type GetAccountSettingsOutput struct { // Limits that are related to concurrency and code storage. AccountLimit *AccountLimit `type:"structure"` // The number of functions and amount of storage in use. AccountUsage *AccountUsage `type:"structure"` // contains filtered or unexported fields }
func (GetAccountSettingsOutput) GoString ¶ added in v1.5.13
func (s GetAccountSettingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetAccountSettingsOutput) SetAccountLimit ¶ added in v1.5.13
func (s *GetAccountSettingsOutput) SetAccountLimit(v *AccountLimit) *GetAccountSettingsOutput
SetAccountLimit sets the AccountLimit field's value.
func (*GetAccountSettingsOutput) SetAccountUsage ¶ added in v1.5.13
func (s *GetAccountSettingsOutput) SetAccountUsage(v *AccountUsage) *GetAccountSettingsOutput
SetAccountUsage sets the AccountUsage field's value.
func (GetAccountSettingsOutput) String ¶ added in v1.5.13
func (s GetAccountSettingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetAliasInput ¶ added in v0.9.14
type GetAliasInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The name of the alias. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetAliasInput) GoString ¶ added in v0.9.14
func (s GetAliasInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetAliasInput) SetFunctionName ¶ added in v1.5.0
func (s *GetAliasInput) SetFunctionName(v string) *GetAliasInput
SetFunctionName sets the FunctionName field's value.
func (*GetAliasInput) SetName ¶ added in v1.5.0
func (s *GetAliasInput) SetName(v string) *GetAliasInput
SetName sets the Name field's value.
func (GetAliasInput) String ¶ added in v0.9.14
func (s GetAliasInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetAliasInput) Validate ¶ added in v1.1.21
func (s *GetAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCodeSigningConfigInput ¶ added in v1.35.34
type GetCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `location:"uri" locationName:"CodeSigningConfigArn" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s GetCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCodeSigningConfigInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *GetCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *GetCodeSigningConfigInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (GetCodeSigningConfigInput) String ¶ added in v1.35.34
func (s GetCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *GetCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetCodeSigningConfigOutput ¶ added in v1.35.34
type GetCodeSigningConfigOutput struct { // The code signing configuration // // CodeSigningConfig is a required field CodeSigningConfig *CodeSigningConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
func (GetCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s GetCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetCodeSigningConfigOutput) SetCodeSigningConfig ¶ added in v1.35.34
func (s *GetCodeSigningConfigOutput) SetCodeSigningConfig(v *CodeSigningConfig) *GetCodeSigningConfigOutput
SetCodeSigningConfig sets the CodeSigningConfig field's value.
func (GetCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s GetCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetEventSourceMappingInput ¶
type GetEventSourceMappingInput struct { // The identifier of the event source mapping. // // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetEventSourceMappingInput) GoString ¶ added in v0.6.5
func (s GetEventSourceMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventSourceMappingInput) SetUUID ¶ added in v1.5.0
func (s *GetEventSourceMappingInput) SetUUID(v string) *GetEventSourceMappingInput
SetUUID sets the UUID field's value.
func (GetEventSourceMappingInput) String ¶ added in v0.6.5
func (s GetEventSourceMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetEventSourceMappingInput) Validate ¶ added in v1.1.21
func (s *GetEventSourceMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionCodeSigningConfigInput ¶ added in v1.35.34
type GetFunctionCodeSigningConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFunctionCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s GetFunctionCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionCodeSigningConfigInput) SetFunctionName ¶ added in v1.35.34
func (s *GetFunctionCodeSigningConfigInput) SetFunctionName(v string) *GetFunctionCodeSigningConfigInput
SetFunctionName sets the FunctionName field's value.
func (GetFunctionCodeSigningConfigInput) String ¶ added in v1.35.34
func (s GetFunctionCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *GetFunctionCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionCodeSigningConfigOutput ¶ added in v1.35.34
type GetFunctionCodeSigningConfigOutput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `type:"string" required:"true"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFunctionCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s GetFunctionCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *GetFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn(v string) *GetFunctionCodeSigningConfigOutput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*GetFunctionCodeSigningConfigOutput) SetFunctionName ¶ added in v1.35.34
func (s *GetFunctionCodeSigningConfigOutput) SetFunctionName(v string) *GetFunctionCodeSigningConfigOutput
SetFunctionName sets the FunctionName field's value.
func (GetFunctionCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s GetFunctionCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFunctionConcurrencyInput ¶ added in v1.25.47
type GetFunctionConcurrencyInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFunctionConcurrencyInput) GoString ¶ added in v1.25.47
func (s GetFunctionConcurrencyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionConcurrencyInput) SetFunctionName ¶ added in v1.25.47
func (s *GetFunctionConcurrencyInput) SetFunctionName(v string) *GetFunctionConcurrencyInput
SetFunctionName sets the FunctionName field's value.
func (GetFunctionConcurrencyInput) String ¶ added in v1.25.47
func (s GetFunctionConcurrencyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionConcurrencyInput) Validate ¶ added in v1.25.47
func (s *GetFunctionConcurrencyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionConcurrencyOutput ¶ added in v1.25.47
type GetFunctionConcurrencyOutput struct { // The number of simultaneous executions that are reserved for the function. ReservedConcurrentExecutions *int64 `type:"integer"` // contains filtered or unexported fields }
func (GetFunctionConcurrencyOutput) GoString ¶ added in v1.25.47
func (s GetFunctionConcurrencyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionConcurrencyOutput) SetReservedConcurrentExecutions ¶ added in v1.25.47
func (s *GetFunctionConcurrencyOutput) SetReservedConcurrentExecutions(v int64) *GetFunctionConcurrencyOutput
SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value.
func (GetFunctionConcurrencyOutput) String ¶ added in v1.25.47
func (s GetFunctionConcurrencyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFunctionConfigurationInput ¶
type GetFunctionConfigurationInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version or alias to get details about a published version of the // function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFunctionConfigurationInput) GoString ¶ added in v0.6.5
func (s GetFunctionConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionConfigurationInput) SetFunctionName ¶ added in v1.5.0
func (s *GetFunctionConfigurationInput) SetFunctionName(v string) *GetFunctionConfigurationInput
SetFunctionName sets the FunctionName field's value.
func (*GetFunctionConfigurationInput) SetQualifier ¶ added in v1.5.0
func (s *GetFunctionConfigurationInput) SetQualifier(v string) *GetFunctionConfigurationInput
SetQualifier sets the Qualifier field's value.
func (GetFunctionConfigurationInput) String ¶ added in v0.6.5
func (s GetFunctionConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionConfigurationInput) Validate ¶ added in v1.1.21
func (s *GetFunctionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionEventInvokeConfigInput ¶ added in v1.25.42
type GetFunctionEventInvokeConfigInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // A version number or alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFunctionEventInvokeConfigInput) GoString ¶ added in v1.25.42
func (s GetFunctionEventInvokeConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionEventInvokeConfigInput) SetFunctionName ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigInput) SetFunctionName(v string) *GetFunctionEventInvokeConfigInput
SetFunctionName sets the FunctionName field's value.
func (*GetFunctionEventInvokeConfigInput) SetQualifier ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigInput) SetQualifier(v string) *GetFunctionEventInvokeConfigInput
SetQualifier sets the Qualifier field's value.
func (GetFunctionEventInvokeConfigInput) String ¶ added in v1.25.42
func (s GetFunctionEventInvokeConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionEventInvokeConfigInput) Validate ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionEventInvokeConfigOutput ¶ added in v1.25.42
type GetFunctionEventInvokeConfigOutput 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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The Amazon Resource Name (ARN) of the function. FunctionArn *string `type:"string"` // The date and time that the configuration was last updated. LastModified *time.Time `type:"timestamp"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // contains filtered or unexported fields }
func (GetFunctionEventInvokeConfigOutput) GoString ¶ added in v1.25.42
func (s GetFunctionEventInvokeConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionEventInvokeConfigOutput) SetDestinationConfig ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *GetFunctionEventInvokeConfigOutput
SetDestinationConfig sets the DestinationConfig field's value.
func (*GetFunctionEventInvokeConfigOutput) SetFunctionArn ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *GetFunctionEventInvokeConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*GetFunctionEventInvokeConfigOutput) SetLastModified ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *GetFunctionEventInvokeConfigOutput
SetLastModified sets the LastModified field's value.
func (*GetFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *GetFunctionEventInvokeConfigOutput
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*GetFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *GetFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *GetFunctionEventInvokeConfigOutput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (GetFunctionEventInvokeConfigOutput) String ¶ added in v1.25.42
func (s GetFunctionEventInvokeConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFunctionInput ¶
type GetFunctionInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version or alias to get details about a published version of the // function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFunctionInput) GoString ¶ added in v0.6.5
func (s GetFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionInput) SetFunctionName ¶ added in v1.5.0
func (s *GetFunctionInput) SetFunctionName(v string) *GetFunctionInput
SetFunctionName sets the FunctionName field's value.
func (*GetFunctionInput) SetQualifier ¶ added in v1.5.0
func (s *GetFunctionInput) SetQualifier(v string) *GetFunctionInput
SetQualifier sets the Qualifier field's value.
func (GetFunctionInput) String ¶ added in v0.6.5
func (s GetFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionInput) Validate ¶ added in v1.1.21
func (s *GetFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionOutput ¶
type GetFunctionOutput struct { // The deployment package of the function or version. Code *FunctionCodeLocation `type:"structure"` // The function's reserved concurrency (https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). Concurrency *PutFunctionConcurrencyOutput `type:"structure"` // The configuration of the function or version. Configuration *FunctionConfiguration `type:"structure"` // The function's tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (GetFunctionOutput) GoString ¶ added in v0.6.5
func (s GetFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionOutput) SetCode ¶ added in v1.5.0
func (s *GetFunctionOutput) SetCode(v *FunctionCodeLocation) *GetFunctionOutput
SetCode sets the Code field's value.
func (*GetFunctionOutput) SetConcurrency ¶ added in v1.12.38
func (s *GetFunctionOutput) SetConcurrency(v *PutFunctionConcurrencyOutput) *GetFunctionOutput
SetConcurrency sets the Concurrency field's value.
func (*GetFunctionOutput) SetConfiguration ¶ added in v1.5.0
func (s *GetFunctionOutput) SetConfiguration(v *FunctionConfiguration) *GetFunctionOutput
SetConfiguration sets the Configuration field's value.
func (*GetFunctionOutput) SetTags ¶ added in v1.8.13
func (s *GetFunctionOutput) SetTags(v map[string]*string) *GetFunctionOutput
SetTags sets the Tags field's value.
func (GetFunctionOutput) String ¶ added in v0.6.5
func (s GetFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetFunctionUrlConfigInput ¶ added in v1.42.9
type GetFunctionUrlConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetFunctionUrlConfigInput) GoString ¶ added in v1.42.9
func (s GetFunctionUrlConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionUrlConfigInput) SetFunctionName ¶ added in v1.42.9
func (s *GetFunctionUrlConfigInput) SetFunctionName(v string) *GetFunctionUrlConfigInput
SetFunctionName sets the FunctionName field's value.
func (*GetFunctionUrlConfigInput) SetQualifier ¶ added in v1.42.9
func (s *GetFunctionUrlConfigInput) SetQualifier(v string) *GetFunctionUrlConfigInput
SetQualifier sets the Qualifier field's value.
func (GetFunctionUrlConfigInput) String ¶ added in v1.42.9
func (s GetFunctionUrlConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionUrlConfigInput) Validate ¶ added in v1.42.9
func (s *GetFunctionUrlConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetFunctionUrlConfigOutput ¶ added in v1.42.9
type GetFunctionUrlConfigOutput 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // AuthType is a required field AuthType *string `type:"string" required:"true" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // // CreationTime is a required field CreationTime *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of your function. // // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The HTTP URL endpoint for your function. // // FunctionUrl is a required field FunctionUrl *string `min:"40" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // When the function URL configuration was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). // // LastModifiedTime is a required field LastModifiedTime *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (GetFunctionUrlConfigOutput) GoString ¶ added in v1.42.9
func (s GetFunctionUrlConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetFunctionUrlConfigOutput) SetAuthType ¶ added in v1.43.34
func (s *GetFunctionUrlConfigOutput) SetAuthType(v string) *GetFunctionUrlConfigOutput
SetAuthType sets the AuthType field's value.
func (*GetFunctionUrlConfigOutput) SetCors ¶ added in v1.42.9
func (s *GetFunctionUrlConfigOutput) SetCors(v *Cors) *GetFunctionUrlConfigOutput
SetCors sets the Cors field's value.
func (*GetFunctionUrlConfigOutput) SetCreationTime ¶ added in v1.42.9
func (s *GetFunctionUrlConfigOutput) SetCreationTime(v string) *GetFunctionUrlConfigOutput
SetCreationTime sets the CreationTime field's value.
func (*GetFunctionUrlConfigOutput) SetFunctionArn ¶ added in v1.42.9
func (s *GetFunctionUrlConfigOutput) SetFunctionArn(v string) *GetFunctionUrlConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*GetFunctionUrlConfigOutput) SetFunctionUrl ¶ added in v1.42.9
func (s *GetFunctionUrlConfigOutput) SetFunctionUrl(v string) *GetFunctionUrlConfigOutput
SetFunctionUrl sets the FunctionUrl field's value.
func (*GetFunctionUrlConfigOutput) SetInvokeMode ¶ added in v1.44.239
func (s *GetFunctionUrlConfigOutput) SetInvokeMode(v string) *GetFunctionUrlConfigOutput
SetInvokeMode sets the InvokeMode field's value.
func (*GetFunctionUrlConfigOutput) SetLastModifiedTime ¶ added in v1.42.9
func (s *GetFunctionUrlConfigOutput) SetLastModifiedTime(v string) *GetFunctionUrlConfigOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (GetFunctionUrlConfigOutput) String ¶ added in v1.42.9
func (s GetFunctionUrlConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLayerVersionByArnInput ¶ added in v1.19.18
type GetLayerVersionByArnInput struct { // The ARN of the layer version. // // Arn is a required field Arn *string `location:"querystring" locationName:"Arn" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetLayerVersionByArnInput) GoString ¶ added in v1.19.18
func (s GetLayerVersionByArnInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionByArnInput) SetArn ¶ added in v1.19.18
func (s *GetLayerVersionByArnInput) SetArn(v string) *GetLayerVersionByArnInput
SetArn sets the Arn field's value.
func (GetLayerVersionByArnInput) String ¶ added in v1.19.18
func (s GetLayerVersionByArnInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionByArnInput) Validate ¶ added in v1.19.18
func (s *GetLayerVersionByArnInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLayerVersionByArnOutput ¶ added in v1.19.18
type GetLayerVersionByArnOutput struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` // The date that the layer version was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). CreatedDate *string `type:"string"` // The description of the version. Description *string `type:"string"` // The ARN of the layer. LayerArn *string `min:"1" type:"string"` // The ARN of the layer version. LayerVersionArn *string `min:"1" type:"string"` // The layer's software license. LicenseInfo *string `type:"string"` // The version number. Version *int64 `type:"long"` // contains filtered or unexported fields }
func (GetLayerVersionByArnOutput) GoString ¶ added in v1.19.18
func (s GetLayerVersionByArnOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionByArnOutput) SetCompatibleArchitectures ¶ added in v1.40.52
func (s *GetLayerVersionByArnOutput) SetCompatibleArchitectures(v []*string) *GetLayerVersionByArnOutput
SetCompatibleArchitectures sets the CompatibleArchitectures field's value.
func (*GetLayerVersionByArnOutput) SetCompatibleRuntimes ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetCompatibleRuntimes(v []*string) *GetLayerVersionByArnOutput
SetCompatibleRuntimes sets the CompatibleRuntimes field's value.
func (*GetLayerVersionByArnOutput) SetContent ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetContent(v *LayerVersionContentOutput) *GetLayerVersionByArnOutput
SetContent sets the Content field's value.
func (*GetLayerVersionByArnOutput) SetCreatedDate ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetCreatedDate(v string) *GetLayerVersionByArnOutput
SetCreatedDate sets the CreatedDate field's value.
func (*GetLayerVersionByArnOutput) SetDescription ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetDescription(v string) *GetLayerVersionByArnOutput
SetDescription sets the Description field's value.
func (*GetLayerVersionByArnOutput) SetLayerArn ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetLayerArn(v string) *GetLayerVersionByArnOutput
SetLayerArn sets the LayerArn field's value.
func (*GetLayerVersionByArnOutput) SetLayerVersionArn ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetLayerVersionArn(v string) *GetLayerVersionByArnOutput
SetLayerVersionArn sets the LayerVersionArn field's value.
func (*GetLayerVersionByArnOutput) SetLicenseInfo ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetLicenseInfo(v string) *GetLayerVersionByArnOutput
SetLicenseInfo sets the LicenseInfo field's value.
func (*GetLayerVersionByArnOutput) SetVersion ¶ added in v1.19.18
func (s *GetLayerVersionByArnOutput) SetVersion(v int64) *GetLayerVersionByArnOutput
SetVersion sets the Version field's value.
func (GetLayerVersionByArnOutput) String ¶ added in v1.19.18
func (s GetLayerVersionByArnOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLayerVersionInput ¶ added in v1.15.87
type GetLayerVersionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // The version number. // // VersionNumber is a required field VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"` // contains filtered or unexported fields }
func (GetLayerVersionInput) GoString ¶ added in v1.15.87
func (s GetLayerVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionInput) SetLayerName ¶ added in v1.15.87
func (s *GetLayerVersionInput) SetLayerName(v string) *GetLayerVersionInput
SetLayerName sets the LayerName field's value.
func (*GetLayerVersionInput) SetVersionNumber ¶ added in v1.15.87
func (s *GetLayerVersionInput) SetVersionNumber(v int64) *GetLayerVersionInput
SetVersionNumber sets the VersionNumber field's value.
func (GetLayerVersionInput) String ¶ added in v1.15.87
func (s GetLayerVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionInput) Validate ¶ added in v1.15.87
func (s *GetLayerVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLayerVersionOutput ¶ added in v1.15.87
type GetLayerVersionOutput struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` // The date that the layer version was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). CreatedDate *string `type:"string"` // The description of the version. Description *string `type:"string"` // The ARN of the layer. LayerArn *string `min:"1" type:"string"` // The ARN of the layer version. LayerVersionArn *string `min:"1" type:"string"` // The layer's software license. LicenseInfo *string `type:"string"` // The version number. Version *int64 `type:"long"` // contains filtered or unexported fields }
func (GetLayerVersionOutput) GoString ¶ added in v1.15.87
func (s GetLayerVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionOutput) SetCompatibleArchitectures ¶ added in v1.40.52
func (s *GetLayerVersionOutput) SetCompatibleArchitectures(v []*string) *GetLayerVersionOutput
SetCompatibleArchitectures sets the CompatibleArchitectures field's value.
func (*GetLayerVersionOutput) SetCompatibleRuntimes ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetCompatibleRuntimes(v []*string) *GetLayerVersionOutput
SetCompatibleRuntimes sets the CompatibleRuntimes field's value.
func (*GetLayerVersionOutput) SetContent ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetContent(v *LayerVersionContentOutput) *GetLayerVersionOutput
SetContent sets the Content field's value.
func (*GetLayerVersionOutput) SetCreatedDate ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetCreatedDate(v string) *GetLayerVersionOutput
SetCreatedDate sets the CreatedDate field's value.
func (*GetLayerVersionOutput) SetDescription ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetDescription(v string) *GetLayerVersionOutput
SetDescription sets the Description field's value.
func (*GetLayerVersionOutput) SetLayerArn ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetLayerArn(v string) *GetLayerVersionOutput
SetLayerArn sets the LayerArn field's value.
func (*GetLayerVersionOutput) SetLayerVersionArn ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetLayerVersionArn(v string) *GetLayerVersionOutput
SetLayerVersionArn sets the LayerVersionArn field's value.
func (*GetLayerVersionOutput) SetLicenseInfo ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetLicenseInfo(v string) *GetLayerVersionOutput
SetLicenseInfo sets the LicenseInfo field's value.
func (*GetLayerVersionOutput) SetVersion ¶ added in v1.15.87
func (s *GetLayerVersionOutput) SetVersion(v int64) *GetLayerVersionOutput
SetVersion sets the Version field's value.
func (GetLayerVersionOutput) String ¶ added in v1.15.87
func (s GetLayerVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetLayerVersionPolicyInput ¶ added in v1.15.87
type GetLayerVersionPolicyInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // The version number. // // VersionNumber is a required field VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"` // contains filtered or unexported fields }
func (GetLayerVersionPolicyInput) GoString ¶ added in v1.15.87
func (s GetLayerVersionPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionPolicyInput) SetLayerName ¶ added in v1.15.87
func (s *GetLayerVersionPolicyInput) SetLayerName(v string) *GetLayerVersionPolicyInput
SetLayerName sets the LayerName field's value.
func (*GetLayerVersionPolicyInput) SetVersionNumber ¶ added in v1.15.87
func (s *GetLayerVersionPolicyInput) SetVersionNumber(v int64) *GetLayerVersionPolicyInput
SetVersionNumber sets the VersionNumber field's value.
func (GetLayerVersionPolicyInput) String ¶ added in v1.15.87
func (s GetLayerVersionPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionPolicyInput) Validate ¶ added in v1.15.87
func (s *GetLayerVersionPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetLayerVersionPolicyOutput ¶ added in v1.15.87
type GetLayerVersionPolicyOutput struct { // The policy document. Policy *string `type:"string"` // A unique identifier for the current revision of the policy. RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (GetLayerVersionPolicyOutput) GoString ¶ added in v1.15.87
func (s GetLayerVersionPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetLayerVersionPolicyOutput) SetPolicy ¶ added in v1.15.87
func (s *GetLayerVersionPolicyOutput) SetPolicy(v string) *GetLayerVersionPolicyOutput
SetPolicy sets the Policy field's value.
func (*GetLayerVersionPolicyOutput) SetRevisionId ¶ added in v1.15.87
func (s *GetLayerVersionPolicyOutput) SetRevisionId(v string) *GetLayerVersionPolicyOutput
SetRevisionId sets the RevisionId field's value.
func (GetLayerVersionPolicyOutput) String ¶ added in v1.15.87
func (s GetLayerVersionPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetPolicyInput ¶
type GetPolicyInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version or alias to get the policy for that resource. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetPolicyInput) GoString ¶ added in v0.6.5
func (s GetPolicyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPolicyInput) SetFunctionName ¶ added in v1.5.0
func (s *GetPolicyInput) SetFunctionName(v string) *GetPolicyInput
SetFunctionName sets the FunctionName field's value.
func (*GetPolicyInput) SetQualifier ¶ added in v1.5.0
func (s *GetPolicyInput) SetQualifier(v string) *GetPolicyInput
SetQualifier sets the Qualifier field's value.
func (GetPolicyInput) String ¶ added in v0.6.5
func (s GetPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPolicyInput) Validate ¶ added in v1.1.21
func (s *GetPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetPolicyOutput ¶
type GetPolicyOutput struct { // The resource-based policy. Policy *string `type:"string"` // A unique identifier for the current revision of the policy. RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (GetPolicyOutput) GoString ¶ added in v0.6.5
func (s GetPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetPolicyOutput) SetPolicy ¶ added in v1.5.0
func (s *GetPolicyOutput) SetPolicy(v string) *GetPolicyOutput
SetPolicy sets the Policy field's value.
func (*GetPolicyOutput) SetRevisionId ¶ added in v1.12.69
func (s *GetPolicyOutput) SetRevisionId(v string) *GetPolicyOutput
SetRevisionId sets the RevisionId field's value.
func (GetPolicyOutput) String ¶ added in v0.6.5
func (s GetPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetProvisionedConcurrencyConfigInput ¶ added in v1.25.47
type GetProvisionedConcurrencyConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The version number or alias name. // // Qualifier is a required field Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (GetProvisionedConcurrencyConfigInput) GoString ¶ added in v1.25.47
func (s GetProvisionedConcurrencyConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedConcurrencyConfigInput) SetFunctionName ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigInput) SetFunctionName(v string) *GetProvisionedConcurrencyConfigInput
SetFunctionName sets the FunctionName field's value.
func (*GetProvisionedConcurrencyConfigInput) SetQualifier ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigInput) SetQualifier(v string) *GetProvisionedConcurrencyConfigInput
SetQualifier sets the Qualifier field's value.
func (GetProvisionedConcurrencyConfigInput) String ¶ added in v1.25.47
func (s GetProvisionedConcurrencyConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedConcurrencyConfigInput) Validate ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetProvisionedConcurrencyConfigOutput ¶ added in v1.25.47
type GetProvisionedConcurrencyConfigOutput 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 *int64 `type:"integer"` // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int64 `type:"integer"` // The date and time that a user last updated the configuration, in ISO 8601 // format (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string `type:"string"` // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int64 `min:"1" type:"integer"` // The status of the allocation process. Status *string `type:"string" enum:"ProvisionedConcurrencyStatusEnum"` // For failed allocations, the reason that provisioned concurrency could not // be allocated. StatusReason *string `type:"string"` // contains filtered or unexported fields }
func (GetProvisionedConcurrencyConfigOutput) GoString ¶ added in v1.25.47
func (s GetProvisionedConcurrencyConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
SetAllocatedProvisionedConcurrentExecutions sets the AllocatedProvisionedConcurrentExecutions field's value.
func (*GetProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
SetAvailableProvisionedConcurrentExecutions sets the AvailableProvisionedConcurrentExecutions field's value.
func (*GetProvisionedConcurrencyConfigOutput) SetLastModified ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetLastModified(v string) *GetProvisionedConcurrencyConfigOutput
SetLastModified sets the LastModified field's value.
func (*GetProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions(v int64) *GetProvisionedConcurrencyConfigOutput
SetRequestedProvisionedConcurrentExecutions sets the RequestedProvisionedConcurrentExecutions field's value.
func (*GetProvisionedConcurrencyConfigOutput) SetStatus ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetStatus(v string) *GetProvisionedConcurrencyConfigOutput
SetStatus sets the Status field's value.
func (*GetProvisionedConcurrencyConfigOutput) SetStatusReason ¶ added in v1.25.47
func (s *GetProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *GetProvisionedConcurrencyConfigOutput
SetStatusReason sets the StatusReason field's value.
func (GetProvisionedConcurrencyConfigOutput) String ¶ added in v1.25.47
func (s GetProvisionedConcurrencyConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GetRuntimeManagementConfigInput ¶ added in v1.44.185
type GetRuntimeManagementConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version of the function. This can be $LATEST or a published version // number. If no value is specified, the configuration for the $LATEST version // is returned. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (GetRuntimeManagementConfigInput) GoString ¶ added in v1.44.185
func (s GetRuntimeManagementConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRuntimeManagementConfigInput) SetFunctionName ¶ added in v1.44.185
func (s *GetRuntimeManagementConfigInput) SetFunctionName(v string) *GetRuntimeManagementConfigInput
SetFunctionName sets the FunctionName field's value.
func (*GetRuntimeManagementConfigInput) SetQualifier ¶ added in v1.44.185
func (s *GetRuntimeManagementConfigInput) SetQualifier(v string) *GetRuntimeManagementConfigInput
SetQualifier sets the Qualifier field's value.
func (GetRuntimeManagementConfigInput) String ¶ added in v1.44.185
func (s GetRuntimeManagementConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRuntimeManagementConfigInput) Validate ¶ added in v1.44.185
func (s *GetRuntimeManagementConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetRuntimeManagementConfigOutput ¶ added in v1.44.185
type GetRuntimeManagementConfigOutput struct { // The Amazon Resource Name (ARN) of your function. FunctionArn *string `type:"string"` // The ARN of the runtime the function is configured to use. If the runtime // update mode is Manual, the ARN is returned, otherwise null is returned. RuntimeVersionArn *string `min:"26" type:"string"` // The current runtime update mode of the function. UpdateRuntimeOn *string `type:"string" enum:"UpdateRuntimeOn"` // contains filtered or unexported fields }
func (GetRuntimeManagementConfigOutput) GoString ¶ added in v1.44.185
func (s GetRuntimeManagementConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*GetRuntimeManagementConfigOutput) SetFunctionArn ¶ added in v1.44.210
func (s *GetRuntimeManagementConfigOutput) SetFunctionArn(v string) *GetRuntimeManagementConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*GetRuntimeManagementConfigOutput) SetRuntimeVersionArn ¶ added in v1.44.185
func (s *GetRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *GetRuntimeManagementConfigOutput
SetRuntimeVersionArn sets the RuntimeVersionArn field's value.
func (*GetRuntimeManagementConfigOutput) SetUpdateRuntimeOn ¶ added in v1.44.185
func (s *GetRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *GetRuntimeManagementConfigOutput
SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value.
func (GetRuntimeManagementConfigOutput) String ¶ added in v1.44.185
func (s GetRuntimeManagementConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImageConfig ¶ added in v1.35.37
type ImageConfig struct { // Specifies parameters that you want to pass in with ENTRYPOINT. Command []*string `type:"list"` // Specifies the entry point to their application, which is typically the location // of the runtime executable. EntryPoint []*string `type:"list"` // Specifies the working directory. WorkingDirectory *string `type:"string"` // contains filtered or unexported fields }
Configuration values that override the container image Dockerfile settings. For more information, see Container image settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
func (ImageConfig) GoString ¶ added in v1.35.37
func (s ImageConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImageConfig) SetCommand ¶ added in v1.35.37
func (s *ImageConfig) SetCommand(v []*string) *ImageConfig
SetCommand sets the Command field's value.
func (*ImageConfig) SetEntryPoint ¶ added in v1.35.37
func (s *ImageConfig) SetEntryPoint(v []*string) *ImageConfig
SetEntryPoint sets the EntryPoint field's value.
func (*ImageConfig) SetWorkingDirectory ¶ added in v1.35.37
func (s *ImageConfig) SetWorkingDirectory(v string) *ImageConfig
SetWorkingDirectory sets the WorkingDirectory field's value.
func (ImageConfig) String ¶ added in v1.35.37
func (s ImageConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImageConfigError ¶ added in v1.35.37
type ImageConfigError struct { // Error code. ErrorCode *string `type:"string"` // Error message. // // Message is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ImageConfigError's // String and GoString methods. Message *string `type:"string" sensitive:"true"` // contains filtered or unexported fields }
Error response to GetFunctionConfiguration.
func (ImageConfigError) GoString ¶ added in v1.35.37
func (s ImageConfigError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImageConfigError) SetErrorCode ¶ added in v1.35.37
func (s *ImageConfigError) SetErrorCode(v string) *ImageConfigError
SetErrorCode sets the ErrorCode field's value.
func (*ImageConfigError) SetMessage ¶ added in v1.35.37
func (s *ImageConfigError) SetMessage(v string) *ImageConfigError
SetMessage sets the Message field's value.
func (ImageConfigError) String ¶ added in v1.35.37
func (s ImageConfigError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ImageConfigResponse ¶ added in v1.35.37
type ImageConfigResponse struct { // Error response to GetFunctionConfiguration. Error *ImageConfigError `type:"structure"` // Configuration values that override the container image Dockerfile. ImageConfig *ImageConfig `type:"structure"` // contains filtered or unexported fields }
Response to a GetFunctionConfiguration request.
func (ImageConfigResponse) GoString ¶ added in v1.35.37
func (s ImageConfigResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ImageConfigResponse) SetError ¶ added in v1.35.37
func (s *ImageConfigResponse) SetError(v *ImageConfigError) *ImageConfigResponse
SetError sets the Error field's value.
func (*ImageConfigResponse) SetImageConfig ¶ added in v1.35.37
func (s *ImageConfigResponse) SetImageConfig(v *ImageConfig) *ImageConfigResponse
SetImageConfig sets the ImageConfig field's value.
func (ImageConfigResponse) String ¶ added in v1.35.37
func (s ImageConfigResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidCodeSignatureException ¶ added in v1.35.34
type InvalidCodeSignatureException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) Code() string
Code returns the exception type name.
func (*InvalidCodeSignatureException) Error ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) Error() string
func (InvalidCodeSignatureException) GoString ¶ added in v1.35.34
func (s InvalidCodeSignatureException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidCodeSignatureException) Message ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) Message() string
Message returns the exception's message.
func (*InvalidCodeSignatureException) OrigErr ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidCodeSignatureException) RequestID ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidCodeSignatureException) StatusCode ¶ added in v1.35.34
func (s *InvalidCodeSignatureException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidCodeSignatureException) String ¶ added in v1.35.34
func (s InvalidCodeSignatureException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidParameterValueException ¶ added in v1.28.0
type InvalidParameterValueException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"message" type:"string"` // The exception type. Type *string `type:"string"` // contains filtered or unexported fields }
One of the parameters in the request is not valid.
func (*InvalidParameterValueException) Code ¶ added in v1.28.0
func (s *InvalidParameterValueException) Code() string
Code returns the exception type name.
func (*InvalidParameterValueException) Error ¶ added in v1.28.0
func (s *InvalidParameterValueException) Error() string
func (InvalidParameterValueException) GoString ¶ added in v1.28.0
func (s InvalidParameterValueException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidParameterValueException) Message ¶ added in v1.28.0
func (s *InvalidParameterValueException) Message() string
Message returns the exception's message.
func (*InvalidParameterValueException) OrigErr ¶ added in v1.28.0
func (s *InvalidParameterValueException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidParameterValueException) RequestID ¶ added in v1.28.0
func (s *InvalidParameterValueException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidParameterValueException) StatusCode ¶ added in v1.28.0
func (s *InvalidParameterValueException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidParameterValueException) String ¶ added in v1.28.0
func (s InvalidParameterValueException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidRequestContentException ¶ added in v1.28.0
type InvalidRequestContentException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"message" type:"string"` // The exception type. Type *string `type:"string"` // contains filtered or unexported fields }
The request body could not be parsed as JSON.
func (*InvalidRequestContentException) Code ¶ added in v1.28.0
func (s *InvalidRequestContentException) Code() string
Code returns the exception type name.
func (*InvalidRequestContentException) Error ¶ added in v1.28.0
func (s *InvalidRequestContentException) Error() string
func (InvalidRequestContentException) GoString ¶ added in v1.28.0
func (s InvalidRequestContentException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidRequestContentException) Message ¶ added in v1.28.0
func (s *InvalidRequestContentException) Message() string
Message returns the exception's message.
func (*InvalidRequestContentException) OrigErr ¶ added in v1.28.0
func (s *InvalidRequestContentException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRequestContentException) RequestID ¶ added in v1.28.0
func (s *InvalidRequestContentException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRequestContentException) StatusCode ¶ added in v1.28.0
func (s *InvalidRequestContentException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRequestContentException) String ¶ added in v1.28.0
func (s InvalidRequestContentException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidRuntimeException ¶ added in v1.28.0
type InvalidRuntimeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The runtime or runtime version specified is not supported.
func (*InvalidRuntimeException) Code ¶ added in v1.28.0
func (s *InvalidRuntimeException) Code() string
Code returns the exception type name.
func (*InvalidRuntimeException) Error ¶ added in v1.28.0
func (s *InvalidRuntimeException) Error() string
func (InvalidRuntimeException) GoString ¶ added in v1.28.0
func (s InvalidRuntimeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidRuntimeException) Message ¶ added in v1.28.0
func (s *InvalidRuntimeException) Message() string
Message returns the exception's message.
func (*InvalidRuntimeException) OrigErr ¶ added in v1.28.0
func (s *InvalidRuntimeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidRuntimeException) RequestID ¶ added in v1.28.0
func (s *InvalidRuntimeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidRuntimeException) StatusCode ¶ added in v1.28.0
func (s *InvalidRuntimeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidRuntimeException) String ¶ added in v1.28.0
func (s InvalidRuntimeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidSecurityGroupIDException ¶ added in v1.28.0
type InvalidSecurityGroupIDException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The security group ID provided in the Lambda function VPC configuration is not valid.
func (*InvalidSecurityGroupIDException) Code ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) Code() string
Code returns the exception type name.
func (*InvalidSecurityGroupIDException) Error ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) Error() string
func (InvalidSecurityGroupIDException) GoString ¶ added in v1.28.0
func (s InvalidSecurityGroupIDException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidSecurityGroupIDException) Message ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) Message() string
Message returns the exception's message.
func (*InvalidSecurityGroupIDException) OrigErr ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSecurityGroupIDException) RequestID ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSecurityGroupIDException) StatusCode ¶ added in v1.28.0
func (s *InvalidSecurityGroupIDException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSecurityGroupIDException) String ¶ added in v1.28.0
func (s InvalidSecurityGroupIDException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidSubnetIDException ¶ added in v1.28.0
type InvalidSubnetIDException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The subnet ID provided in the Lambda function VPC configuration is not valid.
func (*InvalidSubnetIDException) Code ¶ added in v1.28.0
func (s *InvalidSubnetIDException) Code() string
Code returns the exception type name.
func (*InvalidSubnetIDException) Error ¶ added in v1.28.0
func (s *InvalidSubnetIDException) Error() string
func (InvalidSubnetIDException) GoString ¶ added in v1.28.0
func (s InvalidSubnetIDException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidSubnetIDException) Message ¶ added in v1.28.0
func (s *InvalidSubnetIDException) Message() string
Message returns the exception's message.
func (*InvalidSubnetIDException) OrigErr ¶ added in v1.28.0
func (s *InvalidSubnetIDException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidSubnetIDException) RequestID ¶ added in v1.28.0
func (s *InvalidSubnetIDException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidSubnetIDException) StatusCode ¶ added in v1.28.0
func (s *InvalidSubnetIDException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidSubnetIDException) String ¶ added in v1.28.0
func (s InvalidSubnetIDException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvalidZipFileException ¶ added in v1.28.0
type InvalidZipFileException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Lambda could not unzip the deployment package.
func (*InvalidZipFileException) Code ¶ added in v1.28.0
func (s *InvalidZipFileException) Code() string
Code returns the exception type name.
func (*InvalidZipFileException) Error ¶ added in v1.28.0
func (s *InvalidZipFileException) Error() string
func (InvalidZipFileException) GoString ¶ added in v1.28.0
func (s InvalidZipFileException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvalidZipFileException) Message ¶ added in v1.28.0
func (s *InvalidZipFileException) Message() string
Message returns the exception's message.
func (*InvalidZipFileException) OrigErr ¶ added in v1.28.0
func (s *InvalidZipFileException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*InvalidZipFileException) RequestID ¶ added in v1.28.0
func (s *InvalidZipFileException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*InvalidZipFileException) StatusCode ¶ added in v1.28.0
func (s *InvalidZipFileException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (InvalidZipFileException) String ¶ added in v1.28.0
func (s InvalidZipFileException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvokeAsyncInput
deprecated
type InvokeAsyncInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The JSON that you want to provide to your Lambda function as input. // // InvokeArgs is a required field InvokeArgs io.ReadSeeker `type:"blob" required:"true"` // contains filtered or unexported fields }
Deprecated: InvokeAsyncInput has been deprecated
func (InvokeAsyncInput) GoString ¶ added in v0.6.5
func (s InvokeAsyncInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeAsyncInput) SetFunctionName ¶ added in v1.5.0
func (s *InvokeAsyncInput) SetFunctionName(v string) *InvokeAsyncInput
SetFunctionName sets the FunctionName field's value.
func (*InvokeAsyncInput) SetInvokeArgs ¶ added in v1.5.0
func (s *InvokeAsyncInput) SetInvokeArgs(v io.ReadSeeker) *InvokeAsyncInput
SetInvokeArgs sets the InvokeArgs field's value.
func (InvokeAsyncInput) String ¶ added in v0.6.5
func (s InvokeAsyncInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeAsyncInput) Validate ¶ added in v1.1.21
func (s *InvokeAsyncInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InvokeAsyncOutput
deprecated
type InvokeAsyncOutput struct { // The status code. Status *int64 `location:"statusCode" type:"integer"` // contains filtered or unexported fields }
A success response (202 Accepted) indicates that the request is queued for invocation.
Deprecated: InvokeAsyncOutput has been deprecated
func (InvokeAsyncOutput) GoString ¶ added in v0.6.5
func (s InvokeAsyncOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeAsyncOutput) SetStatus ¶ added in v1.5.0
func (s *InvokeAsyncOutput) SetStatus(v int64) *InvokeAsyncOutput
SetStatus sets the Status field's value.
func (InvokeAsyncOutput) String ¶ added in v0.6.5
func (s InvokeAsyncOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvokeInput ¶
type InvokeInput struct { // Up to 3,583 bytes of base64-encoded data about the invoking client to pass // to the function in the context object. Lambda passes the ClientContext object // to your function for synchronous invocations only. ClientContext *string `location:"header" locationName:"X-Amz-Client-Context" type:"string"` // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Choose from the following options. // // * RequestResponse (default) – Invoke the function synchronously. Keep // the connection open until the function returns a response or times out. // The API response includes the function response and additional data. // // * Event – Invoke the function asynchronously. Send events that fail // multiple times to the function's dead-letter queue (if one is configured). // The API response only includes a status code. // // * DryRun – Validate parameter values and verify that the user or role // has permission to invoke the function. InvocationType *string `location:"header" locationName:"X-Amz-Invocation-Type" type:"string" enum:"InvocationType"` // Set to Tail to include the execution log in the response. Applies to synchronously // invoked functions only. LogType *string `location:"header" locationName:"X-Amz-Log-Type" type:"string" enum:"LogType"` // The JSON that you want to provide to your Lambda function as input. // // You can enter the JSON directly. For example, --payload '{ "key": "value" // }'. You can also specify a file path. For example, --payload file://payload.json. // // Payload is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InvokeInput's // String and GoString methods. Payload []byte `type:"blob" sensitive:"true"` // Specify a version or alias to invoke a published version of the function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (InvokeInput) GoString ¶ added in v0.6.5
func (s InvokeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeInput) SetClientContext ¶ added in v1.5.0
func (s *InvokeInput) SetClientContext(v string) *InvokeInput
SetClientContext sets the ClientContext field's value.
func (*InvokeInput) SetFunctionName ¶ added in v1.5.0
func (s *InvokeInput) SetFunctionName(v string) *InvokeInput
SetFunctionName sets the FunctionName field's value.
func (*InvokeInput) SetInvocationType ¶ added in v1.5.0
func (s *InvokeInput) SetInvocationType(v string) *InvokeInput
SetInvocationType sets the InvocationType field's value.
func (*InvokeInput) SetLogType ¶ added in v1.5.0
func (s *InvokeInput) SetLogType(v string) *InvokeInput
SetLogType sets the LogType field's value.
func (*InvokeInput) SetPayload ¶ added in v1.5.0
func (s *InvokeInput) SetPayload(v []byte) *InvokeInput
SetPayload sets the Payload field's value.
func (*InvokeInput) SetQualifier ¶ added in v1.5.0
func (s *InvokeInput) SetQualifier(v string) *InvokeInput
SetQualifier sets the Qualifier field's value.
func (InvokeInput) String ¶ added in v0.6.5
func (s InvokeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeInput) Validate ¶ added in v1.1.21
func (s *InvokeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InvokeOutput ¶
type InvokeOutput struct { // The version of the function that executed. When you invoke a function with // an alias, this indicates which version the alias resolved to. ExecutedVersion *string `location:"header" locationName:"X-Amz-Executed-Version" min:"1" type:"string"` // If present, indicates that an error occurred during function execution. Details // about the error are included in the response payload. FunctionError *string `location:"header" locationName:"X-Amz-Function-Error" type:"string"` // The last 4 KB of the execution log, which is base64-encoded. LogResult *string `location:"header" locationName:"X-Amz-Log-Result" type:"string"` // The response from the function, or an error object. // // Payload is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InvokeOutput's // String and GoString methods. Payload []byte `type:"blob" sensitive:"true"` // The HTTP status code is in the 200 range for a successful request. For the // RequestResponse invocation type, this status code is 200. For the Event invocation // type, this status code is 202. For the DryRun invocation type, the status // code is 204. StatusCode *int64 `location:"statusCode" type:"integer"` // contains filtered or unexported fields }
func (InvokeOutput) GoString ¶ added in v0.6.5
func (s InvokeOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeOutput) SetExecutedVersion ¶ added in v1.12.35
func (s *InvokeOutput) SetExecutedVersion(v string) *InvokeOutput
SetExecutedVersion sets the ExecutedVersion field's value.
func (*InvokeOutput) SetFunctionError ¶ added in v1.5.0
func (s *InvokeOutput) SetFunctionError(v string) *InvokeOutput
SetFunctionError sets the FunctionError field's value.
func (*InvokeOutput) SetLogResult ¶ added in v1.5.0
func (s *InvokeOutput) SetLogResult(v string) *InvokeOutput
SetLogResult sets the LogResult field's value.
func (*InvokeOutput) SetPayload ¶ added in v1.5.0
func (s *InvokeOutput) SetPayload(v []byte) *InvokeOutput
SetPayload sets the Payload field's value.
func (*InvokeOutput) SetStatusCode ¶ added in v1.5.0
func (s *InvokeOutput) SetStatusCode(v int64) *InvokeOutput
SetStatusCode sets the StatusCode field's value.
func (InvokeOutput) String ¶ added in v0.6.5
func (s InvokeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvokeResponseStreamUpdate ¶ added in v1.44.239
type InvokeResponseStreamUpdate struct { // Data returned by your Lambda function. // // Payload is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InvokeResponseStreamUpdate's // String and GoString methods. // // Payload is automatically base64 encoded/decoded by the SDK. Payload []byte `type:"blob" sensitive:"true"` // contains filtered or unexported fields }
A chunk of the streamed response payload.
func (InvokeResponseStreamUpdate) GoString ¶ added in v1.44.239
func (s InvokeResponseStreamUpdate) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeResponseStreamUpdate) MarshalEvent ¶ added in v1.44.239
func (s *InvokeResponseStreamUpdate) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
MarshalEvent marshals the type into an stream event value. This method should only used internally within the SDK's EventStream handling.
func (*InvokeResponseStreamUpdate) SetPayload ¶ added in v1.44.239
func (s *InvokeResponseStreamUpdate) SetPayload(v []byte) *InvokeResponseStreamUpdate
SetPayload sets the Payload field's value.
func (InvokeResponseStreamUpdate) String ¶ added in v1.44.239
func (s InvokeResponseStreamUpdate) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeResponseStreamUpdate) UnmarshalEvent ¶ added in v1.44.239
func (s *InvokeResponseStreamUpdate) UnmarshalEvent( payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message, ) error
UnmarshalEvent unmarshals the EventStream Message into the InvokeResponseStreamUpdate value. This method is only used internally within the SDK's EventStream handling.
type InvokeWithResponseStreamCompleteEvent ¶ added in v1.44.239
type InvokeWithResponseStreamCompleteEvent struct { // An error code. ErrorCode *string `type:"string"` // The details of any returned error. ErrorDetails *string `type:"string"` // The last 4 KB of the execution log, which is base64-encoded. LogResult *string `type:"string"` // contains filtered or unexported fields }
A response confirming that the event stream is complete.
func (InvokeWithResponseStreamCompleteEvent) GoString ¶ added in v1.44.239
func (s InvokeWithResponseStreamCompleteEvent) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeWithResponseStreamCompleteEvent) MarshalEvent ¶ added in v1.44.239
func (s *InvokeWithResponseStreamCompleteEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream.Message, err error)
MarshalEvent marshals the type into an stream event value. This method should only used internally within the SDK's EventStream handling.
func (*InvokeWithResponseStreamCompleteEvent) SetErrorCode ¶ added in v1.44.239
func (s *InvokeWithResponseStreamCompleteEvent) SetErrorCode(v string) *InvokeWithResponseStreamCompleteEvent
SetErrorCode sets the ErrorCode field's value.
func (*InvokeWithResponseStreamCompleteEvent) SetErrorDetails ¶ added in v1.44.239
func (s *InvokeWithResponseStreamCompleteEvent) SetErrorDetails(v string) *InvokeWithResponseStreamCompleteEvent
SetErrorDetails sets the ErrorDetails field's value.
func (*InvokeWithResponseStreamCompleteEvent) SetLogResult ¶ added in v1.44.239
func (s *InvokeWithResponseStreamCompleteEvent) SetLogResult(v string) *InvokeWithResponseStreamCompleteEvent
SetLogResult sets the LogResult field's value.
func (InvokeWithResponseStreamCompleteEvent) String ¶ added in v1.44.239
func (s InvokeWithResponseStreamCompleteEvent) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeWithResponseStreamCompleteEvent) UnmarshalEvent ¶ added in v1.44.239
func (s *InvokeWithResponseStreamCompleteEvent) UnmarshalEvent( payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message, ) error
UnmarshalEvent unmarshals the EventStream Message into the InvokeWithResponseStreamCompleteEvent value. This method is only used internally within the SDK's EventStream handling.
type InvokeWithResponseStreamEventStream ¶ added in v1.44.239
type InvokeWithResponseStreamEventStream struct { // Reader is the EventStream reader for the InvokeWithResponseStreamResponseEvent // events. This value is automatically set by the SDK when the API call is made // Use this member when unit testing your code with the SDK to mock out the // EventStream Reader. // // Must not be nil. Reader InvokeWithResponseStreamResponseEventReader // contains filtered or unexported fields }
InvokeWithResponseStreamEventStream provides the event stream handling for the InvokeWithResponseStream.
For testing and mocking the event stream this type should be initialized via the NewInvokeWithResponseStreamEventStream constructor function. Using the functional options to pass in nested mock behavior.
func NewInvokeWithResponseStreamEventStream ¶ added in v1.44.239
func NewInvokeWithResponseStreamEventStream(opts ...func(*InvokeWithResponseStreamEventStream)) *InvokeWithResponseStreamEventStream
NewInvokeWithResponseStreamEventStream initializes an InvokeWithResponseStreamEventStream. This function should only be used for testing and mocking the InvokeWithResponseStreamEventStream stream within your application.
The Reader member must be set before reading events from the stream.
es := NewInvokeWithResponseStreamEventStream(func(o *InvokeWithResponseStreamEventStream){ es.Reader = myMockStreamReader })
func (*InvokeWithResponseStreamEventStream) Close ¶ added in v1.44.239
func (es *InvokeWithResponseStreamEventStream) Close() (err error)
Close closes the stream. This will also cause the stream to be closed. Close must be called when done using the stream API. Not calling Close may result in resource leaks.
You can use the closing of the Reader's Events channel to terminate your application's read from the API's stream.
func (*InvokeWithResponseStreamEventStream) Err ¶ added in v1.44.239
func (es *InvokeWithResponseStreamEventStream) Err() error
Err returns any error that occurred while reading or writing EventStream Events from the service API's response. Returns nil if there were no errors.
func (*InvokeWithResponseStreamEventStream) Events ¶ added in v1.44.239
func (es *InvokeWithResponseStreamEventStream) Events() <-chan InvokeWithResponseStreamResponseEventEvent
Events returns a channel to read events from.
These events are:
- InvokeWithResponseStreamCompleteEvent
- InvokeResponseStreamUpdate
- InvokeWithResponseStreamResponseEventUnknownEvent
type InvokeWithResponseStreamInput ¶ added in v1.44.239
type InvokeWithResponseStreamInput struct { // Up to 3,583 bytes of base64-encoded data about the invoking client to pass // to the function in the context object. ClientContext *string `location:"header" locationName:"X-Amz-Client-Context" type:"string"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Use one of the following options: // // * RequestResponse (default) – Invoke the function synchronously. Keep // the connection open until the function returns a response or times out. // The API operation response includes the function response and additional // data. // // * DryRun – Validate parameter values and verify that the IAM user or // role has permission to invoke the function. InvocationType *string `location:"header" locationName:"X-Amz-Invocation-Type" type:"string" enum:"ResponseStreamingInvocationType"` // Set to Tail to include the execution log in the response. Applies to synchronously // invoked functions only. LogType *string `location:"header" locationName:"X-Amz-Log-Type" type:"string" enum:"LogType"` // The JSON that you want to provide to your Lambda function as input. // // You can enter the JSON directly. For example, --payload '{ "key": "value" // }'. You can also specify a file path. For example, --payload file://payload.json. // // Payload is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InvokeWithResponseStreamInput's // String and GoString methods. Payload []byte `type:"blob" sensitive:"true"` // The alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (InvokeWithResponseStreamInput) GoString ¶ added in v1.44.239
func (s InvokeWithResponseStreamInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeWithResponseStreamInput) SetClientContext ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetClientContext(v string) *InvokeWithResponseStreamInput
SetClientContext sets the ClientContext field's value.
func (*InvokeWithResponseStreamInput) SetFunctionName ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetFunctionName(v string) *InvokeWithResponseStreamInput
SetFunctionName sets the FunctionName field's value.
func (*InvokeWithResponseStreamInput) SetInvocationType ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetInvocationType(v string) *InvokeWithResponseStreamInput
SetInvocationType sets the InvocationType field's value.
func (*InvokeWithResponseStreamInput) SetLogType ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetLogType(v string) *InvokeWithResponseStreamInput
SetLogType sets the LogType field's value.
func (*InvokeWithResponseStreamInput) SetPayload ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetPayload(v []byte) *InvokeWithResponseStreamInput
SetPayload sets the Payload field's value.
func (*InvokeWithResponseStreamInput) SetQualifier ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) SetQualifier(v string) *InvokeWithResponseStreamInput
SetQualifier sets the Qualifier field's value.
func (InvokeWithResponseStreamInput) String ¶ added in v1.44.239
func (s InvokeWithResponseStreamInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeWithResponseStreamInput) Validate ¶ added in v1.44.239
func (s *InvokeWithResponseStreamInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type InvokeWithResponseStreamOutput ¶ added in v1.44.239
type InvokeWithResponseStreamOutput struct { // The version of the function that executed. When you invoke a function with // an alias, this indicates which version the alias resolved to. ExecutedVersion *string `location:"header" locationName:"X-Amz-Executed-Version" min:"1" type:"string"` // The type of data the stream is returning. ResponseStreamContentType *string `location:"header" locationName:"Content-Type" type:"string"` // For a successful request, the HTTP status code is in the 200 range. For the // RequestResponse invocation type, this status code is 200. For the DryRun // invocation type, this status code is 204. StatusCode *int64 `location:"statusCode" type:"integer"` // contains filtered or unexported fields }
func (*InvokeWithResponseStreamOutput) GetStream ¶ added in v1.44.239
func (s *InvokeWithResponseStreamOutput) GetStream() *InvokeWithResponseStreamEventStream
GetStream returns the type to interact with the event stream.
func (InvokeWithResponseStreamOutput) GoString ¶ added in v1.44.239
func (s InvokeWithResponseStreamOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*InvokeWithResponseStreamOutput) SetExecutedVersion ¶ added in v1.44.239
func (s *InvokeWithResponseStreamOutput) SetExecutedVersion(v string) *InvokeWithResponseStreamOutput
SetExecutedVersion sets the ExecutedVersion field's value.
func (*InvokeWithResponseStreamOutput) SetResponseStreamContentType ¶ added in v1.44.239
func (s *InvokeWithResponseStreamOutput) SetResponseStreamContentType(v string) *InvokeWithResponseStreamOutput
SetResponseStreamContentType sets the ResponseStreamContentType field's value.
func (*InvokeWithResponseStreamOutput) SetStatusCode ¶ added in v1.44.239
func (s *InvokeWithResponseStreamOutput) SetStatusCode(v int64) *InvokeWithResponseStreamOutput
SetStatusCode sets the StatusCode field's value.
func (InvokeWithResponseStreamOutput) String ¶ added in v1.44.239
func (s InvokeWithResponseStreamOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type InvokeWithResponseStreamResponseEventEvent ¶ added in v1.44.239
type InvokeWithResponseStreamResponseEventEvent interface { eventstreamapi.Marshaler eventstreamapi.Unmarshaler // contains filtered or unexported methods }
InvokeWithResponseStreamResponseEventEvent groups together all EventStream events writes for InvokeWithResponseStreamResponseEvent.
These events are:
- InvokeWithResponseStreamCompleteEvent
- InvokeResponseStreamUpdate
type InvokeWithResponseStreamResponseEventReader ¶ added in v1.44.239
type InvokeWithResponseStreamResponseEventReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan InvokeWithResponseStreamResponseEventEvent // Close will stop the reader reading events from the stream. Close() error // Returns any error that has occurred while reading from the event stream. Err() error }
InvokeWithResponseStreamResponseEventReader provides the interface for reading to the stream. The default implementation for this interface will be InvokeWithResponseStreamResponseEvent.
The reader's Close method must allow multiple concurrent calls.
These events are:
- InvokeWithResponseStreamCompleteEvent
- InvokeResponseStreamUpdate
- InvokeWithResponseStreamResponseEventUnknownEvent
type InvokeWithResponseStreamResponseEventUnknownEvent ¶ added in v1.44.239
type InvokeWithResponseStreamResponseEventUnknownEvent struct { Type string Message eventstream.Message }
InvokeWithResponseStreamResponseEventUnknownEvent provides a failsafe event for the InvokeWithResponseStreamResponseEvent group of events when an unknown event is received.
func (*InvokeWithResponseStreamResponseEventUnknownEvent) MarshalEvent ¶ added in v1.44.239
func (e *InvokeWithResponseStreamResponseEventUnknownEvent) MarshalEvent(pm protocol.PayloadMarshaler) ( msg eventstream.Message, err error, )
MarshalEvent marshals the type into an stream event value. This method should only used internally within the SDK's EventStream handling.
func (*InvokeWithResponseStreamResponseEventUnknownEvent) UnmarshalEvent ¶ added in v1.44.239
func (e *InvokeWithResponseStreamResponseEventUnknownEvent) UnmarshalEvent( payloadUnmarshaler protocol.PayloadUnmarshaler, msg eventstream.Message, ) error
UnmarshalEvent unmarshals the EventStream Message into the InvokeWithResponseStreamResponseEvent value. This method is only used internally within the SDK's EventStream handling.
type KMSAccessDeniedException ¶ added in v1.28.0
type KMSAccessDeniedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *KMSAccessDeniedException) Code() string
Code returns the exception type name.
func (*KMSAccessDeniedException) Error ¶ added in v1.28.0
func (s *KMSAccessDeniedException) Error() string
func (KMSAccessDeniedException) GoString ¶ added in v1.28.0
func (s KMSAccessDeniedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSAccessDeniedException) Message ¶ added in v1.28.0
func (s *KMSAccessDeniedException) Message() string
Message returns the exception's message.
func (*KMSAccessDeniedException) OrigErr ¶ added in v1.28.0
func (s *KMSAccessDeniedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KMSAccessDeniedException) RequestID ¶ added in v1.28.0
func (s *KMSAccessDeniedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KMSAccessDeniedException) StatusCode ¶ added in v1.28.0
func (s *KMSAccessDeniedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KMSAccessDeniedException) String ¶ added in v1.28.0
func (s KMSAccessDeniedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KMSDisabledException ¶ added in v1.28.0
type KMSDisabledException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *KMSDisabledException) Code() string
Code returns the exception type name.
func (*KMSDisabledException) Error ¶ added in v1.28.0
func (s *KMSDisabledException) Error() string
func (KMSDisabledException) GoString ¶ added in v1.28.0
func (s KMSDisabledException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSDisabledException) Message ¶ added in v1.28.0
func (s *KMSDisabledException) Message() string
Message returns the exception's message.
func (*KMSDisabledException) OrigErr ¶ added in v1.28.0
func (s *KMSDisabledException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KMSDisabledException) RequestID ¶ added in v1.28.0
func (s *KMSDisabledException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KMSDisabledException) StatusCode ¶ added in v1.28.0
func (s *KMSDisabledException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KMSDisabledException) String ¶ added in v1.28.0
func (s KMSDisabledException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KMSInvalidStateException ¶ added in v1.28.0
type KMSInvalidStateException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *KMSInvalidStateException) Code() string
Code returns the exception type name.
func (*KMSInvalidStateException) Error ¶ added in v1.28.0
func (s *KMSInvalidStateException) Error() string
func (KMSInvalidStateException) GoString ¶ added in v1.28.0
func (s KMSInvalidStateException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSInvalidStateException) Message ¶ added in v1.28.0
func (s *KMSInvalidStateException) Message() string
Message returns the exception's message.
func (*KMSInvalidStateException) OrigErr ¶ added in v1.28.0
func (s *KMSInvalidStateException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KMSInvalidStateException) RequestID ¶ added in v1.28.0
func (s *KMSInvalidStateException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KMSInvalidStateException) StatusCode ¶ added in v1.28.0
func (s *KMSInvalidStateException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KMSInvalidStateException) String ¶ added in v1.28.0
func (s KMSInvalidStateException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type KMSNotFoundException ¶ added in v1.28.0
type KMSNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *KMSNotFoundException) Code() string
Code returns the exception type name.
func (*KMSNotFoundException) Error ¶ added in v1.28.0
func (s *KMSNotFoundException) Error() string
func (KMSNotFoundException) GoString ¶ added in v1.28.0
func (s KMSNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*KMSNotFoundException) Message ¶ added in v1.28.0
func (s *KMSNotFoundException) Message() string
Message returns the exception's message.
func (*KMSNotFoundException) OrigErr ¶ added in v1.28.0
func (s *KMSNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*KMSNotFoundException) RequestID ¶ added in v1.28.0
func (s *KMSNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*KMSNotFoundException) StatusCode ¶ added in v1.28.0
func (s *KMSNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (KMSNotFoundException) String ¶ added in v1.28.0
func (s KMSNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type Lambda ¶
Lambda provides the API operation methods for making requests to AWS Lambda. See this package's package overview docs for details on the service.
Lambda methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *Lambda
New creates a new instance of the Lambda client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
mySession := session.Must(session.NewSession()) // Create a Lambda client from just a session. svc := lambda.New(mySession) // Create a Lambda client with additional configuration svc := lambda.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*Lambda) AddLayerVersionPermission ¶ added in v1.15.87
func (c *Lambda) AddLayerVersionPermission(input *AddLayerVersionPermissionInput) (*AddLayerVersionPermissionOutput, error)
AddLayerVersionPermission API operation for AWS Lambda.
Adds permissions to the resource-based policy of a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.
To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation AddLayerVersionPermission for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
PolicyLengthExceededException The permissions policy for the resource is too large. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddLayerVersionPermission
func (*Lambda) AddLayerVersionPermissionRequest ¶ added in v1.15.87
func (c *Lambda) AddLayerVersionPermissionRequest(input *AddLayerVersionPermissionInput) (req *request.Request, output *AddLayerVersionPermissionOutput)
AddLayerVersionPermissionRequest generates a "aws/request.Request" representing the client's request for the AddLayerVersionPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddLayerVersionPermission for more information on using the AddLayerVersionPermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddLayerVersionPermissionRequest method. req, resp := client.AddLayerVersionPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddLayerVersionPermission
func (*Lambda) AddLayerVersionPermissionWithContext ¶ added in v1.15.87
func (c *Lambda) AddLayerVersionPermissionWithContext(ctx aws.Context, input *AddLayerVersionPermissionInput, opts ...request.Option) (*AddLayerVersionPermissionOutput, error)
AddLayerVersionPermissionWithContext is the same as AddLayerVersionPermission with the addition of the ability to pass a context and additional request options.
See AddLayerVersionPermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) AddPermission ¶
func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error)
AddPermission API operation for AWS Lambda.
Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.
To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation AddPermission for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
InvalidParameterValueException One of the parameters in the request is not valid.
PolicyLengthExceededException The permissions policy for the resource is too large. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission
func (*Lambda) AddPermissionRequest ¶
func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput)
AddPermissionRequest generates a "aws/request.Request" representing the client's request for the AddPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddPermission for more information on using the AddPermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AddPermissionRequest method. req, resp := client.AddPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission
func (*Lambda) AddPermissionWithContext ¶ added in v1.8.0
func (c *Lambda) AddPermissionWithContext(ctx aws.Context, input *AddPermissionInput, opts ...request.Option) (*AddPermissionOutput, error)
AddPermissionWithContext is the same as AddPermission with the addition of the ability to pass a context and additional request options.
See AddPermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) CreateAlias ¶ added in v0.9.14
func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error)
CreateAlias API operation for AWS Lambda.
Creates an alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.
You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation CreateAlias for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias
func (*Lambda) CreateAliasRequest ¶ added in v0.9.14
func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *AliasConfiguration)
CreateAliasRequest generates a "aws/request.Request" representing the client's request for the CreateAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateAlias for more information on using the CreateAlias API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateAliasRequest method. req, resp := client.CreateAliasRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias
func (*Lambda) CreateAliasWithContext ¶ added in v1.8.0
func (c *Lambda) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInput, opts ...request.Option) (*AliasConfiguration, error)
CreateAliasWithContext is the same as CreateAlias with the addition of the ability to pass a context and additional request options.
See CreateAlias for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) CreateCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) CreateCodeSigningConfig(input *CreateCodeSigningConfigInput) (*CreateCodeSigningConfigOutput, error)
CreateCodeSigningConfig API operation for AWS Lambda.
Creates a code signing configuration. A code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html) defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation CreateCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig
func (*Lambda) CreateCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) CreateCodeSigningConfigRequest(input *CreateCodeSigningConfigInput) (req *request.Request, output *CreateCodeSigningConfigOutput)
CreateCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the CreateCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCodeSigningConfig for more information on using the CreateCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateCodeSigningConfigRequest method. req, resp := client.CreateCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig
func (*Lambda) CreateCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) CreateCodeSigningConfigWithContext(ctx aws.Context, input *CreateCodeSigningConfigInput, opts ...request.Option) (*CreateCodeSigningConfigOutput, error)
CreateCodeSigningConfigWithContext is the same as CreateCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See CreateCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) CreateEventSourceMapping ¶
func (c *Lambda) CreateEventSourceMapping(input *CreateEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
CreateEventSourceMapping API operation for AWS Lambda.
Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.
For details about how to configure different event sources, see the following topics.
Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
Amazon DocumentDB (https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
The following error handling options are available only for stream sources (DynamoDB and Kinesis):
BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry.
DestinationConfig – Send discarded records to an Amazon SQS queue or Amazon SNS topic.
MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
ParallelizationFactor – Process multiple batches from each shard concurrently.
For information about which configuration parameters apply to each event source, see the following topics.
Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params)
Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params)
Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params)
Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params)
Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms)
Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms)
Amazon DocumentDB (https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation CreateEventSourceMapping for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceConflictException The resource already exists, or another operation is in progress.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping
func (*Lambda) CreateEventSourceMappingRequest ¶
func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
CreateEventSourceMappingRequest generates a "aws/request.Request" representing the client's request for the CreateEventSourceMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateEventSourceMapping for more information on using the CreateEventSourceMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateEventSourceMappingRequest method. req, resp := client.CreateEventSourceMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping
func (*Lambda) CreateEventSourceMappingWithContext ¶ added in v1.8.0
func (c *Lambda) CreateEventSourceMappingWithContext(ctx aws.Context, input *CreateEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
CreateEventSourceMappingWithContext is the same as CreateEventSourceMapping with the addition of the ability to pass a context and additional request options.
See CreateEventSourceMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) CreateFunction ¶
func (c *Lambda) CreateFunction(input *CreateFunctionInput) (*FunctionConfiguration, error)
CreateFunction API operation for AWS Lambda.
Creates a Lambda function. To create a function, you need a deployment package (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) and an execution role (https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role). The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.
If the deployment package is a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html), then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.
If the deployment package is a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip), then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64.
When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html).
A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.
The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).
You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.
If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.
To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions (https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation CreateFunction for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
CodeStorageExceededException Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
CodeVerificationFailedException The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
InvalidCodeSignatureException 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.
CodeSigningConfigNotFoundException The specified code signing configuration does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction
func (*Lambda) CreateFunctionRequest ¶
func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *FunctionConfiguration)
CreateFunctionRequest generates a "aws/request.Request" representing the client's request for the CreateFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateFunction for more information on using the CreateFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateFunctionRequest method. req, resp := client.CreateFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction
func (*Lambda) CreateFunctionUrlConfig ¶ added in v1.42.9
func (c *Lambda) CreateFunctionUrlConfig(input *CreateFunctionUrlConfigInput) (*CreateFunctionUrlConfigOutput, error)
CreateFunctionUrlConfig API operation for AWS Lambda.
Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation CreateFunctionUrlConfig for usage and error information.
Returned Error Types:
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig
func (*Lambda) CreateFunctionUrlConfigRequest ¶ added in v1.42.9
func (c *Lambda) CreateFunctionUrlConfigRequest(input *CreateFunctionUrlConfigInput) (req *request.Request, output *CreateFunctionUrlConfigOutput)
CreateFunctionUrlConfigRequest generates a "aws/request.Request" representing the client's request for the CreateFunctionUrlConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateFunctionUrlConfig for more information on using the CreateFunctionUrlConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateFunctionUrlConfigRequest method. req, resp := client.CreateFunctionUrlConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig
func (*Lambda) CreateFunctionUrlConfigWithContext ¶ added in v1.42.9
func (c *Lambda) CreateFunctionUrlConfigWithContext(ctx aws.Context, input *CreateFunctionUrlConfigInput, opts ...request.Option) (*CreateFunctionUrlConfigOutput, error)
CreateFunctionUrlConfigWithContext is the same as CreateFunctionUrlConfig with the addition of the ability to pass a context and additional request options.
See CreateFunctionUrlConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) CreateFunctionWithContext ¶ added in v1.8.0
func (c *Lambda) CreateFunctionWithContext(ctx aws.Context, input *CreateFunctionInput, opts ...request.Option) (*FunctionConfiguration, error)
CreateFunctionWithContext is the same as CreateFunction with the addition of the ability to pass a context and additional request options.
See CreateFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteAlias ¶ added in v0.9.14
func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error)
DeleteAlias API operation for AWS Lambda.
Deletes a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteAlias for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceConflictException The resource already exists, or another operation is in progress.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias
func (*Lambda) DeleteAliasRequest ¶ added in v0.9.14
func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput)
DeleteAliasRequest generates a "aws/request.Request" representing the client's request for the DeleteAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAlias for more information on using the DeleteAlias API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAliasRequest method. req, resp := client.DeleteAliasRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias
func (*Lambda) DeleteAliasWithContext ¶ added in v1.8.0
func (c *Lambda) DeleteAliasWithContext(ctx aws.Context, input *DeleteAliasInput, opts ...request.Option) (*DeleteAliasOutput, error)
DeleteAliasWithContext is the same as DeleteAlias with the addition of the ability to pass a context and additional request options.
See DeleteAlias for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) DeleteCodeSigningConfig(input *DeleteCodeSigningConfigInput) (*DeleteCodeSigningConfigOutput, error)
DeleteCodeSigningConfig API operation for AWS Lambda.
Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfig
func (*Lambda) DeleteCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) DeleteCodeSigningConfigRequest(input *DeleteCodeSigningConfigInput) (req *request.Request, output *DeleteCodeSigningConfigOutput)
DeleteCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteCodeSigningConfig for more information on using the DeleteCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteCodeSigningConfigRequest method. req, resp := client.DeleteCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfig
func (*Lambda) DeleteCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) DeleteCodeSigningConfigWithContext(ctx aws.Context, input *DeleteCodeSigningConfigInput, opts ...request.Option) (*DeleteCodeSigningConfigOutput, error)
DeleteCodeSigningConfigWithContext is the same as DeleteCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See DeleteCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteEventSourceMapping ¶
func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
DeleteEventSourceMapping API operation for AWS Lambda.
Deletes an event source mapping (https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html). You can get the identifier of a mapping from the output of ListEventSourceMappings.
When you delete an event source mapping, it enters a Deleting state and might not be completely deleted for several seconds.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteEventSourceMapping for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceInUseException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping
func (*Lambda) DeleteEventSourceMappingRequest ¶
func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
DeleteEventSourceMappingRequest generates a "aws/request.Request" representing the client's request for the DeleteEventSourceMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteEventSourceMapping for more information on using the DeleteEventSourceMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteEventSourceMappingRequest method. req, resp := client.DeleteEventSourceMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping
func (*Lambda) DeleteEventSourceMappingWithContext ¶ added in v1.8.0
func (c *Lambda) DeleteEventSourceMappingWithContext(ctx aws.Context, input *DeleteEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
DeleteEventSourceMappingWithContext is the same as DeleteEventSourceMapping with the addition of the ability to pass a context and additional request options.
See DeleteEventSourceMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteFunction ¶
func (c *Lambda) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error)
DeleteFunction API operation for AWS Lambda.
Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit permissions for DeleteAlias.
To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteFunction for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction
func (*Lambda) DeleteFunctionCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) DeleteFunctionCodeSigningConfig(input *DeleteFunctionCodeSigningConfigInput) (*DeleteFunctionCodeSigningConfigOutput, error)
DeleteFunctionCodeSigningConfig API operation for AWS Lambda.
Removes the code signing configuration from the function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteFunctionCodeSigningConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
CodeSigningConfigNotFoundException The specified code signing configuration does not exist.
ResourceNotFoundException The resource specified in the request does not exist.
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig
func (*Lambda) DeleteFunctionCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCodeSigningConfigInput) (req *request.Request, output *DeleteFunctionCodeSigningConfigOutput)
DeleteFunctionCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteFunctionCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunctionCodeSigningConfig for more information on using the DeleteFunctionCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionCodeSigningConfigRequest method. req, resp := client.DeleteFunctionCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig
func (*Lambda) DeleteFunctionCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) DeleteFunctionCodeSigningConfigWithContext(ctx aws.Context, input *DeleteFunctionCodeSigningConfigInput, opts ...request.Option) (*DeleteFunctionCodeSigningConfigOutput, error)
DeleteFunctionCodeSigningConfigWithContext is the same as DeleteFunctionCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See DeleteFunctionCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteFunctionConcurrency ¶ added in v1.12.38
func (c *Lambda) DeleteFunctionConcurrency(input *DeleteFunctionConcurrencyInput) (*DeleteFunctionConcurrencyOutput, error)
DeleteFunctionConcurrency API operation for AWS Lambda.
Removes a concurrent execution limit from a function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteFunctionConcurrency for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency
func (*Lambda) DeleteFunctionConcurrencyRequest ¶ added in v1.12.38
func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurrencyInput) (req *request.Request, output *DeleteFunctionConcurrencyOutput)
DeleteFunctionConcurrencyRequest generates a "aws/request.Request" representing the client's request for the DeleteFunctionConcurrency operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunctionConcurrency for more information on using the DeleteFunctionConcurrency API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionConcurrencyRequest method. req, resp := client.DeleteFunctionConcurrencyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency
func (*Lambda) DeleteFunctionConcurrencyWithContext ¶ added in v1.12.38
func (c *Lambda) DeleteFunctionConcurrencyWithContext(ctx aws.Context, input *DeleteFunctionConcurrencyInput, opts ...request.Option) (*DeleteFunctionConcurrencyOutput, error)
DeleteFunctionConcurrencyWithContext is the same as DeleteFunctionConcurrency with the addition of the ability to pass a context and additional request options.
See DeleteFunctionConcurrency for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteFunctionEventInvokeConfig ¶ added in v1.25.42
func (c *Lambda) DeleteFunctionEventInvokeConfig(input *DeleteFunctionEventInvokeConfigInput) (*DeleteFunctionEventInvokeConfigOutput, error)
DeleteFunctionEventInvokeConfig API operation for AWS Lambda.
Deletes the configuration for asynchronous invocation for a function, version, or alias.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteFunctionEventInvokeConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig
func (*Lambda) DeleteFunctionEventInvokeConfigRequest ¶ added in v1.25.42
func (c *Lambda) DeleteFunctionEventInvokeConfigRequest(input *DeleteFunctionEventInvokeConfigInput) (req *request.Request, output *DeleteFunctionEventInvokeConfigOutput)
DeleteFunctionEventInvokeConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteFunctionEventInvokeConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunctionEventInvokeConfig for more information on using the DeleteFunctionEventInvokeConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionEventInvokeConfigRequest method. req, resp := client.DeleteFunctionEventInvokeConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig
func (*Lambda) DeleteFunctionEventInvokeConfigWithContext ¶ added in v1.25.42
func (c *Lambda) DeleteFunctionEventInvokeConfigWithContext(ctx aws.Context, input *DeleteFunctionEventInvokeConfigInput, opts ...request.Option) (*DeleteFunctionEventInvokeConfigOutput, error)
DeleteFunctionEventInvokeConfigWithContext is the same as DeleteFunctionEventInvokeConfig with the addition of the ability to pass a context and additional request options.
See DeleteFunctionEventInvokeConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteFunctionRequest ¶
func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput)
DeleteFunctionRequest generates a "aws/request.Request" representing the client's request for the DeleteFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunction for more information on using the DeleteFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionRequest method. req, resp := client.DeleteFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction
func (*Lambda) DeleteFunctionUrlConfig ¶ added in v1.42.9
func (c *Lambda) DeleteFunctionUrlConfig(input *DeleteFunctionUrlConfigInput) (*DeleteFunctionUrlConfigOutput, error)
DeleteFunctionUrlConfig API operation for AWS Lambda.
Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteFunctionUrlConfig for usage and error information.
Returned Error Types:
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotFoundException The resource specified in the request does not exist.
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig
func (*Lambda) DeleteFunctionUrlConfigRequest ¶ added in v1.42.9
func (c *Lambda) DeleteFunctionUrlConfigRequest(input *DeleteFunctionUrlConfigInput) (req *request.Request, output *DeleteFunctionUrlConfigOutput)
DeleteFunctionUrlConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteFunctionUrlConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFunctionUrlConfig for more information on using the DeleteFunctionUrlConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFunctionUrlConfigRequest method. req, resp := client.DeleteFunctionUrlConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig
func (*Lambda) DeleteFunctionUrlConfigWithContext ¶ added in v1.42.9
func (c *Lambda) DeleteFunctionUrlConfigWithContext(ctx aws.Context, input *DeleteFunctionUrlConfigInput, opts ...request.Option) (*DeleteFunctionUrlConfigOutput, error)
DeleteFunctionUrlConfigWithContext is the same as DeleteFunctionUrlConfig with the addition of the ability to pass a context and additional request options.
See DeleteFunctionUrlConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteFunctionWithContext ¶ added in v1.8.0
func (c *Lambda) DeleteFunctionWithContext(ctx aws.Context, input *DeleteFunctionInput, opts ...request.Option) (*DeleteFunctionOutput, error)
DeleteFunctionWithContext is the same as DeleteFunction with the addition of the ability to pass a context and additional request options.
See DeleteFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteLayerVersion ¶ added in v1.15.87
func (c *Lambda) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error)
DeleteLayerVersion API operation for AWS Lambda.
Deletes a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteLayerVersion for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion
func (*Lambda) DeleteLayerVersionRequest ¶ added in v1.15.87
func (c *Lambda) DeleteLayerVersionRequest(input *DeleteLayerVersionInput) (req *request.Request, output *DeleteLayerVersionOutput)
DeleteLayerVersionRequest generates a "aws/request.Request" representing the client's request for the DeleteLayerVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteLayerVersion for more information on using the DeleteLayerVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteLayerVersionRequest method. req, resp := client.DeleteLayerVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion
func (*Lambda) DeleteLayerVersionWithContext ¶ added in v1.15.87
func (c *Lambda) DeleteLayerVersionWithContext(ctx aws.Context, input *DeleteLayerVersionInput, opts ...request.Option) (*DeleteLayerVersionOutput, error)
DeleteLayerVersionWithContext is the same as DeleteLayerVersion with the addition of the ability to pass a context and additional request options.
See DeleteLayerVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) DeleteProvisionedConcurrencyConfig ¶ added in v1.25.47
func (c *Lambda) DeleteProvisionedConcurrencyConfig(input *DeleteProvisionedConcurrencyConfigInput) (*DeleteProvisionedConcurrencyConfigOutput, error)
DeleteProvisionedConcurrencyConfig API operation for AWS Lambda.
Deletes the provisioned concurrency configuration for a function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation DeleteProvisionedConcurrencyConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig
func (*Lambda) DeleteProvisionedConcurrencyConfigRequest ¶ added in v1.25.47
func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisionedConcurrencyConfigInput) (req *request.Request, output *DeleteProvisionedConcurrencyConfigOutput)
DeleteProvisionedConcurrencyConfigRequest generates a "aws/request.Request" representing the client's request for the DeleteProvisionedConcurrencyConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteProvisionedConcurrencyConfig for more information on using the DeleteProvisionedConcurrencyConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteProvisionedConcurrencyConfigRequest method. req, resp := client.DeleteProvisionedConcurrencyConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig
func (*Lambda) DeleteProvisionedConcurrencyConfigWithContext ¶ added in v1.25.47
func (c *Lambda) DeleteProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *DeleteProvisionedConcurrencyConfigInput, opts ...request.Option) (*DeleteProvisionedConcurrencyConfigOutput, error)
DeleteProvisionedConcurrencyConfigWithContext is the same as DeleteProvisionedConcurrencyConfig with the addition of the ability to pass a context and additional request options.
See DeleteProvisionedConcurrencyConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetAccountSettings ¶ added in v1.5.13
func (c *Lambda) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error)
GetAccountSettings API operation for AWS Lambda.
Retrieves details about your account's limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) and usage in an Amazon Web Services Region.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetAccountSettings for usage and error information.
Returned Error Types:
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings
func (*Lambda) GetAccountSettingsRequest ¶ added in v1.5.13
func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput)
GetAccountSettingsRequest generates a "aws/request.Request" representing the client's request for the GetAccountSettings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAccountSettings for more information on using the GetAccountSettings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAccountSettingsRequest method. req, resp := client.GetAccountSettingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings
func (*Lambda) GetAccountSettingsWithContext ¶ added in v1.8.0
func (c *Lambda) GetAccountSettingsWithContext(ctx aws.Context, input *GetAccountSettingsInput, opts ...request.Option) (*GetAccountSettingsOutput, error)
GetAccountSettingsWithContext is the same as GetAccountSettings with the addition of the ability to pass a context and additional request options.
See GetAccountSettings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetAlias ¶ added in v0.9.14
func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error)
GetAlias API operation for AWS Lambda.
Returns details about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetAlias for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias
func (*Lambda) GetAliasRequest ¶ added in v0.9.14
func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, output *AliasConfiguration)
GetAliasRequest generates a "aws/request.Request" representing the client's request for the GetAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetAlias for more information on using the GetAlias API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetAliasRequest method. req, resp := client.GetAliasRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias
func (*Lambda) GetAliasWithContext ¶ added in v1.8.0
func (c *Lambda) GetAliasWithContext(ctx aws.Context, input *GetAliasInput, opts ...request.Option) (*AliasConfiguration, error)
GetAliasWithContext is the same as GetAlias with the addition of the ability to pass a context and additional request options.
See GetAlias for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) GetCodeSigningConfig(input *GetCodeSigningConfigInput) (*GetCodeSigningConfigOutput, error)
GetCodeSigningConfig API operation for AWS Lambda.
Returns information about the specified code signing configuration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfig
func (*Lambda) GetCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) GetCodeSigningConfigRequest(input *GetCodeSigningConfigInput) (req *request.Request, output *GetCodeSigningConfigOutput)
GetCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the GetCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetCodeSigningConfig for more information on using the GetCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetCodeSigningConfigRequest method. req, resp := client.GetCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfig
func (*Lambda) GetCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) GetCodeSigningConfigWithContext(ctx aws.Context, input *GetCodeSigningConfigInput, opts ...request.Option) (*GetCodeSigningConfigOutput, error)
GetCodeSigningConfigWithContext is the same as GetCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See GetCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetEventSourceMapping ¶
func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
GetEventSourceMapping API operation for AWS Lambda.
Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetEventSourceMapping for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping
func (*Lambda) GetEventSourceMappingRequest ¶
func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
GetEventSourceMappingRequest generates a "aws/request.Request" representing the client's request for the GetEventSourceMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetEventSourceMapping for more information on using the GetEventSourceMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetEventSourceMappingRequest method. req, resp := client.GetEventSourceMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping
func (*Lambda) GetEventSourceMappingWithContext ¶ added in v1.8.0
func (c *Lambda) GetEventSourceMappingWithContext(ctx aws.Context, input *GetEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
GetEventSourceMappingWithContext is the same as GetEventSourceMapping with the addition of the ability to pass a context and additional request options.
See GetEventSourceMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunction ¶
func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error)
GetFunction API operation for AWS Lambda.
Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunction for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction
func (*Lambda) GetFunctionCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) GetFunctionCodeSigningConfig(input *GetFunctionCodeSigningConfigInput) (*GetFunctionCodeSigningConfigOutput, error)
GetFunctionCodeSigningConfig API operation for AWS Lambda.
Returns the code signing configuration for the specified function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunctionCodeSigningConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfig
func (*Lambda) GetFunctionCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigningConfigInput) (req *request.Request, output *GetFunctionCodeSigningConfigOutput)
GetFunctionCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the GetFunctionCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunctionCodeSigningConfig for more information on using the GetFunctionCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionCodeSigningConfigRequest method. req, resp := client.GetFunctionCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfig
func (*Lambda) GetFunctionCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) GetFunctionCodeSigningConfigWithContext(ctx aws.Context, input *GetFunctionCodeSigningConfigInput, opts ...request.Option) (*GetFunctionCodeSigningConfigOutput, error)
GetFunctionCodeSigningConfigWithContext is the same as GetFunctionCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See GetFunctionCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunctionConcurrency ¶ added in v1.25.47
func (c *Lambda) GetFunctionConcurrency(input *GetFunctionConcurrencyInput) (*GetFunctionConcurrencyOutput, error)
GetFunctionConcurrency API operation for AWS Lambda.
Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunctionConcurrency for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConcurrency
func (*Lambda) GetFunctionConcurrencyRequest ¶ added in v1.25.47
func (c *Lambda) GetFunctionConcurrencyRequest(input *GetFunctionConcurrencyInput) (req *request.Request, output *GetFunctionConcurrencyOutput)
GetFunctionConcurrencyRequest generates a "aws/request.Request" representing the client's request for the GetFunctionConcurrency operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunctionConcurrency for more information on using the GetFunctionConcurrency API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionConcurrencyRequest method. req, resp := client.GetFunctionConcurrencyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConcurrency
func (*Lambda) GetFunctionConcurrencyWithContext ¶ added in v1.25.47
func (c *Lambda) GetFunctionConcurrencyWithContext(ctx aws.Context, input *GetFunctionConcurrencyInput, opts ...request.Option) (*GetFunctionConcurrencyOutput, error)
GetFunctionConcurrencyWithContext is the same as GetFunctionConcurrency with the addition of the ability to pass a context and additional request options.
See GetFunctionConcurrency for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunctionConfiguration ¶
func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error)
GetFunctionConfiguration API operation for AWS Lambda.
Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration.
To get all of a function's details, including function-level settings, use GetFunction.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunctionConfiguration for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration
func (*Lambda) GetFunctionConfigurationRequest ¶
func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration)
GetFunctionConfigurationRequest generates a "aws/request.Request" representing the client's request for the GetFunctionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunctionConfiguration for more information on using the GetFunctionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionConfigurationRequest method. req, resp := client.GetFunctionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration
func (*Lambda) GetFunctionConfigurationWithContext ¶ added in v1.8.0
func (c *Lambda) GetFunctionConfigurationWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.Option) (*FunctionConfiguration, error)
GetFunctionConfigurationWithContext is the same as GetFunctionConfiguration with the addition of the ability to pass a context and additional request options.
See GetFunctionConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunctionEventInvokeConfig ¶ added in v1.25.42
func (c *Lambda) GetFunctionEventInvokeConfig(input *GetFunctionEventInvokeConfigInput) (*GetFunctionEventInvokeConfigOutput, error)
GetFunctionEventInvokeConfig API operation for AWS Lambda.
Retrieves the configuration for asynchronous invocation for a function, version, or alias.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunctionEventInvokeConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionEventInvokeConfig
func (*Lambda) GetFunctionEventInvokeConfigRequest ¶ added in v1.25.42
func (c *Lambda) GetFunctionEventInvokeConfigRequest(input *GetFunctionEventInvokeConfigInput) (req *request.Request, output *GetFunctionEventInvokeConfigOutput)
GetFunctionEventInvokeConfigRequest generates a "aws/request.Request" representing the client's request for the GetFunctionEventInvokeConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunctionEventInvokeConfig for more information on using the GetFunctionEventInvokeConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionEventInvokeConfigRequest method. req, resp := client.GetFunctionEventInvokeConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionEventInvokeConfig
func (*Lambda) GetFunctionEventInvokeConfigWithContext ¶ added in v1.25.42
func (c *Lambda) GetFunctionEventInvokeConfigWithContext(ctx aws.Context, input *GetFunctionEventInvokeConfigInput, opts ...request.Option) (*GetFunctionEventInvokeConfigOutput, error)
GetFunctionEventInvokeConfigWithContext is the same as GetFunctionEventInvokeConfig with the addition of the ability to pass a context and additional request options.
See GetFunctionEventInvokeConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunctionRequest ¶
func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput)
GetFunctionRequest generates a "aws/request.Request" representing the client's request for the GetFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunction for more information on using the GetFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionRequest method. req, resp := client.GetFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction
func (*Lambda) GetFunctionUrlConfig ¶ added in v1.42.9
func (c *Lambda) GetFunctionUrlConfig(input *GetFunctionUrlConfigInput) (*GetFunctionUrlConfigOutput, error)
GetFunctionUrlConfig API operation for AWS Lambda.
Returns details about a Lambda function URL.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetFunctionUrlConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig
func (*Lambda) GetFunctionUrlConfigRequest ¶ added in v1.42.9
func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) (req *request.Request, output *GetFunctionUrlConfigOutput)
GetFunctionUrlConfigRequest generates a "aws/request.Request" representing the client's request for the GetFunctionUrlConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetFunctionUrlConfig for more information on using the GetFunctionUrlConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetFunctionUrlConfigRequest method. req, resp := client.GetFunctionUrlConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig
func (*Lambda) GetFunctionUrlConfigWithContext ¶ added in v1.42.9
func (c *Lambda) GetFunctionUrlConfigWithContext(ctx aws.Context, input *GetFunctionUrlConfigInput, opts ...request.Option) (*GetFunctionUrlConfigOutput, error)
GetFunctionUrlConfigWithContext is the same as GetFunctionUrlConfig with the addition of the ability to pass a context and additional request options.
See GetFunctionUrlConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetFunctionWithContext ¶ added in v1.8.0
func (c *Lambda) GetFunctionWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.Option) (*GetFunctionOutput, error)
GetFunctionWithContext is the same as GetFunction with the addition of the ability to pass a context and additional request options.
See GetFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetLayerVersion ¶ added in v1.15.87
func (c *Lambda) GetLayerVersion(input *GetLayerVersionInput) (*GetLayerVersionOutput, error)
GetLayerVersion API operation for AWS Lambda.
Returns information about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html), with a link to download the layer archive that's valid for 10 minutes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetLayerVersion for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion
func (*Lambda) GetLayerVersionByArn ¶ added in v1.19.18
func (c *Lambda) GetLayerVersionByArn(input *GetLayerVersionByArnInput) (*GetLayerVersionByArnOutput, error)
GetLayerVersionByArn API operation for AWS Lambda.
Returns information about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html), with a link to download the layer archive that's valid for 10 minutes.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetLayerVersionByArn for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn
func (*Lambda) GetLayerVersionByArnRequest ¶ added in v1.19.18
func (c *Lambda) GetLayerVersionByArnRequest(input *GetLayerVersionByArnInput) (req *request.Request, output *GetLayerVersionByArnOutput)
GetLayerVersionByArnRequest generates a "aws/request.Request" representing the client's request for the GetLayerVersionByArn operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLayerVersionByArn for more information on using the GetLayerVersionByArn API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLayerVersionByArnRequest method. req, resp := client.GetLayerVersionByArnRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn
func (*Lambda) GetLayerVersionByArnWithContext ¶ added in v1.19.18
func (c *Lambda) GetLayerVersionByArnWithContext(ctx aws.Context, input *GetLayerVersionByArnInput, opts ...request.Option) (*GetLayerVersionByArnOutput, error)
GetLayerVersionByArnWithContext is the same as GetLayerVersionByArn with the addition of the ability to pass a context and additional request options.
See GetLayerVersionByArn for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetLayerVersionPolicy ¶ added in v1.15.87
func (c *Lambda) GetLayerVersionPolicy(input *GetLayerVersionPolicyInput) (*GetLayerVersionPolicyOutput, error)
GetLayerVersionPolicy API operation for AWS Lambda.
Returns the permission policy for a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). For more information, see AddLayerVersionPermission.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetLayerVersionPolicy for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy
func (*Lambda) GetLayerVersionPolicyRequest ¶ added in v1.15.87
func (c *Lambda) GetLayerVersionPolicyRequest(input *GetLayerVersionPolicyInput) (req *request.Request, output *GetLayerVersionPolicyOutput)
GetLayerVersionPolicyRequest generates a "aws/request.Request" representing the client's request for the GetLayerVersionPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLayerVersionPolicy for more information on using the GetLayerVersionPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLayerVersionPolicyRequest method. req, resp := client.GetLayerVersionPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy
func (*Lambda) GetLayerVersionPolicyWithContext ¶ added in v1.15.87
func (c *Lambda) GetLayerVersionPolicyWithContext(ctx aws.Context, input *GetLayerVersionPolicyInput, opts ...request.Option) (*GetLayerVersionPolicyOutput, error)
GetLayerVersionPolicyWithContext is the same as GetLayerVersionPolicy with the addition of the ability to pass a context and additional request options.
See GetLayerVersionPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetLayerVersionRequest ¶ added in v1.15.87
func (c *Lambda) GetLayerVersionRequest(input *GetLayerVersionInput) (req *request.Request, output *GetLayerVersionOutput)
GetLayerVersionRequest generates a "aws/request.Request" representing the client's request for the GetLayerVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetLayerVersion for more information on using the GetLayerVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetLayerVersionRequest method. req, resp := client.GetLayerVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion
func (*Lambda) GetLayerVersionWithContext ¶ added in v1.15.87
func (c *Lambda) GetLayerVersionWithContext(ctx aws.Context, input *GetLayerVersionInput, opts ...request.Option) (*GetLayerVersionOutput, error)
GetLayerVersionWithContext is the same as GetLayerVersion with the addition of the ability to pass a context and additional request options.
See GetLayerVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetPolicy ¶
func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error)
GetPolicy API operation for AWS Lambda.
Returns the resource-based IAM policy (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html) for a function, version, or alias.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetPolicy for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy
func (*Lambda) GetPolicyRequest ¶
func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput)
GetPolicyRequest generates a "aws/request.Request" representing the client's request for the GetPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetPolicy for more information on using the GetPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetPolicyRequest method. req, resp := client.GetPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy
func (*Lambda) GetPolicyWithContext ¶ added in v1.8.0
func (c *Lambda) GetPolicyWithContext(ctx aws.Context, input *GetPolicyInput, opts ...request.Option) (*GetPolicyOutput, error)
GetPolicyWithContext is the same as GetPolicy with the addition of the ability to pass a context and additional request options.
See GetPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetProvisionedConcurrencyConfig ¶ added in v1.25.47
func (c *Lambda) GetProvisionedConcurrencyConfig(input *GetProvisionedConcurrencyConfigInput) (*GetProvisionedConcurrencyConfigOutput, error)
GetProvisionedConcurrencyConfig API operation for AWS Lambda.
Retrieves the provisioned concurrency configuration for a function's alias or version.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetProvisionedConcurrencyConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
ProvisionedConcurrencyConfigNotFoundException The specified configuration does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetProvisionedConcurrencyConfig
func (*Lambda) GetProvisionedConcurrencyConfigRequest ¶ added in v1.25.47
func (c *Lambda) GetProvisionedConcurrencyConfigRequest(input *GetProvisionedConcurrencyConfigInput) (req *request.Request, output *GetProvisionedConcurrencyConfigOutput)
GetProvisionedConcurrencyConfigRequest generates a "aws/request.Request" representing the client's request for the GetProvisionedConcurrencyConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetProvisionedConcurrencyConfig for more information on using the GetProvisionedConcurrencyConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetProvisionedConcurrencyConfigRequest method. req, resp := client.GetProvisionedConcurrencyConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetProvisionedConcurrencyConfig
func (*Lambda) GetProvisionedConcurrencyConfigWithContext ¶ added in v1.25.47
func (c *Lambda) GetProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *GetProvisionedConcurrencyConfigInput, opts ...request.Option) (*GetProvisionedConcurrencyConfigOutput, error)
GetProvisionedConcurrencyConfigWithContext is the same as GetProvisionedConcurrencyConfig with the addition of the ability to pass a context and additional request options.
See GetProvisionedConcurrencyConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) GetRuntimeManagementConfig ¶ added in v1.44.185
func (c *Lambda) GetRuntimeManagementConfig(input *GetRuntimeManagementConfigInput) (*GetRuntimeManagementConfigOutput, error)
GetRuntimeManagementConfig API operation for AWS Lambda.
Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation GetRuntimeManagementConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfig
func (*Lambda) GetRuntimeManagementConfigRequest ¶ added in v1.44.185
func (c *Lambda) GetRuntimeManagementConfigRequest(input *GetRuntimeManagementConfigInput) (req *request.Request, output *GetRuntimeManagementConfigOutput)
GetRuntimeManagementConfigRequest generates a "aws/request.Request" representing the client's request for the GetRuntimeManagementConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See GetRuntimeManagementConfig for more information on using the GetRuntimeManagementConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the GetRuntimeManagementConfigRequest method. req, resp := client.GetRuntimeManagementConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfig
func (*Lambda) GetRuntimeManagementConfigWithContext ¶ added in v1.44.185
func (c *Lambda) GetRuntimeManagementConfigWithContext(ctx aws.Context, input *GetRuntimeManagementConfigInput, opts ...request.Option) (*GetRuntimeManagementConfigOutput, error)
GetRuntimeManagementConfigWithContext is the same as GetRuntimeManagementConfig with the addition of the ability to pass a context and additional request options.
See GetRuntimeManagementConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) Invoke ¶
func (c *Lambda) Invoke(input *InvokeInput) (*InvokeOutput, error)
Invoke API operation for AWS Lambda.
Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only.
For synchronous invocation (https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html), details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log (https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html) and trace (https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html).
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda (https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html).
For asynchronous invocation (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html), Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq).
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html) errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html) action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation Invoke for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidRequestContentException The request body could not be parsed as JSON.
RequestTooLargeException The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
UnsupportedMediaTypeException The content type of the Invoke request body is not JSON.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
EC2UnexpectedException Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
SubnetIPAddressLimitReachedException Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
ENILimitReachedException 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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
EFSMountConnectivityException The Lambda function couldn't make a network connection to the configured file system.
EFSMountFailureException The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
EFSMountTimeoutException The Lambda function made a network connection to the configured file system, but the mount operation timed out.
EFSIOException An error occurred when reading from or writing to a connected file system.
SnapStartException The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) encountered an error. For more information, check the Amazon CloudWatch logs.
SnapStartTimeoutException Lambda couldn't restore the snapshot within the timeout limit.
SnapStartNotReadyException Lambda is initializing your function. You can invoke the function when the function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) becomes Active.
EC2ThrottledException Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
EC2AccessDeniedException Need additional permissions to configure VPC settings.
InvalidSubnetIDException The subnet ID provided in the Lambda function VPC configuration is not valid.
InvalidSecurityGroupIDException The security group ID provided in the Lambda function VPC configuration is not valid.
InvalidZipFileException Lambda could not unzip the deployment package.
KMSDisabledException Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
KMSInvalidStateException 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.
KMSAccessDeniedException Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
KMSNotFoundException Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
InvalidRuntimeException The runtime or runtime version specified is not supported.
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotReadyException The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
RecursiveInvocationException Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke
func (*Lambda) InvokeAsync
deprecated
func (c *Lambda) InvokeAsync(input *InvokeAsyncInput) (*InvokeAsyncOutput, error)
InvokeAsync API operation for AWS Lambda.
For asynchronous function invocation, use Invoke.
Invokes a function asynchronously.
If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation InvokeAsync for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidRequestContentException The request body could not be parsed as JSON.
InvalidRuntimeException The runtime or runtime version specified is not supported.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync
Deprecated: InvokeAsync has been deprecated
func (*Lambda) InvokeAsyncRequest
deprecated
func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Request, output *InvokeAsyncOutput)
InvokeAsyncRequest generates a "aws/request.Request" representing the client's request for the InvokeAsync operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See InvokeAsync for more information on using the InvokeAsync API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the InvokeAsyncRequest method. req, resp := client.InvokeAsyncRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync
Deprecated: InvokeAsync has been deprecated
func (*Lambda) InvokeAsyncWithContext
deprecated
added in
v1.8.0
func (c *Lambda) InvokeAsyncWithContext(ctx aws.Context, input *InvokeAsyncInput, opts ...request.Option) (*InvokeAsyncOutput, error)
InvokeAsyncWithContext is the same as InvokeAsync with the addition of the ability to pass a context and additional request options.
See InvokeAsync for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
Deprecated: InvokeAsyncWithContext has been deprecated
func (*Lambda) InvokeRequest ¶
func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output *InvokeOutput)
InvokeRequest generates a "aws/request.Request" representing the client's request for the Invoke operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See Invoke for more information on using the Invoke API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the InvokeRequest method. req, resp := client.InvokeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke
func (*Lambda) InvokeWithContext ¶ added in v1.8.0
func (c *Lambda) InvokeWithContext(ctx aws.Context, input *InvokeInput, opts ...request.Option) (*InvokeOutput, error)
InvokeWithContext is the same as Invoke with the addition of the ability to pass a context and additional request options.
See Invoke for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) InvokeWithResponseStream ¶ added in v1.44.239
func (c *Lambda) InvokeWithResponseStream(input *InvokeWithResponseStreamInput) (*InvokeWithResponseStreamOutput, error)
InvokeWithResponseStream API operation for AWS Lambda.
Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses (https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html).
This operation requires permission for the lambda:InvokeFunction (https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html) action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation InvokeWithResponseStream for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidRequestContentException The request body could not be parsed as JSON.
RequestTooLargeException The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
UnsupportedMediaTypeException The content type of the Invoke request body is not JSON.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
EC2UnexpectedException Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.
SubnetIPAddressLimitReachedException Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.
ENILimitReachedException 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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
EFSMountConnectivityException The Lambda function couldn't make a network connection to the configured file system.
EFSMountFailureException The Lambda function couldn't mount the configured file system due to a permission or configuration issue.
EFSMountTimeoutException The Lambda function made a network connection to the configured file system, but the mount operation timed out.
EFSIOException An error occurred when reading from or writing to a connected file system.
SnapStartException The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) encountered an error. For more information, check the Amazon CloudWatch logs.
SnapStartTimeoutException Lambda couldn't restore the snapshot within the timeout limit.
SnapStartNotReadyException Lambda is initializing your function. You can invoke the function when the function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) becomes Active.
EC2ThrottledException Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.
EC2AccessDeniedException Need additional permissions to configure VPC settings.
InvalidSubnetIDException The subnet ID provided in the Lambda function VPC configuration is not valid.
InvalidSecurityGroupIDException The security group ID provided in the Lambda function VPC configuration is not valid.
InvalidZipFileException Lambda could not unzip the deployment package.
KMSDisabledException Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.
KMSInvalidStateException 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.
KMSAccessDeniedException Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.
KMSNotFoundException Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.
InvalidRuntimeException The runtime or runtime version specified is not supported.
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotReadyException The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.
RecursiveInvocationException Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStream
func (*Lambda) InvokeWithResponseStreamRequest ¶ added in v1.44.239
func (c *Lambda) InvokeWithResponseStreamRequest(input *InvokeWithResponseStreamInput) (req *request.Request, output *InvokeWithResponseStreamOutput)
InvokeWithResponseStreamRequest generates a "aws/request.Request" representing the client's request for the InvokeWithResponseStream operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See InvokeWithResponseStream for more information on using the InvokeWithResponseStream API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the InvokeWithResponseStreamRequest method. req, resp := client.InvokeWithResponseStreamRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeWithResponseStream
func (*Lambda) InvokeWithResponseStreamWithContext ¶ added in v1.44.239
func (c *Lambda) InvokeWithResponseStreamWithContext(ctx aws.Context, input *InvokeWithResponseStreamInput, opts ...request.Option) (*InvokeWithResponseStreamOutput, error)
InvokeWithResponseStreamWithContext is the same as InvokeWithResponseStream with the addition of the ability to pass a context and additional request options.
See InvokeWithResponseStream for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListAliases ¶ added in v0.9.14
func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error)
ListAliases API operation for AWS Lambda.
Returns a list of aliases (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) for a Lambda function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListAliases for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases
func (*Lambda) ListAliasesPages ¶ added in v1.23.12
func (c *Lambda) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error
ListAliasesPages iterates over the pages of a ListAliases operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAliases method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAliases operation. pageNum := 0 err := client.ListAliasesPages(params, func(page *lambda.ListAliasesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListAliasesPagesWithContext ¶ added in v1.23.12
func (c *Lambda) ListAliasesPagesWithContext(ctx aws.Context, input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool, opts ...request.Option) error
ListAliasesPagesWithContext same as ListAliasesPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListAliasesRequest ¶ added in v0.9.14
func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput)
ListAliasesRequest generates a "aws/request.Request" representing the client's request for the ListAliases operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListAliases for more information on using the ListAliases API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListAliasesRequest method. req, resp := client.ListAliasesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases
func (*Lambda) ListAliasesWithContext ¶ added in v1.8.0
func (c *Lambda) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, opts ...request.Option) (*ListAliasesOutput, error)
ListAliasesWithContext is the same as ListAliases with the addition of the ability to pass a context and additional request options.
See ListAliases for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListCodeSigningConfigs ¶ added in v1.35.34
func (c *Lambda) ListCodeSigningConfigs(input *ListCodeSigningConfigsInput) (*ListCodeSigningConfigsOutput, error)
ListCodeSigningConfigs API operation for AWS Lambda.
Returns a list of code signing configurations (https://docs.aws.amazon.com/lambda/latest/dg/configuring-codesigning.html). A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListCodeSigningConfigs for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs
func (*Lambda) ListCodeSigningConfigsPages ¶ added in v1.35.34
func (c *Lambda) ListCodeSigningConfigsPages(input *ListCodeSigningConfigsInput, fn func(*ListCodeSigningConfigsOutput, bool) bool) error
ListCodeSigningConfigsPages iterates over the pages of a ListCodeSigningConfigs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListCodeSigningConfigs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListCodeSigningConfigs operation. pageNum := 0 err := client.ListCodeSigningConfigsPages(params, func(page *lambda.ListCodeSigningConfigsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListCodeSigningConfigsPagesWithContext ¶ added in v1.35.34
func (c *Lambda) ListCodeSigningConfigsPagesWithContext(ctx aws.Context, input *ListCodeSigningConfigsInput, fn func(*ListCodeSigningConfigsOutput, bool) bool, opts ...request.Option) error
ListCodeSigningConfigsPagesWithContext same as ListCodeSigningConfigsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListCodeSigningConfigsRequest ¶ added in v1.35.34
func (c *Lambda) ListCodeSigningConfigsRequest(input *ListCodeSigningConfigsInput) (req *request.Request, output *ListCodeSigningConfigsOutput)
ListCodeSigningConfigsRequest generates a "aws/request.Request" representing the client's request for the ListCodeSigningConfigs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListCodeSigningConfigs for more information on using the ListCodeSigningConfigs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListCodeSigningConfigsRequest method. req, resp := client.ListCodeSigningConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs
func (*Lambda) ListCodeSigningConfigsWithContext ¶ added in v1.35.34
func (c *Lambda) ListCodeSigningConfigsWithContext(ctx aws.Context, input *ListCodeSigningConfigsInput, opts ...request.Option) (*ListCodeSigningConfigsOutput, error)
ListCodeSigningConfigsWithContext is the same as ListCodeSigningConfigs with the addition of the ability to pass a context and additional request options.
See ListCodeSigningConfigs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListEventSourceMappings ¶
func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error)
ListEventSourceMappings API operation for AWS Lambda.
Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListEventSourceMappings for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings
func (*Lambda) ListEventSourceMappingsPages ¶
func (c *Lambda) ListEventSourceMappingsPages(input *ListEventSourceMappingsInput, fn func(*ListEventSourceMappingsOutput, bool) bool) error
ListEventSourceMappingsPages iterates over the pages of a ListEventSourceMappings operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListEventSourceMappings method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListEventSourceMappings operation. pageNum := 0 err := client.ListEventSourceMappingsPages(params, func(page *lambda.ListEventSourceMappingsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListEventSourceMappingsPagesWithContext ¶ added in v1.8.0
func (c *Lambda) ListEventSourceMappingsPagesWithContext(ctx aws.Context, input *ListEventSourceMappingsInput, fn func(*ListEventSourceMappingsOutput, bool) bool, opts ...request.Option) error
ListEventSourceMappingsPagesWithContext same as ListEventSourceMappingsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListEventSourceMappingsRequest ¶
func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsInput) (req *request.Request, output *ListEventSourceMappingsOutput)
ListEventSourceMappingsRequest generates a "aws/request.Request" representing the client's request for the ListEventSourceMappings operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListEventSourceMappings for more information on using the ListEventSourceMappings API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListEventSourceMappingsRequest method. req, resp := client.ListEventSourceMappingsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings
func (*Lambda) ListEventSourceMappingsWithContext ¶ added in v1.8.0
func (c *Lambda) ListEventSourceMappingsWithContext(ctx aws.Context, input *ListEventSourceMappingsInput, opts ...request.Option) (*ListEventSourceMappingsOutput, error)
ListEventSourceMappingsWithContext is the same as ListEventSourceMappings with the addition of the ability to pass a context and additional request options.
See ListEventSourceMappings for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionEventInvokeConfigs ¶ added in v1.25.42
func (c *Lambda) ListFunctionEventInvokeConfigs(input *ListFunctionEventInvokeConfigsInput) (*ListFunctionEventInvokeConfigsOutput, error)
ListFunctionEventInvokeConfigs API operation for AWS Lambda.
Retrieves a list of configurations for asynchronous invocation for a function.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListFunctionEventInvokeConfigs for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionEventInvokeConfigs
func (*Lambda) ListFunctionEventInvokeConfigsPages ¶ added in v1.25.42
func (c *Lambda) ListFunctionEventInvokeConfigsPages(input *ListFunctionEventInvokeConfigsInput, fn func(*ListFunctionEventInvokeConfigsOutput, bool) bool) error
ListFunctionEventInvokeConfigsPages iterates over the pages of a ListFunctionEventInvokeConfigs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFunctionEventInvokeConfigs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFunctionEventInvokeConfigs operation. pageNum := 0 err := client.ListFunctionEventInvokeConfigsPages(params, func(page *lambda.ListFunctionEventInvokeConfigsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListFunctionEventInvokeConfigsPagesWithContext ¶ added in v1.25.42
func (c *Lambda) ListFunctionEventInvokeConfigsPagesWithContext(ctx aws.Context, input *ListFunctionEventInvokeConfigsInput, fn func(*ListFunctionEventInvokeConfigsOutput, bool) bool, opts ...request.Option) error
ListFunctionEventInvokeConfigsPagesWithContext same as ListFunctionEventInvokeConfigsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionEventInvokeConfigsRequest ¶ added in v1.25.42
func (c *Lambda) ListFunctionEventInvokeConfigsRequest(input *ListFunctionEventInvokeConfigsInput) (req *request.Request, output *ListFunctionEventInvokeConfigsOutput)
ListFunctionEventInvokeConfigsRequest generates a "aws/request.Request" representing the client's request for the ListFunctionEventInvokeConfigs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFunctionEventInvokeConfigs for more information on using the ListFunctionEventInvokeConfigs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFunctionEventInvokeConfigsRequest method. req, resp := client.ListFunctionEventInvokeConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionEventInvokeConfigs
func (*Lambda) ListFunctionEventInvokeConfigsWithContext ¶ added in v1.25.42
func (c *Lambda) ListFunctionEventInvokeConfigsWithContext(ctx aws.Context, input *ListFunctionEventInvokeConfigsInput, opts ...request.Option) (*ListFunctionEventInvokeConfigsOutput, error)
ListFunctionEventInvokeConfigsWithContext is the same as ListFunctionEventInvokeConfigs with the addition of the ability to pass a context and additional request options.
See ListFunctionEventInvokeConfigs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionUrlConfigs ¶ added in v1.42.9
func (c *Lambda) ListFunctionUrlConfigs(input *ListFunctionUrlConfigsInput) (*ListFunctionUrlConfigsOutput, error)
ListFunctionUrlConfigs API operation for AWS Lambda.
Returns a list of Lambda function URLs for the specified function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListFunctionUrlConfigs for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs
func (*Lambda) ListFunctionUrlConfigsPages ¶ added in v1.42.9
func (c *Lambda) ListFunctionUrlConfigsPages(input *ListFunctionUrlConfigsInput, fn func(*ListFunctionUrlConfigsOutput, bool) bool) error
ListFunctionUrlConfigsPages iterates over the pages of a ListFunctionUrlConfigs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFunctionUrlConfigs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFunctionUrlConfigs operation. pageNum := 0 err := client.ListFunctionUrlConfigsPages(params, func(page *lambda.ListFunctionUrlConfigsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListFunctionUrlConfigsPagesWithContext ¶ added in v1.42.9
func (c *Lambda) ListFunctionUrlConfigsPagesWithContext(ctx aws.Context, input *ListFunctionUrlConfigsInput, fn func(*ListFunctionUrlConfigsOutput, bool) bool, opts ...request.Option) error
ListFunctionUrlConfigsPagesWithContext same as ListFunctionUrlConfigsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionUrlConfigsRequest ¶ added in v1.42.9
func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInput) (req *request.Request, output *ListFunctionUrlConfigsOutput)
ListFunctionUrlConfigsRequest generates a "aws/request.Request" representing the client's request for the ListFunctionUrlConfigs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFunctionUrlConfigs for more information on using the ListFunctionUrlConfigs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFunctionUrlConfigsRequest method. req, resp := client.ListFunctionUrlConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs
func (*Lambda) ListFunctionUrlConfigsWithContext ¶ added in v1.42.9
func (c *Lambda) ListFunctionUrlConfigsWithContext(ctx aws.Context, input *ListFunctionUrlConfigsInput, opts ...request.Option) (*ListFunctionUrlConfigsOutput, error)
ListFunctionUrlConfigsWithContext is the same as ListFunctionUrlConfigs with the addition of the ability to pass a context and additional request options.
See ListFunctionUrlConfigs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctions ¶
func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error)
ListFunctions API operation for AWS Lambda.
Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.
Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.
The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListFunctions for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions
func (*Lambda) ListFunctionsByCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) ListFunctionsByCodeSigningConfig(input *ListFunctionsByCodeSigningConfigInput) (*ListFunctionsByCodeSigningConfigOutput, error)
ListFunctionsByCodeSigningConfig API operation for AWS Lambda.
List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListFunctionsByCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfig
func (*Lambda) ListFunctionsByCodeSigningConfigPages ¶ added in v1.35.34
func (c *Lambda) ListFunctionsByCodeSigningConfigPages(input *ListFunctionsByCodeSigningConfigInput, fn func(*ListFunctionsByCodeSigningConfigOutput, bool) bool) error
ListFunctionsByCodeSigningConfigPages iterates over the pages of a ListFunctionsByCodeSigningConfig operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFunctionsByCodeSigningConfig method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFunctionsByCodeSigningConfig operation. pageNum := 0 err := client.ListFunctionsByCodeSigningConfigPages(params, func(page *lambda.ListFunctionsByCodeSigningConfigOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListFunctionsByCodeSigningConfigPagesWithContext ¶ added in v1.35.34
func (c *Lambda) ListFunctionsByCodeSigningConfigPagesWithContext(ctx aws.Context, input *ListFunctionsByCodeSigningConfigInput, fn func(*ListFunctionsByCodeSigningConfigOutput, bool) bool, opts ...request.Option) error
ListFunctionsByCodeSigningConfigPagesWithContext same as ListFunctionsByCodeSigningConfigPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionsByCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) ListFunctionsByCodeSigningConfigRequest(input *ListFunctionsByCodeSigningConfigInput) (req *request.Request, output *ListFunctionsByCodeSigningConfigOutput)
ListFunctionsByCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the ListFunctionsByCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFunctionsByCodeSigningConfig for more information on using the ListFunctionsByCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFunctionsByCodeSigningConfigRequest method. req, resp := client.ListFunctionsByCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfig
func (*Lambda) ListFunctionsByCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) ListFunctionsByCodeSigningConfigWithContext(ctx aws.Context, input *ListFunctionsByCodeSigningConfigInput, opts ...request.Option) (*ListFunctionsByCodeSigningConfigOutput, error)
ListFunctionsByCodeSigningConfigWithContext is the same as ListFunctionsByCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See ListFunctionsByCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionsPages ¶
func (c *Lambda) ListFunctionsPages(input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool) error
ListFunctionsPages iterates over the pages of a ListFunctions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListFunctions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListFunctions operation. pageNum := 0 err := client.ListFunctionsPages(params, func(page *lambda.ListFunctionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListFunctionsPagesWithContext ¶ added in v1.8.0
func (c *Lambda) ListFunctionsPagesWithContext(ctx aws.Context, input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool, opts ...request.Option) error
ListFunctionsPagesWithContext same as ListFunctionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListFunctionsRequest ¶
func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput)
ListFunctionsRequest generates a "aws/request.Request" representing the client's request for the ListFunctions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListFunctions for more information on using the ListFunctions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListFunctionsRequest method. req, resp := client.ListFunctionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions
func (*Lambda) ListFunctionsWithContext ¶ added in v1.8.0
func (c *Lambda) ListFunctionsWithContext(ctx aws.Context, input *ListFunctionsInput, opts ...request.Option) (*ListFunctionsOutput, error)
ListFunctionsWithContext is the same as ListFunctions with the addition of the ability to pass a context and additional request options.
See ListFunctions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListLayerVersions ¶ added in v1.15.87
func (c *Lambda) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error)
ListLayerVersions API operation for AWS Lambda.
Lists the versions of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Versions that have been deleted aren't listed. Specify a runtime identifier (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListLayerVersions for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions
func (*Lambda) ListLayerVersionsPages ¶ added in v1.23.12
func (c *Lambda) ListLayerVersionsPages(input *ListLayerVersionsInput, fn func(*ListLayerVersionsOutput, bool) bool) error
ListLayerVersionsPages iterates over the pages of a ListLayerVersions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLayerVersions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListLayerVersions operation. pageNum := 0 err := client.ListLayerVersionsPages(params, func(page *lambda.ListLayerVersionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListLayerVersionsPagesWithContext ¶ added in v1.23.12
func (c *Lambda) ListLayerVersionsPagesWithContext(ctx aws.Context, input *ListLayerVersionsInput, fn func(*ListLayerVersionsOutput, bool) bool, opts ...request.Option) error
ListLayerVersionsPagesWithContext same as ListLayerVersionsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListLayerVersionsRequest ¶ added in v1.15.87
func (c *Lambda) ListLayerVersionsRequest(input *ListLayerVersionsInput) (req *request.Request, output *ListLayerVersionsOutput)
ListLayerVersionsRequest generates a "aws/request.Request" representing the client's request for the ListLayerVersions operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListLayerVersions for more information on using the ListLayerVersions API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListLayerVersionsRequest method. req, resp := client.ListLayerVersionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions
func (*Lambda) ListLayerVersionsWithContext ¶ added in v1.15.87
func (c *Lambda) ListLayerVersionsWithContext(ctx aws.Context, input *ListLayerVersionsInput, opts ...request.Option) (*ListLayerVersionsOutput, error)
ListLayerVersionsWithContext is the same as ListLayerVersions with the addition of the ability to pass a context and additional request options.
See ListLayerVersions for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListLayers ¶ added in v1.15.87
func (c *Lambda) ListLayers(input *ListLayersInput) (*ListLayersOutput, error)
ListLayers API operation for AWS Lambda.
Lists Lambda layers (https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html) and shows information about the latest version of each. Specify a runtime identifier (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html) to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListLayers for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers
func (*Lambda) ListLayersPages ¶ added in v1.23.12
func (c *Lambda) ListLayersPages(input *ListLayersInput, fn func(*ListLayersOutput, bool) bool) error
ListLayersPages iterates over the pages of a ListLayers operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLayers method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListLayers operation. pageNum := 0 err := client.ListLayersPages(params, func(page *lambda.ListLayersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListLayersPagesWithContext ¶ added in v1.23.12
func (c *Lambda) ListLayersPagesWithContext(ctx aws.Context, input *ListLayersInput, fn func(*ListLayersOutput, bool) bool, opts ...request.Option) error
ListLayersPagesWithContext same as ListLayersPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListLayersRequest ¶ added in v1.15.87
func (c *Lambda) ListLayersRequest(input *ListLayersInput) (req *request.Request, output *ListLayersOutput)
ListLayersRequest generates a "aws/request.Request" representing the client's request for the ListLayers operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListLayers for more information on using the ListLayers API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListLayersRequest method. req, resp := client.ListLayersRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers
func (*Lambda) ListLayersWithContext ¶ added in v1.15.87
func (c *Lambda) ListLayersWithContext(ctx aws.Context, input *ListLayersInput, opts ...request.Option) (*ListLayersOutput, error)
ListLayersWithContext is the same as ListLayers with the addition of the ability to pass a context and additional request options.
See ListLayers for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListProvisionedConcurrencyConfigs ¶ added in v1.25.47
func (c *Lambda) ListProvisionedConcurrencyConfigs(input *ListProvisionedConcurrencyConfigsInput) (*ListProvisionedConcurrencyConfigsOutput, error)
ListProvisionedConcurrencyConfigs API operation for AWS Lambda.
Retrieves a list of provisioned concurrency configurations for a function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListProvisionedConcurrencyConfigs for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListProvisionedConcurrencyConfigs
func (*Lambda) ListProvisionedConcurrencyConfigsPages ¶ added in v1.25.47
func (c *Lambda) ListProvisionedConcurrencyConfigsPages(input *ListProvisionedConcurrencyConfigsInput, fn func(*ListProvisionedConcurrencyConfigsOutput, bool) bool) error
ListProvisionedConcurrencyConfigsPages iterates over the pages of a ListProvisionedConcurrencyConfigs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListProvisionedConcurrencyConfigs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListProvisionedConcurrencyConfigs operation. pageNum := 0 err := client.ListProvisionedConcurrencyConfigsPages(params, func(page *lambda.ListProvisionedConcurrencyConfigsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListProvisionedConcurrencyConfigsPagesWithContext ¶ added in v1.25.47
func (c *Lambda) ListProvisionedConcurrencyConfigsPagesWithContext(ctx aws.Context, input *ListProvisionedConcurrencyConfigsInput, fn func(*ListProvisionedConcurrencyConfigsOutput, bool) bool, opts ...request.Option) error
ListProvisionedConcurrencyConfigsPagesWithContext same as ListProvisionedConcurrencyConfigsPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListProvisionedConcurrencyConfigsRequest ¶ added in v1.25.47
func (c *Lambda) ListProvisionedConcurrencyConfigsRequest(input *ListProvisionedConcurrencyConfigsInput) (req *request.Request, output *ListProvisionedConcurrencyConfigsOutput)
ListProvisionedConcurrencyConfigsRequest generates a "aws/request.Request" representing the client's request for the ListProvisionedConcurrencyConfigs operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListProvisionedConcurrencyConfigs for more information on using the ListProvisionedConcurrencyConfigs API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListProvisionedConcurrencyConfigsRequest method. req, resp := client.ListProvisionedConcurrencyConfigsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListProvisionedConcurrencyConfigs
func (*Lambda) ListProvisionedConcurrencyConfigsWithContext ¶ added in v1.25.47
func (c *Lambda) ListProvisionedConcurrencyConfigsWithContext(ctx aws.Context, input *ListProvisionedConcurrencyConfigsInput, opts ...request.Option) (*ListProvisionedConcurrencyConfigsOutput, error)
ListProvisionedConcurrencyConfigsWithContext is the same as ListProvisionedConcurrencyConfigs with the addition of the ability to pass a context and additional request options.
See ListProvisionedConcurrencyConfigs for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListTags ¶ added in v1.8.13
func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error)
ListTags API operation for AWS Lambda.
Returns a function's tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). You can also view tags with GetFunction.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListTags for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags
func (*Lambda) ListTagsRequest ¶ added in v1.8.13
func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput)
ListTagsRequest generates a "aws/request.Request" representing the client's request for the ListTags operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListTags for more information on using the ListTags API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListTagsRequest method. req, resp := client.ListTagsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags
func (*Lambda) ListTagsWithContext ¶ added in v1.8.13
func (c *Lambda) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error)
ListTagsWithContext is the same as ListTags with the addition of the ability to pass a context and additional request options.
See ListTags for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListVersionsByFunction ¶ added in v0.9.14
func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error)
ListVersionsByFunction API operation for AWS Lambda.
Returns a list of versions (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html), with the version-specific configuration of each. Lambda returns up to 50 versions per call.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation ListVersionsByFunction for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction
func (*Lambda) ListVersionsByFunctionPages ¶ added in v1.23.12
func (c *Lambda) ListVersionsByFunctionPages(input *ListVersionsByFunctionInput, fn func(*ListVersionsByFunctionOutput, bool) bool) error
ListVersionsByFunctionPages iterates over the pages of a ListVersionsByFunction operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListVersionsByFunction method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVersionsByFunction operation. pageNum := 0 err := client.ListVersionsByFunctionPages(params, func(page *lambda.ListVersionsByFunctionOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*Lambda) ListVersionsByFunctionPagesWithContext ¶ added in v1.23.12
func (c *Lambda) ListVersionsByFunctionPagesWithContext(ctx aws.Context, input *ListVersionsByFunctionInput, fn func(*ListVersionsByFunctionOutput, bool) bool, opts ...request.Option) error
ListVersionsByFunctionPagesWithContext same as ListVersionsByFunctionPages except it takes a Context and allows setting request options on the pages.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) ListVersionsByFunctionRequest ¶ added in v0.9.14
func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInput) (req *request.Request, output *ListVersionsByFunctionOutput)
ListVersionsByFunctionRequest generates a "aws/request.Request" representing the client's request for the ListVersionsByFunction operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ListVersionsByFunction for more information on using the ListVersionsByFunction API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the ListVersionsByFunctionRequest method. req, resp := client.ListVersionsByFunctionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction
func (*Lambda) ListVersionsByFunctionWithContext ¶ added in v1.8.0
func (c *Lambda) ListVersionsByFunctionWithContext(ctx aws.Context, input *ListVersionsByFunctionInput, opts ...request.Option) (*ListVersionsByFunctionOutput, error)
ListVersionsByFunctionWithContext is the same as ListVersionsByFunction with the addition of the ability to pass a context and additional request options.
See ListVersionsByFunction for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PublishLayerVersion ¶ added in v1.15.87
func (c *Lambda) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error)
PublishLayerVersion API operation for AWS Lambda.
Creates an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.
Add layers to your function with CreateFunction or UpdateFunctionConfiguration.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PublishLayerVersion for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
InvalidParameterValueException One of the parameters in the request is not valid.
CodeStorageExceededException Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion
func (*Lambda) PublishLayerVersionRequest ¶ added in v1.15.87
func (c *Lambda) PublishLayerVersionRequest(input *PublishLayerVersionInput) (req *request.Request, output *PublishLayerVersionOutput)
PublishLayerVersionRequest generates a "aws/request.Request" representing the client's request for the PublishLayerVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PublishLayerVersion for more information on using the PublishLayerVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PublishLayerVersionRequest method. req, resp := client.PublishLayerVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion
func (*Lambda) PublishLayerVersionWithContext ¶ added in v1.15.87
func (c *Lambda) PublishLayerVersionWithContext(ctx aws.Context, input *PublishLayerVersionInput, opts ...request.Option) (*PublishLayerVersionOutput, error)
PublishLayerVersionWithContext is the same as PublishLayerVersion with the addition of the ability to pass a context and additional request options.
See PublishLayerVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PublishVersion ¶ added in v0.9.14
func (c *Lambda) PublishVersion(input *PublishVersionInput) (*FunctionConfiguration, error)
PublishVersion API operation for AWS Lambda.
Creates a version (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html) from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.
Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version.
Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PublishVersion for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
CodeStorageExceededException Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion
func (*Lambda) PublishVersionRequest ¶ added in v0.9.14
func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request.Request, output *FunctionConfiguration)
PublishVersionRequest generates a "aws/request.Request" representing the client's request for the PublishVersion operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PublishVersion for more information on using the PublishVersion API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PublishVersionRequest method. req, resp := client.PublishVersionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion
func (*Lambda) PublishVersionWithContext ¶ added in v1.8.0
func (c *Lambda) PublishVersionWithContext(ctx aws.Context, input *PublishVersionInput, opts ...request.Option) (*FunctionConfiguration, error)
PublishVersionWithContext is the same as PublishVersion with the addition of the ability to pass a context and additional request options.
See PublishVersion for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PutFunctionCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) PutFunctionCodeSigningConfig(input *PutFunctionCodeSigningConfigInput) (*PutFunctionCodeSigningConfigOutput, error)
PutFunctionCodeSigningConfig API operation for AWS Lambda.
Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PutFunctionCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
CodeSigningConfigNotFoundException The specified code signing configuration does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfig
func (*Lambda) PutFunctionCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) PutFunctionCodeSigningConfigRequest(input *PutFunctionCodeSigningConfigInput) (req *request.Request, output *PutFunctionCodeSigningConfigOutput)
PutFunctionCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the PutFunctionCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutFunctionCodeSigningConfig for more information on using the PutFunctionCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutFunctionCodeSigningConfigRequest method. req, resp := client.PutFunctionCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfig
func (*Lambda) PutFunctionCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) PutFunctionCodeSigningConfigWithContext(ctx aws.Context, input *PutFunctionCodeSigningConfigInput, opts ...request.Option) (*PutFunctionCodeSigningConfigOutput, error)
PutFunctionCodeSigningConfigWithContext is the same as PutFunctionCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See PutFunctionCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PutFunctionConcurrency ¶ added in v1.12.38
func (c *Lambda) PutFunctionConcurrency(input *PutFunctionConcurrencyInput) (*PutFunctionConcurrencyOutput, error)
PutFunctionConcurrency API operation for AWS Lambda.
Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.
Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function.
Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling (https://docs.aws.amazon.com/lambda/latest/dg/invocation-scaling.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PutFunctionConcurrency for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency
func (*Lambda) PutFunctionConcurrencyRequest ¶ added in v1.12.38
func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInput) (req *request.Request, output *PutFunctionConcurrencyOutput)
PutFunctionConcurrencyRequest generates a "aws/request.Request" representing the client's request for the PutFunctionConcurrency operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutFunctionConcurrency for more information on using the PutFunctionConcurrency API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutFunctionConcurrencyRequest method. req, resp := client.PutFunctionConcurrencyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency
func (*Lambda) PutFunctionConcurrencyWithContext ¶ added in v1.12.38
func (c *Lambda) PutFunctionConcurrencyWithContext(ctx aws.Context, input *PutFunctionConcurrencyInput, opts ...request.Option) (*PutFunctionConcurrencyOutput, error)
PutFunctionConcurrencyWithContext is the same as PutFunctionConcurrency with the addition of the ability to pass a context and additional request options.
See PutFunctionConcurrency for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PutFunctionEventInvokeConfig ¶ added in v1.25.42
func (c *Lambda) PutFunctionEventInvokeConfig(input *PutFunctionEventInvokeConfigInput) (*PutFunctionEventInvokeConfigOutput, error)
PutFunctionEventInvokeConfig API operation for AWS Lambda.
Configures options for asynchronous invocation (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html) on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.
By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.
To send an invocation record to a queue, topic, function, or event bus, specify a destination (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations). You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PutFunctionEventInvokeConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfig
func (*Lambda) PutFunctionEventInvokeConfigRequest ¶ added in v1.25.42
func (c *Lambda) PutFunctionEventInvokeConfigRequest(input *PutFunctionEventInvokeConfigInput) (req *request.Request, output *PutFunctionEventInvokeConfigOutput)
PutFunctionEventInvokeConfigRequest generates a "aws/request.Request" representing the client's request for the PutFunctionEventInvokeConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutFunctionEventInvokeConfig for more information on using the PutFunctionEventInvokeConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutFunctionEventInvokeConfigRequest method. req, resp := client.PutFunctionEventInvokeConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfig
func (*Lambda) PutFunctionEventInvokeConfigWithContext ¶ added in v1.25.42
func (c *Lambda) PutFunctionEventInvokeConfigWithContext(ctx aws.Context, input *PutFunctionEventInvokeConfigInput, opts ...request.Option) (*PutFunctionEventInvokeConfigOutput, error)
PutFunctionEventInvokeConfigWithContext is the same as PutFunctionEventInvokeConfig with the addition of the ability to pass a context and additional request options.
See PutFunctionEventInvokeConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PutProvisionedConcurrencyConfig ¶ added in v1.25.47
func (c *Lambda) PutProvisionedConcurrencyConfig(input *PutProvisionedConcurrencyConfigInput) (*PutProvisionedConcurrencyConfigOutput, error)
PutProvisionedConcurrencyConfig API operation for AWS Lambda.
Adds a provisioned concurrency configuration to a function's alias or version.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PutProvisionedConcurrencyConfig for usage and error information.
Returned Error Types:
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ServiceException The Lambda service encountered an internal error.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutProvisionedConcurrencyConfig
func (*Lambda) PutProvisionedConcurrencyConfigRequest ¶ added in v1.25.47
func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedConcurrencyConfigInput) (req *request.Request, output *PutProvisionedConcurrencyConfigOutput)
PutProvisionedConcurrencyConfigRequest generates a "aws/request.Request" representing the client's request for the PutProvisionedConcurrencyConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutProvisionedConcurrencyConfig for more information on using the PutProvisionedConcurrencyConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutProvisionedConcurrencyConfigRequest method. req, resp := client.PutProvisionedConcurrencyConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutProvisionedConcurrencyConfig
func (*Lambda) PutProvisionedConcurrencyConfigWithContext ¶ added in v1.25.47
func (c *Lambda) PutProvisionedConcurrencyConfigWithContext(ctx aws.Context, input *PutProvisionedConcurrencyConfigInput, opts ...request.Option) (*PutProvisionedConcurrencyConfigOutput, error)
PutProvisionedConcurrencyConfigWithContext is the same as PutProvisionedConcurrencyConfig with the addition of the ability to pass a context and additional request options.
See PutProvisionedConcurrencyConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) PutRuntimeManagementConfig ¶ added in v1.44.185
func (c *Lambda) PutRuntimeManagementConfig(input *PutRuntimeManagementConfigInput) (*PutRuntimeManagementConfigOutput, error)
PutRuntimeManagementConfig API operation for AWS Lambda.
Sets the runtime management configuration for a function's version. For more information, see Runtime updates (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation PutRuntimeManagementConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
ResourceConflictException The resource already exists, or another operation is in progress.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfig
func (*Lambda) PutRuntimeManagementConfigRequest ¶ added in v1.44.185
func (c *Lambda) PutRuntimeManagementConfigRequest(input *PutRuntimeManagementConfigInput) (req *request.Request, output *PutRuntimeManagementConfigOutput)
PutRuntimeManagementConfigRequest generates a "aws/request.Request" representing the client's request for the PutRuntimeManagementConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See PutRuntimeManagementConfig for more information on using the PutRuntimeManagementConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the PutRuntimeManagementConfigRequest method. req, resp := client.PutRuntimeManagementConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfig
func (*Lambda) PutRuntimeManagementConfigWithContext ¶ added in v1.44.185
func (c *Lambda) PutRuntimeManagementConfigWithContext(ctx aws.Context, input *PutRuntimeManagementConfigInput, opts ...request.Option) (*PutRuntimeManagementConfigOutput, error)
PutRuntimeManagementConfigWithContext is the same as PutRuntimeManagementConfig with the addition of the ability to pass a context and additional request options.
See PutRuntimeManagementConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) RemoveLayerVersionPermission ¶ added in v1.15.87
func (c *Lambda) RemoveLayerVersionPermission(input *RemoveLayerVersionPermissionInput) (*RemoveLayerVersionPermissionOutput, error)
RemoveLayerVersionPermission API operation for AWS Lambda.
Removes a statement from the permissions policy for a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). For more information, see AddLayerVersionPermission.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation RemoveLayerVersionPermission for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermission
func (*Lambda) RemoveLayerVersionPermissionRequest ¶ added in v1.15.87
func (c *Lambda) RemoveLayerVersionPermissionRequest(input *RemoveLayerVersionPermissionInput) (req *request.Request, output *RemoveLayerVersionPermissionOutput)
RemoveLayerVersionPermissionRequest generates a "aws/request.Request" representing the client's request for the RemoveLayerVersionPermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RemoveLayerVersionPermission for more information on using the RemoveLayerVersionPermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RemoveLayerVersionPermissionRequest method. req, resp := client.RemoveLayerVersionPermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermission
func (*Lambda) RemoveLayerVersionPermissionWithContext ¶ added in v1.15.87
func (c *Lambda) RemoveLayerVersionPermissionWithContext(ctx aws.Context, input *RemoveLayerVersionPermissionInput, opts ...request.Option) (*RemoveLayerVersionPermissionOutput, error)
RemoveLayerVersionPermissionWithContext is the same as RemoveLayerVersionPermission with the addition of the ability to pass a context and additional request options.
See RemoveLayerVersionPermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) RemovePermission ¶
func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error)
RemovePermission API operation for AWS Lambda.
Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation RemovePermission for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission
func (*Lambda) RemovePermissionRequest ¶
func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput)
RemovePermissionRequest generates a "aws/request.Request" representing the client's request for the RemovePermission operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See RemovePermission for more information on using the RemovePermission API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the RemovePermissionRequest method. req, resp := client.RemovePermissionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission
func (*Lambda) RemovePermissionWithContext ¶ added in v1.8.0
func (c *Lambda) RemovePermissionWithContext(ctx aws.Context, input *RemovePermissionInput, opts ...request.Option) (*RemovePermissionOutput, error)
RemovePermissionWithContext is the same as RemovePermission with the addition of the ability to pass a context and additional request options.
See RemovePermission for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) TagResource ¶ added in v1.8.13
func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS Lambda.
Adds tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to a function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation TagResource for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource
func (*Lambda) TagResourceRequest ¶ added in v1.8.13
func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See TagResource for more information on using the TagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource
func (*Lambda) TagResourceWithContext ¶ added in v1.8.13
func (c *Lambda) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UntagResource ¶ added in v1.8.13
func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS Lambda.
Removes tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) from a function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UntagResource for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource
func (*Lambda) UntagResourceRequest ¶ added in v1.8.13
func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UntagResource for more information on using the UntagResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource
func (*Lambda) UntagResourceWithContext ¶ added in v1.8.13
func (c *Lambda) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateAlias ¶ added in v0.9.14
func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error)
UpdateAlias API operation for AWS Lambda.
Updates the configuration of a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateAlias for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias
func (*Lambda) UpdateAliasRequest ¶ added in v0.9.14
func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *AliasConfiguration)
UpdateAliasRequest generates a "aws/request.Request" representing the client's request for the UpdateAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateAlias for more information on using the UpdateAlias API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateAliasRequest method. req, resp := client.UpdateAliasRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias
func (*Lambda) UpdateAliasWithContext ¶ added in v1.8.0
func (c *Lambda) UpdateAliasWithContext(ctx aws.Context, input *UpdateAliasInput, opts ...request.Option) (*AliasConfiguration, error)
UpdateAliasWithContext is the same as UpdateAlias with the addition of the ability to pass a context and additional request options.
See UpdateAlias for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateCodeSigningConfig ¶ added in v1.35.34
func (c *Lambda) UpdateCodeSigningConfig(input *UpdateCodeSigningConfigInput) (*UpdateCodeSigningConfigOutput, error)
UpdateCodeSigningConfig API operation for AWS Lambda.
Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateCodeSigningConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
InvalidParameterValueException One of the parameters in the request is not valid.
ResourceNotFoundException The resource specified in the request does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfig
func (*Lambda) UpdateCodeSigningConfigRequest ¶ added in v1.35.34
func (c *Lambda) UpdateCodeSigningConfigRequest(input *UpdateCodeSigningConfigInput) (req *request.Request, output *UpdateCodeSigningConfigOutput)
UpdateCodeSigningConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateCodeSigningConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateCodeSigningConfig for more information on using the UpdateCodeSigningConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateCodeSigningConfigRequest method. req, resp := client.UpdateCodeSigningConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfig
func (*Lambda) UpdateCodeSigningConfigWithContext ¶ added in v1.35.34
func (c *Lambda) UpdateCodeSigningConfigWithContext(ctx aws.Context, input *UpdateCodeSigningConfigInput, opts ...request.Option) (*UpdateCodeSigningConfigOutput, error)
UpdateCodeSigningConfigWithContext is the same as UpdateCodeSigningConfig with the addition of the ability to pass a context and additional request options.
See UpdateCodeSigningConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateEventSourceMapping ¶
func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error)
UpdateEventSourceMapping API operation for AWS Lambda.
Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.
For details about how to configure different event sources, see the following topics.
Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping)
Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping)
Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource)
Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping)
Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html)
Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html)
Amazon DocumentDB (https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html)
The following error handling options are available only for stream sources (DynamoDB and Kinesis):
BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry.
DestinationConfig – Send discarded records to an Amazon SQS queue or Amazon SNS topic.
MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
ParallelizationFactor – Process multiple batches from each shard concurrently.
For information about which configuration parameters apply to each event source, see the following topics.
Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params)
Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params)
Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params)
Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params)
Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms)
Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms)
Amazon DocumentDB (https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration)
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateEventSourceMapping for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceInUseException 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping
func (*Lambda) UpdateEventSourceMappingRequest ¶
func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration)
UpdateEventSourceMappingRequest generates a "aws/request.Request" representing the client's request for the UpdateEventSourceMapping operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateEventSourceMapping for more information on using the UpdateEventSourceMapping API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateEventSourceMappingRequest method. req, resp := client.UpdateEventSourceMappingRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping
func (*Lambda) UpdateEventSourceMappingWithContext ¶ added in v1.8.0
func (c *Lambda) UpdateEventSourceMappingWithContext(ctx aws.Context, input *UpdateEventSourceMappingInput, opts ...request.Option) (*EventSourceMappingConfiguration, error)
UpdateEventSourceMappingWithContext is the same as UpdateEventSourceMapping with the addition of the ability to pass a context and additional request options.
See UpdateEventSourceMapping for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateFunctionCode ¶
func (c *Lambda) UpdateFunctionCode(input *UpdateFunctionCodeInput) (*FunctionConfiguration, error)
UpdateFunctionCode API operation for AWS Lambda.
Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in the Amazon ECR registry.
If the function's package type is Zip, then you must specify the deployment package as a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip). Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field.
The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64).
The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.
For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateFunctionCode for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
CodeStorageExceededException Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
ResourceConflictException The resource already exists, or another operation is in progress.
CodeVerificationFailedException The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
InvalidCodeSignatureException 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.
CodeSigningConfigNotFoundException The specified code signing configuration does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode
func (*Lambda) UpdateFunctionCodeRequest ¶
func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req *request.Request, output *FunctionConfiguration)
UpdateFunctionCodeRequest generates a "aws/request.Request" representing the client's request for the UpdateFunctionCode operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFunctionCode for more information on using the UpdateFunctionCode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFunctionCodeRequest method. req, resp := client.UpdateFunctionCodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode
func (*Lambda) UpdateFunctionCodeWithContext ¶ added in v1.8.0
func (c *Lambda) UpdateFunctionCodeWithContext(ctx aws.Context, input *UpdateFunctionCodeInput, opts ...request.Option) (*FunctionConfiguration, error)
UpdateFunctionCodeWithContext is the same as UpdateFunctionCode with the addition of the ability to pass a context and additional request options.
See UpdateFunctionCode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateFunctionConfiguration ¶
func (c *Lambda) UpdateFunctionConfiguration(input *UpdateFunctionConfigurationInput) (*FunctionConfiguration, error)
UpdateFunctionConfiguration API operation for AWS Lambda.
Modify the version-specific settings of a Lambda function.
When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html).
These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.
To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateFunctionConfiguration for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
PreconditionFailedException The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
CodeVerificationFailedException The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.
InvalidCodeSignatureException 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.
CodeSigningConfigNotFoundException The specified code signing configuration does not exist.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration
func (*Lambda) UpdateFunctionConfigurationRequest ¶
func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration)
UpdateFunctionConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateFunctionConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFunctionConfiguration for more information on using the UpdateFunctionConfiguration API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFunctionConfigurationRequest method. req, resp := client.UpdateFunctionConfigurationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration
func (*Lambda) UpdateFunctionConfigurationWithContext ¶ added in v1.8.0
func (c *Lambda) UpdateFunctionConfigurationWithContext(ctx aws.Context, input *UpdateFunctionConfigurationInput, opts ...request.Option) (*FunctionConfiguration, error)
UpdateFunctionConfigurationWithContext is the same as UpdateFunctionConfiguration with the addition of the ability to pass a context and additional request options.
See UpdateFunctionConfiguration for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateFunctionEventInvokeConfig ¶ added in v1.25.42
func (c *Lambda) UpdateFunctionEventInvokeConfig(input *UpdateFunctionEventInvokeConfigInput) (*UpdateFunctionEventInvokeConfigOutput, error)
UpdateFunctionEventInvokeConfig API operation for AWS Lambda.
Updates the configuration for asynchronous invocation for a function, version, or alias.
To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateFunctionEventInvokeConfig for usage and error information.
Returned Error Types:
ServiceException The Lambda service encountered an internal error.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
ResourceConflictException The resource already exists, or another operation is in progress.
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionEventInvokeConfig
func (*Lambda) UpdateFunctionEventInvokeConfigRequest ¶ added in v1.25.42
func (c *Lambda) UpdateFunctionEventInvokeConfigRequest(input *UpdateFunctionEventInvokeConfigInput) (req *request.Request, output *UpdateFunctionEventInvokeConfigOutput)
UpdateFunctionEventInvokeConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateFunctionEventInvokeConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFunctionEventInvokeConfig for more information on using the UpdateFunctionEventInvokeConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFunctionEventInvokeConfigRequest method. req, resp := client.UpdateFunctionEventInvokeConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionEventInvokeConfig
func (*Lambda) UpdateFunctionEventInvokeConfigWithContext ¶ added in v1.25.42
func (c *Lambda) UpdateFunctionEventInvokeConfigWithContext(ctx aws.Context, input *UpdateFunctionEventInvokeConfigInput, opts ...request.Option) (*UpdateFunctionEventInvokeConfigOutput, error)
UpdateFunctionEventInvokeConfigWithContext is the same as UpdateFunctionEventInvokeConfig with the addition of the ability to pass a context and additional request options.
See UpdateFunctionEventInvokeConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) UpdateFunctionUrlConfig ¶ added in v1.42.9
func (c *Lambda) UpdateFunctionUrlConfig(input *UpdateFunctionUrlConfigInput) (*UpdateFunctionUrlConfigOutput, error)
UpdateFunctionUrlConfig API operation for AWS Lambda.
Updates the configuration for a Lambda function URL.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Lambda's API operation UpdateFunctionUrlConfig for usage and error information.
Returned Error Types:
ResourceConflictException The resource already exists, or another operation is in progress.
ResourceNotFoundException The resource specified in the request does not exist.
InvalidParameterValueException One of the parameters in the request is not valid.
ServiceException The Lambda service encountered an internal error.
TooManyRequestsException The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig
func (*Lambda) UpdateFunctionUrlConfigRequest ¶ added in v1.42.9
func (c *Lambda) UpdateFunctionUrlConfigRequest(input *UpdateFunctionUrlConfigInput) (req *request.Request, output *UpdateFunctionUrlConfigOutput)
UpdateFunctionUrlConfigRequest generates a "aws/request.Request" representing the client's request for the UpdateFunctionUrlConfig operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See UpdateFunctionUrlConfig for more information on using the UpdateFunctionUrlConfig API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the UpdateFunctionUrlConfigRequest method. req, resp := client.UpdateFunctionUrlConfigRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig
func (*Lambda) UpdateFunctionUrlConfigWithContext ¶ added in v1.42.9
func (c *Lambda) UpdateFunctionUrlConfigWithContext(ctx aws.Context, input *UpdateFunctionUrlConfigInput, opts ...request.Option) (*UpdateFunctionUrlConfigOutput, error)
UpdateFunctionUrlConfigWithContext is the same as UpdateFunctionUrlConfig with the addition of the ability to pass a context and additional request options.
See UpdateFunctionUrlConfig for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilFunctionActive ¶ added in v1.25.42
func (c *Lambda) WaitUntilFunctionActive(input *GetFunctionConfigurationInput) error
WaitUntilFunctionActive uses the AWS Lambda API operation GetFunctionConfiguration to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilFunctionActiveV2 ¶ added in v1.43.5
func (c *Lambda) WaitUntilFunctionActiveV2(input *GetFunctionInput) error
WaitUntilFunctionActiveV2 uses the AWS Lambda API operation GetFunction to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilFunctionActiveV2WithContext ¶ added in v1.43.5
func (c *Lambda) WaitUntilFunctionActiveV2WithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
WaitUntilFunctionActiveV2WithContext is an extended version of WaitUntilFunctionActiveV2. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilFunctionActiveWithContext ¶ added in v1.25.42
func (c *Lambda) WaitUntilFunctionActiveWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.WaiterOption) error
WaitUntilFunctionActiveWithContext is an extended version of WaitUntilFunctionActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilFunctionExists ¶ added in v1.19.29
func (c *Lambda) WaitUntilFunctionExists(input *GetFunctionInput) error
WaitUntilFunctionExists uses the AWS Lambda API operation GetFunction to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilFunctionExistsWithContext ¶ added in v1.19.29
func (c *Lambda) WaitUntilFunctionExistsWithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
WaitUntilFunctionExistsWithContext is an extended version of WaitUntilFunctionExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilFunctionUpdated ¶ added in v1.25.42
func (c *Lambda) WaitUntilFunctionUpdated(input *GetFunctionConfigurationInput) error
WaitUntilFunctionUpdated uses the AWS Lambda API operation GetFunctionConfiguration to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilFunctionUpdatedV2 ¶ added in v1.43.5
func (c *Lambda) WaitUntilFunctionUpdatedV2(input *GetFunctionInput) error
WaitUntilFunctionUpdatedV2 uses the AWS Lambda API operation GetFunction to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilFunctionUpdatedV2WithContext ¶ added in v1.43.5
func (c *Lambda) WaitUntilFunctionUpdatedV2WithContext(ctx aws.Context, input *GetFunctionInput, opts ...request.WaiterOption) error
WaitUntilFunctionUpdatedV2WithContext is an extended version of WaitUntilFunctionUpdatedV2. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilFunctionUpdatedWithContext ¶ added in v1.25.42
func (c *Lambda) WaitUntilFunctionUpdatedWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.WaiterOption) error
WaitUntilFunctionUpdatedWithContext is an extended version of WaitUntilFunctionUpdated. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*Lambda) WaitUntilPublishedVersionActive ¶ added in v1.44.147
func (c *Lambda) WaitUntilPublishedVersionActive(input *GetFunctionConfigurationInput) error
WaitUntilPublishedVersionActive uses the AWS Lambda API operation GetFunctionConfiguration to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.
func (*Lambda) WaitUntilPublishedVersionActiveWithContext ¶ added in v1.44.147
func (c *Lambda) WaitUntilPublishedVersionActiveWithContext(ctx aws.Context, input *GetFunctionConfigurationInput, opts ...request.WaiterOption) error
WaitUntilPublishedVersionActiveWithContext is an extended version of WaitUntilPublishedVersionActive. With the support for passing in a context and options to configure the Waiter and the underlying request options.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type Layer ¶ added in v1.15.87
type Layer struct { // The Amazon Resource Name (ARN) of the function layer. Arn *string `min:"1" type:"string"` // The size of the layer archive in bytes. CodeSize *int64 `type:"long"` // The Amazon Resource Name (ARN) of a signing job. SigningJobArn *string `type:"string"` // The Amazon Resource Name (ARN) for a signing profile version. SigningProfileVersionArn *string `type:"string"` // contains filtered or unexported fields }
An Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (Layer) GoString ¶ added in v1.15.87
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*Layer) SetCodeSize ¶ added in v1.15.87
SetCodeSize sets the CodeSize field's value.
func (*Layer) SetSigningJobArn ¶ added in v1.35.34
SetSigningJobArn sets the SigningJobArn field's value.
func (*Layer) SetSigningProfileVersionArn ¶ added in v1.35.34
SetSigningProfileVersionArn sets the SigningProfileVersionArn field's value.
type LayerVersionContentInput ¶ added in v1.15.87
type LayerVersionContentInput struct { // The Amazon S3 bucket of the layer archive. S3Bucket *string `min:"3" type:"string"` // The Amazon S3 key of the layer archive. S3Key *string `min:"1" type:"string"` // For versioned objects, the version of the layer archive object to use. S3ObjectVersion *string `min:"1" type:"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 is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by LayerVersionContentInput's // String and GoString methods. // // ZipFile is automatically base64 encoded/decoded by the SDK. ZipFile []byte `type:"blob" sensitive:"true"` // contains filtered or unexported fields }
A ZIP archive that contains the contents of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). You can specify either an Amazon S3 location, or upload a layer archive directly.
func (LayerVersionContentInput) GoString ¶ added in v1.15.87
func (s LayerVersionContentInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LayerVersionContentInput) SetS3Bucket ¶ added in v1.15.87
func (s *LayerVersionContentInput) SetS3Bucket(v string) *LayerVersionContentInput
SetS3Bucket sets the S3Bucket field's value.
func (*LayerVersionContentInput) SetS3Key ¶ added in v1.15.87
func (s *LayerVersionContentInput) SetS3Key(v string) *LayerVersionContentInput
SetS3Key sets the S3Key field's value.
func (*LayerVersionContentInput) SetS3ObjectVersion ¶ added in v1.15.87
func (s *LayerVersionContentInput) SetS3ObjectVersion(v string) *LayerVersionContentInput
SetS3ObjectVersion sets the S3ObjectVersion field's value.
func (*LayerVersionContentInput) SetZipFile ¶ added in v1.15.87
func (s *LayerVersionContentInput) SetZipFile(v []byte) *LayerVersionContentInput
SetZipFile sets the ZipFile field's value.
func (LayerVersionContentInput) String ¶ added in v1.15.87
func (s LayerVersionContentInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LayerVersionContentInput) Validate ¶ added in v1.15.87
func (s *LayerVersionContentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LayerVersionContentOutput ¶ added in v1.15.87
type LayerVersionContentOutput struct { // The SHA-256 hash of the layer archive. CodeSha256 *string `type:"string"` // The size of the layer archive in bytes. CodeSize *int64 `type:"long"` // A link to the layer archive in Amazon S3 that is valid for 10 minutes. Location *string `type:"string"` // The Amazon Resource Name (ARN) of a signing job. SigningJobArn *string `type:"string"` // The Amazon Resource Name (ARN) for a signing profile version. SigningProfileVersionArn *string `type:"string"` // contains filtered or unexported fields }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (LayerVersionContentOutput) GoString ¶ added in v1.15.87
func (s LayerVersionContentOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LayerVersionContentOutput) SetCodeSha256 ¶ added in v1.15.87
func (s *LayerVersionContentOutput) SetCodeSha256(v string) *LayerVersionContentOutput
SetCodeSha256 sets the CodeSha256 field's value.
func (*LayerVersionContentOutput) SetCodeSize ¶ added in v1.15.87
func (s *LayerVersionContentOutput) SetCodeSize(v int64) *LayerVersionContentOutput
SetCodeSize sets the CodeSize field's value.
func (*LayerVersionContentOutput) SetLocation ¶ added in v1.15.87
func (s *LayerVersionContentOutput) SetLocation(v string) *LayerVersionContentOutput
SetLocation sets the Location field's value.
func (*LayerVersionContentOutput) SetSigningJobArn ¶ added in v1.35.34
func (s *LayerVersionContentOutput) SetSigningJobArn(v string) *LayerVersionContentOutput
SetSigningJobArn sets the SigningJobArn field's value.
func (*LayerVersionContentOutput) SetSigningProfileVersionArn ¶ added in v1.35.34
func (s *LayerVersionContentOutput) SetSigningProfileVersionArn(v string) *LayerVersionContentOutput
SetSigningProfileVersionArn sets the SigningProfileVersionArn field's value.
func (LayerVersionContentOutput) String ¶ added in v1.15.87
func (s LayerVersionContentOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LayerVersionsListItem ¶ added in v1.15.87
type LayerVersionsListItem struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000. CreatedDate *string `type:"string"` // The description of the version. Description *string `type:"string"` // The ARN of the layer version. LayerVersionArn *string `min:"1" type:"string"` // The layer's open-source license. LicenseInfo *string `type:"string"` // The version number. Version *int64 `type:"long"` // contains filtered or unexported fields }
Details about a version of an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (LayerVersionsListItem) GoString ¶ added in v1.15.87
func (s LayerVersionsListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LayerVersionsListItem) SetCompatibleArchitectures ¶ added in v1.40.52
func (s *LayerVersionsListItem) SetCompatibleArchitectures(v []*string) *LayerVersionsListItem
SetCompatibleArchitectures sets the CompatibleArchitectures field's value.
func (*LayerVersionsListItem) SetCompatibleRuntimes ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetCompatibleRuntimes(v []*string) *LayerVersionsListItem
SetCompatibleRuntimes sets the CompatibleRuntimes field's value.
func (*LayerVersionsListItem) SetCreatedDate ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetCreatedDate(v string) *LayerVersionsListItem
SetCreatedDate sets the CreatedDate field's value.
func (*LayerVersionsListItem) SetDescription ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetDescription(v string) *LayerVersionsListItem
SetDescription sets the Description field's value.
func (*LayerVersionsListItem) SetLayerVersionArn ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetLayerVersionArn(v string) *LayerVersionsListItem
SetLayerVersionArn sets the LayerVersionArn field's value.
func (*LayerVersionsListItem) SetLicenseInfo ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetLicenseInfo(v string) *LayerVersionsListItem
SetLicenseInfo sets the LicenseInfo field's value.
func (*LayerVersionsListItem) SetVersion ¶ added in v1.15.87
func (s *LayerVersionsListItem) SetVersion(v int64) *LayerVersionsListItem
SetVersion sets the Version field's value.
func (LayerVersionsListItem) String ¶ added in v1.15.87
func (s LayerVersionsListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LayersListItem ¶ added in v1.15.87
type LayersListItem struct { // The newest version of the layer. LatestMatchingVersion *LayerVersionsListItem `type:"structure"` // The Amazon Resource Name (ARN) of the function layer. LayerArn *string `min:"1" type:"string"` // The name of the layer. LayerName *string `min:"1" type:"string"` // contains filtered or unexported fields }
Details about an Lambda layer (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).
func (LayersListItem) GoString ¶ added in v1.15.87
func (s LayersListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LayersListItem) SetLatestMatchingVersion ¶ added in v1.15.87
func (s *LayersListItem) SetLatestMatchingVersion(v *LayerVersionsListItem) *LayersListItem
SetLatestMatchingVersion sets the LatestMatchingVersion field's value.
func (*LayersListItem) SetLayerArn ¶ added in v1.15.87
func (s *LayersListItem) SetLayerArn(v string) *LayersListItem
SetLayerArn sets the LayerArn field's value.
func (*LayersListItem) SetLayerName ¶ added in v1.15.87
func (s *LayersListItem) SetLayerName(v string) *LayersListItem
SetLayerName sets the LayerName field's value.
func (LayersListItem) String ¶ added in v1.15.87
func (s LayersListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListAliasesInput ¶ added in v0.9.14
type ListAliasesInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a function version to only list aliases that invoke that version. FunctionVersion *string `location:"querystring" locationName:"FunctionVersion" min:"1" type:"string"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // Limit the number of aliases returned. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListAliasesInput) GoString ¶ added in v0.9.14
func (s ListAliasesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListAliasesInput) SetFunctionName ¶ added in v1.5.0
func (s *ListAliasesInput) SetFunctionName(v string) *ListAliasesInput
SetFunctionName sets the FunctionName field's value.
func (*ListAliasesInput) SetFunctionVersion ¶ added in v1.5.0
func (s *ListAliasesInput) SetFunctionVersion(v string) *ListAliasesInput
SetFunctionVersion sets the FunctionVersion field's value.
func (*ListAliasesInput) SetMarker ¶ added in v1.5.0
func (s *ListAliasesInput) SetMarker(v string) *ListAliasesInput
SetMarker sets the Marker field's value.
func (*ListAliasesInput) SetMaxItems ¶ added in v1.5.0
func (s *ListAliasesInput) SetMaxItems(v int64) *ListAliasesInput
SetMaxItems sets the MaxItems field's value.
func (ListAliasesInput) String ¶ added in v0.9.14
func (s ListAliasesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListAliasesInput) Validate ¶ added in v1.1.21
func (s *ListAliasesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAliasesOutput ¶ added in v0.9.14
type ListAliasesOutput struct { // A list of aliases. Aliases []*AliasConfiguration `type:"list"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListAliasesOutput) GoString ¶ added in v0.9.14
func (s ListAliasesOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListAliasesOutput) SetAliases ¶ added in v1.5.0
func (s *ListAliasesOutput) SetAliases(v []*AliasConfiguration) *ListAliasesOutput
SetAliases sets the Aliases field's value.
func (*ListAliasesOutput) SetNextMarker ¶ added in v1.5.0
func (s *ListAliasesOutput) SetNextMarker(v string) *ListAliasesOutput
SetNextMarker sets the NextMarker field's value.
func (ListAliasesOutput) String ¶ added in v0.9.14
func (s ListAliasesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListCodeSigningConfigsInput ¶ added in v1.35.34
type ListCodeSigningConfigsInput struct { // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // Maximum number of items to return. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListCodeSigningConfigsInput) GoString ¶ added in v1.35.34
func (s ListCodeSigningConfigsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeSigningConfigsInput) SetMarker ¶ added in v1.35.34
func (s *ListCodeSigningConfigsInput) SetMarker(v string) *ListCodeSigningConfigsInput
SetMarker sets the Marker field's value.
func (*ListCodeSigningConfigsInput) SetMaxItems ¶ added in v1.35.34
func (s *ListCodeSigningConfigsInput) SetMaxItems(v int64) *ListCodeSigningConfigsInput
SetMaxItems sets the MaxItems field's value.
func (ListCodeSigningConfigsInput) String ¶ added in v1.35.34
func (s ListCodeSigningConfigsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeSigningConfigsInput) Validate ¶ added in v1.35.34
func (s *ListCodeSigningConfigsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListCodeSigningConfigsOutput ¶ added in v1.35.34
type ListCodeSigningConfigsOutput struct { // The code signing configurations CodeSigningConfigs []*CodeSigningConfig `type:"list"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListCodeSigningConfigsOutput) GoString ¶ added in v1.35.34
func (s ListCodeSigningConfigsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListCodeSigningConfigsOutput) SetCodeSigningConfigs ¶ added in v1.35.34
func (s *ListCodeSigningConfigsOutput) SetCodeSigningConfigs(v []*CodeSigningConfig) *ListCodeSigningConfigsOutput
SetCodeSigningConfigs sets the CodeSigningConfigs field's value.
func (*ListCodeSigningConfigsOutput) SetNextMarker ¶ added in v1.35.34
func (s *ListCodeSigningConfigsOutput) SetNextMarker(v string) *ListCodeSigningConfigsOutput
SetNextMarker sets the NextMarker field's value.
func (ListCodeSigningConfigsOutput) String ¶ added in v1.35.34
func (s ListCodeSigningConfigsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListEventSourceMappingsInput ¶
type ListEventSourceMappingsInput struct { // The Amazon Resource Name (ARN) of the event source. // // * Amazon Kinesis – The ARN of the data stream or a stream consumer. // // * Amazon DynamoDB Streams – The ARN of the stream. // // * Amazon Simple Queue Service – The ARN of the queue. // // * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster // or the ARN of the VPC connection (for cross-account event source mappings // (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc)). // // * Amazon MQ – The ARN of the broker. // // * Amazon DocumentDB – The ARN of the DocumentDB change stream. EventSourceArn *string `location:"querystring" locationName:"EventSourceArn" type:"string"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – MyFunction. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. FunctionName *string `location:"querystring" locationName:"FunctionName" min:"1" type:"string"` // A pagination token returned by a previous call. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of event source mappings to return. Note that ListEventSourceMappings // returns a maximum of 100 items in each response, even if you set the number // higher. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListEventSourceMappingsInput) GoString ¶ added in v0.6.5
func (s ListEventSourceMappingsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventSourceMappingsInput) SetEventSourceArn ¶ added in v1.5.0
func (s *ListEventSourceMappingsInput) SetEventSourceArn(v string) *ListEventSourceMappingsInput
SetEventSourceArn sets the EventSourceArn field's value.
func (*ListEventSourceMappingsInput) SetFunctionName ¶ added in v1.5.0
func (s *ListEventSourceMappingsInput) SetFunctionName(v string) *ListEventSourceMappingsInput
SetFunctionName sets the FunctionName field's value.
func (*ListEventSourceMappingsInput) SetMarker ¶ added in v1.5.0
func (s *ListEventSourceMappingsInput) SetMarker(v string) *ListEventSourceMappingsInput
SetMarker sets the Marker field's value.
func (*ListEventSourceMappingsInput) SetMaxItems ¶ added in v1.5.0
func (s *ListEventSourceMappingsInput) SetMaxItems(v int64) *ListEventSourceMappingsInput
SetMaxItems sets the MaxItems field's value.
func (ListEventSourceMappingsInput) String ¶ added in v0.6.5
func (s ListEventSourceMappingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventSourceMappingsInput) Validate ¶ added in v1.1.21
func (s *ListEventSourceMappingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListEventSourceMappingsOutput ¶
type ListEventSourceMappingsOutput struct { // A list of event source mappings. EventSourceMappings []*EventSourceMappingConfiguration `type:"list"` // A pagination token that's returned when the response doesn't contain all // event source mappings. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListEventSourceMappingsOutput) GoString ¶ added in v0.6.5
func (s ListEventSourceMappingsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListEventSourceMappingsOutput) SetEventSourceMappings ¶ added in v1.5.0
func (s *ListEventSourceMappingsOutput) SetEventSourceMappings(v []*EventSourceMappingConfiguration) *ListEventSourceMappingsOutput
SetEventSourceMappings sets the EventSourceMappings field's value.
func (*ListEventSourceMappingsOutput) SetNextMarker ¶ added in v1.5.0
func (s *ListEventSourceMappingsOutput) SetNextMarker(v string) *ListEventSourceMappingsOutput
SetNextMarker sets the NextMarker field's value.
func (ListEventSourceMappingsOutput) String ¶ added in v0.6.5
func (s ListEventSourceMappingsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFunctionEventInvokeConfigsInput ¶ added in v1.25.42
type ListFunctionEventInvokeConfigsInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - my-function. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of configurations to return. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListFunctionEventInvokeConfigsInput) GoString ¶ added in v1.25.42
func (s ListFunctionEventInvokeConfigsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionEventInvokeConfigsInput) SetFunctionName ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsInput) SetFunctionName(v string) *ListFunctionEventInvokeConfigsInput
SetFunctionName sets the FunctionName field's value.
func (*ListFunctionEventInvokeConfigsInput) SetMarker ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsInput) SetMarker(v string) *ListFunctionEventInvokeConfigsInput
SetMarker sets the Marker field's value.
func (*ListFunctionEventInvokeConfigsInput) SetMaxItems ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsInput) SetMaxItems(v int64) *ListFunctionEventInvokeConfigsInput
SetMaxItems sets the MaxItems field's value.
func (ListFunctionEventInvokeConfigsInput) String ¶ added in v1.25.42
func (s ListFunctionEventInvokeConfigsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionEventInvokeConfigsInput) Validate ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionEventInvokeConfigsOutput ¶ added in v1.25.42
type ListFunctionEventInvokeConfigsOutput struct { // A list of configurations. FunctionEventInvokeConfigs []*FunctionEventInvokeConfig `type:"list"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListFunctionEventInvokeConfigsOutput) GoString ¶ added in v1.25.42
func (s ListFunctionEventInvokeConfigsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionEventInvokeConfigsOutput) SetFunctionEventInvokeConfigs ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsOutput) SetFunctionEventInvokeConfigs(v []*FunctionEventInvokeConfig) *ListFunctionEventInvokeConfigsOutput
SetFunctionEventInvokeConfigs sets the FunctionEventInvokeConfigs field's value.
func (*ListFunctionEventInvokeConfigsOutput) SetNextMarker ¶ added in v1.25.42
func (s *ListFunctionEventInvokeConfigsOutput) SetNextMarker(v string) *ListFunctionEventInvokeConfigsOutput
SetNextMarker sets the NextMarker field's value.
func (ListFunctionEventInvokeConfigsOutput) String ¶ added in v1.25.42
func (s ListFunctionEventInvokeConfigsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFunctionUrlConfigsInput ¶ added in v1.42.9
type ListFunctionUrlConfigsInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of function URLs to return in the response. Note that // ListFunctionUrlConfigs returns a maximum of 50 items in each response, even // if you set the number higher. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListFunctionUrlConfigsInput) GoString ¶ added in v1.42.9
func (s ListFunctionUrlConfigsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionUrlConfigsInput) SetFunctionName ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsInput) SetFunctionName(v string) *ListFunctionUrlConfigsInput
SetFunctionName sets the FunctionName field's value.
func (*ListFunctionUrlConfigsInput) SetMarker ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsInput) SetMarker(v string) *ListFunctionUrlConfigsInput
SetMarker sets the Marker field's value.
func (*ListFunctionUrlConfigsInput) SetMaxItems ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsInput) SetMaxItems(v int64) *ListFunctionUrlConfigsInput
SetMaxItems sets the MaxItems field's value.
func (ListFunctionUrlConfigsInput) String ¶ added in v1.42.9
func (s ListFunctionUrlConfigsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionUrlConfigsInput) Validate ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionUrlConfigsOutput ¶ added in v1.42.9
type ListFunctionUrlConfigsOutput struct { // A list of function URL configurations. // // FunctionUrlConfigs is a required field FunctionUrlConfigs []*FunctionUrlConfig `type:"list" required:"true"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListFunctionUrlConfigsOutput) GoString ¶ added in v1.42.9
func (s ListFunctionUrlConfigsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionUrlConfigsOutput) SetFunctionUrlConfigs ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsOutput) SetFunctionUrlConfigs(v []*FunctionUrlConfig) *ListFunctionUrlConfigsOutput
SetFunctionUrlConfigs sets the FunctionUrlConfigs field's value.
func (*ListFunctionUrlConfigsOutput) SetNextMarker ¶ added in v1.42.9
func (s *ListFunctionUrlConfigsOutput) SetNextMarker(v string) *ListFunctionUrlConfigsOutput
SetNextMarker sets the NextMarker field's value.
func (ListFunctionUrlConfigsOutput) String ¶ added in v1.42.9
func (s ListFunctionUrlConfigsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFunctionsByCodeSigningConfigInput ¶ added in v1.35.34
type ListFunctionsByCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `location:"uri" locationName:"CodeSigningConfigArn" type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // Maximum number of items to return. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListFunctionsByCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s ListFunctionsByCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsByCodeSigningConfigInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *ListFunctionsByCodeSigningConfigInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*ListFunctionsByCodeSigningConfigInput) SetMarker ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigInput) SetMarker(v string) *ListFunctionsByCodeSigningConfigInput
SetMarker sets the Marker field's value.
func (*ListFunctionsByCodeSigningConfigInput) SetMaxItems ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigInput) SetMaxItems(v int64) *ListFunctionsByCodeSigningConfigInput
SetMaxItems sets the MaxItems field's value.
func (ListFunctionsByCodeSigningConfigInput) String ¶ added in v1.35.34
func (s ListFunctionsByCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsByCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionsByCodeSigningConfigOutput ¶ added in v1.35.34
type ListFunctionsByCodeSigningConfigOutput struct { // The function ARNs. FunctionArns []*string `type:"list"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListFunctionsByCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s ListFunctionsByCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsByCodeSigningConfigOutput) SetFunctionArns ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigOutput) SetFunctionArns(v []*string) *ListFunctionsByCodeSigningConfigOutput
SetFunctionArns sets the FunctionArns field's value.
func (*ListFunctionsByCodeSigningConfigOutput) SetNextMarker ¶ added in v1.35.34
func (s *ListFunctionsByCodeSigningConfigOutput) SetNextMarker(v string) *ListFunctionsByCodeSigningConfigOutput
SetNextMarker sets the NextMarker field's value.
func (ListFunctionsByCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s ListFunctionsByCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFunctionsInput ¶
type ListFunctionsInput struct { // Set to ALL to include entries for all published versions of each function. FunctionVersion *string `location:"querystring" locationName:"FunctionVersion" type:"string" enum:"FunctionVersion"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // For Lambda@Edge functions, the Amazon Web Services Region of the master function. // For example, us-east-1 filters the list of functions to include only Lambda@Edge // functions replicated from a master function in US East (N. Virginia). If // specified, you must set FunctionVersion to ALL. MasterRegion *string `location:"querystring" locationName:"MasterRegion" type:"string"` // The maximum number of functions to return in the response. Note that ListFunctions // returns a maximum of 50 items in each response, even if you set the number // higher. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListFunctionsInput) GoString ¶ added in v0.6.5
func (s ListFunctionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsInput) SetFunctionVersion ¶ added in v1.10.12
func (s *ListFunctionsInput) SetFunctionVersion(v string) *ListFunctionsInput
SetFunctionVersion sets the FunctionVersion field's value.
func (*ListFunctionsInput) SetMarker ¶ added in v1.5.0
func (s *ListFunctionsInput) SetMarker(v string) *ListFunctionsInput
SetMarker sets the Marker field's value.
func (*ListFunctionsInput) SetMasterRegion ¶ added in v1.10.12
func (s *ListFunctionsInput) SetMasterRegion(v string) *ListFunctionsInput
SetMasterRegion sets the MasterRegion field's value.
func (*ListFunctionsInput) SetMaxItems ¶ added in v1.5.0
func (s *ListFunctionsInput) SetMaxItems(v int64) *ListFunctionsInput
SetMaxItems sets the MaxItems field's value.
func (ListFunctionsInput) String ¶ added in v0.6.5
func (s ListFunctionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsInput) Validate ¶ added in v1.1.21
func (s *ListFunctionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFunctionsOutput ¶
type ListFunctionsOutput struct { // A list of Lambda functions. Functions []*FunctionConfiguration `type:"list"` // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // contains filtered or unexported fields }
A list of Lambda functions.
func (ListFunctionsOutput) GoString ¶ added in v0.6.5
func (s ListFunctionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListFunctionsOutput) SetFunctions ¶ added in v1.5.0
func (s *ListFunctionsOutput) SetFunctions(v []*FunctionConfiguration) *ListFunctionsOutput
SetFunctions sets the Functions field's value.
func (*ListFunctionsOutput) SetNextMarker ¶ added in v1.5.0
func (s *ListFunctionsOutput) SetNextMarker(v string) *ListFunctionsOutput
SetNextMarker sets the NextMarker field's value.
func (ListFunctionsOutput) String ¶ added in v0.6.5
func (s ListFunctionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListLayerVersionsInput ¶ added in v1.15.87
type ListLayerVersionsInput struct { // The compatible instruction set architecture (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitecture *string `location:"querystring" locationName:"CompatibleArchitecture" type:"string" enum:"Architecture"` // A runtime identifier. For example, java21. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntime *string `location:"querystring" locationName:"CompatibleRuntime" type:"string" enum:"Runtime"` // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // A pagination token returned by a previous call. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of versions to return. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListLayerVersionsInput) GoString ¶ added in v1.15.87
func (s ListLayerVersionsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayerVersionsInput) SetCompatibleArchitecture ¶ added in v1.40.52
func (s *ListLayerVersionsInput) SetCompatibleArchitecture(v string) *ListLayerVersionsInput
SetCompatibleArchitecture sets the CompatibleArchitecture field's value.
func (*ListLayerVersionsInput) SetCompatibleRuntime ¶ added in v1.15.87
func (s *ListLayerVersionsInput) SetCompatibleRuntime(v string) *ListLayerVersionsInput
SetCompatibleRuntime sets the CompatibleRuntime field's value.
func (*ListLayerVersionsInput) SetLayerName ¶ added in v1.15.87
func (s *ListLayerVersionsInput) SetLayerName(v string) *ListLayerVersionsInput
SetLayerName sets the LayerName field's value.
func (*ListLayerVersionsInput) SetMarker ¶ added in v1.15.87
func (s *ListLayerVersionsInput) SetMarker(v string) *ListLayerVersionsInput
SetMarker sets the Marker field's value.
func (*ListLayerVersionsInput) SetMaxItems ¶ added in v1.15.87
func (s *ListLayerVersionsInput) SetMaxItems(v int64) *ListLayerVersionsInput
SetMaxItems sets the MaxItems field's value.
func (ListLayerVersionsInput) String ¶ added in v1.15.87
func (s ListLayerVersionsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayerVersionsInput) Validate ¶ added in v1.15.87
func (s *ListLayerVersionsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLayerVersionsOutput ¶ added in v1.15.87
type ListLayerVersionsOutput struct { // A list of versions. LayerVersions []*LayerVersionsListItem `type:"list"` // A pagination token returned when the response doesn't contain all versions. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListLayerVersionsOutput) GoString ¶ added in v1.15.87
func (s ListLayerVersionsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayerVersionsOutput) SetLayerVersions ¶ added in v1.15.87
func (s *ListLayerVersionsOutput) SetLayerVersions(v []*LayerVersionsListItem) *ListLayerVersionsOutput
SetLayerVersions sets the LayerVersions field's value.
func (*ListLayerVersionsOutput) SetNextMarker ¶ added in v1.15.87
func (s *ListLayerVersionsOutput) SetNextMarker(v string) *ListLayerVersionsOutput
SetNextMarker sets the NextMarker field's value.
func (ListLayerVersionsOutput) String ¶ added in v1.15.87
func (s ListLayerVersionsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListLayersInput ¶ added in v1.15.87
type ListLayersInput struct { // The compatible instruction set architecture (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitecture *string `location:"querystring" locationName:"CompatibleArchitecture" type:"string" enum:"Architecture"` // A runtime identifier. For example, java21. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntime *string `location:"querystring" locationName:"CompatibleRuntime" type:"string" enum:"Runtime"` // A pagination token returned by a previous call. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of layers to return. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListLayersInput) GoString ¶ added in v1.15.87
func (s ListLayersInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayersInput) SetCompatibleArchitecture ¶ added in v1.40.52
func (s *ListLayersInput) SetCompatibleArchitecture(v string) *ListLayersInput
SetCompatibleArchitecture sets the CompatibleArchitecture field's value.
func (*ListLayersInput) SetCompatibleRuntime ¶ added in v1.15.87
func (s *ListLayersInput) SetCompatibleRuntime(v string) *ListLayersInput
SetCompatibleRuntime sets the CompatibleRuntime field's value.
func (*ListLayersInput) SetMarker ¶ added in v1.15.87
func (s *ListLayersInput) SetMarker(v string) *ListLayersInput
SetMarker sets the Marker field's value.
func (*ListLayersInput) SetMaxItems ¶ added in v1.15.87
func (s *ListLayersInput) SetMaxItems(v int64) *ListLayersInput
SetMaxItems sets the MaxItems field's value.
func (ListLayersInput) String ¶ added in v1.15.87
func (s ListLayersInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayersInput) Validate ¶ added in v1.15.87
func (s *ListLayersInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLayersOutput ¶ added in v1.15.87
type ListLayersOutput struct { // A list of function layers. Layers []*LayersListItem `type:"list"` // A pagination token returned when the response doesn't contain all layers. NextMarker *string `type:"string"` // contains filtered or unexported fields }
func (ListLayersOutput) GoString ¶ added in v1.15.87
func (s ListLayersOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListLayersOutput) SetLayers ¶ added in v1.15.87
func (s *ListLayersOutput) SetLayers(v []*LayersListItem) *ListLayersOutput
SetLayers sets the Layers field's value.
func (*ListLayersOutput) SetNextMarker ¶ added in v1.15.87
func (s *ListLayersOutput) SetNextMarker(v string) *ListLayersOutput
SetNextMarker sets the NextMarker field's value.
func (ListLayersOutput) String ¶ added in v1.15.87
func (s ListLayersOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListProvisionedConcurrencyConfigsInput ¶ added in v1.25.47
type ListProvisionedConcurrencyConfigsInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // Specify a number to limit the number of configurations returned. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListProvisionedConcurrencyConfigsInput) GoString ¶ added in v1.25.47
func (s ListProvisionedConcurrencyConfigsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedConcurrencyConfigsInput) SetFunctionName ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsInput) SetFunctionName(v string) *ListProvisionedConcurrencyConfigsInput
SetFunctionName sets the FunctionName field's value.
func (*ListProvisionedConcurrencyConfigsInput) SetMarker ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsInput) SetMarker(v string) *ListProvisionedConcurrencyConfigsInput
SetMarker sets the Marker field's value.
func (*ListProvisionedConcurrencyConfigsInput) SetMaxItems ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsInput) SetMaxItems(v int64) *ListProvisionedConcurrencyConfigsInput
SetMaxItems sets the MaxItems field's value.
func (ListProvisionedConcurrencyConfigsInput) String ¶ added in v1.25.47
func (s ListProvisionedConcurrencyConfigsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedConcurrencyConfigsInput) Validate ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListProvisionedConcurrencyConfigsOutput ¶ added in v1.25.47
type ListProvisionedConcurrencyConfigsOutput struct { // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // A list of provisioned concurrency configurations. ProvisionedConcurrencyConfigs []*ProvisionedConcurrencyConfigListItem `type:"list"` // contains filtered or unexported fields }
func (ListProvisionedConcurrencyConfigsOutput) GoString ¶ added in v1.25.47
func (s ListProvisionedConcurrencyConfigsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListProvisionedConcurrencyConfigsOutput) SetNextMarker ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsOutput) SetNextMarker(v string) *ListProvisionedConcurrencyConfigsOutput
SetNextMarker sets the NextMarker field's value.
func (*ListProvisionedConcurrencyConfigsOutput) SetProvisionedConcurrencyConfigs ¶ added in v1.25.47
func (s *ListProvisionedConcurrencyConfigsOutput) SetProvisionedConcurrencyConfigs(v []*ProvisionedConcurrencyConfigListItem) *ListProvisionedConcurrencyConfigsOutput
SetProvisionedConcurrencyConfigs sets the ProvisionedConcurrencyConfigs field's value.
func (ListProvisionedConcurrencyConfigsOutput) String ¶ added in v1.25.47
func (s ListProvisionedConcurrencyConfigsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListTagsInput ¶ added in v1.8.13
type ListTagsInput struct { // The function's Amazon Resource Name (ARN). Note: Lambda does not support // adding tags to aliases or versions. // // Resource is a required field Resource *string `location:"uri" locationName:"ARN" type:"string" required:"true"` // contains filtered or unexported fields }
func (ListTagsInput) GoString ¶ added in v1.8.13
func (s ListTagsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) SetResource ¶ added in v1.8.13
func (s *ListTagsInput) SetResource(v string) *ListTagsInput
SetResource sets the Resource field's value.
func (ListTagsInput) String ¶ added in v1.8.13
func (s ListTagsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsInput) Validate ¶ added in v1.8.13
func (s *ListTagsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsOutput ¶ added in v1.8.13
type ListTagsOutput struct { // The function's tags. Tags map[string]*string `type:"map"` // contains filtered or unexported fields }
func (ListTagsOutput) GoString ¶ added in v1.8.13
func (s ListTagsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListTagsOutput) SetTags ¶ added in v1.8.13
func (s *ListTagsOutput) SetTags(v map[string]*string) *ListTagsOutput
SetTags sets the Tags field's value.
func (ListTagsOutput) String ¶ added in v1.8.13
func (s ListTagsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListVersionsByFunctionInput ¶ added in v0.9.14
type ListVersionsByFunctionInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string `location:"querystring" locationName:"Marker" type:"string"` // The maximum number of versions to return. Note that ListVersionsByFunction // returns a maximum of 50 items in each response, even if you set the number // higher. MaxItems *int64 `location:"querystring" locationName:"MaxItems" min:"1" type:"integer"` // contains filtered or unexported fields }
func (ListVersionsByFunctionInput) GoString ¶ added in v0.9.14
func (s ListVersionsByFunctionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListVersionsByFunctionInput) SetFunctionName ¶ added in v1.5.0
func (s *ListVersionsByFunctionInput) SetFunctionName(v string) *ListVersionsByFunctionInput
SetFunctionName sets the FunctionName field's value.
func (*ListVersionsByFunctionInput) SetMarker ¶ added in v1.5.0
func (s *ListVersionsByFunctionInput) SetMarker(v string) *ListVersionsByFunctionInput
SetMarker sets the Marker field's value.
func (*ListVersionsByFunctionInput) SetMaxItems ¶ added in v1.5.0
func (s *ListVersionsByFunctionInput) SetMaxItems(v int64) *ListVersionsByFunctionInput
SetMaxItems sets the MaxItems field's value.
func (ListVersionsByFunctionInput) String ¶ added in v0.9.14
func (s ListVersionsByFunctionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListVersionsByFunctionInput) Validate ¶ added in v1.1.21
func (s *ListVersionsByFunctionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVersionsByFunctionOutput ¶ added in v0.9.14
type ListVersionsByFunctionOutput struct { // The pagination token that's included if more results are available. NextMarker *string `type:"string"` // A list of Lambda function versions. Versions []*FunctionConfiguration `type:"list"` // contains filtered or unexported fields }
func (ListVersionsByFunctionOutput) GoString ¶ added in v0.9.14
func (s ListVersionsByFunctionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ListVersionsByFunctionOutput) SetNextMarker ¶ added in v1.5.0
func (s *ListVersionsByFunctionOutput) SetNextMarker(v string) *ListVersionsByFunctionOutput
SetNextMarker sets the NextMarker field's value.
func (*ListVersionsByFunctionOutput) SetVersions ¶ added in v1.5.0
func (s *ListVersionsByFunctionOutput) SetVersions(v []*FunctionConfiguration) *ListVersionsByFunctionOutput
SetVersions sets the Versions field's value.
func (ListVersionsByFunctionOutput) String ¶ added in v0.9.14
func (s ListVersionsByFunctionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type LoggingConfig ¶ added in v1.47.13
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 *string `type:"string" enum:"ApplicationLogLevel"` // The format in which Lambda sends your function's application and system logs // to CloudWatch. Select between plain text and structured JSON. LogFormat *string `type:"string" enum:"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 `min:"1" type:"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 *string `type:"string" enum:"SystemLogLevel"` // contains filtered or unexported fields }
The function's Amazon CloudWatch Logs configuration settings.
func (LoggingConfig) GoString ¶ added in v1.47.13
func (s LoggingConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfig) SetApplicationLogLevel ¶ added in v1.47.13
func (s *LoggingConfig) SetApplicationLogLevel(v string) *LoggingConfig
SetApplicationLogLevel sets the ApplicationLogLevel field's value.
func (*LoggingConfig) SetLogFormat ¶ added in v1.47.13
func (s *LoggingConfig) SetLogFormat(v string) *LoggingConfig
SetLogFormat sets the LogFormat field's value.
func (*LoggingConfig) SetLogGroup ¶ added in v1.47.13
func (s *LoggingConfig) SetLogGroup(v string) *LoggingConfig
SetLogGroup sets the LogGroup field's value.
func (*LoggingConfig) SetSystemLogLevel ¶ added in v1.47.13
func (s *LoggingConfig) SetSystemLogLevel(v string) *LoggingConfig
SetSystemLogLevel sets the SystemLogLevel field's value.
func (LoggingConfig) String ¶ added in v1.47.13
func (s LoggingConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*LoggingConfig) Validate ¶ added in v1.47.13
func (s *LoggingConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type OnFailure ¶ added in v1.25.42
type OnFailure struct { // The Amazon Resource Name (ARN) of the destination resource. // // To retain records of asynchronous invocations (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations), // you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, // or Amazon EventBridge event bus as the destination. // // To retain records of failed invocations from Kinesis and DynamoDB event sources // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations), // you can configure an Amazon SNS topic or Amazon SQS queue as the destination. // // To retain records of failed invocations from self-managed Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination) // or Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination), // you can configure an Amazon SNS topic, Amazon SQS queue, or Amazon S3 bucket // as the destination. Destination *string `type:"string"` // contains filtered or unexported fields }
A destination for events that failed processing.
func (OnFailure) GoString ¶ added in v1.25.42
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OnFailure) SetDestination ¶ added in v1.25.42
SetDestination sets the Destination field's value.
type OnSuccess ¶ added in v1.25.42
type OnSuccess struct { // The Amazon Resource Name (ARN) of the destination resource. Destination *string `type:"string"` // contains filtered or unexported fields }
A destination for events that were processed successfully.
func (OnSuccess) GoString ¶ added in v1.25.42
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*OnSuccess) SetDestination ¶ added in v1.25.42
SetDestination sets the Destination field's value.
type PolicyLengthExceededException ¶ added in v1.28.0
type PolicyLengthExceededException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The permissions policy for the resource is too large. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
func (*PolicyLengthExceededException) Code ¶ added in v1.28.0
func (s *PolicyLengthExceededException) Code() string
Code returns the exception type name.
func (*PolicyLengthExceededException) Error ¶ added in v1.28.0
func (s *PolicyLengthExceededException) Error() string
func (PolicyLengthExceededException) GoString ¶ added in v1.28.0
func (s PolicyLengthExceededException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PolicyLengthExceededException) Message ¶ added in v1.28.0
func (s *PolicyLengthExceededException) Message() string
Message returns the exception's message.
func (*PolicyLengthExceededException) OrigErr ¶ added in v1.28.0
func (s *PolicyLengthExceededException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PolicyLengthExceededException) RequestID ¶ added in v1.28.0
func (s *PolicyLengthExceededException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PolicyLengthExceededException) StatusCode ¶ added in v1.28.0
func (s *PolicyLengthExceededException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PolicyLengthExceededException) String ¶ added in v1.28.0
func (s PolicyLengthExceededException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PreconditionFailedException ¶ added in v1.28.0
type PreconditionFailedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"message" type:"string"` // The exception type. Type *string `type:"string"` // contains filtered or unexported fields }
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.
func (*PreconditionFailedException) Code ¶ added in v1.28.0
func (s *PreconditionFailedException) Code() string
Code returns the exception type name.
func (*PreconditionFailedException) Error ¶ added in v1.28.0
func (s *PreconditionFailedException) Error() string
func (PreconditionFailedException) GoString ¶ added in v1.28.0
func (s PreconditionFailedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PreconditionFailedException) Message ¶ added in v1.28.0
func (s *PreconditionFailedException) Message() string
Message returns the exception's message.
func (*PreconditionFailedException) OrigErr ¶ added in v1.28.0
func (s *PreconditionFailedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*PreconditionFailedException) RequestID ¶ added in v1.28.0
func (s *PreconditionFailedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*PreconditionFailedException) StatusCode ¶ added in v1.28.0
func (s *PreconditionFailedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (PreconditionFailedException) String ¶ added in v1.28.0
func (s PreconditionFailedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProvisionedConcurrencyConfigListItem ¶ added in v1.25.47
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 *int64 `type:"integer"` // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the alias or version. FunctionArn *string `type:"string"` // The date and time that a user last updated the configuration, in ISO 8601 // format (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string `type:"string"` // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int64 `min:"1" type:"integer"` // The status of the allocation process. Status *string `type:"string" enum:"ProvisionedConcurrencyStatusEnum"` // For failed allocations, the reason that provisioned concurrency could not // be allocated. StatusReason *string `type:"string"` // contains filtered or unexported fields }
Details about the provisioned concurrency configuration for a function alias or version.
func (ProvisionedConcurrencyConfigListItem) GoString ¶ added in v1.25.47
func (s ProvisionedConcurrencyConfigListItem) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProvisionedConcurrencyConfigListItem) SetAllocatedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetAllocatedProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
SetAllocatedProvisionedConcurrentExecutions sets the AllocatedProvisionedConcurrentExecutions field's value.
func (*ProvisionedConcurrencyConfigListItem) SetAvailableProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetAvailableProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
SetAvailableProvisionedConcurrentExecutions sets the AvailableProvisionedConcurrentExecutions field's value.
func (*ProvisionedConcurrencyConfigListItem) SetFunctionArn ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetFunctionArn(v string) *ProvisionedConcurrencyConfigListItem
SetFunctionArn sets the FunctionArn field's value.
func (*ProvisionedConcurrencyConfigListItem) SetLastModified ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetLastModified(v string) *ProvisionedConcurrencyConfigListItem
SetLastModified sets the LastModified field's value.
func (*ProvisionedConcurrencyConfigListItem) SetRequestedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetRequestedProvisionedConcurrentExecutions(v int64) *ProvisionedConcurrencyConfigListItem
SetRequestedProvisionedConcurrentExecutions sets the RequestedProvisionedConcurrentExecutions field's value.
func (*ProvisionedConcurrencyConfigListItem) SetStatus ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetStatus(v string) *ProvisionedConcurrencyConfigListItem
SetStatus sets the Status field's value.
func (*ProvisionedConcurrencyConfigListItem) SetStatusReason ¶ added in v1.25.47
func (s *ProvisionedConcurrencyConfigListItem) SetStatusReason(v string) *ProvisionedConcurrencyConfigListItem
SetStatusReason sets the StatusReason field's value.
func (ProvisionedConcurrencyConfigListItem) String ¶ added in v1.25.47
func (s ProvisionedConcurrencyConfigListItem) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ProvisionedConcurrencyConfigNotFoundException ¶ added in v1.28.0
type ProvisionedConcurrencyConfigNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The specified configuration does not exist.
func (*ProvisionedConcurrencyConfigNotFoundException) Code ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) Code() string
Code returns the exception type name.
func (*ProvisionedConcurrencyConfigNotFoundException) Error ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) Error() string
func (ProvisionedConcurrencyConfigNotFoundException) GoString ¶ added in v1.28.0
func (s ProvisionedConcurrencyConfigNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ProvisionedConcurrencyConfigNotFoundException) Message ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) Message() string
Message returns the exception's message.
func (*ProvisionedConcurrencyConfigNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ProvisionedConcurrencyConfigNotFoundException) RequestID ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ProvisionedConcurrencyConfigNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ProvisionedConcurrencyConfigNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ProvisionedConcurrencyConfigNotFoundException) String ¶ added in v1.28.0
func (s ProvisionedConcurrencyConfigNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PublishLayerVersionInput ¶ added in v1.15.87
type PublishLayerVersionInput struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // A list of compatible function runtimes (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Used for filtering with ListLayers and ListLayerVersions. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // The function layer archive. // // Content is a required field Content *LayerVersionContentInput `type:"structure" required:"true"` // The description of the version. Description *string `type:"string"` // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // The layer's software license. It can be any of the following: // // * An SPDX license identifier (https://spdx.org/licenses/). For example, // MIT. // // * The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT. // // * The full text of the license. LicenseInfo *string `type:"string"` // contains filtered or unexported fields }
func (PublishLayerVersionInput) GoString ¶ added in v1.15.87
func (s PublishLayerVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublishLayerVersionInput) SetCompatibleArchitectures ¶ added in v1.40.52
func (s *PublishLayerVersionInput) SetCompatibleArchitectures(v []*string) *PublishLayerVersionInput
SetCompatibleArchitectures sets the CompatibleArchitectures field's value.
func (*PublishLayerVersionInput) SetCompatibleRuntimes ¶ added in v1.15.87
func (s *PublishLayerVersionInput) SetCompatibleRuntimes(v []*string) *PublishLayerVersionInput
SetCompatibleRuntimes sets the CompatibleRuntimes field's value.
func (*PublishLayerVersionInput) SetContent ¶ added in v1.15.87
func (s *PublishLayerVersionInput) SetContent(v *LayerVersionContentInput) *PublishLayerVersionInput
SetContent sets the Content field's value.
func (*PublishLayerVersionInput) SetDescription ¶ added in v1.15.87
func (s *PublishLayerVersionInput) SetDescription(v string) *PublishLayerVersionInput
SetDescription sets the Description field's value.
func (*PublishLayerVersionInput) SetLayerName ¶ added in v1.15.87
func (s *PublishLayerVersionInput) SetLayerName(v string) *PublishLayerVersionInput
SetLayerName sets the LayerName field's value.
func (*PublishLayerVersionInput) SetLicenseInfo ¶ added in v1.15.87
func (s *PublishLayerVersionInput) SetLicenseInfo(v string) *PublishLayerVersionInput
SetLicenseInfo sets the LicenseInfo field's value.
func (PublishLayerVersionInput) String ¶ added in v1.15.87
func (s PublishLayerVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublishLayerVersionInput) Validate ¶ added in v1.15.87
func (s *PublishLayerVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PublishLayerVersionOutput ¶ added in v1.15.87
type PublishLayerVersionOutput struct { // A list of compatible instruction set architectures (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []*string `type:"list" enum:"Architecture"` // The layer's compatible runtimes. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). CompatibleRuntimes []*string `type:"list" enum:"Runtime"` // Details about the layer version. Content *LayerVersionContentOutput `type:"structure"` // The date that the layer version was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). CreatedDate *string `type:"string"` // The description of the version. Description *string `type:"string"` // The ARN of the layer. LayerArn *string `min:"1" type:"string"` // The ARN of the layer version. LayerVersionArn *string `min:"1" type:"string"` // The layer's software license. LicenseInfo *string `type:"string"` // The version number. Version *int64 `type:"long"` // contains filtered or unexported fields }
func (PublishLayerVersionOutput) GoString ¶ added in v1.15.87
func (s PublishLayerVersionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublishLayerVersionOutput) SetCompatibleArchitectures ¶ added in v1.40.52
func (s *PublishLayerVersionOutput) SetCompatibleArchitectures(v []*string) *PublishLayerVersionOutput
SetCompatibleArchitectures sets the CompatibleArchitectures field's value.
func (*PublishLayerVersionOutput) SetCompatibleRuntimes ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetCompatibleRuntimes(v []*string) *PublishLayerVersionOutput
SetCompatibleRuntimes sets the CompatibleRuntimes field's value.
func (*PublishLayerVersionOutput) SetContent ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetContent(v *LayerVersionContentOutput) *PublishLayerVersionOutput
SetContent sets the Content field's value.
func (*PublishLayerVersionOutput) SetCreatedDate ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetCreatedDate(v string) *PublishLayerVersionOutput
SetCreatedDate sets the CreatedDate field's value.
func (*PublishLayerVersionOutput) SetDescription ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetDescription(v string) *PublishLayerVersionOutput
SetDescription sets the Description field's value.
func (*PublishLayerVersionOutput) SetLayerArn ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetLayerArn(v string) *PublishLayerVersionOutput
SetLayerArn sets the LayerArn field's value.
func (*PublishLayerVersionOutput) SetLayerVersionArn ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetLayerVersionArn(v string) *PublishLayerVersionOutput
SetLayerVersionArn sets the LayerVersionArn field's value.
func (*PublishLayerVersionOutput) SetLicenseInfo ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetLicenseInfo(v string) *PublishLayerVersionOutput
SetLicenseInfo sets the LicenseInfo field's value.
func (*PublishLayerVersionOutput) SetVersion ¶ added in v1.15.87
func (s *PublishLayerVersionOutput) SetVersion(v int64) *PublishLayerVersionOutput
SetVersion sets the Version field's value.
func (PublishLayerVersionOutput) String ¶ added in v1.15.87
func (s PublishLayerVersionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PublishVersionInput ¶ added in v0.9.14
type PublishVersionInput struct { // Only publish a version if the hash value matches the value that's specified. // Use this option to avoid publishing a version if the function code has changed // since you last updated it. You can get the hash for the version that you // uploaded from the output of UpdateFunctionCode. CodeSha256 *string `type:"string"` // A description for the version to override the description in the function // configuration. Description *string `type:"string"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Only update the function if the revision ID matches the ID that's specified. // Use this option to avoid publishing a version if the function configuration // has changed since you last updated it. RevisionId *string `type:"string"` // contains filtered or unexported fields }
func (PublishVersionInput) GoString ¶ added in v0.9.14
func (s PublishVersionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublishVersionInput) SetCodeSha256 ¶ added in v1.5.0
func (s *PublishVersionInput) SetCodeSha256(v string) *PublishVersionInput
SetCodeSha256 sets the CodeSha256 field's value.
func (*PublishVersionInput) SetDescription ¶ added in v1.5.0
func (s *PublishVersionInput) SetDescription(v string) *PublishVersionInput
SetDescription sets the Description field's value.
func (*PublishVersionInput) SetFunctionName ¶ added in v1.5.0
func (s *PublishVersionInput) SetFunctionName(v string) *PublishVersionInput
SetFunctionName sets the FunctionName field's value.
func (*PublishVersionInput) SetRevisionId ¶ added in v1.12.69
func (s *PublishVersionInput) SetRevisionId(v string) *PublishVersionInput
SetRevisionId sets the RevisionId field's value.
func (PublishVersionInput) String ¶ added in v0.9.14
func (s PublishVersionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PublishVersionInput) Validate ¶ added in v1.1.21
func (s *PublishVersionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFunctionCodeSigningConfigInput ¶ added in v1.35.34
type PutFunctionCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `type:"string" required:"true"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutFunctionCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s PutFunctionCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionCodeSigningConfigInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *PutFunctionCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *PutFunctionCodeSigningConfigInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*PutFunctionCodeSigningConfigInput) SetFunctionName ¶ added in v1.35.34
func (s *PutFunctionCodeSigningConfigInput) SetFunctionName(v string) *PutFunctionCodeSigningConfigInput
SetFunctionName sets the FunctionName field's value.
func (PutFunctionCodeSigningConfigInput) String ¶ added in v1.35.34
func (s PutFunctionCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *PutFunctionCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFunctionCodeSigningConfigOutput ¶ added in v1.35.34
type PutFunctionCodeSigningConfigOutput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `type:"string" required:"true"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutFunctionCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s PutFunctionCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *PutFunctionCodeSigningConfigOutput) SetCodeSigningConfigArn(v string) *PutFunctionCodeSigningConfigOutput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*PutFunctionCodeSigningConfigOutput) SetFunctionName ¶ added in v1.35.34
func (s *PutFunctionCodeSigningConfigOutput) SetFunctionName(v string) *PutFunctionCodeSigningConfigOutput
SetFunctionName sets the FunctionName field's value.
func (PutFunctionCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s PutFunctionCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutFunctionConcurrencyInput ¶ added in v1.12.38
type PutFunctionConcurrencyInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The number of simultaneous executions to reserve for the function. // // ReservedConcurrentExecutions is a required field ReservedConcurrentExecutions *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
func (PutFunctionConcurrencyInput) GoString ¶ added in v1.12.38
func (s PutFunctionConcurrencyInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionConcurrencyInput) SetFunctionName ¶ added in v1.12.38
func (s *PutFunctionConcurrencyInput) SetFunctionName(v string) *PutFunctionConcurrencyInput
SetFunctionName sets the FunctionName field's value.
func (*PutFunctionConcurrencyInput) SetReservedConcurrentExecutions ¶ added in v1.12.38
func (s *PutFunctionConcurrencyInput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyInput
SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value.
func (PutFunctionConcurrencyInput) String ¶ added in v1.12.38
func (s PutFunctionConcurrencyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionConcurrencyInput) Validate ¶ added in v1.12.38
func (s *PutFunctionConcurrencyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFunctionConcurrencyOutput ¶ added in v1.12.38
type PutFunctionConcurrencyOutput struct { // The number of concurrent executions that are reserved for this function. // For more information, see Managing Lambda reserved concurrency (https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). ReservedConcurrentExecutions *int64 `type:"integer"` // contains filtered or unexported fields }
func (PutFunctionConcurrencyOutput) GoString ¶ added in v1.12.38
func (s PutFunctionConcurrencyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionConcurrencyOutput) SetReservedConcurrentExecutions ¶ added in v1.12.38
func (s *PutFunctionConcurrencyOutput) SetReservedConcurrentExecutions(v int64) *PutFunctionConcurrencyOutput
SetReservedConcurrentExecutions sets the ReservedConcurrentExecutions field's value.
func (PutFunctionConcurrencyOutput) String ¶ added in v1.12.38
func (s PutFunctionConcurrencyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutFunctionEventInvokeConfigInput ¶ added in v1.25.42
type PutFunctionEventInvokeConfigInput 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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // A version number or alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (PutFunctionEventInvokeConfigInput) GoString ¶ added in v1.25.42
func (s PutFunctionEventInvokeConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionEventInvokeConfigInput) SetDestinationConfig ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) SetDestinationConfig(v *DestinationConfig) *PutFunctionEventInvokeConfigInput
SetDestinationConfig sets the DestinationConfig field's value.
func (*PutFunctionEventInvokeConfigInput) SetFunctionName ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) SetFunctionName(v string) *PutFunctionEventInvokeConfigInput
SetFunctionName sets the FunctionName field's value.
func (*PutFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds(v int64) *PutFunctionEventInvokeConfigInput
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*PutFunctionEventInvokeConfigInput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) SetMaximumRetryAttempts(v int64) *PutFunctionEventInvokeConfigInput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (*PutFunctionEventInvokeConfigInput) SetQualifier ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) SetQualifier(v string) *PutFunctionEventInvokeConfigInput
SetQualifier sets the Qualifier field's value.
func (PutFunctionEventInvokeConfigInput) String ¶ added in v1.25.42
func (s PutFunctionEventInvokeConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionEventInvokeConfigInput) Validate ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutFunctionEventInvokeConfigOutput ¶ added in v1.25.42
type PutFunctionEventInvokeConfigOutput 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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The Amazon Resource Name (ARN) of the function. FunctionArn *string `type:"string"` // The date and time that the configuration was last updated. LastModified *time.Time `type:"timestamp"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // contains filtered or unexported fields }
func (PutFunctionEventInvokeConfigOutput) GoString ¶ added in v1.25.42
func (s PutFunctionEventInvokeConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutFunctionEventInvokeConfigOutput) SetDestinationConfig ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *PutFunctionEventInvokeConfigOutput
SetDestinationConfig sets the DestinationConfig field's value.
func (*PutFunctionEventInvokeConfigOutput) SetFunctionArn ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *PutFunctionEventInvokeConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*PutFunctionEventInvokeConfigOutput) SetLastModified ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *PutFunctionEventInvokeConfigOutput
SetLastModified sets the LastModified field's value.
func (*PutFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *PutFunctionEventInvokeConfigOutput
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*PutFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *PutFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *PutFunctionEventInvokeConfigOutput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (PutFunctionEventInvokeConfigOutput) String ¶ added in v1.25.42
func (s PutFunctionEventInvokeConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutProvisionedConcurrencyConfigInput ¶ added in v1.25.47
type PutProvisionedConcurrencyConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The amount of provisioned concurrency to allocate for the version or alias. // // ProvisionedConcurrentExecutions is a required field ProvisionedConcurrentExecutions *int64 `min:"1" type:"integer" required:"true"` // The version number or alias name. // // Qualifier is a required field Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (PutProvisionedConcurrencyConfigInput) GoString ¶ added in v1.25.47
func (s PutProvisionedConcurrencyConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutProvisionedConcurrencyConfigInput) SetFunctionName ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigInput) SetFunctionName(v string) *PutProvisionedConcurrencyConfigInput
SetFunctionName sets the FunctionName field's value.
func (*PutProvisionedConcurrencyConfigInput) SetProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigInput) SetProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigInput
SetProvisionedConcurrentExecutions sets the ProvisionedConcurrentExecutions field's value.
func (*PutProvisionedConcurrencyConfigInput) SetQualifier ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigInput) SetQualifier(v string) *PutProvisionedConcurrencyConfigInput
SetQualifier sets the Qualifier field's value.
func (PutProvisionedConcurrencyConfigInput) String ¶ added in v1.25.47
func (s PutProvisionedConcurrencyConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutProvisionedConcurrencyConfigInput) Validate ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutProvisionedConcurrencyConfigOutput ¶ added in v1.25.47
type PutProvisionedConcurrencyConfigOutput 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 *int64 `type:"integer"` // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int64 `type:"integer"` // The date and time that a user last updated the configuration, in ISO 8601 // format (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string `type:"string"` // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int64 `min:"1" type:"integer"` // The status of the allocation process. Status *string `type:"string" enum:"ProvisionedConcurrencyStatusEnum"` // For failed allocations, the reason that provisioned concurrency could not // be allocated. StatusReason *string `type:"string"` // contains filtered or unexported fields }
func (PutProvisionedConcurrencyConfigOutput) GoString ¶ added in v1.25.47
func (s PutProvisionedConcurrencyConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetAllocatedProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
SetAllocatedProvisionedConcurrentExecutions sets the AllocatedProvisionedConcurrentExecutions field's value.
func (*PutProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetAvailableProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
SetAvailableProvisionedConcurrentExecutions sets the AvailableProvisionedConcurrentExecutions field's value.
func (*PutProvisionedConcurrencyConfigOutput) SetLastModified ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetLastModified(v string) *PutProvisionedConcurrencyConfigOutput
SetLastModified sets the LastModified field's value.
func (*PutProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetRequestedProvisionedConcurrentExecutions(v int64) *PutProvisionedConcurrencyConfigOutput
SetRequestedProvisionedConcurrentExecutions sets the RequestedProvisionedConcurrentExecutions field's value.
func (*PutProvisionedConcurrencyConfigOutput) SetStatus ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetStatus(v string) *PutProvisionedConcurrencyConfigOutput
SetStatus sets the Status field's value.
func (*PutProvisionedConcurrencyConfigOutput) SetStatusReason ¶ added in v1.25.47
func (s *PutProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *PutProvisionedConcurrencyConfigOutput
SetStatusReason sets the StatusReason field's value.
func (PutProvisionedConcurrencyConfigOutput) String ¶ added in v1.25.47
func (s PutProvisionedConcurrencyConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type PutRuntimeManagementConfigInput ¶ added in v1.44.185
type PutRuntimeManagementConfigInput struct { // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version of the function. This can be $LATEST or a published version // number. If no value is specified, the configuration for the $LATEST version // is returned. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // The ARN of the runtime version you want the function to use. // // This is only required if you're using the Manual runtime update mode. RuntimeVersionArn *string `min:"26" type:"string"` // Specify the runtime update mode. // // * Auto (default) - Automatically update to the most recent and secure // runtime version using a Two-phase runtime version rollout (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). // This is the best choice for most customers to ensure they always benefit // from runtime updates. // // * Function update - Lambda updates the runtime of your function to the // most recent and secure runtime version when you update your function. // This approach synchronizes runtime updates with function deployments, // giving you control over when runtime updates are applied and allowing // you to detect and mitigate rare runtime update incompatibilities early. // When using this setting, you need to regularly update your functions to // keep their runtime up-to-date. // // * Manual - You specify a runtime version in your function configuration. // The function will use this runtime version indefinitely. In the rare case // where a new runtime version is incompatible with an existing function, // this allows you to roll back your function to an earlier runtime version. // For more information, see Roll back a runtime version (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback). // // UpdateRuntimeOn is a required field UpdateRuntimeOn *string `type:"string" required:"true" enum:"UpdateRuntimeOn"` // contains filtered or unexported fields }
func (PutRuntimeManagementConfigInput) GoString ¶ added in v1.44.185
func (s PutRuntimeManagementConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuntimeManagementConfigInput) SetFunctionName ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigInput) SetFunctionName(v string) *PutRuntimeManagementConfigInput
SetFunctionName sets the FunctionName field's value.
func (*PutRuntimeManagementConfigInput) SetQualifier ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigInput) SetQualifier(v string) *PutRuntimeManagementConfigInput
SetQualifier sets the Qualifier field's value.
func (*PutRuntimeManagementConfigInput) SetRuntimeVersionArn ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigInput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigInput
SetRuntimeVersionArn sets the RuntimeVersionArn field's value.
func (*PutRuntimeManagementConfigInput) SetUpdateRuntimeOn ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigInput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigInput
SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value.
func (PutRuntimeManagementConfigInput) String ¶ added in v1.44.185
func (s PutRuntimeManagementConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuntimeManagementConfigInput) Validate ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type PutRuntimeManagementConfigOutput ¶ added in v1.44.185
type PutRuntimeManagementConfigOutput struct { // The ARN of the function // // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The ARN of the runtime the function is configured to use. If the runtime // update mode is manual, the ARN is returned, otherwise null is returned. RuntimeVersionArn *string `min:"26" type:"string"` // The runtime update mode. // // UpdateRuntimeOn is a required field UpdateRuntimeOn *string `type:"string" required:"true" enum:"UpdateRuntimeOn"` // contains filtered or unexported fields }
func (PutRuntimeManagementConfigOutput) GoString ¶ added in v1.44.185
func (s PutRuntimeManagementConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*PutRuntimeManagementConfigOutput) SetFunctionArn ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigOutput) SetFunctionArn(v string) *PutRuntimeManagementConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*PutRuntimeManagementConfigOutput) SetRuntimeVersionArn ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigOutput
SetRuntimeVersionArn sets the RuntimeVersionArn field's value.
func (*PutRuntimeManagementConfigOutput) SetUpdateRuntimeOn ¶ added in v1.44.185
func (s *PutRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigOutput
SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value.
func (PutRuntimeManagementConfigOutput) String ¶ added in v1.44.185
func (s PutRuntimeManagementConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RecursiveInvocationException ¶ added in v1.44.286
type RecursiveInvocationException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"Message" type:"string"` // The exception type. Type *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) Code ¶ added in v1.44.286
func (s *RecursiveInvocationException) Code() string
Code returns the exception type name.
func (*RecursiveInvocationException) Error ¶ added in v1.44.286
func (s *RecursiveInvocationException) Error() string
func (RecursiveInvocationException) GoString ¶ added in v1.44.286
func (s RecursiveInvocationException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RecursiveInvocationException) Message ¶ added in v1.44.286
func (s *RecursiveInvocationException) Message() string
Message returns the exception's message.
func (*RecursiveInvocationException) OrigErr ¶ added in v1.44.286
func (s *RecursiveInvocationException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RecursiveInvocationException) RequestID ¶ added in v1.44.286
func (s *RecursiveInvocationException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RecursiveInvocationException) StatusCode ¶ added in v1.44.286
func (s *RecursiveInvocationException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RecursiveInvocationException) String ¶ added in v1.44.286
func (s RecursiveInvocationException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemoveLayerVersionPermissionInput ¶ added in v1.15.87
type RemoveLayerVersionPermissionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // LayerName is a required field LayerName *string `location:"uri" locationName:"LayerName" min:"1" type:"string" required:"true"` // Only update the policy if the revision ID matches the ID specified. Use this // option to avoid modifying a policy that has changed since you last read it. RevisionId *string `location:"querystring" locationName:"RevisionId" type:"string"` // The identifier that was specified when the statement was added. // // StatementId is a required field StatementId *string `location:"uri" locationName:"StatementId" min:"1" type:"string" required:"true"` // The version number. // // VersionNumber is a required field VersionNumber *int64 `location:"uri" locationName:"VersionNumber" type:"long" required:"true"` // contains filtered or unexported fields }
func (RemoveLayerVersionPermissionInput) GoString ¶ added in v1.15.87
func (s RemoveLayerVersionPermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveLayerVersionPermissionInput) SetLayerName ¶ added in v1.15.87
func (s *RemoveLayerVersionPermissionInput) SetLayerName(v string) *RemoveLayerVersionPermissionInput
SetLayerName sets the LayerName field's value.
func (*RemoveLayerVersionPermissionInput) SetRevisionId ¶ added in v1.15.87
func (s *RemoveLayerVersionPermissionInput) SetRevisionId(v string) *RemoveLayerVersionPermissionInput
SetRevisionId sets the RevisionId field's value.
func (*RemoveLayerVersionPermissionInput) SetStatementId ¶ added in v1.15.87
func (s *RemoveLayerVersionPermissionInput) SetStatementId(v string) *RemoveLayerVersionPermissionInput
SetStatementId sets the StatementId field's value.
func (*RemoveLayerVersionPermissionInput) SetVersionNumber ¶ added in v1.15.87
func (s *RemoveLayerVersionPermissionInput) SetVersionNumber(v int64) *RemoveLayerVersionPermissionInput
SetVersionNumber sets the VersionNumber field's value.
func (RemoveLayerVersionPermissionInput) String ¶ added in v1.15.87
func (s RemoveLayerVersionPermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemoveLayerVersionPermissionInput) Validate ¶ added in v1.15.87
func (s *RemoveLayerVersionPermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveLayerVersionPermissionOutput ¶ added in v1.15.87
type RemoveLayerVersionPermissionOutput struct {
// contains filtered or unexported fields
}
func (RemoveLayerVersionPermissionOutput) GoString ¶ added in v1.15.87
func (s RemoveLayerVersionPermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RemoveLayerVersionPermissionOutput) String ¶ added in v1.15.87
func (s RemoveLayerVersionPermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RemovePermissionInput ¶
type RemovePermissionInput struct { // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name – my-function (name-only), my-function:v1 (with alias). // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // Specify a version or alias to remove permissions from a published version // of the function. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // Update the policy only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a policy that has changed since you last // read it. RevisionId *string `location:"querystring" locationName:"RevisionId" type:"string"` // Statement ID of the permission to remove. // // StatementId is a required field StatementId *string `location:"uri" locationName:"StatementId" min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (RemovePermissionInput) GoString ¶ added in v0.6.5
func (s RemovePermissionInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemovePermissionInput) SetFunctionName ¶ added in v1.5.0
func (s *RemovePermissionInput) SetFunctionName(v string) *RemovePermissionInput
SetFunctionName sets the FunctionName field's value.
func (*RemovePermissionInput) SetQualifier ¶ added in v1.5.0
func (s *RemovePermissionInput) SetQualifier(v string) *RemovePermissionInput
SetQualifier sets the Qualifier field's value.
func (*RemovePermissionInput) SetRevisionId ¶ added in v1.12.69
func (s *RemovePermissionInput) SetRevisionId(v string) *RemovePermissionInput
SetRevisionId sets the RevisionId field's value.
func (*RemovePermissionInput) SetStatementId ¶ added in v1.5.0
func (s *RemovePermissionInput) SetStatementId(v string) *RemovePermissionInput
SetStatementId sets the StatementId field's value.
func (RemovePermissionInput) String ¶ added in v0.6.5
func (s RemovePermissionInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RemovePermissionInput) Validate ¶ added in v1.1.21
func (s *RemovePermissionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemovePermissionOutput ¶
type RemovePermissionOutput struct {
// contains filtered or unexported fields
}
func (RemovePermissionOutput) GoString ¶ added in v0.6.5
func (s RemovePermissionOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (RemovePermissionOutput) String ¶ added in v0.6.5
func (s RemovePermissionOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RequestTooLargeException ¶ added in v1.28.0
type RequestTooLargeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` Type *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 (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
func (*RequestTooLargeException) Code ¶ added in v1.28.0
func (s *RequestTooLargeException) Code() string
Code returns the exception type name.
func (*RequestTooLargeException) Error ¶ added in v1.28.0
func (s *RequestTooLargeException) Error() string
func (RequestTooLargeException) GoString ¶ added in v1.28.0
func (s RequestTooLargeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RequestTooLargeException) Message ¶ added in v1.28.0
func (s *RequestTooLargeException) Message() string
Message returns the exception's message.
func (*RequestTooLargeException) OrigErr ¶ added in v1.28.0
func (s *RequestTooLargeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*RequestTooLargeException) RequestID ¶ added in v1.28.0
func (s *RequestTooLargeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*RequestTooLargeException) StatusCode ¶ added in v1.28.0
func (s *RequestTooLargeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (RequestTooLargeException) String ¶ added in v1.28.0
func (s RequestTooLargeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceConflictException ¶ added in v1.28.0
type ResourceConflictException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"message" type:"string"` // The exception type. Type *string `type:"string"` // contains filtered or unexported fields }
The resource already exists, or another operation is in progress.
func (*ResourceConflictException) Code ¶ added in v1.28.0
func (s *ResourceConflictException) Code() string
Code returns the exception type name.
func (*ResourceConflictException) Error ¶ added in v1.28.0
func (s *ResourceConflictException) Error() string
func (ResourceConflictException) GoString ¶ added in v1.28.0
func (s ResourceConflictException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceConflictException) Message ¶ added in v1.28.0
func (s *ResourceConflictException) Message() string
Message returns the exception's message.
func (*ResourceConflictException) OrigErr ¶ added in v1.28.0
func (s *ResourceConflictException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceConflictException) RequestID ¶ added in v1.28.0
func (s *ResourceConflictException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceConflictException) StatusCode ¶ added in v1.28.0
func (s *ResourceConflictException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceConflictException) String ¶ added in v1.28.0
func (s ResourceConflictException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceInUseException ¶ added in v1.28.0
type ResourceInUseException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *ResourceInUseException) Code() string
Code returns the exception type name.
func (*ResourceInUseException) Error ¶ added in v1.28.0
func (s *ResourceInUseException) Error() string
func (ResourceInUseException) GoString ¶ added in v1.28.0
func (s ResourceInUseException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceInUseException) Message ¶ added in v1.28.0
func (s *ResourceInUseException) Message() string
Message returns the exception's message.
func (*ResourceInUseException) OrigErr ¶ added in v1.28.0
func (s *ResourceInUseException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceInUseException) RequestID ¶ added in v1.28.0
func (s *ResourceInUseException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceInUseException) StatusCode ¶ added in v1.28.0
func (s *ResourceInUseException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceInUseException) String ¶ added in v1.28.0
func (s ResourceInUseException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotFoundException ¶ added in v1.28.0
type ResourceNotFoundException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The resource specified in the request does not exist.
func (*ResourceNotFoundException) Code ¶ added in v1.28.0
func (s *ResourceNotFoundException) Code() string
Code returns the exception type name.
func (*ResourceNotFoundException) Error ¶ added in v1.28.0
func (s *ResourceNotFoundException) Error() string
func (ResourceNotFoundException) GoString ¶ added in v1.28.0
func (s ResourceNotFoundException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotFoundException) Message ¶ added in v1.28.0
func (s *ResourceNotFoundException) Message() string
Message returns the exception's message.
func (*ResourceNotFoundException) OrigErr ¶ added in v1.28.0
func (s *ResourceNotFoundException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotFoundException) RequestID ¶ added in v1.28.0
func (s *ResourceNotFoundException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotFoundException) StatusCode ¶ added in v1.28.0
func (s *ResourceNotFoundException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotFoundException) String ¶ added in v1.28.0
func (s ResourceNotFoundException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ResourceNotReadyException ¶ added in v1.28.0
type ResourceNotReadyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // The exception message. Message_ *string `locationName:"message" type:"string"` // The exception type. Type *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) Code ¶ added in v1.28.0
func (s *ResourceNotReadyException) Code() string
Code returns the exception type name.
func (*ResourceNotReadyException) Error ¶ added in v1.28.0
func (s *ResourceNotReadyException) Error() string
func (ResourceNotReadyException) GoString ¶ added in v1.28.0
func (s ResourceNotReadyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ResourceNotReadyException) Message ¶ added in v1.28.0
func (s *ResourceNotReadyException) Message() string
Message returns the exception's message.
func (*ResourceNotReadyException) OrigErr ¶ added in v1.28.0
func (s *ResourceNotReadyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ResourceNotReadyException) RequestID ¶ added in v1.28.0
func (s *ResourceNotReadyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ResourceNotReadyException) StatusCode ¶ added in v1.28.0
func (s *ResourceNotReadyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ResourceNotReadyException) String ¶ added in v1.28.0
func (s ResourceNotReadyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuntimeVersionConfig ¶ added in v1.44.185
type RuntimeVersionConfig struct { // Error response when Lambda is unable to retrieve the runtime version for // a function. Error *RuntimeVersionError `type:"structure"` // The ARN of the runtime version you want the function to use. RuntimeVersionArn *string `min:"26" type:"string"` // contains filtered or unexported fields }
The ARN of the runtime and any errors that occured.
func (RuntimeVersionConfig) GoString ¶ added in v1.44.185
func (s RuntimeVersionConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuntimeVersionConfig) SetError ¶ added in v1.44.185
func (s *RuntimeVersionConfig) SetError(v *RuntimeVersionError) *RuntimeVersionConfig
SetError sets the Error field's value.
func (*RuntimeVersionConfig) SetRuntimeVersionArn ¶ added in v1.44.185
func (s *RuntimeVersionConfig) SetRuntimeVersionArn(v string) *RuntimeVersionConfig
SetRuntimeVersionArn sets the RuntimeVersionArn field's value.
func (RuntimeVersionConfig) String ¶ added in v1.44.185
func (s RuntimeVersionConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type RuntimeVersionError ¶ added in v1.44.185
type RuntimeVersionError struct { // The error code. ErrorCode *string `type:"string"` // The error message. // // Message is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RuntimeVersionError's // String and GoString methods. Message *string `type:"string" sensitive:"true"` // contains filtered or unexported fields }
Any error returned when the runtime version information for the function could not be retrieved.
func (RuntimeVersionError) GoString ¶ added in v1.44.185
func (s RuntimeVersionError) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*RuntimeVersionError) SetErrorCode ¶ added in v1.44.185
func (s *RuntimeVersionError) SetErrorCode(v string) *RuntimeVersionError
SetErrorCode sets the ErrorCode field's value.
func (*RuntimeVersionError) SetMessage ¶ added in v1.44.185
func (s *RuntimeVersionError) SetMessage(v string) *RuntimeVersionError
SetMessage sets the Message field's value.
func (RuntimeVersionError) String ¶ added in v1.44.185
func (s RuntimeVersionError) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ScalingConfig ¶ added in v1.44.179
type ScalingConfig struct { // Limits the number of concurrent instances that the Amazon SQS event source // can invoke. MaximumConcurrency *int64 `min:"2" type:"integer"` // contains filtered or unexported fields }
(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.
func (ScalingConfig) GoString ¶ added in v1.44.179
func (s ScalingConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScalingConfig) SetMaximumConcurrency ¶ added in v1.44.179
func (s *ScalingConfig) SetMaximumConcurrency(v int64) *ScalingConfig
SetMaximumConcurrency sets the MaximumConcurrency field's value.
func (ScalingConfig) String ¶ added in v1.44.179
func (s ScalingConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ScalingConfig) Validate ¶ added in v1.44.179
func (s *ScalingConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SelfManagedEventSource ¶ added in v1.36.9
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 `min:"1" type:"map"` // contains filtered or unexported fields }
The self-managed Apache Kafka cluster for your event source.
func (SelfManagedEventSource) GoString ¶ added in v1.36.9
func (s SelfManagedEventSource) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SelfManagedEventSource) SetEndpoints ¶ added in v1.36.9
func (s *SelfManagedEventSource) SetEndpoints(v map[string][]*string) *SelfManagedEventSource
SetEndpoints sets the Endpoints field's value.
func (SelfManagedEventSource) String ¶ added in v1.36.9
func (s SelfManagedEventSource) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SelfManagedEventSource) Validate ¶ added in v1.36.9
func (s *SelfManagedEventSource) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SelfManagedKafkaEventSourceConfig ¶ added in v1.44.79
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 (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-consumer-group-id). ConsumerGroupId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Specific configuration settings for a self-managed Apache Kafka event source.
func (SelfManagedKafkaEventSourceConfig) GoString ¶ added in v1.44.79
func (s SelfManagedKafkaEventSourceConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SelfManagedKafkaEventSourceConfig) SetConsumerGroupId ¶ added in v1.44.79
func (s *SelfManagedKafkaEventSourceConfig) SetConsumerGroupId(v string) *SelfManagedKafkaEventSourceConfig
SetConsumerGroupId sets the ConsumerGroupId field's value.
func (SelfManagedKafkaEventSourceConfig) String ¶ added in v1.44.79
func (s SelfManagedKafkaEventSourceConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SelfManagedKafkaEventSourceConfig) Validate ¶ added in v1.44.79
func (s *SelfManagedKafkaEventSourceConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ServiceException ¶ added in v1.28.0
type ServiceException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The Lambda service encountered an internal error.
func (*ServiceException) Code ¶ added in v1.28.0
func (s *ServiceException) Code() string
Code returns the exception type name.
func (*ServiceException) Error ¶ added in v1.28.0
func (s *ServiceException) Error() string
func (ServiceException) GoString ¶ added in v1.28.0
func (s ServiceException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*ServiceException) Message ¶ added in v1.28.0
func (s *ServiceException) Message() string
Message returns the exception's message.
func (*ServiceException) OrigErr ¶ added in v1.28.0
func (s *ServiceException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*ServiceException) RequestID ¶ added in v1.28.0
func (s *ServiceException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*ServiceException) StatusCode ¶ added in v1.28.0
func (s *ServiceException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (ServiceException) String ¶ added in v1.28.0
func (s ServiceException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SnapStart ¶ added in v1.44.147
type SnapStart struct { // Set to PublishedVersions to create a snapshot of the initialized execution // environment when you publish a function version. ApplyOn *string `type:"string" enum:"SnapStartApplyOn"` // contains filtered or unexported fields }
The function's Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting. Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.
func (SnapStart) GoString ¶ added in v1.44.147
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SnapStart) SetApplyOn ¶ added in v1.44.147
SetApplyOn sets the ApplyOn field's value.
type SnapStartException ¶ added in v1.44.147
type SnapStartException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) encountered an error. For more information, check the Amazon CloudWatch logs.
func (*SnapStartException) Code ¶ added in v1.44.147
func (s *SnapStartException) Code() string
Code returns the exception type name.
func (*SnapStartException) Error ¶ added in v1.44.147
func (s *SnapStartException) Error() string
func (SnapStartException) GoString ¶ added in v1.44.147
func (s SnapStartException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SnapStartException) Message ¶ added in v1.44.147
func (s *SnapStartException) Message() string
Message returns the exception's message.
func (*SnapStartException) OrigErr ¶ added in v1.44.147
func (s *SnapStartException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*SnapStartException) RequestID ¶ added in v1.44.147
func (s *SnapStartException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*SnapStartException) StatusCode ¶ added in v1.44.147
func (s *SnapStartException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (SnapStartException) String ¶ added in v1.44.147
func (s SnapStartException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SnapStartNotReadyException ¶ added in v1.44.147
type SnapStartNotReadyException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Lambda is initializing your function. You can invoke the function when the function state (https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html) becomes Active.
func (*SnapStartNotReadyException) Code ¶ added in v1.44.147
func (s *SnapStartNotReadyException) Code() string
Code returns the exception type name.
func (*SnapStartNotReadyException) Error ¶ added in v1.44.147
func (s *SnapStartNotReadyException) Error() string
func (SnapStartNotReadyException) GoString ¶ added in v1.44.147
func (s SnapStartNotReadyException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SnapStartNotReadyException) Message ¶ added in v1.44.147
func (s *SnapStartNotReadyException) Message() string
Message returns the exception's message.
func (*SnapStartNotReadyException) OrigErr ¶ added in v1.44.147
func (s *SnapStartNotReadyException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*SnapStartNotReadyException) RequestID ¶ added in v1.44.147
func (s *SnapStartNotReadyException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*SnapStartNotReadyException) StatusCode ¶ added in v1.44.147
func (s *SnapStartNotReadyException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (SnapStartNotReadyException) String ¶ added in v1.44.147
func (s SnapStartNotReadyException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SnapStartResponse ¶ added in v1.44.147
type SnapStartResponse struct { // When set to PublishedVersions, Lambda creates a snapshot of the execution // environment when you publish a function version. ApplyOn *string `type:"string" enum:"SnapStartApplyOn"` // When you provide a qualified Amazon Resource Name (ARN) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using), // this response element indicates whether SnapStart is activated for the specified // function version. OptimizationStatus *string `type:"string" enum:"SnapStartOptimizationStatus"` // contains filtered or unexported fields }
The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) setting.
func (SnapStartResponse) GoString ¶ added in v1.44.147
func (s SnapStartResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SnapStartResponse) SetApplyOn ¶ added in v1.44.147
func (s *SnapStartResponse) SetApplyOn(v string) *SnapStartResponse
SetApplyOn sets the ApplyOn field's value.
func (*SnapStartResponse) SetOptimizationStatus ¶ added in v1.44.147
func (s *SnapStartResponse) SetOptimizationStatus(v string) *SnapStartResponse
SetOptimizationStatus sets the OptimizationStatus field's value.
func (SnapStartResponse) String ¶ added in v1.44.147
func (s SnapStartResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SnapStartTimeoutException ¶ added in v1.44.147
type SnapStartTimeoutException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
Lambda couldn't restore the snapshot within the timeout limit.
func (*SnapStartTimeoutException) Code ¶ added in v1.44.147
func (s *SnapStartTimeoutException) Code() string
Code returns the exception type name.
func (*SnapStartTimeoutException) Error ¶ added in v1.44.147
func (s *SnapStartTimeoutException) Error() string
func (SnapStartTimeoutException) GoString ¶ added in v1.44.147
func (s SnapStartTimeoutException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SnapStartTimeoutException) Message ¶ added in v1.44.147
func (s *SnapStartTimeoutException) Message() string
Message returns the exception's message.
func (*SnapStartTimeoutException) OrigErr ¶ added in v1.44.147
func (s *SnapStartTimeoutException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*SnapStartTimeoutException) RequestID ¶ added in v1.44.147
func (s *SnapStartTimeoutException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*SnapStartTimeoutException) StatusCode ¶ added in v1.44.147
func (s *SnapStartTimeoutException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (SnapStartTimeoutException) String ¶ added in v1.44.147
func (s SnapStartTimeoutException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SourceAccessConfiguration ¶ added in v1.35.22
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 *string `type:"string" enum:"SourceAccessType"` // The value for your chosen configuration in Type. For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName". URI *string `min:"1" type:"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.
func (SourceAccessConfiguration) GoString ¶ added in v1.35.22
func (s SourceAccessConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SourceAccessConfiguration) SetType ¶ added in v1.35.22
func (s *SourceAccessConfiguration) SetType(v string) *SourceAccessConfiguration
SetType sets the Type field's value.
func (*SourceAccessConfiguration) SetURI ¶ added in v1.35.22
func (s *SourceAccessConfiguration) SetURI(v string) *SourceAccessConfiguration
SetURI sets the URI field's value.
func (SourceAccessConfiguration) String ¶ added in v1.35.22
func (s SourceAccessConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SourceAccessConfiguration) Validate ¶ added in v1.36.9
func (s *SourceAccessConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SubnetIPAddressLimitReachedException ¶ added in v1.28.0
type SubnetIPAddressLimitReachedException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"Message" type:"string"` Type *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) Code ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) Code() string
Code returns the exception type name.
func (*SubnetIPAddressLimitReachedException) Error ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) Error() string
func (SubnetIPAddressLimitReachedException) GoString ¶ added in v1.28.0
func (s SubnetIPAddressLimitReachedException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*SubnetIPAddressLimitReachedException) Message ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) Message() string
Message returns the exception's message.
func (*SubnetIPAddressLimitReachedException) OrigErr ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*SubnetIPAddressLimitReachedException) RequestID ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*SubnetIPAddressLimitReachedException) StatusCode ¶ added in v1.28.0
func (s *SubnetIPAddressLimitReachedException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (SubnetIPAddressLimitReachedException) String ¶ added in v1.28.0
func (s SubnetIPAddressLimitReachedException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TagResourceInput ¶ added in v1.8.13
type TagResourceInput struct { // The function's Amazon Resource Name (ARN). // // Resource is a required field Resource *string `location:"uri" locationName:"ARN" type:"string" required:"true"` // A list of tags to apply to the function. // // Tags is a required field Tags map[string]*string `type:"map" required:"true"` // contains filtered or unexported fields }
func (TagResourceInput) GoString ¶ added in v1.8.13
func (s TagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) SetResource ¶ added in v1.8.13
func (s *TagResourceInput) SetResource(v string) *TagResourceInput
SetResource sets the Resource field's value.
func (*TagResourceInput) SetTags ¶ added in v1.8.13
func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput
SetTags sets the Tags field's value.
func (TagResourceInput) String ¶ added in v1.8.13
func (s TagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TagResourceInput) Validate ¶ added in v1.8.13
func (s *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput ¶ added in v1.8.13
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (TagResourceOutput) GoString ¶ added in v1.8.13
func (s TagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (TagResourceOutput) String ¶ added in v1.8.13
func (s TagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TooManyRequestsException ¶ added in v1.28.0
type TooManyRequestsException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` Reason *string `type:"string" enum:"ThrottleReason"` // The number of seconds the caller should wait before retrying. RetryAfterSeconds *string `location:"header" locationName:"Retry-After" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The request throughput limit was exceeded. For more information, see Lambda quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests).
func (*TooManyRequestsException) Code ¶ added in v1.28.0
func (s *TooManyRequestsException) Code() string
Code returns the exception type name.
func (*TooManyRequestsException) Error ¶ added in v1.28.0
func (s *TooManyRequestsException) Error() string
func (TooManyRequestsException) GoString ¶ added in v1.28.0
func (s TooManyRequestsException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TooManyRequestsException) Message ¶ added in v1.28.0
func (s *TooManyRequestsException) Message() string
Message returns the exception's message.
func (*TooManyRequestsException) OrigErr ¶ added in v1.28.0
func (s *TooManyRequestsException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*TooManyRequestsException) RequestID ¶ added in v1.28.0
func (s *TooManyRequestsException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*TooManyRequestsException) StatusCode ¶ added in v1.28.0
func (s *TooManyRequestsException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (TooManyRequestsException) String ¶ added in v1.28.0
func (s TooManyRequestsException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TracingConfig ¶ added in v1.8.14
type TracingConfig struct { // The tracing mode. Mode *string `type:"string" enum:"TracingMode"` // contains filtered or unexported fields }
The function's X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set Mode to Active.
func (TracingConfig) GoString ¶ added in v1.8.14
func (s TracingConfig) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TracingConfig) SetMode ¶ added in v1.8.14
func (s *TracingConfig) SetMode(v string) *TracingConfig
SetMode sets the Mode field's value.
func (TracingConfig) String ¶ added in v1.8.14
func (s TracingConfig) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type TracingConfigResponse ¶ added in v1.8.14
type TracingConfigResponse struct { // The tracing mode. Mode *string `type:"string" enum:"TracingMode"` // contains filtered or unexported fields }
The function's X-Ray tracing configuration.
func (TracingConfigResponse) GoString ¶ added in v1.8.14
func (s TracingConfigResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*TracingConfigResponse) SetMode ¶ added in v1.8.14
func (s *TracingConfigResponse) SetMode(v string) *TracingConfigResponse
SetMode sets the Mode field's value.
func (TracingConfigResponse) String ¶ added in v1.8.14
func (s TracingConfigResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UnsupportedMediaTypeException ¶ added in v1.28.0
type UnsupportedMediaTypeException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` Message_ *string `locationName:"message" type:"string"` Type *string `type:"string"` // contains filtered or unexported fields }
The content type of the Invoke request body is not JSON.
func (*UnsupportedMediaTypeException) Code ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) Code() string
Code returns the exception type name.
func (*UnsupportedMediaTypeException) Error ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) Error() string
func (UnsupportedMediaTypeException) GoString ¶ added in v1.28.0
func (s UnsupportedMediaTypeException) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UnsupportedMediaTypeException) Message ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) Message() string
Message returns the exception's message.
func (*UnsupportedMediaTypeException) OrigErr ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (*UnsupportedMediaTypeException) RequestID ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) RequestID() string
RequestID returns the service's response RequestID for request.
func (*UnsupportedMediaTypeException) StatusCode ¶ added in v1.28.0
func (s *UnsupportedMediaTypeException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (UnsupportedMediaTypeException) String ¶ added in v1.28.0
func (s UnsupportedMediaTypeException) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UntagResourceInput ¶ added in v1.8.13
type UntagResourceInput struct { // The function's Amazon Resource Name (ARN). // // Resource is a required field Resource *string `location:"uri" locationName:"ARN" type:"string" required:"true"` // A list of tag keys to remove from the function. // // TagKeys is a required field TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"` // contains filtered or unexported fields }
func (UntagResourceInput) GoString ¶ added in v1.8.13
func (s UntagResourceInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) SetResource ¶ added in v1.8.13
func (s *UntagResourceInput) SetResource(v string) *UntagResourceInput
SetResource sets the Resource field's value.
func (*UntagResourceInput) SetTagKeys ¶ added in v1.8.13
func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
func (UntagResourceInput) String ¶ added in v1.8.13
func (s UntagResourceInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UntagResourceInput) Validate ¶ added in v1.8.13
func (s *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput ¶ added in v1.8.13
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (UntagResourceOutput) GoString ¶ added in v1.8.13
func (s UntagResourceOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (UntagResourceOutput) String ¶ added in v1.8.13
func (s UntagResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateAliasInput ¶ added in v0.9.14
type UpdateAliasInput struct { // A description of the alias. Description *string `type:"string"` // The name or ARN of the Lambda function. // // Name formats // // * Function name - MyFunction. // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Partial ARN - 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The function version that the alias invokes. FunctionVersion *string `min:"1" type:"string"` // The name of the alias. // // Name is a required field Name *string `location:"uri" locationName:"Name" min:"1" type:"string" required:"true"` // Only update the alias if the revision ID matches the ID that's specified. // Use this option to avoid modifying an alias that has changed since you last // read it. RevisionId *string `type:"string"` // The routing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) // of the alias. RoutingConfig *AliasRoutingConfiguration `type:"structure"` // contains filtered or unexported fields }
func (UpdateAliasInput) GoString ¶ added in v0.9.14
func (s UpdateAliasInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateAliasInput) SetDescription ¶ added in v1.5.0
func (s *UpdateAliasInput) SetDescription(v string) *UpdateAliasInput
SetDescription sets the Description field's value.
func (*UpdateAliasInput) SetFunctionName ¶ added in v1.5.0
func (s *UpdateAliasInput) SetFunctionName(v string) *UpdateAliasInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateAliasInput) SetFunctionVersion ¶ added in v1.5.0
func (s *UpdateAliasInput) SetFunctionVersion(v string) *UpdateAliasInput
SetFunctionVersion sets the FunctionVersion field's value.
func (*UpdateAliasInput) SetName ¶ added in v1.5.0
func (s *UpdateAliasInput) SetName(v string) *UpdateAliasInput
SetName sets the Name field's value.
func (*UpdateAliasInput) SetRevisionId ¶ added in v1.12.69
func (s *UpdateAliasInput) SetRevisionId(v string) *UpdateAliasInput
SetRevisionId sets the RevisionId field's value.
func (*UpdateAliasInput) SetRoutingConfig ¶ added in v1.12.35
func (s *UpdateAliasInput) SetRoutingConfig(v *AliasRoutingConfiguration) *UpdateAliasInput
SetRoutingConfig sets the RoutingConfig field's value.
func (UpdateAliasInput) String ¶ added in v0.9.14
func (s UpdateAliasInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateAliasInput) Validate ¶ added in v1.1.21
func (s *UpdateAliasInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCodeSigningConfigInput ¶ added in v1.35.34
type UpdateCodeSigningConfigInput struct { // Signing profiles for this code signing configuration. AllowedPublishers *AllowedPublishers `type:"structure"` // The The Amazon Resource Name (ARN) of the code signing configuration. // // CodeSigningConfigArn is a required field CodeSigningConfigArn *string `location:"uri" locationName:"CodeSigningConfigArn" type:"string" required:"true"` // The code signing policy. CodeSigningPolicies *CodeSigningPolicies `type:"structure"` // Descriptive name for this code signing configuration. Description *string `type:"string"` // contains filtered or unexported fields }
func (UpdateCodeSigningConfigInput) GoString ¶ added in v1.35.34
func (s UpdateCodeSigningConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateCodeSigningConfigInput) SetAllowedPublishers ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigInput) SetAllowedPublishers(v *AllowedPublishers) *UpdateCodeSigningConfigInput
SetAllowedPublishers sets the AllowedPublishers field's value.
func (*UpdateCodeSigningConfigInput) SetCodeSigningConfigArn ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigInput) SetCodeSigningConfigArn(v string) *UpdateCodeSigningConfigInput
SetCodeSigningConfigArn sets the CodeSigningConfigArn field's value.
func (*UpdateCodeSigningConfigInput) SetCodeSigningPolicies ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigInput) SetCodeSigningPolicies(v *CodeSigningPolicies) *UpdateCodeSigningConfigInput
SetCodeSigningPolicies sets the CodeSigningPolicies field's value.
func (*UpdateCodeSigningConfigInput) SetDescription ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigInput) SetDescription(v string) *UpdateCodeSigningConfigInput
SetDescription sets the Description field's value.
func (UpdateCodeSigningConfigInput) String ¶ added in v1.35.34
func (s UpdateCodeSigningConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateCodeSigningConfigInput) Validate ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateCodeSigningConfigOutput ¶ added in v1.35.34
type UpdateCodeSigningConfigOutput struct { // The code signing configuration // // CodeSigningConfig is a required field CodeSigningConfig *CodeSigningConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
func (UpdateCodeSigningConfigOutput) GoString ¶ added in v1.35.34
func (s UpdateCodeSigningConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateCodeSigningConfigOutput) SetCodeSigningConfig ¶ added in v1.35.34
func (s *UpdateCodeSigningConfigOutput) SetCodeSigningConfig(v *CodeSigningConfig) *UpdateCodeSigningConfigOutput
SetCodeSigningConfig sets the CodeSigningConfig field's value.
func (UpdateCodeSigningConfigOutput) String ¶ added in v1.35.34
func (s UpdateCodeSigningConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateEventSourceMappingInput ¶
type UpdateEventSourceMappingInput struct { // 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). // // * Amazon Kinesis – Default 100. Max 10,000. // // * Amazon DynamoDB Streams – Default 100. Max 10,000. // // * Amazon Simple Queue Service – Default 10. For standard queues the // max is 10,000. For FIFO queues the max is 10. // // * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000. // // * Self-managed Apache Kafka – Default 100. Max 10,000. // // * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000. // // * DocumentDB – Default 100. Max 10,000. BatchSize *int64 `min:"1" type:"integer"` // (Kinesis and DynamoDB Streams only) If the function returns an error, split // the batch in two and retry. BisectBatchOnFunctionError *bool `type:"boolean"` // (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration // object that specifies the destination of an event after Lambda processes // it. DestinationConfig *DestinationConfig `type:"structure"` // Specific configuration settings for a DocumentDB event source. DocumentDBEventSourceConfig *DocumentDBEventSourceConfig `type:"structure"` // When true, the event source mapping is active. When false, Lambda pauses // polling and invocation. // // Default: True Enabled *bool `type:"boolean"` // An object that defines the filter criteria that determine whether Lambda // should process an event. For more information, see Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *FilterCriteria `type:"structure"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – MyFunction. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction. // // * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD. // // * Partial ARN – 123456789012:function:MyFunction. // // The length constraint applies only to the full ARN. If you specify only the // function name, it's limited to 64 characters in length. FunctionName *string `min:"1" type:"string"` // (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type // enums applied to the event source mapping. FunctionResponseTypes []*string `type:"list" enum:"FunctionResponseType"` // 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 *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records older than the specified // age. The default value is infinite (-1). MaximumRecordAgeInSeconds *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) Discard records after the specified number // of retries. The default value is infinite (-1). When set to infinite (-1), // failed records are retried until the record expires. MaximumRetryAttempts *int64 `type:"integer"` // (Kinesis and DynamoDB Streams only) The number of batches to process from // each shard concurrently. ParallelizationFactor *int64 `min:"1" type:"integer"` // (Amazon SQS only) The scaling configuration for the event source. For more // information, see 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 `type:"structure"` // An array of authentication protocols or VPC components required to secure // your event source. SourceAccessConfigurations []*SourceAccessConfiguration `type:"list"` // (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 *int64 `type:"integer"` // The identifier of the event source mapping. // // UUID is a required field UUID *string `location:"uri" locationName:"UUID" type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateEventSourceMappingInput) GoString ¶ added in v0.6.5
func (s UpdateEventSourceMappingInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEventSourceMappingInput) SetBatchSize ¶ added in v1.5.0
func (s *UpdateEventSourceMappingInput) SetBatchSize(v int64) *UpdateEventSourceMappingInput
SetBatchSize sets the BatchSize field's value.
func (*UpdateEventSourceMappingInput) SetBisectBatchOnFunctionError ¶ added in v1.25.42
func (s *UpdateEventSourceMappingInput) SetBisectBatchOnFunctionError(v bool) *UpdateEventSourceMappingInput
SetBisectBatchOnFunctionError sets the BisectBatchOnFunctionError field's value.
func (*UpdateEventSourceMappingInput) SetDestinationConfig ¶ added in v1.25.42
func (s *UpdateEventSourceMappingInput) SetDestinationConfig(v *DestinationConfig) *UpdateEventSourceMappingInput
SetDestinationConfig sets the DestinationConfig field's value.
func (*UpdateEventSourceMappingInput) SetDocumentDBEventSourceConfig ¶ added in v1.44.210
func (s *UpdateEventSourceMappingInput) SetDocumentDBEventSourceConfig(v *DocumentDBEventSourceConfig) *UpdateEventSourceMappingInput
SetDocumentDBEventSourceConfig sets the DocumentDBEventSourceConfig field's value.
func (*UpdateEventSourceMappingInput) SetEnabled ¶ added in v1.5.0
func (s *UpdateEventSourceMappingInput) SetEnabled(v bool) *UpdateEventSourceMappingInput
SetEnabled sets the Enabled field's value.
func (*UpdateEventSourceMappingInput) SetFilterCriteria ¶ added in v1.42.11
func (s *UpdateEventSourceMappingInput) SetFilterCriteria(v *FilterCriteria) *UpdateEventSourceMappingInput
SetFilterCriteria sets the FilterCriteria field's value.
func (*UpdateEventSourceMappingInput) SetFunctionName ¶ added in v1.5.0
func (s *UpdateEventSourceMappingInput) SetFunctionName(v string) *UpdateEventSourceMappingInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateEventSourceMappingInput) SetFunctionResponseTypes ¶ added in v1.36.9
func (s *UpdateEventSourceMappingInput) SetFunctionResponseTypes(v []*string) *UpdateEventSourceMappingInput
SetFunctionResponseTypes sets the FunctionResponseTypes field's value.
func (*UpdateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds ¶ added in v1.23.12
func (s *UpdateEventSourceMappingInput) SetMaximumBatchingWindowInSeconds(v int64) *UpdateEventSourceMappingInput
SetMaximumBatchingWindowInSeconds sets the MaximumBatchingWindowInSeconds field's value.
func (*UpdateEventSourceMappingInput) SetMaximumRecordAgeInSeconds ¶ added in v1.25.42
func (s *UpdateEventSourceMappingInput) SetMaximumRecordAgeInSeconds(v int64) *UpdateEventSourceMappingInput
SetMaximumRecordAgeInSeconds sets the MaximumRecordAgeInSeconds field's value.
func (*UpdateEventSourceMappingInput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *UpdateEventSourceMappingInput) SetMaximumRetryAttempts(v int64) *UpdateEventSourceMappingInput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (*UpdateEventSourceMappingInput) SetParallelizationFactor ¶ added in v1.25.42
func (s *UpdateEventSourceMappingInput) SetParallelizationFactor(v int64) *UpdateEventSourceMappingInput
SetParallelizationFactor sets the ParallelizationFactor field's value.
func (*UpdateEventSourceMappingInput) SetScalingConfig ¶ added in v1.44.179
func (s *UpdateEventSourceMappingInput) SetScalingConfig(v *ScalingConfig) *UpdateEventSourceMappingInput
SetScalingConfig sets the ScalingConfig field's value.
func (*UpdateEventSourceMappingInput) SetSourceAccessConfigurations ¶ added in v1.35.22
func (s *UpdateEventSourceMappingInput) SetSourceAccessConfigurations(v []*SourceAccessConfiguration) *UpdateEventSourceMappingInput
SetSourceAccessConfigurations sets the SourceAccessConfigurations field's value.
func (*UpdateEventSourceMappingInput) SetTumblingWindowInSeconds ¶ added in v1.36.9
func (s *UpdateEventSourceMappingInput) SetTumblingWindowInSeconds(v int64) *UpdateEventSourceMappingInput
SetTumblingWindowInSeconds sets the TumblingWindowInSeconds field's value.
func (*UpdateEventSourceMappingInput) SetUUID ¶ added in v1.5.0
func (s *UpdateEventSourceMappingInput) SetUUID(v string) *UpdateEventSourceMappingInput
SetUUID sets the UUID field's value.
func (UpdateEventSourceMappingInput) String ¶ added in v0.6.5
func (s UpdateEventSourceMappingInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateEventSourceMappingInput) Validate ¶ added in v1.1.21
func (s *UpdateEventSourceMappingInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionCodeInput ¶
type UpdateFunctionCodeInput struct { // The instruction set architecture that the function supports. Enter a string // array with one of the valid values (arm64 or x86_64). The default value is // x86_64. Architectures []*string `min:"1" type:"list" enum:"Architecture"` // Set to true to validate the request parameters and access permissions without // modifying the function code. DryRun *bool `type:"boolean"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // URI of a container image in the Amazon ECR registry. Do not use for a function // defined with a .zip file archive. ImageUri *string `type:"string"` // Set to true to publish a new version of the function after updating the code. // This has the same effect as calling PublishVersion separately. Publish *bool `type:"boolean"` // Update the function only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a function that has changed since you // last read it. RevisionId *string `type:"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. Use only with // a function defined with a .zip file archive deployment package. S3Bucket *string `min:"3" type:"string"` // The Amazon S3 key of the deployment package. Use only with a function defined // with a .zip file archive deployment package. S3Key *string `min:"1" type:"string"` // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string `min:"1" type:"string"` // The base64-encoded contents of the deployment package. Amazon Web Services // SDK and CLI clients handle the encoding for you. Use only with a function // defined with a .zip file archive deployment package. // // ZipFile is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateFunctionCodeInput's // String and GoString methods. // // ZipFile is automatically base64 encoded/decoded by the SDK. ZipFile []byte `type:"blob" sensitive:"true"` // contains filtered or unexported fields }
func (UpdateFunctionCodeInput) GoString ¶ added in v0.6.5
func (s UpdateFunctionCodeInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionCodeInput) SetArchitectures ¶ added in v1.40.52
func (s *UpdateFunctionCodeInput) SetArchitectures(v []*string) *UpdateFunctionCodeInput
SetArchitectures sets the Architectures field's value.
func (*UpdateFunctionCodeInput) SetDryRun ¶ added in v1.8.20
func (s *UpdateFunctionCodeInput) SetDryRun(v bool) *UpdateFunctionCodeInput
SetDryRun sets the DryRun field's value.
func (*UpdateFunctionCodeInput) SetFunctionName ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetFunctionName(v string) *UpdateFunctionCodeInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateFunctionCodeInput) SetImageUri ¶ added in v1.35.37
func (s *UpdateFunctionCodeInput) SetImageUri(v string) *UpdateFunctionCodeInput
SetImageUri sets the ImageUri field's value.
func (*UpdateFunctionCodeInput) SetPublish ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetPublish(v bool) *UpdateFunctionCodeInput
SetPublish sets the Publish field's value.
func (*UpdateFunctionCodeInput) SetRevisionId ¶ added in v1.12.69
func (s *UpdateFunctionCodeInput) SetRevisionId(v string) *UpdateFunctionCodeInput
SetRevisionId sets the RevisionId field's value.
func (*UpdateFunctionCodeInput) SetS3Bucket ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetS3Bucket(v string) *UpdateFunctionCodeInput
SetS3Bucket sets the S3Bucket field's value.
func (*UpdateFunctionCodeInput) SetS3Key ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetS3Key(v string) *UpdateFunctionCodeInput
SetS3Key sets the S3Key field's value.
func (*UpdateFunctionCodeInput) SetS3ObjectVersion ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetS3ObjectVersion(v string) *UpdateFunctionCodeInput
SetS3ObjectVersion sets the S3ObjectVersion field's value.
func (*UpdateFunctionCodeInput) SetZipFile ¶ added in v1.5.0
func (s *UpdateFunctionCodeInput) SetZipFile(v []byte) *UpdateFunctionCodeInput
SetZipFile sets the ZipFile field's value.
func (UpdateFunctionCodeInput) String ¶ added in v0.6.5
func (s UpdateFunctionCodeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionCodeInput) Validate ¶ added in v1.1.21
func (s *UpdateFunctionCodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionConfigurationInput ¶
type UpdateFunctionConfigurationInput struct { // A dead-letter queue configuration that specifies the queue or topic where // Lambda sends asynchronous events when they fail processing. For more information, // see Dead-letter queues (https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq). DeadLetterConfig *DeadLetterConfig `type:"structure"` // A description of the function. Description *string `type:"string"` // Environment variables that are accessible from function code during execution. Environment *Environment `type:"structure"` // 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) (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage). EphemeralStorage *EphemeralStorage `type:"structure"` // Connection settings for an Amazon EFS file system. FileSystemConfigs []*FileSystemConfig `type:"list"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The name of the method within your code that Lambda calls to run your function. // Handler is required if the deployment package is a .zip file archive. The // format includes the file name. It can also include namespaces and other qualifiers, // depending on the runtime. For more information, see Lambda programming model // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html). Handler *string `type:"string"` // Container image configuration values (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms) // that override the values in the container image Docker file. ImageConfig *ImageConfig `type:"structure"` // The ARN of the Key Management Service (KMS) customer managed key that's used // to encrypt your function's environment variables (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-encryption). // When Lambda SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-security.html) // is activated, Lambda also uses this key is to encrypt your function's snapshot. // If you deploy your function using a container image, Lambda also uses this // key to encrypt your function when it's deployed. Note that this is not the // same key that's used to protect your container image in the Amazon Elastic // Container Registry (Amazon ECR). If you don't provide a customer managed // key, Lambda uses a default service key. KMSKeyArn *string `type:"string"` // A list of function layers (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) // to add to the function's execution environment. Specify each layer by its // ARN, including the version. Layers []*string `type:"list"` // The function's Amazon CloudWatch Logs configuration settings. LoggingConfig *LoggingConfig `type:"structure"` // The amount of memory available to the function (https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-memory-console) // at runtime. Increasing the function memory also increases its CPU allocation. // The default value is 128 MB. The value can be any multiple of 1 MB. MemorySize *int64 `min:"128" type:"integer"` // Update the function only if the revision ID matches the ID that's specified. // Use this option to avoid modifying a function that has changed since you // last read it. RevisionId *string `type:"string"` // The Amazon Resource Name (ARN) of the function's execution role. Role *string `type:"string"` // The identifier of the function's runtime (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). // Runtime is required if the deployment package is a .zip file archive. // // The following list includes deprecated runtimes. For more information, see // Runtime deprecation policy (https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). Runtime *string `type:"string" enum:"Runtime"` // The function's SnapStart (https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html) // setting. SnapStart *SnapStart `type:"structure"` // The amount of time (in seconds) that Lambda allows a function to run before // stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. // For more information, see Lambda execution environment (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int64 `min:"1" type:"integer"` // Set Mode to Active to sample and trace a subset of incoming requests with // X-Ray (https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html). TracingConfig *TracingConfig `type:"structure"` // For network connectivity to Amazon Web Services resources in a VPC, specify // a list of security groups and subnets in the VPC. When you connect a function // to a VPC, it can access resources and the internet only through that VPC. // For more information, see Configuring a Lambda function to access resources // in a VPC (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *VpcConfig `type:"structure"` // contains filtered or unexported fields }
func (UpdateFunctionConfigurationInput) GoString ¶ added in v0.6.5
func (s UpdateFunctionConfigurationInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionConfigurationInput) SetDeadLetterConfig ¶ added in v1.5.13
func (s *UpdateFunctionConfigurationInput) SetDeadLetterConfig(v *DeadLetterConfig) *UpdateFunctionConfigurationInput
SetDeadLetterConfig sets the DeadLetterConfig field's value.
func (*UpdateFunctionConfigurationInput) SetDescription ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetDescription(v string) *UpdateFunctionConfigurationInput
SetDescription sets the Description field's value.
func (*UpdateFunctionConfigurationInput) SetEnvironment ¶ added in v1.5.8
func (s *UpdateFunctionConfigurationInput) SetEnvironment(v *Environment) *UpdateFunctionConfigurationInput
SetEnvironment sets the Environment field's value.
func (*UpdateFunctionConfigurationInput) SetEphemeralStorage ¶ added in v1.43.25
func (s *UpdateFunctionConfigurationInput) SetEphemeralStorage(v *EphemeralStorage) *UpdateFunctionConfigurationInput
SetEphemeralStorage sets the EphemeralStorage field's value.
func (*UpdateFunctionConfigurationInput) SetFileSystemConfigs ¶ added in v1.32.3
func (s *UpdateFunctionConfigurationInput) SetFileSystemConfigs(v []*FileSystemConfig) *UpdateFunctionConfigurationInput
SetFileSystemConfigs sets the FileSystemConfigs field's value.
func (*UpdateFunctionConfigurationInput) SetFunctionName ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetFunctionName(v string) *UpdateFunctionConfigurationInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateFunctionConfigurationInput) SetHandler ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetHandler(v string) *UpdateFunctionConfigurationInput
SetHandler sets the Handler field's value.
func (*UpdateFunctionConfigurationInput) SetImageConfig ¶ added in v1.35.37
func (s *UpdateFunctionConfigurationInput) SetImageConfig(v *ImageConfig) *UpdateFunctionConfigurationInput
SetImageConfig sets the ImageConfig field's value.
func (*UpdateFunctionConfigurationInput) SetKMSKeyArn ¶ added in v1.5.8
func (s *UpdateFunctionConfigurationInput) SetKMSKeyArn(v string) *UpdateFunctionConfigurationInput
SetKMSKeyArn sets the KMSKeyArn field's value.
func (*UpdateFunctionConfigurationInput) SetLayers ¶ added in v1.15.87
func (s *UpdateFunctionConfigurationInput) SetLayers(v []*string) *UpdateFunctionConfigurationInput
SetLayers sets the Layers field's value.
func (*UpdateFunctionConfigurationInput) SetLoggingConfig ¶ added in v1.47.13
func (s *UpdateFunctionConfigurationInput) SetLoggingConfig(v *LoggingConfig) *UpdateFunctionConfigurationInput
SetLoggingConfig sets the LoggingConfig field's value.
func (*UpdateFunctionConfigurationInput) SetMemorySize ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetMemorySize(v int64) *UpdateFunctionConfigurationInput
SetMemorySize sets the MemorySize field's value.
func (*UpdateFunctionConfigurationInput) SetRevisionId ¶ added in v1.12.69
func (s *UpdateFunctionConfigurationInput) SetRevisionId(v string) *UpdateFunctionConfigurationInput
SetRevisionId sets the RevisionId field's value.
func (*UpdateFunctionConfigurationInput) SetRole ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetRole(v string) *UpdateFunctionConfigurationInput
SetRole sets the Role field's value.
func (*UpdateFunctionConfigurationInput) SetRuntime ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetRuntime(v string) *UpdateFunctionConfigurationInput
SetRuntime sets the Runtime field's value.
func (*UpdateFunctionConfigurationInput) SetSnapStart ¶ added in v1.44.147
func (s *UpdateFunctionConfigurationInput) SetSnapStart(v *SnapStart) *UpdateFunctionConfigurationInput
SetSnapStart sets the SnapStart field's value.
func (*UpdateFunctionConfigurationInput) SetTimeout ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetTimeout(v int64) *UpdateFunctionConfigurationInput
SetTimeout sets the Timeout field's value.
func (*UpdateFunctionConfigurationInput) SetTracingConfig ¶ added in v1.8.14
func (s *UpdateFunctionConfigurationInput) SetTracingConfig(v *TracingConfig) *UpdateFunctionConfigurationInput
SetTracingConfig sets the TracingConfig field's value.
func (*UpdateFunctionConfigurationInput) SetVpcConfig ¶ added in v1.5.0
func (s *UpdateFunctionConfigurationInput) SetVpcConfig(v *VpcConfig) *UpdateFunctionConfigurationInput
SetVpcConfig sets the VpcConfig field's value.
func (UpdateFunctionConfigurationInput) String ¶ added in v0.6.5
func (s UpdateFunctionConfigurationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionConfigurationInput) Validate ¶ added in v1.1.21
func (s *UpdateFunctionConfigurationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionEventInvokeConfigInput ¶ added in v1.25.42
type UpdateFunctionEventInvokeConfigInput 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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The name or ARN of the Lambda function, version, or alias. // // Name formats // // * Function name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - 123456789012:function:my-function. // // You can append a version number or alias to any of the formats. The length // constraint applies only to the full ARN. If you specify only the function // name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // A version number or alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateFunctionEventInvokeConfigInput) GoString ¶ added in v1.25.42
func (s UpdateFunctionEventInvokeConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionEventInvokeConfigInput) SetDestinationConfig ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) SetDestinationConfig(v *DestinationConfig) *UpdateFunctionEventInvokeConfigInput
SetDestinationConfig sets the DestinationConfig field's value.
func (*UpdateFunctionEventInvokeConfigInput) SetFunctionName ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) SetFunctionName(v string) *UpdateFunctionEventInvokeConfigInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) SetMaximumEventAgeInSeconds(v int64) *UpdateFunctionEventInvokeConfigInput
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*UpdateFunctionEventInvokeConfigInput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) SetMaximumRetryAttempts(v int64) *UpdateFunctionEventInvokeConfigInput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (*UpdateFunctionEventInvokeConfigInput) SetQualifier ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) SetQualifier(v string) *UpdateFunctionEventInvokeConfigInput
SetQualifier sets the Qualifier field's value.
func (UpdateFunctionEventInvokeConfigInput) String ¶ added in v1.25.42
func (s UpdateFunctionEventInvokeConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionEventInvokeConfigInput) Validate ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionEventInvokeConfigOutput ¶ added in v1.25.42
type UpdateFunctionEventInvokeConfigOutput 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. // // * Topic - The ARN of a standard SNS topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *DestinationConfig `type:"structure"` // The Amazon Resource Name (ARN) of the function. FunctionArn *string `type:"string"` // The date and time that the configuration was last updated. LastModified *time.Time `type:"timestamp"` // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int64 `min:"60" type:"integer"` // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int64 `type:"integer"` // contains filtered or unexported fields }
func (UpdateFunctionEventInvokeConfigOutput) GoString ¶ added in v1.25.42
func (s UpdateFunctionEventInvokeConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionEventInvokeConfigOutput) SetDestinationConfig ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigOutput) SetDestinationConfig(v *DestinationConfig) *UpdateFunctionEventInvokeConfigOutput
SetDestinationConfig sets the DestinationConfig field's value.
func (*UpdateFunctionEventInvokeConfigOutput) SetFunctionArn ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigOutput) SetFunctionArn(v string) *UpdateFunctionEventInvokeConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*UpdateFunctionEventInvokeConfigOutput) SetLastModified ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigOutput) SetLastModified(v time.Time) *UpdateFunctionEventInvokeConfigOutput
SetLastModified sets the LastModified field's value.
func (*UpdateFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigOutput) SetMaximumEventAgeInSeconds(v int64) *UpdateFunctionEventInvokeConfigOutput
SetMaximumEventAgeInSeconds sets the MaximumEventAgeInSeconds field's value.
func (*UpdateFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts ¶ added in v1.25.42
func (s *UpdateFunctionEventInvokeConfigOutput) SetMaximumRetryAttempts(v int64) *UpdateFunctionEventInvokeConfigOutput
SetMaximumRetryAttempts sets the MaximumRetryAttempts field's value.
func (UpdateFunctionEventInvokeConfigOutput) String ¶ added in v1.25.42
func (s UpdateFunctionEventInvokeConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type UpdateFunctionUrlConfigInput ¶ added in v1.42.9
type UpdateFunctionUrlConfigInput 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). AuthType *string `type:"string" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // The name or ARN of the Lambda function. // // Name formats // // * Function name – my-function. // // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN – 123456789012:function:my-function. // // The length constraint applies only to the full ARN. If you specify only the // function name, it is limited to 64 characters in length. // // FunctionName is a required field FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // The alias name. Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` // contains filtered or unexported fields }
func (UpdateFunctionUrlConfigInput) GoString ¶ added in v1.42.9
func (s UpdateFunctionUrlConfigInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionUrlConfigInput) SetAuthType ¶ added in v1.43.34
func (s *UpdateFunctionUrlConfigInput) SetAuthType(v string) *UpdateFunctionUrlConfigInput
SetAuthType sets the AuthType field's value.
func (*UpdateFunctionUrlConfigInput) SetCors ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigInput) SetCors(v *Cors) *UpdateFunctionUrlConfigInput
SetCors sets the Cors field's value.
func (*UpdateFunctionUrlConfigInput) SetFunctionName ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigInput) SetFunctionName(v string) *UpdateFunctionUrlConfigInput
SetFunctionName sets the FunctionName field's value.
func (*UpdateFunctionUrlConfigInput) SetInvokeMode ¶ added in v1.44.239
func (s *UpdateFunctionUrlConfigInput) SetInvokeMode(v string) *UpdateFunctionUrlConfigInput
SetInvokeMode sets the InvokeMode field's value.
func (*UpdateFunctionUrlConfigInput) SetQualifier ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigInput) SetQualifier(v string) *UpdateFunctionUrlConfigInput
SetQualifier sets the Qualifier field's value.
func (UpdateFunctionUrlConfigInput) String ¶ added in v1.42.9
func (s UpdateFunctionUrlConfigInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionUrlConfigInput) Validate ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateFunctionUrlConfigOutput ¶ added in v1.42.9
type UpdateFunctionUrlConfigOutput 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 (https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html). // // AuthType is a required field AuthType *string `type:"string" required:"true" enum:"FunctionUrlAuthType"` // The cross-origin resource sharing (CORS) (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) // settings for your function URL. Cors *Cors `type:"structure"` // When the function URL was created, in ISO-8601 format (https://www.w3.org/TR/NOTE-datetime) // (YYYY-MM-DDThh:mm:ss.sTZD). // // CreationTime is a required field CreationTime *string `type:"string" required:"true"` // The Amazon Resource Name (ARN) of your function. // // FunctionArn is a required field FunctionArn *string `type:"string" required:"true"` // The HTTP URL endpoint for your function. // // FunctionUrl is a required field FunctionUrl *string `min:"40" type:"string" required:"true"` // 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 20 MB, however, you // can request a quota increase (https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html). InvokeMode *string `type:"string" enum:"InvokeMode"` // When the function URL configuration was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). // // LastModifiedTime is a required field LastModifiedTime *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (UpdateFunctionUrlConfigOutput) GoString ¶ added in v1.42.9
func (s UpdateFunctionUrlConfigOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*UpdateFunctionUrlConfigOutput) SetAuthType ¶ added in v1.43.34
func (s *UpdateFunctionUrlConfigOutput) SetAuthType(v string) *UpdateFunctionUrlConfigOutput
SetAuthType sets the AuthType field's value.
func (*UpdateFunctionUrlConfigOutput) SetCors ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigOutput) SetCors(v *Cors) *UpdateFunctionUrlConfigOutput
SetCors sets the Cors field's value.
func (*UpdateFunctionUrlConfigOutput) SetCreationTime ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigOutput) SetCreationTime(v string) *UpdateFunctionUrlConfigOutput
SetCreationTime sets the CreationTime field's value.
func (*UpdateFunctionUrlConfigOutput) SetFunctionArn ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigOutput) SetFunctionArn(v string) *UpdateFunctionUrlConfigOutput
SetFunctionArn sets the FunctionArn field's value.
func (*UpdateFunctionUrlConfigOutput) SetFunctionUrl ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigOutput) SetFunctionUrl(v string) *UpdateFunctionUrlConfigOutput
SetFunctionUrl sets the FunctionUrl field's value.
func (*UpdateFunctionUrlConfigOutput) SetInvokeMode ¶ added in v1.44.239
func (s *UpdateFunctionUrlConfigOutput) SetInvokeMode(v string) *UpdateFunctionUrlConfigOutput
SetInvokeMode sets the InvokeMode field's value.
func (*UpdateFunctionUrlConfigOutput) SetLastModifiedTime ¶ added in v1.42.9
func (s *UpdateFunctionUrlConfigOutput) SetLastModifiedTime(v string) *UpdateFunctionUrlConfigOutput
SetLastModifiedTime sets the LastModifiedTime field's value.
func (UpdateFunctionUrlConfigOutput) String ¶ added in v1.42.9
func (s UpdateFunctionUrlConfigOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type VpcConfig ¶ added in v1.1.2
type VpcConfig struct { // Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack // subnets. Ipv6AllowedForDualStack *bool `type:"boolean"` // A list of VPC security group IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `type:"list"` // 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 (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html).
func (VpcConfig) GoString ¶ added in v1.1.2
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VpcConfig) SetIpv6AllowedForDualStack ¶ added in v1.45.25
SetIpv6AllowedForDualStack sets the Ipv6AllowedForDualStack field's value.
func (*VpcConfig) SetSecurityGroupIds ¶ added in v1.5.0
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*VpcConfig) SetSubnetIds ¶ added in v1.5.0
SetSubnetIds sets the SubnetIds field's value.
type VpcConfigResponse ¶ added in v1.1.2
type VpcConfigResponse struct { // Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack // subnets. Ipv6AllowedForDualStack *bool `type:"boolean"` // A list of VPC security group IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `type:"list"` // The ID of the VPC. VpcId *string `type:"string"` // contains filtered or unexported fields }
The VPC security groups and subnets that are attached to a Lambda function.
func (VpcConfigResponse) GoString ¶ added in v1.1.2
func (s VpcConfigResponse) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (*VpcConfigResponse) SetIpv6AllowedForDualStack ¶ added in v1.45.25
func (s *VpcConfigResponse) SetIpv6AllowedForDualStack(v bool) *VpcConfigResponse
SetIpv6AllowedForDualStack sets the Ipv6AllowedForDualStack field's value.
func (*VpcConfigResponse) SetSecurityGroupIds ¶ added in v1.5.0
func (s *VpcConfigResponse) SetSecurityGroupIds(v []*string) *VpcConfigResponse
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*VpcConfigResponse) SetSubnetIds ¶ added in v1.5.0
func (s *VpcConfigResponse) SetSubnetIds(v []*string) *VpcConfigResponse
SetSubnetIds sets the SubnetIds field's value.
func (*VpcConfigResponse) SetVpcId ¶ added in v1.5.0
func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse
SetVpcId sets the VpcId field's value.
func (VpcConfigResponse) String ¶ added in v1.1.2
func (s VpcConfigResponse) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
Directories ¶
Path | Synopsis |
---|---|
Package lambdaiface provides an interface to enable mocking the AWS Lambda service client for testing your code.
|
Package lambdaiface provides an interface to enable mocking the AWS Lambda service client for testing your code. |