{ "smithy": "2.0", "shapes": { "com.amazonaws.lambdaweb#AccessDeniedException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "
A message describing the access denied error.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "You don't have permission to perform this operation. Check the IAM policies for your identity and any resource-based policy on the web function.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.lambdaweb#AccountQuotas": { "type": "structure", "members": { "maxTotalArmVCpus": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum total number of Arm vCPUs that you can allocate across all of your web functions in the current AWS Region.
", "smithy.api#range": { "min": 0 }, "smithy.api#required": {} } }, "maxTotalRateLimit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum number of requests per second allowed across all of your web function endpoints in your account in the current AWS Region.
", "smithy.api#range": { "min": 0 }, "smithy.api#required": {} } }, "maxRevisionsPerFunction": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum number of revisions that a single web function can have.
", "smithy.api#range": { "min": 0 }, "smithy.api#required": {} } }, "maxEndpointsPerFunction": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum number of endpoints that a single web function can have.
", "smithy.api#range": { "min": 0 }, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The quotas that apply to web functions in your account in the current AWS Region.
" } }, "com.amazonaws.lambdaweb#AccountUsage": { "type": "structure", "members": { "functionCount": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The number of web functions in your account in the current AWS Region. This count includes web functions in all states, not only functions in the Active state.
Contains your current web function usage for the current AWS Region.
" } }, "com.amazonaws.lambdaweb#ApplicationLogLevel": { "type": "enum", "members": { "TRACE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "TRACE" } }, "DEBUG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEBUG" } }, "INFO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INFO" } }, "WARN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WARN" } }, "ERROR": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "ERROR" } }, "FATAL": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "FATAL" } } }, "traits": { "smithy.api#documentation": "The log level for application logs. Lambda sends logs at the selected level and at all more severe levels. Possible values, from least to most severe:
TRACE \u2013 The most detailed information, for tracing code paths.
DEBUG \u2013 Detailed information for debugging.
INFO \u2013 General information about application progress.
WARN \u2013 Potential issues that don't prevent the application from running.
ERROR \u2013 Errors that prevent an operation from completing.
FATAL \u2013 Severe errors that cause the application to stop.
The authorization type for a web function endpoint.
Valid values:
ApplicationManaged \u2013 Your application handles authorization.
IamAuth \u2013 Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
The auto-deployment mode for a web function endpoint.
Valid values:
LatestRevision \u2013 The endpoint automatically serves the newest revision.
Disabled \u2013 Revision routing stays fixed until you change it.
The code configuration specifying where the deployment artifact is stored.
", "smithy.api#required": {} } }, "runtimeConfig": { "target": "com.amazonaws.lambdaweb#RuntimeConfig", "traits": { "smithy.api#documentation": "The runtime configuration for the revision.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The build configuration for a web function revision, including code location and runtime settings.
" } }, "com.amazonaws.lambdaweb#CodeConfig": { "type": "structure", "members": { "s3Object": { "target": "com.amazonaws.lambdaweb#S3Object", "traits": { "smithy.api#documentation": "The Amazon S3 location of the deployment artifact.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The code configuration specifying the location of the deployment artifact.
" } }, "com.amazonaws.lambdaweb#ConflictException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the conflict.
", "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The identifier of the resource in conflict.
" } }, "resourceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The type of the resource in conflict.
" } } }, "traits": { "smithy.api#documentation": "The request conflicts with the current state of the resource. For example, the resource is being modified by another request, you tried to delete a revision that is serving traffic on an endpoint, or the policy revision ID that you specified doesn't match the current policy. Resolve the conflict and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.lambdaweb#CreateWebFunction": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionRequest" }, "output": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "aws:RequestTag/${TagKey}", "aws:TagKeys", "lambda:Request/WebFunctionAuthType" ], "aws.iam#iamAction": { "documentation": "Grants permission to create a Lambda web function", "requiredActions": [ "iam:PassRole", "lambda:PassNetworkConnector" ], "resources": { "required": { "webFunction": {} } }, "createsResources": [ "webFunction" ] }, "smithy.api#documentation": "Creates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and service settings), and endpoint configuration.
To use this operation, you must have the CreateWebFunction permission on the web function. You don't need separate permissions for the initial revision or endpoint.
Creates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.
To use this operation, you must have the CreateWebFunctionEndpoint permission on the web function, not on the endpoint being created.
The web function to create the endpoint for.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint to create. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#documentation": "The type of endpoint to create. Determines how traffic is served and routed across Regions.
Valid values:
HomeRegion \u2013 Serves traffic from the Region where you created the web function.
MultiRegion \u2013 Replicates across the Regions that you choose and routes each request to the nearest one.
PerRegion \u2013 Creates a separate endpoint in each Region that you choose.
The authorization type for the endpoint.
Valid values:
ApplicationManaged \u2013 Your application handles authorization.
IamAuth \u2013 Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
The auto-deployment mode for the endpoint. Controls whether the endpoint automatically serves the newest revision. If you don't specify a value, the default is Disabled, and this default is returned in the response.
Valid values:
LatestRevision \u2013 The endpoint automatically serves the newest revision.
Disabled \u2013 Revision routing stays fixed until you change it.
A list of revision weights that determine how traffic is distributed across revisions. You can specify up to two revisions for canary or blue-green deployments.
" } }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList", "traits": { "smithy.api#documentation": "The list of Regions for the endpoint. Required when the endpoint type is MultiRegion or PerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type is HomeRegion, omit this field or specify only the home Region.
The scaling configuration for the endpoint. There is no default value. If you don't specify a scaling configuration, it is absent from the response.
" } }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig", "traits": { "smithy.api#documentation": "The throttling configuration for the endpoint. There is no default value. If you don't specify a throttling configuration, it is absent from the response.
" } } }, "traits": { "smithy.api#documentation": "The request to create a web function endpoint.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#CreateWebFunctionEndpointResponse": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "endpointArn": { "target": "com.amazonaws.lambdaweb#EndpointArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the endpoint.
", "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "The description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#required": {} } }, "domainName": { "target": "com.amazonaws.lambdaweb#DomainName", "traits": { "smithy.api#documentation": "The domain name assigned to the endpoint.
", "smithy.api#required": {} } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#required": {} } }, "autoDeploymentMode": { "target": "com.amazonaws.lambdaweb#AutoDeploymentMode", "traits": { "smithy.api#required": {} } }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList", "traits": { "smithy.api#documentation": "The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.
", "smithy.api#required": {} } }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList", "traits": { "smithy.api#documentation": "The Regions configured for the endpoint.
", "smithy.api#required": {} } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig" }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig" }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState", "traits": { "smithy.api#documentation": "The current state of the endpoint.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the endpoint.
", "smithy.api#required": {} } }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus" }, "updateStatusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the endpoint's most recent update status.
" } }, "regionalEndpoints": { "target": "com.amazonaws.lambdaweb#RegionalEndpoints", "traits": { "smithy.api#documentation": "The list of regional endpoint configurations.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the created endpoint.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#CreateWebFunctionRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The name of the web function. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.
", "smithy.api#required": {} } }, "revisionConfig": { "target": "com.amazonaws.lambdaweb#RevisionConfig", "traits": { "smithy.api#documentation": "The configuration for the initial revision of the web function, including code and service settings.
", "smithy.api#notProperty": {} } }, "endpointConfig": { "target": "com.amazonaws.lambdaweb#EndpointConfig", "traits": { "smithy.api#documentation": "The configuration for the initial endpoint of the web function.
", "smithy.api#notProperty": {} } }, "tags": { "target": "com.amazonaws.lambdaweb#Tags", "traits": { "smithy.api#documentation": "A map of tag keys and values to apply to the web function.
", "smithy.api#notProperty": {} } } }, "traits": { "smithy.api#documentation": "The request to create a web function.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#CreateWebFunctionResponse": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The name of the web function.
", "smithy.api#required": {} } }, "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.lambdaweb#FunctionState", "traits": { "smithy.api#documentation": "The current state of the web function.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the web function.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was last updated.
", "smithy.api#required": {} } }, "revision": { "target": "com.amazonaws.lambdaweb#FunctionRevisionSummary", "traits": { "smithy.api#documentation": "A summary of the initial revision created with the web function.
", "smithy.api#notProperty": {} } }, "endpoint": { "target": "com.amazonaws.lambdaweb#FunctionEndpointSummary", "traits": { "smithy.api#documentation": "A summary of the initial endpoint created with the web function.
", "smithy.api#notProperty": {} } }, "tags": { "target": "com.amazonaws.lambdaweb#Tags", "traits": { "smithy.api#documentation": "A map of tag keys and values associated with the web function.
", "smithy.api#notProperty": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the created web function.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#CreateWebFunctionRevision": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionRevisionRequest" }, "output": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionRevisionResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to create a revision for a Lambda web function", "requiredActions": [ "iam:PassRole", "lambda:PassNetworkConnector" ], "resources": { "required": { "webFunction": {} } }, "createsResources": [ "webFunctionRevision" ] }, "smithy.api#documentation": "Creates an immutable revision for a web function. A revision represents a specific version of the function code and configuration.
To use this operation, you must have the CreateWebFunctionRevision permission on the web function, not on the revision being created.
The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the revision.
" } }, "kmsKeyArn": { "target": "com.amazonaws.lambdaweb#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.
" } }, "buildConfig": { "target": "com.amazonaws.lambdaweb#BuildConfig", "traits": { "smithy.api#documentation": "The build configuration for the revision, including code location and runtime settings.
", "smithy.api#required": {} } }, "serviceConfig": { "target": "com.amazonaws.lambdaweb#ServiceConfig", "traits": { "smithy.api#documentation": "The service configuration for the revision, including execution role, timeout, and concurrency settings.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to create a web function revision.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#CreateWebFunctionRevisionResponse": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "revisionArn": { "target": "com.amazonaws.lambdaweb#RevisionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the revision.
", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId", "traits": { "smithy.api#documentation": "The identifier of the revision.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "The description of the revision.
" } }, "kmsKeyArn": { "target": "com.amazonaws.lambdaweb#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the revision's code and environment variables.
" } }, "buildConfig": { "target": "com.amazonaws.lambdaweb#BuildConfig", "traits": { "smithy.api#required": {} } }, "serviceConfig": { "target": "com.amazonaws.lambdaweb#ServiceConfig", "traits": { "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.lambdaweb#RevisionState", "traits": { "smithy.api#documentation": "The current state of the revision.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the revision.
", "smithy.api#required": {} } }, "errors": { "target": "com.amazonaws.lambdaweb#RevisionErrors", "traits": { "smithy.api#documentation": "A list of errors encountered during revision creation. This field is absent when the revision has no errors.
" } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the revision was created.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the created revision.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#DateTime": { "type": "timestamp", "traits": { "smithy.api#timestampFormat": "date-time" } }, "com.amazonaws.lambdaweb#DeleteResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#DeleteResourcePolicyRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Removes the resource-based policy from a web function.
", "smithy.api#http": { "method": "DELETE", "uri": "/2025-03-07/resource-policy/{resourceArn}", "code": 204 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#DeleteResourcePolicyRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#PolicyRevisionId", "traits": { "smithy.api#documentation": "The revision ID of the policy. Use this to prevent deleting a policy that has been updated since you last retrieved it. If you don't specify a value, the policy is deleted regardless of its current revision.
", "smithy.api#httpQuery": "RevisionId" } } }, "traits": { "smithy.api#documentation": "The request to delete a resource-based policy.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#DeleteWebFunction": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#DeleteWebFunctionRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to delete a Lambda web function", "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Deletes a web function and all of its associated revisions and endpoints.
To use this operation, you must have the DeleteWebFunction permission on the web function. You don't need the DeleteWebFunctionRevision or DeleteWebFunctionEndpoint permission.
Deletes a web function endpoint.
", "smithy.api#http": { "method": "DELETE", "uri": "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", "code": 204 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#DeleteWebFunctionEndpointRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The endpoint to delete.
You can specify either of the following:
The endpoint name, for example my-endpoint.
The endpoint ARN.
The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to delete a web function endpoint.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#DeleteWebFunctionRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function to delete.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to delete a web function.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#DeleteWebFunctionRevision": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#DeleteWebFunctionRevisionRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to delete a revision for a Lambda web function", "resources": { "required": { "webFunctionRevision": {} } } }, "smithy.api#documentation": "Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.
", "smithy.api#http": { "method": "DELETE", "uri": "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}", "code": 204 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#DeleteWebFunctionRevisionRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId", "traits": { "smithy.api#documentation": "The revision to delete.
You can specify either of the following:
The revision identifier.
The revision ARN.
The length constraint applies only to the full ARN.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to delete a web function revision.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.lambdaweb#DomainName": { "type": "string", "traits": { "smithy.api#length": { "min": 4, "max": 256 }, "smithy.api#pattern": "^([a-z0-9-]+\\.)+[a-z]+$" } }, "com.amazonaws.lambdaweb#EndpointArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.lambdaweb#EndpointConfig": { "type": "structure", "members": { "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint. The name can contain letters, numbers, hyphens (-), and underscores (_), and can't begin or end with a hyphen or an underscore. The name is limited to 64 characters in length.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#documentation": "The type of endpoint. Determines how traffic is served and routed across Regions.
Valid values:
HomeRegion \u2013 Serves traffic from the Region where you created the web function.
MultiRegion \u2013 Replicates across the Regions that you choose and routes each request to the nearest one.
PerRegion \u2013 Creates a separate endpoint in each Region that you choose.
The authorization type for the endpoint.
Valid values:
ApplicationManaged \u2013 Your application handles authorization.
IamAuth \u2013 Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
The auto-deployment mode for the endpoint. If you don't specify a value, the default is Disabled, and this default is returned in the response.
Valid values:
LatestRevision \u2013 The endpoint automatically serves the newest revision.
Disabled \u2013 Revision routing stays fixed until you change it.
The list of Regions for the endpoint. Required when the endpoint type is MultiRegion or PerRegion: specify at least one Region other than the Region where you create the endpoint (the home Region). The home Region is added automatically if you don't include it; specifying only the home Region isn't allowed. When the endpoint type is HomeRegion, omit this field or specify only the home Region.
The scaling configuration for the endpoint.
" } }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig", "traits": { "smithy.api#documentation": "The throttling configuration for the endpoint.
" } } }, "traits": { "smithy.api#documentation": "The configuration for a web function endpoint.
" } }, "com.amazonaws.lambdaweb#EndpointName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.lambdaweb#EndpointState": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Pending" } }, "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Active" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Failed" } }, "DELETING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Deleting" } } }, "traits": { "smithy.api#documentation": "The state of a web function endpoint. Possible values:
Pending \u2013 The endpoint is being created.
Active \u2013 The endpoint is ready to receive traffic.
Failed \u2013 Endpoint creation or update failed.
Deleting \u2013 The endpoint is being deleted.
The type of a web function endpoint.
Valid values:
HomeRegion \u2013 Serves traffic from the Region where you created the web function.
MultiRegion \u2013 Replicates across the Regions that you choose and routes each request to the nearest one.
PerRegion \u2013 Creates a separate endpoint in each Region that you choose.
The status of the most recent update to an endpoint. Possible values:
InProgress \u2013 The update is in progress.
Successful \u2013 The update completed successfully.
Failed \u2013 The update failed.
The name of the filter field.
", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9]+$", "smithy.api#required": {} } }, "values": { "target": "com.amazonaws.lambdaweb#FilterValueList", "traits": { "smithy.api#documentation": "The values to match for the filter.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A filter to apply when listing resources.
" } }, "com.amazonaws.lambdaweb#FilterList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#Filter" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#FilterValueList": { "type": "list", "member": { "target": "smithy.api#String", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "traits": { "smithy.api#length": { "min": 1, "max": 10 }, "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#FunctionArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.lambdaweb#FunctionEndpointSummary": { "type": "structure", "members": { "endpointArn": { "target": "com.amazonaws.lambdaweb#EndpointArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the endpoint.
", "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#documentation": "The type of the endpoint.
", "smithy.api#required": {} } }, "domainName": { "target": "com.amazonaws.lambdaweb#DomainName", "traits": { "smithy.api#documentation": "The domain name of the endpoint.
", "smithy.api#required": {} } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#documentation": "The authorization type for the endpoint.
", "smithy.api#required": {} } }, "autoDeploymentMode": { "target": "com.amazonaws.lambdaweb#AutoDeploymentMode", "traits": { "smithy.api#documentation": "The auto-deployment mode for the endpoint.
", "smithy.api#required": {} } }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList", "traits": { "smithy.api#documentation": "The revision weights for the endpoint.
", "smithy.api#required": {} } }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList", "traits": { "smithy.api#documentation": "The list of Regions for the endpoint.
", "smithy.api#required": {} } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig", "traits": { "smithy.api#documentation": "The scaling configuration for the endpoint. This field is absent if the endpoint has no scaling configuration.
" } }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig", "traits": { "smithy.api#documentation": "The throttling configuration for the endpoint. This field is absent if the endpoint has no throttling configuration.
" } }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState", "traits": { "smithy.api#documentation": "The current state of the endpoint.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the endpoint.
", "smithy.api#required": {} } }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus", "traits": { "smithy.api#documentation": "The status of the most recent update to the endpoint.
" } }, "updateStatusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current update status of the endpoint.
" } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A summary of a web function endpoint.
" } }, "com.amazonaws.lambdaweb#FunctionEndpointSummaryList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#FunctionEndpointSummary" }, "traits": { "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#FunctionName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.lambdaweb#FunctionRevisionSummary": { "type": "structure", "members": { "revisionArn": { "target": "com.amazonaws.lambdaweb#RevisionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the revision.
", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId", "traits": { "smithy.api#documentation": "The identifier of the revision.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the revision.
" } }, "state": { "target": "com.amazonaws.lambdaweb#RevisionState", "traits": { "smithy.api#documentation": "The current state of the revision.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the revision.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the revision was created.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A summary of a web function revision.
" } }, "com.amazonaws.lambdaweb#FunctionRevisionSummaryList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#FunctionRevisionSummary" }, "traits": { "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#FunctionState": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Pending" } }, "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Active" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Failed" } }, "DELETING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Deleting" } } }, "traits": { "smithy.api#documentation": "The state of a web function. Possible values:
Pending \u2013 The function is being created.
Active \u2013 The function is ready to use.
Failed \u2013 Function creation or update failed.
Deleting \u2013 The function is being deleted.
The name of the web function.
", "smithy.api#required": {} } }, "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.lambdaweb#FunctionState", "traits": { "smithy.api#documentation": "The current state of the web function.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the web function.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A summary of a web function.
" } }, "com.amazonaws.lambdaweb#FunctionSummaryList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#FunctionSummary" }, "traits": { "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#GetResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#GetResourcePolicyRequest" }, "output": { "target": "com.amazonaws.lambdaweb#GetResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Retrieves the resource-based policy attached to a web function.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/resource-policy/{resourceArn}" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#GetResourcePolicyRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to retrieve a resource-based policy.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#GetResourcePolicyResponse": { "type": "structure", "members": { "policy": { "target": "com.amazonaws.lambdaweb#ResourcePolicy", "traits": { "smithy.api#documentation": "The JSON-formatted resource-based policy attached to the web function.
", "smithy.api#jsonName": "Policy", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#PolicyRevisionId", "traits": { "smithy.api#documentation": "The revision ID of the policy.
", "smithy.api#jsonName": "RevisionId", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains the resource-based policy and its revision ID.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#GetWebAccountSettings": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#GetWebAccountSettingsRequest" }, "output": { "target": "com.amazonaws.lambdaweb#GetWebAccountSettingsResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to view the account settings" }, "smithy.api#documentation": "Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/web-account-settings" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#GetWebAccountSettingsRequest": { "type": "structure", "members": {}, "traits": { "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#GetWebAccountSettingsResponse": { "type": "structure", "members": { "accountQuotas": { "target": "com.amazonaws.lambdaweb#AccountQuotas", "traits": { "smithy.api#documentation": "The quotas that apply to web functions in your account in the current AWS Region.
", "smithy.api#required": {} } }, "accountUsage": { "target": "com.amazonaws.lambdaweb#AccountUsage", "traits": { "smithy.api#documentation": "The current web function usage for your account in the current AWS Region.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains your AWS Lambda Web Functions account quotas and usage for the current AWS Region.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#GetWebFunction": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#GetWebFunctionRequest" }, "output": { "target": "com.amazonaws.lambdaweb#GetWebFunctionResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to view details about a Lambda web function", "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Retrieves details about a web function, including its current state and configuration.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/web-functions/{functionName}" }, "smithy.api#readonly": {}, "smithy.waiters#waitable": { "WebFunctionActive": { "documentation": "Waits for the web function's state to be Active. This should be used after new function creation.", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "state", "expected": "Active", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "state", "expected": "Failed", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "state", "expected": "Deleting", "comparator": "stringEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "state", "expected": "Pending", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 }, "WebFunctionDeleted": { "documentation": "Waits for the web function to be deleted. This should be used after function deletion.", "acceptors": [ { "state": "success", "matcher": { "errorType": "ResourceNotFoundException" } }, { "state": "retry", "matcher": { "output": { "path": "state", "expected": "Deleting", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 } } } }, "com.amazonaws.lambdaweb#GetWebFunctionEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#GetWebFunctionEndpointRequest" }, "output": { "target": "com.amazonaws.lambdaweb#GetWebFunctionEndpointResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "lambda:Resource/WebFunctionAuthType" ], "aws.iam#iamAction": { "documentation": "Grants permission to view details about an endpoint for a Lambda web function", "resources": { "required": { "webFunctionEndpoint": {} } } }, "smithy.api#documentation": "Retrieves details about a web function endpoint, including its current state, configuration, and domain name.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}" }, "smithy.api#readonly": {}, "smithy.waiters#waitable": { "WebFunctionEndpointActive": { "documentation": "Waits for the web function endpoint's state to be Active. This should be used after new endpoint creation.", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "state", "expected": "Active", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "state", "expected": "Failed", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "state", "expected": "Deleting", "comparator": "stringEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "state", "expected": "Pending", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 }, "WebFunctionEndpointDeleted": { "documentation": "Waits for the web function endpoint to be deleted. This should be used after endpoint deletion.", "acceptors": [ { "state": "success", "matcher": { "errorType": "ResourceNotFoundException" } }, { "state": "retry", "matcher": { "output": { "path": "state", "expected": "Deleting", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 }, "WebFunctionEndpointUpdated": { "documentation": "Waits for the web function endpoint's update status to be Successful. This should be used after endpoint updates.", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "updateStatus", "expected": "Successful", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "updateStatus", "expected": "Failed", "comparator": "stringEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "updateStatus", "expected": "InProgress", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 } } } }, "com.amazonaws.lambdaweb#GetWebFunctionEndpointRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The endpoint to retrieve.
You can specify either of the following:
The endpoint name, for example my-endpoint.
The endpoint ARN.
The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to retrieve a web function endpoint.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#GetWebFunctionEndpointResponse": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "endpointArn": { "target": "com.amazonaws.lambdaweb#EndpointArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the endpoint.
", "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "The description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#required": {} } }, "domainName": { "target": "com.amazonaws.lambdaweb#DomainName", "traits": { "smithy.api#documentation": "The domain name assigned to the endpoint.
", "smithy.api#required": {} } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#required": {} } }, "autoDeploymentMode": { "target": "com.amazonaws.lambdaweb#AutoDeploymentMode", "traits": { "smithy.api#required": {} } }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList", "traits": { "smithy.api#documentation": "The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.
", "smithy.api#required": {} } }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList", "traits": { "smithy.api#documentation": "The Regions configured for the endpoint.
", "smithy.api#required": {} } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig" }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig" }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState", "traits": { "smithy.api#documentation": "The current state of the endpoint.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the endpoint.
", "smithy.api#required": {} } }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus" }, "updateStatusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the endpoint's most recent update status.
" } }, "regionalEndpoints": { "target": "com.amazonaws.lambdaweb#RegionalEndpoints", "traits": { "smithy.api#documentation": "The list of regional endpoint configurations.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the web function endpoint.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#GetWebFunctionRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function to retrieve.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to retrieve a web function.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#GetWebFunctionResponse": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The name of the web function.
", "smithy.api#required": {} } }, "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.lambdaweb#FunctionState", "traits": { "smithy.api#documentation": "The current state of the web function.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the web function.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the web function was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the web function.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#GetWebFunctionRevision": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#GetWebFunctionRevisionRequest" }, "output": { "target": "com.amazonaws.lambdaweb#GetWebFunctionRevisionResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to view details about a revision for a Lambda web function", "resources": { "required": { "webFunctionRevision": {} } } }, "smithy.api#documentation": "Retrieves details about a web function revision, including its state and configuration.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/web-functions/{functionName}/revisions/{revisionId}" }, "smithy.api#readonly": {}, "smithy.waiters#waitable": { "WebFunctionRevisionActive": { "documentation": "Waits for the web function revision's state to be Active. This should be used after new revision creation.", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "state", "expected": "Active", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "state", "expected": "Failed", "comparator": "stringEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "state", "expected": "Pending", "comparator": "stringEquals" } } } ], "minDelay": 1, "maxDelay": 300 } } } }, "com.amazonaws.lambdaweb#GetWebFunctionRevisionRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId", "traits": { "smithy.api#documentation": "The revision to retrieve.
You can specify either of the following:
The revision identifier.
The revision ARN.
The length constraint applies only to the full ARN.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to retrieve a web function revision.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#GetWebFunctionRevisionResponse": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "revisionArn": { "target": "com.amazonaws.lambdaweb#RevisionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the revision.
", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId", "traits": { "smithy.api#documentation": "The identifier of the revision.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "The description of the revision.
" } }, "kmsKeyArn": { "target": "com.amazonaws.lambdaweb#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the revision's code and environment variables.
" } }, "buildConfig": { "target": "com.amazonaws.lambdaweb#BuildConfig", "traits": { "smithy.api#required": {} } }, "serviceConfig": { "target": "com.amazonaws.lambdaweb#ServiceConfig", "traits": { "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.lambdaweb#RevisionState", "traits": { "smithy.api#documentation": "The current state of the revision.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the revision.
", "smithy.api#required": {} } }, "errors": { "target": "com.amazonaws.lambdaweb#RevisionErrors", "traits": { "smithy.api#documentation": "A list of errors encountered during revision creation. This field is absent when the revision has no errors.
" } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the revision was created.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the web function revision.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#InternalServerException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the internal error.
" } } }, "traits": { "smithy.api#documentation": "The request failed because of an internal error in the service. Retry the request. If the error persists, open a support case.
", "smithy.api#error": "server", "smithy.api#httpError": 500, "smithy.api#retryable": {} } }, "com.amazonaws.lambdaweb#KmsKeyArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:(aws[a-z-]*):kms:[a-z0-9-]+:[0-9]{12}:key/[a-z0-9-]+$" } }, "com.amazonaws.lambdaweb#LambdaWeb": { "type": "service", "version": "2025-03-07", "operations": [ { "target": "com.amazonaws.lambdaweb#DeleteResourcePolicy" }, { "target": "com.amazonaws.lambdaweb#GetResourcePolicy" }, { "target": "com.amazonaws.lambdaweb#GetWebAccountSettings" }, { "target": "com.amazonaws.lambdaweb#ListTags" }, { "target": "com.amazonaws.lambdaweb#PutResourcePolicy" }, { "target": "com.amazonaws.lambdaweb#TagResource" }, { "target": "com.amazonaws.lambdaweb#UntagResource" } ], "resources": [ { "target": "com.amazonaws.lambdaweb#WebFunction" } ], "traits": { "aws.api#service": { "sdkId": "Lambda Web", "arnNamespace": "lambda", "endpointPrefix": "lambda" }, "aws.auth#sigv4": { "name": "lambda" }, "aws.iam#defineConditionKeys": { "aws:RequestTag/${TagKey}": { "type": "String", "documentation": "Filters access by the tags that are passed in the request", "externalDocumentation": "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag" }, "aws:ResourceTag/${TagKey}": { "type": "String", "documentation": "Filters access by the tags associated with the resource. Enables attribute-based access control (ABAC) for all web function resources including sub-resources (revisions, endpoints) which inherit tags from the parent function", "externalDocumentation": "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag" }, "aws:TagKeys": { "type": "ArrayOfString", "documentation": "Filters access by the tag keys that are passed in the request", "externalDocumentation": "https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys" }, "lambda:Request/WebFunctionAuthType": { "type": "String", "documentation": "Filters access by the auth type specified in the request. Available during CreateWebFunction, CreateWebFunctionEndpoint, and UpdateWebFunctionEndpoint operations" }, "lambda:Resource/WebFunctionAuthType": { "type": "String", "documentation": "Filters access by the auth type configured on the web function endpoint resource. Available during InvokeWebFunctionEndpoint, UpdateWebFunctionEndpoint, DeleteWebFunctionEndpoint, and GetWebFunctionEndpoint operations" } }, "aws.iam#disableConditionKeyInference": {}, "aws.iam#supportedPrincipalTypes": [ "Root", "IAMUser", "IAMRole", "FederatedUser" ], "aws.protocols#restJson1": {}, "smithy.api#cors": {}, "smithy.api#documentation": "AWS Lambda Web Functions is a capability of AWS Lambda that you can use to run web applications and API backends as serverless HTTP servers. Your code listens on a network port and handles requests directly. You can use familiar Node.js web frameworks such as Express, Hono, or React Router with no Lambda-specific adapters or wrappers. You develop and run your server locally like any other Node.js web app.
Lambda creates an HTTPS endpoint, manages the execution environments, and scales your application with traffic, including to zero when it's idle. To reduce latency for globally distributed users, you can deploy across multiple AWS Regions behind a single endpoint.
A Web Function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS.
Use Web Functions for workloads that receive and respond to HTTP traffic directly. Common use cases include:
Web applications \u2013 Deploy full-stack or front-end applications that serve HTML, assets, and API routes from a single deployment.
REST and GraphQL APIs \u2013 Build API backends that serve high request volumes.
Microservices \u2013 Run HTTP services that scale independently with traffic, including to zero when idle.
Server-side rendering (SSR) \u2013 Serve pages that are rendered on the server at request time rather than pre-built. A Web Function runs your framework's production server directly. This suits applications that render personalized or frequently changing content on each request.
Streaming responses \u2013 Stream output to the client as it is produced, such as responses from a large language model.
For event-driven processing, such as handling queue messages or file uploads, use Lambda Event Functions instead. For more information about Web Functions, see Lambda Web Functions in the AWS Lambda Developer Guide.
", "smithy.api#title": "Lambda Web", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://lambda.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "rules": [ { "conditions": [], "endpoint": { "url": "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "rules": [ { "conditions": [], "endpoint": { "url": "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "rules": [ { "conditions": [], "endpoint": { "url": "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "rules": [ { "conditions": [], "endpoint": { "url": "https://lambda.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "type": "tree" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://lambda.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://lambda.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } }, "com.amazonaws.lambdaweb#ListTags": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#ListTagsRequest" }, "output": { "target": "com.amazonaws.lambdaweb#ListTagsResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "resources": { "optional": { "webFunction": {} } } }, "smithy.api#documentation": "Returns a list of tags applied to a web function.
", "smithy.api#http": { "method": "GET", "uri": "/2025-03-07/tags/{resource}" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#ListTagsRequest": { "type": "structure", "members": { "resource": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to list tags for a resource.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#ListTagsResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.lambdaweb#Tags", "traits": { "smithy.api#documentation": "A map of tag keys and values associated with the web function.
", "smithy.api#jsonName": "Tags" } } }, "traits": { "smithy.api#documentation": "Contains the list of tags.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionEndpoints": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#ListWebFunctionEndpointsRequest" }, "output": { "target": "com.amazonaws.lambdaweb#ListWebFunctionEndpointsResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to retrieve a list of endpoints for a Lambda web function", "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Lists endpoints for a web function. Use pagination to ensure that the operation returns quickly and successfully.
", "smithy.api#http": { "method": "POST", "uri": "/2025-03-07/web-functions/{functionName}/list-endpoints" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "endpoints", "pageSize": "maxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionEndpointsRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "filters": { "target": "com.amazonaws.lambdaweb#FilterList", "traits": { "smithy.api#documentation": "A list of filters to apply to the results. Supported filter names: authType, autoDeploymentMode, endpointType, state, and updateStatus. If you don't specify a filter, the operation returns all endpoints for the web function.
The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.
" } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's returned by a previous request to retrieve the next page of results.
" } } }, "traits": { "smithy.api#documentation": "The request to list web function endpoints.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionEndpointsResponse": { "type": "structure", "members": { "endpoints": { "target": "com.amazonaws.lambdaweb#FunctionEndpointSummaryList", "traits": { "smithy.api#documentation": "A list of endpoint summaries for the web function.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's included if more results are available. Use this value as the nextToken request parameter in a subsequent call to retrieve the next page of results.
Contains the list of web function endpoints.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionRevisions": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#ListWebFunctionRevisionsRequest" }, "output": { "target": "com.amazonaws.lambdaweb#ListWebFunctionRevisionsResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to retrieve a list of revisions for a Lambda web function", "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Lists revisions for a web function. Use pagination to ensure that the operation returns quickly and successfully.
", "smithy.api#http": { "method": "POST", "uri": "/2025-03-07/web-functions/{functionName}/list-revisions" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "revisions", "pageSize": "maxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionRevisionsRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "filters": { "target": "com.amazonaws.lambdaweb#FilterList", "traits": { "smithy.api#documentation": "A list of filters to apply to the results. The only supported filter name is state. If you don't specify a filter, the operation returns all revisions for the web function.
The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.
" } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's returned by a previous request to retrieve the next page of results.
" } } }, "traits": { "smithy.api#documentation": "The request to list web function revisions.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionRevisionsResponse": { "type": "structure", "members": { "revisions": { "target": "com.amazonaws.lambdaweb#FunctionRevisionSummaryList", "traits": { "smithy.api#documentation": "A list of revision summaries for the web function.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's included if more results are available. Use this value as the nextToken request parameter in a subsequent call to retrieve the next page of results.
Contains the list of web function revisions.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#ListWebFunctions": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#ListWebFunctionsRequest" }, "output": { "target": "com.amazonaws.lambdaweb#ListWebFunctionsResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "documentation": "Grants permission to retrieve a list of Lambda web functions" }, "smithy.api#documentation": "Lists web functions in your account. Use pagination to ensure that the operation returns quickly and successfully.
", "smithy.api#http": { "method": "POST", "uri": "/2025-03-07/web-functions" }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "items": "functions", "pageSize": "maxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionsRequest": { "type": "structure", "members": { "filters": { "target": "com.amazonaws.lambdaweb#FilterList", "traits": { "smithy.api#documentation": "A list of filters to apply to the results. The only supported filter name is state. If you don't specify a filter, the operation returns all web functions.
The maximum number of results to return in a single call. Minimum value of 1, maximum value of 50. Default is 50.
" } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's returned by a previous request to retrieve the next page of results.
" } } }, "traits": { "smithy.api#documentation": "The request to list web functions.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#ListWebFunctionsResponse": { "type": "structure", "members": { "functions": { "target": "com.amazonaws.lambdaweb#FunctionSummaryList", "traits": { "smithy.api#documentation": "A list of web function summaries.
", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.lambdaweb#NextToken", "traits": { "smithy.api#documentation": "The pagination token that's included if more results are available. Use this value as the nextToken request parameter in a subsequent call to retrieve the next page of results.
Contains the list of web functions.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#LoggingConfig": { "type": "structure", "members": { "logGroup": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is /aws/lambda/web/{functionName}, and this default is returned in the response.
The log level for application logs emitted by the web function. If you don't specify a value, the default is INFO, and this default is returned in the response.
The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is INFO, and this default is returned in the response.
The logging configuration for a web function revision.
" } }, "com.amazonaws.lambdaweb#MaxResults": { "type": "integer", "traits": { "smithy.api#default": 50, "smithy.api#range": { "min": 1, "max": 50 } } }, "com.amazonaws.lambdaweb#NextToken": { "type": "string", "traits": { "smithy.api#pattern": "^[a-f0-9-]{36}$" } }, "com.amazonaws.lambdaweb#PolicyRevisionId": { "type": "string", "traits": { "smithy.api#pattern": "^[0-9a-f-]{36}$" } }, "com.amazonaws.lambdaweb#PutResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#PutResourcePolicyRequest" }, "output": { "target": "com.amazonaws.lambdaweb#PutResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "resources": { "required": { "webFunction": {} } } }, "smithy.api#documentation": "Adds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on the web function.
", "smithy.api#http": { "method": "PUT", "uri": "/2025-03-07/resource-policy/{resourceArn}" }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#PutResourcePolicyRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "policy": { "target": "com.amazonaws.lambdaweb#ResourcePolicy", "traits": { "smithy.api#documentation": "The JSON-formatted resource-based policy to attach to the web function.
", "smithy.api#jsonName": "Policy", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#PolicyRevisionId", "traits": { "smithy.api#documentation": "The revision ID of the existing policy. Use this to prevent conflicts when updating a policy concurrently. If you don't specify a value, the update proceeds without checking the current revision.
", "smithy.api#jsonName": "RevisionId" } } }, "traits": { "smithy.api#documentation": "The request to add or update a resource-based policy.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#PutResourcePolicyResponse": { "type": "structure", "members": { "policy": { "target": "com.amazonaws.lambdaweb#ResourcePolicy", "traits": { "smithy.api#documentation": "The JSON-formatted resource-based policy attached to the web function.
", "smithy.api#jsonName": "Policy", "smithy.api#required": {} } }, "revisionId": { "target": "com.amazonaws.lambdaweb#PolicyRevisionId", "traits": { "smithy.api#documentation": "The revision ID of the policy. Use this value in subsequent PutResourcePolicy or DeleteResourcePolicy requests to prevent conflicts.
Contains the resource-based policy and its revision ID.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#Region": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 50 }, "smithy.api#pattern": "^([a-z]{2,}-){2,}[0-9]$" } }, "com.amazonaws.lambdaweb#RegionList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#Region" }, "traits": { "smithy.api#length": { "min": 1, "max": 100 }, "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#RegionalEndpoint": { "type": "structure", "members": { "domainName": { "target": "com.amazonaws.lambdaweb#DomainName", "traits": { "smithy.api#documentation": "The domain name of the regional endpoint.
" } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#documentation": "The authorization type for the regional endpoint.
", "smithy.api#required": {} } }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList", "traits": { "smithy.api#documentation": "The revision weights for the regional endpoint.
", "smithy.api#required": {} } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig", "traits": { "smithy.api#documentation": "The scaling configuration for the regional endpoint. This field is absent if the endpoint has no scaling configuration.
" } }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig", "traits": { "smithy.api#documentation": "The throttling configuration for the regional endpoint. This field is absent if the endpoint has no throttling configuration.
" } }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState", "traits": { "smithy.api#documentation": "The current state of the regional endpoint.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the regional endpoint.
", "smithy.api#required": {} } }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus", "traits": { "smithy.api#documentation": "The status of the most recent update to the regional endpoint.
" } }, "updateStatusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current update status of the regional endpoint.
" } } }, "traits": { "smithy.api#documentation": "Represents the endpoint configuration and state in a specific Region.
" } }, "com.amazonaws.lambdaweb#RegionalEndpoints": { "type": "map", "key": { "target": "com.amazonaws.lambdaweb#Region" }, "value": { "target": "com.amazonaws.lambdaweb#RegionalEndpoint" } }, "com.amazonaws.lambdaweb#ResourceArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^arn:[^:]+:lambda:[^:]+:\\d{12}:web-function/[^/]+$" } }, "com.amazonaws.lambdaweb#ResourceNotFoundException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the resource not found error.
", "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The identifier of the resource that was not found.
" } }, "resourceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The type of the resource that was not found.
" } } }, "traits": { "smithy.api#documentation": "The specified web function, revision, endpoint, or resource-based policy doesn't exist. Verify the resource identifier and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.lambdaweb#ResourcePolicy": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 20480 } } }, "com.amazonaws.lambdaweb#RevisionArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.lambdaweb#RevisionConfig": { "type": "structure", "members": { "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the revision.
" } }, "kmsKeyArn": { "target": "com.amazonaws.lambdaweb#KmsKeyArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.
" } }, "buildConfig": { "target": "com.amazonaws.lambdaweb#BuildConfig", "traits": { "smithy.api#documentation": "The build configuration for the revision.
", "smithy.api#required": {} } }, "serviceConfig": { "target": "com.amazonaws.lambdaweb#ServiceConfig", "traits": { "smithy.api#documentation": "The service configuration for the revision.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The configuration for a web function revision, including code build settings and service configuration.
" } }, "com.amazonaws.lambdaweb#RevisionError": { "type": "structure", "members": { "attribute": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The name of the revision attribute that the error applies to.
", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#required": {} } }, "errorCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A short, machine-readable code that identifies the error.
", "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#required": {} } }, "errorMessage": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A human-readable message describing the error.
", "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A single error encountered while creating or reading a web function revision. The error describes the affected attribute, an error code, and a human-readable message. This structure is present only when the revision has errors.
" } }, "com.amazonaws.lambdaweb#RevisionErrors": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#RevisionError" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.lambdaweb#RevisionId": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.lambdaweb#RevisionState": { "type": "enum", "members": { "PENDING": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Pending" } }, "ACTIVE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Active" } }, "FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "Failed" } } }, "traits": { "smithy.api#documentation": "The state of a web function revision. Possible values:
Pending \u2013 The revision is being built.
Active \u2013 The revision is ready to serve traffic.
Failed \u2013 The revision build failed.
The identifier of the revision.
", "smithy.api#required": {} } }, "weight": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The percentage of traffic to route to this revision. Minimum value of 1, maximum value of 100.
", "smithy.api#range": { "min": 1, "max": 100 }, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Specifies a revision and its traffic weight for an endpoint. You can assign weights to up to two revisions to split traffic for canary or blue-green deployments.
" } }, "com.amazonaws.lambdaweb#RevisionWeightList": { "type": "list", "member": { "target": "com.amazonaws.lambdaweb#RevisionWeight" }, "traits": { "smithy.api#length": { "min": 1, "max": 2 }, "smithy.api#uniqueItems": {} } }, "com.amazonaws.lambdaweb#RoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:(aws[a-z-]*):iam::[0-9]{12}:role/[a-zA-Z0-9+=,.@_/-]+$" } }, "com.amazonaws.lambdaweb#RuntimeConfig": { "type": "structure", "members": { "runtime": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The runtime identifier for the web function (for example, a Node.js runtime identifier).
", "smithy.api#length": { "min": 1, "max": 30 }, "smithy.api#pattern": "^[a-z][a-z0-9]*(\\.[a-z0-9]+)*$", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The runtime configuration for a web function revision.
" } }, "com.amazonaws.lambdaweb#S3Object": { "type": "structure", "members": { "bucket": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The name of the Amazon S3 bucket.
", "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^([a-z0-9][a-z0-9\\.\\-]{1,61}[a-z0-9])$", "smithy.api#required": {} } }, "key": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The Amazon S3 object key.
", "smithy.api#length": { "min": 1, "max": 1024 }, "smithy.api#required": {} } }, "versionId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The version ID of the Amazon S3 object.
", "smithy.api#length": { "min": 1, "max": 1024 } } } }, "traits": { "smithy.api#documentation": "The Amazon S3 location of a deployment artifact.
" } }, "com.amazonaws.lambdaweb#ScalingConfig": { "type": "structure", "members": { "maxEnvironments": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum number of concurrent execution environments for the endpoint. Minimum value of 2, maximum value of 10000. There is no default value. If you don't specify a value, the scaling configuration is absent from the response. On an update, omit scalingConfig to keep the current value, or specify an empty object to clear a previously set value.
The scaling configuration for a web function endpoint.
" } }, "com.amazonaws.lambdaweb#ServiceConfig": { "type": "structure", "members": { "executionRoleArn": { "target": "com.amazonaws.lambdaweb#RoleArn", "traits": { "smithy.api#documentation": "The ARN of the IAM role that the web function assumes when it runs. This role provides permissions to access AWS services and resources.
", "smithy.api#required": {} } }, "timeoutSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#default": 30, "smithy.api#documentation": "The amount of time (in seconds) that Lambda allows the web function to run before stopping it. Minimum value of 3, maximum value of 900. If you don't specify a value, the default is 30, and this default is returned in the response.
", "smithy.api#range": { "min": 3, "max": 900 } } }, "egressNetworkConnectorArn": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda network connector that gives the web function access to resources in your VPC. You must specify the fully qualified ARN, including the connector version, which pins the revision to that version. If the network connector is deleted, invocations of revisions that reference it fail. Revisions that specify a network connector support only HomeRegion endpoints, not MultiRegion or PerRegion.
The maximum number of concurrent requests handled per execution environment. Minimum value of 1, maximum value of 128. If you don't specify a value, the default is 64, and this default is returned in the response.
", "smithy.api#range": { "min": 1, "max": 128 } } }, "environmentVariables": { "target": "com.amazonaws.lambdaweb#EnvironmentVariables", "traits": { "smithy.api#documentation": "A map of environment variable key-value pairs available to the web function at runtime. Environment variable values are sensitive.
" } }, "telemetryConfig": { "target": "com.amazonaws.lambdaweb#TelemetryConfig", "traits": { "smithy.api#documentation": "The telemetry configuration for the web function, including logging settings.
" } } }, "traits": { "smithy.api#documentation": "The service configuration for a web function revision, including execution role, timeout, VPC network access, concurrency, and telemetry settings.
" } }, "com.amazonaws.lambdaweb#ServiceQuotaExceededException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the quota that was exceeded.
", "smithy.api#required": {} } }, "resourceId": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The identifier of the resource that exceeded the quota.
" } }, "resourceType": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The type of resource that exceeded the quota.
" } }, "serviceCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The service code of the service that owns the quota.
" } }, "quotaCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The quota code of the exceeded quota.
" } } }, "traits": { "smithy.api#documentation": "The request would exceed a service quota, such as the maximum number of web functions in your account or the maximum number of revisions or endpoints per web function. Request a quota increase or reduce usage and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.lambdaweb#SystemLogLevel": { "type": "enum", "members": { "DEBUG": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "DEBUG" } }, "INFO": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "INFO" } }, "WARN": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "WARN" } } }, "traits": { "smithy.api#documentation": "The log level for system logs from the Lambda runtime. Lambda sends logs at the selected level and at all more severe levels. Possible values, from least to most severe:
DEBUG \u2013 Detailed information about the runtime, for debugging.
INFO \u2013 General information about the runtime, such as the start and end of execution.
WARN \u2013 Potential issues detected by the runtime.
Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.
", "smithy.api#http": { "method": "POST", "uri": "/2025-03-07/tags/{resource}", "code": 204 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#TagResourceRequest": { "type": "structure", "members": { "resource": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.lambdaweb#Tags", "traits": { "smithy.api#documentation": "A map of tag keys and values to add to the web function.
", "smithy.api#jsonName": "Tags", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to add tags to a resource.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#Tags": { "type": "map", "key": { "target": "com.amazonaws.lambdaweb#TagKey" }, "value": { "target": "smithy.api#String", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^[a-zA-Z0-9 _\\.:/=+\\-@]*$" } }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.lambdaweb#TelemetryConfig": { "type": "structure", "members": { "loggingConfig": { "target": "com.amazonaws.lambdaweb#LoggingConfig", "traits": { "smithy.api#documentation": "The logging configuration for the web function.
" } } }, "traits": { "smithy.api#documentation": "The telemetry configuration for a web function revision.
" } }, "com.amazonaws.lambdaweb#ThrottleConfig": { "type": "structure", "members": { "rateLimit": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The maximum request rate per second for the endpoint. The value must be one of the following supported values: 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, or 10000. The maximum effective value is also bounded by your account-level maximum total rate limit. There is no default value. If you don't specify a value, the throttling configuration is absent from the response. On an update, omit throttleConfig to keep the current value, or specify an empty object to clear a previously set value.
The throttling configuration for a web function endpoint.
" } }, "com.amazonaws.lambdaweb#ThrottlingException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the throttling error.
", "smithy.api#required": {} } }, "retryAfterSeconds": { "target": "smithy.api#Integer", "traits": { "smithy.api#documentation": "The number of seconds to wait before retrying the request.
", "smithy.api#httpHeader": "Retry-After" } }, "serviceCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The service code of the throttled service.
" } }, "quotaCode": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The quota code that was exceeded, if applicable.
" } } }, "traits": { "smithy.api#documentation": "The request was denied because it exceeded the request rate that Lambda allows for your account. Reduce the frequency of requests and retry with exponential backoff.
", "smithy.api#error": "client", "smithy.api#httpError": 429, "smithy.api#retryable": { "throttling": true } } }, "com.amazonaws.lambdaweb#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#UntagResourceRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#iamAction": { "resources": { "optional": { "webFunction": {} } } }, "smithy.api#documentation": "Removes tags from a web function.
", "smithy.api#http": { "method": "DELETE", "uri": "/2025-03-07/tags/{resource}", "code": 204 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#UntagResourceRequest": { "type": "structure", "members": { "resource": { "target": "com.amazonaws.lambdaweb#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.lambdaweb#TagKeyList", "traits": { "smithy.api#documentation": "A list of tag keys to remove from the web function.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request to remove tags from a resource.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#UpdateWebFunctionEndpoint": { "type": "operation", "input": { "target": "com.amazonaws.lambdaweb#UpdateWebFunctionEndpointRequest" }, "output": { "target": "com.amazonaws.lambdaweb#UpdateWebFunctionEndpointResponse" }, "errors": [ { "target": "com.amazonaws.lambdaweb#AccessDeniedException" }, { "target": "com.amazonaws.lambdaweb#ConflictException" }, { "target": "com.amazonaws.lambdaweb#InternalServerException" }, { "target": "com.amazonaws.lambdaweb#ResourceNotFoundException" }, { "target": "com.amazonaws.lambdaweb#ServiceQuotaExceededException" }, { "target": "com.amazonaws.lambdaweb#ThrottlingException" }, { "target": "com.amazonaws.lambdaweb#ValidationException" } ], "traits": { "aws.iam#conditionKeys": [ "lambda:Request/WebFunctionAuthType", "lambda:Resource/WebFunctionAuthType" ], "aws.iam#iamAction": { "documentation": "Grants permission to update an endpoint for a Lambda web function", "resources": { "required": { "webFunctionEndpoint": {} } } }, "smithy.api#documentation": "Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.
", "smithy.api#http": { "method": "PATCH", "uri": "/2025-03-07/web-functions/{functionName}/endpoints/{endpointName}", "code": 202 }, "smithy.api#idempotent": {} } }, "com.amazonaws.lambdaweb#UpdateWebFunctionEndpointRequest": { "type": "structure", "members": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName", "traits": { "smithy.api#documentation": "The web function.
You can specify either of the following:
The function name, for example my-function.
The function ARN.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The endpoint to update.
You can specify either of the following:
The endpoint name, for example my-endpoint.
The endpoint ARN.
The length constraint applies only to the full ARN. If you specify only the endpoint name, it is limited to 64 characters in length.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "A description of the endpoint. Omit this field to keep the current description.
" } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#documentation": "The authorization type for the endpoint. Omit this field to keep the current authorization type.
Valid values:
ApplicationManaged \u2013 Your application handles authorization.
IamAuth \u2013 Lambda uses IAM to authorize requests, which must be signed with Signature Version 4 (SigV4).
The auto-deployment mode for the endpoint. Omit this field to keep the current auto-deployment mode.
Valid values:
LatestRevision \u2013 The endpoint automatically serves the newest revision.
Disabled \u2013 Revision routing stays fixed until you change it.
A list of revision weights that determine how traffic is distributed across revisions.
" } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig", "traits": { "smithy.api#documentation": "The scaling configuration for the endpoint. Omit this field to keep the current scaling configuration. To clear a previously set maxEnvironments value, specify an empty object.
The throttling configuration for the endpoint. Omit this field to keep the current throttling configuration. To clear a previously set rateLimit value, specify an empty object.
The request to update a web function endpoint.
", "smithy.api#input": {} } }, "com.amazonaws.lambdaweb#UpdateWebFunctionEndpointResponse": { "type": "structure", "members": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the web function.
", "smithy.api#required": {} } }, "endpointArn": { "target": "com.amazonaws.lambdaweb#EndpointArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the endpoint.
", "smithy.api#required": {} } }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName", "traits": { "smithy.api#documentation": "The name of the endpoint.
", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.lambdaweb#Description", "traits": { "smithy.api#documentation": "The description of the endpoint.
" } }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType", "traits": { "smithy.api#required": {} } }, "domainName": { "target": "com.amazonaws.lambdaweb#DomainName", "traits": { "smithy.api#documentation": "The domain name assigned to the endpoint.
", "smithy.api#required": {} } }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType", "traits": { "smithy.api#required": {} } }, "autoDeploymentMode": { "target": "com.amazonaws.lambdaweb#AutoDeploymentMode", "traits": { "smithy.api#required": {} } }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList", "traits": { "smithy.api#documentation": "The traffic distribution across revisions for the endpoint. Each entry maps a revision to a weight from 1 to 100.
", "smithy.api#required": {} } }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList", "traits": { "smithy.api#documentation": "The Regions configured for the endpoint.
", "smithy.api#required": {} } }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig" }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig" }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState", "traits": { "smithy.api#documentation": "The current state of the endpoint.
", "smithy.api#required": {} } }, "stateReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the current state of the endpoint.
", "smithy.api#required": {} } }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus" }, "updateStatusReason": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "The reason for the endpoint's most recent update status.
" } }, "regionalEndpoints": { "target": "com.amazonaws.lambdaweb#RegionalEndpoints", "traits": { "smithy.api#documentation": "The list of regional endpoint configurations.
", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was created.
", "smithy.api#required": {} } }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime", "traits": { "smithy.api#documentation": "The date and time the endpoint was last updated.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Contains details about the updated endpoint.
", "smithy.api#output": {} } }, "com.amazonaws.lambdaweb#ValidationException": { "type": "structure", "members": { "message": { "target": "smithy.api#String", "traits": { "smithy.api#documentation": "A message describing the validation error.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request failed validation because a parameter was missing, malformed, or outside the allowed range. Check the request parameters and try again.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.lambdaweb#WebFunction": { "type": "resource", "identifiers": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName" } }, "properties": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn" }, "state": { "target": "com.amazonaws.lambdaweb#FunctionState" }, "stateReason": { "target": "smithy.api#String" }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime" }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime" } }, "put": { "target": "com.amazonaws.lambdaweb#CreateWebFunction" }, "read": { "target": "com.amazonaws.lambdaweb#GetWebFunction" }, "delete": { "target": "com.amazonaws.lambdaweb#DeleteWebFunction" }, "list": { "target": "com.amazonaws.lambdaweb#ListWebFunctions" }, "resources": [ { "target": "com.amazonaws.lambdaweb#WebFunctionEndpoint" }, { "target": "com.amazonaws.lambdaweb#WebFunctionRevision" } ], "traits": { "aws.api#arn": { "template": "web-function/{functionName}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}" ], "aws.iam#iamResource": { "disableConditionKeyInheritance": true, "name": "webFunction" }, "smithy.api#noReplace": {}, "smithy.api#suppress": [ "IamResourceTrait" ] } }, "com.amazonaws.lambdaweb#WebFunctionEndpoint": { "type": "resource", "identifiers": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName" }, "endpointName": { "target": "com.amazonaws.lambdaweb#EndpointName" } }, "properties": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn" }, "endpointArn": { "target": "com.amazonaws.lambdaweb#EndpointArn" }, "description": { "target": "com.amazonaws.lambdaweb#Description" }, "endpointType": { "target": "com.amazonaws.lambdaweb#EndpointType" }, "domainName": { "target": "com.amazonaws.lambdaweb#DomainName" }, "authType": { "target": "com.amazonaws.lambdaweb#AuthType" }, "autoDeploymentMode": { "target": "com.amazonaws.lambdaweb#AutoDeploymentMode" }, "revisionWeights": { "target": "com.amazonaws.lambdaweb#RevisionWeightList" }, "regions": { "target": "com.amazonaws.lambdaweb#RegionList" }, "scalingConfig": { "target": "com.amazonaws.lambdaweb#ScalingConfig" }, "throttleConfig": { "target": "com.amazonaws.lambdaweb#ThrottleConfig" }, "state": { "target": "com.amazonaws.lambdaweb#EndpointState" }, "stateReason": { "target": "smithy.api#String" }, "updateStatus": { "target": "com.amazonaws.lambdaweb#EndpointUpdateStatus" }, "updateStatusReason": { "target": "smithy.api#String" }, "regionalEndpoints": { "target": "com.amazonaws.lambdaweb#RegionalEndpoints" }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime" }, "updatedAt": { "target": "com.amazonaws.lambdaweb#DateTime" } }, "put": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionEndpoint" }, "read": { "target": "com.amazonaws.lambdaweb#GetWebFunctionEndpoint" }, "update": { "target": "com.amazonaws.lambdaweb#UpdateWebFunctionEndpoint" }, "delete": { "target": "com.amazonaws.lambdaweb#DeleteWebFunctionEndpoint" }, "list": { "target": "com.amazonaws.lambdaweb#ListWebFunctionEndpoints" }, "traits": { "aws.api#arn": { "template": "web-function/{functionName}/endpoint/{endpointName}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}" ], "aws.iam#iamResource": { "disableConditionKeyInheritance": true, "name": "webFunctionEndpoint" }, "smithy.api#noReplace": {}, "smithy.api#suppress": [ "IamResourceTrait" ] } }, "com.amazonaws.lambdaweb#WebFunctionRevision": { "type": "resource", "identifiers": { "functionName": { "target": "com.amazonaws.lambdaweb#FunctionName" }, "revisionId": { "target": "com.amazonaws.lambdaweb#RevisionId" } }, "properties": { "functionArn": { "target": "com.amazonaws.lambdaweb#FunctionArn" }, "revisionArn": { "target": "com.amazonaws.lambdaweb#RevisionArn" }, "description": { "target": "com.amazonaws.lambdaweb#Description" }, "kmsKeyArn": { "target": "com.amazonaws.lambdaweb#KmsKeyArn" }, "buildConfig": { "target": "com.amazonaws.lambdaweb#BuildConfig" }, "serviceConfig": { "target": "com.amazonaws.lambdaweb#ServiceConfig" }, "state": { "target": "com.amazonaws.lambdaweb#RevisionState" }, "stateReason": { "target": "smithy.api#String" }, "errors": { "target": "com.amazonaws.lambdaweb#RevisionErrors" }, "createdAt": { "target": "com.amazonaws.lambdaweb#DateTime" } }, "create": { "target": "com.amazonaws.lambdaweb#CreateWebFunctionRevision" }, "read": { "target": "com.amazonaws.lambdaweb#GetWebFunctionRevision" }, "delete": { "target": "com.amazonaws.lambdaweb#DeleteWebFunctionRevision" }, "list": { "target": "com.amazonaws.lambdaweb#ListWebFunctionRevisions" }, "traits": { "aws.api#arn": { "template": "web-function/{functionName}/revision/{revisionId}" }, "aws.iam#conditionKeys": [ "aws:ResourceTag/${TagKey}" ], "aws.iam#iamResource": { "disableConditionKeyInheritance": true, "name": "webFunctionRevision" }, "smithy.api#suppress": [ "IamResourceTrait" ] } } } }