Unverified Commit 177965cd authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Update SDK models for release (#2790)



## Motivation and Context
This PR updates AWS models for the upcoming model-only release.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._

Co-authored-by: default avatarYuki Saito <awsaito@amazon.com>
parent 6ad31957
Loading
Loading
Loading
Loading
+92 −29

File changed.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@
                "aws.api#clientDiscoveredEndpoint": {
                    "required": false
                },
                "smithy.api#documentation": "<p>The <code>BatchGetItem</code> operation returns the attributes of one or more items\n            from one or more tables. You identify requested items by primary key.</p>\n         <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n            items. <code>BatchGetItem</code> returns a partial result if the response size limit is\n            exceeded, the table's provisioned throughput is exceeded, or an internal processing\n            failure occurs. If a partial result is returned, the operation returns a value for\n                <code>UnprocessedKeys</code>. You can use this value to retry the operation starting\n            with the next item to get.</p>\n         <important>\n            <p>If you request more than 100 items, <code>BatchGetItem</code> returns a\n                    <code>ValidationException</code> with the message \"Too many items requested for\n                the BatchGetItem call.\"</p>\n         </important>\n         <p>For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n            size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n            an appropriate <code>UnprocessedKeys</code> value so you can get the next page of\n            results. If desired, your application can include its own logic to assemble the pages of\n            results into one dataset.</p>\n         <p>If <i>none</i> of the items can be processed due to insufficient\n            provisioned throughput on all of the tables in the request, then\n                <code>BatchGetItem</code> returns a\n                <code>ProvisionedThroughputExceededException</code>. If <i>at least\n                one</i> of the items is successfully processed, then\n                <code>BatchGetItem</code> completes successfully, while returning the keys of the\n            unread items in <code>UnprocessedKeys</code>.</p>\n         <important>\n            <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on\n                those items. However, <i>we strongly recommend that you use an exponential\n                    backoff algorithm</i>. If you retry the batch operation immediately, the\n                underlying read or write requests can still fail due to throttling on the individual\n                tables. If you delay the batch operation using exponential backoff, the individual\n                requests in the batch are much more likely to succeed.</p>\n            <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations\">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB\n                    Developer Guide</i>.</p>\n         </important>\n         <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every\n            table in the request. If you want strongly consistent reads instead, you can set\n                <code>ConsistentRead</code> to <code>true</code> for any or all tables.</p>\n         <p>In order to minimize response latency, <code>BatchGetItem</code> may retrieve items in\n            parallel.</p>\n         <p>When designing your application, keep in mind that DynamoDB does not return items in\n            any particular order. To help parse the response by item, include the primary key values\n            for the items in your request in the <code>ProjectionExpression</code> parameter.</p>\n         <p>If a requested item does not exist, it is not returned in the result. Requests for\n            nonexistent items consume the minimum read capacity units according to the type of read.\n            For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations\">Working with Tables</a> in the <i>Amazon DynamoDB Developer\n                Guide</i>.</p>"
                "smithy.api#documentation": "<p>The <code>BatchGetItem</code> operation returns the attributes of one or more items\n            from one or more tables. You identify requested items by primary key.</p>\n         <p>A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n            items. <code>BatchGetItem</code> returns a partial result if the response size limit is\n            exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is requested,\n            or an internal processing failure occurs. If a partial result is returned, the operation returns a value for\n                <code>UnprocessedKeys</code>. You can use this value to retry the operation starting\n            with the next item to get.</p>\n         <important>\n            <p>If you request more than 100 items, <code>BatchGetItem</code> returns a\n                    <code>ValidationException</code> with the message \"Too many items requested for\n                the BatchGetItem call.\"</p>\n         </important>\n         <p>For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n            size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n            an appropriate <code>UnprocessedKeys</code> value so you can get the next page of\n            results. If desired, your application can include its own logic to assemble the pages of\n            results into one dataset.</p>\n         <p>If <i>none</i> of the items can be processed due to insufficient\n            provisioned throughput on all of the tables in the request, then\n                <code>BatchGetItem</code> returns a\n                <code>ProvisionedThroughputExceededException</code>. If <i>at least\n                one</i> of the items is successfully processed, then\n                <code>BatchGetItem</code> completes successfully, while returning the keys of the\n            unread items in <code>UnprocessedKeys</code>.</p>\n         <important>\n            <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on\n                those items. However, <i>we strongly recommend that you use an exponential\n                    backoff algorithm</i>. If you retry the batch operation immediately, the\n                underlying read or write requests can still fail due to throttling on the individual\n                tables. If you delay the batch operation using exponential backoff, the individual\n                requests in the batch are much more likely to succeed.</p>\n            <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations\">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB\n                    Developer Guide</i>.</p>\n         </important>\n         <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every\n            table in the request. If you want strongly consistent reads instead, you can set\n                <code>ConsistentRead</code> to <code>true</code> for any or all tables.</p>\n         <p>In order to minimize response latency, <code>BatchGetItem</code> may retrieve items in\n            parallel.</p>\n         <p>When designing your application, keep in mind that DynamoDB does not return items in\n            any particular order. To help parse the response by item, include the primary key values\n            for the items in your request in the <code>ProjectionExpression</code> parameter.</p>\n         <p>If a requested item does not exist, it is not returned in the result. Requests for\n            nonexistent items consume the minimum read capacity units according to the type of read.\n            For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#CapacityUnitCalculations\">Working with Tables</a> in the <i>Amazon DynamoDB Developer\n                Guide</i>.</p>"
            }
        },
        "com.amazonaws.dynamodb#BatchGetItemInput": {
@@ -6732,7 +6732,7 @@
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>There is no limit to the number of daily on-demand backups that can be taken. </p>\n         <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations\n            include <code>CreateTable</code>, <code>UpdateTable</code>,\n                <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,\n                <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>\n         <p>When you are creating a table with one or more secondary\n            indexes, you can have up to 250 such requests running at a time. However, if the table or\n            index specifications are complex, then DynamoDB might temporarily reduce the number\n            of concurrent operations.</p>\n         <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>\n         <p>There is a soft account quota of 2,500 tables.</p>",
                "smithy.api#documentation": "<p>There is no limit to the number of daily on-demand backups that can be taken. </p>\n         <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations\n            include <code>CreateTable</code>, <code>UpdateTable</code>,\n                <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,\n                <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>\n         <p>When you are creating a table with one or more secondary\n            indexes, you can have up to 250 such requests running at a time. However, if the table or\n            index specifications are complex, then DynamoDB might temporarily reduce the number\n            of concurrent operations.</p>\n         <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>\n         <p>There is a soft account quota of 2,500 tables.</p>\n         <p>GetRecords was called with a value of more than 1000 for the limit request parameter.</p>\n         <p>More than 2 processes are reading from the same streams shard at the same time. Exceeding\n            this limit may result in request throttling.</p>",
                "smithy.api#error": "client"
            }
        },
@@ -7689,14 +7689,14 @@
                "ReadCapacityUnits": {
                    "target": "com.amazonaws.dynamodb#PositiveLongObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB\n            returns a <code>ThrottlingException</code>. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput\">Specifying Read and Write Requirements</a> in the <i>Amazon DynamoDB\n                Developer Guide</i>.</p>\n         <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to\n            0.</p>",
                        "smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB\n            returns a <code>ThrottlingException</code>. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html\">Specifying Read and Write Requirements</a> in the <i>Amazon DynamoDB\n                Developer Guide</i>.</p>\n         <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to\n            0.</p>",
                        "smithy.api#required": {}
                    }
                },
                "WriteCapacityUnits": {
                    "target": "com.amazonaws.dynamodb#PositiveLongObject",
                    "traits": {
                        "smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a\n                <code>ThrottlingException</code>. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput\">Specifying Read and Write Requirements</a> in the <i>Amazon DynamoDB\n                Developer Guide</i>.</p>\n         <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to\n            0.</p>",
                        "smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a\n                <code>ThrottlingException</code>. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html\">Specifying Read and Write Requirements</a> in the <i>Amazon DynamoDB\n                Developer Guide</i>.</p>\n         <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to\n            0.</p>",
                        "smithy.api#required": {}
                    }
                }
+2035 −76

File changed.

Preview size limit exceeded, changes collapsed.

+33 −9
Original line number Diff line number Diff line
@@ -2576,6 +2576,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#EntityAlreadyExistsException"
                },
@@ -2587,7 +2590,7 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account\n            alias, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html\">Using an\n                alias for your Amazon Web Services account ID</a> in the\n            <i>IAM User Guide</i>.</p>"
                "smithy.api#documentation": "<p>Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account\n            alias, see <a href=\"https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html\">Creating, deleting, and\n                listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User\n                Guide</i>.</p>"
            }
        },
        "com.amazonaws.iam#CreateAccountAliasRequest": {
@@ -3574,6 +3577,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#EntityTemporarilyUnmodifiableException"
                },
@@ -3666,6 +3672,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#LimitExceededException"
                },
@@ -3677,7 +3686,7 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p> Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services\n            account alias, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html\">Using an alias for your Amazon Web Services account ID</a> in the\n                <i>IAM User Guide</i>.</p>"
                "smithy.api#documentation": "<p> Deletes the specified Amazon Web Services account alias. For information about using an Amazon Web Services\n            account alias, see <a href=\"https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html\">Creating, deleting, and\n                listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In User\n                Guide</i>.</p>"
            }
        },
        "com.amazonaws.iam#DeleteAccountAliasRequest": {
@@ -4390,6 +4399,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#LimitExceededException"
                },
@@ -4558,6 +4570,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#DeleteConflictException"
                },
@@ -4838,6 +4853,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#EntityAlreadyExistsException"
                },
@@ -7364,7 +7382,7 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only\n            one). For information about using an Amazon Web Services account alias, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/AccountAlias.html\">Using an alias for your\n                Amazon Web Services account ID</a> in the <i>IAM User Guide</i>.</p>",
                "smithy.api#documentation": "<p>Lists the account alias associated with the Amazon Web Services account (Note: you can have only\n            one). For information about using an Amazon Web Services account alias, see <a href=\"https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html\">Creating,\n                deleting, and listing an Amazon Web Services account alias</a> in the <i>Amazon Web Services Sign-In\n                User Guide</i>.</p>",
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
@@ -9083,7 +9101,7 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the IAM roles that have the specified path prefix. If there are none, the\n            operation returns an empty list. For more information about roles, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html\">Working with\n                roles</a>.</p>\n         <note>\n            <p>IAM resource-listing operations return a subset of the available \n   attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a role, see <a>GetRole</a>.</p>\n         </note>\n         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n            parameters.</p>",
                "smithy.api#documentation": "<p>Lists the IAM roles that have the specified path prefix. If there are none, the\n            operation returns an empty list. For more information about roles, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html\">Working with\n                roles</a>.</p>\n         <note>\n            <p>IAM resource-listing operations return a subset of the available \n   attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>\n            <ul>\n               <li>\n                  <p>PermissionsBoundary</p>\n               </li>\n               <li>\n                  <p>RoleLastUsed</p>\n               </li>\n               <li>\n                  <p>Tags</p>\n               </li>\n            </ul>\n            <p>To view all of the information for a role, see <a>GetRole</a>.</p>\n         </note>\n         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n            parameters.</p>",
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
@@ -9806,7 +9824,7 @@
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the IAM users that have the specified path prefix. If no path prefix is\n            specified, the operation returns all users in the Amazon Web Services account. If there are none, the\n            operation returns an empty list.</p>\n         <note>\n            <p>IAM resource-listing operations return a subset of the available \n   attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a user, see <a>GetUser</a>.</p>\n         </note>\n         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n            parameters.</p>",
                "smithy.api#documentation": "<p>Lists the IAM users that have the specified path prefix. If no path prefix is\n            specified, the operation returns all users in the Amazon Web Services account. If there are none, the\n            operation returns an empty list.</p>\n         <note>\n            <p>IAM resource-listing operations return a subset of the available \n   attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>\n            <ul>\n               <li>\n                  <p>PermissionsBoundary</p>\n               </li>\n               <li>\n                  <p>Tags</p>\n               </li>\n            </ul>\n            <p>To view all of the information for a user, see <a>GetUser</a>.</p>\n         </note>\n         <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n            parameters.</p>",
                "smithy.api#paginated": {
                    "inputToken": "Marker",
                    "outputToken": "Marker",
@@ -11310,6 +11328,9 @@
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#InvalidAuthenticationCodeException"
                },
@@ -14237,6 +14258,9 @@
                "target": "com.amazonaws.iam#UploadSigningCertificateResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.iam#ConcurrentModificationException"
                },
                {
                    "target": "com.amazonaws.iam#DuplicateCertificateException"
                },
@@ -14439,7 +14463,7 @@
                "Base32StringSeed": {
                    "target": "com.amazonaws.iam#BootstrapDatum",
                    "traits": {
                        "smithy.api#documentation": "<p> The base32 seed defined as specified in <a href=\"https://tools.ietf.org/html/rfc3548.txt\">RFC3548</a>. The <code>Base32StringSeed</code> is base64-encoded. </p>"
                        "smithy.api#documentation": "<p> The base32 seed defined as specified in <a href=\"https://tools.ietf.org/html/rfc3548.txt\">RFC3548</a>. The <code>Base32StringSeed</code> is base32-encoded. </p>"
                    }
                },
                "QRCodePNG": {
@@ -14509,7 +14533,7 @@
                    "min": 3,
                    "max": 63
                },
                "smithy.api#pattern": "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$"
                "smithy.api#pattern": "^[a-z0-9]([a-z0-9]|-(?!-)){1,61}[a-z0-9]$"
            }
        },
        "com.amazonaws.iam#arnType": {
@@ -14963,7 +14987,7 @@
                    "min": 1,
                    "max": 512
                },
                "smithy.api#pattern": "^(\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F)$"
                "smithy.api#pattern": "^(\\u002F)|(\\u002F[\\u0021-\\u007E]+\\u002F)$"
            }
        },
        "com.amazonaws.iam#policyDescriptionType": {
@@ -15167,7 +15191,7 @@
                    "min": 0,
                    "max": 1000
                },
                "smithy.api#pattern": "^[\\p{L}\\p{M}\\p{Z}\\p{S}\\p{N}\\p{P}]*$"
                "smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]*$"
            }
        },
        "com.amazonaws.iam#roleDetailListType": {
+37 −13

File changed.

Preview size limit exceeded, changes collapsed.

Loading