Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Feb 23, 2022
1 parent deb8d5c commit 3cf469c
Show file tree
Hide file tree
Showing 25 changed files with 557 additions and 193 deletions.
1 change: 1 addition & 0 deletions 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 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 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"
}
]
}
}
}
11 changes: 8 additions & 3 deletions apis/textract/2018-06-27/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,9 @@
"WORD",
"TABLE",
"CELL",
"SELECTION_ELEMENT"
"SELECTION_ELEMENT",
"MERGED_CELL",
"TITLE"
]
},
"BoundingBox":{
Expand Down Expand Up @@ -404,7 +406,8 @@
"type":"string",
"enum":[
"KEY",
"VALUE"
"VALUE",
"COLUMN_HEADER"
]
},
"EntityTypes":{
Expand Down Expand Up @@ -800,7 +803,9 @@
"enum":[
"VALUE",
"CHILD",
"COMPLEX_FEATURES"
"COMPLEX_FEATURES",
"MERGED_CELL",
"TITLE"
]
},
"RoleArn":{
Expand Down
21 changes: 15 additions & 6 deletions apis/transfer/2018-11-05/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@
"members":{
"Name":{"shape":"WorkflowStepName"},
"DestinationFileLocation":{"shape":"InputFileLocation"},
"OverwriteExisting":{"shape":"OverwriteExisting"}
"OverwriteExisting":{"shape":"OverwriteExisting"},
"SourceFileLocation":{"shape":"SourceFileLocation"}
}
},
"CreateAccessRequest":{
Expand Down Expand Up @@ -666,7 +667,8 @@
"members":{
"Name":{"shape":"WorkflowStepName"},
"Target":{"shape":"CustomStepTarget"},
"TimeoutSeconds":{"shape":"CustomStepTimeoutSeconds"}
"TimeoutSeconds":{"shape":"CustomStepTimeoutSeconds"},
"SourceFileLocation":{"shape":"SourceFileLocation"}
}
},
"CustomStepStatus":{
Expand Down Expand Up @@ -721,7 +723,8 @@
"DeleteStepDetails":{
"type":"structure",
"members":{
"Name":{"shape":"WorkflowStepName"}
"Name":{"shape":"WorkflowStepName"},
"SourceFileLocation":{"shape":"SourceFileLocation"}
}
},
"DeleteUserRequest":{
Expand Down Expand Up @@ -967,9 +970,9 @@
},
"EfsPath":{
"type":"string",
"max":100,
"max":65536,
"min":1,
"pattern":"^(\\/|(\\/(?!\\.)+[^$#<>;`|&?{}^*/\\n]+){1,4})$"
"pattern":"^[^\\x00]+$"
},
"EndpointDetails":{
"type":"structure",
Expand Down Expand Up @@ -1663,6 +1666,11 @@
"min":3,
"pattern":"^[\\w-]*$"
},
"SourceFileLocation":{
"type":"string",
"max":256,
"pattern":"^\\$\\{(\\w+.)+\\w+\\}$"
},
"SourceIp":{
"type":"string",
"max":32,
Expand Down Expand Up @@ -1769,7 +1777,8 @@
"type":"structure",
"members":{
"Name":{"shape":"WorkflowStepName"},
"Tags":{"shape":"S3Tags"}
"Tags":{"shape":"S3Tags"},
"SourceFileLocation":{"shape":"SourceFileLocation"}
}
},
"TagValue":{
Expand Down
Loading

0 comments on commit 3cf469c

Please sign in to comment.