@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Lambda
@version 2015-03-31
@auth AWS SigV4
@endpoints 68
@hint download_for_search
@toc 2018-10-31(9), 2015-03-31(23), 2020-04-22(6), 2021-10-31(5), 2020-06-30(3), 2017-10-31(2), 2019-09-25(5), 2019-09-30(5), 2016-08-19(1), 2024-08-31(2), 2021-07-20(2), 2014-11-13(1), 2021-11-15(1), 2017-03-31(3)

@group 2018-10-31
@endpoint POST /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
@required {LayerName: str, VersionNumber: int(i64), StatementId: str, Action: str, Principal: str}
@optional {RevisionId: str, OrganizationId: str}
@returns(200) {Statement: str?, RevisionId: str?}

@endgroup

@group 2015-03-31
@endpoint POST /2015-03-31/functions/{FunctionName}/policy
@required {FunctionName: str, StatementId: str, Action: str, Principal: str}
@optional {Qualifier: str, SourceArn: str, SourceAccount: str, EventSourceToken: str, RevisionId: str, PrincipalOrgID: str, FunctionUrlAuthType: str}
@returns(200) {Statement: str?}

@endpoint POST /2015-03-31/functions/{FunctionName}/aliases
@required {FunctionName: str, Name: str, FunctionVersion: str}
@optional {Description: str, RoutingConfig: AliasRoutingConfiguration}
@returns(200) {AliasArn: str?, Name: str?, FunctionVersion: str?, Description: str?, RoutingConfig: AliasRoutingConfiguration?{AdditionalVersionWeights: map<str,num(f64)>?}, RevisionId: str?}

@endgroup

@group 2020-04-22
@endpoint POST /2020-04-22/code-signing-configs/
@required {AllowedPublishers: AllowedPublishers}
@optional {Description: str, CodeSigningPolicies: CodeSigningPolicies}
@returns(200) {CodeSigningConfig: CodeSigningConfig{CodeSigningConfigId: str, CodeSigningConfigArn: str, Description: str?, AllowedPublishers: AllowedPublishers{SigningProfileVersionArns: [str]}, CodeSigningPolicies: CodeSigningPolicies{UntrustedArtifactOnDeployment: str?}, LastModified: str}}

@endgroup

@group 2015-03-31
@endpoint POST /2015-03-31/event-source-mappings/
@required {FunctionName: str}
@optional {EventSourceArn: str, Enabled: bool, BatchSize: int, FilterCriteria: FilterCriteria, MaximumBatchingWindowInSeconds: int, ParallelizationFactor: int, StartingPosition: str, StartingPositionTimestamp: str(timestamp), DestinationConfig: DestinationConfig, MaximumRecordAgeInSeconds: int, BisectBatchOnFunctionError: bool, MaximumRetryAttempts: int, TumblingWindowInSeconds: int, Topics: [str], Queues: [str], SourceAccessConfigurations: [SourceAccessConfiguration], SelfManagedEventSource: SelfManagedEventSource, FunctionResponseTypes: [str], AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig, SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig, ScalingConfig: ScalingConfig, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig, KMSKeyArn: str}
@returns(200) {UUID: str?, StartingPosition: str?, StartingPositionTimestamp: str(timestamp)?, BatchSize: int?, MaximumBatchingWindowInSeconds: int?, ParallelizationFactor: int?, EventSourceArn: str?, FilterCriteria: FilterCriteria?{Filters: [Filter]?}, FunctionArn: str?, LastModified: str(timestamp)?, LastProcessingResult: str?, State: str?, StateTransitionReason: str?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}, Topics: [str]?, Queues: [str]?, SourceAccessConfigurations: [SourceAccessConfiguration]?, SelfManagedEventSource: SelfManagedEventSource?{Endpoints: map<str,[str]>?}, MaximumRecordAgeInSeconds: int?, BisectBatchOnFunctionError: bool?, MaximumRetryAttempts: int?, TumblingWindowInSeconds: int?, FunctionResponseTypes: [str]?, AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, ScalingConfig: ScalingConfig?{MaximumConcurrency: int?}, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig?{DatabaseName: str?, CollectionName: str?, FullDocument: str?}, KMSKeyArn: str?, FilterCriteriaError: FilterCriteriaError?{ErrorCode: str?, Message: str?}}

@endpoint POST /2015-03-31/functions
@required {FunctionName: str, Role: str, Code: FunctionCode}
@optional {Runtime: str, Handler: str, Description: str, Timeout: int, MemorySize: int, Publish: bool, VpcConfig: VpcConfig, PackageType: str, DeadLetterConfig: DeadLetterConfig, Environment: Environment, KMSKeyArn: str, TracingConfig: TracingConfig, Tags: map<str,str>, Layers: [str], FileSystemConfigs: [FileSystemConfig], ImageConfig: ImageConfig, CodeSigningConfigArn: str, Architectures: [str], EphemeralStorage: EphemeralStorage, SnapStart: SnapStart, LoggingConfig: LoggingConfig}
@returns(200) {FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}

@endgroup

@group 2021-10-31
@endpoint POST /2021-10-31/functions/{FunctionName}/url
@required {FunctionName: str, AuthType: str}
@optional {Qualifier: str, Cors: Cors, InvokeMode: str}
@returns(200) {FunctionUrl: str, FunctionArn: str, AuthType: str, Cors: Cors?{AllowCredentials: bool?, AllowHeaders: [str]?, AllowMethods: [str]?, AllowOrigins: [str]?, ExposeHeaders: [str]?, MaxAge: int?}, CreationTime: str, InvokeMode: str?}

@endgroup

@group 2015-03-31
@endpoint DELETE /2015-03-31/functions/{FunctionName}/aliases/{Name}
@required {FunctionName: str, Name: str}

@endgroup

@group 2020-04-22
@endpoint DELETE /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
@required {CodeSigningConfigArn: str}

@endgroup

@group 2015-03-31
@endpoint DELETE /2015-03-31/event-source-mappings/{UUID}
@required {UUID: str}
@returns(200) {UUID: str?, StartingPosition: str?, StartingPositionTimestamp: str(timestamp)?, BatchSize: int?, MaximumBatchingWindowInSeconds: int?, ParallelizationFactor: int?, EventSourceArn: str?, FilterCriteria: FilterCriteria?{Filters: [Filter]?}, FunctionArn: str?, LastModified: str(timestamp)?, LastProcessingResult: str?, State: str?, StateTransitionReason: str?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}, Topics: [str]?, Queues: [str]?, SourceAccessConfigurations: [SourceAccessConfiguration]?, SelfManagedEventSource: SelfManagedEventSource?{Endpoints: map<str,[str]>?}, MaximumRecordAgeInSeconds: int?, BisectBatchOnFunctionError: bool?, MaximumRetryAttempts: int?, TumblingWindowInSeconds: int?, FunctionResponseTypes: [str]?, AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, ScalingConfig: ScalingConfig?{MaximumConcurrency: int?}, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig?{DatabaseName: str?, CollectionName: str?, FullDocument: str?}, KMSKeyArn: str?, FilterCriteriaError: FilterCriteriaError?{ErrorCode: str?, Message: str?}}

@endpoint DELETE /2015-03-31/functions/{FunctionName}
@required {FunctionName: str}
@optional {Qualifier: str}

@endgroup

@group 2020-06-30
@endpoint DELETE /2020-06-30/functions/{FunctionName}/code-signing-config
@required {FunctionName: str}

@endgroup

@group 2017-10-31
@endpoint DELETE /2017-10-31/functions/{FunctionName}/concurrency
@required {FunctionName: str}

@endgroup

@group 2019-09-25
@endpoint DELETE /2019-09-25/functions/{FunctionName}/event-invoke-config
@required {FunctionName: str}
@optional {Qualifier: str}

@endgroup

@group 2021-10-31
@endpoint DELETE /2021-10-31/functions/{FunctionName}/url
@required {FunctionName: str}
@optional {Qualifier: str}

@endgroup

@group 2018-10-31
@endpoint DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
@required {LayerName: str, VersionNumber: int(i64)}

@endgroup

@group 2019-09-30
@endpoint DELETE /2019-09-30/functions/{FunctionName}/provisioned-concurrency
@required {FunctionName: str, Qualifier: str}

@endgroup

@group 2016-08-19
@endpoint GET /2016-08-19/account-settings/
@returns(200) {AccountLimit: AccountLimit?{TotalCodeSize: int(i64)?, CodeSizeUnzipped: int(i64)?, CodeSizeZipped: int(i64)?, ConcurrentExecutions: int?, UnreservedConcurrentExecutions: int?}, AccountUsage: AccountUsage?{TotalCodeSize: int(i64)?, FunctionCount: int(i64)?}}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/{FunctionName}/aliases/{Name}
@required {FunctionName: str, Name: str}
@returns(200) {AliasArn: str?, Name: str?, FunctionVersion: str?, Description: str?, RoutingConfig: AliasRoutingConfiguration?{AdditionalVersionWeights: map<str,num(f64)>?}, RevisionId: str?}

@endgroup

@group 2020-04-22
@endpoint GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
@required {CodeSigningConfigArn: str}
@returns(200) {CodeSigningConfig: CodeSigningConfig{CodeSigningConfigId: str, CodeSigningConfigArn: str, Description: str?, AllowedPublishers: AllowedPublishers{SigningProfileVersionArns: [str]}, CodeSigningPolicies: CodeSigningPolicies{UntrustedArtifactOnDeployment: str?}, LastModified: str}}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/event-source-mappings/{UUID}
@required {UUID: str}
@returns(200) {UUID: str?, StartingPosition: str?, StartingPositionTimestamp: str(timestamp)?, BatchSize: int?, MaximumBatchingWindowInSeconds: int?, ParallelizationFactor: int?, EventSourceArn: str?, FilterCriteria: FilterCriteria?{Filters: [Filter]?}, FunctionArn: str?, LastModified: str(timestamp)?, LastProcessingResult: str?, State: str?, StateTransitionReason: str?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}, Topics: [str]?, Queues: [str]?, SourceAccessConfigurations: [SourceAccessConfiguration]?, SelfManagedEventSource: SelfManagedEventSource?{Endpoints: map<str,[str]>?}, MaximumRecordAgeInSeconds: int?, BisectBatchOnFunctionError: bool?, MaximumRetryAttempts: int?, TumblingWindowInSeconds: int?, FunctionResponseTypes: [str]?, AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, ScalingConfig: ScalingConfig?{MaximumConcurrency: int?}, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig?{DatabaseName: str?, CollectionName: str?, FullDocument: str?}, KMSKeyArn: str?, FilterCriteriaError: FilterCriteriaError?{ErrorCode: str?, Message: str?}}

@endpoint GET /2015-03-31/functions/{FunctionName}
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {Configuration: FunctionConfiguration?{FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}, Code: FunctionCodeLocation?{RepositoryType: str?, Location: str?, ImageUri: str?, ResolvedImageUri: str?}, Tags: map<str,str>?, Concurrency: Concurrency?{ReservedConcurrentExecutions: int?}}

@endgroup

@group 2020-06-30
@endpoint GET /2020-06-30/functions/{FunctionName}/code-signing-config
@required {FunctionName: str}
@returns(200) {CodeSigningConfigArn: str, FunctionName: str}

@endgroup

@group 2019-09-30
@endpoint GET /2019-09-30/functions/{FunctionName}/concurrency
@required {FunctionName: str}
@returns(200) {ReservedConcurrentExecutions: int?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/{FunctionName}/configuration
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}

@endgroup

@group 2019-09-25
@endpoint GET /2019-09-25/functions/{FunctionName}/event-invoke-config
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {LastModified: str(timestamp)?, FunctionArn: str?, MaximumRetryAttempts: int?, MaximumEventAgeInSeconds: int?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}}

@endgroup

@group 2024-08-31
@endpoint GET /2024-08-31/functions/{FunctionName}/recursion-config
@required {FunctionName: str}
@returns(200) {RecursiveLoop: str?}

@endgroup

@group 2021-10-31
@endpoint GET /2021-10-31/functions/{FunctionName}/url
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {FunctionUrl: str, FunctionArn: str, AuthType: str, Cors: Cors?{AllowCredentials: bool?, AllowHeaders: [str]?, AllowMethods: [str]?, AllowOrigins: [str]?, ExposeHeaders: [str]?, MaxAge: int?}, CreationTime: str, LastModifiedTime: str, InvokeMode: str?}

@endgroup

@group 2018-10-31
@endpoint GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
@required {LayerName: str, VersionNumber: int(i64)}
@returns(200) {Content: LayerVersionContentOutput?{Location: str?, CodeSha256: str?, CodeSize: int(i64)?, SigningProfileVersionArn: str?, SigningJobArn: str?}, LayerArn: str?, LayerVersionArn: str?, Description: str?, CreatedDate: str?, Version: int(i64)?, CompatibleRuntimes: [str]?, LicenseInfo: str?, CompatibleArchitectures: [str]?}

@endpoint GET /2018-10-31/layers?find=LayerVersion
@required {Arn: str}
@returns(200) {Content: LayerVersionContentOutput?{Location: str?, CodeSha256: str?, CodeSize: int(i64)?, SigningProfileVersionArn: str?, SigningJobArn: str?}, LayerArn: str?, LayerVersionArn: str?, Description: str?, CreatedDate: str?, Version: int(i64)?, CompatibleRuntimes: [str]?, LicenseInfo: str?, CompatibleArchitectures: [str]?}

@endpoint GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
@required {LayerName: str, VersionNumber: int(i64)}
@returns(200) {Policy: str?, RevisionId: str?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/{FunctionName}/policy
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {Policy: str?, RevisionId: str?}

@endgroup

@group 2019-09-30
@endpoint GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency
@required {FunctionName: str, Qualifier: str}
@returns(200) {RequestedProvisionedConcurrentExecutions: int?, AvailableProvisionedConcurrentExecutions: int?, AllocatedProvisionedConcurrentExecutions: int?, Status: str?, StatusReason: str?, LastModified: str?}

@endgroup

@group 2021-07-20
@endpoint GET /2021-07-20/functions/{FunctionName}/runtime-management-config
@required {FunctionName: str}
@optional {Qualifier: str}
@returns(200) {UpdateRuntimeOn: str?, RuntimeVersionArn: str?, FunctionArn: str?}

@endgroup

@group 2015-03-31
@endpoint POST /2015-03-31/functions/{FunctionName}/invocations
@required {FunctionName: str}
@optional {X-Amz-Invocation-Type: str, X-Amz-Log-Type: str, X-Amz-Client-Context: str, Qualifier: str, Payload: bytes}
@returns(200) {StatusCode: int?, FunctionError: str?, LogResult: str?, Payload: bytes?, ExecutedVersion: str?}

@endgroup

@group 2014-11-13
@endpoint POST /2014-11-13/functions/{FunctionName}/invoke-async/
@required {FunctionName: str, InvokeArgs: bytes}
@returns(200) {Status: int?}

@endgroup

@group 2021-11-15
@endpoint POST /2021-11-15/functions/{FunctionName}/response-streaming-invocations
@required {FunctionName: str}
@optional {X-Amz-Invocation-Type: str, X-Amz-Log-Type: str, X-Amz-Client-Context: str, Qualifier: str, Payload: bytes}
@returns(200) {StatusCode: int?, ExecutedVersion: str?, EventStream: InvokeWithResponseStreamResponseEvent?{PayloadChunk: InvokeResponseStreamUpdate?{Payload: bytes?}, InvokeComplete: InvokeWithResponseStreamCompleteEvent?{ErrorCode: str?, ErrorDetails: str?, LogResult: str?}}, ResponseStreamContentType: str?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/{FunctionName}/aliases
@required {FunctionName: str}
@optional {FunctionVersion: str, Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, Aliases: [AliasConfiguration]?}

@endgroup

@group 2020-04-22
@endpoint GET /2020-04-22/code-signing-configs/
@optional {Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, CodeSigningConfigs: [CodeSigningConfig]?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/event-source-mappings/
@optional {EventSourceArn: str, FunctionName: str, Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, EventSourceMappings: [EventSourceMappingConfiguration]?}

@endgroup

@group 2019-09-25
@endpoint GET /2019-09-25/functions/{FunctionName}/event-invoke-config/list
@required {FunctionName: str}
@optional {Marker: str, MaxItems: int}
@returns(200) {FunctionEventInvokeConfigs: [FunctionEventInvokeConfig]?, NextMarker: str?}

@endgroup

@group 2021-10-31
@endpoint GET /2021-10-31/functions/{FunctionName}/urls
@required {FunctionName: str}
@optional {Marker: str, MaxItems: int}
@returns(200) {FunctionUrlConfigs: [FunctionUrlConfig], NextMarker: str?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/
@optional {MasterRegion: str, FunctionVersion: str, Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, Functions: [FunctionConfiguration]?}

@endgroup

@group 2020-04-22
@endpoint GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions
@required {CodeSigningConfigArn: str}
@optional {Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, FunctionArns: [str]?}

@endgroup

@group 2018-10-31
@endpoint GET /2018-10-31/layers/{LayerName}/versions
@required {LayerName: str}
@optional {CompatibleRuntime: str, Marker: str, MaxItems: int, CompatibleArchitecture: str}
@returns(200) {NextMarker: str?, LayerVersions: [LayerVersionsListItem]?}

@endpoint GET /2018-10-31/layers
@optional {CompatibleRuntime: str, Marker: str, MaxItems: int, CompatibleArchitecture: str}
@returns(200) {NextMarker: str?, Layers: [LayersListItem]?}

@endgroup

@group 2019-09-30
@endpoint GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL
@required {FunctionName: str}
@optional {Marker: str, MaxItems: int}
@returns(200) {ProvisionedConcurrencyConfigs: [ProvisionedConcurrencyConfigListItem]?, NextMarker: str?}

@endgroup

@group 2017-03-31
@endpoint GET /2017-03-31/tags/{ARN}
@required {Resource: str}
@returns(200) {Tags: map<str,str>?}

@endgroup

@group 2015-03-31
@endpoint GET /2015-03-31/functions/{FunctionName}/versions
@required {FunctionName: str}
@optional {Marker: str, MaxItems: int}
@returns(200) {NextMarker: str?, Versions: [FunctionConfiguration]?}

@endgroup

@group 2018-10-31
@endpoint POST /2018-10-31/layers/{LayerName}/versions
@required {LayerName: str, Content: LayerVersionContentInput}
@optional {Description: str, CompatibleRuntimes: [str], LicenseInfo: str, CompatibleArchitectures: [str]}
@returns(200) {Content: LayerVersionContentOutput?{Location: str?, CodeSha256: str?, CodeSize: int(i64)?, SigningProfileVersionArn: str?, SigningJobArn: str?}, LayerArn: str?, LayerVersionArn: str?, Description: str?, CreatedDate: str?, Version: int(i64)?, CompatibleRuntimes: [str]?, LicenseInfo: str?, CompatibleArchitectures: [str]?}

@endgroup

@group 2015-03-31
@endpoint POST /2015-03-31/functions/{FunctionName}/versions
@required {FunctionName: str}
@optional {CodeSha256: str, Description: str, RevisionId: str}
@returns(200) {FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}

@endgroup

@group 2020-06-30
@endpoint PUT /2020-06-30/functions/{FunctionName}/code-signing-config
@required {FunctionName: str, CodeSigningConfigArn: str}
@returns(200) {CodeSigningConfigArn: str, FunctionName: str}

@endgroup

@group 2017-10-31
@endpoint PUT /2017-10-31/functions/{FunctionName}/concurrency
@required {FunctionName: str, ReservedConcurrentExecutions: int}
@returns(200) {ReservedConcurrentExecutions: int?}

@endgroup

@group 2019-09-25
@endpoint PUT /2019-09-25/functions/{FunctionName}/event-invoke-config
@required {FunctionName: str}
@optional {Qualifier: str, MaximumRetryAttempts: int, MaximumEventAgeInSeconds: int, DestinationConfig: DestinationConfig}
@returns(200) {LastModified: str(timestamp)?, FunctionArn: str?, MaximumRetryAttempts: int?, MaximumEventAgeInSeconds: int?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}}

@endgroup

@group 2024-08-31
@endpoint PUT /2024-08-31/functions/{FunctionName}/recursion-config
@required {FunctionName: str, RecursiveLoop: str}
@returns(200) {RecursiveLoop: str?}

@endgroup

@group 2019-09-30
@endpoint PUT /2019-09-30/functions/{FunctionName}/provisioned-concurrency
@required {FunctionName: str, Qualifier: str, ProvisionedConcurrentExecutions: int}
@returns(200) {RequestedProvisionedConcurrentExecutions: int?, AvailableProvisionedConcurrentExecutions: int?, AllocatedProvisionedConcurrentExecutions: int?, Status: str?, StatusReason: str?, LastModified: str?}

@endgroup

@group 2021-07-20
@endpoint PUT /2021-07-20/functions/{FunctionName}/runtime-management-config
@required {FunctionName: str, UpdateRuntimeOn: str}
@optional {Qualifier: str, RuntimeVersionArn: str}
@returns(200) {UpdateRuntimeOn: str, FunctionArn: str, RuntimeVersionArn: str?}

@endgroup

@group 2018-10-31
@endpoint DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}
@required {LayerName: str, VersionNumber: int(i64), StatementId: str}
@optional {RevisionId: str}

@endgroup

@group 2015-03-31
@endpoint DELETE /2015-03-31/functions/{FunctionName}/policy/{StatementId}
@required {FunctionName: str, StatementId: str}
@optional {Qualifier: str, RevisionId: str}

@endgroup

@group 2017-03-31
@endpoint POST /2017-03-31/tags/{ARN}
@required {Resource: str, Tags: map<str,str>}

@endpoint DELETE /2017-03-31/tags/{ARN}
@required {Resource: str, tagKeys: [str]}

@endgroup

@group 2015-03-31
@endpoint PUT /2015-03-31/functions/{FunctionName}/aliases/{Name}
@required {FunctionName: str, Name: str}
@optional {FunctionVersion: str, Description: str, RoutingConfig: AliasRoutingConfiguration, RevisionId: str}
@returns(200) {AliasArn: str?, Name: str?, FunctionVersion: str?, Description: str?, RoutingConfig: AliasRoutingConfiguration?{AdditionalVersionWeights: map<str,num(f64)>?}, RevisionId: str?}

@endgroup

@group 2020-04-22
@endpoint PUT /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
@required {CodeSigningConfigArn: str}
@optional {Description: str, AllowedPublishers: AllowedPublishers, CodeSigningPolicies: CodeSigningPolicies}
@returns(200) {CodeSigningConfig: CodeSigningConfig{CodeSigningConfigId: str, CodeSigningConfigArn: str, Description: str?, AllowedPublishers: AllowedPublishers{SigningProfileVersionArns: [str]}, CodeSigningPolicies: CodeSigningPolicies{UntrustedArtifactOnDeployment: str?}, LastModified: str}}

@endgroup

@group 2015-03-31
@endpoint PUT /2015-03-31/event-source-mappings/{UUID}
@required {UUID: str}
@optional {FunctionName: str, Enabled: bool, BatchSize: int, FilterCriteria: FilterCriteria, MaximumBatchingWindowInSeconds: int, DestinationConfig: DestinationConfig, MaximumRecordAgeInSeconds: int, BisectBatchOnFunctionError: bool, MaximumRetryAttempts: int, ParallelizationFactor: int, SourceAccessConfigurations: [SourceAccessConfiguration], TumblingWindowInSeconds: int, FunctionResponseTypes: [str], ScalingConfig: ScalingConfig, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig, KMSKeyArn: str}
@returns(200) {UUID: str?, StartingPosition: str?, StartingPositionTimestamp: str(timestamp)?, BatchSize: int?, MaximumBatchingWindowInSeconds: int?, ParallelizationFactor: int?, EventSourceArn: str?, FilterCriteria: FilterCriteria?{Filters: [Filter]?}, FunctionArn: str?, LastModified: str(timestamp)?, LastProcessingResult: str?, State: str?, StateTransitionReason: str?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}, Topics: [str]?, Queues: [str]?, SourceAccessConfigurations: [SourceAccessConfiguration]?, SelfManagedEventSource: SelfManagedEventSource?{Endpoints: map<str,[str]>?}, MaximumRecordAgeInSeconds: int?, BisectBatchOnFunctionError: bool?, MaximumRetryAttempts: int?, TumblingWindowInSeconds: int?, FunctionResponseTypes: [str]?, AmazonManagedKafkaEventSourceConfig: AmazonManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, SelfManagedKafkaEventSourceConfig: SelfManagedKafkaEventSourceConfig?{ConsumerGroupId: str?}, ScalingConfig: ScalingConfig?{MaximumConcurrency: int?}, DocumentDBEventSourceConfig: DocumentDBEventSourceConfig?{DatabaseName: str?, CollectionName: str?, FullDocument: str?}, KMSKeyArn: str?, FilterCriteriaError: FilterCriteriaError?{ErrorCode: str?, Message: str?}}

@endpoint PUT /2015-03-31/functions/{FunctionName}/code
@required {FunctionName: str}
@optional {ZipFile: bytes, S3Bucket: str, S3Key: str, S3ObjectVersion: str, ImageUri: str, Publish: bool, DryRun: bool, RevisionId: str, Architectures: [str]}
@returns(200) {FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}

@endpoint PUT /2015-03-31/functions/{FunctionName}/configuration
@required {FunctionName: str}
@optional {Role: str, Handler: str, Description: str, Timeout: int, MemorySize: int, VpcConfig: VpcConfig, Environment: Environment, Runtime: str, DeadLetterConfig: DeadLetterConfig, KMSKeyArn: str, TracingConfig: TracingConfig, RevisionId: str, Layers: [str], FileSystemConfigs: [FileSystemConfig], ImageConfig: ImageConfig, EphemeralStorage: EphemeralStorage, SnapStart: SnapStart, LoggingConfig: LoggingConfig}
@returns(200) {FunctionName: str?, FunctionArn: str?, Runtime: str?, Role: str?, Handler: str?, CodeSize: int(i64)?, Description: str?, Timeout: int?, MemorySize: int?, LastModified: str?, CodeSha256: str?, Version: str?, VpcConfig: VpcConfigResponse?{SubnetIds: [str]?, SecurityGroupIds: [str]?, VpcId: str?, Ipv6AllowedForDualStack: bool?}, DeadLetterConfig: DeadLetterConfig?{TargetArn: str?}, Environment: EnvironmentResponse?{Variables: map<str,str>?, Error: EnvironmentError?{ErrorCode: str?, Message: str?}}, KMSKeyArn: str?, TracingConfig: TracingConfigResponse?{Mode: str?}, MasterArn: str?, RevisionId: str?, Layers: [Layer]?, State: str?, StateReason: str?, StateReasonCode: str?, LastUpdateStatus: str?, LastUpdateStatusReason: str?, LastUpdateStatusReasonCode: str?, FileSystemConfigs: [FileSystemConfig]?, PackageType: str?, ImageConfigResponse: ImageConfigResponse?{ImageConfig: ImageConfig?{EntryPoint: [str]?, Command: [str]?, WorkingDirectory: str?}, Error: ImageConfigError?{ErrorCode: str?, Message: str?}}, SigningProfileVersionArn: str?, SigningJobArn: str?, Architectures: [str]?, EphemeralStorage: EphemeralStorage?{Size: int}, SnapStart: SnapStartResponse?{ApplyOn: str?, OptimizationStatus: str?}, RuntimeVersionConfig: RuntimeVersionConfig?{RuntimeVersionArn: str?, Error: RuntimeVersionError?{ErrorCode: str?, Message: str?}}, LoggingConfig: LoggingConfig?{LogFormat: str?, ApplicationLogLevel: str?, SystemLogLevel: str?, LogGroup: str?}}

@endgroup

@group 2019-09-25
@endpoint POST /2019-09-25/functions/{FunctionName}/event-invoke-config
@required {FunctionName: str}
@optional {Qualifier: str, MaximumRetryAttempts: int, MaximumEventAgeInSeconds: int, DestinationConfig: DestinationConfig}
@returns(200) {LastModified: str(timestamp)?, FunctionArn: str?, MaximumRetryAttempts: int?, MaximumEventAgeInSeconds: int?, DestinationConfig: DestinationConfig?{OnSuccess: OnSuccess?{Destination: str?}, OnFailure: OnFailure?{Destination: str?}}}

@endgroup

@group 2021-10-31
@endpoint PUT /2021-10-31/functions/{FunctionName}/url
@required {FunctionName: str}
@optional {Qualifier: str, AuthType: str, Cors: Cors, InvokeMode: str}
@returns(200) {FunctionUrl: str, FunctionArn: str, AuthType: str, Cors: Cors?{AllowCredentials: bool?, AllowHeaders: [str]?, AllowMethods: [str]?, AllowOrigins: [str]?, ExposeHeaders: [str]?, MaxAge: int?}, CreationTime: str, LastModifiedTime: str, InvokeMode: str?}

@endgroup

@end
