package lambda
import "github.com/aws/aws-sdk-go-v2/service/lambda"
Package lambda provides the API client, operations, and parameter types for AWS Lambda.
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)
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type AddLayerVersionPermissionInput
- type AddLayerVersionPermissionOutput
- type AddPermissionInput
- type AddPermissionOutput
- type Client
- func New(options Options, optFns ...func(*Options)) *Client
- func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client
- func (c *Client) AddLayerVersionPermission(ctx context.Context, params *AddLayerVersionPermissionInput, optFns ...func(*Options)) (*AddLayerVersionPermissionOutput, error)
- func (c *Client) AddPermission(ctx context.Context, params *AddPermissionInput, optFns ...func(*Options)) (*AddPermissionOutput, error)
- func (c *Client) CreateAlias(ctx context.Context, params *CreateAliasInput, optFns ...func(*Options)) (*CreateAliasOutput, error)
- func (c *Client) CreateCodeSigningConfig(ctx context.Context, params *CreateCodeSigningConfigInput, optFns ...func(*Options)) (*CreateCodeSigningConfigOutput, error)
- func (c *Client) CreateEventSourceMapping(ctx context.Context, params *CreateEventSourceMappingInput, optFns ...func(*Options)) (*CreateEventSourceMappingOutput, error)
- func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionInput, optFns ...func(*Options)) (*CreateFunctionOutput, error)
- func (c *Client) DeleteAlias(ctx context.Context, params *DeleteAliasInput, optFns ...func(*Options)) (*DeleteAliasOutput, error)
- func (c *Client) DeleteCodeSigningConfig(ctx context.Context, params *DeleteCodeSigningConfigInput, optFns ...func(*Options)) (*DeleteCodeSigningConfigOutput, error)
- func (c *Client) DeleteEventSourceMapping(ctx context.Context, params *DeleteEventSourceMappingInput, optFns ...func(*Options)) (*DeleteEventSourceMappingOutput, error)
- func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error)
- func (c *Client) DeleteFunctionCodeSigningConfig(ctx context.Context, params *DeleteFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*DeleteFunctionCodeSigningConfigOutput, error)
- func (c *Client) DeleteFunctionConcurrency(ctx context.Context, params *DeleteFunctionConcurrencyInput, optFns ...func(*Options)) (*DeleteFunctionConcurrencyOutput, error)
- func (c *Client) DeleteFunctionEventInvokeConfig(ctx context.Context, params *DeleteFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*DeleteFunctionEventInvokeConfigOutput, error)
- func (c *Client) DeleteLayerVersion(ctx context.Context, params *DeleteLayerVersionInput, optFns ...func(*Options)) (*DeleteLayerVersionOutput, error)
- func (c *Client) DeleteProvisionedConcurrencyConfig(ctx context.Context, params *DeleteProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*DeleteProvisionedConcurrencyConfigOutput, error)
- func (c *Client) GetAccountSettings(ctx context.Context, params *GetAccountSettingsInput, optFns ...func(*Options)) (*GetAccountSettingsOutput, error)
- func (c *Client) GetAlias(ctx context.Context, params *GetAliasInput, optFns ...func(*Options)) (*GetAliasOutput, error)
- func (c *Client) GetCodeSigningConfig(ctx context.Context, params *GetCodeSigningConfigInput, optFns ...func(*Options)) (*GetCodeSigningConfigOutput, error)
- func (c *Client) GetEventSourceMapping(ctx context.Context, params *GetEventSourceMappingInput, optFns ...func(*Options)) (*GetEventSourceMappingOutput, error)
- func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error)
- func (c *Client) GetFunctionCodeSigningConfig(ctx context.Context, params *GetFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*GetFunctionCodeSigningConfigOutput, error)
- func (c *Client) GetFunctionConcurrency(ctx context.Context, params *GetFunctionConcurrencyInput, optFns ...func(*Options)) (*GetFunctionConcurrencyOutput, error)
- func (c *Client) GetFunctionConfiguration(ctx context.Context, params *GetFunctionConfigurationInput, optFns ...func(*Options)) (*GetFunctionConfigurationOutput, error)
- func (c *Client) GetFunctionEventInvokeConfig(ctx context.Context, params *GetFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*GetFunctionEventInvokeConfigOutput, error)
- func (c *Client) GetLayerVersion(ctx context.Context, params *GetLayerVersionInput, optFns ...func(*Options)) (*GetLayerVersionOutput, error)
- func (c *Client) GetLayerVersionByArn(ctx context.Context, params *GetLayerVersionByArnInput, optFns ...func(*Options)) (*GetLayerVersionByArnOutput, error)
- func (c *Client) GetLayerVersionPolicy(ctx context.Context, params *GetLayerVersionPolicyInput, optFns ...func(*Options)) (*GetLayerVersionPolicyOutput, error)
- func (c *Client) GetPolicy(ctx context.Context, params *GetPolicyInput, optFns ...func(*Options)) (*GetPolicyOutput, error)
- func (c *Client) GetProvisionedConcurrencyConfig(ctx context.Context, params *GetProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*GetProvisionedConcurrencyConfigOutput, error)
- func (c *Client) Invoke(ctx context.Context, params *InvokeInput, optFns ...func(*Options)) (*InvokeOutput, error)
- func (c *Client) InvokeAsync(ctx context.Context, params *InvokeAsyncInput, optFns ...func(*Options)) (*InvokeAsyncOutput, error)
- func (c *Client) ListAliases(ctx context.Context, params *ListAliasesInput, optFns ...func(*Options)) (*ListAliasesOutput, error)
- func (c *Client) ListCodeSigningConfigs(ctx context.Context, params *ListCodeSigningConfigsInput, optFns ...func(*Options)) (*ListCodeSigningConfigsOutput, error)
- func (c *Client) ListEventSourceMappings(ctx context.Context, params *ListEventSourceMappingsInput, optFns ...func(*Options)) (*ListEventSourceMappingsOutput, error)
- func (c *Client) ListFunctionEventInvokeConfigs(ctx context.Context, params *ListFunctionEventInvokeConfigsInput, optFns ...func(*Options)) (*ListFunctionEventInvokeConfigsOutput, error)
- func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsInput, optFns ...func(*Options)) (*ListFunctionsOutput, error)
- func (c *Client) ListFunctionsByCodeSigningConfig(ctx context.Context, params *ListFunctionsByCodeSigningConfigInput, optFns ...func(*Options)) (*ListFunctionsByCodeSigningConfigOutput, error)
- func (c *Client) ListLayerVersions(ctx context.Context, params *ListLayerVersionsInput, optFns ...func(*Options)) (*ListLayerVersionsOutput, error)
- func (c *Client) ListLayers(ctx context.Context, params *ListLayersInput, optFns ...func(*Options)) (*ListLayersOutput, error)
- func (c *Client) ListProvisionedConcurrencyConfigs(ctx context.Context, params *ListProvisionedConcurrencyConfigsInput, optFns ...func(*Options)) (*ListProvisionedConcurrencyConfigsOutput, error)
- func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
- func (c *Client) ListVersionsByFunction(ctx context.Context, params *ListVersionsByFunctionInput, optFns ...func(*Options)) (*ListVersionsByFunctionOutput, error)
- func (c *Client) PublishLayerVersion(ctx context.Context, params *PublishLayerVersionInput, optFns ...func(*Options)) (*PublishLayerVersionOutput, error)
- func (c *Client) PublishVersion(ctx context.Context, params *PublishVersionInput, optFns ...func(*Options)) (*PublishVersionOutput, error)
- func (c *Client) PutFunctionCodeSigningConfig(ctx context.Context, params *PutFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*PutFunctionCodeSigningConfigOutput, error)
- func (c *Client) PutFunctionConcurrency(ctx context.Context, params *PutFunctionConcurrencyInput, optFns ...func(*Options)) (*PutFunctionConcurrencyOutput, error)
- func (c *Client) PutFunctionEventInvokeConfig(ctx context.Context, params *PutFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*PutFunctionEventInvokeConfigOutput, error)
- func (c *Client) PutProvisionedConcurrencyConfig(ctx context.Context, params *PutProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*PutProvisionedConcurrencyConfigOutput, error)
- func (c *Client) RemoveLayerVersionPermission(ctx context.Context, params *RemoveLayerVersionPermissionInput, optFns ...func(*Options)) (*RemoveLayerVersionPermissionOutput, error)
- func (c *Client) RemovePermission(ctx context.Context, params *RemovePermissionInput, optFns ...func(*Options)) (*RemovePermissionOutput, error)
- func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
- func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
- func (c *Client) UpdateAlias(ctx context.Context, params *UpdateAliasInput, optFns ...func(*Options)) (*UpdateAliasOutput, error)
- func (c *Client) UpdateCodeSigningConfig(ctx context.Context, params *UpdateCodeSigningConfigInput, optFns ...func(*Options)) (*UpdateCodeSigningConfigOutput, error)
- func (c *Client) UpdateEventSourceMapping(ctx context.Context, params *UpdateEventSourceMappingInput, optFns ...func(*Options)) (*UpdateEventSourceMappingOutput, error)
- func (c *Client) UpdateFunctionCode(ctx context.Context, params *UpdateFunctionCodeInput, optFns ...func(*Options)) (*UpdateFunctionCodeOutput, error)
- func (c *Client) UpdateFunctionConfiguration(ctx context.Context, params *UpdateFunctionConfigurationInput, optFns ...func(*Options)) (*UpdateFunctionConfigurationOutput, error)
- func (c *Client) UpdateFunctionEventInvokeConfig(ctx context.Context, params *UpdateFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*UpdateFunctionEventInvokeConfigOutput, error)
- type CreateAliasInput
- type CreateAliasOutput
- type CreateCodeSigningConfigInput
- type CreateCodeSigningConfigOutput
- type CreateEventSourceMappingInput
- type CreateEventSourceMappingOutput
- type CreateFunctionInput
- type CreateFunctionOutput
- type DeleteAliasInput
- type DeleteAliasOutput
- type DeleteCodeSigningConfigInput
- type DeleteCodeSigningConfigOutput
- type DeleteEventSourceMappingInput
- type DeleteEventSourceMappingOutput
- type DeleteFunctionCodeSigningConfigInput
- type DeleteFunctionCodeSigningConfigOutput
- type DeleteFunctionConcurrencyInput
- type DeleteFunctionConcurrencyOutput
- type DeleteFunctionEventInvokeConfigInput
- type DeleteFunctionEventInvokeConfigOutput
- type DeleteFunctionInput
- type DeleteFunctionOutput
- type DeleteLayerVersionInput
- type DeleteLayerVersionOutput
- type DeleteProvisionedConcurrencyConfigInput
- type DeleteProvisionedConcurrencyConfigOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type FunctionActiveV2Waiter
- func NewFunctionActiveV2Waiter(client GetFunctionAPIClient, optFns ...func(*FunctionActiveV2WaiterOptions)) *FunctionActiveV2Waiter
- func (w *FunctionActiveV2Waiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveV2WaiterOptions)) error
- func (w *FunctionActiveV2Waiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveV2WaiterOptions)) (*GetFunctionOutput, error)
- type FunctionActiveV2WaiterOptions
- type FunctionActiveWaiter
- func NewFunctionActiveWaiter(client GetFunctionConfigurationAPIClient, optFns ...func(*FunctionActiveWaiterOptions)) *FunctionActiveWaiter
- func (w *FunctionActiveWaiter) Wait(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveWaiterOptions)) error
- func (w *FunctionActiveWaiter) WaitForOutput(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveWaiterOptions)) (*GetFunctionConfigurationOutput, error)
- type FunctionActiveWaiterOptions
- type FunctionExistsWaiter
- func NewFunctionExistsWaiter(client GetFunctionAPIClient, optFns ...func(*FunctionExistsWaiterOptions)) *FunctionExistsWaiter
- func (w *FunctionExistsWaiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionExistsWaiterOptions)) error
- func (w *FunctionExistsWaiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionExistsWaiterOptions)) (*GetFunctionOutput, error)
- type FunctionExistsWaiterOptions
- type FunctionUpdatedV2Waiter
- func NewFunctionUpdatedV2Waiter(client GetFunctionAPIClient, optFns ...func(*FunctionUpdatedV2WaiterOptions)) *FunctionUpdatedV2Waiter
- func (w *FunctionUpdatedV2Waiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedV2WaiterOptions)) error
- func (w *FunctionUpdatedV2Waiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedV2WaiterOptions)) (*GetFunctionOutput, error)
- type FunctionUpdatedV2WaiterOptions
- type FunctionUpdatedWaiter
- func NewFunctionUpdatedWaiter(client GetFunctionConfigurationAPIClient, optFns ...func(*FunctionUpdatedWaiterOptions)) *FunctionUpdatedWaiter
- func (w *FunctionUpdatedWaiter) Wait(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedWaiterOptions)) error
- func (w *FunctionUpdatedWaiter) WaitForOutput(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedWaiterOptions)) (*GetFunctionConfigurationOutput, error)
- type FunctionUpdatedWaiterOptions
- type GetAccountSettingsInput
- type GetAccountSettingsOutput
- type GetAliasInput
- type GetAliasOutput
- type GetCodeSigningConfigInput
- type GetCodeSigningConfigOutput
- type GetEventSourceMappingInput
- type GetEventSourceMappingOutput
- type GetFunctionAPIClient
- type GetFunctionCodeSigningConfigInput
- type GetFunctionCodeSigningConfigOutput
- type GetFunctionConcurrencyInput
- type GetFunctionConcurrencyOutput
- type GetFunctionConfigurationAPIClient
- type GetFunctionConfigurationInput
- type GetFunctionConfigurationOutput
- type GetFunctionEventInvokeConfigInput
- type GetFunctionEventInvokeConfigOutput
- type GetFunctionInput
- type GetFunctionOutput
- type GetLayerVersionByArnInput
- type GetLayerVersionByArnOutput
- type GetLayerVersionInput
- type GetLayerVersionOutput
- type GetLayerVersionPolicyInput
- type GetLayerVersionPolicyOutput
- type GetPolicyInput
- type GetPolicyOutput
- type GetProvisionedConcurrencyConfigInput
- type GetProvisionedConcurrencyConfigOutput
- type HTTPClient
- type HTTPSignerV4
- type InvokeAsyncInput
- type InvokeAsyncOutput
- type InvokeInput
- type InvokeOutput
- type ListAliasesAPIClient
- type ListAliasesInput
- type ListAliasesOutput
- type ListAliasesPaginator
- func NewListAliasesPaginator(client ListAliasesAPIClient, params *ListAliasesInput, optFns ...func(*ListAliasesPaginatorOptions)) *ListAliasesPaginator
- func (p *ListAliasesPaginator) HasMorePages() bool
- func (p *ListAliasesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAliasesOutput, error)
- type ListAliasesPaginatorOptions
- type ListCodeSigningConfigsAPIClient
- type ListCodeSigningConfigsInput
- type ListCodeSigningConfigsOutput
- type ListCodeSigningConfigsPaginator
- func NewListCodeSigningConfigsPaginator(client ListCodeSigningConfigsAPIClient, params *ListCodeSigningConfigsInput, optFns ...func(*ListCodeSigningConfigsPaginatorOptions)) *ListCodeSigningConfigsPaginator
- func (p *ListCodeSigningConfigsPaginator) HasMorePages() bool
- func (p *ListCodeSigningConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCodeSigningConfigsOutput, error)
- type ListCodeSigningConfigsPaginatorOptions
- type ListEventSourceMappingsAPIClient
- type ListEventSourceMappingsInput
- type ListEventSourceMappingsOutput
- type ListEventSourceMappingsPaginator
- func NewListEventSourceMappingsPaginator(client ListEventSourceMappingsAPIClient, params *ListEventSourceMappingsInput, optFns ...func(*ListEventSourceMappingsPaginatorOptions)) *ListEventSourceMappingsPaginator
- func (p *ListEventSourceMappingsPaginator) HasMorePages() bool
- func (p *ListEventSourceMappingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEventSourceMappingsOutput, error)
- type ListEventSourceMappingsPaginatorOptions
- type ListFunctionEventInvokeConfigsAPIClient
- type ListFunctionEventInvokeConfigsInput
- type ListFunctionEventInvokeConfigsOutput
- type ListFunctionEventInvokeConfigsPaginator
- func NewListFunctionEventInvokeConfigsPaginator(client ListFunctionEventInvokeConfigsAPIClient, params *ListFunctionEventInvokeConfigsInput, optFns ...func(*ListFunctionEventInvokeConfigsPaginatorOptions)) *ListFunctionEventInvokeConfigsPaginator
- func (p *ListFunctionEventInvokeConfigsPaginator) HasMorePages() bool
- func (p *ListFunctionEventInvokeConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionEventInvokeConfigsOutput, error)
- type ListFunctionEventInvokeConfigsPaginatorOptions
- type ListFunctionsAPIClient
- type ListFunctionsByCodeSigningConfigAPIClient
- type ListFunctionsByCodeSigningConfigInput
- type ListFunctionsByCodeSigningConfigOutput
- type ListFunctionsByCodeSigningConfigPaginator
- func NewListFunctionsByCodeSigningConfigPaginator(client ListFunctionsByCodeSigningConfigAPIClient, params *ListFunctionsByCodeSigningConfigInput, optFns ...func(*ListFunctionsByCodeSigningConfigPaginatorOptions)) *ListFunctionsByCodeSigningConfigPaginator
- func (p *ListFunctionsByCodeSigningConfigPaginator) HasMorePages() bool
- func (p *ListFunctionsByCodeSigningConfigPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionsByCodeSigningConfigOutput, error)
- type ListFunctionsByCodeSigningConfigPaginatorOptions
- type ListFunctionsInput
- type ListFunctionsOutput
- type ListFunctionsPaginator
- func NewListFunctionsPaginator(client ListFunctionsAPIClient, params *ListFunctionsInput, optFns ...func(*ListFunctionsPaginatorOptions)) *ListFunctionsPaginator
- func (p *ListFunctionsPaginator) HasMorePages() bool
- func (p *ListFunctionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionsOutput, error)
- type ListFunctionsPaginatorOptions
- type ListLayerVersionsAPIClient
- type ListLayerVersionsInput
- type ListLayerVersionsOutput
- type ListLayerVersionsPaginator
- func NewListLayerVersionsPaginator(client ListLayerVersionsAPIClient, params *ListLayerVersionsInput, optFns ...func(*ListLayerVersionsPaginatorOptions)) *ListLayerVersionsPaginator
- func (p *ListLayerVersionsPaginator) HasMorePages() bool
- func (p *ListLayerVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLayerVersionsOutput, error)
- type ListLayerVersionsPaginatorOptions
- type ListLayersAPIClient
- type ListLayersInput
- type ListLayersOutput
- type ListLayersPaginator
- func NewListLayersPaginator(client ListLayersAPIClient, params *ListLayersInput, optFns ...func(*ListLayersPaginatorOptions)) *ListLayersPaginator
- func (p *ListLayersPaginator) HasMorePages() bool
- func (p *ListLayersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLayersOutput, error)
- type ListLayersPaginatorOptions
- type ListProvisionedConcurrencyConfigsAPIClient
- type ListProvisionedConcurrencyConfigsInput
- type ListProvisionedConcurrencyConfigsOutput
- type ListProvisionedConcurrencyConfigsPaginator
- func NewListProvisionedConcurrencyConfigsPaginator(client ListProvisionedConcurrencyConfigsAPIClient, params *ListProvisionedConcurrencyConfigsInput, optFns ...func(*ListProvisionedConcurrencyConfigsPaginatorOptions)) *ListProvisionedConcurrencyConfigsPaginator
- func (p *ListProvisionedConcurrencyConfigsPaginator) HasMorePages() bool
- func (p *ListProvisionedConcurrencyConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProvisionedConcurrencyConfigsOutput, error)
- type ListProvisionedConcurrencyConfigsPaginatorOptions
- type ListTagsInput
- type ListTagsOutput
- type ListVersionsByFunctionAPIClient
- type ListVersionsByFunctionInput
- type ListVersionsByFunctionOutput
- type ListVersionsByFunctionPaginator
- func NewListVersionsByFunctionPaginator(client ListVersionsByFunctionAPIClient, params *ListVersionsByFunctionInput, optFns ...func(*ListVersionsByFunctionPaginatorOptions)) *ListVersionsByFunctionPaginator
- func (p *ListVersionsByFunctionPaginator) HasMorePages() bool
- func (p *ListVersionsByFunctionPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVersionsByFunctionOutput, error)
- type ListVersionsByFunctionPaginatorOptions
- type Options
- type PublishLayerVersionInput
- type PublishLayerVersionOutput
- type PublishVersionInput
- type PublishVersionOutput
- type PutFunctionCodeSigningConfigInput
- type PutFunctionCodeSigningConfigOutput
- type PutFunctionConcurrencyInput
- type PutFunctionConcurrencyOutput
- type PutFunctionEventInvokeConfigInput
- type PutFunctionEventInvokeConfigOutput
- type PutProvisionedConcurrencyConfigInput
- type PutProvisionedConcurrencyConfigOutput
- type RemoveLayerVersionPermissionInput
- type RemoveLayerVersionPermissionOutput
- type RemovePermissionInput
- type RemovePermissionOutput
- type ResolveEndpoint
- func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
- func (*ResolveEndpoint) ID() string
- type TagResourceInput
- type TagResourceOutput
- type UntagResourceInput
- type UntagResourceOutput
- type UpdateAliasInput
- type UpdateAliasOutput
- type UpdateCodeSigningConfigInput
- type UpdateCodeSigningConfigOutput
- type UpdateEventSourceMappingInput
- type UpdateEventSourceMappingOutput
- type UpdateFunctionCodeInput
- type UpdateFunctionCodeOutput
- type UpdateFunctionConfigurationInput
- type UpdateFunctionConfigurationOutput
- type UpdateFunctionEventInvokeConfigInput
- type UpdateFunctionEventInvokeConfigOutput
Constants ¶
const ServiceAPIVersion = "2015-03-31"
const ServiceID = "Lambda"
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type AddLayerVersionPermissionInput ¶
type AddLayerVersionPermissionInput struct { // The API action that grants access to the layer. For example, // lambda:GetLayerVersion. // // This member is required. Action *string // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *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. // // This member is required. Principal *string // An identifier that distinguishes the policy from others on the same layer // version. // // This member is required. StatementId *string // The version number. // // This member is required. VersionNumber int64 // With the principal set to *, grant permission to all accounts in the specified // organization. OrganizationId *string // 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 // contains filtered or unexported fields }
type AddLayerVersionPermissionOutput ¶
type AddLayerVersionPermissionOutput struct { // A unique identifier for the current revision of the policy. RevisionId *string // The permission statement. Statement *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type AddPermissionInput ¶
type AddPermissionInput struct { // The action that the principal can use on the function. For example, // lambda:InvokeFunction or lambda:GetFunction. // // This member is required. Action *string // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // The Amazon Web Services service or account that invokes the function. If you // specify a service, use SourceArn or SourceAccount to limit who can invoke the // function through that service. // // This member is required. Principal *string // A statement identifier that differentiates the statement from others in the same // policy. // // This member is required. StatementId *string // For Alexa Smart Home functions, a token that must be supplied by the invoker. EventSourceToken *string // The identifier for your organization in Organizations. Use this to grant // permissions to all the Amazon Web Services accounts under this organization. PrincipalOrgID *string // Specify a version or alias to add permissions to a published version of the // function. Qualifier *string // Only update the policy if the revision ID matches the ID that's specified. Use // this option to avoid modifying a policy that has changed since you last read it. RevisionId *string // For Amazon S3, the ID of the account that owns the resource. Use this together // with SourceArn to ensure that the resource is owned by the specified account. It // is possible for an Amazon S3 bucket to be deleted by its owner and recreated by // another account. SourceAccount *string // For Amazon Web Services 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 // contains filtered or unexported fields }
type AddPermissionOutput ¶
type AddPermissionOutput struct { // The permission statement that's added to the function policy. Statement *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS Lambda.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) AddLayerVersionPermission ¶
func (c *Client) AddLayerVersionPermission(ctx context.Context, params *AddLayerVersionPermissionInput, optFns ...func(*Options)) (*AddLayerVersionPermissionOutput, error)
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.
func (*Client) AddPermission ¶
func (c *Client) AddPermission(ctx context.Context, params *AddPermissionInput, optFns ...func(*Options)) (*AddPermissionOutput, error)
Grants an Amazon Web Services service, account, or 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 services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services 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 action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies (https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html).
func (*Client) CreateAlias ¶
func (c *Client) CreateAlias(ctx context.Context, params *CreateAliasInput, optFns ...func(*Options)) (*CreateAliasOutput, error)
Creates an alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-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.
func (*Client) CreateCodeSigningConfig ¶
func (c *Client) CreateCodeSigningConfig(ctx context.Context, params *CreateCodeSigningConfigInput, optFns ...func(*Options)) (*CreateCodeSigningConfigOutput, error)
Creates a code signing configuration. A code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html) defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
func (*Client) CreateEventSourceMapping ¶
func (c *Client) CreateEventSourceMapping(ctx context.Context, params *CreateEventSourceMappingInput, optFns ...func(*Options)) (*CreateEventSourceMappingOutput, error)
Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers 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)
The following error handling options are only available 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)
func (*Client) CreateFunction ¶
func (c *Client) CreateFunction(ctx context.Context, params *CreateFunctionInput, optFns ...func(*Options)) (*CreateFunctionOutput, error)
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 services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html). 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. You set the package type to Zip if the deployment package is a .zip file archive (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-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, 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 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 set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based 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 services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions (https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html).
func (*Client) DeleteAlias ¶
func (c *Client) DeleteAlias(ctx context.Context, params *DeleteAliasInput, optFns ...func(*Options)) (*DeleteAliasOutput, error)
Deletes a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
func (*Client) DeleteCodeSigningConfig ¶
func (c *Client) DeleteCodeSigningConfig(ctx context.Context, params *DeleteCodeSigningConfigInput, optFns ...func(*Options)) (*DeleteCodeSigningConfigOutput, error)
Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.
func (*Client) DeleteEventSourceMapping ¶
func (c *Client) DeleteEventSourceMapping(ctx context.Context, params *DeleteEventSourceMappingInput, optFns ...func(*Options)) (*DeleteEventSourceMappingOutput, error)
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.
func (*Client) DeleteFunction ¶
func (c *Client) DeleteFunction(ctx context.Context, params *DeleteFunctionInput, optFns ...func(*Options)) (*DeleteFunctionOutput, error)
Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted. To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.
func (*Client) DeleteFunctionCodeSigningConfig ¶
func (c *Client) DeleteFunctionCodeSigningConfig(ctx context.Context, params *DeleteFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*DeleteFunctionCodeSigningConfigOutput, error)
Removes the code signing configuration from the function.
func (*Client) DeleteFunctionConcurrency ¶
func (c *Client) DeleteFunctionConcurrency(ctx context.Context, params *DeleteFunctionConcurrencyInput, optFns ...func(*Options)) (*DeleteFunctionConcurrencyOutput, error)
Removes a concurrent execution limit from a function.
func (*Client) DeleteFunctionEventInvokeConfig ¶
func (c *Client) DeleteFunctionEventInvokeConfig(ctx context.Context, params *DeleteFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*DeleteFunctionEventInvokeConfigOutput, error)
Deletes the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
func (*Client) DeleteLayerVersion ¶
func (c *Client) DeleteLayerVersion(ctx context.Context, params *DeleteLayerVersionInput, optFns ...func(*Options)) (*DeleteLayerVersionOutput, error)
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.
func (*Client) DeleteProvisionedConcurrencyConfig ¶
func (c *Client) DeleteProvisionedConcurrencyConfig(ctx context.Context, params *DeleteProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*DeleteProvisionedConcurrencyConfigOutput, error)
Deletes the provisioned concurrency configuration for a function.
func (*Client) GetAccountSettings ¶
func (c *Client) GetAccountSettings(ctx context.Context, params *GetAccountSettingsInput, optFns ...func(*Options)) (*GetAccountSettingsOutput, error)
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.
func (*Client) GetAlias ¶
func (c *Client) GetAlias(ctx context.Context, params *GetAliasInput, optFns ...func(*Options)) (*GetAliasOutput, error)
Returns details about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
func (*Client) GetCodeSigningConfig ¶
func (c *Client) GetCodeSigningConfig(ctx context.Context, params *GetCodeSigningConfigInput, optFns ...func(*Options)) (*GetCodeSigningConfigOutput, error)
Returns information about the specified code signing configuration.
func (*Client) GetEventSourceMapping ¶
func (c *Client) GetEventSourceMapping(ctx context.Context, params *GetEventSourceMappingInput, optFns ...func(*Options)) (*GetEventSourceMappingOutput, error)
Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
func (*Client) GetFunction ¶
func (c *Client) GetFunction(ctx context.Context, params *GetFunctionInput, optFns ...func(*Options)) (*GetFunctionOutput, error)
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.
func (*Client) GetFunctionCodeSigningConfig ¶
func (c *Client) GetFunctionCodeSigningConfig(ctx context.Context, params *GetFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*GetFunctionCodeSigningConfigOutput, error)
Returns the code signing configuration for the specified function.
func (*Client) GetFunctionConcurrency ¶
func (c *Client) GetFunctionConcurrency(ctx context.Context, params *GetFunctionConcurrencyInput, optFns ...func(*Options)) (*GetFunctionConcurrencyOutput, error)
Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.
func (*Client) GetFunctionConfiguration ¶
func (c *Client) GetFunctionConfiguration(ctx context.Context, params *GetFunctionConfigurationInput, optFns ...func(*Options)) (*GetFunctionConfigurationOutput, error)
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.
func (*Client) GetFunctionEventInvokeConfig ¶
func (c *Client) GetFunctionEventInvokeConfig(ctx context.Context, params *GetFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*GetFunctionEventInvokeConfigOutput, error)
Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
func (*Client) GetLayerVersion ¶
func (c *Client) GetLayerVersion(ctx context.Context, params *GetLayerVersionInput, optFns ...func(*Options)) (*GetLayerVersionOutput, error)
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.
func (*Client) GetLayerVersionByArn ¶
func (c *Client) GetLayerVersionByArn(ctx context.Context, params *GetLayerVersionByArnInput, optFns ...func(*Options)) (*GetLayerVersionByArnOutput, error)
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.
func (*Client) GetLayerVersionPolicy ¶
func (c *Client) GetLayerVersionPolicy(ctx context.Context, params *GetLayerVersionPolicyInput, optFns ...func(*Options)) (*GetLayerVersionPolicyOutput, error)
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.
func (*Client) GetPolicy ¶
func (c *Client) GetPolicy(ctx context.Context, params *GetPolicyInput, optFns ...func(*Options)) (*GetPolicyOutput, error)
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.
func (*Client) GetProvisionedConcurrencyConfig ¶
func (c *Client) GetProvisionedConcurrencyConfig(ctx context.Context, params *GetProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*GetProvisionedConcurrencyConfigOutput, error)
Retrieves the provisioned concurrency configuration for a function's alias or version.
func (*Client) Invoke ¶
func (c *Client) Invoke(ctx context.Context, params *InvokeInput, optFns ...func(*Options)) (*InvokeOutput, error)
Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event. 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 Retry Behavior (https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.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#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, limit errors (https://docs.aws.amazon.com/lambda/latest/dg/limits.html), or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if executing 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 be disconnected 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.
func (*Client) InvokeAsync ¶
func (c *Client) InvokeAsync(ctx context.Context, params *InvokeAsyncInput, optFns ...func(*Options)) (*InvokeAsyncOutput, error)
For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
Deprecated: This operation has been deprecated.
func (*Client) ListAliases ¶
func (c *Client) ListAliases(ctx context.Context, params *ListAliasesInput, optFns ...func(*Options)) (*ListAliasesOutput, error)
Returns a list of aliases (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html) for a Lambda function.
func (*Client) ListCodeSigningConfigs ¶
func (c *Client) ListCodeSigningConfigs(ctx context.Context, params *ListCodeSigningConfigsInput, optFns ...func(*Options)) (*ListCodeSigningConfigsOutput, error)
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.
func (*Client) ListEventSourceMappings ¶
func (c *Client) ListEventSourceMappings(ctx context.Context, params *ListEventSourceMappingsInput, optFns ...func(*Options)) (*ListEventSourceMappingsOutput, error)
Lists event source mappings. Specify an EventSourceArn to only show event source mappings for a single event source.
func (*Client) ListFunctionEventInvokeConfigs ¶
func (c *Client) ListFunctionEventInvokeConfigs(ctx context.Context, params *ListFunctionEventInvokeConfigsInput, optFns ...func(*Options)) (*ListFunctionEventInvokeConfigsOutput, error)
Retrieves a list of configurations for asynchronous invocation for a function. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
func (*Client) ListFunctions ¶
func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsInput, optFns ...func(*Options)) (*ListFunctionsOutput, error)
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 action returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.
func (*Client) ListFunctionsByCodeSigningConfig ¶
func (c *Client) ListFunctionsByCodeSigningConfig(ctx context.Context, params *ListFunctionsByCodeSigningConfigInput, optFns ...func(*Options)) (*ListFunctionsByCodeSigningConfigOutput, error)
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.
func (*Client) ListLayerVersions ¶
func (c *Client) ListLayerVersions(ctx context.Context, params *ListLayerVersionsInput, optFns ...func(*Options)) (*ListLayerVersionsOutput, error)
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.
func (*Client) ListLayers ¶
func (c *Client) ListLayers(ctx context.Context, params *ListLayersInput, optFns ...func(*Options)) (*ListLayersOutput, error)
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).
func (*Client) ListProvisionedConcurrencyConfigs ¶
func (c *Client) ListProvisionedConcurrencyConfigs(ctx context.Context, params *ListProvisionedConcurrencyConfigsInput, optFns ...func(*Options)) (*ListProvisionedConcurrencyConfigsOutput, error)
Retrieves a list of provisioned concurrency configurations for a function.
func (*Client) ListTags ¶
func (c *Client) ListTags(ctx context.Context, params *ListTagsInput, optFns ...func(*Options)) (*ListTagsOutput, error)
Returns a function's tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). You can also view tags with GetFunction.
func (*Client) ListVersionsByFunction ¶
func (c *Client) ListVersionsByFunction(ctx context.Context, params *ListVersionsByFunctionInput, optFns ...func(*Options)) (*ListVersionsByFunctionOutput, error)
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.
func (*Client) PublishLayerVersion ¶
func (c *Client) PublishLayerVersion(ctx context.Context, params *PublishLayerVersionInput, optFns ...func(*Options)) (*PublishLayerVersionOutput, error)
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.
func (*Client) PublishVersion ¶
func (c *Client) PublishVersion(ctx context.Context, params *PublishVersionInput, optFns ...func(*Options)) (*PublishVersionOutput, error)
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.
func (*Client) PutFunctionCodeSigningConfig ¶
func (c *Client) PutFunctionCodeSigningConfig(ctx context.Context, params *PutFunctionCodeSigningConfigInput, optFns ...func(*Options)) (*PutFunctionCodeSigningConfigOutput, error)
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.
func (*Client) PutFunctionConcurrency ¶
func (c *Client) PutFunctionConcurrency(ctx context.Context, params *PutFunctionConcurrencyInput, optFns ...func(*Options)) (*PutFunctionConcurrencyOutput, error)
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 Managing Concurrency (https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html).
func (*Client) PutFunctionEventInvokeConfig ¶
func (c *Client) PutFunctionEventInvokeConfig(ctx context.Context, params *PutFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*PutFunctionEventInvokeConfigOutput, error)
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.
func (*Client) PutProvisionedConcurrencyConfig ¶
func (c *Client) PutProvisionedConcurrencyConfig(ctx context.Context, params *PutProvisionedConcurrencyConfigInput, optFns ...func(*Options)) (*PutProvisionedConcurrencyConfigOutput, error)
Adds a provisioned concurrency configuration to a function's alias or version.
func (*Client) RemoveLayerVersionPermission ¶
func (c *Client) RemoveLayerVersionPermission(ctx context.Context, params *RemoveLayerVersionPermissionInput, optFns ...func(*Options)) (*RemoveLayerVersionPermissionOutput, error)
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.
func (*Client) RemovePermission ¶
func (c *Client) RemovePermission(ctx context.Context, params *RemovePermissionInput, optFns ...func(*Options)) (*RemovePermissionOutput, error)
Revokes function-use permission from an Amazon Web Services service or another account. You can get the ID of the statement from the output of GetPolicy.
func (*Client) TagResource ¶
func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)
Adds tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to a function.
func (*Client) UntagResource ¶
func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)
Removes tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) from a function.
func (*Client) UpdateAlias ¶
func (c *Client) UpdateAlias(ctx context.Context, params *UpdateAliasInput, optFns ...func(*Options)) (*UpdateAliasOutput, error)
Updates the configuration of a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
func (*Client) UpdateCodeSigningConfig ¶
func (c *Client) UpdateCodeSigningConfig(ctx context.Context, params *UpdateCodeSigningConfigInput, optFns ...func(*Options)) (*UpdateCodeSigningConfigOutput, error)
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.
func (*Client) UpdateEventSourceMapping ¶
func (c *Client) UpdateEventSourceMapping(ctx context.Context, params *UpdateEventSourceMappingInput, optFns ...func(*Options)) (*UpdateEventSourceMappingOutput, error)
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)
The following error handling options are only available 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)
func (*Client) UpdateFunctionCode ¶
func (c *Client) UpdateFunctionCode(ctx context.Context, params *UpdateFunctionCodeInput, optFns ...func(*Options)) (*UpdateFunctionCodeOutput, error)
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 (https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html). If the function's package type is Image, 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, 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.
func (*Client) UpdateFunctionConfiguration ¶
func (c *Client) UpdateFunctionConfiguration(ctx context.Context, params *UpdateFunctionConfigurationInput, optFns ...func(*Options)) (*UpdateFunctionConfigurationOutput, error)
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 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 account or Amazon Web Services service, use AddPermission.
func (*Client) UpdateFunctionEventInvokeConfig ¶
func (c *Client) UpdateFunctionEventInvokeConfig(ctx context.Context, params *UpdateFunctionEventInvokeConfigInput, optFns ...func(*Options)) (*UpdateFunctionEventInvokeConfigOutput, error)
Updates the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
type CreateAliasInput ¶
type CreateAliasInput struct { // The name 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. // // This member is required. FunctionName *string // The function version that the alias invokes. // // This member is required. FunctionVersion *string // The name of the alias. // // This member is required. Name *string // A description of the alias. Description *string // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) // of the alias. RoutingConfig *types.AliasRoutingConfiguration // contains filtered or unexported fields }
type CreateAliasOutput ¶
type CreateAliasOutput struct { // The Amazon Resource Name (ARN) of the alias. AliasArn *string // A description of the alias. Description *string // The function version that the alias invokes. FunctionVersion *string // The name of the alias. Name *string // A unique identifier that changes when you update the alias. RevisionId *string // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *types.AliasRoutingConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
type CreateCodeSigningConfigInput ¶
type CreateCodeSigningConfigInput struct { // Signing profiles for this code signing configuration. // // This member is required. AllowedPublishers *types.AllowedPublishers // The code signing policies define the actions to take if the validation checks // fail. CodeSigningPolicies *types.CodeSigningPolicies // Descriptive name for this code signing configuration. Description *string // contains filtered or unexported fields }
type CreateCodeSigningConfigOutput ¶
type CreateCodeSigningConfigOutput struct { // The code signing configuration. // // This member is required. CodeSigningConfig *types.CodeSigningConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateEventSourceMappingInput ¶
type CreateEventSourceMappingInput struct { // The name 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. // // This member is required. FunctionName *string // 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 1,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. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // When true, the event source mapping is active. When false, Lambda pauses polling // and invocation. Default: True Enabled *bool // 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. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // (Streams and Amazon SQS) A list of current response type enums applied to the // event source mapping. FunctionResponseTypes []types.FunctionResponseType // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is infinite (-1). MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is infinite (-1). When set to infinite (-1), failed records will // be retried until the record expires. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process from each shard concurrently. ParallelizationFactor *int32 // (MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The Self-Managed Apache Kafka cluster to send records. SelfManagedEventSource *types.SelfManagedEventSource // An array of authentication protocols or VPC components required to secure your // event source. SourceAccessConfigurations []types.SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. AT_TIMESTAMP is only // supported for Amazon Kinesis streams. StartingPosition types.EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // between 1 second up to 900 seconds. TumblingWindowInSeconds *int32 // contains filtered or unexported fields }
type CreateEventSourceMappingOutput ¶
type CreateEventSourceMappingOutput 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). Default value: Varies by service. For Amazon SQS, the default // is 10. For all other services, the default is 100. Related setting: When you set // BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. The default value is false. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // The ARN of the Lambda function. FunctionArn *string // (Streams only) A list of current response type enums applied to the event source // mapping. FunctionResponseTypes []types.FunctionResponseType // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time // The result of the last Lambda invocation of your function. LastProcessingResult *string // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is -1, which sets the maximum age to infinite. When the value is set to // infinite, Lambda never discards old records. MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is -1, which sets the maximum number of retries to infinite. When // MaximumRetryAttempts is infinite, Lambda retries failed records until the record // expires in the event source. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process concurrently from each shard. // The default value is 1. ParallelizationFactor *int32 // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *types.SelfManagedEventSource // An array of the authentication protocol, VPC components, or virtual host to // secure and define your event source. SourceAccessConfigurations []types.SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition types.EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // 1–900 seconds. TumblingWindowInSeconds *int32 // The identifier of the event source mapping. UUID *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
type CreateFunctionInput ¶
type CreateFunctionInput struct { // The code for the function. // // This member is required. Code *types.FunctionCode // The name 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. // // This member is required. FunctionName *string // The Amazon Resource Name (ARN) of the function's execution role. // // This member is required. Role *string // 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 []types.Architecture // 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 // 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#dlq). DeadLetterConfig *types.DeadLetterConfig // A description of the function. Description *string // Environment variables that are accessible from function code during execution. Environment *types.Environment // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system. FileSystemConfigs []types.FileSystemConfig // The name of the method within your code that Lambda calls to execute 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 Programming // Model (https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html). Handler *string // Container image configuration values // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-images.html#configuration-images-settings) // that override the values in the container image Dockerfile. ImageConfig *types.ImageConfig // The ARN of the Amazon Web Services Key Management Service (KMS) key that's used // to encrypt your function's environment variables. If it's not provided, Lambda // uses a default service key. KMSKeyArn *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 // The amount of memory available to the function // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) 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 *int32 // The type of deployment package. Set to Image for container image and set Zip for // ZIP archive. PackageType types.PackageType // Set to true to publish the first version of the function during creation. Publish bool // 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. Runtime types.Runtime // A list of tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html) to // apply to the function. Tags map[string]string // 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 additional information, see Lambda execution environment // (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int32 // 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 *types.TracingConfig // 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 only access resources and the internet through that VPC. For more // information, see VPC Settings // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type CreateFunctionOutput ¶
type CreateFunctionOutput 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 []types.Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *types.DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *types.EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []types.FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *types.ImageConfigResponse // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed key. KMSKeyArn *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus types.LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode types.LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []types.Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType types.PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime types.Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State types.State // The reason for the function's current state. StateReason *string // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode types.StateReasonCode // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *types.TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *types.VpcConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Details about a function's configuration.
type DeleteAliasInput ¶
type DeleteAliasInput struct { // The name 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. // // This member is required. FunctionName *string // The name of the alias. // // This member is required. Name *string // contains filtered or unexported fields }
type DeleteAliasOutput ¶
type DeleteAliasOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteCodeSigningConfigInput ¶
type DeleteCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // contains filtered or unexported fields }
type DeleteCodeSigningConfigOutput ¶
type DeleteCodeSigningConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteEventSourceMappingInput ¶
type DeleteEventSourceMappingInput struct { // The identifier of the event source mapping. // // This member is required. UUID *string // contains filtered or unexported fields }
type DeleteEventSourceMappingOutput ¶
type DeleteEventSourceMappingOutput 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). Default value: Varies by service. For Amazon SQS, the default // is 10. For all other services, the default is 100. Related setting: When you set // BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. The default value is false. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // The ARN of the Lambda function. FunctionArn *string // (Streams only) A list of current response type enums applied to the event source // mapping. FunctionResponseTypes []types.FunctionResponseType // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time // The result of the last Lambda invocation of your function. LastProcessingResult *string // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is -1, which sets the maximum age to infinite. When the value is set to // infinite, Lambda never discards old records. MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is -1, which sets the maximum number of retries to infinite. When // MaximumRetryAttempts is infinite, Lambda retries failed records until the record // expires in the event source. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process concurrently from each shard. // The default value is 1. ParallelizationFactor *int32 // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *types.SelfManagedEventSource // An array of the authentication protocol, VPC components, or virtual host to // secure and define your event source. SourceAccessConfigurations []types.SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition types.EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // 1–900 seconds. TumblingWindowInSeconds *int32 // The identifier of the event source mapping. UUID *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
type DeleteFunctionCodeSigningConfigInput ¶
type DeleteFunctionCodeSigningConfigInput struct { // The name 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. // // This member is required. FunctionName *string // contains filtered or unexported fields }
type DeleteFunctionCodeSigningConfigOutput ¶
type DeleteFunctionCodeSigningConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFunctionConcurrencyInput ¶
type DeleteFunctionConcurrencyInput struct { // The name 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. // // This member is required. FunctionName *string // contains filtered or unexported fields }
type DeleteFunctionConcurrencyOutput ¶
type DeleteFunctionConcurrencyOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFunctionEventInvokeConfigInput ¶
type DeleteFunctionEventInvokeConfigInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // A version number or alias name. Qualifier *string // contains filtered or unexported fields }
type DeleteFunctionEventInvokeConfigOutput ¶
type DeleteFunctionEventInvokeConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteFunctionInput ¶
type DeleteFunctionInput struct { // The name 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. // // This member is required. FunctionName *string // Specify a version to delete. You can't delete a version that's referenced by an // alias. Qualifier *string // contains filtered or unexported fields }
type DeleteFunctionOutput ¶
type DeleteFunctionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteLayerVersionInput ¶
type DeleteLayerVersionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // The version number. // // This member is required. VersionNumber int64 // contains filtered or unexported fields }
type DeleteLayerVersionOutput ¶
type DeleteLayerVersionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteProvisionedConcurrencyConfigInput ¶
type DeleteProvisionedConcurrencyConfigInput struct { // The name 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. // // This member is required. FunctionName *string // The version number or alias name. // // This member is required. Qualifier *string // contains filtered or unexported fields }
type DeleteProvisionedConcurrencyConfigOutput ¶
type DeleteProvisionedConcurrencyConfigOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface { ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error) }
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type FunctionActiveV2Waiter ¶
type FunctionActiveV2Waiter struct {
// contains filtered or unexported fields
}
FunctionActiveV2Waiter defines the waiters for FunctionActiveV2
func NewFunctionActiveV2Waiter ¶
func NewFunctionActiveV2Waiter(client GetFunctionAPIClient, optFns ...func(*FunctionActiveV2WaiterOptions)) *FunctionActiveV2Waiter
NewFunctionActiveV2Waiter constructs a FunctionActiveV2Waiter.
func (*FunctionActiveV2Waiter) Wait ¶
func (w *FunctionActiveV2Waiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveV2WaiterOptions)) error
Wait calls the waiter function for FunctionActiveV2 waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FunctionActiveV2Waiter) WaitForOutput ¶
func (w *FunctionActiveV2Waiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveV2WaiterOptions)) (*GetFunctionOutput, error)
WaitForOutput calls the waiter function for FunctionActiveV2 waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FunctionActiveV2WaiterOptions ¶
type FunctionActiveV2WaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FunctionActiveV2Waiter will use default minimum delay of 1 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, FunctionActiveV2Waiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFunctionInput, *GetFunctionOutput, error) (bool, error) }
FunctionActiveV2WaiterOptions are waiter options for FunctionActiveV2Waiter
type FunctionActiveWaiter ¶
type FunctionActiveWaiter struct {
// contains filtered or unexported fields
}
FunctionActiveWaiter defines the waiters for FunctionActive
func NewFunctionActiveWaiter ¶
func NewFunctionActiveWaiter(client GetFunctionConfigurationAPIClient, optFns ...func(*FunctionActiveWaiterOptions)) *FunctionActiveWaiter
NewFunctionActiveWaiter constructs a FunctionActiveWaiter.
func (*FunctionActiveWaiter) Wait ¶
func (w *FunctionActiveWaiter) Wait(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveWaiterOptions)) error
Wait calls the waiter function for FunctionActive waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FunctionActiveWaiter) WaitForOutput ¶
func (w *FunctionActiveWaiter) WaitForOutput(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionActiveWaiterOptions)) (*GetFunctionConfigurationOutput, error)
WaitForOutput calls the waiter function for FunctionActive waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FunctionActiveWaiterOptions ¶
type FunctionActiveWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FunctionActiveWaiter will use default minimum delay of 5 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, FunctionActiveWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFunctionConfigurationInput, *GetFunctionConfigurationOutput, error) (bool, error) }
FunctionActiveWaiterOptions are waiter options for FunctionActiveWaiter
type FunctionExistsWaiter ¶
type FunctionExistsWaiter struct {
// contains filtered or unexported fields
}
FunctionExistsWaiter defines the waiters for FunctionExists
func NewFunctionExistsWaiter ¶
func NewFunctionExistsWaiter(client GetFunctionAPIClient, optFns ...func(*FunctionExistsWaiterOptions)) *FunctionExistsWaiter
NewFunctionExistsWaiter constructs a FunctionExistsWaiter.
func (*FunctionExistsWaiter) Wait ¶
func (w *FunctionExistsWaiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionExistsWaiterOptions)) error
Wait calls the waiter function for FunctionExists waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FunctionExistsWaiter) WaitForOutput ¶
func (w *FunctionExistsWaiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionExistsWaiterOptions)) (*GetFunctionOutput, error)
WaitForOutput calls the waiter function for FunctionExists waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FunctionExistsWaiterOptions ¶
type FunctionExistsWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FunctionExistsWaiter will use default minimum delay of 1 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, FunctionExistsWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFunctionInput, *GetFunctionOutput, error) (bool, error) }
FunctionExistsWaiterOptions are waiter options for FunctionExistsWaiter
type FunctionUpdatedV2Waiter ¶
type FunctionUpdatedV2Waiter struct {
// contains filtered or unexported fields
}
FunctionUpdatedV2Waiter defines the waiters for FunctionUpdatedV2
func NewFunctionUpdatedV2Waiter ¶
func NewFunctionUpdatedV2Waiter(client GetFunctionAPIClient, optFns ...func(*FunctionUpdatedV2WaiterOptions)) *FunctionUpdatedV2Waiter
NewFunctionUpdatedV2Waiter constructs a FunctionUpdatedV2Waiter.
func (*FunctionUpdatedV2Waiter) Wait ¶
func (w *FunctionUpdatedV2Waiter) Wait(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedV2WaiterOptions)) error
Wait calls the waiter function for FunctionUpdatedV2 waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FunctionUpdatedV2Waiter) WaitForOutput ¶
func (w *FunctionUpdatedV2Waiter) WaitForOutput(ctx context.Context, params *GetFunctionInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedV2WaiterOptions)) (*GetFunctionOutput, error)
WaitForOutput calls the waiter function for FunctionUpdatedV2 waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FunctionUpdatedV2WaiterOptions ¶
type FunctionUpdatedV2WaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FunctionUpdatedV2Waiter will use default minimum delay of 1 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, FunctionUpdatedV2Waiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFunctionInput, *GetFunctionOutput, error) (bool, error) }
FunctionUpdatedV2WaiterOptions are waiter options for FunctionUpdatedV2Waiter
type FunctionUpdatedWaiter ¶
type FunctionUpdatedWaiter struct {
// contains filtered or unexported fields
}
FunctionUpdatedWaiter defines the waiters for FunctionUpdated
func NewFunctionUpdatedWaiter ¶
func NewFunctionUpdatedWaiter(client GetFunctionConfigurationAPIClient, optFns ...func(*FunctionUpdatedWaiterOptions)) *FunctionUpdatedWaiter
NewFunctionUpdatedWaiter constructs a FunctionUpdatedWaiter.
func (*FunctionUpdatedWaiter) Wait ¶
func (w *FunctionUpdatedWaiter) Wait(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedWaiterOptions)) error
Wait calls the waiter function for FunctionUpdated waiter. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
func (*FunctionUpdatedWaiter) WaitForOutput ¶
func (w *FunctionUpdatedWaiter) WaitForOutput(ctx context.Context, params *GetFunctionConfigurationInput, maxWaitDur time.Duration, optFns ...func(*FunctionUpdatedWaiterOptions)) (*GetFunctionConfigurationOutput, error)
WaitForOutput calls the waiter function for FunctionUpdated waiter and returns the output of the successful operation. The maxWaitDur is the maximum wait duration the waiter will wait. The maxWaitDur is required and must be greater than zero.
type FunctionUpdatedWaiterOptions ¶
type FunctionUpdatedWaiterOptions struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // MinDelay is the minimum amount of time to delay between retries. If unset, // FunctionUpdatedWaiter will use default minimum delay of 5 seconds. Note that // MinDelay must resolve to a value lesser than or equal to the MaxDelay. MinDelay time.Duration // MaxDelay is the maximum amount of time to delay between retries. If unset or set // to zero, FunctionUpdatedWaiter will use default max delay of 120 seconds. Note // that MaxDelay must resolve to value greater than or equal to the MinDelay. MaxDelay time.Duration // LogWaitAttempts is used to enable logging for waiter retry attempts LogWaitAttempts bool // Retryable is function that can be used to override the service defined // waiter-behavior based on operation output, or returned error. This function is // used by the waiter to decide if a state is retryable or a terminal state. By // default service-modeled logic will populate this option. This option can thus be // used to define a custom waiter state with fall-back to service-modeled waiter // state mutators.The function returns an error in case of a failure state. In case // of retry state, this function returns a bool value of true and nil error, while // in case of success it returns a bool value of false and nil error. Retryable func(context.Context, *GetFunctionConfigurationInput, *GetFunctionConfigurationOutput, error) (bool, error) }
FunctionUpdatedWaiterOptions are waiter options for FunctionUpdatedWaiter
type GetAccountSettingsInput ¶
type GetAccountSettingsInput struct {
// contains filtered or unexported fields
}
type GetAccountSettingsOutput ¶
type GetAccountSettingsOutput struct { // Limits that are related to concurrency and code storage. AccountLimit *types.AccountLimit // The number of functions and amount of storage in use. AccountUsage *types.AccountUsage // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetAliasInput ¶
type GetAliasInput struct { // The name 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. // // This member is required. FunctionName *string // The name of the alias. // // This member is required. Name *string // contains filtered or unexported fields }
type GetAliasOutput ¶
type GetAliasOutput struct { // The Amazon Resource Name (ARN) of the alias. AliasArn *string // A description of the alias. Description *string // The function version that the alias invokes. FunctionVersion *string // The name of the alias. Name *string // A unique identifier that changes when you update the alias. RevisionId *string // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *types.AliasRoutingConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
type GetCodeSigningConfigInput ¶
type GetCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // contains filtered or unexported fields }
type GetCodeSigningConfigOutput ¶
type GetCodeSigningConfigOutput struct { // The code signing configuration // // This member is required. CodeSigningConfig *types.CodeSigningConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetEventSourceMappingInput ¶
type GetEventSourceMappingInput struct { // The identifier of the event source mapping. // // This member is required. UUID *string // contains filtered or unexported fields }
type GetEventSourceMappingOutput ¶
type GetEventSourceMappingOutput 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). Default value: Varies by service. For Amazon SQS, the default // is 10. For all other services, the default is 100. Related setting: When you set // BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. The default value is false. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // The ARN of the Lambda function. FunctionArn *string // (Streams only) A list of current response type enums applied to the event source // mapping. FunctionResponseTypes []types.FunctionResponseType // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time // The result of the last Lambda invocation of your function. LastProcessingResult *string // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is -1, which sets the maximum age to infinite. When the value is set to // infinite, Lambda never discards old records. MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is -1, which sets the maximum number of retries to infinite. When // MaximumRetryAttempts is infinite, Lambda retries failed records until the record // expires in the event source. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process concurrently from each shard. // The default value is 1. ParallelizationFactor *int32 // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *types.SelfManagedEventSource // An array of the authentication protocol, VPC components, or virtual host to // secure and define your event source. SourceAccessConfigurations []types.SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition types.EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // 1–900 seconds. TumblingWindowInSeconds *int32 // The identifier of the event source mapping. UUID *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
type GetFunctionAPIClient ¶
type GetFunctionAPIClient interface { GetFunction(context.Context, *GetFunctionInput, ...func(*Options)) (*GetFunctionOutput, error) }
GetFunctionAPIClient is a client that implements the GetFunction operation.
type GetFunctionCodeSigningConfigInput ¶
type GetFunctionCodeSigningConfigInput struct { // The name 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. // // This member is required. FunctionName *string // contains filtered or unexported fields }
type GetFunctionCodeSigningConfigOutput ¶
type GetFunctionCodeSigningConfigOutput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // The name 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. // // This member is required. FunctionName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFunctionConcurrencyInput ¶
type GetFunctionConcurrencyInput struct { // The name 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. // // This member is required. FunctionName *string // contains filtered or unexported fields }
type GetFunctionConcurrencyOutput ¶
type GetFunctionConcurrencyOutput struct { // The number of simultaneous executions that are reserved for the function. ReservedConcurrentExecutions *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFunctionConfigurationAPIClient ¶
type GetFunctionConfigurationAPIClient interface { GetFunctionConfiguration(context.Context, *GetFunctionConfigurationInput, ...func(*Options)) (*GetFunctionConfigurationOutput, error) }
GetFunctionConfigurationAPIClient is a client that implements the GetFunctionConfiguration operation.
type GetFunctionConfigurationInput ¶
type GetFunctionConfigurationInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // Specify a version or alias to get details about a published version of the // function. Qualifier *string // contains filtered or unexported fields }
type GetFunctionConfigurationOutput ¶
type GetFunctionConfigurationOutput 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 []types.Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *types.DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *types.EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []types.FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *types.ImageConfigResponse // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed key. KMSKeyArn *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus types.LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode types.LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []types.Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType types.PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime types.Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State types.State // The reason for the function's current state. StateReason *string // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode types.StateReasonCode // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *types.TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *types.VpcConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Details about a function's configuration.
type GetFunctionEventInvokeConfigInput ¶
type GetFunctionEventInvokeConfigInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // A version number or alias name. Qualifier *string // contains filtered or unexported fields }
type GetFunctionEventInvokeConfigOutput ¶
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 an SQS queue. // // * Topic - The ARN of an SNS // topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the function. FunctionArn *string // The date and time that the configuration was last updated. LastModified *time.Time // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetFunctionInput ¶
type GetFunctionInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // Specify a version or alias to get details about a published version of the // function. Qualifier *string // contains filtered or unexported fields }
type GetFunctionOutput ¶
type GetFunctionOutput struct { // The deployment package of the function or version. Code *types.FunctionCodeLocation // The function's reserved concurrency // (https://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html). Concurrency *types.Concurrency // The configuration of the function or version. Configuration *types.FunctionConfiguration // The function's tags (https://docs.aws.amazon.com/lambda/latest/dg/tagging.html). Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLayerVersionByArnInput ¶
type GetLayerVersionByArnInput struct { // The ARN of the layer version. // // This member is required. Arn *string // contains filtered or unexported fields }
type GetLayerVersionByArnOutput ¶
type GetLayerVersionByArnOutput struct { // A list of compatible instruction set architectures // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []types.Architecture // The layer's compatible runtimes. CompatibleRuntimes []types.Runtime // Details about the layer version. Content *types.LayerVersionContentOutput // 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 // The description of the version. Description *string // The ARN of the layer. LayerArn *string // The ARN of the layer version. LayerVersionArn *string // The layer's software license. LicenseInfo *string // The version number. Version int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLayerVersionInput ¶
type GetLayerVersionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // The version number. // // This member is required. VersionNumber int64 // contains filtered or unexported fields }
type GetLayerVersionOutput ¶
type GetLayerVersionOutput struct { // A list of compatible instruction set architectures // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []types.Architecture // The layer's compatible runtimes. CompatibleRuntimes []types.Runtime // Details about the layer version. Content *types.LayerVersionContentOutput // 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 // The description of the version. Description *string // The ARN of the layer. LayerArn *string // The ARN of the layer version. LayerVersionArn *string // The layer's software license. LicenseInfo *string // The version number. Version int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetLayerVersionPolicyInput ¶
type GetLayerVersionPolicyInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // The version number. // // This member is required. VersionNumber int64 // contains filtered or unexported fields }
type GetLayerVersionPolicyOutput ¶
type GetLayerVersionPolicyOutput struct { // The policy document. Policy *string // A unique identifier for the current revision of the policy. RevisionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetPolicyInput ¶
type GetPolicyInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // Specify a version or alias to get the policy for that resource. Qualifier *string // contains filtered or unexported fields }
type GetPolicyOutput ¶
type GetPolicyOutput struct { // The resource-based policy. Policy *string // A unique identifier for the current revision of the policy. RevisionId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetProvisionedConcurrencyConfigInput ¶
type GetProvisionedConcurrencyConfigInput struct { // The name 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. // // This member is required. FunctionName *string // The version number or alias name. // // This member is required. Qualifier *string // contains filtered or unexported fields }
type GetProvisionedConcurrencyConfigOutput ¶
type GetProvisionedConcurrencyConfigOutput struct { // The amount of provisioned concurrency allocated. AllocatedProvisionedConcurrentExecutions *int32 // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int32 // The date and time that a user last updated the configuration, in ISO 8601 format // (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int32 // The status of the allocation process. Status types.ProvisionedConcurrencyStatusEnum // For failed allocations, the reason that provisioned concurrency could not be // allocated. StatusReason *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPClient ¶
type HTTPSignerV4 ¶
type HTTPSignerV4 interface { SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error }
type InvokeAsyncInput ¶
type InvokeAsyncInput struct { // The name 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. // // This member is required. FunctionName *string // The JSON that you want to provide to your Lambda function as input. // // This member is required. InvokeArgs io.Reader // contains filtered or unexported fields }
type InvokeAsyncOutput ¶
type InvokeAsyncOutput struct { // The status code. Status int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A success response (202 Accepted) indicates that the request is queued for invocation.
type InvokeInput ¶
type InvokeInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // Up to 3583 bytes of base64-encoded data about the invoking client to pass to the // function in the context object. ClientContext *string // 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 it's 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 types.InvocationType // Set to Tail to include the execution log in the response. Applies to // synchronously invoked functions only. LogType types.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 []byte // Specify a version or alias to invoke a published version of the function. Qualifier *string // contains filtered or unexported fields }
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 // If present, indicates that an error occurred during function execution. Details // about the error are included in the response payload. FunctionError *string // The last 4 KB of the execution log, which is base64 encoded. LogResult *string // The response from the function, or an error object. Payload []byte // 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 int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAliasesAPIClient ¶
type ListAliasesAPIClient interface { ListAliases(context.Context, *ListAliasesInput, ...func(*Options)) (*ListAliasesOutput, error) }
ListAliasesAPIClient is a client that implements the ListAliases operation.
type ListAliasesInput ¶
type ListAliasesInput struct { // The name 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. // // This member is required. FunctionName *string // Specify a function version to only list aliases that invoke that version. FunctionVersion *string // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string // Limit the number of aliases returned. MaxItems *int32 // contains filtered or unexported fields }
type ListAliasesOutput ¶
type ListAliasesOutput struct { // A list of aliases. Aliases []types.AliasConfiguration // The pagination token that's included if more results are available. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListAliasesPaginator ¶
type ListAliasesPaginator struct {
// contains filtered or unexported fields
}
ListAliasesPaginator is a paginator for ListAliases
func NewListAliasesPaginator ¶
func NewListAliasesPaginator(client ListAliasesAPIClient, params *ListAliasesInput, optFns ...func(*ListAliasesPaginatorOptions)) *ListAliasesPaginator
NewListAliasesPaginator returns a new ListAliasesPaginator
func (*ListAliasesPaginator) HasMorePages ¶
func (p *ListAliasesPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListAliasesPaginator) NextPage ¶
func (p *ListAliasesPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListAliasesOutput, error)
NextPage retrieves the next ListAliases page.
type ListAliasesPaginatorOptions ¶
type ListAliasesPaginatorOptions struct { // Limit the number of aliases returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListAliasesPaginatorOptions is the paginator options for ListAliases
type ListCodeSigningConfigsAPIClient ¶
type ListCodeSigningConfigsAPIClient interface { ListCodeSigningConfigs(context.Context, *ListCodeSigningConfigsInput, ...func(*Options)) (*ListCodeSigningConfigsOutput, error) }
ListCodeSigningConfigsAPIClient is a client that implements the ListCodeSigningConfigs operation.
type ListCodeSigningConfigsInput ¶
type ListCodeSigningConfigsInput struct { // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string // Maximum number of items to return. MaxItems *int32 // contains filtered or unexported fields }
type ListCodeSigningConfigsOutput ¶
type ListCodeSigningConfigsOutput struct { // The code signing configurations CodeSigningConfigs []types.CodeSigningConfig // The pagination token that's included if more results are available. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListCodeSigningConfigsPaginator ¶
type ListCodeSigningConfigsPaginator struct {
// contains filtered or unexported fields
}
ListCodeSigningConfigsPaginator is a paginator for ListCodeSigningConfigs
func NewListCodeSigningConfigsPaginator ¶
func NewListCodeSigningConfigsPaginator(client ListCodeSigningConfigsAPIClient, params *ListCodeSigningConfigsInput, optFns ...func(*ListCodeSigningConfigsPaginatorOptions)) *ListCodeSigningConfigsPaginator
NewListCodeSigningConfigsPaginator returns a new ListCodeSigningConfigsPaginator
func (*ListCodeSigningConfigsPaginator) HasMorePages ¶
func (p *ListCodeSigningConfigsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListCodeSigningConfigsPaginator) NextPage ¶
func (p *ListCodeSigningConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListCodeSigningConfigsOutput, error)
NextPage retrieves the next ListCodeSigningConfigs page.
type ListCodeSigningConfigsPaginatorOptions ¶
type ListCodeSigningConfigsPaginatorOptions struct { // Maximum number of items to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListCodeSigningConfigsPaginatorOptions is the paginator options for ListCodeSigningConfigs
type ListEventSourceMappingsAPIClient ¶
type ListEventSourceMappingsAPIClient interface { ListEventSourceMappings(context.Context, *ListEventSourceMappingsInput, ...func(*Options)) (*ListEventSourceMappingsOutput, error) }
ListEventSourceMappingsAPIClient is a client that implements the ListEventSourceMappings operation.
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. EventSourceArn *string // The name 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 // A pagination token returned by a previous call. Marker *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 *int32 // contains filtered or unexported fields }
type ListEventSourceMappingsOutput ¶
type ListEventSourceMappingsOutput struct { // A list of event source mappings. EventSourceMappings []types.EventSourceMappingConfiguration // A pagination token that's returned when the response doesn't contain all event // source mappings. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListEventSourceMappingsPaginator ¶
type ListEventSourceMappingsPaginator struct {
// contains filtered or unexported fields
}
ListEventSourceMappingsPaginator is a paginator for ListEventSourceMappings
func NewListEventSourceMappingsPaginator ¶
func NewListEventSourceMappingsPaginator(client ListEventSourceMappingsAPIClient, params *ListEventSourceMappingsInput, optFns ...func(*ListEventSourceMappingsPaginatorOptions)) *ListEventSourceMappingsPaginator
NewListEventSourceMappingsPaginator returns a new ListEventSourceMappingsPaginator
func (*ListEventSourceMappingsPaginator) HasMorePages ¶
func (p *ListEventSourceMappingsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListEventSourceMappingsPaginator) NextPage ¶
func (p *ListEventSourceMappingsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListEventSourceMappingsOutput, error)
NextPage retrieves the next ListEventSourceMappings page.
type ListEventSourceMappingsPaginatorOptions ¶
type ListEventSourceMappingsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListEventSourceMappingsPaginatorOptions is the paginator options for ListEventSourceMappings
type ListFunctionEventInvokeConfigsAPIClient ¶
type ListFunctionEventInvokeConfigsAPIClient interface { ListFunctionEventInvokeConfigs(context.Context, *ListFunctionEventInvokeConfigsInput, ...func(*Options)) (*ListFunctionEventInvokeConfigsOutput, error) }
ListFunctionEventInvokeConfigsAPIClient is a client that implements the ListFunctionEventInvokeConfigs operation.
type ListFunctionEventInvokeConfigsInput ¶
type ListFunctionEventInvokeConfigsInput struct { // The name 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. // // This member is required. FunctionName *string // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string // The maximum number of configurations to return. MaxItems *int32 // contains filtered or unexported fields }
type ListFunctionEventInvokeConfigsOutput ¶
type ListFunctionEventInvokeConfigsOutput struct { // A list of configurations. FunctionEventInvokeConfigs []types.FunctionEventInvokeConfig // The pagination token that's included if more results are available. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFunctionEventInvokeConfigsPaginator ¶
type ListFunctionEventInvokeConfigsPaginator struct {
// contains filtered or unexported fields
}
ListFunctionEventInvokeConfigsPaginator is a paginator for ListFunctionEventInvokeConfigs
func NewListFunctionEventInvokeConfigsPaginator ¶
func NewListFunctionEventInvokeConfigsPaginator(client ListFunctionEventInvokeConfigsAPIClient, params *ListFunctionEventInvokeConfigsInput, optFns ...func(*ListFunctionEventInvokeConfigsPaginatorOptions)) *ListFunctionEventInvokeConfigsPaginator
NewListFunctionEventInvokeConfigsPaginator returns a new ListFunctionEventInvokeConfigsPaginator
func (*ListFunctionEventInvokeConfigsPaginator) HasMorePages ¶
func (p *ListFunctionEventInvokeConfigsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFunctionEventInvokeConfigsPaginator) NextPage ¶
func (p *ListFunctionEventInvokeConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionEventInvokeConfigsOutput, error)
NextPage retrieves the next ListFunctionEventInvokeConfigs page.
type ListFunctionEventInvokeConfigsPaginatorOptions ¶
type ListFunctionEventInvokeConfigsPaginatorOptions struct { // The maximum number of configurations to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFunctionEventInvokeConfigsPaginatorOptions is the paginator options for ListFunctionEventInvokeConfigs
type ListFunctionsAPIClient ¶
type ListFunctionsAPIClient interface { ListFunctions(context.Context, *ListFunctionsInput, ...func(*Options)) (*ListFunctionsOutput, error) }
ListFunctionsAPIClient is a client that implements the ListFunctions operation.
type ListFunctionsByCodeSigningConfigAPIClient ¶
type ListFunctionsByCodeSigningConfigAPIClient interface { ListFunctionsByCodeSigningConfig(context.Context, *ListFunctionsByCodeSigningConfigInput, ...func(*Options)) (*ListFunctionsByCodeSigningConfigOutput, error) }
ListFunctionsByCodeSigningConfigAPIClient is a client that implements the ListFunctionsByCodeSigningConfig operation.
type ListFunctionsByCodeSigningConfigInput ¶
type ListFunctionsByCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string // Maximum number of items to return. MaxItems *int32 // contains filtered or unexported fields }
type ListFunctionsByCodeSigningConfigOutput ¶
type ListFunctionsByCodeSigningConfigOutput struct { // The function ARNs. FunctionArns []string // The pagination token that's included if more results are available. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListFunctionsByCodeSigningConfigPaginator ¶
type ListFunctionsByCodeSigningConfigPaginator struct {
// contains filtered or unexported fields
}
ListFunctionsByCodeSigningConfigPaginator is a paginator for ListFunctionsByCodeSigningConfig
func NewListFunctionsByCodeSigningConfigPaginator ¶
func NewListFunctionsByCodeSigningConfigPaginator(client ListFunctionsByCodeSigningConfigAPIClient, params *ListFunctionsByCodeSigningConfigInput, optFns ...func(*ListFunctionsByCodeSigningConfigPaginatorOptions)) *ListFunctionsByCodeSigningConfigPaginator
NewListFunctionsByCodeSigningConfigPaginator returns a new ListFunctionsByCodeSigningConfigPaginator
func (*ListFunctionsByCodeSigningConfigPaginator) HasMorePages ¶
func (p *ListFunctionsByCodeSigningConfigPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFunctionsByCodeSigningConfigPaginator) NextPage ¶
func (p *ListFunctionsByCodeSigningConfigPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionsByCodeSigningConfigOutput, error)
NextPage retrieves the next ListFunctionsByCodeSigningConfig page.
type ListFunctionsByCodeSigningConfigPaginatorOptions ¶
type ListFunctionsByCodeSigningConfigPaginatorOptions struct { // Maximum number of items to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFunctionsByCodeSigningConfigPaginatorOptions is the paginator options for ListFunctionsByCodeSigningConfig
type ListFunctionsInput ¶
type ListFunctionsInput struct { // Set to ALL to include entries for all published versions of each function. FunctionVersion types.FunctionVersion // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *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 only include // Lambda@Edge functions replicated from a master function in US East (N. // Virginia). If specified, you must set FunctionVersion to ALL. MasterRegion *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 *int32 // contains filtered or unexported fields }
type ListFunctionsOutput ¶
type ListFunctionsOutput struct { // A list of Lambda functions. Functions []types.FunctionConfiguration // The pagination token that's included if more results are available. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A list of Lambda functions.
type ListFunctionsPaginator ¶
type ListFunctionsPaginator struct {
// contains filtered or unexported fields
}
ListFunctionsPaginator is a paginator for ListFunctions
func NewListFunctionsPaginator ¶
func NewListFunctionsPaginator(client ListFunctionsAPIClient, params *ListFunctionsInput, optFns ...func(*ListFunctionsPaginatorOptions)) *ListFunctionsPaginator
NewListFunctionsPaginator returns a new ListFunctionsPaginator
func (*ListFunctionsPaginator) HasMorePages ¶
func (p *ListFunctionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListFunctionsPaginator) NextPage ¶
func (p *ListFunctionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListFunctionsOutput, error)
NextPage retrieves the next ListFunctions page.
type ListFunctionsPaginatorOptions ¶
type ListFunctionsPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListFunctionsPaginatorOptions is the paginator options for ListFunctions
type ListLayerVersionsAPIClient ¶
type ListLayerVersionsAPIClient interface { ListLayerVersions(context.Context, *ListLayerVersionsInput, ...func(*Options)) (*ListLayerVersionsOutput, error) }
ListLayerVersionsAPIClient is a client that implements the ListLayerVersions operation.
type ListLayerVersionsInput ¶
type ListLayerVersionsInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // The compatible instruction set architecture // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitecture types.Architecture // A runtime identifier. For example, go1.x. CompatibleRuntime types.Runtime // A pagination token returned by a previous call. Marker *string // The maximum number of versions to return. MaxItems *int32 // contains filtered or unexported fields }
type ListLayerVersionsOutput ¶
type ListLayerVersionsOutput struct { // A list of versions. LayerVersions []types.LayerVersionsListItem // A pagination token returned when the response doesn't contain all versions. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLayerVersionsPaginator ¶
type ListLayerVersionsPaginator struct {
// contains filtered or unexported fields
}
ListLayerVersionsPaginator is a paginator for ListLayerVersions
func NewListLayerVersionsPaginator ¶
func NewListLayerVersionsPaginator(client ListLayerVersionsAPIClient, params *ListLayerVersionsInput, optFns ...func(*ListLayerVersionsPaginatorOptions)) *ListLayerVersionsPaginator
NewListLayerVersionsPaginator returns a new ListLayerVersionsPaginator
func (*ListLayerVersionsPaginator) HasMorePages ¶
func (p *ListLayerVersionsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLayerVersionsPaginator) NextPage ¶
func (p *ListLayerVersionsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLayerVersionsOutput, error)
NextPage retrieves the next ListLayerVersions page.
type ListLayerVersionsPaginatorOptions ¶
type ListLayerVersionsPaginatorOptions struct { // The maximum number of versions to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLayerVersionsPaginatorOptions is the paginator options for ListLayerVersions
type ListLayersAPIClient ¶
type ListLayersAPIClient interface { ListLayers(context.Context, *ListLayersInput, ...func(*Options)) (*ListLayersOutput, error) }
ListLayersAPIClient is a client that implements the ListLayers operation.
type ListLayersInput ¶
type ListLayersInput struct { // The compatible instruction set architecture // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitecture types.Architecture // A runtime identifier. For example, go1.x. CompatibleRuntime types.Runtime // A pagination token returned by a previous call. Marker *string // The maximum number of layers to return. MaxItems *int32 // contains filtered or unexported fields }
type ListLayersOutput ¶
type ListLayersOutput struct { // A list of function layers. Layers []types.LayersListItem // A pagination token returned when the response doesn't contain all layers. NextMarker *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListLayersPaginator ¶
type ListLayersPaginator struct {
// contains filtered or unexported fields
}
ListLayersPaginator is a paginator for ListLayers
func NewListLayersPaginator ¶
func NewListLayersPaginator(client ListLayersAPIClient, params *ListLayersInput, optFns ...func(*ListLayersPaginatorOptions)) *ListLayersPaginator
NewListLayersPaginator returns a new ListLayersPaginator
func (*ListLayersPaginator) HasMorePages ¶
func (p *ListLayersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListLayersPaginator) NextPage ¶
func (p *ListLayersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListLayersOutput, error)
NextPage retrieves the next ListLayers page.
type ListLayersPaginatorOptions ¶
type ListLayersPaginatorOptions struct { // The maximum number of layers to return. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListLayersPaginatorOptions is the paginator options for ListLayers
type ListProvisionedConcurrencyConfigsAPIClient ¶
type ListProvisionedConcurrencyConfigsAPIClient interface { ListProvisionedConcurrencyConfigs(context.Context, *ListProvisionedConcurrencyConfigsInput, ...func(*Options)) (*ListProvisionedConcurrencyConfigsOutput, error) }
ListProvisionedConcurrencyConfigsAPIClient is a client that implements the ListProvisionedConcurrencyConfigs operation.
type ListProvisionedConcurrencyConfigsInput ¶
type ListProvisionedConcurrencyConfigsInput struct { // The name 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. // // This member is required. FunctionName *string // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *string // Specify a number to limit the number of configurations returned. MaxItems *int32 // contains filtered or unexported fields }
type ListProvisionedConcurrencyConfigsOutput ¶
type ListProvisionedConcurrencyConfigsOutput struct { // The pagination token that's included if more results are available. NextMarker *string // A list of provisioned concurrency configurations. ProvisionedConcurrencyConfigs []types.ProvisionedConcurrencyConfigListItem // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListProvisionedConcurrencyConfigsPaginator ¶
type ListProvisionedConcurrencyConfigsPaginator struct {
// contains filtered or unexported fields
}
ListProvisionedConcurrencyConfigsPaginator is a paginator for ListProvisionedConcurrencyConfigs
func NewListProvisionedConcurrencyConfigsPaginator ¶
func NewListProvisionedConcurrencyConfigsPaginator(client ListProvisionedConcurrencyConfigsAPIClient, params *ListProvisionedConcurrencyConfigsInput, optFns ...func(*ListProvisionedConcurrencyConfigsPaginatorOptions)) *ListProvisionedConcurrencyConfigsPaginator
NewListProvisionedConcurrencyConfigsPaginator returns a new ListProvisionedConcurrencyConfigsPaginator
func (*ListProvisionedConcurrencyConfigsPaginator) HasMorePages ¶
func (p *ListProvisionedConcurrencyConfigsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListProvisionedConcurrencyConfigsPaginator) NextPage ¶
func (p *ListProvisionedConcurrencyConfigsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListProvisionedConcurrencyConfigsOutput, error)
NextPage retrieves the next ListProvisionedConcurrencyConfigs page.
type ListProvisionedConcurrencyConfigsPaginatorOptions ¶
type ListProvisionedConcurrencyConfigsPaginatorOptions struct { // Specify a number to limit the number of configurations returned. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListProvisionedConcurrencyConfigsPaginatorOptions is the paginator options for ListProvisionedConcurrencyConfigs
type ListTagsInput ¶
type ListTagsInput struct { // The function's Amazon Resource Name (ARN). Note: Lambda does not support adding // tags to aliases or versions. // // This member is required. Resource *string // contains filtered or unexported fields }
type ListTagsOutput ¶
type ListTagsOutput struct { // The function's tags. Tags map[string]string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVersionsByFunctionAPIClient ¶
type ListVersionsByFunctionAPIClient interface { ListVersionsByFunction(context.Context, *ListVersionsByFunctionInput, ...func(*Options)) (*ListVersionsByFunctionOutput, error) }
ListVersionsByFunctionAPIClient is a client that implements the ListVersionsByFunction operation.
type ListVersionsByFunctionInput ¶
type ListVersionsByFunctionInput struct { // The name 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. // // This member is required. FunctionName *string // Specify the pagination token that's returned by a previous request to retrieve // the next page of results. Marker *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 *int32 // contains filtered or unexported fields }
type ListVersionsByFunctionOutput ¶
type ListVersionsByFunctionOutput struct { // The pagination token that's included if more results are available. NextMarker *string // A list of Lambda function versions. Versions []types.FunctionConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListVersionsByFunctionPaginator ¶
type ListVersionsByFunctionPaginator struct {
// contains filtered or unexported fields
}
ListVersionsByFunctionPaginator is a paginator for ListVersionsByFunction
func NewListVersionsByFunctionPaginator ¶
func NewListVersionsByFunctionPaginator(client ListVersionsByFunctionAPIClient, params *ListVersionsByFunctionInput, optFns ...func(*ListVersionsByFunctionPaginatorOptions)) *ListVersionsByFunctionPaginator
NewListVersionsByFunctionPaginator returns a new ListVersionsByFunctionPaginator
func (*ListVersionsByFunctionPaginator) HasMorePages ¶
func (p *ListVersionsByFunctionPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListVersionsByFunctionPaginator) NextPage ¶
func (p *ListVersionsByFunctionPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListVersionsByFunctionOutput, error)
NextPage retrieves the next ListVersionsByFunction page.
type ListVersionsByFunctionPaginatorOptions ¶
type ListVersionsByFunctionPaginatorOptions struct { // 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. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListVersionsByFunctionPaginatorOptions is the paginator options for ListVersionsByFunction
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. If specified in an operation call's functional // options with a value that is different than the constructed client's Options, // the Client's Retryer will be wrapped to use the operation's specific // RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. When creating a new API Clients this // member will only be used if the Retryer Options member is nil. This value will // be ignored if Retryer is not nil. Currently does not support per operation call // overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig. You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // contains filtered or unexported fields }
func (Options) Copy ¶
Copy creates a clone where the APIOptions list is deep copied.
type PublishLayerVersionInput ¶
type PublishLayerVersionInput struct { // The function layer archive. // // This member is required. Content *types.LayerVersionContentInput // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // A list of compatible instruction set architectures // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []types.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. CompatibleRuntimes []types.Runtime // The description of the version. Description *string // 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 // contains filtered or unexported fields }
type PublishLayerVersionOutput ¶
type PublishLayerVersionOutput struct { // A list of compatible instruction set architectures // (https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). CompatibleArchitectures []types.Architecture // The layer's compatible runtimes. CompatibleRuntimes []types.Runtime // Details about the layer version. Content *types.LayerVersionContentOutput // 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 // The description of the version. Description *string // The ARN of the layer. LayerArn *string // The ARN of the layer version. LayerVersionArn *string // The layer's software license. LicenseInfo *string // The version number. Version int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PublishVersionInput ¶
type PublishVersionInput struct { // The name 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. // // This member is required. FunctionName *string // 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 // A description for the version to override the description in the function // configuration. Description *string // 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 // contains filtered or unexported fields }
type PublishVersionOutput ¶
type PublishVersionOutput 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 []types.Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *types.DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *types.EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []types.FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *types.ImageConfigResponse // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed key. KMSKeyArn *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus types.LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode types.LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []types.Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType types.PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime types.Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State types.State // The reason for the function's current state. StateReason *string // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode types.StateReasonCode // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *types.TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *types.VpcConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Details about a function's configuration.
type PutFunctionCodeSigningConfigInput ¶
type PutFunctionCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // The name 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. // // This member is required. FunctionName *string // contains filtered or unexported fields }
type PutFunctionCodeSigningConfigOutput ¶
type PutFunctionCodeSigningConfigOutput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // The name 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. // // This member is required. FunctionName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutFunctionConcurrencyInput ¶
type PutFunctionConcurrencyInput struct { // The name 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. // // This member is required. FunctionName *string // The number of simultaneous executions to reserve for the function. // // This member is required. ReservedConcurrentExecutions *int32 // contains filtered or unexported fields }
type PutFunctionConcurrencyOutput ¶
type PutFunctionConcurrencyOutput struct { // The number of concurrent executions that are reserved for this function. For // more information, see Managing Concurrency // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html). ReservedConcurrentExecutions *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutFunctionEventInvokeConfigInput ¶
type PutFunctionEventInvokeConfigInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // A destination for events after they have been sent to a function for processing. // Destinations // // * Function - The Amazon Resource Name (ARN) of a Lambda // function. // // * Queue - The ARN of an SQS queue. // // * Topic - The ARN of an SNS // topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *types.DestinationConfig // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // A version number or alias name. Qualifier *string // contains filtered or unexported fields }
type PutFunctionEventInvokeConfigOutput ¶
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 an SQS queue. // // * Topic - The ARN of an SNS // topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the function. FunctionArn *string // The date and time that the configuration was last updated. LastModified *time.Time // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type PutProvisionedConcurrencyConfigInput ¶
type PutProvisionedConcurrencyConfigInput struct { // The name 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. // // This member is required. FunctionName *string // The amount of provisioned concurrency to allocate for the version or alias. // // This member is required. ProvisionedConcurrentExecutions *int32 // The version number or alias name. // // This member is required. Qualifier *string // contains filtered or unexported fields }
type PutProvisionedConcurrencyConfigOutput ¶
type PutProvisionedConcurrencyConfigOutput struct { // The amount of provisioned concurrency allocated. AllocatedProvisionedConcurrentExecutions *int32 // The amount of provisioned concurrency available. AvailableProvisionedConcurrentExecutions *int32 // The date and time that a user last updated the configuration, in ISO 8601 format // (https://www.iso.org/iso-8601-date-and-time-format.html). LastModified *string // The amount of provisioned concurrency requested. RequestedProvisionedConcurrentExecutions *int32 // The status of the allocation process. Status types.ProvisionedConcurrencyStatusEnum // For failed allocations, the reason that provisioned concurrency could not be // allocated. StatusReason *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RemoveLayerVersionPermissionInput ¶
type RemoveLayerVersionPermissionInput struct { // The name or Amazon Resource Name (ARN) of the layer. // // This member is required. LayerName *string // The identifier that was specified when the statement was added. // // This member is required. StatementId *string // The version number. // // This member is required. VersionNumber int64 // 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 // contains filtered or unexported fields }
type RemoveLayerVersionPermissionOutput ¶
type RemoveLayerVersionPermissionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type RemovePermissionInput ¶
type RemovePermissionInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // Statement ID of the permission to remove. // // This member is required. StatementId *string // Specify a version or alias to remove permissions from a published version of the // function. Qualifier *string // Only update the policy if the revision ID matches the ID that's specified. Use // this option to avoid modifying a policy that has changed since you last read it. RevisionId *string // contains filtered or unexported fields }
type RemovePermissionOutput ¶
type RemovePermissionOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string
type TagResourceInput ¶
type TagResourceInput struct { // The function's Amazon Resource Name (ARN). // // This member is required. Resource *string // A list of tags to apply to the function. // // This member is required. Tags map[string]string // contains filtered or unexported fields }
type TagResourceOutput ¶
type TagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UntagResourceInput ¶
type UntagResourceInput struct { // The function's Amazon Resource Name (ARN). // // This member is required. Resource *string // A list of tag keys to remove from the function. // // This member is required. TagKeys []string // contains filtered or unexported fields }
type UntagResourceOutput ¶
type UntagResourceOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateAliasInput ¶
type UpdateAliasInput struct { // The name 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. // // This member is required. FunctionName *string // The name of the alias. // // This member is required. Name *string // A description of the alias. Description *string // The function version that the alias invokes. FunctionVersion *string // 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 // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html#configuring-alias-routing) // of the alias. RoutingConfig *types.AliasRoutingConfiguration // contains filtered or unexported fields }
type UpdateAliasOutput ¶
type UpdateAliasOutput struct { // The Amazon Resource Name (ARN) of the alias. AliasArn *string // A description of the alias. Description *string // The function version that the alias invokes. FunctionVersion *string // The name of the alias. Name *string // A unique identifier that changes when you update the alias. RevisionId *string // The routing configuration // (https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) // of the alias. RoutingConfig *types.AliasRoutingConfiguration // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html).
type UpdateCodeSigningConfigInput ¶
type UpdateCodeSigningConfigInput struct { // The The Amazon Resource Name (ARN) of the code signing configuration. // // This member is required. CodeSigningConfigArn *string // Signing profiles for this code signing configuration. AllowedPublishers *types.AllowedPublishers // The code signing policy. CodeSigningPolicies *types.CodeSigningPolicies // Descriptive name for this code signing configuration. Description *string // contains filtered or unexported fields }
type UpdateCodeSigningConfigOutput ¶
type UpdateCodeSigningConfigOutput struct { // The code signing configuration // // This member is required. CodeSigningConfig *types.CodeSigningConfig // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateEventSourceMappingInput ¶
type UpdateEventSourceMappingInput struct { // The identifier of the event source mapping. // // This member is required. UUID *string // 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 1,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. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // When true, the event source mapping is active. When false, Lambda pauses polling // and invocation. Default: True Enabled *bool // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // The name 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 // (Streams and Amazon SQS) A list of current response type enums applied to the // event source mapping. FunctionResponseTypes []types.FunctionResponseType // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is infinite (-1). MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is infinite (-1). When set to infinite (-1), failed records will // be retried until the record expires. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process from each shard concurrently. ParallelizationFactor *int32 // An array of authentication protocols or VPC components required to secure your // event source. SourceAccessConfigurations []types.SourceAccessConfiguration // (Streams only) The duration in seconds of a processing window. The range is // between 1 second up to 900 seconds. TumblingWindowInSeconds *int32 // contains filtered or unexported fields }
type UpdateEventSourceMappingOutput ¶
type UpdateEventSourceMappingOutput 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). Default value: Varies by service. For Amazon SQS, the default // is 10. For all other services, the default is 100. Related setting: When you set // BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. BatchSize *int32 // (Streams only) If the function returns an error, split the batch in two and // retry. The default value is false. BisectBatchOnFunctionError *bool // (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded // records. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the event source. EventSourceArn *string // (Streams and Amazon SQS) An object that defines the filter criteria that // determine whether Lambda should process an event. For more information, see // Lambda event filtering // (https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html). FilterCriteria *types.FilterCriteria // The ARN of the Lambda function. FunctionArn *string // (Streams only) A list of current response type enums applied to the event source // mapping. FunctionResponseTypes []types.FunctionResponseType // The date that the event source mapping was last updated or that its state // changed. LastModified *time.Time // The result of the last Lambda invocation of your function. LastProcessingResult *string // (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, // that Lambda spends gathering records before invoking the function. Default: 0 // Related setting: When you set BatchSize to a value greater than 10, you must set // MaximumBatchingWindowInSeconds to at least 1. MaximumBatchingWindowInSeconds *int32 // (Streams only) Discard records older than the specified age. The default value // is -1, which sets the maximum age to infinite. When the value is set to // infinite, Lambda never discards old records. MaximumRecordAgeInSeconds *int32 // (Streams only) Discard records after the specified number of retries. The // default value is -1, which sets the maximum number of retries to infinite. When // MaximumRetryAttempts is infinite, Lambda retries failed records until the record // expires in the event source. MaximumRetryAttempts *int32 // (Streams only) The number of batches to process concurrently from each shard. // The default value is 1. ParallelizationFactor *int32 // (Amazon MQ) The name of the Amazon MQ broker destination queue to consume. Queues []string // The self-managed Apache Kafka cluster for your event source. SelfManagedEventSource *types.SelfManagedEventSource // An array of the authentication protocol, VPC components, or virtual host to // secure and define your event source. SourceAccessConfigurations []types.SourceAccessConfiguration // The position in a stream from which to start reading. Required for Amazon // Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. AT_TIMESTAMP is // supported only for Amazon Kinesis streams. StartingPosition types.EventSourcePosition // With StartingPosition set to AT_TIMESTAMP, the time from which to start reading. StartingPositionTimestamp *time.Time // The state of the event source mapping. It can be one of the following: Creating, // Enabling, Enabled, Disabling, Disabled, Updating, or Deleting. State *string // Indicates whether a user or Lambda made the last change to the event source // mapping. StateTransitionReason *string // The name of the Kafka topic. Topics []string // (Streams only) The duration in seconds of a processing window. The range is // 1–900 seconds. TumblingWindowInSeconds *int32 // The identifier of the event source mapping. UUID *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
type UpdateFunctionCodeInput ¶
type UpdateFunctionCodeInput struct { // The name 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. // // This member is required. FunctionName *string // 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 []types.Architecture // Set to true to validate the request parameters and access permissions without // modifying the function code. DryRun bool // URI of a container image in the Amazon ECR registry. Do not use for a function // defined with a .zip file archive. ImageUri *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 // Only update the function 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 // 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 // The Amazon S3 key of the deployment package. Use only with a function defined // with a .zip file archive deployment package. S3Key *string // For versioned objects, the version of the deployment package object to use. S3ObjectVersion *string // The base64-encoded contents of the deployment package. Amazon Web Services SDK // and Amazon Web Services CLI clients handle the encoding for you. Use only with a // function defined with a .zip file archive deployment package. ZipFile []byte // contains filtered or unexported fields }
type UpdateFunctionCodeOutput ¶
type UpdateFunctionCodeOutput 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 []types.Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *types.DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *types.EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []types.FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *types.ImageConfigResponse // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed key. KMSKeyArn *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus types.LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode types.LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []types.Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType types.PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime types.Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State types.State // The reason for the function's current state. StateReason *string // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode types.StateReasonCode // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *types.TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *types.VpcConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Details about a function's configuration.
type UpdateFunctionConfigurationInput ¶
type UpdateFunctionConfigurationInput struct { // The name 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. // // This member is required. FunctionName *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#dlq). DeadLetterConfig *types.DeadLetterConfig // A description of the function. Description *string // Environment variables that are accessible from function code during execution. Environment *types.Environment // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system. FileSystemConfigs []types.FileSystemConfig // The name of the method within your code that Lambda calls to execute 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 Programming // Model (https://docs.aws.amazon.com/lambda/latest/dg/programming-model-v2.html). Handler *string // Container image configuration values // (https://docs.aws.amazon.com/lambda/latest/dg/images-parms.html) that override // the values in the container image Docker file. ImageConfig *types.ImageConfig // The ARN of the Amazon Web Services Key Management Service (KMS) key that's used // to encrypt your function's environment variables. If it's not provided, Lambda // uses a default service key. KMSKeyArn *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 // The amount of memory available to the function // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html) 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 *int32 // Only update the function 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 // The Amazon Resource Name (ARN) of the function's execution role. Role *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. Runtime types.Runtime // 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 additional information, see Lambda execution environment // (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-context.html). Timeout *int32 // 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 *types.TracingConfig // 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 only access resources and the internet through that VPC. For more // information, see VPC Settings // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html). VpcConfig *types.VpcConfig // contains filtered or unexported fields }
type UpdateFunctionConfigurationOutput ¶
type UpdateFunctionConfigurationOutput 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 []types.Architecture // The SHA256 hash of the function's deployment package. CodeSha256 *string // The size of the function's deployment package, in bytes. CodeSize int64 // The function's dead letter queue. DeadLetterConfig *types.DeadLetterConfig // The function's description. Description *string // The function's environment variables // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html). Environment *types.EnvironmentResponse // The size of the function’s /tmp directory in MB. The default value is 512, but // can be any whole number between 512 and 10240 MB. EphemeralStorage *types.EphemeralStorage // Connection settings for an Amazon EFS file system // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-filesystem.html). FileSystemConfigs []types.FileSystemConfig // The function's Amazon Resource Name (ARN). FunctionArn *string // The name of the function. FunctionName *string // The function that Lambda calls to begin executing your function. Handler *string // The function's image configuration values. ImageConfigResponse *types.ImageConfigResponse // The KMS key that's used to encrypt the function's environment variables. This // key is only returned if you've configured a customer managed key. KMSKeyArn *string // The date and time that the function was last updated, in ISO-8601 format // (https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). LastModified *string // The status of the last update that was performed on the function. This is first // set to Successful after function creation completes. LastUpdateStatus types.LastUpdateStatus // The reason for the last update that was performed on the function. LastUpdateStatusReason *string // The reason code for the last update that was performed on the function. LastUpdateStatusReasonCode types.LastUpdateStatusReasonCode // The function's layers // (https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Layers []types.Layer // For Lambda@Edge functions, the ARN of the main function. MasterArn *string // The amount of memory available to the function at runtime. MemorySize *int32 // The type of deployment package. Set to Image for container image and set Zip for // .zip file archive. PackageType types.PackageType // The latest updated revision of the function or alias. RevisionId *string // The function's execution role. Role *string // The runtime environment for the Lambda function. Runtime types.Runtime // The ARN of the signing job. SigningJobArn *string // The ARN of the signing profile version. SigningProfileVersionArn *string // The current state of the function. When the state is Inactive, you can // reactivate the function by invoking it. State types.State // The reason for the function's current state. StateReason *string // The reason code for the function's current state. When the code is Creating, you // can't invoke or modify the function. StateReasonCode types.StateReasonCode // The amount of time in seconds that Lambda allows a function to run before // stopping it. Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *types.TracingConfigResponse // The version of the Lambda function. Version *string // The function's networking configuration. VpcConfig *types.VpcConfigResponse // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Details about a function's configuration.
type UpdateFunctionEventInvokeConfigInput ¶
type UpdateFunctionEventInvokeConfigInput struct { // The name of the Lambda function, version, or alias. Name formats // // * Function // name - my-function (name-only), my-function:v1 (with alias). // // * Function ARN - // arn:aws:lambda:us-west-2:123456789012:function:my-function. // // * Partial ARN - // 123456789012:function:my-function. // // You can append a version number or alias to // any of the formats. The length constraint applies only to the full ARN. If you // specify only the function name, it is limited to 64 characters in length. // // This member is required. FunctionName *string // A destination for events after they have been sent to a function for processing. // Destinations // // * Function - The Amazon Resource Name (ARN) of a Lambda // function. // // * Queue - The ARN of an SQS queue. // // * Topic - The ARN of an SNS // topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *types.DestinationConfig // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // A version number or alias name. Qualifier *string // contains filtered or unexported fields }
type UpdateFunctionEventInvokeConfigOutput ¶
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 an SQS queue. // // * Topic - The ARN of an SNS // topic. // // * Event Bus - The ARN of an Amazon EventBridge event bus. DestinationConfig *types.DestinationConfig // The Amazon Resource Name (ARN) of the function. FunctionArn *string // The date and time that the configuration was last updated. LastModified *time.Time // The maximum age of a request that Lambda sends to a function for processing. MaximumEventAgeInSeconds *int32 // The maximum number of times to retry when the function returns an error. MaximumRetryAttempts *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
api_client.go api_op_AddLayerVersionPermission.go api_op_AddPermission.go api_op_CreateAlias.go api_op_CreateCodeSigningConfig.go api_op_CreateEventSourceMapping.go api_op_CreateFunction.go api_op_DeleteAlias.go api_op_DeleteCodeSigningConfig.go api_op_DeleteEventSourceMapping.go api_op_DeleteFunction.go api_op_DeleteFunctionCodeSigningConfig.go api_op_DeleteFunctionConcurrency.go api_op_DeleteFunctionEventInvokeConfig.go api_op_DeleteLayerVersion.go api_op_DeleteProvisionedConcurrencyConfig.go api_op_GetAccountSettings.go api_op_GetAlias.go api_op_GetCodeSigningConfig.go api_op_GetEventSourceMapping.go api_op_GetFunction.go api_op_GetFunctionCodeSigningConfig.go api_op_GetFunctionConcurrency.go api_op_GetFunctionConfiguration.go api_op_GetFunctionEventInvokeConfig.go api_op_GetLayerVersion.go api_op_GetLayerVersionByArn.go api_op_GetLayerVersionPolicy.go api_op_GetPolicy.go api_op_GetProvisionedConcurrencyConfig.go api_op_Invoke.go api_op_InvokeAsync.go api_op_ListAliases.go api_op_ListCodeSigningConfigs.go api_op_ListEventSourceMappings.go api_op_ListFunctionEventInvokeConfigs.go api_op_ListFunctions.go api_op_ListFunctionsByCodeSigningConfig.go api_op_ListLayerVersions.go api_op_ListLayers.go api_op_ListProvisionedConcurrencyConfigs.go api_op_ListTags.go api_op_ListVersionsByFunction.go api_op_PublishLayerVersion.go api_op_PublishVersion.go api_op_PutFunctionCodeSigningConfig.go api_op_PutFunctionConcurrency.go api_op_PutFunctionEventInvokeConfig.go api_op_PutProvisionedConcurrencyConfig.go api_op_RemoveLayerVersionPermission.go api_op_RemovePermission.go api_op_TagResource.go api_op_UntagResource.go api_op_UpdateAlias.go api_op_UpdateCodeSigningConfig.go api_op_UpdateEventSourceMapping.go api_op_UpdateFunctionCode.go api_op_UpdateFunctionConfiguration.go api_op_UpdateFunctionEventInvokeConfig.go deserializers.go doc.go endpoints.go go_module_metadata.go serializers.go validators.go
Directories ¶
Path | Synopsis |
---|---|
internal | |
types |
- Version
- v1.21.0
- Published
- Mar 24, 2022
- Platform
- js/wasm
- Imports
- 35 packages
- Last checked
- now –
Tools for package owners.