diff --git a/CHANGELOG.md b/CHANGELOG.md index de56777b493..0d122dce2f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.44.185 (2023-01-23) +=== + +### Service Client Updates +* `service/lambda`: Updates service API and documentation + * Release Lambda RuntimeManagementConfig, enabling customers to better manage runtime updates to their Lambda functions. This release adds two new APIs, GetRuntimeManagementConfig and PutRuntimeManagementConfig, as well as support on existing Create/Get/Update function APIs. +* `service/sagemaker`: Updates service API and documentation + * Amazon SageMaker Inference now supports P4de instance types. + Release v1.44.184 (2023-01-20) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ed5a19dfea2..58bebbf888c 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -27,6 +27,7 @@ const ( ApSoutheast1RegionID = "ap-southeast-1" // Asia Pacific (Singapore). ApSoutheast2RegionID = "ap-southeast-2" // Asia Pacific (Sydney). ApSoutheast3RegionID = "ap-southeast-3" // Asia Pacific (Jakarta). + ApSoutheast4RegionID = "ap-southeast-4" // Asia Pacific (Melbourne). CaCentral1RegionID = "ca-central-1" // Canada (Central). EuCentral1RegionID = "eu-central-1" // Europe (Frankfurt). EuCentral2RegionID = "eu-central-2" // Europe (Zurich). @@ -172,6 +173,9 @@ var awsPartition = partition{ "ap-southeast-3": region{ Description: "Asia Pacific (Jakarta)", }, + "ap-southeast-4": region{ + Description: "Asia Pacific (Melbourne)", + }, "ca-central-1": region{ Description: "Canada (Central)", }, @@ -261,6 +265,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -432,6 +439,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -1168,6 +1178,14 @@ var awsPartition = partition{ Region: "ap-southeast-3", }, }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{ + Hostname: "api.ecr.ap-southeast-4.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-southeast-4", + }, + }, endpointKey{ Region: "ca-central-1", }: endpoint{ @@ -2096,6 +2114,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -2287,6 +2308,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -2493,6 +2517,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -3550,6 +3577,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -4291,6 +4321,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -4479,6 +4512,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -4760,6 +4796,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -5240,6 +5279,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -6292,6 +6334,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -7443,6 +7488,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -7683,6 +7731,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -8191,6 +8242,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -8357,6 +8411,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -8525,6 +8582,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -8712,6 +8772,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -9020,6 +9083,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -9760,6 +9826,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -9908,6 +9977,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -10463,6 +10535,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -10614,6 +10689,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -11627,6 +11705,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "me-central-1", + }: endpoint{}, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -14226,6 +14307,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -14649,6 +14733,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + Variant: fipsVariant, + }: endpoint{ + Hostname: "kms-fips.ap-southeast-4.amazonaws.com", + }, endpointKey{ Region: "ap-southeast-4-fips", }: endpoint{ @@ -15167,6 +15260,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "lambda.ap-southeast-3.api.aws", }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "lambda.ap-southeast-4.api.aws", + }, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -15823,6 +15925,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -16931,6 +17036,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -17410,6 +17518,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -18027,6 +18138,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -18647,6 +18761,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -19644,6 +19761,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -19801,6 +19921,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -20202,6 +20325,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -20739,6 +20865,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "resource-explorer-2.ap-southeast-2.api.aws", }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{ + Hostname: "resource-explorer-2.ap-southeast-4.api.aws", + }, endpointKey{ Region: "ca-central-1", }: endpoint{ @@ -20821,6 +20952,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-south-1", }: endpoint{}, + endpointKey{ + Region: "ap-south-2", + }: endpoint{}, endpointKey{ Region: "ap-southeast-1", }: endpoint{}, @@ -20830,18 +20964,27 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, + endpointKey{ + Region: "eu-central-2", + }: endpoint{}, endpointKey{ Region: "eu-north-1", }: endpoint{}, endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, @@ -21571,6 +21714,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "s3.dualstack.ap-southeast-3.amazonaws.com", }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3.dualstack.ap-southeast-4.amazonaws.com", + }, endpointKey{ Region: "aws-global", }: endpoint{ @@ -22660,6 +22812,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -24433,6 +24588,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -24581,6 +24739,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -24726,6 +24887,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -25075,6 +25239,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -25382,6 +25549,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -25474,6 +25644,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "aws-global", }: endpoint{ @@ -25650,6 +25823,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -25792,6 +25968,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -25934,6 +26113,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -28380,6 +28562,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-3", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 32befe5d6f4..fb90090f9e3 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.184" +const SDKVersion = "1.44.185" diff --git a/models/apis/lambda/2015-03-31/api-2.json b/models/apis/lambda/2015-03-31/api-2.json index a37587fbcf3..155bb19d872 100644 --- a/models/apis/lambda/2015-03-31/api-2.json +++ b/models/apis/lambda/2015-03-31/api-2.json @@ -529,6 +529,22 @@ {"shape":"ProvisionedConcurrencyConfigNotFoundException"} ] }, + "GetRuntimeManagementConfig":{ + "name":"GetRuntimeManagementConfig", + "http":{ + "method":"GET", + "requestUri":"/2021-07-20/functions/{FunctionName}/runtime-management-config", + "responseCode":200 + }, + "input":{"shape":"GetRuntimeManagementConfigRequest"}, + "output":{"shape":"GetRuntimeManagementConfigResponse"}, + "errors":[ + {"shape":"ServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"TooManyRequestsException"} + ] + }, "Invoke":{ "name":"Invoke", "http":{ @@ -878,6 +894,23 @@ {"shape":"ServiceException"} ] }, + "PutRuntimeManagementConfig":{ + "name":"PutRuntimeManagementConfig", + "http":{ + "method":"PUT", + "requestUri":"/2021-07-20/functions/{FunctionName}/runtime-management-config", + "responseCode":200 + }, + "input":{"shape":"PutRuntimeManagementConfigRequest"}, + "output":{"shape":"PutRuntimeManagementConfigResponse"}, + "errors":[ + {"shape":"ServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"TooManyRequestsException"} + ] + }, "RemoveLayerVersionPermission":{ "name":"RemoveLayerVersionPermission", "http":{ @@ -1964,7 +1997,8 @@ "SigningJobArn":{"shape":"Arn"}, "Architectures":{"shape":"ArchitecturesList"}, "EphemeralStorage":{"shape":"EphemeralStorage"}, - "SnapStart":{"shape":"SnapStartResponse"} + "SnapStart":{"shape":"SnapStartResponse"}, + "RuntimeVersionConfig":{"shape":"RuntimeVersionConfig"} } }, "FunctionEventInvokeConfig":{ @@ -2358,6 +2392,29 @@ "LastModified":{"shape":"Timestamp"} } }, + "GetRuntimeManagementConfigRequest":{ + "type":"structure", + "required":["FunctionName"], + "members":{ + "FunctionName":{ + "shape":"FunctionName", + "location":"uri", + "locationName":"FunctionName" + }, + "Qualifier":{ + "shape":"Qualifier", + "location":"querystring", + "locationName":"Qualifier" + } + } + }, + "GetRuntimeManagementConfigResponse":{ + "type":"structure", + "members":{ + "UpdateRuntimeOn":{"shape":"UpdateRuntimeOn"}, + "RuntimeVersionArn":{"shape":"RuntimeVersionArn"} + } + }, "Handler":{ "type":"string", "max":128, @@ -3424,6 +3481,39 @@ "LastModified":{"shape":"Timestamp"} } }, + "PutRuntimeManagementConfigRequest":{ + "type":"structure", + "required":[ + "FunctionName", + "UpdateRuntimeOn" + ], + "members":{ + "FunctionName":{ + "shape":"FunctionName", + "location":"uri", + "locationName":"FunctionName" + }, + "Qualifier":{ + "shape":"Qualifier", + "location":"querystring", + "locationName":"Qualifier" + }, + "UpdateRuntimeOn":{"shape":"UpdateRuntimeOn"}, + "RuntimeVersionArn":{"shape":"RuntimeVersionArn"} + } + }, + "PutRuntimeManagementConfigResponse":{ + "type":"structure", + "required":[ + "UpdateRuntimeOn", + "FunctionArn" + ], + "members":{ + "UpdateRuntimeOn":{"shape":"UpdateRuntimeOn"}, + "FunctionArn":{"shape":"FunctionArn"}, + "RuntimeVersionArn":{"shape":"RuntimeVersionArn"} + } + }, "Qualifier":{ "type":"string", "max":128, @@ -3591,6 +3681,26 @@ "nodejs18.x" ] }, + "RuntimeVersionArn":{ + "type":"string", + "max":2048, + "min":26, + "pattern":"^arn:(aws[a-zA-Z-]*):lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}::runtime:.+$" + }, + "RuntimeVersionConfig":{ + "type":"structure", + "members":{ + "RuntimeVersionArn":{"shape":"RuntimeVersionArn"}, + "Error":{"shape":"RuntimeVersionError"} + } + }, + "RuntimeVersionError":{ + "type":"structure", + "members":{ + "ErrorCode":{"shape":"String"}, + "Message":{"shape":"SensitiveString"} + } + }, "S3Bucket":{ "type":"string", "max":63, @@ -4104,6 +4214,14 @@ "LastModifiedTime":{"shape":"Timestamp"} } }, + "UpdateRuntimeOn":{ + "type":"string", + "enum":[ + "Auto", + "Manual", + "FunctionUpdate" + ] + }, "Version":{ "type":"string", "max":1024, diff --git a/models/apis/lambda/2015-03-31/docs-2.json b/models/apis/lambda/2015-03-31/docs-2.json index 26fc98167a3..f8ba384aaa0 100644 --- a/models/apis/lambda/2015-03-31/docs-2.json +++ b/models/apis/lambda/2015-03-31/docs-2.json @@ -4,12 +4,12 @@ "operations": { "AddLayerVersionPermission": "

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.

To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.

", "AddPermission": "

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.

To grant permission to another account, specify the account ID as the Principal. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.

This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.

", - "CreateAlias": "

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.

You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.

", + "CreateAlias": "

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.

You can also map an alias to split invocation requests between two versions. Use the RoutingConfig parameter to specify a second version and the percentage of invocation requests that it receives.

", "CreateCodeSigningConfig": "

Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).

", "CreateEventSourceMapping": "

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", "CreateFunction": "

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.

If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties.

If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64.

When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states.

A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration.

The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency).

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function.

If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.

", "CreateFunctionUrlConfig": "

Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.

", - "DeleteAlias": "

Deletes a Lambda function alias.

", + "DeleteAlias": "

Deletes a Lambda function alias.

", "DeleteCodeSigningConfig": "

Deletes the code signing configuration. You can delete the code signing configuration only if no function is using it.

", "DeleteEventSourceMapping": "

Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

When you delete an event source mapping, it enters a Deleting state and might not be completely deleted for several seconds.

", "DeleteFunction": "

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function directly, delete the trigger in the service where you originally configured it.

", @@ -20,7 +20,7 @@ "DeleteLayerVersion": "

Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.

", "DeleteProvisionedConcurrencyConfig": "

Deletes the provisioned concurrency configuration for a function.

", "GetAccountSettings": "

Retrieves details about your account's limits and usage in an Amazon Web Services Region.

", - "GetAlias": "

Returns details about a Lambda function alias.

", + "GetAlias": "

Returns details about a Lambda function alias.

", "GetCodeSigningConfig": "

Returns information about the specified code signing configuration.

", "GetEventSourceMapping": "

Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

", "GetFunction": "

Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.

", @@ -34,14 +34,15 @@ "GetLayerVersionPolicy": "

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

", "GetPolicy": "

Returns the resource-based IAM policy for a function, version, or alias.

", "GetProvisionedConcurrencyConfig": "

Retrieves the provisioned concurrency configuration for a function's alias or version.

", + "GetRuntimeManagementConfig": "

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

", "Invoke": "

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event.

For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.

For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded).

For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.

", "InvokeAsync": "

For asynchronous function invocation, use Invoke.

Invokes a function asynchronously.

", - "ListAliases": "

Returns a list of aliases for a Lambda function.

", + "ListAliases": "

Returns a list of aliases for a Lambda function.

", "ListCodeSigningConfigs": "

Returns a list of code signing configurations. A request returns up to 10,000 configurations per call. You can use the MaxItems parameter to return fewer configurations per call.

", "ListEventSourceMappings": "

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

", "ListFunctionEventInvokeConfigs": "

Retrieves a list of configurations for asynchronous invocation for a function.

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

", "ListFunctionUrlConfigs": "

Returns a list of Lambda function URLs for the specified function.

", - "ListFunctions": "

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for a function or version, use GetFunction.

", + "ListFunctions": "

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.

", "ListFunctionsByCodeSigningConfig": "

List the functions that use the specified code signing configuration. You can use this method prior to deleting a code signing configuration, to verify that no functions are using it.

", "ListLayerVersions": "

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

", "ListLayers": "

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.

", @@ -54,11 +55,12 @@ "PutFunctionConcurrency": "

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency level.

Concurrency settings apply to the function as a whole, including all published versions and the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current setting for a function.

Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.

", "PutFunctionEventInvokeConfig": "

Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.

By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.

To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.

", "PutProvisionedConcurrencyConfig": "

Adds a provisioned concurrency configuration to a function's alias or version.

", + "PutRuntimeManagementConfig": "

Sets the runtime management configuration for a function's version. For more information, see Runtime updates.

", "RemoveLayerVersionPermission": "

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

", "RemovePermission": "

Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.

", "TagResource": "

Adds tags to a function.

", "UntagResource": "

Removes tags from a function.

", - "UpdateAlias": "

Updates the configuration of a Lambda function alias.

", + "UpdateAlias": "

Updates the configuration of a Lambda function alias.

", "UpdateCodeSigningConfig": "

Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.

", "UpdateEventSourceMapping": "

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics.

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

For information about which configuration parameters apply to each event source, see the following topics.

", "UpdateFunctionCode": "

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda.

If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry.

If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field.

The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64).

The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version.

For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.

", @@ -128,7 +130,7 @@ } }, "AliasConfiguration": { - "base": "

Provides configuration information about a Lambda function alias.

", + "base": "

Provides configuration information about a Lambda function alias.

", "refs": { "AliasList$member": null } @@ -695,6 +697,7 @@ "GetFunctionUrlConfigResponse$FunctionArn": "

The Amazon Resource Name (ARN) of your function.

", "ListTagsRequest$Resource": "

The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.

", "ProvisionedConcurrencyConfigListItem$FunctionArn": "

The Amazon Resource Name (ARN) of the alias or version.

", + "PutRuntimeManagementConfigResponse$FunctionArn": "

The ARN of the function

", "TagResourceRequest$Resource": "

The function's Amazon Resource Name (ARN).

", "UntagResourceRequest$Resource": "

The function's Amazon Resource Name (ARN).

", "UpdateFunctionUrlConfigResponse$FunctionArn": "

The Amazon Resource Name (ARN) of your function.

" @@ -766,6 +769,7 @@ "GetFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetFunctionUrlConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "GetProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "GetRuntimeManagementConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListAliasesRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "ListEventSourceMappingsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", "ListFunctionEventInvokeConfigsRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", @@ -777,6 +781,7 @@ "PutFunctionConcurrencyRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PutFunctionEventInvokeConfigRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "PutProvisionedConcurrencyConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", + "PutRuntimeManagementConfigRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "RemovePermissionRequest$FunctionName": "

The name of the Lambda function, version, or alias.

Name formats

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateAliasRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

", "UpdateEventSourceMappingRequest$FunctionName": "

The name of the Lambda function.

Name formats

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.

", @@ -973,6 +978,16 @@ "refs": { } }, + "GetRuntimeManagementConfigRequest": { + "base": null, + "refs": { + } + }, + "GetRuntimeManagementConfigResponse": { + "base": null, + "refs": { + } + }, "Handler": { "base": null, "refs": { @@ -1691,6 +1706,16 @@ "refs": { } }, + "PutRuntimeManagementConfigRequest": { + "base": null, + "refs": { + } + }, + "PutRuntimeManagementConfigResponse": { + "base": null, + "refs": { + } + }, "Qualifier": { "base": null, "refs": { @@ -1703,9 +1728,11 @@ "GetFunctionRequest$Qualifier": "

Specify a version or alias to get details about a published version of the function.

", "GetPolicyRequest$Qualifier": "

Specify a version or alias to get the policy for that resource.

", "GetProvisionedConcurrencyConfigRequest$Qualifier": "

The version number or alias name.

", + "GetRuntimeManagementConfigRequest$Qualifier": "

Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the $LATEST version is returned.

", "InvocationRequest$Qualifier": "

Specify a version or alias to invoke a published version of the function.

", "PutFunctionEventInvokeConfigRequest$Qualifier": "

A version number or alias name.

", "PutProvisionedConcurrencyConfigRequest$Qualifier": "

The version number or alias name.

", + "PutRuntimeManagementConfigRequest$Qualifier": "

Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the $LATEST version is returned.

", "RemovePermissionRequest$Qualifier": "

Specify a version or alias to remove permissions from a published version of the function.

", "UpdateFunctionEventInvokeConfigRequest$Qualifier": "

A version number or alias name.

" } @@ -1791,6 +1818,27 @@ "UpdateFunctionConfigurationRequest$Runtime": "

The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

" } }, + "RuntimeVersionArn": { + "base": null, + "refs": { + "GetRuntimeManagementConfigResponse$RuntimeVersionArn": "

The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is returned, otherwise null is returned.

", + "PutRuntimeManagementConfigRequest$RuntimeVersionArn": "

The ARN of the runtime version you want the function to use.

This is only required if you're using the Manual runtime update mode.

", + "PutRuntimeManagementConfigResponse$RuntimeVersionArn": "

The ARN of the runtime the function is configured to use. If the runtime update mode is manual, the ARN is returned, otherwise null is returned.

", + "RuntimeVersionConfig$RuntimeVersionArn": "

The ARN of the runtime version you want the function to use.

" + } + }, + "RuntimeVersionConfig": { + "base": "

The ARN of the runtime and any errors that occured.

", + "refs": { + "FunctionConfiguration$RuntimeVersionConfig": "

The ARN of the runtime and any errors that occured.

" + } + }, + "RuntimeVersionError": { + "base": "

Any error returned when the runtime version information for the function could not be retrieved.

", + "refs": { + "RuntimeVersionConfig$Error": "

Error response when Lambda is unable to retrieve the runtime version for a function.

" + } + }, "S3Bucket": { "base": null, "refs": { @@ -1854,7 +1902,8 @@ "base": null, "refs": { "EnvironmentError$Message": "

The error message.

", - "ImageConfigError$Message": "

Error message.

" + "ImageConfigError$Message": "

Error message.

", + "RuntimeVersionError$Message": "

The error message.

" } }, "ServiceException": { @@ -1883,7 +1932,7 @@ } }, "SnapStartException": { - "base": "

The runtime restore hook encountered an error. For more information, check the Amazon CloudWatch logs.

", + "base": "

The afterRestore() runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

", "refs": { } }, @@ -1905,7 +1954,7 @@ } }, "SnapStartTimeoutException": { - "base": "

The runtime restore hook failed to complete within the timeout limit (2 seconds).

", + "base": "

Lambda couldn't restore the snapshot within the timeout limit.

", "refs": { } }, @@ -2086,6 +2135,7 @@ "ResourceNotFoundException$Message": null, "ResourceNotReadyException$Type": "

The exception type.

", "ResourceNotReadyException$message": "

The exception message.

", + "RuntimeVersionError$ErrorCode": "

The error code.

", "ServiceException$Type": null, "ServiceException$Message": null, "SnapStartException$Type": null, @@ -2316,6 +2366,14 @@ "refs": { } }, + "UpdateRuntimeOn": { + "base": null, + "refs": { + "GetRuntimeManagementConfigResponse$UpdateRuntimeOn": "

The current runtime update mode of the function.

", + "PutRuntimeManagementConfigRequest$UpdateRuntimeOn": "

Specify the runtime update mode.

", + "PutRuntimeManagementConfigResponse$UpdateRuntimeOn": "

The runtime update mode.

" + } + }, "Version": { "base": null, "refs": { diff --git a/models/apis/lambda/2015-03-31/endpoint-tests-1.json b/models/apis/lambda/2015-03-31/endpoint-tests-1.json index 8a03f230a51..37a94a0a6f8 100644 --- a/models/apis/lambda/2015-03-31/endpoint-tests-1.json +++ b/models/apis/lambda/2015-03-31/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-2" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-2" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-2" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-2" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-south-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-south-1" } }, { @@ -113,8 +113,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-1" } }, { @@ -126,8 +126,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-1" } }, { @@ -139,8 +139,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-1" } }, { @@ -152,8 +152,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-1" } }, { @@ -165,8 +165,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-2" } }, { @@ -178,8 +178,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-south-2" } }, { @@ -191,8 +191,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-2" } }, { @@ -204,8 +204,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-south-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-south-2" } }, { @@ -217,8 +217,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -230,8 +230,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-east-1" } }, { @@ -243,8 +243,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -256,8 +256,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-east-1" } }, { @@ -269,8 +269,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-central-1" } }, { @@ -282,8 +282,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-central-1" } }, { @@ -295,8 +295,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-central-1" } }, { @@ -308,8 +308,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-central-1" } }, { @@ -321,8 +321,8 @@ }, "params": { "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ca-central-1" } }, { @@ -334,8 +334,8 @@ }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ca-central-1" } }, { @@ -347,8 +347,8 @@ }, "params": { "UseDualStack": true, - "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ca-central-1" } }, { @@ -360,8 +360,8 @@ }, "params": { "UseDualStack": false, - "Region": "ca-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ca-central-1" } }, { @@ -373,8 +373,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-1" } }, { @@ -386,8 +386,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-1" } }, { @@ -399,8 +399,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-1" } }, { @@ -412,8 +412,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-1" } }, { @@ -423,8 +423,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-west-1" } }, { @@ -436,8 +436,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-west-1" } }, { @@ -447,8 +447,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-west-1" } }, { @@ -460,8 +460,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-west-1" } }, { @@ -473,8 +473,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-2" } }, { @@ -486,8 +486,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-central-2" } }, { @@ -499,8 +499,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-central-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-2" } }, { @@ -512,8 +512,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-central-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-central-2" } }, { @@ -525,8 +525,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-1" } }, { @@ -538,8 +538,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-1" } }, { @@ -551,8 +551,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-1" } }, { @@ -564,8 +564,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-1" } }, { @@ -577,8 +577,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-2" } }, { @@ -590,8 +590,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-west-2" } }, { @@ -603,8 +603,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-2" } }, { @@ -616,8 +616,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-west-2" } }, { @@ -629,8 +629,8 @@ }, "params": { "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "af-south-1" } }, { @@ -642,8 +642,8 @@ }, "params": { "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "af-south-1" } }, { @@ -655,8 +655,8 @@ }, "params": { "UseDualStack": true, - "Region": "af-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "af-south-1" } }, { @@ -668,8 +668,8 @@ }, "params": { "UseDualStack": false, - "Region": "af-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "af-south-1" } }, { @@ -681,8 +681,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-north-1" } }, { @@ -694,8 +694,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-north-1" } }, { @@ -707,8 +707,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-north-1" } }, { @@ -720,8 +720,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-north-1" } }, { @@ -733,8 +733,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-3" } }, { @@ -746,8 +746,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-3" } }, { @@ -759,8 +759,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-3" } }, { @@ -772,8 +772,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-3" } }, { @@ -785,8 +785,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-2" } }, { @@ -798,8 +798,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-2" } }, { @@ -811,8 +811,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-2" } }, { @@ -824,8 +824,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-2" } }, { @@ -837,8 +837,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-1" } }, { @@ -850,8 +850,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "eu-west-1" } }, { @@ -863,8 +863,8 @@ }, "params": { "UseDualStack": true, - "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-1" } }, { @@ -876,8 +876,8 @@ }, "params": { "UseDualStack": false, - "Region": "eu-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "eu-west-1" } }, { @@ -889,8 +889,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-3" } }, { @@ -902,8 +902,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-3" } }, { @@ -915,8 +915,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-3" } }, { @@ -928,8 +928,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-3" } }, { @@ -941,8 +941,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-2" } }, { @@ -954,8 +954,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-2" } }, { @@ -967,8 +967,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-2" } }, { @@ -980,8 +980,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-2" } }, { @@ -993,8 +993,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-1" } }, { @@ -1006,8 +1006,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-northeast-1" } }, { @@ -1019,8 +1019,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { @@ -1032,8 +1032,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-northeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-northeast-1" } }, { @@ -1045,8 +1045,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-south-1" } }, { @@ -1058,8 +1058,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-south-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "me-south-1" } }, { @@ -1071,8 +1071,8 @@ }, "params": { "UseDualStack": true, - "Region": "me-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-south-1" } }, { @@ -1084,8 +1084,8 @@ }, "params": { "UseDualStack": false, - "Region": "me-south-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "me-south-1" } }, { @@ -1097,8 +1097,8 @@ }, "params": { "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "sa-east-1" } }, { @@ -1110,8 +1110,8 @@ }, "params": { "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "sa-east-1" } }, { @@ -1123,8 +1123,8 @@ }, "params": { "UseDualStack": true, - "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "sa-east-1" } }, { @@ -1136,8 +1136,8 @@ }, "params": { "UseDualStack": false, - "Region": "sa-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "sa-east-1" } }, { @@ -1149,8 +1149,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-east-1" } }, { @@ -1162,8 +1162,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-east-1" } }, { @@ -1175,8 +1175,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-east-1" } }, { @@ -1188,8 +1188,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-east-1" } }, { @@ -1201,8 +1201,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -1214,8 +1214,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-north-1" } }, { @@ -1227,8 +1227,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -1240,8 +1240,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-north-1" } }, { @@ -1253,8 +1253,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { @@ -1266,8 +1266,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-gov-west-1" } }, { @@ -1279,8 +1279,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-west-1" } }, { @@ -1292,8 +1292,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-gov-west-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-gov-west-1" } }, { @@ -1305,8 +1305,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-1" } }, { @@ -1318,8 +1318,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-1" } }, { @@ -1331,8 +1331,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { @@ -1344,8 +1344,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-1" } }, { @@ -1357,8 +1357,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-2" } }, { @@ -1370,8 +1370,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-2" } }, { @@ -1383,8 +1383,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { @@ -1396,8 +1396,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-2" } }, { @@ -1407,8 +1407,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -1420,8 +1420,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-iso-east-1" } }, { @@ -1431,8 +1431,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -1444,8 +1444,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-iso-east-1" } }, { @@ -1457,8 +1457,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-3" } }, { @@ -1470,8 +1470,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-3", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-3" } }, { @@ -1483,8 +1483,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-3" } }, { @@ -1496,8 +1496,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-3", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-3" } }, { @@ -1509,8 +1509,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-4", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-4" } }, { @@ -1522,8 +1522,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-4", - "UseFIPS": true + "UseFIPS": true, + "Region": "ap-southeast-4" } }, { @@ -1535,8 +1535,8 @@ }, "params": { "UseDualStack": true, - "Region": "ap-southeast-4", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-4" } }, { @@ -1548,8 +1548,8 @@ }, "params": { "UseDualStack": false, - "Region": "ap-southeast-4", - "UseFIPS": false + "UseFIPS": false, + "Region": "ap-southeast-4" } }, { @@ -1561,8 +1561,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -1574,8 +1574,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-1" } }, { @@ -1587,8 +1587,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -1600,8 +1600,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-1" } }, { @@ -1613,8 +1613,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-2" } }, { @@ -1626,8 +1626,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-east-2" } }, { @@ -1639,8 +1639,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-2" } }, { @@ -1652,8 +1652,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-2", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-east-2" } }, { @@ -1665,8 +1665,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-northwest-1" } }, { @@ -1678,8 +1678,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "cn-northwest-1" } }, { @@ -1691,8 +1691,8 @@ }, "params": { "UseDualStack": true, - "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { @@ -1704,8 +1704,8 @@ }, "params": { "UseDualStack": false, - "Region": "cn-northwest-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "cn-northwest-1" } }, { @@ -1715,8 +1715,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -1728,8 +1728,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "Region": "us-isob-east-1" } }, { @@ -1739,8 +1739,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -1752,8 +1752,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "Region": "us-isob-east-1" } }, { @@ -1765,8 +1765,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1777,8 +1777,8 @@ }, "params": { "UseDualStack": false, - "Region": "us-east-1", "UseFIPS": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -1789,8 +1789,8 @@ }, "params": { "UseDualStack": true, - "Region": "us-east-1", "UseFIPS": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 01d1b0e5f40..b80e0401cc8 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -16673,7 +16673,8 @@ "ml.r6gd.4xlarge", "ml.r6gd.8xlarge", "ml.r6gd.12xlarge", - "ml.r6gd.16xlarge" + "ml.r6gd.16xlarge", + "ml.p4de.24xlarge" ] }, "ProductionVariantList":{ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 037572f98d0..27bb5bc5ffd 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -10638,13 +10638,13 @@ "DescribeEndpointOutput$ProductionVariants": "

An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint.

", "DescribeEndpointOutput$ShadowProductionVariants": "

An array of ProductionVariantSummary objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants.

", "Endpoint$ProductionVariants": "

A list of the production variants hosted on the endpoint. Each production variant is a model.

", - "Endpoint$ShadowProductionVariants": "

A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the proudction variant.

" + "Endpoint$ShadowProductionVariants": "

A list of the shadow variants hosted on the endpoint. Each shadow variant is a model in shadow mode with production traffic replicated from the production variant.

" } }, "ProductionVariantVolumeSizeInGB": { "base": null, "refs": { - "ProductionVariant$VolumeSizeInGB": "

The size, in GB, of the ML storage volume attached to individual inference instance associated with the production variant. Currenly only Amazon EBS gp2 storage volumes are supported.

" + "ProductionVariant$VolumeSizeInGB": "

The size, in GB, of the ML storage volume attached to individual inference instance associated with the production variant. Currently only Amazon EBS gp2 storage volumes are supported.

" } }, "ProfilerConfig": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 2964c62c762..eceee7ab5e7 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -53,6 +53,9 @@ "ap-southeast-3" : { "description" : "Asia Pacific (Jakarta)" }, + "ap-southeast-4" : { + "description" : "Asia Pacific (Melbourne)" + }, "ca-central-1" : { "description" : "Canada (Central)" }, @@ -120,6 +123,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "access-analyzer-fips.ca-central-1.amazonaws.com", @@ -222,6 +226,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "acm-fips.ca-central-1.amazonaws.com", @@ -626,6 +631,12 @@ }, "hostname" : "api.ecr.ap-southeast-3.amazonaws.com" }, + "ap-southeast-4" : { + "credentialScope" : { + "region" : "ap-southeast-4" + }, + "hostname" : "api.ecr.ap-southeast-4.amazonaws.com" + }, "ca-central-1" : { "credentialScope" : { "region" : "ca-central-1" @@ -1219,6 +1230,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "apigateway-fips.ca-central-1.amazonaws.com", @@ -1323,6 +1335,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -1401,6 +1414,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -2007,6 +2021,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -2364,6 +2379,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "cloudcontrolapi-fips.ca-central-1.amazonaws.com", @@ -2467,6 +2483,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -2610,6 +2627,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -2881,6 +2899,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -3489,6 +3508,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -4232,6 +4252,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -4348,6 +4369,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "dms" : { "credentialScope" : { @@ -4647,6 +4669,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "dynamodb-fips.ca-central-1.amazonaws.com", @@ -4744,6 +4767,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "ebs-fips.ca-central-1.amazonaws.com", @@ -4842,6 +4866,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "ec2-fips.ca-central-1.amazonaws.com", @@ -4951,6 +4976,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -5121,6 +5147,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -5612,6 +5639,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -5694,6 +5722,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "elasticmapreduce-fips.ca-central-1.amazonaws.com", @@ -6018,6 +6047,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -6103,6 +6133,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -6752,6 +6783,7 @@ "deprecated" : true, "hostname" : "fsx-fips.us-west-2.amazonaws.com" }, + "me-central-1" : { }, "me-south-1" : { }, "prod-ca-central-1" : { "credentialScope" : { @@ -8267,6 +8299,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -8518,6 +8551,12 @@ "deprecated" : true, "hostname" : "kms-fips.ap-southeast-3.amazonaws.com" }, + "ap-southeast-4" : { + "variants" : [ { + "hostname" : "kms-fips.ap-southeast-4.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "ap-southeast-4-fips" : { "credentialScope" : { "region" : "ap-southeast-4" @@ -8870,6 +8909,12 @@ "tags" : [ "dualstack" ] } ] }, + "ap-southeast-4" : { + "variants" : [ { + "hostname" : "lambda.ap-southeast-4.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "ca-central-1" : { "variants" : [ { "hostname" : "lambda.ca-central-1.api.aws", @@ -9254,6 +9299,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -9862,6 +9908,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -10093,6 +10140,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -10475,6 +10523,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -10835,6 +10884,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -11397,6 +11447,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "rbin-fips.ca-central-1.amazonaws.com", @@ -11487,6 +11538,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "rds-fips.ca-central-1.amazonaws.com", @@ -11729,6 +11781,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "redshift-fips.ca-central-1.amazonaws.com", @@ -12045,6 +12098,9 @@ "ap-southeast-2" : { "hostname" : "resource-explorer-2.ap-southeast-2.api.aws" }, + "ap-southeast-4" : { + "hostname" : "resource-explorer-2.ap-southeast-4.api.aws" + }, "ca-central-1" : { "hostname" : "resource-explorer-2.ca-central-1.api.aws" }, @@ -12091,13 +12147,17 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, + "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -12499,6 +12559,12 @@ "tags" : [ "dualstack" ] } ] }, + "ap-southeast-4" : { + "variants" : [ { + "hostname" : "s3.dualstack.ap-southeast-4.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "aws-global" : { "credentialScope" : { "region" : "us-east-1" @@ -13104,6 +13170,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "secretsmanager-fips.ca-central-1.amazonaws.com", @@ -14191,6 +14258,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14273,6 +14341,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14352,6 +14421,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "ssm-fips.ca-central-1.amazonaws.com", @@ -14514,6 +14584,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14692,6 +14763,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14729,6 +14801,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "aws-global" : { "credentialScope" : { "region" : "us-east-1" @@ -14832,6 +14905,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14910,6 +14984,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -14988,6 +15063,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, @@ -16491,6 +16567,7 @@ "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, + "ap-southeast-4" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, diff --git a/service/lambda/api.go b/service/lambda/api.go index 87265da5b4f..d1f54bdb281 100644 --- a/service/lambda/api.go +++ b/service/lambda/api.go @@ -284,7 +284,7 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque // CreateAlias API operation for AWS Lambda. // -// Creates an alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html) +// Creates an alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) // for a Lambda function version. Use aliases to provide clients with a function // identifier that you can update to invoke a different version. // @@ -868,7 +868,7 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque // DeleteAlias API operation for AWS Lambda. // -// Deletes a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html). +// Deletes a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1883,7 +1883,7 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou // GetAlias API operation for AWS Lambda. // -// Returns details about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html). +// Returns details about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3102,6 +3102,99 @@ func (c *Lambda) GetProvisionedConcurrencyConfigWithContext(ctx aws.Context, inp return out, req.Send() } +const opGetRuntimeManagementConfig = "GetRuntimeManagementConfig" + +// GetRuntimeManagementConfigRequest generates a "aws/request.Request" representing the +// client's request for the GetRuntimeManagementConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetRuntimeManagementConfig for more information on using the GetRuntimeManagementConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetRuntimeManagementConfigRequest method. +// req, resp := client.GetRuntimeManagementConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfig +func (c *Lambda) GetRuntimeManagementConfigRequest(input *GetRuntimeManagementConfigInput) (req *request.Request, output *GetRuntimeManagementConfigOutput) { + op := &request.Operation{ + Name: opGetRuntimeManagementConfig, + HTTPMethod: "GET", + HTTPPath: "/2021-07-20/functions/{FunctionName}/runtime-management-config", + } + + if input == nil { + input = &GetRuntimeManagementConfigInput{} + } + + output = &GetRuntimeManagementConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetRuntimeManagementConfig API operation for AWS Lambda. +// +// Retrieves the runtime management configuration for a function's version. +// If the runtime update mode is Manual, this includes the ARN of the runtime +// version and the runtime update mode. If the runtime update mode is Auto or +// Function update, this includes the runtime update mode and null is returned +// for the ARN. For more information, see Runtime updates (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Lambda's +// API operation GetRuntimeManagementConfig for usage and error information. +// +// Returned Error Types: +// +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InvalidParameterValueException +// One of the parameters in the request is not valid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetRuntimeManagementConfig +func (c *Lambda) GetRuntimeManagementConfig(input *GetRuntimeManagementConfigInput) (*GetRuntimeManagementConfigOutput, error) { + req, out := c.GetRuntimeManagementConfigRequest(input) + return out, req.Send() +} + +// GetRuntimeManagementConfigWithContext is the same as GetRuntimeManagementConfig with the addition of +// the ability to pass a context and additional request options. +// +// See GetRuntimeManagementConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lambda) GetRuntimeManagementConfigWithContext(ctx aws.Context, input *GetRuntimeManagementConfigInput, opts ...request.Option) (*GetRuntimeManagementConfigOutput, error) { + req, out := c.GetRuntimeManagementConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opInvoke = "Invoke" // InvokeRequest generates a "aws/request.Request" representing the @@ -3246,11 +3339,11 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // An error occurred when reading from or writing to a connected file system. // // - SnapStartException -// The runtime restore hook encountered an error. For more information, check -// the Amazon CloudWatch logs. +// The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) +// encountered an error. For more information, check the Amazon CloudWatch logs. // // - SnapStartTimeoutException -// The runtime restore hook failed to complete within the timeout limit (2 seconds). +// Lambda couldn't restore the snapshot within the timeout limit. // // - SnapStartNotReadyException // Lambda is initializing your function. You can invoke the function when the @@ -3473,7 +3566,7 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque // ListAliases API operation for AWS Lambda. // -// Returns a list of aliases (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html) +// Returns a list of aliases (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) // for a Lambda function. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -4210,8 +4303,8 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // // The ListFunctions operation returns a subset of the FunctionConfiguration // fields. To get the additional fields (State, StateReasonCode, StateReason, -// LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode) for -// a function or version, use GetFunction. +// LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) +// for a function or version, use GetFunction. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5741,6 +5834,99 @@ func (c *Lambda) PutProvisionedConcurrencyConfigWithContext(ctx aws.Context, inp return out, req.Send() } +const opPutRuntimeManagementConfig = "PutRuntimeManagementConfig" + +// PutRuntimeManagementConfigRequest generates a "aws/request.Request" representing the +// client's request for the PutRuntimeManagementConfig operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See PutRuntimeManagementConfig for more information on using the PutRuntimeManagementConfig +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the PutRuntimeManagementConfigRequest method. +// req, resp := client.PutRuntimeManagementConfigRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfig +func (c *Lambda) PutRuntimeManagementConfigRequest(input *PutRuntimeManagementConfigInput) (req *request.Request, output *PutRuntimeManagementConfigOutput) { + op := &request.Operation{ + Name: opPutRuntimeManagementConfig, + HTTPMethod: "PUT", + HTTPPath: "/2021-07-20/functions/{FunctionName}/runtime-management-config", + } + + if input == nil { + input = &PutRuntimeManagementConfigInput{} + } + + output = &PutRuntimeManagementConfigOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutRuntimeManagementConfig API operation for AWS Lambda. +// +// Sets the runtime management configuration for a function's version. For more +// information, see Runtime updates (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Lambda's +// API operation PutRuntimeManagementConfig for usage and error information. +// +// Returned Error Types: +// +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. +// +// - InvalidParameterValueException +// One of the parameters in the request is not valid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. For more information, see Lambda +// quotas (https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutRuntimeManagementConfig +func (c *Lambda) PutRuntimeManagementConfig(input *PutRuntimeManagementConfigInput) (*PutRuntimeManagementConfigOutput, error) { + req, out := c.PutRuntimeManagementConfigRequest(input) + return out, req.Send() +} + +// PutRuntimeManagementConfigWithContext is the same as PutRuntimeManagementConfig with the addition of +// the ability to pass a context and additional request options. +// +// See PutRuntimeManagementConfig for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Lambda) PutRuntimeManagementConfigWithContext(ctx aws.Context, input *PutRuntimeManagementConfigInput, opts ...request.Option) (*PutRuntimeManagementConfigOutput, error) { + req, out := c.PutRuntimeManagementConfigRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemoveLayerVersionPermission = "RemoveLayerVersionPermission" // RemoveLayerVersionPermissionRequest generates a "aws/request.Request" representing the @@ -6166,7 +6352,7 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque // UpdateAlias API operation for AWS Lambda. // -// Updates the configuration of a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html). +// Updates the configuration of a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7411,7 +7597,7 @@ func (s *AddPermissionOutput) SetStatement(v string) *AddPermissionOutput { return s } -// Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html). +// Provides configuration information about a Lambda function alias (https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html). type AliasConfiguration struct { _ struct{} `type:"structure"` @@ -11438,6 +11624,9 @@ type FunctionConfiguration struct { // The runtime environment for the Lambda function. Runtime *string `type:"string" enum:"Runtime"` + // The ARN of the runtime and any errors that occured. + RuntimeVersionConfig *RuntimeVersionConfig `type:"structure"` + // The ARN of the signing job. SigningJobArn *string `type:"string"` @@ -11636,6 +11825,12 @@ func (s *FunctionConfiguration) SetRuntime(v string) *FunctionConfiguration { return s } +// SetRuntimeVersionConfig sets the RuntimeVersionConfig field's value. +func (s *FunctionConfiguration) SetRuntimeVersionConfig(v *RuntimeVersionConfig) *FunctionConfiguration { + s.RuntimeVersionConfig = v + return s +} + // SetSigningJobArn sets the SigningJobArn field's value. func (s *FunctionConfiguration) SetSigningJobArn(v string) *FunctionConfiguration { s.SigningJobArn = &v @@ -13555,6 +13750,121 @@ func (s *GetProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *GetPr return s } +type GetRuntimeManagementConfigInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the Lambda function. + // + // Name formats + // + // * Function name – my-function. + // + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. + // + // * Partial ARN – 123456789012:function:my-function. + // + // The length constraint applies only to the full ARN. If you specify only the + // function name, it is limited to 64 characters in length. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` + + // Specify a version of the function. This can be $LATEST or a published version + // number. If no value is specified, the configuration for the $LATEST version + // is returned. + Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRuntimeManagementConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRuntimeManagementConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetRuntimeManagementConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetRuntimeManagementConfigInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + if s.Qualifier != nil && len(*s.Qualifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Qualifier", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *GetRuntimeManagementConfigInput) SetFunctionName(v string) *GetRuntimeManagementConfigInput { + s.FunctionName = &v + return s +} + +// SetQualifier sets the Qualifier field's value. +func (s *GetRuntimeManagementConfigInput) SetQualifier(v string) *GetRuntimeManagementConfigInput { + s.Qualifier = &v + return s +} + +type GetRuntimeManagementConfigOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the runtime the function is configured to use. If the runtime + // update mode is Manual, the ARN is returned, otherwise null is returned. + RuntimeVersionArn *string `min:"26" type:"string"` + + // The current runtime update mode of the function. + UpdateRuntimeOn *string `type:"string" enum:"UpdateRuntimeOn"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRuntimeManagementConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetRuntimeManagementConfigOutput) GoString() string { + return s.String() +} + +// SetRuntimeVersionArn sets the RuntimeVersionArn field's value. +func (s *GetRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *GetRuntimeManagementConfigOutput { + s.RuntimeVersionArn = &v + return s +} + +// SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value. +func (s *GetRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *GetRuntimeManagementConfigOutput { + s.UpdateRuntimeOn = &v + return s +} + // Configuration values that override the container image Dockerfile settings. // For more information, see Container image settings (https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms). type ImageConfig struct { @@ -17771,6 +18081,181 @@ func (s *PutProvisionedConcurrencyConfigOutput) SetStatusReason(v string) *PutPr return s } +type PutRuntimeManagementConfigInput struct { + _ struct{} `type:"structure"` + + // The name of the Lambda function. + // + // Name formats + // + // * Function name – my-function. + // + // * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. + // + // * Partial ARN – 123456789012:function:my-function. + // + // The length constraint applies only to the full ARN. If you specify only the + // function name, it is limited to 64 characters in length. + // + // FunctionName is a required field + FunctionName *string `location:"uri" locationName:"FunctionName" min:"1" type:"string" required:"true"` + + // Specify a version of the function. This can be $LATEST or a published version + // number. If no value is specified, the configuration for the $LATEST version + // is returned. + Qualifier *string `location:"querystring" locationName:"Qualifier" min:"1" type:"string"` + + // The ARN of the runtime version you want the function to use. + // + // This is only required if you're using the Manual runtime update mode. + RuntimeVersionArn *string `min:"26" type:"string"` + + // Specify the runtime update mode. + // + // * Auto (default) - Automatically update to the most recent and secure + // runtime version using a Two-phase runtime version rollout (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-two-phase). + // This is the best choice for most customers to ensure they always benefit + // from runtime updates. + // + // * Function update - Lambda updates the runtime of your function to the + // most recent and secure runtime version when you update your function. + // This approach synchronizes runtime updates with function deployments, + // giving you control over when runtime updates are applied and allowing + // you to detect and mitigate rare runtime update incompatibilities early. + // When using this setting, you need to regularly update your functions to + // keep their runtime up-to-date. + // + // * Manual - You specify a runtime version in your function configuration. + // The function will use this runtime version indefinitely. In the rare case + // where a new runtime version is incompatible with an existing function, + // this allows you to roll back your function to an earlier runtime version. + // For more information, see Roll back a runtime version (https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html#runtime-management-rollback). + // + // UpdateRuntimeOn is a required field + UpdateRuntimeOn *string `type:"string" required:"true" enum:"UpdateRuntimeOn"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRuntimeManagementConfigInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRuntimeManagementConfigInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutRuntimeManagementConfigInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutRuntimeManagementConfigInput"} + if s.FunctionName == nil { + invalidParams.Add(request.NewErrParamRequired("FunctionName")) + } + if s.FunctionName != nil && len(*s.FunctionName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FunctionName", 1)) + } + if s.Qualifier != nil && len(*s.Qualifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Qualifier", 1)) + } + if s.RuntimeVersionArn != nil && len(*s.RuntimeVersionArn) < 26 { + invalidParams.Add(request.NewErrParamMinLen("RuntimeVersionArn", 26)) + } + if s.UpdateRuntimeOn == nil { + invalidParams.Add(request.NewErrParamRequired("UpdateRuntimeOn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFunctionName sets the FunctionName field's value. +func (s *PutRuntimeManagementConfigInput) SetFunctionName(v string) *PutRuntimeManagementConfigInput { + s.FunctionName = &v + return s +} + +// SetQualifier sets the Qualifier field's value. +func (s *PutRuntimeManagementConfigInput) SetQualifier(v string) *PutRuntimeManagementConfigInput { + s.Qualifier = &v + return s +} + +// SetRuntimeVersionArn sets the RuntimeVersionArn field's value. +func (s *PutRuntimeManagementConfigInput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigInput { + s.RuntimeVersionArn = &v + return s +} + +// SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value. +func (s *PutRuntimeManagementConfigInput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigInput { + s.UpdateRuntimeOn = &v + return s +} + +type PutRuntimeManagementConfigOutput struct { + _ struct{} `type:"structure"` + + // The ARN of the function + // + // FunctionArn is a required field + FunctionArn *string `type:"string" required:"true"` + + // The ARN of the runtime the function is configured to use. If the runtime + // update mode is manual, the ARN is returned, otherwise null is returned. + RuntimeVersionArn *string `min:"26" type:"string"` + + // The runtime update mode. + // + // UpdateRuntimeOn is a required field + UpdateRuntimeOn *string `type:"string" required:"true" enum:"UpdateRuntimeOn"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRuntimeManagementConfigOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutRuntimeManagementConfigOutput) GoString() string { + return s.String() +} + +// SetFunctionArn sets the FunctionArn field's value. +func (s *PutRuntimeManagementConfigOutput) SetFunctionArn(v string) *PutRuntimeManagementConfigOutput { + s.FunctionArn = &v + return s +} + +// SetRuntimeVersionArn sets the RuntimeVersionArn field's value. +func (s *PutRuntimeManagementConfigOutput) SetRuntimeVersionArn(v string) *PutRuntimeManagementConfigOutput { + s.RuntimeVersionArn = &v + return s +} + +// SetUpdateRuntimeOn sets the UpdateRuntimeOn field's value. +func (s *PutRuntimeManagementConfigOutput) SetUpdateRuntimeOn(v string) *PutRuntimeManagementConfigOutput { + s.UpdateRuntimeOn = &v + return s +} + type RemoveLayerVersionPermissionInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -18345,6 +18830,94 @@ func (s *ResourceNotReadyException) RequestID() string { return s.RespMetadata.RequestID } +// The ARN of the runtime and any errors that occured. +type RuntimeVersionConfig struct { + _ struct{} `type:"structure"` + + // Error response when Lambda is unable to retrieve the runtime version for + // a function. + Error *RuntimeVersionError `type:"structure"` + + // The ARN of the runtime version you want the function to use. + RuntimeVersionArn *string `min:"26" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeVersionConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeVersionConfig) GoString() string { + return s.String() +} + +// SetError sets the Error field's value. +func (s *RuntimeVersionConfig) SetError(v *RuntimeVersionError) *RuntimeVersionConfig { + s.Error = v + return s +} + +// SetRuntimeVersionArn sets the RuntimeVersionArn field's value. +func (s *RuntimeVersionConfig) SetRuntimeVersionArn(v string) *RuntimeVersionConfig { + s.RuntimeVersionArn = &v + return s +} + +// Any error returned when the runtime version information for the function +// could not be retrieved. +type RuntimeVersionError struct { + _ struct{} `type:"structure"` + + // The error code. + ErrorCode *string `type:"string"` + + // The error message. + // + // Message is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by RuntimeVersionError's + // String and GoString methods. + Message *string `type:"string" sensitive:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeVersionError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RuntimeVersionError) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *RuntimeVersionError) SetErrorCode(v string) *RuntimeVersionError { + s.ErrorCode = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *RuntimeVersionError) SetMessage(v string) *RuntimeVersionError { + s.Message = &v + return s +} + // (Amazon SQS only) The scaling configuration for the event source. To remove // the configuration, pass an empty value. type ScalingConfig struct { @@ -18590,8 +19163,8 @@ func (s *SnapStart) SetApplyOn(v string) *SnapStart { return s } -// The runtime restore hook encountered an error. For more information, check -// the Amazon CloudWatch logs. +// The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) +// encountered an error. For more information, check the Amazon CloudWatch logs. type SnapStartException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -18770,7 +19343,7 @@ func (s *SnapStartResponse) SetOptimizationStatus(v string) *SnapStartResponse { return s } -// The runtime restore hook failed to complete within the timeout limit (2 seconds). +// Lambda couldn't restore the snapshot within the timeout limit. type SnapStartTimeoutException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -21419,3 +21992,23 @@ func TracingMode_Values() []string { TracingModePassThrough, } } + +const ( + // UpdateRuntimeOnAuto is a UpdateRuntimeOn enum value + UpdateRuntimeOnAuto = "Auto" + + // UpdateRuntimeOnManual is a UpdateRuntimeOn enum value + UpdateRuntimeOnManual = "Manual" + + // UpdateRuntimeOnFunctionUpdate is a UpdateRuntimeOn enum value + UpdateRuntimeOnFunctionUpdate = "FunctionUpdate" +) + +// UpdateRuntimeOn_Values returns all elements of the UpdateRuntimeOn enum +func UpdateRuntimeOn_Values() []string { + return []string{ + UpdateRuntimeOnAuto, + UpdateRuntimeOnManual, + UpdateRuntimeOnFunctionUpdate, + } +} diff --git a/service/lambda/errors.go b/service/lambda/errors.go index a9c8ab7a27e..59bd15599b9 100644 --- a/service/lambda/errors.go +++ b/service/lambda/errors.go @@ -221,8 +221,8 @@ const ( // ErrCodeSnapStartException for service response error code // "SnapStartException". // - // The runtime restore hook encountered an error. For more information, check - // the Amazon CloudWatch logs. + // The afterRestore() runtime hook (https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html) + // encountered an error. For more information, check the Amazon CloudWatch logs. ErrCodeSnapStartException = "SnapStartException" // ErrCodeSnapStartNotReadyException for service response error code @@ -236,7 +236,7 @@ const ( // ErrCodeSnapStartTimeoutException for service response error code // "SnapStartTimeoutException". // - // The runtime restore hook failed to complete within the timeout limit (2 seconds). + // Lambda couldn't restore the snapshot within the timeout limit. ErrCodeSnapStartTimeoutException = "SnapStartTimeoutException" // ErrCodeSubnetIPAddressLimitReachedException for service response error code diff --git a/service/lambda/lambdaiface/interface.go b/service/lambda/lambdaiface/interface.go index ceb98b09106..ee4ba952658 100644 --- a/service/lambda/lambdaiface/interface.go +++ b/service/lambda/lambdaiface/interface.go @@ -188,6 +188,10 @@ type LambdaAPI interface { GetProvisionedConcurrencyConfigWithContext(aws.Context, *lambda.GetProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.GetProvisionedConcurrencyConfigOutput, error) GetProvisionedConcurrencyConfigRequest(*lambda.GetProvisionedConcurrencyConfigInput) (*request.Request, *lambda.GetProvisionedConcurrencyConfigOutput) + GetRuntimeManagementConfig(*lambda.GetRuntimeManagementConfigInput) (*lambda.GetRuntimeManagementConfigOutput, error) + GetRuntimeManagementConfigWithContext(aws.Context, *lambda.GetRuntimeManagementConfigInput, ...request.Option) (*lambda.GetRuntimeManagementConfigOutput, error) + GetRuntimeManagementConfigRequest(*lambda.GetRuntimeManagementConfigInput) (*request.Request, *lambda.GetRuntimeManagementConfigOutput) + Invoke(*lambda.InvokeInput) (*lambda.InvokeOutput, error) InvokeWithContext(aws.Context, *lambda.InvokeInput, ...request.Option) (*lambda.InvokeOutput, error) InvokeRequest(*lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput) @@ -301,6 +305,10 @@ type LambdaAPI interface { PutProvisionedConcurrencyConfigWithContext(aws.Context, *lambda.PutProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.PutProvisionedConcurrencyConfigOutput, error) PutProvisionedConcurrencyConfigRequest(*lambda.PutProvisionedConcurrencyConfigInput) (*request.Request, *lambda.PutProvisionedConcurrencyConfigOutput) + PutRuntimeManagementConfig(*lambda.PutRuntimeManagementConfigInput) (*lambda.PutRuntimeManagementConfigOutput, error) + PutRuntimeManagementConfigWithContext(aws.Context, *lambda.PutRuntimeManagementConfigInput, ...request.Option) (*lambda.PutRuntimeManagementConfigOutput, error) + PutRuntimeManagementConfigRequest(*lambda.PutRuntimeManagementConfigInput) (*request.Request, *lambda.PutRuntimeManagementConfigOutput) + RemoveLayerVersionPermission(*lambda.RemoveLayerVersionPermissionInput) (*lambda.RemoveLayerVersionPermissionOutput, error) RemoveLayerVersionPermissionWithContext(aws.Context, *lambda.RemoveLayerVersionPermissionInput, ...request.Option) (*lambda.RemoveLayerVersionPermissionOutput, error) RemoveLayerVersionPermissionRequest(*lambda.RemoveLayerVersionPermissionInput) (*request.Request, *lambda.RemoveLayerVersionPermissionOutput) diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index aa03eeb522d..9dd9d28bedc 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -64604,7 +64604,7 @@ type Endpoint struct { ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"` // A list of the shadow variants hosted on the endpoint. Each shadow variant - // is a model in shadow mode with production traffic replicated from the proudction + // is a model in shadow mode with production traffic replicated from the production // variant. ShadowProductionVariants []*ProductionVariantSummary `min:"1" type:"list"` @@ -95486,7 +95486,7 @@ type ProductionVariant struct { VariantName *string `type:"string" required:"true"` // The size, in GB, of the ML storage volume attached to individual inference - // instance associated with the production variant. Currenly only Amazon EBS + // instance associated with the production variant. Currently only Amazon EBS // gp2 storage volumes are supported. VolumeSizeInGB *int64 `min:"1" type:"integer"` } @@ -117362,6 +117362,9 @@ const ( // ProductionVariantInstanceTypeMlR6gd16xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlR6gd16xlarge = "ml.r6gd.16xlarge" + + // ProductionVariantInstanceTypeMlP4de24xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlP4de24xlarge = "ml.p4de.24xlarge" ) // ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum @@ -117507,6 +117510,7 @@ func ProductionVariantInstanceType_Values() []string { ProductionVariantInstanceTypeMlR6gd8xlarge, ProductionVariantInstanceTypeMlR6gd12xlarge, ProductionVariantInstanceTypeMlR6gd16xlarge, + ProductionVariantInstanceTypeMlP4de24xlarge, } }