Skip to content

Commit

Permalink
Release v1.43.5 (2022-02-23) (#4293)
Browse files Browse the repository at this point in the history
Release v1.43.5 (2022-02-23)
===

### Service Client Updates
* `service/lambda`: Updates service API, documentation, and waiters
  * Lambda releases .NET 6 managed runtime to be available in all commercial regions.
* `service/textract`: Updates service API
* `service/transfer`: Updates service API and documentation
  * The file input selection feature provides the ability to use either the originally uploaded file or the output file from the previous workflow step, enabling customers to make multiple copies of the original file while keeping the source file intact for file archival.
  • Loading branch information
aws-sdk-go-automation committed Feb 23, 2022
1 parent f084416 commit 021d53c
Show file tree
Hide file tree
Showing 15 changed files with 689 additions and 70 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
Release v1.43.5 (2022-02-23)
===

### Service Client Updates
* `service/lambda`: Updates service API, documentation, and waiters
* Lambda releases .NET 6 managed runtime to be available in all commercial regions.
* `service/textract`: Updates service API
* `service/transfer`: Updates service API and documentation
* The file input selection feature provides the ability to use either the originally uploaded file or the output file from the previous workflow step, enabling customers to make multiple copies of the original file while keeping the source file intact for file archival.

Release v1.43.4 (2022-02-22)
===

Expand Down
207 changes: 207 additions & 0 deletions aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.43.4"
const SDKVersion = "1.43.5"
1 change: 1 addition & 0 deletions models/apis/lambda/2015-03-31/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3235,6 +3235,7 @@
"dotnetcore2.0",
"dotnetcore2.1",
"dotnetcore3.1",
"dotnet6",
"nodejs4.3-edge",
"go1.x",
"ruby2.5",
Expand Down
10 changes: 5 additions & 5 deletions models/apis/lambda/2015-03-31/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"UpdateAlias": "<p>Updates the configuration of a Lambda function <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html\">alias</a>.</p>",
"UpdateCodeSigningConfig": "<p>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. </p>",
"UpdateEventSourceMapping": "<p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping\"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping\"> Amazon Kinesis</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource\"> Amazon SQS</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping\"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html\"> Amazon MSK</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html\"> Apache Kafka</a> </p> </li> </ul> <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p> </li> <li> <p> <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p> </li> <li> <p> <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params\"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params\"> Amazon Kinesis</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params\"> Amazon SQS</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params\"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms\"> Amazon MSK</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms\"> Apache Kafka</a> </p> </li> </ul>",
"UpdateFunctionCode": "<p>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 <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html\">Configuring code signing</a>.</p> <p>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.</p> <note> <p>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.</p> </note>",
"UpdateFunctionCode": "<p>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 <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html\">Configuring code signing</a>.</p> <p>If the function's package type is <code>Image</code>, you must specify the code package in <code>ImageUri</code> as the URI of a <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html\">container image</a> in the Amazon ECR registry. </p> <p>If the function's package type is <code>Zip</code>, you must specify the deployment package as a <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip\">.zip file archive</a>. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the <code>ZipFile</code> field. </p> <p>The code in the deployment package must be compatible with the target instruction set architecture of the function (<code>x86-64</code> or <code>arm64</code>). </p> <p>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.</p> <note> <p>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.</p> </note>",
"UpdateFunctionConfiguration": "<p>Modify the version-specific settings of a Lambda function.</p> <p>When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>, and <code>LastUpdateStatusReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a> indicate when the update is complete and the function is processing events with the new configuration. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html\">Function States</a>.</p> <p>These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.</p> <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions to an account or Amazon Web Services service, use <a>AddPermission</a>.</p>",
"UpdateFunctionEventInvokeConfig": "<p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p> <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>"
},
Expand Down Expand Up @@ -204,7 +204,7 @@
"InvocationRequest$Payload": "<p>The JSON that you want to provide to your Lambda function as input.</p> <p>You can enter the JSON directly. For example, <code>--payload '{ \"key\": \"value\" }'</code>. You can also specify a file path. For example, <code>--payload file://payload.json</code>. </p>",
"InvocationResponse$Payload": "<p>The response from the function, or an error object.</p>",
"LayerVersionContentInput$ZipFile": "<p>The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.</p>",
"UpdateFunctionCodeRequest$ZipFile": "<p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you.</p>"
"UpdateFunctionCodeRequest$ZipFile": "<p>The base64-encoded contents of the deployment package. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.</p>"
}
},
"BlobStream": {
Expand Down Expand Up @@ -1606,15 +1606,15 @@
"refs": {
"FunctionCode$S3Bucket": "<p>An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.</p>",
"LayerVersionContentInput$S3Bucket": "<p>The Amazon S3 bucket of the layer archive.</p>",
"UpdateFunctionCodeRequest$S3Bucket": "<p>An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.</p>"
"UpdateFunctionCodeRequest$S3Bucket": "<p>An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account. Use only with a function defined with a .zip file archive deployment package.</p>"
}
},
"S3Key": {
"base": null,
"refs": {
"FunctionCode$S3Key": "<p>The Amazon S3 key of the deployment package.</p>",
"LayerVersionContentInput$S3Key": "<p>The Amazon S3 key of the layer archive.</p>",
"UpdateFunctionCodeRequest$S3Key": "<p>The Amazon S3 key of the deployment package.</p>"
"UpdateFunctionCodeRequest$S3Key": "<p>The Amazon S3 key of the deployment package. Use only with a function defined with a .zip file archive deployment package.</p>"
}
},
"S3ObjectVersion": {
Expand Down Expand Up @@ -1850,7 +1850,7 @@
"UnsupportedMediaTypeException$message": null,
"UpdateAliasRequest$RevisionId": "<p>Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.</p>",
"UpdateEventSourceMappingRequest$UUID": "<p>The identifier of the event source mapping.</p>",
"UpdateFunctionCodeRequest$ImageUri": "<p>URI of a container image in the Amazon ECR registry.</p>",
"UpdateFunctionCodeRequest$ImageUri": "<p>URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip file archive.</p>",
"UpdateFunctionCodeRequest$RevisionId": "<p>Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.</p>",
"UpdateFunctionConfigurationRequest$RevisionId": "<p>Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.</p>"
}
Expand Down
56 changes: 54 additions & 2 deletions models/apis/lambda/2015-03-31/waiters-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"delay": 5,
"maxAttempts": 60,
"operation": "GetFunctionConfiguration",
"description": "Waits for the function's State to be Active.",
"description": "Waits for the function's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new function creation.",
"acceptors": [
{
"state": "success",
Expand All @@ -48,7 +48,7 @@
"delay": 5,
"maxAttempts": 60,
"operation": "GetFunctionConfiguration",
"description": "Waits for the function's LastUpdateStatus to be Successful.",
"description": "Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunctionConfiguration API. This should be used after function updates.",
"acceptors": [
{
"state": "success",
Expand All @@ -69,6 +69,58 @@
"expected": "InProgress"
}
]
},
"FunctionActiveV2": {
"delay": 1,
"maxAttempts": 300,
"operation": "GetFunction",
"description": "Waits for the function's State to be Active. This waiter uses GetFunction API. This should be used after new function creation.",
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "Configuration.State",
"expected": "Active"
},
{
"state": "failure",
"matcher": "path",
"argument": "Configuration.State",
"expected": "Failed"
},
{
"state": "retry",
"matcher": "path",
"argument": "Configuration.State",
"expected": "Pending"
}
]
},
"FunctionUpdatedV2": {
"delay": 1,
"maxAttempts": 300,
"operation": "GetFunction",
"description": "Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunction API. This should be used after function updates.",
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "Configuration.LastUpdateStatus",
"expected": "Successful"
},
{
"state": "failure",
"matcher": "path",
"argument": "Configuration.LastUpdateStatus",
"expected": "Failed"
},
{
"state": "retry",
"matcher": "path",
"argument": "Configuration.LastUpdateStatus",
"expected": "InProgress"
}
]
}
}
}

0 comments on commit 021d53c

Please sign in to comment.