aws-sdk-for-zig/codegen/models/dynamodb.2012-08-10.json

9120 lines
629 KiB
JSON
Raw Normal View History

2021-05-30 01:17:45 +00:00
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.dynamodb#ArchivalReason": {
"type": "string"
},
"com.amazonaws.dynamodb#ArchivalSummary": {
"type": "structure",
"members": {
"ArchivalDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The date and time when table archival was initiated by DynamoDB,\n in UNIX epoch time format.</p>"
}
},
"ArchivalReason": {
"target": "com.amazonaws.dynamodb#ArchivalReason",
"traits": {
"smithy.api#documentation": "<p>The reason DynamoDB archived the table. Currently, the only\n possible value is:</p>\n\n <ul>\n <li>\n <p>\n <code>INACCESSIBLE_ENCRYPTION_CREDENTIALS</code> - The\n table was archived due to the table's AWS KMS key being inaccessible\n for more than seven days. An On-Demand backup was created at the archival\n time.</p>\n </li>\n </ul>"
}
},
"ArchivalBackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the backup the table was archived\n to, when applicable in the archival reason. If you wish to restore this\n backup to the same table name, you will need to delete the original\n table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details of a table archival operation.</p>"
}
},
"com.amazonaws.dynamodb#AttributeAction": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ADD",
"name": "ADD"
},
{
"value": "PUT",
"name": "PUT"
},
{
"value": "DELETE",
"name": "DELETE"
}
]
}
},
"com.amazonaws.dynamodb#AttributeDefinition": {
"type": "structure",
"members": {
"AttributeName": {
"target": "com.amazonaws.dynamodb#KeySchemaAttributeName",
"traits": {
"smithy.api#documentation": "<p>A name for the attribute.</p>",
"smithy.api#required": {}
}
},
"AttributeType": {
"target": "com.amazonaws.dynamodb#ScalarAttributeType",
"traits": {
"smithy.api#documentation": "<p>The data type for the attribute, where:</p>\n <ul>\n <li> \n <p>\n <code>S</code> - the attribute is of type String</p>\n </li>\n <li>\n <p>\n <code>N</code> - the attribute is of type Number</p>\n </li>\n <li>\n <p>\n <code>B</code> - the attribute is of type Binary</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents an attribute for describing the key schema for the table and indexes.</p>"
}
},
"com.amazonaws.dynamodb#AttributeDefinitions": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeDefinition"
}
},
"com.amazonaws.dynamodb#AttributeMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#AttributeName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 65535
}
}
},
"com.amazonaws.dynamodb#AttributeNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#AttributeUpdates": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValueUpdate"
}
},
"com.amazonaws.dynamodb#AttributeValue": {
"type": "union",
"members": {
"S": {
"target": "com.amazonaws.dynamodb#StringAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type String. For example:</p>\n <p>\n <code>\"S\": \"Hello\"</code>\n </p>"
}
},
"N": {
"target": "com.amazonaws.dynamodb#NumberAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Number. For example:</p>\n <p>\n <code>\"N\": \"123.45\"</code>\n </p>\n <p>Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.</p>"
}
},
"B": {
"target": "com.amazonaws.dynamodb#BinaryAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Binary. For example:</p>\n <p>\n <code>\"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\"</code>\n </p>"
}
},
"SS": {
"target": "com.amazonaws.dynamodb#StringSetAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type String Set. For example:</p>\n <p>\n <code>\"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]</code>\n </p>"
}
},
"NS": {
"target": "com.amazonaws.dynamodb#NumberSetAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Number Set. For example:</p>\n <p>\n <code>\"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]</code>\n </p>\n <p>Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.</p>"
}
},
"BS": {
"target": "com.amazonaws.dynamodb#BinarySetAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Binary Set. For example:</p>\n <p>\n <code>\"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]</code>\n </p>"
}
},
"M": {
"target": "com.amazonaws.dynamodb#MapAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Map. For example:</p>\n <p>\n <code>\"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}</code>\n </p>"
}
},
"L": {
"target": "com.amazonaws.dynamodb#ListAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type List. For example:</p>\n <p>\n <code>\"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]</code>\n </p>"
}
},
"NULL": {
"target": "com.amazonaws.dynamodb#NullAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Null. For example:</p>\n <p>\n <code>\"NULL\": true</code>\n </p>"
}
},
"BOOL": {
"target": "com.amazonaws.dynamodb#BooleanAttributeValue",
"traits": {
"smithy.api#documentation": "<p>An attribute of type Boolean. For example:</p>\n <p>\n <code>\"BOOL\": true</code>\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the data for an attribute.</p>\n <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#AttributeValueList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#AttributeValueUpdate": {
"type": "structure",
"members": {
"Value": {
"target": "com.amazonaws.dynamodb#AttributeValue",
"traits": {
"smithy.api#documentation": "<p>Represents the data for an attribute.</p>\n <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the <i>Amazon DynamoDB Developer Guide</i>.\n </p>"
}
},
"Action": {
"target": "com.amazonaws.dynamodb#AttributeAction",
"traits": {
"smithy.api#documentation": "<p>Specifies how to perform the update. Valid values are <code>PUT</code> (default), <code>DELETE</code>,\n and <code>ADD</code>. The behavior depends on whether the specified primary key already exists\n in the table.</p>\n\n <p>\n <b>If an item with the specified <i>Key</i> is found in the table:</b>\n </p>\n\n <ul>\n <li>\n <p>\n <code>PUT</code> - Adds the specified attribute to the item. If the attribute already\n exists, it is replaced by the new value. </p>\n </li>\n <li>\n <p>\n <code>DELETE</code> - If no value is specified, the attribute and its value are removed\n from the item. The data type of the specified value must match the existing value's data\n type.</p>\n <p>If a <i>set</i> of values is specified, then those values are subtracted from the old\n set. For example, if the attribute value was the set <code>[a,b,c]</code> and the\n <code>DELETE</code> action specified <code>[a,c]</code>, then the final attribute value would\n be <code>[b]</code>. Specifying an empty set is an error.</p>\n </li>\n <li>\n <p>\n <code>ADD</code> - If the attribute does not already exist, then the attribute and its\n values are added to the item. If the attribute does exist, then the behavior of\n <code>ADD</code> depends on the data type of the attribute:</p>\n <ul>\n <li>\n <p>If the existing attribute is a number, and if <code>Value</code> is also a number, then the\n <code>Value</code> is mathematically added to the existing attribute. If <code>Value</code> is a\n negative number, then it is subtracted from the existing attribute.</p>\n <note>\n <p> If you use <code>ADD</code> to increment or decrement a number value for an item\n that doesn't exist before the update, DynamoDB uses 0 as the initial value.</p>\n <p>In addition, if you use <code>ADD</code> to update an existing item, and intend to\n increment or decrement an attribute value which does not yet exist, DynamoDB uses\n <code>0</code> as the initial value. For example, suppose that the item you want\n to update does not yet have an attribute named <i>itemcount</i>, but you decide to\n <code>ADD</code> the number <code>3</code> to this attribute anyway, even though\n it currently does not exist. DynamoDB will create the <i>itemcount</i> attribute, set\n its initial value to <code>0</code>, and finally add <code>3</code> to it. The\n result will be a new <i>itemcount</i> attribute in the item, with a value of\n <code>3</code>.</p>\n </note>\n </li>\n <li>\n <p>If the existing data type is a set, and if the <code>Value</code> is also a set, then the\n <code>Value</code> is added to the existing set. (This is a <i>set</i> operation, not\n mathematical addition.) For example, if the attribute value was the set\n <code>[1,2]</code>, and the <code>ADD</code> action specified <code>[3]</code>, then\n the final attribute value would be <code>[1,2,3]</code>. An error occurs if an Add\n action is specified for a set attribute and the attribute type specified does not\n match the existing set type. </p>\n <p>Both sets must have the same primitive data type. For example, if the existing data\n type is a set of strings, the <code>Value</code> must also be a set of strings. The same\n holds true for number sets and binary sets.</p>\n </li>\n
}
}
},
"traits": {
"smithy.api#documentation": "<p>For the <code>UpdateItem</code> operation, represents the attributes to be modified, the action to\n perform on each, and the new value for each.</p>\n <note>\n <p>You cannot use <code>UpdateItem</code> to update any primary key attributes. Instead, you will\n need to delete the item, and then use <code>PutItem</code> to create a new item with new\n attributes.</p>\n </note>\n <p>Attribute values cannot be null; string and binary type attributes must have lengths greater\n than zero; and set type attributes must not be empty. Requests with empty values will be\n rejected with a <code>ValidationException</code> exception.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingPolicyDescription": {
"type": "structure",
"members": {
"PolicyName": {
"target": "com.amazonaws.dynamodb#AutoScalingPolicyName",
"traits": {
"smithy.api#documentation": "<p>The name of the scaling policy.</p>"
}
},
"TargetTrackingScalingPolicyConfiguration": {
"target": "com.amazonaws.dynamodb#AutoScalingTargetTrackingScalingPolicyConfigurationDescription",
"traits": {
"smithy.api#documentation": "<p>Represents a target tracking scaling policy configuration.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of the scaling policy.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingPolicyDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AutoScalingPolicyDescription"
}
},
"com.amazonaws.dynamodb#AutoScalingPolicyName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 256
},
"smithy.api#pattern": "\\p{Print}+"
}
},
"com.amazonaws.dynamodb#AutoScalingPolicyUpdate": {
"type": "structure",
"members": {
"PolicyName": {
"target": "com.amazonaws.dynamodb#AutoScalingPolicyName",
"traits": {
"smithy.api#documentation": "<p>The name of the scaling policy.</p>"
}
},
"TargetTrackingScalingPolicyConfiguration": {
"target": "com.amazonaws.dynamodb#AutoScalingTargetTrackingScalingPolicyConfigurationUpdate",
"traits": {
"smithy.api#documentation": "<p>Represents a target tracking scaling policy configuration.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling policy to be modified.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingRoleArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1600
},
"smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*"
}
},
"com.amazonaws.dynamodb#AutoScalingSettingsDescription": {
"type": "structure",
"members": {
"MinimumUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The minimum capacity units that a global table or global secondary index should be scaled down to.</p>"
}
},
"MaximumUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum capacity units that a global table or global secondary index should be scaled up to.</p>"
}
},
"AutoScalingDisabled": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Disabled auto scaling for this global table or global secondary index.</p>"
}
},
"AutoScalingRoleArn": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>Role ARN used for configuring the auto scaling policy.</p>"
}
},
"ScalingPolicies": {
"target": "com.amazonaws.dynamodb#AutoScalingPolicyDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Information about the scaling policies.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings for a global table or global secondary\n index.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingSettingsUpdate": {
"type": "structure",
"members": {
"MinimumUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The minimum capacity units that a global table or global secondary index should be scaled down to.</p>"
}
},
"MaximumUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum capacity units that a global table or global secondary index should be scaled up to.</p>"
}
},
"AutoScalingDisabled": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Disabled auto scaling for this global table or global secondary index.</p>"
}
},
"AutoScalingRoleArn": {
"target": "com.amazonaws.dynamodb#AutoScalingRoleArn",
"traits": {
"smithy.api#documentation": "<p>Role ARN used for configuring auto scaling policy.</p>"
}
},
"ScalingPolicyUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingPolicyUpdate",
"traits": {
"smithy.api#documentation": "<p>The scaling policy to apply for scaling target global table or global secondary index capacity units.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings to be modified for a global table or global\n secondary index.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingTargetTrackingScalingPolicyConfigurationDescription": {
"type": "structure",
"members": {
"DisableScaleIn": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Indicates whether scale in by the target tracking policy is disabled. If the value is true,\n scale in is disabled and the target tracking policy won't remove capacity from the scalable resource.\n Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.\n The default value is false.</p>"
}
},
"ScaleInCooldown": {
"target": "com.amazonaws.dynamodb#IntegerObject",
"traits": {
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scale in activity completes before another scale\n in activity can start. The cooldown period is used to block subsequent scale in requests\n until it has expired. You should scale in conservatively to protect your application's\n availability. However, if another alarm triggers a scale out policy during the cooldown\n period after a scale-in, application auto scaling scales out your scalable target\n immediately. </p>"
}
},
"ScaleOutCooldown": {
"target": "com.amazonaws.dynamodb#IntegerObject",
"traits": {
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scale out activity completes before another scale out\n activity can start. While the cooldown period is in effect, the capacity that has been added\n by the previous scale out event that initiated the cooldown is calculated as part of the\n desired capacity for the next scale out. You should continuously (but not excessively)\n scale out.</p>"
}
},
"TargetValue": {
"target": "com.amazonaws.dynamodb#Double",
"traits": {
"smithy.api#documentation": "<p>The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a target tracking scaling policy.</p>"
}
},
"com.amazonaws.dynamodb#AutoScalingTargetTrackingScalingPolicyConfigurationUpdate": {
"type": "structure",
"members": {
"DisableScaleIn": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Indicates whether scale in by the target tracking policy is disabled. If the value is true,\n scale in is disabled and the target tracking policy won't remove capacity from the scalable resource.\n Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.\n The default value is false.</p>"
}
},
"ScaleInCooldown": {
"target": "com.amazonaws.dynamodb#IntegerObject",
"traits": {
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scale in activity completes before another scale\n in activity can start. The cooldown period is used to block subsequent scale in requests\n until it has expired. You should scale in conservatively to protect your application's\n availability. However, if another alarm triggers a scale out policy during the cooldown\n period after a scale-in, application auto scaling scales out your scalable target\n immediately. </p>"
}
},
"ScaleOutCooldown": {
"target": "com.amazonaws.dynamodb#IntegerObject",
"traits": {
"smithy.api#documentation": "<p>The amount of time, in seconds, after a scale out activity completes before another scale out\n activity can start. While the cooldown period is in effect, the capacity that has been added\n by the previous scale out event that initiated the cooldown is calculated as part of the\n desired capacity for the next scale out. You should continuously (but not excessively)\n scale out.</p>"
}
},
"TargetValue": {
"target": "com.amazonaws.dynamodb#Double",
"traits": {
"smithy.api#documentation": "<p>The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings of a target tracking scaling policy that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#Backfilling": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#BackupArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 37,
"max": 1024
}
}
},
"com.amazonaws.dynamodb#BackupCreationDateTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#BackupDescription": {
"type": "structure",
"members": {
"BackupDetails": {
"target": "com.amazonaws.dynamodb#BackupDetails",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the backup created for the table. </p>"
}
},
"SourceTableDetails": {
"target": "com.amazonaws.dynamodb#SourceTableDetails",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the table when the backup was created. </p>"
}
},
"SourceTableFeatureDetails": {
"target": "com.amazonaws.dynamodb#SourceTableFeatureDetails",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the description of the backup created for the table.</p>"
}
},
"com.amazonaws.dynamodb#BackupDetails": {
"type": "structure",
"members": {
"BackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>ARN associated with the backup.</p>",
"smithy.api#required": {}
}
},
"BackupName": {
"target": "com.amazonaws.dynamodb#BackupName",
"traits": {
"smithy.api#documentation": "<p>Name of the requested backup.</p>",
"smithy.api#required": {}
}
},
"BackupSizeBytes": {
"target": "com.amazonaws.dynamodb#BackupSizeBytes",
"traits": {
"smithy.api#documentation": "<p>Size of the backup in bytes.</p>"
}
},
"BackupStatus": {
"target": "com.amazonaws.dynamodb#BackupStatus",
"traits": {
"smithy.api#documentation": "<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED. </p>",
"smithy.api#required": {}
}
},
"BackupType": {
"target": "com.amazonaws.dynamodb#BackupType",
"traits": {
"smithy.api#documentation": "<p>BackupType:</p>\n <ul>\n <li>\n <p>\n <code>USER</code> - You create and manage these using the on-demand backup feature.</p>\n </li>\n <li>\n <p>\n <code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically\n created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted \n\t\ttable to the state it was in just before the point of deletion.\n\t\t</p>\n </li>\n <li>\n <p>\n <code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"BackupCreationDateTime": {
"target": "com.amazonaws.dynamodb#BackupCreationDateTime",
"traits": {
"smithy.api#documentation": "<p>Time at which the backup was created. This is the request time of the backup. </p>",
"smithy.api#required": {}
}
},
"BackupExpiryDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This <code>SYSTEM</code>\n on-demand backup expires automatically 35 days after its creation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the details of the backup created for the table.</p>"
}
},
"com.amazonaws.dynamodb#BackupInUseException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>There is another ongoing conflicting backup control plane operation on the table. The backup is either being created, deleted or restored to a table.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#BackupName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 255
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.dynamodb#BackupNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Backup not found for the given BackupARN. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#BackupSizeBytes": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.dynamodb#BackupStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "DELETED",
"name": "DELETED"
},
{
"value": "AVAILABLE",
"name": "AVAILABLE"
}
]
}
},
"com.amazonaws.dynamodb#BackupSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#BackupSummary"
}
},
"com.amazonaws.dynamodb#BackupSummary": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table.</p>"
}
},
"TableId": {
"target": "com.amazonaws.dynamodb#TableId",
"traits": {
"smithy.api#documentation": "<p>Unique identifier for the table.</p>"
}
},
"TableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>ARN associated with the table.</p>"
}
},
"BackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>ARN associated with the backup.</p>"
}
},
"BackupName": {
"target": "com.amazonaws.dynamodb#BackupName",
"traits": {
"smithy.api#documentation": "<p>Name of the specified backup.</p>"
}
},
"BackupCreationDateTime": {
"target": "com.amazonaws.dynamodb#BackupCreationDateTime",
"traits": {
"smithy.api#documentation": "<p>Time at which the backup was created.</p>"
}
},
"BackupExpiryDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Time at which the automatic on-demand backup created by DynamoDB will expire. This\n <code>SYSTEM</code> on-demand backup expires automatically 35 days after its\n creation.</p>"
}
},
"BackupStatus": {
"target": "com.amazonaws.dynamodb#BackupStatus",
"traits": {
"smithy.api#documentation": "<p>Backup can be in one of the following states: CREATING, ACTIVE, DELETED.</p>"
}
},
"BackupType": {
"target": "com.amazonaws.dynamodb#BackupType",
"traits": {
"smithy.api#documentation": "<p>BackupType:</p>\n <ul>\n <li>\n <p>\n <code>USER</code> - You create and manage these using the on-demand backup feature.</p>\n </li>\n <li>\n <p>\n <code>SYSTEM</code> - If you delete a table with point-in-time recovery enabled, a <code>SYSTEM</code> backup is automatically\n created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted \n\t\ttable to the state it was in just before the point of deletion.\n\t\t</p>\n </li>\n <li>\n <p>\n <code>AWS_BACKUP</code> - On-demand backup created by you from AWS Backup service.</p>\n </li>\n </ul>"
}
},
"BackupSizeBytes": {
"target": "com.amazonaws.dynamodb#BackupSizeBytes",
"traits": {
"smithy.api#documentation": "<p>Size of the backup in bytes.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details for the backup.</p>"
}
},
"com.amazonaws.dynamodb#BackupType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "USER",
"name": "USER"
},
{
"value": "SYSTEM",
"name": "SYSTEM"
},
{
"value": "AWS_BACKUP",
"name": "AWS_BACKUP"
}
]
}
},
"com.amazonaws.dynamodb#BackupTypeFilter": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "USER",
"name": "USER"
},
{
"value": "SYSTEM",
"name": "SYSTEM"
},
{
"value": "AWS_BACKUP",
"name": "AWS_BACKUP"
},
{
"value": "ALL",
"name": "ALL"
}
]
}
},
"com.amazonaws.dynamodb#BackupsInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.dynamodb#BatchExecuteStatement": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#BatchExecuteStatementInput"
},
"output": {
"target": "com.amazonaws.dynamodb#BatchExecuteStatementOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
}
],
"traits": {
"smithy.api#documentation": "<p>\nThis operation allows you to perform batch reads and writes on data stored in DynamoDB, using PartiQL.\n</p>"
}
},
"com.amazonaws.dynamodb#BatchExecuteStatementInput": {
"type": "structure",
"members": {
"Statements": {
"target": "com.amazonaws.dynamodb#PartiQLBatchRequest",
"traits": {
"smithy.api#documentation": "<p>\nThe list of PartiQL statements representing the batch to run.\n</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#BatchExecuteStatementOutput": {
"type": "structure",
"members": {
"Responses": {
"target": "com.amazonaws.dynamodb#PartiQLBatchResponse",
"traits": {
"smithy.api#documentation": "<p>\nThe response to each PartiQL statement in the batch.\n</p>"
}
}
}
},
"com.amazonaws.dynamodb#BatchGetItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#BatchGetItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#BatchGetItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>BatchGetItem</code> operation returns the attributes of one or more items from one or\n 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 those\n items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>.\n If you retry the batch operation immediately, the underlying read or write requests can\n still fail due to throttling on the individual tables. If you delay the batch operation\n using exponential backoff, the individual requests in the batch are much more likely to\n succeed.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations\">Batch\n Operations and Error Handling</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>\n </important>\n <p>By default, <code>BatchGetItem</code> performs eventually consistent reads on every table in the\n request. If you want strongly consistent reads instead, you can set <code>ConsistentRead</code> to\n <code>true</code> for any or all tables.</p>\n <p>In order to minimize response latency, <code>BatchGetItem</code> retrieves items in parallel.</p>\n <p>When designing your application, keep in mind that DynamoDB does not return items in any\n particular order. To help parse the response by item, include the primary key values for the\n 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": {
"type": "structure",
"members": {
"RequestItems": {
"target": "com.amazonaws.dynamodb#BatchGetRequestMap",
"traits": {
"smithy.api#documentation": "<p>A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per <code>BatchGetItem</code> request.</p>\n <p>Each element in the map of items to retrieve consists of the following:</p>\n <ul>\n <li>\n <p>\n <code>ConsistentRead</code> - If <code>true</code>, a strongly consistent read is used; if\n <code>false</code> (the default), an eventually consistent read is used.</p>\n </li>\n <li>\n <p>\n <code>ExpressionAttributeNames</code> - One or more substitution tokens for attribute names in the <code>ProjectionExpression</code> parameter. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information about expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Accessing Item Attributes</a> in the <i>Amazon DynamoDB\n Developer Guide</i>.</p>\n </li>\n <li>\n <p>\n <code>Keys</code> - An array of primary key attribute values that define specific items in the\n table. For each primary key, you must provide <i>all</i> of the key attributes. For\n example, with a simple primary key, you only need to provide the partition key value. For a\n composite key, you must provide <i>both</i> the partition key value and the sort key value.</p>\n </li>\n <li>\n <p>\n <code>ProjectionExpression</code> - A string that identifies one or more\n attributes to retrieve from the table. These attributes can include scalars,\n sets, or elements of a JSON document. The attributes in the expression must be\n separated
"smithy.api#required": {}
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchGetItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#BatchGetItemOutput": {
"type": "structure",
"members": {
"Responses": {
"target": "com.amazonaws.dynamodb#BatchGetResponseMap",
"traits": {
"smithy.api#documentation": "<p>A map of table name to a list of items. Each object in <code>Responses</code> consists of a table\n name, along with a map of attribute data consisting of the data type and attribute value.</p>"
}
},
"UnprocessedKeys": {
"target": "com.amazonaws.dynamodb#BatchGetRequestMap",
"traits": {
"smithy.api#documentation": "<p>A map of tables and their respective keys that were not processed with the current response.\n The <code>UnprocessedKeys</code> value is in the same form as <code>RequestItems</code>, so the value can\n be provided directly to a subsequent <code>BatchGetItem</code> operation. For more information, see\n <code>RequestItems</code> in the Request Parameters section.</p>\n <p>Each element consists of:</p>\n <ul>\n <li>\n <p>\n <code>Keys</code> - An array of primary key attribute values that define specific items in the\n table.</p>\n </li>\n <li>\n <p>\n <code>ProjectionExpression</code> - One or more attributes to be\n retrieved from the table or index. By default, all attributes are returned. If a\n requested attribute is not found, it does not appear in the result.</p>\n </li>\n <li>\n <p>\n <code>ConsistentRead</code> - The consistency of a read operation. If set to <code>true</code>,\n then a strongly consistent read is used; otherwise, an eventually consistent read is\n used.</p>\n </li>\n </ul>\n <p>If there are no unprocessed keys remaining, the response contains an empty\n <code>UnprocessedKeys</code> map.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple",
"traits": {
"smithy.api#documentation": "<p>The read capacity units consumed by the entire <code>BatchGetItem</code> operation.</p>\n <p>Each element consists of:</p>\n <ul>\n <li>\n <p>\n <code>TableName</code> - The table that consumed the provisioned throughput.</p>\n </li>\n <li>\n <p>\n <code>CapacityUnits</code> - The total number of capacity units consumed.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchGetItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#BatchGetRequestMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#TableName"
},
"value": {
"target": "com.amazonaws.dynamodb#KeysAndAttributes"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.dynamodb#BatchGetResponseMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#TableName"
},
"value": {
"target": "com.amazonaws.dynamodb#ItemList"
}
},
"com.amazonaws.dynamodb#BatchStatementError": {
"type": "structure",
"members": {
"Code": {
"target": "com.amazonaws.dynamodb#BatchStatementErrorCodeEnum",
"traits": {
"smithy.api#documentation": "<p>\nThe error code associated with the failed PartiQL batch statement.\n</p>"
}
},
"Message": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>\nThe error message associated with the PartiQL batch resposne.\n</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\nAn error associated with a statement in a PartiQL batch that was run.\n</p>"
}
},
"com.amazonaws.dynamodb#BatchStatementErrorCodeEnum": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ConditionalCheckFailed",
"name": "ConditionalCheckFailed"
},
{
"value": "ItemCollectionSizeLimitExceeded",
"name": "ItemCollectionSizeLimitExceeded"
},
{
"value": "RequestLimitExceeded",
"name": "RequestLimitExceeded"
},
{
"value": "ValidationError",
"name": "ValidationError"
},
{
"value": "ProvisionedThroughputExceeded",
"name": "ProvisionedThroughputExceeded"
},
{
"value": "TransactionConflict",
"name": "TransactionConflict"
},
{
"value": "ThrottlingError",
"name": "ThrottlingError"
},
{
"value": "InternalServerError",
"name": "InternalServerError"
},
{
"value": "ResourceNotFound",
"name": "ResourceNotFound"
},
{
"value": "AccessDenied",
"name": "AccessDenied"
},
{
"value": "DuplicateItem",
"name": "DuplicateItem"
}
]
}
},
"com.amazonaws.dynamodb#BatchStatementRequest": {
"type": "structure",
"members": {
"Statement": {
"target": "com.amazonaws.dynamodb#PartiQLStatement",
"traits": {
"smithy.api#documentation": "<p>\nA valid PartiQL statement.\n</p>",
"smithy.api#required": {}
}
},
"Parameters": {
"target": "com.amazonaws.dynamodb#PreparedStatementParameters",
"traits": {
"smithy.api#documentation": "<p>\nThe parameters associated with a PartiQL statement in the batch request.\n</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>\nThe read consistency of the PartiQL batch request. \n</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\nA PartiQL batch statement request. \n</p>"
}
},
"com.amazonaws.dynamodb#BatchStatementResponse": {
"type": "structure",
"members": {
"Error": {
"target": "com.amazonaws.dynamodb#BatchStatementError",
"traits": {
"smithy.api#documentation": "<p>\nThe error associated with a failed PartiQL batch statement.\n</p>"
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>\nThe table name associated with a failed PartiQL batch statement.\n</p>"
}
},
"Item": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>\nA DynamoDB item associated with a BatchStatementResponse\n</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\nA PartiQL batch statement response..\n</p>"
}
},
"com.amazonaws.dynamodb#BatchWriteItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#BatchWriteItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#BatchWriteItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or more\n tables. A single call to <code>BatchWriteItem</code> can write up to 16 MB of data,\n which can comprise as many as 25 put or delete requests. Individual items to be written\n can be as large as 400 KB.</p>\n <note>\n <p>\n <code>BatchWriteItem</code> cannot update items. To update items, use the <code>UpdateItem</code>\n action.</p>\n </note>\n <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified in\n <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a whole is not. If any\n requested operations fail because the table's provisioned throughput is exceeded or an\n internal processing failure occurs, the failed operations are returned in the\n <code>UnprocessedItems</code> response parameter. You can investigate and optionally resend the\n requests. Typically, you would call <code>BatchWriteItem</code> in a loop. Each iteration would\n check for unprocessed items and submit a new <code>BatchWriteItem</code> request with those\n unprocessed items until all items have been processed.</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>BatchWriteItem</code> returns a\n <code>ProvisionedThroughputExceededException</code>.</p>\n <important>\n <p>If DynamoDB returns any unprocessed items, you should retry the batch operation on those\n items. However, <i>we strongly recommend that you use an exponential backoff algorithm</i>.\n If you retry the batch operation immediately, the underlying read or write requests can\n still fail due to throttling on the individual tables. If you delay the batch operation\n using exponential backoff, the individual requests in the batch are much more likely to\n succeed.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#Programming.Errors.BatchOperations\">Batch Operations and Error Handling</a> in the <i>Amazon DynamoDB\n Developer Guide</i>.</p>\n </important>\n\n <p>With <code>BatchWriteItem</code>, you can efficiently write or delete large amounts of\n data, such as from Amazon EMR, or copy data from another database into DynamoDB. In\n order to improve performance with these large-scale operations,\n <code>BatchWriteItem</code> does not behave in the same way as individual\n <code>PutItem</code> and <code>DeleteItem</code> calls would. For example, you\n cannot specify conditions on individual put and delete requests, and\n <code>BatchWriteItem</code> does not return deleted items in the response.</p>\n <p>If you use a programming language that supports concurrency, you can use\n threads to write items in parallel. Your application must include the necessary logic to\n manage the threads. With languages that don't support threading, you must update\n or delete the specified items one at a time. In both situations, <code>BatchWriteItem</code>\n performs the specified put and delete operations in\n parallel, giving you the power of the thread pool approach without having to introduce\n complexity into your application.</p>\n <p>Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.</p>\n <p>If one or more of the following is true, DynamoDB rejects the entire batch write operation:</p>\n <ul>\n <li>\n <p>O
}
},
"com.amazonaws.dynamodb#BatchWriteItemInput": {
"type": "structure",
"members": {
"RequestItems": {
"target": "com.amazonaws.dynamodb#BatchWriteItemRequestMap",
"traits": {
"smithy.api#documentation": "<p>A map of one or more table names and, for each table, a list of operations to be performed\n (<code>DeleteRequest</code> or <code>PutRequest</code>). Each element in the map consists of the\n following:</p>\n <ul>\n <li>\n <p>\n <code>DeleteRequest</code> - Perform a <code>DeleteItem</code> operation on the specified item. The\n item to be deleted is identified by a <code>Key</code> subelement:</p>\n <ul>\n <li>\n <p>\n <code>Key</code> - A map of primary key attribute values that uniquely identify the item.\n Each entry in this map consists of an attribute name and an attribute value. For each\n primary key, you must provide <i>all</i> of the key attributes. For example, with a\n simple primary key, you only need to provide a value for the partition key. For a\n composite primary key, you must provide values for <i>both</i> the partition key and the sort key.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>PutRequest</code> - Perform a <code>PutItem</code> operation on the specified item. The item to\n be put is identified by an <code>Item</code> subelement:</p>\n <ul>\n <li>\n <p>\n <code>Item</code> - A map of attributes and their values. Each entry in\n this map consists of an attribute name and an attribute value. Attribute\n values must not be null; string and binary type attributes must have\n lengths greater than zero; and set type attributes must not be empty.\n Requests that contain empty values are rejected with a\n <code>ValidationException</code> exception.</p>\n <p>If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.</p>\n </li>\n </ul>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ReturnItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to <code>NONE</code> (the default), no statistics are returned.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>BatchWriteItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#BatchWriteItemOutput": {
"type": "structure",
"members": {
"UnprocessedItems": {
"target": "com.amazonaws.dynamodb#BatchWriteItemRequestMap",
"traits": {
"smithy.api#documentation": "<p>A map of tables and requests against those tables that were not processed. The\n <code>UnprocessedItems</code> value is in the same form as <code>RequestItems</code>, so you can provide\n this value directly to a subsequent <code>BatchGetItem</code> operation. For more information, see\n <code>RequestItems</code> in the Request Parameters section.</p>\n <p>Each <code>UnprocessedItems</code> entry consists of a table name and, for that table, a list of\n operations to perform (<code>DeleteRequest</code> or <code>PutRequest</code>).</p>\n <ul>\n <li>\n <p>\n <code>DeleteRequest</code> - Perform a <code>DeleteItem</code> operation on the specified item. The\n item to be deleted is identified by a <code>Key</code> subelement:</p>\n <ul>\n <li>\n <p>\n <code>Key</code> - A map of primary key attribute values that uniquely identify the item.\n Each entry in this map consists of an attribute name and an attribute value.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>PutRequest</code> - Perform a <code>PutItem</code> operation on the specified item. The item to\n be put is identified by an <code>Item</code> subelement:</p>\n <ul>\n <li>\n <p>\n <code>Item</code> - A map of attributes and their values. Each entry in this map consists\n of an attribute name and an attribute value. Attribute values must not be null; string\n and binary type attributes must have lengths greater than zero; and set type\n attributes must not be empty. Requests that contain empty values will be rejected with\n a <code>ValidationException</code> exception.</p>\n <p>If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.</p>\n </li>\n </ul>\n </li>\n </ul>\n <p>If there are no unprocessed items remaining, the response contains an empty\n <code>UnprocessedItems</code> map.</p>"
}
},
"ItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetricsPerTable",
"traits": {
"smithy.api#documentation": "<p>A list of tables that were processed by <code>BatchWriteItem</code> and, for each table,\n information about any item collections that were affected by individual <code>DeleteItem</code> or\n <code>PutItem</code> operations.</p>\n <p>Each entry consists of the following subelements:</p>\n <ul>\n <li>\n <p>\n <code>ItemCollectionKey</code> - The partition key value of the item collection. This is the same as\n the partition key value of the item.</p>\n </li>\n <li>\n <p>\n <code>SizeEstimateRangeGB</code> - An estimate of item collection size, expressed in GB. This is\n a two-element array containing a lower bound and an upper bound for the estimate. The\n estimate includes the size of all the items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on the table. Use this estimate to measure whether a\n local secondary index is approaching its size limit.</p>\n <p>The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.</p>\n </li>\n </ul>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the entire <code>BatchWriteItem</code> operation.</p>\n <p>Each element consists of:</p>\n <ul>\n <li>\n <p>\n <code>TableName</code> - The table that consumed the provisioned throughput.</p>\n </li>\n <li>\n <p>\n <code>CapacityUnits</code> - The total number of capacity units consumed.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>BatchWriteItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#BatchWriteItemRequestMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#TableName"
},
"value": {
"target": "com.amazonaws.dynamodb#WriteRequests"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#BilledSizeBytes": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.dynamodb#BillingMode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "PROVISIONED",
"name": "PROVISIONED"
},
{
"value": "PAY_PER_REQUEST",
"name": "PAY_PER_REQUEST"
}
]
}
},
"com.amazonaws.dynamodb#BillingModeSummary": {
"type": "structure",
"members": {
"BillingMode": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.</p>\n <ul>\n <li>\n <p>\n <code>PROVISIONED</code> - Sets the read/write capacity mode to <code>PROVISIONED</code>. We recommend using <code>PROVISIONED</code> for predictable workloads.</p>\n </li>\n <li>\n <p>\n <code>PAY_PER_REQUEST</code> - Sets the read/write capacity mode to <code>PAY_PER_REQUEST</code>. We recommend using <code>PAY_PER_REQUEST</code> for unpredictable workloads.\n </p>\n </li>\n </ul>"
}
},
"LastUpdateToPayPerRequestDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Represents the time when <code>PAY_PER_REQUEST</code> was last set as the read/write capacity mode.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the details for the read/write capacity mode.</p>"
}
},
"com.amazonaws.dynamodb#BinaryAttributeValue": {
"type": "blob"
},
"com.amazonaws.dynamodb#BinarySetAttributeValue": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#BinaryAttributeValue"
}
},
"com.amazonaws.dynamodb#BooleanAttributeValue": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#BooleanObject": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#CancellationReason": {
"type": "structure",
"members": {
"Item": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>Item in the request which caused the transaction to get cancelled.</p>"
}
},
"Code": {
"target": "com.amazonaws.dynamodb#Code",
"traits": {
"smithy.api#documentation": "<p>Status code for the result of the cancelled transaction.</p>"
}
},
"Message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>Cancellation reason message description.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An ordered list of errors for each item in the request which caused the transaction\n to get cancelled. The values of the list are ordered according to the ordering of the\n <code>TransactWriteItems</code> request parameter. If no error\n occurred for the associated item an error with a Null code and Null message will be present.\n </p>"
}
},
"com.amazonaws.dynamodb#CancellationReasonList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#CancellationReason"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#Capacity": {
"type": "structure",
"members": {
"ReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of read capacity units consumed on a table or an index.</p>"
}
},
"WriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of write capacity units consumed on a table or an index.</p>"
}
},
"CapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of capacity units consumed on a table or an index.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the amount of provisioned throughput capacity consumed on a table or an index.</p>"
}
},
"com.amazonaws.dynamodb#ClientRequestToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 36
}
}
},
"com.amazonaws.dynamodb#ClientToken": {
"type": "string"
},
"com.amazonaws.dynamodb#Code": {
"type": "string"
},
"com.amazonaws.dynamodb#ComparisonOperator": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "EQ",
"name": "EQ"
},
{
"value": "NE",
"name": "NE"
},
{
"value": "IN",
"name": "IN"
},
{
"value": "LE",
"name": "LE"
},
{
"value": "LT",
"name": "LT"
},
{
"value": "GE",
"name": "GE"
},
{
"value": "GT",
"name": "GT"
},
{
"value": "BETWEEN",
"name": "BETWEEN"
},
{
"value": "NOT_NULL",
"name": "NOT_NULL"
},
{
"value": "NULL",
"name": "NULL"
},
{
"value": "CONTAINS",
"name": "CONTAINS"
},
{
"value": "NOT_CONTAINS",
"name": "NOT_CONTAINS"
},
{
"value": "BEGINS_WITH",
"name": "BEGINS_WITH"
}
]
}
},
"com.amazonaws.dynamodb#Condition": {
"type": "structure",
"members": {
"AttributeValueList": {
"target": "com.amazonaws.dynamodb#AttributeValueList",
"traits": {
"smithy.api#documentation": "<p>One or more values to evaluate against the supplied attribute. The number of values in the\n list depends on the <code>ComparisonOperator</code> being used.</p>\n <p>For type Number, value comparisons are numeric.</p>\n <p>String value comparisons for greater than, equals, or less than are based on ASCII character\n code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code>\n is greater than <code>B</code>. For a list of code values, see <a href=\"http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters\">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>\n <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>"
}
},
"ComparisonOperator": {
"target": "com.amazonaws.dynamodb#ComparisonOperator",
"traits": {
"smithy.api#documentation": "<p>A comparator for evaluating attributes. For example, equals, greater than, less than, etc.</p>\n <p>The following comparison operators are available:</p>\n <p>\n <code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code>\n </p>\n <p>The following are descriptions of each comparison operator.</p>\n <ul>\n <li>\n <p>\n <code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not equal <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not equal <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>LE</code> : Less than or equal. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>LT</code> : Less than. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>GE</code> : Greater than or equal. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the selection criteria for a <code>Query</code> or <code>Scan</code> operation:</p>\n <ul>\n <li>\n <p>For a <code>Query</code> operation, <code>Condition</code> is used for specifying the\n <code>KeyConditions</code> to use when querying a table or an index. For <code>KeyConditions</code>,\n only the following comparison operators are supported:</p>\n <p>\n <code>EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN</code>\n </p>\n <p>\n <code>Condition</code> is also used in a <code>QueryFilter</code>, which evaluates the query results\n and returns only the desired values.</p>\n </li>\n <li>\n <p>For a <code>Scan</code> operation, <code>Condition</code> is used in a <code>ScanFilter</code>, which\n evaluates the scan results and returns only the desired values.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#ConditionCheck": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item to be checked. Each element consists of an\n attribute name and a value for that attribute.</p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table for the check item request.</p>",
"smithy.api#required": {}
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional update to succeed.</p>",
"smithy.api#required": {}
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>"
}
},
"ReturnValuesOnConditionCheckFailure": {
"target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValuesOnConditionCheckFailure</code> to\n get the item attributes if the <code>ConditionCheck</code> condition fails.\n For <code>ReturnValuesOnConditionCheckFailure</code>, the valid\n values are: NONE and ALL_OLD.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform a check that an item exists or to check the condition of\n specific attributes of the item.</p>"
}
},
"com.amazonaws.dynamodb#ConditionExpression": {
"type": "string"
},
"com.amazonaws.dynamodb#ConditionalCheckFailedException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The conditional request failed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A condition specified in the operation could not be evaluated.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ConditionalOperator": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AND",
"name": "AND"
},
{
"value": "OR",
"name": "OR"
}
]
}
},
"com.amazonaws.dynamodb#ConsistentRead": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#ConsumedCapacity": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table that was affected by the operation.</p>"
}
},
"CapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of capacity units consumed by the operation.</p>"
}
},
"ReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of read capacity units consumed by the operation.</p>"
}
},
"WriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityUnits",
"traits": {
"smithy.api#documentation": "<p>The total number of write capacity units consumed by the operation.</p>"
}
},
"Table": {
"target": "com.amazonaws.dynamodb#Capacity",
"traits": {
"smithy.api#documentation": "<p>The amount of throughput consumed on the table affected by the operation.</p>"
}
},
"LocalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#SecondaryIndexesCapacityMap",
"traits": {
"smithy.api#documentation": "<p>The amount of throughput consumed on each local index affected by the operation.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#SecondaryIndexesCapacityMap",
"traits": {
"smithy.api#documentation": "<p>The amount of throughput consumed on each global index affected by the operation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by an operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. <code>ConsumedCapacity</code> is only returned if the request asked for it.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Provisioned\n Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#ConsumedCapacityMultiple": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity"
}
},
"com.amazonaws.dynamodb#ConsumedCapacityUnits": {
"type": "double",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#ContinuousBackupsDescription": {
"type": "structure",
"members": {
"ContinuousBackupsStatus": {
"target": "com.amazonaws.dynamodb#ContinuousBackupsStatus",
"traits": {
"smithy.api#documentation": "<p>\n <code>ContinuousBackupsStatus</code> can be one of the following states: ENABLED,\n DISABLED</p>",
"smithy.api#required": {}
}
},
"PointInTimeRecoveryDescription": {
"target": "com.amazonaws.dynamodb#PointInTimeRecoveryDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the point in time recovery settings applied to the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the continuous backups and point in time recovery settings on the table.</p>"
}
},
"com.amazonaws.dynamodb#ContinuousBackupsStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLED",
"name": "DISABLED"
}
]
}
},
"com.amazonaws.dynamodb#ContinuousBackupsUnavailableException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Backups have not yet been enabled for this table.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ContributorInsightsAction": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLE",
"name": "ENABLE"
},
{
"value": "DISABLE",
"name": "DISABLE"
}
]
}
},
"com.amazonaws.dynamodb#ContributorInsightsRule": {
"type": "string",
"traits": {
"smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9\\-\\_\\.]{0,126}[A-Za-z0-9]"
}
},
"com.amazonaws.dynamodb#ContributorInsightsRuleList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ContributorInsightsRule"
}
},
"com.amazonaws.dynamodb#ContributorInsightsStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLING",
"name": "ENABLING"
},
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLING",
"name": "DISABLING"
},
{
"value": "DISABLED",
"name": "DISABLED"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.dynamodb#ContributorInsightsSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ContributorInsightsSummary"
}
},
"com.amazonaws.dynamodb#ContributorInsightsSummary": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table associated with the summary.</p>"
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>Name of the index associated with the summary, if any.</p>"
}
},
"ContributorInsightsStatus": {
"target": "com.amazonaws.dynamodb#ContributorInsightsStatus",
"traits": {
"smithy.api#documentation": "<p>Describes the current status for contributor insights for the given table and index, if applicable.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a Contributor Insights summary entry.</p>"
}
},
"com.amazonaws.dynamodb#CreateBackup": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#CreateBackupInput"
},
"output": {
"target": "com.amazonaws.dynamodb#CreateBackupOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#BackupInUseException"
},
{
"target": "com.amazonaws.dynamodb#ContinuousBackupsUnavailableException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#TableInUseException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a backup for an existing table.</p>\n <p> Each time you create an on-demand backup, the entire table data is backed up. There\n is no limit to the number of on-demand backups that can be taken. </p>\n <p> When you create an on-demand backup, a time marker of the request is cataloged, and\n the backup is created asynchronously, by applying all changes until the time of the\n request to the last full table snapshot. Backup requests are processed instantaneously\n and become available for restore within minutes. </p>\n <p>You can call <code>CreateBackup</code> at a maximum rate of 50 times per second.</p>\n <p>All backups in DynamoDB work without consuming any provisioned throughput on the table.</p>\n <p> If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed\n to contain all data committed to the table up to 14:24:00, and data committed after\n 14:26:00 will not be. The backup might contain data modifications made between 14:24:00\n and 14:26:00. On-demand backup does not support causal consistency. </p>\n <p>\n Along with data, the following are also included on the backups:\n </p>\n <ul>\n <li>\n <p>Global secondary indexes (GSIs)</p>\n </li>\n <li>\n <p>Local secondary indexes (LSIs)</p>\n </li>\n <li>\n <p>Streams</p>\n </li>\n <li>\n <p>Provisioned read and write capacity</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#CreateBackupInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>",
"smithy.api#required": {}
}
},
"BackupName": {
"target": "com.amazonaws.dynamodb#BackupName",
"traits": {
"smithy.api#documentation": "<p>Specified name for the backup.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#CreateBackupOutput": {
"type": "structure",
"members": {
"BackupDetails": {
"target": "com.amazonaws.dynamodb#BackupDetails",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the backup created for the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#CreateGlobalSecondaryIndexAction": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index to be created.</p>",
"smithy.api#required": {}
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The key schema for the global secondary index.</p>",
"smithy.api#required": {}
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into an index. These\n are in addition to the primary key attributes and index key attributes, which are\n automatically projected.</p>",
"smithy.api#required": {}
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the specified global secondary index.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a new global secondary index to be added to an existing table.</p>"
}
},
"com.amazonaws.dynamodb#CreateGlobalTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#CreateGlobalTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#CreateGlobalTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#GlobalTableAlreadyExistsException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a global table from an existing table. A global table creates a replication\n relationship between two or more DynamoDB tables with the same table name in the\n provided Regions. </p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html\">Version 2017.11.29</a> of global tables.</p>\n </note>\n\n <p>If you want to add a new replica table to a global table, each of the following conditions\n must be true:</p>\n <ul>\n <li>\n <p>The table must have the same primary key as all of the other replicas.</p>\n </li>\n <li>\n <p>The table must have the same name as all of the other replicas.</p>\n </li>\n <li>\n <p>The table must have DynamoDB Streams enabled, with the stream containing both the new and the old\n images of the item.</p>\n </li>\n <li>\n <p>None of the replica tables in the global table can contain any data.</p>\n </li>\n </ul>\n <p>\n If global secondary indexes are specified, then the following conditions must also be met:\n </p>\n <ul>\n <li>\n <p>\n The global secondary indexes must have the same name.\n </p>\n </li>\n <li>\n <p>\n The global secondary indexes must have the same hash key and sort key (if present).\n </p>\n </li>\n </ul>\n <p>\n If local secondary indexes are specified, then the following conditions must also be met:\n </p>\n <ul>\n <li>\n <p>\n The local secondary indexes must have the same name.\n </p>\n </li>\n <li>\n <p>\n The local secondary indexes must have the same hash key and sort key (if present).\n </p>\n </li>\n </ul>\n\n <important>\n <p>\n Write capacity settings should be set consistently across your replica tables and\n secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write\n capacity settings for all of your global tables replicas and indexes.\n </p>\n <p>\n If you prefer to manage write capacity settings manually, you should provision equal\n replicated write capacity units to your replica tables. You should also provision\n equal replicated write capacity units to matching secondary indexes across\n your global table.\n </p>\n </important>"
}
},
"com.amazonaws.dynamodb#CreateGlobalTableInput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The global table name.</p>",
"smithy.api#required": {}
}
},
"ReplicationGroup": {
"target": "com.amazonaws.dynamodb#ReplicaList",
"traits": {
"smithy.api#documentation": "<p>The Regions where the global table needs to be created.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#CreateGlobalTableOutput": {
"type": "structure",
"members": {
"GlobalTableDescription": {
"target": "com.amazonaws.dynamodb#GlobalTableDescription",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the global table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#CreateReplicaAction": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region of the replica to be added.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a replica to be added.</p>"
}
},
"com.amazonaws.dynamodb#CreateReplicationGroupMemberAction": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the new replica will be created.</p>",
"smithy.api#required": {}
}
},
"KMSMasterKeyId": {
"target": "com.amazonaws.dynamodb#KMSMasterKeyId",
"traits": {
"smithy.api#documentation": "<p>The AWS KMS customer master key (CMK) that should be used for AWS KMS encryption\n in the new replica. To specify a CMK, use its key ID, Amazon Resource Name (ARN),\n alias name, or alias ARN. Note that you should only provide this parameter if the\n key is different from the default DynamoDB KMS master key alias/aws/dynamodb.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride",
"traits": {
"smithy.api#documentation": "<p>Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>Replica-specific global secondary index settings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a replica to be created.</p>"
}
},
"com.amazonaws.dynamodb#CreateTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#CreateTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#CreateTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>CreateTable</code> operation adds a new table to your account. In an AWS\n account, table names must be unique within each Region. That is, you can have two tables\n with same name if you create the tables in different Regions.</p>\n <p>\n <code>CreateTable</code> is an asynchronous operation. Upon receiving a <code>CreateTable</code> request,\n DynamoDB immediately returns a response with a <code>TableStatus</code> of <code>CREATING</code>. After\n the table is created, DynamoDB sets the <code>TableStatus</code> to <code>ACTIVE</code>. You can\n perform read and write operations only on an <code>ACTIVE</code> table. </p>\n <p>You can optionally define secondary indexes on the new table, as part of the <code>CreateTable</code>\n operation. If you want to create multiple tables with secondary indexes on them, you must create the\n tables sequentially. Only one table with secondary indexes can be in the <code>CREATING</code> state at\n any given time.</p>\n <p>You can use the <code>DescribeTable</code> action to check the table status.</p>"
}
},
"com.amazonaws.dynamodb#CreateTableInput": {
"type": "structure",
"members": {
"AttributeDefinitions": {
"target": "com.amazonaws.dynamodb#AttributeDefinitions",
"traits": {
"smithy.api#documentation": "<p>An array of attributes that describe the key schema for the table and indexes.</p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to create.</p>",
"smithy.api#required": {}
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>Specifies the attributes that make up the primary key for a table or an index. The attributes\n in <code>KeySchema</code> must also be defined in the <code>AttributeDefinitions</code> array. For more\n information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html\">Data Model</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>Each <code>KeySchemaElement</code> in the array is composed of:</p>\n <ul>\n <li>\n <p>\n <code>AttributeName</code> - The name of this key attribute.</p>\n </li>\n <li>\n <p>\n <code>KeyType</code> - The role that the key attribute will assume:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash\n attribute</i>. The term \"hash attribute\" derives from the DynamoDB usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>\n\n <p>For a simple primary key (partition key), you must provide\n exactly one element with a <code>KeyType</code> of <code>HASH</code>.</p>\n <p>For a composite primary key (partition key and sort key), you must provide exactly two\n elements, in this order: The first element must have a <code>KeyType</code> of <code>HASH</code>,\n and the second element must have a <code>KeyType</code> of <code>RANGE</code>.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key\">Working with Tables</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>",
"smithy.api#required": {}
}
},
"LocalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.</p>\n <p>Each local secondary index in the array includes the following:</p>\n <ul>\n <li>\n <p>\n <code>IndexName</code> - The name of the local secondary index. Must be unique only for this table.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>KeySchema</code> - Specifies the key schema for the local secondary index. The key schema must begin with\n the same partition key as the table.</p>\n </li>\n <li>\n <p>\n <code>Projection</code> - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:</p>\n <ul>\n <li>\n <p>\n <code>ProjectionType</code> - One\n of the following:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the index and primary keys are projected into the\n index.</p>\n </li>\n <li>\n <p>\n <code>INCLUDE</code> - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n <code>NonKeyAttributes</code>.</p>\n </li>\n <li>\n <p>\n <code>ALL</code> - All of the table attributes are projected into the\n index.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>NonKeyAttributes</code> - A list of one or more non-key\n attribute names that are projected into the secondary index. The total\n count of attributes provided in <code>NonKeyAttributes</code>,\n summed across all of the secondary indexes, must not exceed 100. If you\n project the same attribute into two different indexes, this counts as\n two distinct attributes when determining the total.</p>\n </li>\n </ul>\n </li>\n </ul>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:</p>\n <ul>\n <li>\n <p>\n <code>IndexName</code> - The name of the global secondary index. Must be unique only for this table.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>KeySchema</code> - Specifies the key schema for the global secondary index.</p>\n </li>\n <li>\n <p>\n <code>Projection</code> - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:</p>\n <ul>\n <li>\n <p>\n <code>ProjectionType</code> - One\n of the following:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the index and primary keys are projected into the\n index.</p>\n </li>\n <li>\n <p>\n <code>INCLUDE</code> - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n <code>NonKeyAttributes</code>.</p>\n </li>\n <li>\n <p>\n <code>ALL</code> - All of the table attributes are projected into the\n index.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>NonKeyAttributes</code> - A list of one or more non-key attribute names that are\n projected into the secondary index. The total count of attributes provided in <code>NonKeyAttributes</code>, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>ProvisionedThroughput</code> - The provisioned throughput settings for the global secondary index,\n consisting of read and write capacity units.</p>\n </li>\n </ul>"
}
},
"BillingMode": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.</p>\n <ul>\n <li>\n <p>\n <code>PROVISIONED</code> - We recommend using <code>PROVISIONED</code> for predictable workloads. <code>PROVISIONED</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual\">Provisioned Mode</a>.</p>\n </li>\n <li>\n <p>\n <code>PAY_PER_REQUEST</code> - We recommend using <code>PAY_PER_REQUEST</code> for unpredictable workloads. <code>PAY_PER_REQUEST</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand\">On-Demand Mode</a>.\n </p>\n </li>\n </ul>"
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for a specified table or index. The\n settings can be modified using the <code>UpdateTable</code> operation.</p>\n\t\t <p> If you set BillingMode as <code>PROVISIONED</code>, you must specify this property. If you\n set BillingMode as <code>PAY_PER_REQUEST</code>, you cannot specify this\n property.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service,\n Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"StreamSpecification": {
"target": "com.amazonaws.dynamodb#StreamSpecification",
"traits": {
"smithy.api#documentation": "<p>The settings for DynamoDB Streams on the table. These settings consist of:</p>\n <ul>\n <li>\n <p>\n <code>StreamEnabled</code> - Indicates whether DynamoDB Streams is to be enabled\n (true) or disabled (false).</p>\n </li>\n <li>\n <p>\n <code>StreamViewType</code> - When an item in the table is modified, <code>StreamViewType</code>\n determines what information is written to the table's stream. Valid values for\n <code>StreamViewType</code> are:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the key attributes of the modified item are written to the\n stream.</p>\n </li>\n <li>\n <p>\n <code>NEW_IMAGE</code> - The entire item, as it appears after it was modified, is written\n to the stream.</p>\n </li>\n <li>\n <p>\n <code>OLD_IMAGE</code> - The entire item, as it appeared before it was modified, is\n written to the stream.</p>\n </li>\n <li>\n <p>\n <code>NEW_AND_OLD_IMAGES</code> - Both the new and the old item images of the item are\n written to the stream.</p>\n </li>\n </ul>\n </li>\n </ul>"
}
},
"SSESpecification": {
"target": "com.amazonaws.dynamodb#SSESpecification",
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable server-side encryption.</p>"
}
},
"Tags": {
"target": "com.amazonaws.dynamodb#TagList",
"traits": {
"smithy.api#documentation": "<p>A list of key-value pairs to label the table. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>CreateTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#CreateTableOutput": {
"type": "structure",
"members": {
"TableDescription": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the properties of the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>CreateTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#Date": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#Delete": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item to be deleted. Each element consists of an\n attribute name and a value for that attribute.</p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table in which the item to be deleted resides.</p>",
"smithy.api#required": {}
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional delete to succeed.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>"
}
},
"ReturnValuesOnConditionCheckFailure": {
"target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValuesOnConditionCheckFailure</code> to\n get the item attributes if the <code>Delete</code> condition fails.\n For <code>ReturnValuesOnConditionCheckFailure</code>, the valid\n values are: NONE and ALL_OLD.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform a <code>DeleteItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DeleteBackup": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DeleteBackupInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DeleteBackupOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#BackupInUseException"
},
{
"target": "com.amazonaws.dynamodb#BackupNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes an existing backup of a table.</p>\n <p>You can call <code>DeleteBackup</code> at a maximum rate of 10 times per second.</p>"
}
},
"com.amazonaws.dynamodb#DeleteBackupInput": {
"type": "structure",
"members": {
"BackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>The ARN associated with the backup.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DeleteBackupOutput": {
"type": "structure",
"members": {
"BackupDescription": {
"target": "com.amazonaws.dynamodb#BackupDescription",
"traits": {
"smithy.api#documentation": "<p>Contains the description of the backup created for the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DeleteGlobalSecondaryIndexAction": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index to be deleted.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a global secondary index to be deleted from an existing table.</p>"
}
},
"com.amazonaws.dynamodb#DeleteItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DeleteItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DeleteItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ConditionalCheckFailedException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionConflictException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.</p>\n <p>In addition to deleting an item, you can also return the item's attribute values in the same\n operation, using the <code>ReturnValues</code> parameter.</p>\n <p>Unless you specify conditions, the <code>DeleteItem</code> is an idempotent operation; running it\n multiple times on the same item or attribute does <i>not</i> result in an error response.</p>\n <p>Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.</p>"
}
},
"com.amazonaws.dynamodb#DeleteItemInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table from which to delete the item.</p>",
"smithy.api#required": {}
}
},
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of\n the item to delete.</p>\n <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>",
"smithy.api#required": {}
}
},
"Expected": {
"target": "com.amazonaws.dynamodb#ExpectedAttributeMap",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html\">Expected</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConditionalOperator": {
"target": "com.amazonaws.dynamodb#ConditionalOperator",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html\">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ReturnValues": {
"target": "com.amazonaws.dynamodb#ReturnValue",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValues</code> if you want to get the item attributes as they appeared before they\n were deleted. For <code>DeleteItem</code>, the valid values are:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code> - If <code>ReturnValues</code> is not specified, or if its value is\n <code>NONE</code>, then nothing is returned. (This setting is the default for\n <code>ReturnValues</code>.)</p>\n </li>\n <li>\n <p>\n <code>ALL_OLD</code> - The content of the old item is returned.</p>\n </li>\n </ul>\n <note>\n <p>The <code>ReturnValues</code> parameter is used by several DynamoDB operations; however,\n <code>DeleteItem</code> does not recognize any values other than <code>NONE</code> or\n <code>ALL_OLD</code>.</p>\n </note>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ReturnItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to <code>NONE</code> (the default), no statistics are returned.</p>"
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional <code>DeleteItem</code> to\n succeed.</p>\n <p>An expression can contain any of the following:</p>\n <ul>\n <li>\n <p>Functions: <code>attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size</code>\n </p>\n <p>These function names are case-sensitive.</p>\n </li>\n <li>\n <p>Comparison operators: <code>= | <> |\n < | > | <= | >= |\n BETWEEN | IN </code>\n </p>\n </li>\n <li>\n <p> Logical operators: <code>AND | OR | NOT</code>\n </p>\n </li>\n </ul>\n <p>For more information about condition expressions, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>\n <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the <i>ProductStatus</i> attribute was one of the following: </p>\n <p>\n <code>Available | Backordered | Discontinued</code>\n </p>\n <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>\n <p>\n <code>{ \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }</code>\n </p>\n <p>You could then use these values in an expression, such as this:</p>\n <p>\n <code>ProductStatus IN (:avail, :back, :disc)</code>\n </p>\n <p>For more information on expression attribute values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>DeleteItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DeleteItemOutput": {
"type": "structure",
"members": {
"Attributes": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute names to <code>AttributeValue</code> objects, representing the item as it\n appeared before the <code>DeleteItem</code> operation. This map appears in the response only if\n <code>ReturnValues</code> was specified as <code>ALL_OLD</code> in the request.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>DeleteItem</code> operation. The data\n returned includes the total provisioned throughput consumed, along with statistics for\n the table and any indexes involved in the operation. <code>ConsumedCapacity</code> is\n only returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For\n more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Provisioned Mode</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Information about item collections, if any, that were affected by the\n <code>DeleteItem</code> operation.\n <code>ItemCollectionMetrics</code> is only returned if the\n <code>ReturnItemCollectionMetrics</code> parameter was specified. If the\n table does not have any local secondary indexes, this information is not returned in the\n response.</p>\n <p>Each <code>ItemCollectionMetrics</code>\n element consists of:</p>\n <ul>\n <li>\n <p>\n <code>ItemCollectionKey</code> - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.</p>\n </li>\n <li>\n <p>\n <code>SizeEstimateRangeGB</code> - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.</p>\n <p>The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>DeleteItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DeleteReplicaAction": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region of the replica to be removed.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a replica to be removed.</p>"
}
},
"com.amazonaws.dynamodb#DeleteReplicationGroupMemberAction": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the replica exists.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a replica to be deleted.</p>"
}
},
"com.amazonaws.dynamodb#DeleteRequest": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform a <code>DeleteItem</code> operation on an item.</p>"
}
},
"com.amazonaws.dynamodb#DeleteTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DeleteTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DeleteTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>DeleteTable</code> operation deletes a table and all of its items. After a\n <code>DeleteTable</code> request, the specified table is in the <code>DELETING</code> state until\n DynamoDB completes the deletion. If the table is in the <code>ACTIVE</code> state, you can delete\n it. If a table is in <code>CREATING</code> or <code>UPDATING</code> states, then DynamoDB returns\n a <code>ResourceInUseException</code>. If the specified table does not exist, DynamoDB returns a\n <code>ResourceNotFoundException</code>. If table is already in the <code>DELETING</code> state, no\n error is returned. </p>\n <note>\n <p>DynamoDB might continue to accept data read and write operations, such as <code>GetItem</code> and\n <code>PutItem</code>, on a table in the <code>DELETING</code> state until the table deletion is\n complete.</p>\n </note>\n <p>When you delete a table, any indexes on that table are also deleted.</p>\n <p>If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes\n into the <code>DISABLED</code> state, and the stream is automatically deleted after 24 hours.</p>\n\n <p>Use the <code>DescribeTable</code> action to check the status of the table. </p>"
}
},
"com.amazonaws.dynamodb#DeleteTableInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to delete.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>DeleteTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DeleteTableOutput": {
"type": "structure",
"members": {
"TableDescription": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>DeleteTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DescribeBackup": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeBackupInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeBackupOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#BackupNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes an existing backup of a table.</p>\n <p>You can call <code>DescribeBackup</code> at a maximum rate of 10 times per second.</p>"
}
},
"com.amazonaws.dynamodb#DescribeBackupInput": {
"type": "structure",
"members": {
"BackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the backup.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeBackupOutput": {
"type": "structure",
"members": {
"BackupDescription": {
"target": "com.amazonaws.dynamodb#BackupDescription",
"traits": {
"smithy.api#documentation": "<p>Contains the description of the backup created for the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeContinuousBackups": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeContinuousBackupsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeContinuousBackupsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Checks the status of continuous backups and point in time recovery on the specified table.\n Continuous backups are <code>ENABLED</code> on all tables at table creation.\n If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>\n <p> After continuous backups and point in time recovery are enabled, you can restore to any\n point in time within <code>EarliestRestorableDateTime</code> and\n <code>LatestRestorableDateTime</code>. </p>\n <p>\n <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time. You can restore your table to any point\n in time during the last 35 days.\n </p>\n <p>You can call <code>DescribeContinuousBackups</code> at a maximum rate of 10 times per second.</p>"
}
},
"com.amazonaws.dynamodb#DescribeContinuousBackupsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeContinuousBackupsOutput": {
"type": "structure",
"members": {
"ContinuousBackupsDescription": {
"target": "com.amazonaws.dynamodb#ContinuousBackupsDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the continuous backups and point in time recovery settings on the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeContributorInsights": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeContributorInsightsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeContributorInsightsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about contributor insights, for a given table or global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#DescribeContributorInsightsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to describe.</p>",
"smithy.api#required": {}
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index to describe, if applicable.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeContributorInsightsOutput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table being described.</p>"
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index being described.</p>"
}
},
"ContributorInsightsRuleList": {
"target": "com.amazonaws.dynamodb#ContributorInsightsRuleList",
"traits": {
"smithy.api#documentation": "<p>List of names of the associated Alpine rules.</p>"
}
},
"ContributorInsightsStatus": {
"target": "com.amazonaws.dynamodb#ContributorInsightsStatus",
"traits": {
"smithy.api#documentation": "<p>Current Status contributor insights.</p>"
}
},
"LastUpdateDateTime": {
"target": "com.amazonaws.dynamodb#LastUpdateDateTime",
"traits": {
"smithy.api#documentation": "<p>Timestamp of the last time the status was changed.</p>"
}
},
"FailureException": {
"target": "com.amazonaws.dynamodb#FailureException",
"traits": {
"smithy.api#documentation": "<p>Returns information about the last failure that encountered.</p>\n <p>The most common exceptions for a FAILED status are:</p>\n <ul>\n <li>\n <p>LimitExceededException - \tPer-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for\n other tables/indexes OR disable Contributor Insights rules before retrying.</p>\n </li>\n <li>\n <p>AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.</p>\n </li>\n <li>\n <p>AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.</p>\n </li>\n <li>\n <p>InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.</p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeEndpoints": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeEndpointsRequest"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeEndpointsResponse"
},
"traits": {
"smithy.api#documentation": "<p>Returns the regional endpoint information.</p>"
}
},
"com.amazonaws.dynamodb#DescribeEndpointsRequest": {
"type": "structure",
"members": {}
},
"com.amazonaws.dynamodb#DescribeEndpointsResponse": {
"type": "structure",
"members": {
"Endpoints": {
"target": "com.amazonaws.dynamodb#Endpoints",
"traits": {
"smithy.api#documentation": "<p>List of endpoints.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeExport": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeExportInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeExportOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ExportNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes an existing table export.</p>"
}
},
"com.amazonaws.dynamodb#DescribeExportInput": {
"type": "structure",
"members": {
"ExportArn": {
"target": "com.amazonaws.dynamodb#ExportArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the export.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeExportOutput": {
"type": "structure",
"members": {
"ExportDescription": {
"target": "com.amazonaws.dynamodb#ExportDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the properties of the export.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeGlobalTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeGlobalTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeGlobalTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#GlobalTableNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the specified global table.</p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html\">Version 2017.11.29</a> of global tables.\n If you are using global tables <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html\">Version 2019.11.21</a> you can use <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_DescribeTable.html\">DescribeTable</a> instead.</p>\n </note>"
}
},
"com.amazonaws.dynamodb#DescribeGlobalTableInput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeGlobalTableOutput": {
"type": "structure",
"members": {
"GlobalTableDescription": {
"target": "com.amazonaws.dynamodb#GlobalTableDescription",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the global table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeGlobalTableSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeGlobalTableSettingsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeGlobalTableSettingsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#GlobalTableNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes Region-specific settings for a global table.</p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html\">Version 2017.11.29</a> of global tables.</p>\n </note>"
}
},
"com.amazonaws.dynamodb#DescribeGlobalTableSettingsInput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table to describe.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeGlobalTableSettingsOutput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table.</p>"
}
},
"ReplicaSettings": {
"target": "com.amazonaws.dynamodb#ReplicaSettingsDescriptionList",
"traits": {
"smithy.api#documentation": "<p>The Region-specific settings for the global table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeKinesisStreamingDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeKinesisStreamingDestinationInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeKinesisStreamingDestinationOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the status of Kinesis streaming.</p>"
}
},
"com.amazonaws.dynamodb#DescribeKinesisStreamingDestinationInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table being described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeKinesisStreamingDestinationOutput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table being described.</p>"
}
},
"KinesisDataStreamDestinations": {
"target": "com.amazonaws.dynamodb#KinesisDataStreamDestinations",
"traits": {
"smithy.api#documentation": "<p>The list of replica structures for the table being described.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeLimits": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeLimitsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeLimitsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the current provisioned-capacity quotas for your AWS account in a Region, both\n for the Region as a whole and for any one DynamoDB table that you create there.</p>\n <p>When you establish an AWS account, the account has initial quotas on the maximum read\n capacity units and write capacity units that you can provision across all of your\n DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you\n create a table there. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table\n Quotas</a> page in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>\n\n <p>Although you can increase these quotas by filing a case at <a href=\"https://console.aws.amazon.com/support/home#/\">AWS Support Center</a>, obtaining the increase is not\n instantaneous. The <code>DescribeLimits</code> action lets you write code to compare the\n capacity you are currently using to those quotas imposed by your account so that you\n have enough time to apply for an increase before you hit a quota.</p>\n\n <p>For example, you could use one of the AWS SDKs to do the following:</p>\n\n <ol>\n <li>\n <p>Call <code>DescribeLimits</code> for a particular Region to obtain your current\n account quotas on provisioned capacity there.</p>\n </li>\n <li>\n <p>Create a variable to hold the aggregate read capacity units provisioned for all\n your tables in that Region, and one to hold the aggregate write capacity units.\n Zero them both.</p>\n </li>\n <li>\n <p>Call <code>ListTables</code> to obtain a list of all your DynamoDB tables.</p>\n </li>\n <li>\n <p>For each table name listed by <code>ListTables</code>, do the following:</p>\n <ul>\n <li>\n <p>Call <code>DescribeTable</code> with the table name.</p>\n </li>\n <li>\n <p>Use the data returned by <code>DescribeTable</code> to add the read capacity units and write capacity\n units provisioned for the table itself to your variables.</p>\n </li>\n <li>\n <p>If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>Report the account quotas for that Region returned by <code>DescribeLimits</code>, along with\n the total current provisioned capacity levels you have calculated.</p>\n </li>\n </ol>\n\n <p>This will let you see whether you are getting close to your account-level quotas.</p>\n <p>The per-table quotas apply only when you are creating a new table. They restrict the sum\n of the provisioned capacity of the new table itself and all its global secondary\n indexes.</p>\n <p>For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned\n capacity extremely rapidly, but the only quota that applies is that the aggregate\n provisioned capacity over all your tables and GSIs cannot exceed either of the\n per-account quotas.</p>\n <note>\n <p>\n <code>DescribeLimits</code> should only be called periodically. You can expect throttling\n errors if you call it more than once in a minute.</p>\n </note>\n <p>The <code>DescribeLimits</code> Request element has no content.</p>"
}
},
"com.amazonaws.dynamodb#DescribeLimitsInput": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>DescribeLimits</code> operation. Has no content.</p>"
}
},
"com.amazonaws.dynamodb#DescribeLimitsOutput": {
"type": "structure",
"members": {
"AccountMaxReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum total read capacity units that your account allows you to provision across\n all of your tables in this Region.</p>"
}
},
"AccountMaxWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum total write capacity units that your account allows you to provision across\n all of your tables in this Region.</p>"
}
},
"TableMaxReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum read capacity units that your account allows you to provision for a new\n table that you are creating in this Region, including the read capacity units\n provisioned for its global secondary indexes (GSIs).</p>"
}
},
"TableMaxWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum write capacity units that your account allows you to provision for a new\n table that you are creating in this Region, including the write capacity units\n provisioned for its global secondary indexes (GSIs).</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>DescribeLimits</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DescribeTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.</p>\n <note>\n <p>If you issue a <code>DescribeTable</code> request immediately after a <code>CreateTable</code> request, DynamoDB might\n return a <code>ResourceNotFoundException</code>. This is because <code>DescribeTable</code> uses an eventually\n consistent query, and the metadata for your table might not be available at that moment.\n Wait for a few seconds, and then try the <code>DescribeTable</code> request again.</p>\n </note>",
"smithy.waiters#waitable": {
"TableExists": {
"acceptors": [
{
"state": "success",
"matcher": {
"output": {
"path": "Table.TableStatus",
"expected": "ACTIVE",
"comparator": "stringEquals"
}
}
},
{
"state": "retry",
"matcher": {
"errorType": "ResourceNotFoundException"
}
}
],
"minDelay": 20
},
"TableNotExists": {
"acceptors": [
{
"state": "success",
"matcher": {
"errorType": "ResourceNotFoundException"
}
}
],
"minDelay": 20
}
}
}
},
"com.amazonaws.dynamodb#DescribeTableInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to describe.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>DescribeTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DescribeTableOutput": {
"type": "structure",
"members": {
"Table": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>The properties of the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>DescribeTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#DescribeTableReplicaAutoScaling": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeTableReplicaAutoScalingInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeTableReplicaAutoScalingOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Describes auto scaling settings across replicas of the global table at once.</p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html\">Version 2019.11.21</a> of global tables.</p>\n </note>"
}
},
"com.amazonaws.dynamodb#DescribeTableReplicaAutoScalingInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeTableReplicaAutoScalingOutput": {
"type": "structure",
"members": {
"TableAutoScalingDescription": {
"target": "com.amazonaws.dynamodb#TableAutoScalingDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling properties of the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#DescribeTimeToLive": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#DescribeTimeToLiveInput"
},
"output": {
"target": "com.amazonaws.dynamodb#DescribeTimeToLiveOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Gives a description of the Time to Live (TTL) status on the specified table. </p>"
}
},
"com.amazonaws.dynamodb#DescribeTimeToLiveInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to be described.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#DescribeTimeToLiveOutput": {
"type": "structure",
"members": {
"TimeToLiveDescription": {
"target": "com.amazonaws.dynamodb#TimeToLiveDescription",
"traits": {
"smithy.api#documentation": "<p></p>"
}
}
}
},
"com.amazonaws.dynamodb#DestinationStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLING",
"name": "ENABLING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "DISABLING",
"name": "DISABLING"
},
{
"value": "DISABLED",
"name": "DISABLED"
},
{
"value": "ENABLE_FAILED",
"name": "ENABLE_FAILED"
}
]
}
},
"com.amazonaws.dynamodb#DisableKinesisStreamingDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#KinesisStreamingDestinationInput"
},
"output": {
"target": "com.amazonaws.dynamodb#KinesisStreamingDestinationOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Stops replication from the DynamoDB table to the Kinesis data stream. This is done\n without deleting either of the resources.</p>"
}
},
"com.amazonaws.dynamodb#Double": {
"type": "double",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#DuplicateItemException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\nThere was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.\n</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#DynamoDB_20120810": {
"type": "service",
"version": "2012-08-10",
"operations": [
{
"target": "com.amazonaws.dynamodb#BatchExecuteStatement"
},
{
"target": "com.amazonaws.dynamodb#BatchGetItem"
},
{
"target": "com.amazonaws.dynamodb#BatchWriteItem"
},
{
"target": "com.amazonaws.dynamodb#CreateBackup"
},
{
"target": "com.amazonaws.dynamodb#CreateGlobalTable"
},
{
"target": "com.amazonaws.dynamodb#CreateTable"
},
{
"target": "com.amazonaws.dynamodb#DeleteBackup"
},
{
"target": "com.amazonaws.dynamodb#DeleteItem"
},
{
"target": "com.amazonaws.dynamodb#DeleteTable"
},
{
"target": "com.amazonaws.dynamodb#DescribeBackup"
},
{
"target": "com.amazonaws.dynamodb#DescribeContinuousBackups"
},
{
"target": "com.amazonaws.dynamodb#DescribeContributorInsights"
},
{
"target": "com.amazonaws.dynamodb#DescribeEndpoints"
},
{
"target": "com.amazonaws.dynamodb#DescribeExport"
},
{
"target": "com.amazonaws.dynamodb#DescribeGlobalTable"
},
{
"target": "com.amazonaws.dynamodb#DescribeGlobalTableSettings"
},
{
"target": "com.amazonaws.dynamodb#DescribeKinesisStreamingDestination"
},
{
"target": "com.amazonaws.dynamodb#DescribeLimits"
},
{
"target": "com.amazonaws.dynamodb#DescribeTable"
},
{
"target": "com.amazonaws.dynamodb#DescribeTableReplicaAutoScaling"
},
{
"target": "com.amazonaws.dynamodb#DescribeTimeToLive"
},
{
"target": "com.amazonaws.dynamodb#DisableKinesisStreamingDestination"
},
{
"target": "com.amazonaws.dynamodb#EnableKinesisStreamingDestination"
},
{
"target": "com.amazonaws.dynamodb#ExecuteStatement"
},
{
"target": "com.amazonaws.dynamodb#ExecuteTransaction"
},
{
"target": "com.amazonaws.dynamodb#ExportTableToPointInTime"
},
{
"target": "com.amazonaws.dynamodb#GetItem"
},
{
"target": "com.amazonaws.dynamodb#ListBackups"
},
{
"target": "com.amazonaws.dynamodb#ListContributorInsights"
},
{
"target": "com.amazonaws.dynamodb#ListExports"
},
{
"target": "com.amazonaws.dynamodb#ListGlobalTables"
},
{
"target": "com.amazonaws.dynamodb#ListTables"
},
{
"target": "com.amazonaws.dynamodb#ListTagsOfResource"
},
{
"target": "com.amazonaws.dynamodb#PutItem"
},
{
"target": "com.amazonaws.dynamodb#Query"
},
{
"target": "com.amazonaws.dynamodb#RestoreTableFromBackup"
},
{
"target": "com.amazonaws.dynamodb#RestoreTableToPointInTime"
},
{
"target": "com.amazonaws.dynamodb#Scan"
},
{
"target": "com.amazonaws.dynamodb#TagResource"
},
{
"target": "com.amazonaws.dynamodb#TransactGetItems"
},
{
"target": "com.amazonaws.dynamodb#TransactWriteItems"
},
{
"target": "com.amazonaws.dynamodb#UntagResource"
},
{
"target": "com.amazonaws.dynamodb#UpdateContinuousBackups"
},
{
"target": "com.amazonaws.dynamodb#UpdateContributorInsights"
},
{
"target": "com.amazonaws.dynamodb#UpdateGlobalTable"
},
{
"target": "com.amazonaws.dynamodb#UpdateGlobalTableSettings"
},
{
"target": "com.amazonaws.dynamodb#UpdateItem"
},
{
"target": "com.amazonaws.dynamodb#UpdateTable"
},
{
"target": "com.amazonaws.dynamodb#UpdateTableReplicaAutoScaling"
},
{
"target": "com.amazonaws.dynamodb#UpdateTimeToLive"
}
],
"traits": {
"aws.api#clientEndpointDiscovery": {
"operation": "com.amazonaws.dynamodb#DescribeEndpoints",
"error": "com.amazonaws.dynamodb#InvalidEndpointException"
},
"aws.api#service": {
"sdkId": "DynamoDB",
"arnNamespace": "dynamodb",
"cloudFormationName": "DynamoDB",
"cloudTrailEventSource": "dynamodb.amazonaws.com",
"endpointPrefix": "dynamodb"
},
"aws.auth#sigv4": {
"name": "dynamodb"
},
"aws.protocols#awsJson1_0": {},
"smithy.api#documentation": "<fullname>Amazon DynamoDB</fullname>\n\n\n <p>Amazon DynamoDB is a fully managed NoSQL database service that provides fast and\n predictable performance with seamless scalability. DynamoDB lets you offload the\n administrative burdens of operating and scaling a distributed database, so that you don't have\n to worry about hardware provisioning, setup and configuration, replication, software patching,\n or cluster scaling.</p>\n\n <p>With DynamoDB, you can create database tables that can store and retrieve any amount of\n data, and serve any level of request traffic. You can scale up or scale down your tables'\n throughput capacity without downtime or performance degradation, and use the AWS Management\n Console to monitor resource utilization and performance metrics.</p>\n\n <p>DynamoDB automatically spreads the data and traffic for your tables over a sufficient\n number of servers to handle your throughput and storage requirements, while maintaining\n consistent and fast performance. All of your data is stored on solid state disks (SSDs) and\n automatically replicated across multiple Availability Zones in an AWS region, providing\n built-in high availability and data durability. </p>",
"smithy.api#title": "Amazon DynamoDB",
"smithy.api#xmlNamespace": {
"uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/"
}
}
},
"com.amazonaws.dynamodb#EnableKinesisStreamingDestination": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#KinesisStreamingDestinationInput"
},
"output": {
"target": "com.amazonaws.dynamodb#KinesisStreamingDestinationOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Starts table data replication to the specified Kinesis data stream at a timestamp chosen\n during the enable workflow. If this operation doesn't return results immediately, use\n DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is\n ACTIVE.</p>"
}
},
"com.amazonaws.dynamodb#Endpoint": {
"type": "structure",
"members": {
"Address": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>IP address of the endpoint.</p>",
"smithy.api#required": {}
}
},
"CachePeriodInMinutes": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>Endpoint cache time to live (TTL) value.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>An endpoint information details.</p>"
}
},
"com.amazonaws.dynamodb#Endpoints": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#Endpoint"
}
},
"com.amazonaws.dynamodb#ErrorMessage": {
"type": "string"
},
"com.amazonaws.dynamodb#ExceptionDescription": {
"type": "string"
},
"com.amazonaws.dynamodb#ExceptionName": {
"type": "string"
},
"com.amazonaws.dynamodb#ExecuteStatement": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ExecuteStatementInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ExecuteStatementOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ConditionalCheckFailedException"
},
{
"target": "com.amazonaws.dynamodb#DuplicateItemException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionConflictException"
}
],
"traits": {
"smithy.api#documentation": "<p>\nThis operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL.\n</p>"
}
},
"com.amazonaws.dynamodb#ExecuteStatementInput": {
"type": "structure",
"members": {
"Statement": {
"target": "com.amazonaws.dynamodb#PartiQLStatement",
"traits": {
"smithy.api#documentation": "<p>\nThe PartiQL statement representing the operation to run.\n</p>",
"smithy.api#required": {}
}
},
"Parameters": {
"target": "com.amazonaws.dynamodb#PreparedStatementParameters",
"traits": {
"smithy.api#documentation": "<p>\nThe parameters for the PartiQL statement, if any.\n</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>\nThe consistency of a read operation. If set to <code>true</code>, then a strongly consistent read is used; otherwise, an eventually consistent read is used.\n</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#PartiQLNextToken",
"traits": {
"smithy.api#documentation": "<p>\nSet this value to get remaining results, if <code>NextToken</code> was returned in the statement response.\n</p>"
}
}
}
},
"com.amazonaws.dynamodb#ExecuteStatementOutput": {
"type": "structure",
"members": {
"Items": {
"target": "com.amazonaws.dynamodb#ItemList",
"traits": {
"smithy.api#documentation": "<p>\nIf a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.\n</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#PartiQLNextToken",
"traits": {
"smithy.api#documentation": "<p>\nIf the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.\n</p>"
}
}
}
},
"com.amazonaws.dynamodb#ExecuteTransaction": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ExecuteTransactionInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ExecuteTransactionOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#IdempotentParameterMismatchException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionCanceledException"
},
{
"target": "com.amazonaws.dynamodb#TransactionInProgressException"
}
],
"traits": {
"smithy.api#documentation": "<p>\nThis operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL.\n</p>"
}
},
"com.amazonaws.dynamodb#ExecuteTransactionInput": {
"type": "structure",
"members": {
"TransactStatements": {
"target": "com.amazonaws.dynamodb#ParameterizedStatements",
"traits": {
"smithy.api#documentation": "<p>\nThe list of PartiQL statements representing the transaction to run.\n</p>",
"smithy.api#required": {}
}
},
"ClientRequestToken": {
"target": "com.amazonaws.dynamodb#ClientRequestToken",
"traits": {
"smithy.api#documentation": "<p>\nSet this value to get remaining results, if <code>NextToken</code> was returned in the statement response.\n</p>",
"smithy.api#idempotencyToken": {}
}
}
}
},
"com.amazonaws.dynamodb#ExecuteTransactionOutput": {
"type": "structure",
"members": {
"Responses": {
"target": "com.amazonaws.dynamodb#ItemResponseList",
"traits": {
"smithy.api#documentation": "<p>\nThe response to a PartiQL transaction.\n</p>"
}
}
}
},
"com.amazonaws.dynamodb#ExpectedAttributeMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#ExpectedAttributeValue"
}
},
"com.amazonaws.dynamodb#ExpectedAttributeValue": {
"type": "structure",
"members": {
"Value": {
"target": "com.amazonaws.dynamodb#AttributeValue",
"traits": {
"smithy.api#documentation": "<p>Represents the data for the expected attribute.</p>\n <p>Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes\">Data Types</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"Exists": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Causes DynamoDB to evaluate the value before attempting a conditional operation:</p>\n <ul>\n <li>\n <p>If <code>Exists</code> is <code>true</code>, DynamoDB will check to see if that attribute value\n already exists in the table. If it is found, then the operation succeeds. If it is not\n found, the operation fails with a <code>ConditionCheckFailedException</code>.</p>\n </li>\n <li>\n <p>If <code>Exists</code> is <code>false</code>, DynamoDB assumes that the attribute value does\n not exist in the table. If in fact the value does not exist, then the assumption\n is valid and the operation succeeds. If the value is found, despite the assumption that it\n does not exist, the operation fails with a <code>ConditionCheckFailedException</code>.</p>\n </li>\n </ul>\n <p>The default setting for <code>Exists</code> is <code>true</code>. If you supply a <code>Value</code> all\n by itself, DynamoDB assumes the attribute exists: You don't have to set <code>Exists</code> to\n <code>true</code>, because it is implied.</p>\n <p>DynamoDB returns a <code>ValidationException</code> if:</p>\n <ul>\n <li>\n <p>\n <code>Exists</code> is <code>true</code> but there is no <code>Value</code> to check. (You expect a\n value to exist, but don't specify what that value is.)</p>\n </li>\n <li>\n <p>\n <code>Exists</code> is <code>false</code> but you also provide a <code>Value</code>. (You cannot\n expect an attribute to have a value, while also expecting it not to exist.)</p>\n </li>\n </ul>"
}
},
"ComparisonOperator": {
"target": "com.amazonaws.dynamodb#ComparisonOperator",
"traits": {
"smithy.api#documentation": "<p>A comparator for evaluating attributes in the <code>AttributeValueList</code>. For example, equals,\n greater than, less than, etc.</p>\n <p>The following comparison operators are available:</p>\n <p>\n <code>EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN</code>\n </p>\n <p>The following are descriptions of each comparison operator.</p>\n <ul>\n <li>\n <p>\n <code>EQ</code> : Equal. <code>EQ</code> is supported for all data types, including lists and maps.</p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not equal <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>NE</code> : Not equal. <code>NE</code> is supported for all data types, including lists and maps.</p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an <code>AttributeValue</code> of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not equal <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>LE</code> : Less than or equal. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>LT</code> : Less than. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n <p></p>\n </li>\n <li>\n <p>\n <code>GE</code> : Greater than or equal. </p>\n <p>\n <code>AttributeValueList</code> can contain only one <code>AttributeValue</code> element of type String,\n Number, or Binary (not a set type). If an item contains an <code>AttributeValue</code> element of a different\n type than the one provided in the request, the value does not match. For example,\n <code>{\"S\":\"6\"}</code> does not equal <code>{\"N\":\"6\"}</code>. Also,\n <code>{\"N\":\"6\"}</code> does not compare to <code>{\"NS\":[\"6\", \"2\", \"1\"]}</code>.</p>\n
}
},
"AttributeValueList": {
"target": "com.amazonaws.dynamodb#AttributeValueList",
"traits": {
"smithy.api#documentation": "<p>One or more values to evaluate against the supplied attribute. The number of values in the\n list depends on the <code>ComparisonOperator</code> being used.</p>\n <p>For type Number, value comparisons are numeric.</p>\n <p>String value comparisons for greater than, equals, or less than are based on ASCII character\n code values. For example, <code>a</code> is greater than <code>A</code>, and <code>a</code>\n is greater than <code>B</code>. For a list of code values, see <a href=\"http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters\">http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters</a>.</p>\n <p>For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.</p>\n <p>For information on specifying data types in JSON, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html\">JSON Data Format</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a condition to be compared with an attribute value. This condition can be\n used with <code>DeleteItem</code>, <code>PutItem</code>, or <code>UpdateItem</code>\n operations; if the comparison evaluates to true, the operation succeeds; if not, the\n operation fails. You can use <code>ExpectedAttributeValue</code> in one of two different\n ways:</p>\n <ul>\n <li>\n <p>Use <code>AttributeValueList</code> to specify one or more values to compare against an\n attribute. Use <code>ComparisonOperator</code> to specify how you want to perform the\n comparison. If the comparison evaluates to true, then the conditional operation\n succeeds.</p>\n </li>\n <li>\n <p>Use <code>Value</code> to specify a value that DynamoDB will compare against an attribute. If the\n values match, then <code>ExpectedAttributeValue</code> evaluates to true and the conditional\n operation succeeds. Optionally, you can also set <code>Exists</code> to false, indicating that\n you <i>do not</i> expect to find the attribute value in the table. In this case, the\n conditional operation succeeds only if the comparison evaluates to false.</p>\n </li>\n </ul>\n <p>\n <code>Value</code> and <code>Exists</code> are incompatible with <code>AttributeValueList</code> and\n <code>ComparisonOperator</code>. Note that if you use both sets of parameters at once, DynamoDB will\n return a <code>ValidationException</code> exception.</p>"
}
},
"com.amazonaws.dynamodb#ExportArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 37,
"max": 1024
}
}
},
"com.amazonaws.dynamodb#ExportConflictException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>There was a conflict when writing to the specified S3 bucket.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ExportDescription": {
"type": "structure",
"members": {
"ExportArn": {
"target": "com.amazonaws.dynamodb#ExportArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the table export.</p>"
}
},
"ExportStatus": {
"target": "com.amazonaws.dynamodb#ExportStatus",
"traits": {
"smithy.api#documentation": "<p>Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.</p>"
}
},
"StartTime": {
"target": "com.amazonaws.dynamodb#ExportStartTime",
"traits": {
"smithy.api#documentation": "<p>The time at which the export task began.</p>"
}
},
"EndTime": {
"target": "com.amazonaws.dynamodb#ExportEndTime",
"traits": {
"smithy.api#documentation": "<p>The time at which the export task completed.</p>"
}
},
"ExportManifest": {
"target": "com.amazonaws.dynamodb#ExportManifest",
"traits": {
"smithy.api#documentation": "<p>The name of the manifest file for the export task.</p>"
}
},
"TableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the table that was exported.</p>"
}
},
"TableId": {
"target": "com.amazonaws.dynamodb#TableId",
"traits": {
"smithy.api#documentation": "<p>Unique ID of the table that was exported.</p>"
}
},
"ExportTime": {
"target": "com.amazonaws.dynamodb#ExportTime",
"traits": {
"smithy.api#documentation": "<p>Point in time from which table data was exported.</p>"
}
},
"ClientToken": {
"target": "com.amazonaws.dynamodb#ClientToken",
"traits": {
"smithy.api#documentation": "<p>The client token that was provided for the export task. A client token makes calls to\n <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple\n identical calls have the same effect as one single call.</p>"
}
},
"S3Bucket": {
"target": "com.amazonaws.dynamodb#S3Bucket",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon S3 bucket containing the export.</p>"
}
},
"S3BucketOwner": {
"target": "com.amazonaws.dynamodb#S3BucketOwner",
"traits": {
"smithy.api#documentation": "<p>The ID of the AWS account that owns the bucket containing the export.</p>"
}
},
"S3Prefix": {
"target": "com.amazonaws.dynamodb#S3Prefix",
"traits": {
"smithy.api#documentation": "<p>The Amazon S3 bucket prefix used as the file name and path of the exported\n snapshot.</p>"
}
},
"S3SseAlgorithm": {
"target": "com.amazonaws.dynamodb#S3SseAlgorithm",
"traits": {
"smithy.api#documentation": "<p>Type of encryption used on the bucket where export data is stored. Valid values\n for <code>S3SseAlgorithm</code> are:</p>\n <ul>\n <li>\n <p>\n <code>AES256</code> - server-side encryption with Amazon S3 managed keys</p>\n </li>\n <li>\n <p>\n <code>KMS</code> - server-side encryption with AWS KMS managed keys</p>\n </li>\n </ul>"
}
},
"S3SseKmsKeyId": {
"target": "com.amazonaws.dynamodb#S3SseKmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is\n stored (if applicable).</p>"
}
},
"FailureCode": {
"target": "com.amazonaws.dynamodb#FailureCode",
"traits": {
"smithy.api#documentation": "<p>Status code for the result of the failed export.</p>"
}
},
"FailureMessage": {
"target": "com.amazonaws.dynamodb#FailureMessage",
"traits": {
"smithy.api#documentation": "<p>Export failure reason description.</p>"
}
},
"ExportFormat": {
"target": "com.amazonaws.dynamodb#ExportFormat",
"traits": {
"smithy.api#documentation": "<p>The format of the exported data. Valid values for <code>ExportFormat</code> are\n <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>"
}
},
"BilledSizeBytes": {
"target": "com.amazonaws.dynamodb#BilledSizeBytes",
"traits": {
"smithy.api#documentation": "<p>The billable size of the table export.</p>"
}
},
"ItemCount": {
"target": "com.amazonaws.dynamodb#ItemCount",
"traits": {
"smithy.api#documentation": "<p>The number of items exported.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of the exported table.</p>"
}
},
"com.amazonaws.dynamodb#ExportEndTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#ExportFormat": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "DYNAMODB_JSON",
"name": "DYNAMODB_JSON"
},
{
"value": "ION",
"name": "ION"
}
]
}
},
"com.amazonaws.dynamodb#ExportManifest": {
"type": "string"
},
"com.amazonaws.dynamodb#ExportNextToken": {
"type": "string"
},
"com.amazonaws.dynamodb#ExportNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified export was not found.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ExportStartTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#ExportStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "IN_PROGRESS",
"name": "IN_PROGRESS"
},
{
"value": "COMPLETED",
"name": "COMPLETED"
},
{
"value": "FAILED",
"name": "FAILED"
}
]
}
},
"com.amazonaws.dynamodb#ExportSummaries": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ExportSummary"
}
},
"com.amazonaws.dynamodb#ExportSummary": {
"type": "structure",
"members": {
"ExportArn": {
"target": "com.amazonaws.dynamodb#ExportArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the export.</p>"
}
},
"ExportStatus": {
"target": "com.amazonaws.dynamodb#ExportStatus",
"traits": {
"smithy.api#documentation": "<p>Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Summary information about an export task.</p>"
}
},
"com.amazonaws.dynamodb#ExportTableToPointInTime": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ExportTableToPointInTimeInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ExportTableToPointInTimeOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ExportConflictException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidExportTimeException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Exports table data to an S3 bucket. The table must have point in time recovery\n enabled, and you can export data from any time within the point in time recovery\n window.</p>"
}
},
"com.amazonaws.dynamodb#ExportTableToPointInTimeInput": {
"type": "structure",
"members": {
"TableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the table to export.</p>",
"smithy.api#required": {}
}
},
"ExportTime": {
"target": "com.amazonaws.dynamodb#ExportTime",
"traits": {
"smithy.api#documentation": "<p>Time in the past from which to export table data. The table export will be a snapshot\n of the table's state at this point in time.</p>"
}
},
"ClientToken": {
"target": "com.amazonaws.dynamodb#ClientToken",
"traits": {
"smithy.api#documentation": "<p>Providing a <code>ClientToken</code> makes the call to\n <code>ExportTableToPointInTimeInput</code> idempotent, meaning that multiple\n identical calls have the same effect as one single call.</p>\n <p>A client token is valid for 8 hours after the first request that uses it is\n completed. After 8 hours, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 8\n hours, or the result might not be idempotent.</p>\n <p>If you submit a request with the same client token but a change in other parameters\n within the 8-hour idempotency window, DynamoDB returns an\n <code>IdempotentParameterMismatch</code> exception.</p>",
"smithy.api#idempotencyToken": {}
}
},
"S3Bucket": {
"target": "com.amazonaws.dynamodb#S3Bucket",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon S3 bucket to export the snapshot to.</p>",
"smithy.api#required": {}
}
},
"S3BucketOwner": {
"target": "com.amazonaws.dynamodb#S3BucketOwner",
"traits": {
"smithy.api#documentation": "<p>The ID of the AWS account that owns the bucket the export will be stored in.</p>"
}
},
"S3Prefix": {
"target": "com.amazonaws.dynamodb#S3Prefix",
"traits": {
"smithy.api#documentation": "<p>The Amazon S3 bucket prefix to use as the file name and path of the exported\n snapshot.</p>"
}
},
"S3SseAlgorithm": {
"target": "com.amazonaws.dynamodb#S3SseAlgorithm",
"traits": {
"smithy.api#documentation": "<p>Type of encryption used on the bucket where export data will be stored. Valid values\n for <code>S3SseAlgorithm</code> are:</p>\n <ul>\n <li>\n <p>\n <code>AES256</code> - server-side encryption with Amazon S3 managed keys</p>\n </li>\n <li>\n <p>\n <code>KMS</code> - server-side encryption with AWS KMS managed keys</p>\n </li>\n </ul>"
}
},
"S3SseKmsKeyId": {
"target": "com.amazonaws.dynamodb#S3SseKmsKeyId",
"traits": {
"smithy.api#documentation": "<p>The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will\n be stored (if applicable).</p>"
}
},
"ExportFormat": {
"target": "com.amazonaws.dynamodb#ExportFormat",
"traits": {
"smithy.api#documentation": "<p>The format for the exported data. Valid values for <code>ExportFormat</code> are\n <code>DYNAMODB_JSON</code> or <code>ION</code>.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ExportTableToPointInTimeOutput": {
"type": "structure",
"members": {
"ExportDescription": {
"target": "com.amazonaws.dynamodb#ExportDescription",
"traits": {
"smithy.api#documentation": "<p>Contains a description of the table export.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ExportTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#ExpressionAttributeNameMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameVariable"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeName"
}
},
"com.amazonaws.dynamodb#ExpressionAttributeNameVariable": {
"type": "string"
},
"com.amazonaws.dynamodb#ExpressionAttributeValueMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueVariable"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#ExpressionAttributeValueVariable": {
"type": "string"
},
"com.amazonaws.dynamodb#FailureCode": {
"type": "string"
},
"com.amazonaws.dynamodb#FailureException": {
"type": "structure",
"members": {
"ExceptionName": {
"target": "com.amazonaws.dynamodb#ExceptionName",
"traits": {
"smithy.api#documentation": "<p>Exception name.</p>"
}
},
"ExceptionDescription": {
"target": "com.amazonaws.dynamodb#ExceptionDescription",
"traits": {
"smithy.api#documentation": "<p>Description of the failure.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a failure a contributor insights operation.</p>"
}
},
"com.amazonaws.dynamodb#FailureMessage": {
"type": "string"
},
"com.amazonaws.dynamodb#FilterConditionMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#Condition"
}
},
"com.amazonaws.dynamodb#Get": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>A map of attribute names to <code>AttributeValue</code> objects that\n specifies the primary key of the item to retrieve.</p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table from which to retrieve the specified item.</p>",
"smithy.api#required": {}
}
},
"ProjectionExpression": {
"target": "com.amazonaws.dynamodb#ProjectionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that identifies one or more attributes of the specified item\n to retrieve from the table. The attributes in the expression must be\n separated by commas. If no attribute names are specified, then all\n attributes of the specified item are returned. If any of the requested\n attributes are not found, they do not appear in the result.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in the\n ProjectionExpression parameter.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies an item and related attribute values to retrieve in a\n <code>TransactGetItem</code> object.</p>"
}
},
"com.amazonaws.dynamodb#GetItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#GetItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#GetItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>GetItem</code> operation returns a set of attributes for the item with the given primary\n key. If there is no matching item, <code>GetItem</code> does not return any data and there will be no <code>Item</code> element in the response.</p>\n <p>\n <code>GetItem</code> provides an eventually consistent read by default. If your application\n requires a strongly consistent read, set <code>ConsistentRead</code> to <code>true</code>. Although\n a strongly consistent read might take more time than an eventually consistent read, it always\n returns the last updated value.</p>"
}
},
"com.amazonaws.dynamodb#GetItemInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table containing the requested item.</p>",
"smithy.api#required": {}
}
},
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>A map of attribute names to <code>AttributeValue</code> objects, representing the primary key of\n the item to retrieve.</p>\n <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>",
"smithy.api#required": {}
}
},
"AttributesToGet": {
"target": "com.amazonaws.dynamodb#AttributeNameList",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html\">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ProjectionExpression": {
"target": "com.amazonaws.dynamodb#ProjectionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>\n <p>If no attribute names are specified, then all attributes are returned. If any of the\n requested attributes are not found, they do not appear in the result.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>GetItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#GetItemOutput": {
"type": "structure",
"members": {
"Item": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute names to <code>AttributeValue</code> objects, as specified\n by <code>ProjectionExpression</code>.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>GetItem</code> operation. The data returned\n includes the total provisioned throughput consumed, along with statistics for the table\n and any indexes involved in the operation. <code>ConsumedCapacity</code> is only\n returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more\n information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Read/Write Capacity Mode</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>GetItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndex": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index. The name must be unique among all other indexes on this table.</p>",
"smithy.api#required": {}
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>",
"smithy.api#required": {}
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected. </p>",
"smithy.api#required": {}
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the specified global secondary index.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdate": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"ProvisionedWriteCapacityAutoScalingUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of a global secondary index for a global table\n that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexDescription": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>"
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected. </p>"
}
},
"IndexStatus": {
"target": "com.amazonaws.dynamodb#IndexStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the global secondary index:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The index is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The index is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The index is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The index is ready for use.</p>\n </li>\n </ul>"
}
},
"Backfilling": {
"target": "com.amazonaws.dynamodb#Backfilling",
"traits": {
"smithy.api#documentation": "<p>Indicates whether the index is currently backfilling. <i>Backfilling</i> is the process of reading items from \n the table and determining whether they can be added to the index. (Not all items will qualify: For example, a partition key \n cannot have any duplicate values.) If an item can be added to the index, DynamoDB will do so. After all items have been processed, \n the backfilling operation is complete and <code>Backfilling</code> is false.</p>\n <p>You can delete an index that is being created during the <code>Backfilling</code> phase\n when <code>IndexStatus</code> is set to CREATING and <code>Backfilling</code> is true. You\n can't delete the index that is being created when <code>IndexStatus</code> is set to\n CREATING and <code>Backfilling</code> is false. </p>\n <note>\n <p>For indexes that were created during a <code>CreateTable</code> operation, the <code>Backfilling</code> attribute does not appear in the <code>DescribeTable</code> output.</p>\n </note>"
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the specified global secondary index.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"IndexSizeBytes": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"ItemCount": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"IndexArn": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the index.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexDescription"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexInfo": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>"
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into\n the global secondary index. These are in addition to the primary\n key attributes and index key attributes, which are automatically\n projected. </p>"
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the specified global secondary index. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a global secondary index for the table\n when the backup was created.</p>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndex"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexUpdate": {
"type": "structure",
"members": {
"Update": {
"target": "com.amazonaws.dynamodb#UpdateGlobalSecondaryIndexAction",
"traits": {
"smithy.api#documentation": "<p>The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.</p>"
}
},
"Create": {
"target": "com.amazonaws.dynamodb#CreateGlobalSecondaryIndexAction",
"traits": {
"smithy.api#documentation": "<p>The parameters required for creating a global secondary index on an existing table:</p>\n <ul>\n <li>\n <p>\n <code>IndexName </code>\n </p>\n </li>\n <li>\n <p>\n <code>KeySchema </code>\n </p>\n </li>\n <li>\n <p>\n <code>AttributeDefinitions </code>\n </p>\n </li>\n <li>\n <p>\n <code>Projection </code>\n </p>\n </li>\n <li>\n <p>\n <code>ProvisionedThroughput </code>\n </p>\n </li>\n </ul>"
}
},
"Delete": {
"target": "com.amazonaws.dynamodb#DeleteGlobalSecondaryIndexAction",
"traits": {
"smithy.api#documentation": "<p>The name of an existing global secondary index to be removed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents one of the following:</p>\n <ul>\n <li>\n <p>A new global secondary index to be added to an existing table.</p>\n </li>\n <li>\n <p>New provisioned throughput parameters for an existing global secondary index.</p>\n </li>\n <li>\n <p>An existing global secondary index to be removed from an existing table.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexUpdate"
}
},
"com.amazonaws.dynamodb#GlobalSecondaryIndexes": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexInfo"
}
},
"com.amazonaws.dynamodb#GlobalTable": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The global table name.</p>"
}
},
"ReplicationGroup": {
"target": "com.amazonaws.dynamodb#ReplicaList",
"traits": {
"smithy.api#documentation": "<p>The Regions where the global table has replicas.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a global table.</p>"
}
},
"com.amazonaws.dynamodb#GlobalTableAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified global table already exists.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#GlobalTableArnString": {
"type": "string"
},
"com.amazonaws.dynamodb#GlobalTableDescription": {
"type": "structure",
"members": {
"ReplicationGroup": {
"target": "com.amazonaws.dynamodb#ReplicaDescriptionList",
"traits": {
"smithy.api#documentation": "<p>The Regions where the global table has replicas.</p>"
}
},
"GlobalTableArn": {
"target": "com.amazonaws.dynamodb#GlobalTableArnString",
"traits": {
"smithy.api#documentation": "<p>The unique identifier of the global table.</p>"
}
},
"CreationDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The creation time of the global table.</p>"
}
},
"GlobalTableStatus": {
"target": "com.amazonaws.dynamodb#GlobalTableStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the global table:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The global table is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The global table is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The global table is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The global table is ready for use.</p>\n </li>\n </ul>"
}
},
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The global table name.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about the global table.</p>"
}
},
"com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdate": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index. The name must be unique among all other indexes on this table.</p>",
"smithy.api#required": {}
}
},
"ProvisionedWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a <code>ThrottlingException.</code>\n </p>"
}
},
"ProvisionedWriteCapacityAutoScalingSettingsUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for managing a global secondary index's write capacity\n units.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings of a global secondary index for a global table that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.dynamodb#GlobalTableList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#GlobalTable"
}
},
"com.amazonaws.dynamodb#GlobalTableNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified global table does not exist.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#GlobalTableStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "UPDATING",
"name": "UPDATING"
}
]
}
},
"com.amazonaws.dynamodb#IdempotentParameterMismatchException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>DynamoDB rejected the request because you retried a request with a different payload but\n with an idempotent token that was already used.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#IndexName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 255
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.dynamodb#IndexNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The operation tried to access a nonexistent index.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#IndexStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "UPDATING",
"name": "UPDATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
}
]
}
},
"com.amazonaws.dynamodb#Integer": {
"type": "integer"
},
"com.amazonaws.dynamodb#IntegerObject": {
"type": "integer",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#InternalServerError": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The server encountered an internal error trying to fulfill the request.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An error occurred on the server side.</p>",
"smithy.api#error": "server"
}
},
"com.amazonaws.dynamodb#InvalidEndpointException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.dynamodb#String"
}
},
"traits": {
"smithy.api#error": "client",
"smithy.api#httpError": 421
}
},
"com.amazonaws.dynamodb#InvalidExportTimeException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified <code>ExportTime</code> is outside of the point in time recovery\n window.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#InvalidRestoreTimeException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime and LatestRestorableDateTime.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ItemCollectionKeyAttributeMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#ItemCollectionMetrics": {
"type": "structure",
"members": {
"ItemCollectionKey": {
"target": "com.amazonaws.dynamodb#ItemCollectionKeyAttributeMap",
"traits": {
"smithy.api#documentation": "<p>The partition key value of the item collection. This value is the same as the partition key value of the item.</p>"
}
},
"SizeEstimateRangeGB": {
"target": "com.amazonaws.dynamodb#ItemCollectionSizeEstimateRange",
"traits": {
"smithy.api#documentation": "<p>An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.</p>\n <p>The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Information about item collections, if any, that were affected by the operation.\n <code>ItemCollectionMetrics</code> is only returned if the request asked for it. If the\n table does not have any local secondary indexes, this information is not returned in the response.</p>"
}
},
"com.amazonaws.dynamodb#ItemCollectionMetricsMultiple": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetrics"
}
},
"com.amazonaws.dynamodb#ItemCollectionMetricsPerTable": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#TableName"
},
"value": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetricsMultiple"
}
},
"com.amazonaws.dynamodb#ItemCollectionSizeEstimateBound": {
"type": "double",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#ItemCollectionSizeEstimateRange": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ItemCollectionSizeEstimateBound"
}
},
"com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The total size of an item collection has exceeded the maximum limit of 10 gigabytes.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ItemCount": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.dynamodb#ItemList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeMap"
}
},
"com.amazonaws.dynamodb#ItemResponse": {
"type": "structure",
"members": {
"Item": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>Map of attribute data consisting of the data type and attribute value.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Details for the requested item.</p>"
}
},
"com.amazonaws.dynamodb#ItemResponseList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ItemResponse"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#KMSMasterKeyArn": {
"type": "string"
},
"com.amazonaws.dynamodb#KMSMasterKeyId": {
"type": "string"
},
"com.amazonaws.dynamodb#Key": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#KeyConditions": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#Condition"
}
},
"com.amazonaws.dynamodb#KeyExpression": {
"type": "string"
},
"com.amazonaws.dynamodb#KeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#Key"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.dynamodb#KeySchema": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#KeySchemaElement"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2
}
}
},
"com.amazonaws.dynamodb#KeySchemaAttributeName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
}
}
},
"com.amazonaws.dynamodb#KeySchemaElement": {
"type": "structure",
"members": {
"AttributeName": {
"target": "com.amazonaws.dynamodb#KeySchemaAttributeName",
"traits": {
"smithy.api#documentation": "<p>The name of a key attribute.</p>",
"smithy.api#required": {}
}
},
"KeyType": {
"target": "com.amazonaws.dynamodb#KeyType",
"traits": {
"smithy.api#documentation": "<p>The role that this key attribute will assume:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents <i>a single element</i> of a key schema. A key schema specifies the attributes\n that make up the primary key of a table, or the key attributes of an index.</p>\n <p>A <code>KeySchemaElement</code> represents exactly one attribute of the primary key. For example, a\n simple primary key would be represented by one <code>KeySchemaElement</code> (for the partition key). A composite\n primary key would require one <code>KeySchemaElement</code> for the partition key, and another\n <code>KeySchemaElement</code> for the sort key.</p>\n <p>A <code>KeySchemaElement</code> must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.</p>"
}
},
"com.amazonaws.dynamodb#KeyType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "HASH",
"name": "HASH"
},
{
"value": "RANGE",
"name": "RANGE"
}
]
}
},
"com.amazonaws.dynamodb#KeysAndAttributes": {
"type": "structure",
"members": {
"Keys": {
"target": "com.amazonaws.dynamodb#KeyList",
"traits": {
"smithy.api#documentation": "<p>The primary key attribute values that define the items and the attributes associated with the items.</p>",
"smithy.api#required": {}
}
},
"AttributesToGet": {
"target": "com.amazonaws.dynamodb#AttributeNameList",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html\">Legacy Conditional Parameters</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>The consistency of a read operation. If set to <code>true</code>, then a strongly consistent\n read is used; otherwise, an eventually consistent read is used.</p>"
}
},
"ProjectionExpression": {
"target": "com.amazonaws.dynamodb#ProjectionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars,\n sets, or elements of a JSON document. The attributes in the <code>ProjectionExpression</code> must be separated by\n commas.</p>\n <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a set of primary keys and, for each key, the attributes to retrieve from the table.</p>\n <p>For each primary key, you must provide <i>all</i> of the key attributes. For example, with a\n simple primary key, you only need to provide the partition key. For a composite\n primary key, you must provide <i>both</i> the partition key and the sort key.</p>"
}
},
"com.amazonaws.dynamodb#KinesisDataStreamDestination": {
"type": "structure",
"members": {
"StreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The ARN for a specific Kinesis data stream.</p>"
}
},
"DestinationStatus": {
"target": "com.amazonaws.dynamodb#DestinationStatus",
"traits": {
"smithy.api#documentation": "<p>The current status of replication.</p>"
}
},
"DestinationStatusDescription": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>The human-readable string that corresponds to the replica status.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes a Kinesis data stream destination.</p>"
}
},
"com.amazonaws.dynamodb#KinesisDataStreamDestinations": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#KinesisDataStreamDestination"
}
},
"com.amazonaws.dynamodb#KinesisStreamingDestinationInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the DynamoDB table.</p>",
"smithy.api#required": {}
}
},
"StreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The ARN for a Kinesis data stream.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#KinesisStreamingDestinationOutput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table being modified.</p>"
}
},
"StreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The ARN for the specific Kinesis data stream.</p>"
}
},
"DestinationStatus": {
"target": "com.amazonaws.dynamodb#DestinationStatus",
"traits": {
"smithy.api#documentation": "<p>The current status of the replication.</p>"
}
}
}
},
"com.amazonaws.dynamodb#LastUpdateDateTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#LimitExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>Too many operations for a given subscriber.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>There is no limit to the number of daily on-demand backups that can be taken. </p>\n <p>Up to 50 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>The only exception is when you are creating a table with one or more secondary indexes. You can have up to \n 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily \n reduce the number of concurrent operations.</p>\n <p>There is a soft account quota of 256 tables.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ListAttributeValue": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#ListBackups": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListBackupsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListBackupsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>List backups associated with an AWS account. To list backups for a given table, specify\n <code>TableName</code>. <code>ListBackups</code> returns a paginated list of results\n with at most 1 MB worth of items in a page. You can also specify a maximum number of\n entries to be returned in a page. </p>\n <p>In the request, start time is inclusive, but end time is exclusive. Note that these\n boundaries are for the time at which the original backup was requested.</p>\n <p>You can call <code>ListBackups</code> a maximum of five times per second.</p>"
}
},
"com.amazonaws.dynamodb#ListBackupsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The backups from the table specified by <code>TableName</code> are listed. </p>"
}
},
"Limit": {
"target": "com.amazonaws.dynamodb#BackupsInputLimit",
"traits": {
"smithy.api#documentation": "<p>Maximum number of backups to return at once.</p>"
}
},
"TimeRangeLowerBound": {
"target": "com.amazonaws.dynamodb#TimeRangeLowerBound",
"traits": {
"smithy.api#documentation": "<p>Only backups created after this time are listed. <code>TimeRangeLowerBound</code> is inclusive.</p>"
}
},
"TimeRangeUpperBound": {
"target": "com.amazonaws.dynamodb#TimeRangeUpperBound",
"traits": {
"smithy.api#documentation": "<p>Only backups created before this time are listed. <code>TimeRangeUpperBound</code> is exclusive. </p>"
}
},
"ExclusiveStartBackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>\n <code>LastEvaluatedBackupArn</code> is the Amazon Resource Name (ARN) of the backup last\n evaluated when the current page of results was returned, inclusive of the current page\n of results. This value may be specified as the <code>ExclusiveStartBackupArn</code> of a\n new <code>ListBackups</code> operation in order to fetch the next page of results. </p>"
}
},
"BackupType": {
"target": "com.amazonaws.dynamodb#BackupTypeFilter",
"traits": {
"smithy.api#documentation": "<p>The backups from the table specified by <code>BackupType</code> are listed.</p>\n <p>Where <code>BackupType</code> can be:</p>\n <ul>\n <li>\n <p>\n <code>USER</code> - On-demand backup created by you.</p>\n </li>\n <li>\n <p>\n <code>SYSTEM</code> - On-demand backup automatically created by\n DynamoDB.</p>\n </li>\n <li>\n <p>\n <code>ALL</code> - All types of on-demand backups (USER and SYSTEM).</p>\n </li>\n </ul>"
}
}
}
},
"com.amazonaws.dynamodb#ListBackupsOutput": {
"type": "structure",
"members": {
"BackupSummaries": {
"target": "com.amazonaws.dynamodb#BackupSummaries",
"traits": {
"smithy.api#documentation": "<p>List of <code>BackupSummary</code> objects.</p>"
}
},
"LastEvaluatedBackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>\n The ARN of the backup last evaluated when the current page of results was returned,\n inclusive of the current page of results. This value may be specified as the\n <code>ExclusiveStartBackupArn</code> of a new <code>ListBackups</code> operation in order to fetch the next page of results.\n </p>\n <p>\n If <code>LastEvaluatedBackupArn</code> is empty, then the last page of results has been processed and there are no\n more results to be retrieved.\n </p>\n <p> If <code>LastEvaluatedBackupArn</code> is not empty, this may or may not indicate that\n there is more data to be returned. All results are guaranteed to have been returned if\n and only if no value for <code>LastEvaluatedBackupArn</code> is returned. </p>"
}
}
}
},
"com.amazonaws.dynamodb#ListContributorInsights": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListContributorInsightsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListContributorInsightsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.dynamodb#ListContributorInsightsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#NextTokenString",
"traits": {
"smithy.api#documentation": "<p>A token to for the desired page, if there is one.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.dynamodb#ListContributorInsightsLimit",
"traits": {
"smithy.api#documentation": "<p>Maximum number of results to return per page.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListContributorInsightsLimit": {
"type": "integer",
"traits": {
"smithy.api#range": {
"max": 100
}
}
},
"com.amazonaws.dynamodb#ListContributorInsightsOutput": {
"type": "structure",
"members": {
"ContributorInsightsSummaries": {
"target": "com.amazonaws.dynamodb#ContributorInsightsSummaries",
"traits": {
"smithy.api#documentation": "<p>A list of ContributorInsightsSummary.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#NextTokenString",
"traits": {
"smithy.api#documentation": "<p>A token to go to the next page if there is one.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListExports": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListExportsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListExportsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists completed exports within the past 90 days.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.dynamodb#ListExportsInput": {
"type": "structure",
"members": {
"TableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the exported table.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.dynamodb#ListExportsMaxLimit",
"traits": {
"smithy.api#documentation": "<p>Maximum number of results to return per page.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#ExportNextToken",
"traits": {
"smithy.api#documentation": "<p>An optional string that, if supplied, must be copied from the output of a previous\n call to <code>ListExports</code>. When provided in this manner, the API fetches the next\n page of results.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListExportsMaxLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#ListExportsOutput": {
"type": "structure",
"members": {
"ExportSummaries": {
"target": "com.amazonaws.dynamodb#ExportSummaries",
"traits": {
"smithy.api#documentation": "<p>A list of <code>ExportSummary</code> objects.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#ExportNextToken",
"traits": {
"smithy.api#documentation": "<p>If this value is returned, there are additional results to be displayed. To retrieve\n them, call <code>ListExports</code> again, with <code>NextToken</code> set to this\n value.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListGlobalTables": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListGlobalTablesInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListGlobalTablesOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists all global tables that have a replica in the specified Region.</p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V1.html\">Version 2017.11.29</a> of global tables.</p>\n </note>"
}
},
"com.amazonaws.dynamodb#ListGlobalTablesInput": {
"type": "structure",
"members": {
"ExclusiveStartGlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The first global table name that this operation will evaluate.</p>"
}
},
"Limit": {
"target": "com.amazonaws.dynamodb#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.</p>\n <p>If the number of global tables DynamoDB finds reaches this limit, it stops the operation and returns the table names collected up to that point,\n with a table name in the <code>LastEvaluatedGlobalTableName</code> to apply in a subsequent operation to the <code>ExclusiveStartGlobalTableName</code> parameter.</p>"
}
},
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>Lists the global tables in a specific Region.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListGlobalTablesOutput": {
"type": "structure",
"members": {
"GlobalTables": {
"target": "com.amazonaws.dynamodb#GlobalTableList",
"traits": {
"smithy.api#documentation": "<p>List of global table names.</p>"
}
},
"LastEvaluatedGlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Last evaluated global table name.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListTables": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListTablesInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListTablesOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns an array of table names associated with the current account and endpoint. The output\n from <code>ListTables</code> is paginated, with each page returning a maximum of 100 table\n names.</p>",
"smithy.api#paginated": {
"inputToken": "ExclusiveStartTableName",
"outputToken": "LastEvaluatedTableName",
"items": "TableNames",
"pageSize": "Limit"
}
}
},
"com.amazonaws.dynamodb#ListTablesInput": {
"type": "structure",
"members": {
"ExclusiveStartTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The first table name that this operation will evaluate. Use the value that was returned for\n <code>LastEvaluatedTableName</code> in a previous operation, so that you can obtain the next page\n of results.</p>"
}
},
"Limit": {
"target": "com.amazonaws.dynamodb#ListTablesInputLimit",
"traits": {
"smithy.api#documentation": "<p>A maximum number of table names to return. If this parameter is not specified, the limit is 100.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>ListTables</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#ListTablesInputLimit": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.dynamodb#ListTablesOutput": {
"type": "structure",
"members": {
"TableNames": {
"target": "com.amazonaws.dynamodb#TableNameList",
"traits": {
"smithy.api#documentation": "<p>The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.</p>\n <p>If <code>LastEvaluatedTableName</code> also appears in the output, you can use this value as the\n <code>ExclusiveStartTableName</code> parameter in a subsequent <code>ListTables</code> request and\n obtain the next page of results.</p>"
}
},
"LastEvaluatedTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the last table in the current page of results. Use this value as the\n <code>ExclusiveStartTableName</code> in a new request to obtain the next page of results, until\n all the table names are returned.</p>\n <p>If you do not receive a <code>LastEvaluatedTableName</code> value in the response, this means that\n there are no more table names to be retrieved.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>ListTables</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#ListTagsOfResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ListTagsOfResourceInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ListTagsOfResourceOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.</p>\n <p>For an overview on tagging DynamoDB resources, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a>\n in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#ListTagsOfResourceInput": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.dynamodb#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).</p>",
"smithy.api#required": {}
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#NextTokenString",
"traits": {
"smithy.api#documentation": "<p>An optional string that, if supplied, must be copied from the output of a previous\n call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ListTagsOfResourceOutput": {
"type": "structure",
"members": {
"Tags": {
"target": "com.amazonaws.dynamodb#TagList",
"traits": {
"smithy.api#documentation": "<p>The tags currently associated with the Amazon DynamoDB resource.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.dynamodb#NextTokenString",
"traits": {
"smithy.api#documentation": "<p>If this value is returned, there are additional results to be displayed. To retrieve them,\n call ListTagsOfResource again, with NextToken set to this value.</p>"
}
}
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndex": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the local secondary index. The name must be unique among all other indexes on this table.</p>",
"smithy.api#required": {}
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>",
"smithy.api#required": {}
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into the local\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected. </p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a local secondary index.</p>"
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndexDescription": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>Represents the name of the local secondary index.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>"
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected. </p>"
}
},
"IndexSizeBytes": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"ItemCount": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"IndexArn": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the index.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a local secondary index.</p>"
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndexDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexDescription"
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndexInfo": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>Represents the name of the local secondary index.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The complete key schema for a local secondary index, which consists of one or more pairs of attribute names and key types:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>"
}
},
"Projection": {
"target": "com.amazonaws.dynamodb#Projection",
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected. </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a local secondary index for the table\n when the backup was created.</p>"
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndexList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndex"
}
},
"com.amazonaws.dynamodb#LocalSecondaryIndexes": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexInfo"
}
},
"com.amazonaws.dynamodb#Long": {
"type": "long"
},
"com.amazonaws.dynamodb#MapAttributeValue": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#NextTokenString": {
"type": "string"
},
"com.amazonaws.dynamodb#NonKeyAttributeName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
}
}
},
"com.amazonaws.dynamodb#NonKeyAttributeNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#NonKeyAttributeName"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.dynamodb#NonNegativeLongObject": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0
}
}
},
"com.amazonaws.dynamodb#NullAttributeValue": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#NumberAttributeValue": {
"type": "string"
},
"com.amazonaws.dynamodb#NumberSetAttributeValue": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#NumberAttributeValue"
}
},
"com.amazonaws.dynamodb#ParameterizedStatement": {
"type": "structure",
"members": {
"Statement": {
"target": "com.amazonaws.dynamodb#PartiQLStatement",
"traits": {
"smithy.api#documentation": "<p>\nA PartiQL statment that uses parameters.\n</p>",
"smithy.api#required": {}
}
},
"Parameters": {
"target": "com.amazonaws.dynamodb#PreparedStatementParameters",
"traits": {
"smithy.api#documentation": "<p>\nThe parameter values.\n</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\nRepresents a PartiQL statment that uses parameters.\n</p>"
}
},
"com.amazonaws.dynamodb#ParameterizedStatements": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ParameterizedStatement"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#PartiQLBatchRequest": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#BatchStatementRequest"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#PartiQLBatchResponse": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#BatchStatementResponse"
}
},
"com.amazonaws.dynamodb#PartiQLNextToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 32768
}
}
},
"com.amazonaws.dynamodb#PartiQLStatement": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 8192
}
}
},
"com.amazonaws.dynamodb#PointInTimeRecoveryDescription": {
"type": "structure",
"members": {
"PointInTimeRecoveryStatus": {
"target": "com.amazonaws.dynamodb#PointInTimeRecoveryStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of point in time recovery:</p>\n <ul>\n <li>\n <p>\n <code>ENABLING</code> - Point in time recovery is being enabled.</p>\n </li>\n <li>\n <p>\n <code>ENABLED</code> - Point in time recovery is enabled.</p>\n </li>\n <li>\n <p>\n <code>DISABLED</code> - Point in time recovery is disabled.</p>\n </li>\n </ul>"
}
},
"EarliestRestorableDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Specifies the earliest point in time you can restore your table to. You can restore your\n table to any point in time during the last 35 days. </p>"
}
},
"LatestRestorableDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>\n <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The description of the point in time settings applied to the table.</p>"
}
},
"com.amazonaws.dynamodb#PointInTimeRecoverySpecification": {
"type": "structure",
"members": {
"PointInTimeRecoveryEnabled": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable point in time recovery.</p>"
}
},
"com.amazonaws.dynamodb#PointInTimeRecoveryStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLED",
"name": "DISABLED"
}
]
}
},
"com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Point in time recovery has not yet been enabled for this source table.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#PositiveIntegerObject": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#PositiveLongObject": {
"type": "long",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#PreparedStatementParameters": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#AttributeValue"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#Projection": {
"type": "structure",
"members": {
"ProjectionType": {
"target": "com.amazonaws.dynamodb#ProjectionType",
"traits": {
"smithy.api#documentation": "<p>The set of attributes that are projected into the index:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the index and primary keys are projected into the\n index.</p>\n </li>\n <li>\n <p>\n <code>INCLUDE</code> - In addition to the attributes described in <code>KEYS_ONLY</code>, the secondary index will include other non-key attributes that you specify.</p>\n </li>\n <li>\n <p>\n <code>ALL</code> - All of the table attributes are projected into the index.</p>\n </li>\n </ul>"
}
},
"NonKeyAttributes": {
"target": "com.amazonaws.dynamodb#NonKeyAttributeNameList",
"traits": {
"smithy.api#documentation": "<p>Represents the non-key attribute names which will be projected into the index.</p>\n <p>For local secondary indexes, the total count of <code>NonKeyAttributes</code> summed across all of the local secondary indexes,\n must not exceed 20. If you project the same attribute into two\n different indexes, this counts as two distinct attributes when determining the total.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.</p>"
}
},
"com.amazonaws.dynamodb#ProjectionExpression": {
"type": "string"
},
"com.amazonaws.dynamodb#ProjectionType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL",
"name": "ALL"
},
{
"value": "KEYS_ONLY",
"name": "KEYS_ONLY"
},
{
"value": "INCLUDE",
"name": "INCLUDE"
}
]
}
},
"com.amazonaws.dynamodb#ProvisionedThroughput": {
"type": "structure",
"members": {
"ReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads 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\n Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to 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\n Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>If read/write capacity mode is <code>PAY_PER_REQUEST</code> the value is set to 0.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for a specified table or index. The settings\n can be modified using the <code>UpdateTable</code> operation.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#ProvisionedThroughputDescription": {
"type": "structure",
"members": {
"LastIncreaseDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The date and time of the last provisioned throughput increase for this table.</p>"
}
},
"LastDecreaseDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The date and time of the last provisioned throughput decrease for this table.</p>"
}
},
"NumberOfDecreasesToday": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The number of provisioned throughput decreases for this table during this UTC calendar day.\n For current maximums on provisioned throughput decreases, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#NonNegativeLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB returns a\n <code>ThrottlingException</code>. Eventually consistent reads require less effort than strongly\n consistent reads, so a setting of 50 <code>ReadCapacityUnits</code> per second provides 100\n eventually consistent <code>ReadCapacityUnits</code> per second.</p>"
}
},
"WriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#NonNegativeLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a\n <code>ThrottlingException</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.</p>"
}
},
"com.amazonaws.dynamodb#ProvisionedThroughputExceededException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>You exceeded your maximum allowed provisioned throughput.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that\n receive this exception. Your request is eventually successful, unless your retry queue is too\n large to finish. Reduce the frequency of requests and use exponential backoff. For more\n information, go to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff\">Error Retries and Exponential\n Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ProvisionedThroughputOverride": {
"type": "structure",
"members": {
"ReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>Replica-specific read capacity units. If not specified, uses the source table's\n read capacity settings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Replica-specific provisioned throughput settings. If not specified, uses the\n source table's provisioned throughput settings.</p>"
}
},
"com.amazonaws.dynamodb#Put": {
"type": "structure",
"members": {
"Item": {
"target": "com.amazonaws.dynamodb#PutItemInputAttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute name to attribute values, representing the primary key\n of the item to be written by <code>PutItem</code>. All of the table's primary key\n attributes must be specified, and their data types must match those of the table's\n key schema. If any attributes are present in the item that are part of an index\n key schema for the table, their types must match the index key schema. </p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table in which to write the item.</p>",
"smithy.api#required": {}
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional update to succeed.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>"
}
},
"ReturnValuesOnConditionCheckFailure": {
"target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValuesOnConditionCheckFailure</code> to\n get the item attributes if the <code>Put</code> condition fails.\n For <code>ReturnValuesOnConditionCheckFailure</code>, the valid\n values are: NONE and ALL_OLD.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform a <code>PutItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#PutItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#PutItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#PutItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ConditionalCheckFailedException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionConflictException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the <code>ReturnValues</code> parameter.</p>\n <important>\n <p>This topic provides general information about the <code>PutItem</code> API.</p>\n <p>For information on how to call the <code>PutItem</code> API using the AWS SDK in specific languages, see the following:</p>\n <ul>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS Command Line Interface</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for .NET</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for C++</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Go</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Java</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for JavaScript</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for PHP V3</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem\">\n PutItem in the AWS SDK for Python</a>\n </p>\n </li>\n <li>\n <p>\n <a href=\"http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem\"> PutItem in the AWS SDK for Ruby V2</a>\n </p>\n </li>\n </ul>\n </important>\n\n <p>When you add an item, the primary key attributes are the only required attributes.\n Attribute values cannot be null.</p> \n <p>Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.\n Set type attributes cannot be empty. </p>\n <p>Invalid Requests with empty values will\n be rejected with a <code>ValidationException</code> exception.</p>\n <note>\n <p>To prevent a new item from replacing an existing item, use a conditional expression\n that contains the <code>attribute_not_exists</code> function with the name of the\n attribute being used as the partition key for the table. Since every record must contain\n that attribute, the <code>attribute_not_exists</code> function will only succeed if\n no matching item exists.</p>\n </note>\n <p>For more info
}
},
"com.amazonaws.dynamodb#PutItemInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to contain the item.</p>",
"smithy.api#required": {}
}
},
"Item": {
"target": "com.amazonaws.dynamodb#PutItemInputAttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.</p>\n <p>You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key.</p>\n <p>If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.</p>\n <p>Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.</p>\n \n <p>For more information about primary keys, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.CoreComponents.html#HowItWorks.CoreComponents.PrimaryKey\">Primary Key</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>\n <p>Each element in the <code>Item</code> map is an <code>AttributeValue</code> object.</p>",
"smithy.api#required": {}
}
},
"Expected": {
"target": "com.amazonaws.dynamodb#ExpectedAttributeMap",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html\">Expected</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ReturnValues": {
"target": "com.amazonaws.dynamodb#ReturnValue",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValues</code> if you want to get the item attributes as they appeared before they\n were updated with the <code>PutItem</code> request. For <code>PutItem</code>, the valid values are:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code> - If <code>ReturnValues</code> is not specified, or if its value is\n <code>NONE</code>, then nothing is returned. (This setting is the default for\n <code>ReturnValues</code>.)</p>\n </li>\n <li>\n <p>\n <code>ALL_OLD</code> - If <code>PutItem</code> overwrote an attribute name-value pair, then the\n content of the old item is returned.</p>\n </li>\n </ul>\n <note>\n <p>The <code>ReturnValues</code> parameter is used by several DynamoDB operations; however,\n <code>PutItem</code> does not recognize any values other than <code>NONE</code> or\n <code>ALL_OLD</code>.</p>\n </note>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ReturnItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to <code>NONE</code> (the default), no statistics are returned.</p>"
}
},
"ConditionalOperator": {
"target": "com.amazonaws.dynamodb#ConditionalOperator",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html\">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional <code>PutItem</code> operation to\n succeed.</p>\n <p>An expression can contain any of the following:</p>\n <ul>\n <li>\n <p>Functions: <code>attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size</code>\n </p>\n <p>These function names are case-sensitive.</p>\n </li>\n <li>\n <p>Comparison operators: <code>= | <> |\n < | > | <= | >= |\n BETWEEN | IN </code>\n </p>\n </li>\n <li>\n <p> Logical operators: <code>AND | OR | NOT</code>\n </p>\n </li>\n </ul>\n <p>For more information on condition expressions, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>\n <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the <i>ProductStatus</i> attribute was one of the following: </p>\n <p>\n <code>Available | Backordered | Discontinued</code>\n </p>\n <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>\n <p>\n <code>{ \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }</code>\n </p>\n <p>You could then use these values in an expression, such as this:</p>\n <p>\n <code>ProductStatus IN (:avail, :back, :disc)</code>\n </p>\n <p>For more information on expression attribute values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>PutItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#PutItemInputAttributeMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#AttributeName"
},
"value": {
"target": "com.amazonaws.dynamodb#AttributeValue"
}
},
"com.amazonaws.dynamodb#PutItemOutput": {
"type": "structure",
"members": {
"Attributes": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>The attribute values as they appeared before the <code>PutItem</code> operation, but only if\n <code>ReturnValues</code> is specified as <code>ALL_OLD</code> in the request. Each element\n consists of an attribute name and an attribute value.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>PutItem</code> operation. The data returned\n includes the total provisioned throughput consumed, along with statistics for the table\n and any indexes involved in the operation. <code>ConsumedCapacity</code> is only\n returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more\n information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Read/Write Capacity Mode</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Information about item collections, if any, that were affected by the\n <code>PutItem</code> operation. <code>ItemCollectionMetrics</code>\n is only returned if the <code>ReturnItemCollectionMetrics</code> parameter was specified. If the table does not have any local\n secondary indexes, this information is not returned in the response.</p>\n <p>Each <code>ItemCollectionMetrics</code>\n element consists of:</p>\n <ul>\n <li>\n <p>\n <code>ItemCollectionKey</code> - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.</p>\n </li>\n <li>\n <p>\n <code>SizeEstimateRangeGB</code> - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.</p>\n <p>The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>PutItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#PutRequest": {
"type": "structure",
"members": {
"Item": {
"target": "com.amazonaws.dynamodb#PutItemInputAttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute name to attribute values, representing the primary key of an item to\n be processed by <code>PutItem</code>. All of the table's primary key attributes must be\n specified, and their data types must match those of the table's key schema. If any\n attributes are present in the item that are part of an index key schema for the table,\n their types must match the index key schema.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform a <code>PutItem</code> operation on an item.</p>"
}
},
"com.amazonaws.dynamodb#Query": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#QueryInput"
},
"output": {
"target": "com.amazonaws.dynamodb#QueryOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>Query</code> operation finds items based on primary key values.\n You can query any table or secondary index that has a composite primary key (a partition\n key and a sort key).\n </p>\n <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value\n for the partition key. The <code>Query</code> operation will return all of the items\n from the table or index with that partition key value. You can optionally narrow the\n scope of the <code>Query</code> operation by specifying a sort key value and a\n comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results,\n you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items\n within the results should be returned to you. All of the other results are discarded.\n </p>\n <p>\n A <code>Query</code> operation always returns a result set. If no matching items are found,\n the result set will be empty. Queries that do not return results consume the minimum number of\n read capacity units for that type of read operation.\n </p>\n <note>\n <p>\n DynamoDB calculates the number of read capacity units consumed based on item size,\n not on the amount of data that is returned to an application. The number of capacity\n units consumed will be the same whether you request all of the attributes (the default behavior)\n or just some of them (using a projection expression). The number will also be the same\n whether or not you use a <code>FilterExpression</code>.\n </p>\n </note>\n <p>\n <code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number,\n the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes.\n By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter\n to false.\n </p>\n <p> A single <code>Query</code> operation will read up to the maximum number of items\n set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then\n apply any filtering to the results using <code>FilterExpression</code>. If\n <code>LastEvaluatedKey</code> is present in the response, you will need to paginate\n the result set. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination\">Paginating\n the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>\n <p>\n <code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before\n the results are returned.\n A <code>FilterExpression</code> cannot contain partition key or sort key attributes.\n You need to specify those attributes in the <code>KeyConditionExpression</code>.\n </p>\n <note>\n <p>\n A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code>\n if all the items read for the page of results are filtered out.\n </p>\n </note>\n <p>You can query a table, a local secondary index, or a global secondary index. For a\n query on a table or on a local secondary index, you can set the\n <code>ConsistentRead</code> parameter to <code>true</code> and obtain a\n strongly consistent result. Global secondary indexes support eventually consistent reads\n only, so do not specify <code>ConsistentRead</code> when querying a global\n secondary index.</p>",
"smithy.api#paginated": {
"inputToken": "ExclusiveStartKey",
"outputToken": "LastEvaluatedKey",
"items": "Items",
"pageSize": "Limit"
},
"smithy.api#suppress": [
"PaginatedTrait"
]
}
},
"com.amazonaws.dynamodb#QueryInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table containing the requested items.</p>",
"smithy.api#required": {}
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that\n if you use the <code>IndexName</code> parameter, you must also provide <code>TableName.</code>\n </p>"
}
},
"Select": {
"target": "com.amazonaws.dynamodb#Select",
"traits": {
"smithy.api#documentation": "<p>The attributes to be returned in the\n result. You can retrieve all item attributes, specific item attributes, the count of\n matching items, or in the case of an index, some or all of the attributes projected into\n the index.</p>\n <ul>\n <li>\n <p>\n <code>ALL_ATTRIBUTES</code> - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.</p>\n </li>\n <li>\n <p>\n <code>ALL_PROJECTED_ATTRIBUTES</code> - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the\n index is configured to project all attributes, this return value is\n equivalent to specifying <code>ALL_ATTRIBUTES</code>.</p>\n </li>\n <li>\n <p>\n <code>COUNT</code> - Returns the number of matching items, rather than the\n matching items themselves.</p>\n </li>\n <li>\n <p>\n <code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in\n <code>AttributesToGet</code>. This return value is equivalent to\n specifying <code>AttributesToGet</code> without specifying any value\n for <code>Select</code>.</p>\n <p>If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation will read only the index and not\n the table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.</p>\n <p>If you query or scan a global secondary index, you can only request\n attributes that are projected into the index. Global secondary index queries\n cannot fetch attributes from the parent table.</p>\n </li>\n </ul>\n <p>If neither <code>Select</code> nor <code>AttributesToGet</code>\n are specified, DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a\n table, and <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot\n use both <code>Select</code> and <code>AttributesToGet</code>\n together in a single request, unless the value for <code>Select</code> is\n <code>SPECIFIC_ATTRIBUTES</code>. (This usage is equivalent to specifying\n <code>AttributesToGet</code> without any value for\n <code>Select</code>.)</p>\n <note>\n <p>If you use the <code>ProjectionExpression</code> parameter, then\n the value for <code>Select</code> can only be\n <code>SPECIFIC_ATTRIBUTES</code>. Any other value for\n <code>Select</code> will return an error.</p>\n </note>"
}
},
"AttributesToGet": {
"target": "com.amazonaws.dynamodb#AttributeNameList",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html\">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"Limit": {
"target": "com.amazonaws.dynamodb#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items to evaluate (not necessarily the number of matching items).\n If DynamoDB processes the number of items up to the limit while processing the results,\n it stops the operation and returns the matching values up to that point, and a key in\n <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent\n operation to continue the operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html\">Query and Scan</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>Determines the read consistency model: If set to <code>true</code>, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.</p>\n <p>Strongly consistent reads\n are not supported on global secondary indexes. If you query a global secondary index with <code>ConsistentRead</code> set to\n <code>true</code>, you will receive a <code>ValidationException</code>.</p>"
}
},
"KeyConditions": {
"target": "com.amazonaws.dynamodb#KeyConditions",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>KeyConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html\">KeyConditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"QueryFilter": {
"target": "com.amazonaws.dynamodb#FilterConditionMap",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html\">QueryFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConditionalOperator": {
"target": "com.amazonaws.dynamodb#ConditionalOperator",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html\">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ScanIndexForward": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Specifies the order for index traversal: If <code>true</code> (default), the traversal is performed in ascending order; if <code>false</code>, the traversal is performed in descending order. </p>\n <p>Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.</p>\n <p>If <code>ScanIndexForward</code> is <code>true</code>, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If <code>ScanIndexForward</code> is <code>false</code>, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.</p>"
}
},
"ExclusiveStartKey": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>\n <p>The data type for <code>ExclusiveStartKey</code> must be String, Number, or Binary. No\n set data types are allowed.</p>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ProjectionExpression": {
"target": "com.amazonaws.dynamodb#ProjectionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>\n <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>\n <p>For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Accessing Item Attributes</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"FilterExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that contains conditions that DynamoDB applies after the <code>Query</code> operation, but\n before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code>\n criteria are not returned.</p>\n <p>A <code>FilterExpression</code> does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.</p>\n <note>\n <p>A <code>FilterExpression</code> is applied after the items have already been read; the process of\n filtering does not consume any additional read capacity units.</p>\n </note>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults\">Filter\n Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"KeyConditionExpression": {
"target": "com.amazonaws.dynamodb#KeyExpression",
"traits": {
"smithy.api#documentation": "<p>The condition that specifies the key values for items to be retrieved by the\n <code>Query</code> action.</p>\n\n <p>The condition must perform an equality test on a single partition key value.</p>\n <p>The condition can optionally perform one of several comparison tests on a single\n sort key value. This allows <code>Query</code> to retrieve one item with a given\n partition key value and sort key value, or several items that have the same partition\n key value but different sort key values.</p>\n\n <p>The partition key equality test is required, and must be specified in the following format:</p>\n\n <p>\n <code>partitionKeyName</code>\n <i>=</i>\n <code>:partitionkeyval</code>\n </p>\n\n <p>If you also want to provide a condition for the sort key, it must be combined using <code>AND</code> with the condition\n for the sort key. Following is an example, using the <b>=</b> comparison operator for the sort key:</p>\n\n <p>\n <code>partitionKeyName</code>\n <code>=</code>\n <code>:partitionkeyval</code>\n <code>AND</code>\n <code>sortKeyName</code>\n <code>=</code>\n <code>:sortkeyval</code>\n </p>\n <p>Valid comparisons for the sort key condition are as follows:</p>\n <ul>\n <li>\n <p>\n <code>sortKeyName</code>\n <code>=</code>\n <code>:sortkeyval</code> - true if the sort key value is equal to <code>:sortkeyval</code>.</p>\n </li>\n <li>\n <p>\n <code>sortKeyName</code>\n <code><</code>\n <code>:sortkeyval</code> - true if the sort key value is less than <code>:sortkeyval</code>.</p>\n </li>\n <li>\n <p>\n <code>sortKeyName</code>\n <code><=</code>\n <code>:sortkeyval</code> - true if the sort key value is less than or equal to\n <code>:sortkeyval</code>.</p>\n </li>\n <li>\n <p>\n <code>sortKeyName</code>\n <code>></code>\n <code>:sortkeyval</code> - true if the sort key value is greater than <code>:sortkeyval</code>.</p>\n </li>\n <li>\n <p>\n <code>sortKeyName</code>\n <code>>= </code>\n <code>:sortkeyval</code> - true if the sort key value is greater than\n or equal to <code>:sortkeyval</code>.</p>\n </li>\n <li>\n <p>\n <code>sortKeyName</code>\n <code>BETWEEN</code>\n <code>:sortkeyval1</code>\n <code>AND</code>\n <code>:sortkeyval2</code> - true if the sort key value is greater than or equal to\n <code>:sortkeyval1</code>, and less than or equal to <code>:sortkeyval2</code>.</p>\n </li>\n <li>\n <p>\n <code>begins_with (</code>\n <code>sortKeyName</code>, <code>:sortkeyval</code>\n <code>)</code> -\n true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name\n <code>begins_with</code> is case-sensitive.</p>\n\n </li>\n </ul>\n\n <p>Use the <code>ExpressionAttributeValues</code> parameter to replace tokens such as\n <code>:partitionval</code> and <code>:sortval</code> with actual values at runtime.</p>\n\n <p>You can optionally use the <code>ExpressionAttributeNames</code> parameter to replace the names of\n the partition key and sort key with placeholder tokens. This option might be necessary if an attribute\n
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for\n <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>\n <p>Use the <b>:</b> (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the\n <i>ProductStatus</i> attribute was one of the following: </p>\n <p>\n <code>Available | Backordered | Discontinued</code>\n </p>\n <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>\n <p>\n <code>{ \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }</code>\n </p>\n <p>You could then use these values in an expression, such as this:</p>\n <p>\n <code>ProductStatus IN (:avail, :back, :disc)</code>\n </p>\n <p>For more information on expression attribute values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>Query</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#QueryOutput": {
"type": "structure",
"members": {
"Items": {
"target": "com.amazonaws.dynamodb#ItemList",
"traits": {
"smithy.api#documentation": "<p>An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>"
}
},
"Count": {
"target": "com.amazonaws.dynamodb#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of items in the response.</p>\n <p>If you used a <code>QueryFilter</code> in the request, then <code>Count</code> is the number of items\n returned after the filter was applied, and <code>ScannedCount</code> is the number of\n matching items before the filter was applied.</p>\n <p>If you did not use a filter in the request, then <code>Count</code> and <code>ScannedCount</code> are the\n same.</p>"
}
},
"ScannedCount": {
"target": "com.amazonaws.dynamodb#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of items evaluated, before any <code>QueryFilter</code> is applied. A high\n <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient\n <code>Query</code> operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count\">Count and ScannedCount</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as\n <code>Count</code>.</p>"
}
},
"LastEvaluatedKey": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.</p>\n <p>If <code>LastEvaluatedKey</code> is empty, then the \"last page\" of results has been processed and there is no more data to be retrieved.</p>\n <p>If <code>LastEvaluatedKey</code> is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when <code>LastEvaluatedKey</code> is empty.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>Query</code> operation. The data returned\n includes the total provisioned throughput consumed, along with statistics for the table\n and any indexes involved in the operation. <code>ConsumedCapacity</code> is only\n returned if the <code>ReturnConsumedCapacity</code> parameter was specified. For more\n information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Provisioned Throughput</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>Query</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#RegionName": {
"type": "string"
},
"com.amazonaws.dynamodb#Replica": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the replica needs to be created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a replica.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified replica is already part of the global table.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ReplicaAutoScalingDescription": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the replica exists.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Replica-specific global secondary index auto scaling settings.</p>"
}
},
"ReplicaProvisionedReadCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription"
},
"ReplicaProvisionedWriteCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription"
},
"ReplicaStatus": {
"target": "com.amazonaws.dynamodb#ReplicaStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the replica:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The replica is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The replica is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The replica is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The replica is ready for use.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of the replica.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaAutoScalingDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaAutoScalingDescription"
}
},
"com.amazonaws.dynamodb#ReplicaAutoScalingUpdate": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the replica exists.</p>",
"smithy.api#required": {}
}
},
"ReplicaGlobalSecondaryIndexUpdates": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of global secondary indexes that will\n be modified.</p>"
}
},
"ReplicaProvisionedReadCapacityAutoScalingUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of a replica that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaAutoScalingUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaAutoScalingUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#ReplicaDescription": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The name of the Region.</p>"
}
},
"ReplicaStatus": {
"target": "com.amazonaws.dynamodb#ReplicaStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the replica:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The replica is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The replica is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The replica is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The replica is ready for use.</p>\n </li>\n <li>\n <p>\n <code>REGION_DISABLED</code> - The replica is inaccessible because the AWS Region has been disabled.</p>\n <note>\n <p>If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.</p>\n </note>\n </li>\n <li> \n <p>\n <code>INACCESSIBLE_ENCRYPTION_CREDENTIALS </code> - The AWS KMS key used to encrypt the table is inaccessible.</p>\n <note>\n <p>If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.</p>\n </note>\n </li>\n </ul>"
}
},
"ReplicaStatusDescription": {
"target": "com.amazonaws.dynamodb#ReplicaStatusDescription",
"traits": {
"smithy.api#documentation": "<p>Detailed information about the replica status.</p>"
}
},
"ReplicaStatusPercentProgress": {
"target": "com.amazonaws.dynamodb#ReplicaStatusPercentProgress",
"traits": {
"smithy.api#documentation": "<p>Specifies the progress of a Create, Update, or Delete action on the replica\n as a percentage.</p>"
}
},
"KMSMasterKeyId": {
"target": "com.amazonaws.dynamodb#KMSMasterKeyId",
"traits": {
"smithy.api#documentation": "<p>The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS\n encryption.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride",
"traits": {
"smithy.api#documentation": "<p>Replica-specific provisioned throughput. If not described, uses the source table's\n provisioned throughput settings.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Replica-specific global secondary index settings.</p>"
}
},
"ReplicaInaccessibleDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the <code>ReplicaStatus</code> property.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the details of the replica.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaDescription"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndex": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>",
"smithy.api#required": {}
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride",
"traits": {
"smithy.api#documentation": "<p>Replica table GSI-specific provisioned throughput. If not specified, uses the\n source table GSI's read capacity settings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a replica global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingDescription": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"IndexStatus": {
"target": "com.amazonaws.dynamodb#IndexStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the replica global secondary index:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The index is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The index is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The index is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The index is ready for use.</p>\n </li>\n </ul>"
}
},
"ProvisionedReadCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription"
},
"ProvisionedWriteCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling configuration for a replica global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingDescription"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdate": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"ProvisionedReadCapacityAutoScalingUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate"
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of a global secondary index for a replica\n that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdate"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexDescription": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride",
"traits": {
"smithy.api#documentation": "<p>If not described, uses the source table GSI's read capacity settings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a replica global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexDescription"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndex"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsDescription": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index. The name must be unique among all other indexes on this table.</p>",
"smithy.api#required": {}
}
},
"IndexStatus": {
"target": "com.amazonaws.dynamodb#IndexStatus",
"traits": {
"smithy.api#documentation": "<p>\n The current status of the global secondary index:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The global secondary index is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The global secondary index is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The global secondary index is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The global secondary index is ready for use.</p>\n </li>\n </ul>"
}
},
"ProvisionedReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB returns a <code>ThrottlingException</code>.</p>"
}
},
"ProvisionedReadCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for a global secondary index replica's read capacity units.</p>"
}
},
"ProvisionedWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a <code>ThrottlingException</code>.</p>"
}
},
"ProvisionedWriteCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for a global secondary index replica's write capacity\n units.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsDescription"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdate": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index. The name must be unique among all other indexes on this table.</p>",
"smithy.api#required": {}
}
},
"ProvisionedReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB returns a <code>ThrottlingException</code>.</p>"
}
},
"ProvisionedReadCapacityAutoScalingSettingsUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for managing a global secondary index replica's read capacity\n units.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings of a global secondary index for a global table that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20
}
}
},
"com.amazonaws.dynamodb#ReplicaList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#Replica"
}
},
"com.amazonaws.dynamodb#ReplicaNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The specified replica is no longer part of the global table.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ReplicaSettingsDescription": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region name of the replica.</p>",
"smithy.api#required": {}
}
},
"ReplicaStatus": {
"target": "com.amazonaws.dynamodb#ReplicaStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the Region:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The Region is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The Region is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The Region is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The Region is ready for use.</p>\n </li>\n </ul>"
}
},
"ReplicaBillingModeSummary": {
"target": "com.amazonaws.dynamodb#BillingModeSummary",
"traits": {
"smithy.api#documentation": "<p>The read/write capacity mode of the replica.</p>"
}
},
"ReplicaProvisionedReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#NonNegativeLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB returns a <code>ThrottlingException</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput\">Specifying Read and Write\n Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.\n </p>"
}
},
"ReplicaProvisionedReadCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for a global table replica's read capacity units.</p>"
}
},
"ReplicaProvisionedWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#NonNegativeLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a <code>ThrottlingException</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput\">Specifying Read and Write\n Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ReplicaProvisionedWriteCapacityAutoScalingSettings": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for a global table replica's write capacity units.</p>"
}
},
"ReplicaGlobalSecondaryIndexSettings": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Replica global secondary index settings for the global table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a replica.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaSettingsDescriptionList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaSettingsDescription"
}
},
"com.amazonaws.dynamodb#ReplicaSettingsUpdate": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region of the replica to be added.</p>",
"smithy.api#required": {}
}
},
"ReplicaProvisionedReadCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of strongly consistent reads consumed per second before DynamoDB returns a <code>ThrottlingException</code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput\">Specifying Read and Write\n Requirements</a> in the <i>Amazon DynamoDB Developer Guide</i>.\n </p>"
}
},
"ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for managing a global table replica's read capacity units.</p>"
}
},
"ReplicaGlobalSecondaryIndexSettingsUpdate": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the settings of a global secondary index for a global table that will be modified.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings for a global table in a Region that will be modified.</p>"
}
},
"com.amazonaws.dynamodb#ReplicaSettingsUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaSettingsUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 50
}
}
},
"com.amazonaws.dynamodb#ReplicaStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "CREATION_FAILED",
"name": "CREATION_FAILED"
},
{
"value": "UPDATING",
"name": "UPDATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "REGION_DISABLED",
"name": "REGION_DISABLED"
},
{
"value": "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
"name": "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
}
]
}
},
"com.amazonaws.dynamodb#ReplicaStatusDescription": {
"type": "string"
},
"com.amazonaws.dynamodb#ReplicaStatusPercentProgress": {
"type": "string"
},
"com.amazonaws.dynamodb#ReplicaUpdate": {
"type": "structure",
"members": {
"Create": {
"target": "com.amazonaws.dynamodb#CreateReplicaAction",
"traits": {
"smithy.api#documentation": "<p>The parameters required for creating a replica on an existing global table.</p>"
}
},
"Delete": {
"target": "com.amazonaws.dynamodb#DeleteReplicaAction",
"traits": {
"smithy.api#documentation": "<p>The name of the existing replica to be removed.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents one of the following:</p>\n <ul>\n <li>\n <p>A new replica to be added to an existing global table.</p>\n </li>\n <li>\n <p>New parameters for an existing replica.</p>\n </li>\n <li>\n <p>An existing replica to be removed from an existing global table.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#ReplicaUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicaUpdate"
}
},
"com.amazonaws.dynamodb#ReplicationGroupUpdate": {
"type": "structure",
"members": {
"Create": {
"target": "com.amazonaws.dynamodb#CreateReplicationGroupMemberAction",
"traits": {
"smithy.api#documentation": "<p>The parameters required for creating a replica for the table.</p>"
}
},
"Update": {
"target": "com.amazonaws.dynamodb#UpdateReplicationGroupMemberAction",
"traits": {
"smithy.api#documentation": "<p>The parameters required for updating a replica for the table.</p>"
}
},
"Delete": {
"target": "com.amazonaws.dynamodb#DeleteReplicationGroupMemberAction",
"traits": {
"smithy.api#documentation": "<p>The parameters required for deleting a replica for the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents one of the following:</p>\n <ul>\n <li>\n <p>A new replica to be added to an existing regional table or global table. This\n request invokes the <code>CreateTableReplica</code> action in the destination\n Region.</p>\n </li>\n <li>\n <p>New parameters for an existing replica. This request invokes the\n <code>UpdateTable</code> action in the destination Region.</p>\n </li>\n <li>\n <p>An existing replica to be deleted. The request invokes the \n <code>DeleteTableReplica</code> action in the destination Region, deleting the\n replica and all if its items in the destination Region.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#ReplicationGroupUpdateList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#ReplicationGroupUpdate"
},
"traits": {
"smithy.api#length": {
"min": 1
}
}
},
"com.amazonaws.dynamodb#RequestLimitExceeded": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Throughput exceeds the current throughput quota for your account. Please contact AWS Support at <a href=\"https://aws.amazon.com/support\">AWS Support</a> to request a quota increase.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ResourceArnString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1283
}
}
},
"com.amazonaws.dynamodb#ResourceInUseException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The resource which is being attempted to be changed is in use.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The operation conflicts with the resource's availability. For example, you attempted to\n recreate an existing table, or tried to delete a table currently in the <code>CREATING</code>\n state.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#ResourceNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage",
"traits": {
"smithy.api#documentation": "<p>The resource which is being requested does not exist.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The operation tried to access a nonexistent table or index. The resource might not be specified\n correctly, or its status might not be <code>ACTIVE</code>.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#RestoreInProgress": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#RestoreSummary": {
"type": "structure",
"members": {
"SourceBackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the backup from which the table was restored.</p>"
}
},
"SourceTableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>The ARN of the source table of the backup that is being restored.</p>"
}
},
"RestoreDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Point in time or source backup time.</p>",
"smithy.api#required": {}
}
},
"RestoreInProgress": {
"target": "com.amazonaws.dynamodb#RestoreInProgress",
"traits": {
"smithy.api#documentation": "<p>Indicates if a restore is in progress or not.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details for the restore.</p>"
}
},
"com.amazonaws.dynamodb#RestoreTableFromBackup": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#RestoreTableFromBackupInput"
},
"output": {
"target": "com.amazonaws.dynamodb#RestoreTableFromBackupOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#BackupInUseException"
},
{
"target": "com.amazonaws.dynamodb#BackupNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#TableAlreadyExistsException"
},
{
"target": "com.amazonaws.dynamodb#TableInUseException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores\n (any type of restore) in a given account.\n </p>\n <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p>\n <p>You must manually set up the following on the restored table:</p>\n <ul>\n <li>\n <p>Auto scaling policies</p>\n </li>\n <li>\n <p>IAM policies</p>\n </li>\n <li>\n <p>Amazon CloudWatch metrics and alarms</p>\n </li>\n <li>\n <p>Tags</p>\n </li>\n <li>\n <p>Stream settings</p>\n </li>\n <li>\n <p>Time to Live (TTL) settings</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#RestoreTableFromBackupInput": {
"type": "structure",
"members": {
"TargetTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the new table to which the backup must be restored.</p>",
"smithy.api#required": {}
}
},
"BackupArn": {
"target": "com.amazonaws.dynamodb#BackupArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the backup.</p>",
"smithy.api#required": {}
}
},
"BillingModeOverride": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>The billing mode of the restored table.</p>"
}
},
"GlobalSecondaryIndexOverride": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>List of global secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.</p>"
}
},
"LocalSecondaryIndexOverride": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>List of local secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Provisioned throughput settings for the restored table.</p>"
}
},
"SSESpecificationOverride": {
"target": "com.amazonaws.dynamodb#SSESpecification",
"traits": {
"smithy.api#documentation": "<p>The new server-side encryption settings for the restored table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#RestoreTableFromBackupOutput": {
"type": "structure",
"members": {
"TableDescription": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the table created from an existing backup.</p>"
}
}
}
},
"com.amazonaws.dynamodb#RestoreTableToPointInTime": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#RestoreTableToPointInTimeInput"
},
"output": {
"target": "com.amazonaws.dynamodb#RestoreTableToPointInTimeOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#InvalidRestoreTimeException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#PointInTimeRecoveryUnavailableException"
},
{
"target": "com.amazonaws.dynamodb#TableAlreadyExistsException"
},
{
"target": "com.amazonaws.dynamodb#TableInUseException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Restores the specified table to the specified point in time within\n <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.\n You can restore your table to any point in time during the last 35 days.\n Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.\n </p>\n <p>\n When you restore using point in time recovery, DynamoDB restores your table data to the state based on\n the selected date and time (day:hour:minute:second) to a new table.\n </p>\n <p>\n Along with data, the following are also included on the new restored table using point in time recovery:\n </p>\n <ul>\n <li>\n <p>Global secondary indexes (GSIs)</p>\n </li>\n <li>\n <p>Local secondary indexes (LSIs)</p>\n </li>\n <li>\n <p>Provisioned read and write capacity</p>\n </li>\n <li>\n <p>Encryption settings</p>\n <important>\n <p>\n All these settings come from the current settings of the source table at the time of restore.\n </p>\n </important>\n </li>\n </ul>\n\n <p>You must manually set up the following on the restored table:</p>\n <ul>\n <li>\n <p>Auto scaling policies</p>\n </li>\n <li>\n <p>IAM policies</p>\n </li>\n <li>\n <p>Amazon CloudWatch metrics and alarms</p>\n </li>\n <li>\n <p>Tags</p>\n </li>\n <li>\n <p>Stream settings</p>\n </li>\n <li>\n <p>Time to Live (TTL) settings</p>\n </li>\n <li>\n <p>Point in time recovery settings</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#RestoreTableToPointInTimeInput": {
"type": "structure",
"members": {
"SourceTableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>The DynamoDB table that will be restored. This value is an Amazon\n Resource Name (ARN).</p>"
}
},
"SourceTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the source table that is being restored.</p>"
}
},
"TargetTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the new table to which it must be restored to.</p>",
"smithy.api#required": {}
}
},
"UseLatestRestorableTime": {
"target": "com.amazonaws.dynamodb#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>Restore the table to the latest possible time. <code>LatestRestorableDateTime</code>\n is typically 5 minutes before the current time. </p>"
}
},
"RestoreDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Time in the past to restore the table to.</p>"
}
},
"BillingModeOverride": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>The billing mode of the restored table.</p>"
}
},
"GlobalSecondaryIndexOverride": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>List of global secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.</p>"
}
},
"LocalSecondaryIndexOverride": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>List of local secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Provisioned throughput settings for the restored table.</p>"
}
},
"SSESpecificationOverride": {
"target": "com.amazonaws.dynamodb#SSESpecification",
"traits": {
"smithy.api#documentation": "<p>The new server-side encryption settings for the restored table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#RestoreTableToPointInTimeOutput": {
"type": "structure",
"members": {
"TableDescription": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#ReturnConsumedCapacity": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>Determines the level of detail about provisioned throughput consumption that is returned in the response:</p>\n <ul>\n <li>\n <p>\n <code>INDEXES</code> - The response includes the aggregate <code>ConsumedCapacity</code> for the operation, together with <code>ConsumedCapacity</code> for each table and secondary index that was accessed.</p>\n <p>Note that some operations, such as <code>GetItem</code> and <code>BatchGetItem</code>, do not access any indexes at all. In these cases, specifying <code>INDEXES</code> will only return <code>ConsumedCapacity</code> information for table(s).</p>\n </li>\n <li>\n <p>\n <code>TOTAL</code> - The response includes only the aggregate <code>ConsumedCapacity</code> for the operation.</p>\n </li>\n <li>\n <p>\n <code>NONE</code> - No <code>ConsumedCapacity</code> details are included in the response.</p>\n </li>\n </ul>",
"smithy.api#enum": [
{
"value": "INDEXES",
"name": "INDEXES"
},
{
"value": "TOTAL",
"name": "TOTAL"
},
{
"value": "NONE",
"name": "NONE"
}
]
}
},
"com.amazonaws.dynamodb#ReturnItemCollectionMetrics": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "SIZE",
"name": "SIZE"
},
{
"value": "NONE",
"name": "NONE"
}
]
}
},
"com.amazonaws.dynamodb#ReturnValue": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NONE",
"name": "NONE"
},
{
"value": "ALL_OLD",
"name": "ALL_OLD"
},
{
"value": "UPDATED_OLD",
"name": "UPDATED_OLD"
},
{
"value": "ALL_NEW",
"name": "ALL_NEW"
},
{
"value": "UPDATED_NEW",
"name": "UPDATED_NEW"
}
]
}
},
"com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL_OLD",
"name": "ALL_OLD"
},
{
"value": "NONE",
"name": "NONE"
}
]
}
},
"com.amazonaws.dynamodb#S3Bucket": {
"type": "string"
},
"com.amazonaws.dynamodb#S3BucketOwner": {
"type": "string"
},
"com.amazonaws.dynamodb#S3Prefix": {
"type": "string"
},
"com.amazonaws.dynamodb#S3SseAlgorithm": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AES256",
"name": "AES256"
},
{
"value": "KMS",
"name": "KMS"
}
]
}
},
"com.amazonaws.dynamodb#S3SseKmsKeyId": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
}
}
},
"com.amazonaws.dynamodb#SSEDescription": {
"type": "structure",
"members": {
"Status": {
"target": "com.amazonaws.dynamodb#SSEStatus",
"traits": {
"smithy.api#documentation": "<p>Represents the current state of server-side encryption. The only supported values are:</p>\n <ul>\n <li>\n <p>\n <code>ENABLED</code> - Server-side encryption is enabled.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - Server-side encryption is being updated.</p>\n </li>\n </ul>"
}
},
"SSEType": {
"target": "com.amazonaws.dynamodb#SSEType",
"traits": {
"smithy.api#documentation": "<p>Server-side encryption type. The only supported value is:</p>\n <ul>\n <li>\n <p>\n <code>KMS</code> - Server-side encryption that uses AWS Key Management Service. The\n key is stored in your account and is managed by AWS KMS (AWS KMS charges\n apply).</p>\n </li>\n </ul>"
}
},
"KMSMasterKeyArn": {
"target": "com.amazonaws.dynamodb#KMSMasterKeyArn",
"traits": {
"smithy.api#documentation": "<p>The AWS KMS customer master key (CMK) ARN used for the AWS KMS encryption.</p>"
}
},
"InaccessibleEncryptionDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's\n AWS KMS key was inaccessible. This attribute will automatically be cleared when DynamoDB\n detects that the table's AWS KMS key is accessible again. DynamoDB will initiate the table\n archival process when table's AWS KMS key remains inaccessible for more than seven days\n from this date.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The description of the server-side encryption status on the specified table.</p>"
}
},
"com.amazonaws.dynamodb#SSEEnabled": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#SSESpecification": {
"type": "structure",
"members": {
"Enabled": {
"target": "com.amazonaws.dynamodb#SSEEnabled",
"traits": {
"smithy.api#documentation": "<p>Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true),\n server-side encryption type is set to <code>KMS</code> and an AWS managed CMK is used (AWS KMS charges apply). If disabled (false) or not specified, server-side\nencryption is set to AWS owned CMK.</p>"
}
},
"SSEType": {
"target": "com.amazonaws.dynamodb#SSEType",
"traits": {
"smithy.api#documentation": "<p>Server-side encryption type. The only supported value is:</p>\n <ul>\n <li>\n <p>\n <code>KMS</code> - Server-side encryption that uses AWS Key Management Service. The\n key is stored in your account and is managed by AWS KMS (AWS KMS charges\n apply).</p>\n </li>\n </ul>"
}
},
"KMSMasterKeyId": {
"target": "com.amazonaws.dynamodb#KMSMasterKeyId",
"traits": {
"smithy.api#documentation": "<p>The AWS KMS customer master key (CMK) that should be used for the AWS KMS encryption. To\n specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note\n that you should only provide this parameter if the key is different from the default\n DynamoDB customer master key alias/aws/dynamodb.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable server-side encryption.</p>"
}
},
"com.amazonaws.dynamodb#SSEStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLING",
"name": "ENABLING"
},
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLING",
"name": "DISABLING"
},
{
"value": "DISABLED",
"name": "DISABLED"
},
{
"value": "UPDATING",
"name": "UPDATING"
}
]
}
},
"com.amazonaws.dynamodb#SSEType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "AES256",
"name": "AES256"
},
{
"value": "KMS",
"name": "KMS"
}
]
}
},
"com.amazonaws.dynamodb#ScalarAttributeType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "S",
"name": "S"
},
{
"value": "N",
"name": "N"
},
{
"value": "B",
"name": "B"
}
]
}
},
"com.amazonaws.dynamodb#Scan": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#ScanInput"
},
"output": {
"target": "com.amazonaws.dynamodb#ScanOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every\n item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p>\n <p>If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the\n scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value\n to continue the scan in a subsequent operation. The results also include the number of\n items exceeding the limit. A scan can result in no table data meeting the filter\n criteria. </p>\n <p>A single <code>Scan</code> operation reads up to the maximum number of items set (if\n using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any\n filtering to the results using <code>FilterExpression</code>. If\n <code>LastEvaluatedKey</code> is present in the response, you need to paginate the\n result set. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination\">Paginating the\n Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>\n <p>\n <code>Scan</code> operations proceed sequentially; however, for faster performance on\n a large table or secondary index, applications can request a parallel <code>Scan</code>\n operation by providing the <code>Segment</code> and <code>TotalSegments</code>\n parameters. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan\">Parallel\n Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>\n <code>Scan</code> uses eventually consistent reads when accessing the data in a\n table; therefore, the result set might not include the changes to data in the table\n immediately before the operation began. If you need a consistent copy of the data, as of\n the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code>\n parameter to <code>true</code>.</p>",
"smithy.api#paginated": {
"inputToken": "ExclusiveStartKey",
"outputToken": "LastEvaluatedKey",
"items": "Items",
"pageSize": "Limit"
},
"smithy.api#suppress": [
"PaginatedTrait"
]
}
},
"com.amazonaws.dynamodb#ScanInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table containing the requested items; or, if you provide\n <code>IndexName</code>, the name of the table to which that index belongs.</p>",
"smithy.api#required": {}
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of a secondary index to scan. This index can be any local secondary index or global secondary index. Note that if you use the <code>IndexName</code> parameter, you must also provide <code>TableName</code>.</p>"
}
},
"AttributesToGet": {
"target": "com.amazonaws.dynamodb#AttributeNameList",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ProjectionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html\">AttributesToGet</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"Limit": {
"target": "com.amazonaws.dynamodb#PositiveIntegerObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of items to evaluate (not necessarily the number of matching items).\n If DynamoDB processes the number of items up to the limit while processing the results,\n it stops the operation and returns the matching values up to that point, and a key in\n <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent\n operation to continue the operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html\">Working with Queries</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"Select": {
"target": "com.amazonaws.dynamodb#Select",
"traits": {
"smithy.api#documentation": "<p>The attributes to be returned in the\n result. You can retrieve all item attributes, specific item attributes, the count of\n matching items, or in the case of an index, some or all of the attributes projected into\n the index.</p>\n <ul>\n <li>\n <p>\n <code>ALL_ATTRIBUTES</code> - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.</p>\n </li>\n <li>\n <p>\n <code>ALL_PROJECTED_ATTRIBUTES</code> - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the\n index is configured to project all attributes, this return value is\n equivalent to specifying <code>ALL_ATTRIBUTES</code>.</p>\n </li>\n <li>\n <p>\n <code>COUNT</code> - Returns the number of matching items, rather than the\n matching items themselves.</p>\n </li>\n <li>\n <p>\n <code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in\n <code>AttributesToGet</code>. This return value is equivalent to\n specifying <code>AttributesToGet</code> without specifying any value\n for <code>Select</code>.</p>\n <p>If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation reads only the index and not the\n table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.</p>\n <p>If you query or scan a global secondary index, you can only request\n attributes that are projected into the index. Global secondary index queries\n cannot fetch attributes from the parent table.</p>\n </li>\n </ul>\n <p>If neither <code>Select</code> nor <code>AttributesToGet</code>\n are specified, DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a\n table, and <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot\n use both <code>Select</code> and <code>AttributesToGet</code>\n together in a single request, unless the value for <code>Select</code> is\n <code>SPECIFIC_ATTRIBUTES</code>. (This usage is equivalent to specifying\n <code>AttributesToGet</code> without any value for\n <code>Select</code>.)</p>\n <note>\n <p>If you use the <code>ProjectionExpression</code> parameter, then\n the value for <code>Select</code> can only be\n <code>SPECIFIC_ATTRIBUTES</code>. Any other value for\n <code>Select</code> will return an error.</p>\n </note>"
}
},
"ScanFilter": {
"target": "com.amazonaws.dynamodb#FilterConditionMap",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html\">ScanFilter</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConditionalOperator": {
"target": "com.amazonaws.dynamodb#ConditionalOperator",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>FilterExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html\">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ExclusiveStartKey": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the first item that this operation will evaluate. Use the value that was returned for <code>LastEvaluatedKey</code> in the previous operation.</p>\n <p>The data type for <code>ExclusiveStartKey</code> must be String, Number or Binary. No set data types are allowed.</p>\n <p>In a parallel scan, a\n <code>Scan</code> request that includes <code>ExclusiveStartKey</code> must specify the same segment\n whose previous <code>Scan</code> returned the corresponding value of <code>LastEvaluatedKey</code>.</p>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"TotalSegments": {
"target": "com.amazonaws.dynamodb#ScanTotalSegments",
"traits": {
"smithy.api#documentation": "<p>For a parallel <code>Scan</code> request, <code>TotalSegments</code> represents the total number of\n segments into which the <code>Scan</code> operation will be divided. The value of\n <code>TotalSegments</code> corresponds to the number of application workers that will perform the\n parallel scan. For example, if you want to use four application threads to scan a table or an index,\n specify a <code>TotalSegments</code> value of 4.</p>\n <p>The value for <code>TotalSegments</code> must be greater than or equal to 1, and less than or equal\n to 1000000. If you specify a <code>TotalSegments</code> value of 1, the <code>Scan</code> operation will\n be sequential rather than parallel.</p>\n <p>If you specify <code>TotalSegments</code>, you must also specify <code>Segment</code>.</p>"
}
},
"Segment": {
"target": "com.amazonaws.dynamodb#ScanSegment",
"traits": {
"smithy.api#documentation": "<p>For a parallel <code>Scan</code> request, <code>Segment</code> identifies an individual segment to be\n scanned by an application worker.</p>\n <p>Segment IDs are zero-based, so the first segment is always 0. For example, if you want to\n use four application threads to scan a table or an index, then the first thread specifies a <code>Segment</code> value\n of 0, the second thread specifies 1, and so on.</p>\n <p>The value of <code>LastEvaluatedKey</code> returned from a parallel <code>Scan</code> request must be\n used as <code>ExclusiveStartKey</code> with the same segment ID in a subsequent <code>Scan</code>\n operation.</p>\n <p>The value for <code>Segment</code> must be greater than or equal to 0, and less than the value\n provided for <code>TotalSegments</code>.</p>\n <p>If you provide <code>Segment</code>, you must also provide <code>TotalSegments</code>.</p>"
}
},
"ProjectionExpression": {
"target": "com.amazonaws.dynamodb#ProjectionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that identifies one or more attributes to retrieve from the specified table or index. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.</p>\n <p>If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"FilterExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A string that contains conditions that DynamoDB applies after the <code>Scan</code> operation, but\n before the data is returned to you. Items that do not satisfy the <code>FilterExpression</code>\n criteria are not returned.</p>\n <note>\n <p>A <code>FilterExpression</code> is applied after the items have already been read; the process of\n filtering does not consume any additional read capacity units.</p>\n </note>\n <p>For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults\">Filter Expressions</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer Guide</i>). To work around this, you could specify the following for <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information on expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>\n <p>Use the <b>:</b> (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the <code>ProductStatus</code> attribute was one of the following: </p>\n <p>\n <code>Available | Backordered | Discontinued</code>\n </p>\n <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>\n <p>\n <code>{ \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }</code>\n </p>\n <p>You could then use these values in an expression, such as this:</p>\n <p>\n <code>ProductStatus IN (:avail, :back, :disc)</code>\n </p>\n <p>For more information on expression attribute values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ConsistentRead": {
"target": "com.amazonaws.dynamodb#ConsistentRead",
"traits": {
"smithy.api#documentation": "<p>A Boolean value that determines the read consistency model during the scan:</p>\n <ul>\n <li>\n <p>If <code>ConsistentRead</code> is <code>false</code>, then the data returned from\n <code>Scan</code> might not contain the results from other recently\n completed write operations (<code>PutItem</code>, <code>UpdateItem</code>, or\n <code>DeleteItem</code>).</p>\n </li>\n <li>\n <p>If <code>ConsistentRead</code> is <code>true</code>, then all of the write operations that completed before the <code>Scan</code> began are guaranteed to be contained in the <code>Scan</code> response.</p>\n </li>\n </ul>\n <p>The default setting for <code>ConsistentRead</code> is <code>false</code>.</p>\n <p>The <code>ConsistentRead</code> parameter is not supported on global secondary indexes. If you scan a global secondary index with <code>ConsistentRead</code> set to true, you will receive a <code>ValidationException</code>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of a <code>Scan</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#ScanOutput": {
"type": "structure",
"members": {
"Items": {
"target": "com.amazonaws.dynamodb#ItemList",
"traits": {
"smithy.api#documentation": "<p>An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute.</p>"
}
},
"Count": {
"target": "com.amazonaws.dynamodb#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of items in the response.</p>\n <p>If you set <code>ScanFilter</code> in the request, then <code>Count</code> is the number of items\n returned after the filter was applied, and <code>ScannedCount</code> is the number of matching items\n before the filter was applied.</p>\n <p>If you did not use a filter in the request, then <code>Count</code> is the same as\n <code>ScannedCount</code>.</p>"
}
},
"ScannedCount": {
"target": "com.amazonaws.dynamodb#Integer",
"traits": {
"smithy.api#documentation": "<p>The number of items evaluated, before any <code>ScanFilter</code> is applied. A high\n <code>ScannedCount</code> value with few, or no, <code>Count</code> results indicates an inefficient\n <code>Scan</code> operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count\">Count and ScannedCount</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>\n <p>If you did not use a filter in the request, then <code>ScannedCount</code> is the same as\n <code>Count</code>.</p>"
}
},
"LastEvaluatedKey": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item where the operation stopped, inclusive of the previous\n result set. Use this value to start a new operation, excluding this value in the new\n request.</p>\n <p>If <code>LastEvaluatedKey</code> is empty, then the \"last page\" of results\n has been processed and there is no more data to be retrieved.</p>\n <p>If <code>LastEvaluatedKey</code> is not empty, it does not necessarily mean\n that there is more data in the result set. The only way to know when you have reached\n the end of the result set is when <code>LastEvaluatedKey</code> is\n empty.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>Scan</code> operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Provisioned\n Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of a <code>Scan</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#ScanSegment": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 0,
"max": 999999
}
}
},
"com.amazonaws.dynamodb#ScanTotalSegments": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 1000000
}
}
},
"com.amazonaws.dynamodb#SecondaryIndexesCapacityMap": {
"type": "map",
"key": {
"target": "com.amazonaws.dynamodb#IndexName"
},
"value": {
"target": "com.amazonaws.dynamodb#Capacity"
}
},
"com.amazonaws.dynamodb#Select": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ALL_ATTRIBUTES",
"name": "ALL_ATTRIBUTES"
},
{
"value": "ALL_PROJECTED_ATTRIBUTES",
"name": "ALL_PROJECTED_ATTRIBUTES"
},
{
"value": "SPECIFIC_ATTRIBUTES",
"name": "SPECIFIC_ATTRIBUTES"
},
{
"value": "COUNT",
"name": "COUNT"
}
]
}
},
"com.amazonaws.dynamodb#SourceTableDetails": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table for which the backup was created. </p>",
"smithy.api#required": {}
}
},
"TableId": {
"target": "com.amazonaws.dynamodb#TableId",
"traits": {
"smithy.api#documentation": "<p>Unique identifier for the table for which the backup was created. </p>",
"smithy.api#required": {}
}
},
"TableArn": {
"target": "com.amazonaws.dynamodb#TableArn",
"traits": {
"smithy.api#documentation": "<p>ARN of the table for which backup was created. </p>"
}
},
"TableSizeBytes": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>Size of the table in bytes. Note that this is an approximate value.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>Schema of the table. </p>",
"smithy.api#required": {}
}
},
"TableCreationDateTime": {
"target": "com.amazonaws.dynamodb#TableCreationDateTime",
"traits": {
"smithy.api#documentation": "<p>Time when the source table was created. </p>",
"smithy.api#required": {}
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Read IOPs and Write IOPS on the table when the backup was created.</p>",
"smithy.api#required": {}
}
},
"ItemCount": {
"target": "com.amazonaws.dynamodb#ItemCount",
"traits": {
"smithy.api#documentation": "<p>Number of items in the table. Note that this is an approximate value. </p>"
}
},
"BillingMode": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.</p>\n <ul>\n <li>\n <p>\n <code>PROVISIONED</code> - Sets the read/write capacity mode to <code>PROVISIONED</code>. We recommend using <code>PROVISIONED</code> for predictable workloads.</p>\n </li>\n <li>\n <p>\n <code>PAY_PER_REQUEST</code> - Sets the read/write capacity mode to <code>PAY_PER_REQUEST</code>. We recommend using <code>PAY_PER_REQUEST</code> for unpredictable workloads.\n </p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the details of the table when the backup was created. </p>"
}
},
"com.amazonaws.dynamodb#SourceTableFeatureDetails": {
"type": "structure",
"members": {
"LocalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexes",
"traits": {
"smithy.api#documentation": "<p>Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup. </p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexes",
"traits": {
"smithy.api#documentation": "<p>Represents the GSI properties for the table when the backup was created. It includes the\n IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the table at\n the time of backup. </p>"
}
},
"StreamDescription": {
"target": "com.amazonaws.dynamodb#StreamSpecification",
"traits": {
"smithy.api#documentation": "<p>Stream settings on the table when the backup was created.</p>"
}
},
"TimeToLiveDescription": {
"target": "com.amazonaws.dynamodb#TimeToLiveDescription",
"traits": {
"smithy.api#documentation": "<p>Time to Live settings on the table when the backup was created.</p>"
}
},
"SSEDescription": {
"target": "com.amazonaws.dynamodb#SSEDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the server-side encryption status on the table when the backup was created.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL. </p>"
}
},
"com.amazonaws.dynamodb#StreamArn": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 37,
"max": 1024
}
}
},
"com.amazonaws.dynamodb#StreamEnabled": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#StreamSpecification": {
"type": "structure",
"members": {
"StreamEnabled": {
"target": "com.amazonaws.dynamodb#StreamEnabled",
"traits": {
"smithy.api#documentation": "<p>Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.</p>",
"smithy.api#required": {}
}
},
"StreamViewType": {
"target": "com.amazonaws.dynamodb#StreamViewType",
"traits": {
"smithy.api#documentation": "<p>\n When an item in the table is modified, <code>StreamViewType</code>\n determines what information is written to the stream for this table. Valid values for\n <code>StreamViewType</code> are:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the key attributes of the modified item are written to the stream.</p>\n </li>\n <li>\n <p>\n <code>NEW_IMAGE</code> - The entire item, as it appears after it was modified, is written\n to the stream.</p>\n </li>\n <li>\n <p>\n <code>OLD_IMAGE</code> - The entire item, as it appeared before it was modified, is\n written to the stream.</p>\n </li>\n <li>\n <p>\n <code>NEW_AND_OLD_IMAGES</code> - Both the new and the old item images of the item are\n written to the stream.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the DynamoDB Streams configuration for a table in DynamoDB.</p>"
}
},
"com.amazonaws.dynamodb#StreamViewType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NEW_IMAGE",
"name": "NEW_IMAGE"
},
{
"value": "OLD_IMAGE",
"name": "OLD_IMAGE"
},
{
"value": "NEW_AND_OLD_IMAGES",
"name": "NEW_AND_OLD_IMAGES"
},
{
"value": "KEYS_ONLY",
"name": "KEYS_ONLY"
}
]
}
},
"com.amazonaws.dynamodb#String": {
"type": "string"
},
"com.amazonaws.dynamodb#StringAttributeValue": {
"type": "string"
},
"com.amazonaws.dynamodb#StringSetAttributeValue": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#StringAttributeValue"
}
},
"com.amazonaws.dynamodb#TableAlreadyExistsException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>A target table with the specified name already exists. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#TableArn": {
"type": "string"
},
"com.amazonaws.dynamodb#TableAutoScalingDescription": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>"
}
},
"TableStatus": {
"target": "com.amazonaws.dynamodb#TableStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the table:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The table is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The table is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The table is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The table is ready for use.</p>\n </li>\n </ul>"
}
},
"Replicas": {
"target": "com.amazonaws.dynamodb#ReplicaAutoScalingDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Represents replicas of the global table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling configuration for a global table.</p>"
}
},
"com.amazonaws.dynamodb#TableCreationDateTime": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#TableDescription": {
"type": "structure",
"members": {
"AttributeDefinitions": {
"target": "com.amazonaws.dynamodb#AttributeDefinitions",
"traits": {
"smithy.api#documentation": "<p>An array of <code>AttributeDefinition</code> objects. Each of these objects describes one attribute\n in the table and index key schema.</p>\n <p>Each <code>AttributeDefinition</code> object in this array is composed of:</p>\n <ul>\n <li>\n <p>\n <code>AttributeName</code> - The name of the attribute.</p>\n </li>\n <li>\n <p>\n <code>AttributeType</code> - The data type for the attribute.</p>\n </li>\n </ul>"
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>"
}
},
"KeySchema": {
"target": "com.amazonaws.dynamodb#KeySchema",
"traits": {
"smithy.api#documentation": "<p>The primary key structure for the table. Each <code>KeySchemaElement</code> consists of:</p>\n <ul>\n <li>\n <p>\n <code>AttributeName</code> - The name of the attribute.</p>\n </li>\n <li>\n <p>\n <code>KeyType</code> - The role of the attribute:</p>\n <ul>\n <li>\n <p>\n <code>HASH</code> - partition key</p>\n </li>\n <li>\n <p>\n <code>RANGE</code> - sort key</p>\n </li>\n </ul>\n <note>\n <p>The partition key of an item is also known as its <i>hash attribute</i>. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.</p>\n <p>The sort key of an item is also known as its <i>range attribute</i>.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.</p>\n </note>\n\n </li>\n </ul>\n <p>For more information about primary keys, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey\">Primary Key</a> in the\n <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"TableStatus": {
"target": "com.amazonaws.dynamodb#TableStatus",
"traits": {
"smithy.api#documentation": "<p>The current state of the table:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The table is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The table is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The table is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The table is ready for use.</p>\n </li>\n <li>\n <p>\n <code>INACCESSIBLE_ENCRYPTION_CREDENTIALS</code> - The AWS KMS\n key used to encrypt the table in inaccessible. Table operations\n may fail due to failure to use the AWS KMS key. DynamoDB will\n initiate the table archival process when a table's AWS KMS key\n remains inaccessible for more than seven days.\n </p>\n </li>\n <li>\n <p>\n <code>ARCHIVING</code> - The table is being archived. Operations\n are not allowed until archival is complete.\n </p>\n </li>\n <li>\n <p>\n <code>ARCHIVED</code> - The table has been archived. See the\n ArchivalReason for more information.\n </p>\n </li>\n </ul>"
}
},
"CreationDateTime": {
"target": "com.amazonaws.dynamodb#Date",
"traits": {
"smithy.api#documentation": "<p>The date and time when the table was created, in <a href=\"http://www.epochconverter.com/\">UNIX epoch time</a> format.</p>"
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputDescription",
"traits": {
"smithy.api#documentation": "<p>The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.</p>"
}
},
"TableSizeBytes": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"ItemCount": {
"target": "com.amazonaws.dynamodb#Long",
"traits": {
"smithy.api#documentation": "<p>The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.</p>"
}
},
"TableArn": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the table.</p>"
}
},
"TableId": {
"target": "com.amazonaws.dynamodb#TableId",
"traits": {
"smithy.api#documentation": "<p>Unique identifier for the table for which the backup was created. </p>"
}
},
"BillingModeSummary": {
"target": "com.amazonaws.dynamodb#BillingModeSummary",
"traits": {
"smithy.api#documentation": "<p>Contains the details for the read/write capacity mode.</p>"
}
},
"LocalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#LocalSecondaryIndexDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:</p>\n <ul>\n <li>\n <p>\n <code>IndexName</code> - The name of the local secondary index.</p>\n </li>\n <li>\n <p>\n <code>KeySchema</code> - Specifies the complete index key schema. The attribute names in the\n key schema must be between 1 and 255 characters (inclusive). The key schema must begin\n with the same partition key as the table.</p>\n </li>\n <li>\n <p>\n <code>Projection</code> - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:</p>\n <ul>\n <li>\n <p>\n <code>ProjectionType</code> - One\n of the following:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the index and primary keys are projected into the\n index.</p>\n </li>\n <li>\n <p>\n <code>INCLUDE</code> - Only the specified table attributes are projected\n into the index. The list of projected attributes is in\n <code>NonKeyAttributes</code>.</p>\n </li>\n <li>\n <p>\n <code>ALL</code> - All of the table attributes are projected into the\n index.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>NonKeyAttributes</code> - A list of one or more non-key attribute names that are\n projected into the secondary index. The total count of attributes provided in <code>NonKeyAttributes</code>, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>IndexSizeBytes</code> - Represents the total size of the index, in bytes. DynamoDB updates\n this value approximately every six hours. Recent changes might not be reflected in this\n value.</p>\n </li>\n <li>\n <p>\n <code>ItemCount</code> - Represents the number of items in the index. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this value.</p>\n </li>\n </ul>\n <p>If the table is in the <code>DELETING</code> state, no information about indexes will be\n returned.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexDescriptionList",
"traits": {
"smithy.api#documentation": "<p>The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:</p>\n <ul>\n <li>\n <p>\n <code>Backfilling</code> - If true, then the index is currently in the backfilling\n phase. Backfilling occurs only when a new global secondary index is added to the\n table. It is the process by which DynamoDB populates the new index with data from the\n table. (This attribute does not appear for indexes that were created during a\n <code>CreateTable</code> operation.) </p>\n <p> You can delete an index that is being created during the <code>Backfilling</code>\n phase when <code>IndexStatus</code> is set to CREATING and <code>Backfilling</code>\n is true. You can't delete the index that is being created when\n <code>IndexStatus</code> is set to CREATING and <code>Backfilling</code> is false.\n (This attribute does not appear for indexes that were created during a\n <code>CreateTable</code> operation.)</p>\n </li>\n <li>\n <p>\n <code>IndexName</code> - The name of the global secondary index.</p>\n </li>\n <li>\n <p>\n <code>IndexSizeBytes</code> - The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six\n hours. Recent changes might not be reflected in this value.\n </p>\n </li>\n <li>\n <p>\n <code>IndexStatus</code> - The current status of the global secondary index:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - The index is being created.</p>\n </li>\n <li>\n <p>\n <code>UPDATING</code> - The index is being updated.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The index is being deleted.</p>\n </li>\n <li>\n <p>\n <code>ACTIVE</code> - The index is ready for use.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>\n <code>ItemCount</code> - The number of items in the global secondary index. DynamoDB updates this value approximately every six\n hours. Recent changes might not be reflected in this value.\n </p>\n </li>\n <li>\n <p>\n <code>KeySchema</code> - Specifies the complete index key schema. The attribute names in the\n key schema must be between 1 and 255 characters (inclusive). The key schema must begin\n with the same partition key as the table.</p>\n </li>\n <li>\n <p>\n <code>Projection</code> - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:</p>\n <ul>\n <li>\n <p>\n <code>ProjectionType</code> - One\n of the following:</p>\n <ul>\n <li>\n <p>\n <code>KEYS_ONLY</code> - Only the index and primary keys are projected into the\n index.</p>\n </li>\n <li>\n <p>\n <code>INCLUDE</code> - In addition to the attributes described in <code>KEYS_ONLY</cod
}
},
"StreamSpecification": {
"target": "com.amazonaws.dynamodb#StreamSpecification",
"traits": {
"smithy.api#documentation": "<p>The current DynamoDB Streams configuration for the table.</p>"
}
},
"LatestStreamLabel": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>A timestamp, in ISO 8601 format, for this stream.</p>\n\n <p>Note that <code>LatestStreamLabel</code> is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:</p>\n <ul>\n <li>\n <p>AWS customer ID</p>\n </li>\n <li>\n <p>Table name</p>\n </li>\n <li>\n <p>\n <code>StreamLabel</code>\n </p>\n </li>\n </ul>"
}
},
"LatestStreamArn": {
"target": "com.amazonaws.dynamodb#StreamArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table.</p>"
}
},
"GlobalTableVersion": {
"target": "com.amazonaws.dynamodb#String",
"traits": {
"smithy.api#documentation": "<p>Represents the version of <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html\">global tables</a> in use, if the table is replicated across AWS Regions.</p>"
}
},
"Replicas": {
"target": "com.amazonaws.dynamodb#ReplicaDescriptionList",
"traits": {
"smithy.api#documentation": "<p>Represents replicas of the table.</p>"
}
},
"RestoreSummary": {
"target": "com.amazonaws.dynamodb#RestoreSummary",
"traits": {
"smithy.api#documentation": "<p>Contains details for the restore.</p>"
}
},
"SSEDescription": {
"target": "com.amazonaws.dynamodb#SSEDescription",
"traits": {
"smithy.api#documentation": "<p>The description of the server-side encryption status on the specified table.</p>"
}
},
"ArchivalSummary": {
"target": "com.amazonaws.dynamodb#ArchivalSummary",
"traits": {
"smithy.api#documentation": "<p>Contains information about the table archive.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the properties of a table.</p>"
}
},
"com.amazonaws.dynamodb#TableId": {
"type": "string",
"traits": {
"smithy.api#pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
}
},
"com.amazonaws.dynamodb#TableInUseException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>A target table with the specified name is either being created or deleted. </p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#TableName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 3,
"max": 255
},
"smithy.api#pattern": "[a-zA-Z0-9_.-]+"
}
},
"com.amazonaws.dynamodb#TableNameList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#TableName"
}
},
"com.amazonaws.dynamodb#TableNotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>A source table with the name <code>TableName</code> does not currently exist within the subscriber's account.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#TableStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "CREATING",
"name": "CREATING"
},
{
"value": "UPDATING",
"name": "UPDATING"
},
{
"value": "DELETING",
"name": "DELETING"
},
{
"value": "ACTIVE",
"name": "ACTIVE"
},
{
"value": "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
"name": "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
},
{
"value": "ARCHIVING",
"name": "ARCHIVING"
},
{
"value": "ARCHIVED",
"name": "ARCHIVED"
}
]
}
},
"com.amazonaws.dynamodb#Tag": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#TagKeyString",
"traits": {
"smithy.api#documentation": "<p>The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to\n one tag with the same key. If you try to add an existing tag (same key), the existing\n tag value will be updated to the new value. </p>",
"smithy.api#required": {}
}
},
"Value": {
"target": "com.amazonaws.dynamodb#TagValueString",
"traits": {
"smithy.api#documentation": "<p>The value of the tag. Tag values are case-sensitive and can be null.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single DynamoDB table.\n </p>\n <p> AWS-assigned tag names and values are automatically assigned the <code>aws:</code>\n prefix, which the user cannot assign. AWS-assigned tag names do not count towards the\n tag limit of 50. User-assigned tag names have the prefix <code>user:</code> in the Cost\n Allocation Report. You cannot backdate the application of a tag. </p>\n <p>For an overview on tagging DynamoDB resources, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a>\n in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#TagKeyList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#TagKeyString"
}
},
"com.amazonaws.dynamodb#TagKeyString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
}
}
},
"com.amazonaws.dynamodb#TagList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#Tag"
}
},
"com.amazonaws.dynamodb#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#TagResourceInput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these\n user-defined tags so that they appear on the Billing and Cost Management console for\n cost allocation tracking. You can call TagResource up to five times per second, per\n account. </p>\n <p>For an overview on tagging DynamoDB resources, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a>\n in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#TagResourceInput": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.dynamodb#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).</p>",
"smithy.api#required": {}
}
},
"Tags": {
"target": "com.amazonaws.dynamodb#TagList",
"traits": {
"smithy.api#documentation": "<p>The tags to be assigned to the Amazon DynamoDB resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#TagValueString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
}
}
},
"com.amazonaws.dynamodb#TimeRangeLowerBound": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#TimeRangeUpperBound": {
"type": "timestamp"
},
"com.amazonaws.dynamodb#TimeToLiveAttributeName": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
}
}
},
"com.amazonaws.dynamodb#TimeToLiveDescription": {
"type": "structure",
"members": {
"TimeToLiveStatus": {
"target": "com.amazonaws.dynamodb#TimeToLiveStatus",
"traits": {
"smithy.api#documentation": "<p> The TTL status for the table.</p>"
}
},
"AttributeName": {
"target": "com.amazonaws.dynamodb#TimeToLiveAttributeName",
"traits": {
"smithy.api#documentation": "<p> The name of the TTL attribute for items in the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The description of the Time to Live (TTL) status on the specified table. </p>"
}
},
"com.amazonaws.dynamodb#TimeToLiveEnabled": {
"type": "boolean",
"traits": {
"smithy.api#box": {}
}
},
"com.amazonaws.dynamodb#TimeToLiveSpecification": {
"type": "structure",
"members": {
"Enabled": {
"target": "com.amazonaws.dynamodb#TimeToLiveEnabled",
"traits": {
"smithy.api#documentation": "<p>Indicates whether TTL is to be enabled (true) or disabled (false) on the table.</p>",
"smithy.api#required": {}
}
},
"AttributeName": {
"target": "com.amazonaws.dynamodb#TimeToLiveAttributeName",
"traits": {
"smithy.api#documentation": "<p>The name of the TTL attribute used to store the expiration time for items in the\n table.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable or disable Time to Live (TTL) for the specified\n table.</p>"
}
},
"com.amazonaws.dynamodb#TimeToLiveStatus": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "ENABLING",
"name": "ENABLING"
},
{
"value": "DISABLING",
"name": "DISABLING"
},
{
"value": "ENABLED",
"name": "ENABLED"
},
{
"value": "DISABLED",
"name": "DISABLED"
}
]
}
},
"com.amazonaws.dynamodb#TransactGetItem": {
"type": "structure",
"members": {
"Get": {
"target": "com.amazonaws.dynamodb#Get",
"traits": {
"smithy.api#documentation": "<p>Contains the primary key that identifies the item to get, together\n with the name of the table that contains the item, and optionally\n the specific attributes of the item to retrieve.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Specifies an item to be retrieved as part of the transaction.</p>"
}
},
"com.amazonaws.dynamodb#TransactGetItemList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#TransactGetItem"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#TransactGetItems": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#TransactGetItemsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#TransactGetItemsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionCanceledException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n <code>TransactGetItems</code> is a synchronous operation that atomically retrieves\n multiple items from one or more tables (but not from indexes) in a single account and\n Region. A <code>TransactGetItems</code> call can contain up to 25\n <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>\n structure that specifies an item to retrieve from a table in the account and Region. A\n call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one\n AWS account or Region. The aggregate size of the items in the transaction cannot exceed\n 4 MB.</p>\n <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p>\n <ul>\n <li>\n <p>A conflicting operation is in the process of updating an\n item to be read.</p>\n </li>\n <li>\n <p>There is insufficient provisioned capacity for the transaction\n to be completed.</p>\n </li>\n <li>\n <p>There is a user error, such as an invalid data format.</p>\n </li>\n <li>\n <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#TransactGetItemsInput": {
"type": "structure",
"members": {
"TransactItems": {
"target": "com.amazonaws.dynamodb#TransactGetItemList",
"traits": {
"smithy.api#documentation": "<p>An ordered array of up to 25 <code>TransactGetItem</code> objects,\n each of which contains a <code>Get</code> structure.</p>",
"smithy.api#required": {}
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>A value of <code>TOTAL</code> causes consumed capacity information\n to be returned, and a value of <code>NONE</code> prevents that information\n from being returned. No other value is valid.</p>"
}
}
}
},
"com.amazonaws.dynamodb#TransactGetItemsOutput": {
"type": "structure",
"members": {
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple",
"traits": {
"smithy.api#documentation": "<p>If the <i>ReturnConsumedCapacity</i> value was <code>TOTAL</code>,\n this is an array of <code>ConsumedCapacity</code> objects, one for each table\n addressed by <code>TransactGetItem</code> objects in the <i>TransactItems</i>\n parameter. These <code>ConsumedCapacity</code> objects report the read-capacity\n units consumed by the <code>TransactGetItems</code> call in that table.</p>"
}
},
"Responses": {
"target": "com.amazonaws.dynamodb#ItemResponseList",
"traits": {
"smithy.api#documentation": "<p>An ordered array of up to 25 <code>ItemResponse</code> objects, each of which corresponds\n to the <code>TransactGetItem</code> object in the same position in the\n <i>TransactItems</i> array. Each <code>ItemResponse</code> object\n contains a Map of the name-value pairs that are the projected attributes of\n the requested item.</p>\n <p>If a requested item could not be retrieved, the corresponding <code>ItemResponse</code>\n object is Null, or if the requested item has no projected attributes, the corresponding\n <code>ItemResponse</code> object is an empty Map. </p>"
}
}
}
},
"com.amazonaws.dynamodb#TransactWriteItem": {
"type": "structure",
"members": {
"ConditionCheck": {
"target": "com.amazonaws.dynamodb#ConditionCheck",
"traits": {
"smithy.api#documentation": "<p>A request to perform a check item operation.</p>"
}
},
"Put": {
"target": "com.amazonaws.dynamodb#Put",
"traits": {
"smithy.api#documentation": "<p>A request to perform a <code>PutItem</code> operation.</p>"
}
},
"Delete": {
"target": "com.amazonaws.dynamodb#Delete",
"traits": {
"smithy.api#documentation": "<p>A request to perform a <code>DeleteItem</code> operation.</p>"
}
},
"Update": {
"target": "com.amazonaws.dynamodb#Update",
"traits": {
"smithy.api#documentation": "<p>A request to perform an <code>UpdateItem</code> operation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.</p>"
}
},
"com.amazonaws.dynamodb#TransactWriteItemList": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#TransactWriteItem"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
},
"com.amazonaws.dynamodb#TransactWriteItems": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#TransactWriteItemsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#TransactWriteItemsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#IdempotentParameterMismatchException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionCanceledException"
},
{
"target": "com.amazonaws.dynamodb#TransactionInProgressException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n <code>TransactWriteItems</code> is a synchronous write operation that groups up to 25\n action requests. These actions can target items in different tables, but not in\n different AWS accounts or Regions, and no two actions can target the same item. For\n example, you cannot both <code>ConditionCheck</code> and <code>Update</code> the same\n item. The aggregate size of the items in the transaction cannot exceed 4 MB.</p>\n \n <p>The actions are completed atomically so that either all of\n them succeed, or all of them fail. They are defined by the following objects:</p>\n\n <ul>\n <li>\n <p>\n <code>Put</code>  —   Initiates a <code>PutItem</code> operation to write a new\n item. This structure specifies the primary key of the item to be written, the\n name of the table to write it in, an optional condition expression that must be\n satisfied for the write to succeed, a list of the item's attributes, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.</p>\n </li>\n <li>\n <p>\n <code>Update</code>  —   Initiates an <code>UpdateItem</code> operation to\n update an existing item. This structure specifies the primary key of the item to\n be updated, the name of the table where it resides, an optional condition\n expression that must be satisfied for the update to succeed, an expression that\n defines one or more attributes to be updated, and a field indicating whether to\n retrieve the item's attributes if the condition is not met.</p>\n </li>\n <li>\n <p>\n <code>Delete</code>  —   Initiates a <code>DeleteItem</code> operation to\n delete an existing item. This structure specifies the primary key of the item to\n be deleted, the name of the table where it resides, an optional condition\n expression that must be satisfied for the deletion to succeed, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.</p>\n </li>\n <li>\n <p>\n <code>ConditionCheck</code>  —   Applies a condition to an item that is not\n being modified by the transaction. This structure specifies the primary key of\n the item to be checked, the name of the table where it resides, a condition\n expression that must be satisfied for the transaction to succeed, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.</p>\n </li>\n </ul>\n\n <p>DynamoDB rejects the entire <code>TransactWriteItems</code> request if any of the following is true:</p>\n <ul>\n <li>\n <p>A condition in one of the condition expressions is not met.</p>\n </li>\n <li>\n <p>An ongoing operation is in the process of updating the same\n item.</p>\n </li>\n <li>\n <p>There is insufficient provisioned capacity for the transaction\n to be completed.</p>\n </li>\n <li>\n <p>An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too\n large, or a similar validation error occurs because of changes made by the\n transaction.</p>\n </li>\n <li>\n <p>The aggregate size of the items in the transaction exceeds 4 MB.</p>\n </li>\n <li>\n
}
},
"com.amazonaws.dynamodb#TransactWriteItemsInput": {
"type": "structure",
"members": {
"TransactItems": {
"target": "com.amazonaws.dynamodb#TransactWriteItemList",
"traits": {
"smithy.api#documentation": "<p>An ordered array of up to 25 <code>TransactWriteItem</code> objects, each of which\n contains a <code>ConditionCheck</code>, <code>Put</code>, <code>Update</code>, or\n <code>Delete</code> object. These can operate on items in different tables, but the\n tables must reside in the same AWS account and Region, and no two of them can operate on\n the same item. </p>",
"smithy.api#required": {}
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ReturnItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Determines whether item collection metrics are returned. If set to\n <code>SIZE</code>, the response includes statistics about item collections (if any), that\n were modified during the operation and are returned in the response.\n If set to <code>NONE</code> (the default), no statistics are returned.\n </p>"
}
},
"ClientRequestToken": {
"target": "com.amazonaws.dynamodb#ClientRequestToken",
"traits": {
"smithy.api#documentation": "<p>Providing a <code>ClientRequestToken</code> makes the call to <code>TransactWriteItems</code>\n idempotent, meaning that multiple identical calls have the same effect as one single call.</p>\n <p>Although multiple identical calls using the same client request token produce the same\n result on the server (no side effects), the responses to the calls might not be the\n same. If the <code>ReturnConsumedCapacity></code> parameter is set, then the initial\n <code>TransactWriteItems</code> call returns the amount of write capacity units\n consumed in making the changes. Subsequent <code>TransactWriteItems</code> calls with\n the same client token return the number of read capacity units consumed in reading the\n item.</p>\n <p>A client request token is valid for 10 minutes after the first request that uses it is\n completed. After 10 minutes, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 10\n minutes, or the result might not be idempotent.</p>\n <p>If you submit a request with the same client token but a change in other parameters\n within the 10-minute idempotency window, DynamoDB returns an\n <code>IdempotentParameterMismatch</code> exception.</p>",
"smithy.api#idempotencyToken": {}
}
}
}
},
"com.amazonaws.dynamodb#TransactWriteItemsOutput": {
"type": "structure",
"members": {
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the entire <code>TransactWriteItems</code>\n operation. The values of the list are ordered according to\n the ordering of the <code>TransactItems</code> request parameter.\n </p>"
}
},
"ItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetricsPerTable",
"traits": {
"smithy.api#documentation": "<p>A list of tables that were processed by <code>TransactWriteItems</code> and, for each\n table, information about any item collections that were affected by individual\n <code>UpdateItem</code>, <code>PutItem</code>, or <code>DeleteItem</code>\n operations. </p>"
}
}
}
},
"com.amazonaws.dynamodb#TransactionCanceledException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
},
"CancellationReasons": {
"target": "com.amazonaws.dynamodb#CancellationReasonList",
"traits": {
"smithy.api#documentation": "<p>A list of cancellation reasons.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The entire transaction request was canceled.</p>\n <p>DynamoDB cancels a <code>TransactWriteItems</code> request under the following circumstances:</p>\n <ul>\n <li>\n <p>A condition in one of the condition expressions is not met.</p>\n </li>\n <li>\n <p>A table in the <code>TransactWriteItems</code> request is in a different account or region.</p>\n </li>\n <li>\n <p>More than one action in the <code>TransactWriteItems</code> operation targets the same item.</p>\n </li>\n <li>\n <p>There is insufficient provisioned capacity for the transaction to be completed.</p>\n </li>\n <li>\n <p>An item size becomes too large (larger than 400 KB), or a local secondary index (LSI)\n becomes too large, or a similar validation error occurs because of changes made by the transaction.</p>\n </li>\n <li>\n <p>There is a user error, such as an invalid data format.</p>\n </li>\n </ul>\n\n <p>DynamoDB cancels a <code>TransactGetItems</code> request under the following circumstances:</p>\n <ul>\n <li>\n <p>There is an ongoing <code>TransactGetItems</code> operation that conflicts with a concurrent\n <code>PutItem</code>, <code>UpdateItem</code>, <code>DeleteItem</code> or <code>TransactWriteItems</code> request.\n In this case the <code>TransactGetItems</code> operation fails with a <code>TransactionCanceledException</code>.</p>\n </li>\n <li>\n <p>A table in the <code>TransactGetItems</code> request is in a different account or region.</p>\n </li>\n <li>\n <p>There is insufficient provisioned capacity for the transaction to be completed.</p>\n </li>\n <li>\n <p>There is a user error, such as an invalid data format.</p>\n </li>\n </ul>\n\n <note>\n <p>If using Java, DynamoDB lists the cancellation reasons on the <code>CancellationReasons</code> property. This property is not set for other languages.\n Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have <code>NONE</code> code and <code>Null</code> message.</p>\n </note>\n <p>Cancellation reason codes and possible error messages:</p>\n <ul>\n <li>\n <p>No Errors:</p>\n <ul>\n <li>\n <p>Code: <code>NONE</code> \n </p>\n </li>\n <li>\n <p>Message: <code>null</code> \n </p>\n </li>\n </ul>\n </li>\n <li>\n <p>Conditional Check Failed:</p>\n <ul>\n <li>\n <p>Code: <code>ConditionalCheckFailed</code> \n </p>\n </li>\n <li>\n <p>Message: The conditional request failed. </p>\n </li>\n </ul>\n </li>\n <li>\n <p>Item Collection Size Limit Exceeded:</p>\n <ul>\n <li>\n <p>Code: <code>ItemCollectionSizeLimitExceeded</code> \n </p>\n </li>\n <li>\n <p>Message: Collection size exceeded.</p>\n </li>\n </ul>\n </li>\n <li>\n <p>Transaction Conflict:</p>\n <ul>\n <li>\n <p>Code: <code>TransactionConflict</code> \n </p>\n </li>\n <li>\n <p>Message: Transaction is ongoing for the item.</p>\n
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#TransactionConflictException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>Operation was rejected because there is an ongoing transaction for the item.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#TransactionInProgressException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.dynamodb#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>The transaction with the given request token is already in progress.</p>",
"smithy.api#error": "client"
}
},
"com.amazonaws.dynamodb#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UntagResourceInput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Removes the association of tags from an Amazon DynamoDB resource. You can call\n <code>UntagResource</code> up to five times per second, per account. </p>\n <p>For an overview on tagging DynamoDB resources, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html\">Tagging for DynamoDB</a>\n in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"com.amazonaws.dynamodb#UntagResourceInput": {
"type": "structure",
"members": {
"ResourceArn": {
"target": "com.amazonaws.dynamodb#ResourceArnString",
"traits": {
"smithy.api#documentation": "<p>The DynamoDB resource that the tags will be removed from. This value is an Amazon\n Resource Name (ARN).</p>",
"smithy.api#required": {}
}
},
"TagKeys": {
"target": "com.amazonaws.dynamodb#TagKeyList",
"traits": {
"smithy.api#documentation": "<p>A list of tag keys. Existing tags of the resource whose keys are members of this list\n will be removed from the DynamoDB resource.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#Update": {
"type": "structure",
"members": {
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item to be updated. Each element consists of\n an attribute name and a value for that attribute.</p>",
"smithy.api#required": {}
}
},
"UpdateExpression": {
"target": "com.amazonaws.dynamodb#UpdateExpression",
"traits": {
"smithy.api#documentation": "<p>An expression that defines one or more attributes to be updated,\n the action to be performed on them, and new value(s) for them.</p>",
"smithy.api#required": {}
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>Name of the table for the <code>UpdateItem</code> request.</p>",
"smithy.api#required": {}
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional update to\n succeed.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>"
}
},
"ReturnValuesOnConditionCheckFailure": {
"target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValuesOnConditionCheckFailure</code> to\n get the item attributes if the <code>Update</code> condition fails.\n For <code>ReturnValuesOnConditionCheckFailure</code>, the valid\n values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a request to perform an <code>UpdateItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateContinuousBackups": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateContinuousBackupsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateContinuousBackupsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ContinuousBackupsUnavailableException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n <code>UpdateContinuousBackups</code> enables or disables point in time recovery for the specified table.\n A successful <code>UpdateContinuousBackups</code> call returns the current <code>ContinuousBackupsDescription</code>.\n Continuous backups are <code>ENABLED</code> on all tables at table creation.\n If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>\n <p>\n Once continuous backups and point in time recovery are enabled, you can restore to any point in time within\n <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.\n </p>\n <p>\n <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.\n You can restore your table to any point in time during the last 35 days. </p>"
}
},
"com.amazonaws.dynamodb#UpdateContinuousBackupsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>",
"smithy.api#required": {}
}
},
"PointInTimeRecoverySpecification": {
"target": "com.amazonaws.dynamodb#PointInTimeRecoverySpecification",
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable point in time recovery.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#UpdateContinuousBackupsOutput": {
"type": "structure",
"members": {
"ContinuousBackupsDescription": {
"target": "com.amazonaws.dynamodb#ContinuousBackupsDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the continuous backups and point in time recovery settings on the table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateContributorInsights": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateContributorInsightsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateContributorInsightsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates the status for contributor insights for a specific table or index.</p>"
}
},
"com.amazonaws.dynamodb#UpdateContributorInsightsInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>",
"smithy.api#required": {}
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The global secondary index name, if applicable.</p>"
}
},
"ContributorInsightsAction": {
"target": "com.amazonaws.dynamodb#ContributorInsightsAction",
"traits": {
"smithy.api#documentation": "<p>Represents the contributor insights action.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#UpdateContributorInsightsOutput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table.</p>"
}
},
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index, if applicable.</p>"
}
},
"ContributorInsightsStatus": {
"target": "com.amazonaws.dynamodb#ContributorInsightsStatus",
"traits": {
"smithy.api#documentation": "<p>The status of contributor insights</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateExpression": {
"type": "string"
},
"com.amazonaws.dynamodb#UpdateGlobalSecondaryIndexAction": {
"type": "structure",
"members": {
"IndexName": {
"target": "com.amazonaws.dynamodb#IndexName",
"traits": {
"smithy.api#documentation": "<p>The name of the global secondary index to be updated.</p>",
"smithy.api#required": {}
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>Represents the provisioned throughput settings for the specified global secondary index.</p>\n <p>For current minimum and maximum provisioned throughput values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html\">Service, Account, and Table Quotas</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the new provisioned throughput settings to be applied to a global secondary index.</p>"
}
},
"com.amazonaws.dynamodb#UpdateGlobalTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateGlobalTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateGlobalTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#GlobalTableNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ReplicaAlreadyExistsException"
},
{
"target": "com.amazonaws.dynamodb#ReplicaNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TableNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Adds or removes replicas in the specified global table. The global table must already\n exist to be able to use this operation. Any replica to be added must be empty, have the\n same name as the global table, have the same key schema, have DynamoDB Streams enabled,\n and have the same provisioned and maximum write capacity units.</p>\n <note>\n <p>Although you can use <code>UpdateGlobalTable</code> to add replicas and remove replicas in\n a single request, for simplicity we recommend that you issue separate requests for\n adding or removing replicas.</p>\n </note>\n \t<p>\n If global secondary indexes are specified, then the following conditions must also be met:\n </p>\n <ul>\n <li>\n <p>\n The global secondary indexes must have the same name.\n </p>\n </li>\n <li>\n <p>\n The global secondary indexes must have the same hash key and sort key (if present).\n </p>\n </li>\n <li>\n <p>\n The global secondary indexes must have the same provisioned and maximum write capacity units.\n </p>\n </li>\n </ul>"
}
},
"com.amazonaws.dynamodb#UpdateGlobalTableInput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The global table name.</p>",
"smithy.api#required": {}
}
},
"ReplicaUpdates": {
"target": "com.amazonaws.dynamodb#ReplicaUpdateList",
"traits": {
"smithy.api#documentation": "<p>A list of Regions that should be added or removed from the global table.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.dynamodb#UpdateGlobalTableOutput": {
"type": "structure",
"members": {
"GlobalTableDescription": {
"target": "com.amazonaws.dynamodb#GlobalTableDescription",
"traits": {
"smithy.api#documentation": "<p>Contains the details of the global table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateGlobalTableSettings": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateGlobalTableSettingsInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateGlobalTableSettingsOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#GlobalTableNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#IndexNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ReplicaNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates settings for a global table.</p>"
}
},
"com.amazonaws.dynamodb#UpdateGlobalTableSettingsInput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table</p>",
"smithy.api#required": {}
}
},
"GlobalTableBillingMode": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>The billing mode of the global table. If <code>GlobalTableBillingMode</code> is not specified, the global table defaults to <code>PROVISIONED</code> capacity billing mode.</p>\n <ul>\n <li>\n <p>\n <code>PROVISIONED</code> - We recommend using <code>PROVISIONED</code> for predictable workloads. <code>PROVISIONED</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual\">Provisioned Mode</a>.</p>\n </li>\n <li>\n <p>\n <code>PAY_PER_REQUEST</code> - We recommend using <code>PAY_PER_REQUEST</code> for unpredictable workloads. <code>PAY_PER_REQUEST</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand\">On-Demand Mode</a>.\n </p>\n </li>\n </ul>"
}
},
"GlobalTableProvisionedWriteCapacityUnits": {
"target": "com.amazonaws.dynamodb#PositiveLongObject",
"traits": {
"smithy.api#documentation": "<p>The maximum number of writes consumed per second before DynamoDB returns a <code>ThrottlingException.</code>\n </p>"
}
},
"GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate",
"traits": {
"smithy.api#documentation": "<p>Auto scaling settings for managing provisioned write capacity for the global\n table.</p>"
}
},
"GlobalTableGlobalSecondaryIndexSettingsUpdate": {
"target": "com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the settings of a global secondary index for a global table that will be modified.</p>"
}
},
"ReplicaSettingsUpdate": {
"target": "com.amazonaws.dynamodb#ReplicaSettingsUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the settings for a global table in a Region that will be modified.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateGlobalTableSettingsOutput": {
"type": "structure",
"members": {
"GlobalTableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table.</p>"
}
},
"ReplicaSettings": {
"target": "com.amazonaws.dynamodb#ReplicaSettingsDescriptionList",
"traits": {
"smithy.api#documentation": "<p>The Region-specific settings for the global table.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateItem": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateItemInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateItemOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#ConditionalCheckFailedException"
},
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#ItemCollectionSizeLimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ProvisionedThroughputExceededException"
},
{
"target": "com.amazonaws.dynamodb#RequestLimitExceeded"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.dynamodb#TransactionConflictException"
}
],
"traits": {
"smithy.api#documentation": "<p>Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p>\n <p>You can also return the item's attribute values in the same <code>UpdateItem</code>\n operation using the <code>ReturnValues</code> parameter.</p>"
}
},
"com.amazonaws.dynamodb#UpdateItemInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table containing the item to update.</p>",
"smithy.api#required": {}
}
},
"Key": {
"target": "com.amazonaws.dynamodb#Key",
"traits": {
"smithy.api#documentation": "<p>The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.</p>\n <p>For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.</p>",
"smithy.api#required": {}
}
},
"AttributeUpdates": {
"target": "com.amazonaws.dynamodb#AttributeUpdates",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>UpdateExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html\">AttributeUpdates</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"Expected": {
"target": "com.amazonaws.dynamodb#ExpectedAttributeMap",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html\">Expected</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ConditionalOperator": {
"target": "com.amazonaws.dynamodb#ConditionalOperator",
"traits": {
"smithy.api#documentation": "<p>This is a legacy parameter. Use <code>ConditionExpression</code> instead. For more information, see\n <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html\">ConditionalOperator</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ReturnValues": {
"target": "com.amazonaws.dynamodb#ReturnValue",
"traits": {
"smithy.api#documentation": "<p>Use <code>ReturnValues</code> if you want to get the item attributes as they appear\n before or after they are updated. For <code>UpdateItem</code>, the valid values\n are:</p>\n <ul>\n <li>\n <p>\n <code>NONE</code> - If <code>ReturnValues</code> is not specified, or if its value is\n <code>NONE</code>, then nothing is returned. (This setting is the default for\n <code>ReturnValues</code>.)</p>\n </li>\n <li>\n <p>\n <code>ALL_OLD</code> - Returns all of the attributes of the item, as they appeared before the UpdateItem operation.</p>\n </li>\n <li>\n <p>\n <code>UPDATED_OLD</code> - Returns only the updated attributes, as they appeared before the UpdateItem operation.</p>\n </li>\n <li>\n <p>\n <code>ALL_NEW</code> - Returns all of the attributes of the item, as they appear after the UpdateItem operation.</p>\n </li>\n <li>\n <p>\n <code>UPDATED_NEW</code> - Returns only the updated attributes, as they appear after the UpdateItem operation.</p>\n </li>\n </ul>\n <p>There is no additional cost associated with requesting a return value aside from the\n small network and processing overhead of receiving a larger response. No read capacity\n units are consumed.</p>\n <p>The values returned are strongly consistent.</p>"
}
},
"ReturnConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ReturnConsumedCapacity"
},
"ReturnItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to <code>NONE</code> (the default), no statistics are returned.</p>"
}
},
"UpdateExpression": {
"target": "com.amazonaws.dynamodb#UpdateExpression",
"traits": {
"smithy.api#documentation": "<p>An expression that defines one or more attributes to be updated, the action to be\n performed on them, and new values for them.</p>\n <p>The following action values are available for <code>UpdateExpression</code>.</p>\n <ul>\n <li>\n <p>\n <code>SET</code> - Adds one or more attributes and values to an item. If any of\n these attributes already exist, they are replaced by the new values. You can\n also use <code>SET</code> to add or subtract from an attribute that is of type\n Number. For example: <code>SET myNum = myNum + :val</code>\n </p>\n <p>\n <code>SET</code> supports the following functions:</p>\n <ul>\n <li>\n <p>\n <code>if_not_exists (path, operand)</code> - if the item does not contain an attribute at the specified path, then <code>if_not_exists</code> evaluates to operand; otherwise, it evaluates to path. You can use this function to avoid overwriting an attribute that may already be present in the item.</p>\n </li>\n <li>\n <p>\n <code>list_append (operand, operand)</code> - evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands.</p>\n </li>\n </ul>\n <p>These function names are case-sensitive.</p>\n </li>\n <li>\n <p>\n <code>REMOVE</code> - Removes one or more attributes from an item.</p>\n </li>\n <li>\n <p>\n <code>ADD</code> - Adds the specified value to the item, if the attribute does not already exist. If the attribute does exist, then the behavior of\n <code>ADD</code> depends on the data type of the attribute:</p>\n <ul>\n <li>\n <p>If the existing attribute is a number, and if <code>Value</code> is also a number, then\n <code>Value</code> is mathematically added to the existing attribute. If <code>Value</code> is a\n negative number, then it is subtracted from the existing attribute.</p>\n <note>\n <p>If you use <code>ADD</code> to increment or decrement a number value for an item\n that doesn't exist before the update, DynamoDB uses <code>0</code> as the initial\n value.</p>\n <p>Similarly, if you use <code>ADD</code> for an existing item to increment\n or decrement an attribute value that doesn't exist before the\n update, DynamoDB uses <code>0</code> as the initial value. For\n example, suppose that the item you want to update doesn't have an\n attribute named <code>itemcount</code>, but you decide to\n <code>ADD</code> the number <code>3</code> to this attribute\n anyway. DynamoDB will create the <code>itemcount</code> attribute,\n set its initial value to <code>0</code>, and finally add\n <code>3</code> to it. The result will be a new\n <code>itemcount</code> attribute in the item, with a value of\n <code>3</code>.</p>\n </note>\n </li>\n <li>\n <p>If the existing data type is a set and if <code>Value</code> is also a set, then\n <code>Value</code> is added to the existing set. For example, if the attribute value is the set\n <code>[1,2]</code>, and the <code>ADD</
}
},
"ConditionExpression": {
"target": "com.amazonaws.dynamodb#ConditionExpression",
"traits": {
"smithy.api#documentation": "<p>A condition that must be satisfied in order for a conditional update to succeed.</p>\n <p>An expression can contain any of the following:</p>\n <ul>\n <li>\n <p>Functions: <code>attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size</code>\n </p>\n <p>These function names are case-sensitive.</p>\n </li>\n <li>\n <p>Comparison operators: <code>= | <> |\n < | > | <= | >= |\n BETWEEN | IN </code>\n </p>\n </li>\n <li>\n <p> Logical operators: <code>AND | OR | NOT</code>\n </p>\n </li>\n </ul>\n <p>For more information about condition expressions, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Specifying Conditions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeNames": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap",
"traits": {
"smithy.api#documentation": "<p>One or more substitution tokens for attribute names in an expression. The following are some use cases for using <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>To access an attribute whose name conflicts with a DynamoDB reserved word.</p>\n </li>\n <li>\n <p>To create a placeholder for repeating occurrences of an attribute name in an expression.</p>\n </li>\n <li>\n <p>To prevent special characters in an attribute name from being misinterpreted in an expression.</p>\n </li>\n </ul>\n <p>Use the <b>#</b> character in an expression to dereference an attribute name. For example, consider the following attribute name:</p>\n <ul>\n <li>\n <p>\n <code>Percentile</code>\n </p>\n </li>\n </ul>\n <p>The name of this attribute conflicts with a reserved word, so it cannot be used directly\n in an expression. (For the complete list of reserved words, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html\">Reserved Words</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.) To work around this, you could specify the following for\n <code>ExpressionAttributeNames</code>:</p>\n <ul>\n <li>\n <p>\n <code>{\"#P\":\"Percentile\"}</code>\n </p>\n </li>\n </ul>\n <p>You could then use this substitution in an expression, as in this example:</p>\n <ul>\n <li>\n <p>\n <code>#P = :val</code>\n </p>\n </li>\n </ul>\n <note>\n <p>Tokens that begin with the <b>:</b> character are <i>expression attribute values</i>, which are placeholders for the actual value at runtime.</p>\n </note>\n <p>For more information about expression attribute names, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html\">Specifying Item Attributes</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
},
"ExpressionAttributeValues": {
"target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap",
"traits": {
"smithy.api#documentation": "<p>One or more values that can be substituted in an expression.</p>\n <p>Use the <b>:</b> (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the <code>ProductStatus</code> attribute was one of the following: </p>\n <p>\n <code>Available | Backordered | Discontinued</code>\n </p>\n <p>You would first need to specify <code>ExpressionAttributeValues</code> as follows:</p>\n <p>\n <code>{ \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }</code>\n </p>\n <p>You could then use these values in an expression, such as this:</p>\n <p>\n <code>ProductStatus IN (:avail, :back, :disc)</code>\n </p>\n <p>For more information on expression attribute values, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html\">Condition Expressions</a> in the <i>Amazon DynamoDB Developer\n Guide</i>.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of an <code>UpdateItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateItemOutput": {
"type": "structure",
"members": {
"Attributes": {
"target": "com.amazonaws.dynamodb#AttributeMap",
"traits": {
"smithy.api#documentation": "<p>A map of attribute values as they appear before or after the <code>UpdateItem</code>\n operation, as determined by the <code>ReturnValues</code> parameter.</p>\n <p>The <code>Attributes</code> map is only present if <code>ReturnValues</code> was\n specified as something other than <code>NONE</code> in the request. Each element\n represents one attribute.</p>"
}
},
"ConsumedCapacity": {
"target": "com.amazonaws.dynamodb#ConsumedCapacity",
"traits": {
"smithy.api#documentation": "<p>The capacity units consumed by the <code>UpdateItem</code> operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. <code>ConsumedCapacity</code> is only returned if the <code>ReturnConsumedCapacity</code> parameter was specified.\n For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html\">Provisioned\n Throughput</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
},
"ItemCollectionMetrics": {
"target": "com.amazonaws.dynamodb#ItemCollectionMetrics",
"traits": {
"smithy.api#documentation": "<p>Information about item collections, if any, that were affected by the\n <code>UpdateItem</code> operation.\n <code>ItemCollectionMetrics</code> is only returned if the <code>ReturnItemCollectionMetrics</code> parameter was specified. If the table\n does not have any local secondary indexes, this information is not\n returned in the response.</p>\n <p>Each <code>ItemCollectionMetrics</code>\n element consists of:</p>\n <ul>\n <li>\n <p>\n <code>ItemCollectionKey</code> - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.</p>\n </li>\n <li>\n <p>\n <code>SizeEstimateRangeGB</code> - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.</p>\n <p>The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.</p>\n </li>\n </ul>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of an <code>UpdateItem</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateReplicationGroupMemberAction": {
"type": "structure",
"members": {
"RegionName": {
"target": "com.amazonaws.dynamodb#RegionName",
"traits": {
"smithy.api#documentation": "<p>The Region where the replica exists.</p>",
"smithy.api#required": {}
}
},
"KMSMasterKeyId": {
"target": "com.amazonaws.dynamodb#KMSMasterKeyId",
"traits": {
"smithy.api#documentation": "<p>The AWS KMS customer master key (CMK) of the replica that should be used for AWS KMS encryption.\n To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias\n ARN. Note that you should only provide this parameter if the key is different from\n the default DynamoDB KMS master key alias/aws/dynamodb.</p>"
}
},
"ProvisionedThroughputOverride": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride",
"traits": {
"smithy.api#documentation": "<p>Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.</p>"
}
},
"GlobalSecondaryIndexes": {
"target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexList",
"traits": {
"smithy.api#documentation": "<p>Replica-specific global secondary index settings.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents a replica to be modified.</p>"
}
},
"com.amazonaws.dynamodb#UpdateTable": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateTableInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateTableOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.</p>\n <p>You can only perform one of the following operations at once:</p>\n <ul>\n <li>\n <p>Modify the provisioned throughput settings of the table.</p>\n </li>\n <li>\n <p>Enable or disable DynamoDB Streams on the table.</p>\n </li>\n <li>\n <p>Remove a global secondary index from the table.</p>\n </li>\n <li>\n <p>Create a new global secondary index on the table. After the index begins\n backfilling, you can use <code>UpdateTable</code> to perform other\n operations.</p>\n </li>\n </ul>\n <p>\n <code>UpdateTable</code> is an asynchronous operation; while it is executing, the table status\n changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it is <code>UPDATING</code>,\n you cannot issue another <code>UpdateTable</code> request. When the table returns to the\n <code>ACTIVE</code> state, the <code>UpdateTable</code> operation is complete.</p>"
}
},
"com.amazonaws.dynamodb#UpdateTableInput": {
"type": "structure",
"members": {
"AttributeDefinitions": {
"target": "com.amazonaws.dynamodb#AttributeDefinitions",
"traits": {
"smithy.api#documentation": "<p>An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, <code>AttributeDefinitions</code> must include the key element(s) of the new index.</p>"
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to be updated.</p>",
"smithy.api#required": {}
}
},
"BillingMode": {
"target": "com.amazonaws.dynamodb#BillingMode",
"traits": {
"smithy.api#documentation": "<p>Controls how you are charged for read and write throughput and how you manage capacity. \n When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial\n provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes \n over the past 30 minutes.</p>\n <ul>\n <li>\n <p>\n <code>PROVISIONED</code> - We recommend using <code>PROVISIONED</code> for predictable workloads. <code>PROVISIONED</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.ProvisionedThroughput.Manual\">Provisioned Mode</a>.</p>\n </li>\n <li>\n <p>\n <code>PAY_PER_REQUEST</code> - We recommend using <code>PAY_PER_REQUEST</code> for unpredictable workloads. <code>PAY_PER_REQUEST</code> sets the billing mode to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html#HowItWorks.OnDemand\">On-Demand Mode</a>.\n </p>\n </li>\n </ul>"
}
},
"ProvisionedThroughput": {
"target": "com.amazonaws.dynamodb#ProvisionedThroughput",
"traits": {
"smithy.api#documentation": "<p>The new provisioned throughput settings for the specified table or index.</p>"
}
},
"GlobalSecondaryIndexUpdates": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexUpdateList",
"traits": {
"smithy.api#documentation": "<p>An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:</p>\n <ul>\n <li>\n <p>\n <code>Create</code> - add a new global secondary index to the table.</p>\n </li>\n <li>\n <p>\n <code>Update</code> - modify the provisioned throughput settings of an existing global secondary index.</p>\n </li>\n <li>\n <p>\n <code>Delete</code> - remove a global secondary index from the table.</p>\n </li>\n </ul>\n <p>You can create or delete only one global secondary index per <code>UpdateTable</code> operation.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html\">Managing Global Secondary\n Indexes</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>"
}
},
"StreamSpecification": {
"target": "com.amazonaws.dynamodb#StreamSpecification",
"traits": {
"smithy.api#documentation": "<p>Represents the DynamoDB Streams configuration for the table.</p>\n <note>\n <p>You receive a <code>ResourceInUseException</code> if you try to enable a stream on a\n table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.</p>\n </note>"
}
},
"SSESpecification": {
"target": "com.amazonaws.dynamodb#SSESpecification",
"traits": {
"smithy.api#documentation": "<p>The new server-side encryption settings for the specified table.</p>"
}
},
"ReplicaUpdates": {
"target": "com.amazonaws.dynamodb#ReplicationGroupUpdateList",
"traits": {
"smithy.api#documentation": "<p>A list of replica update actions (create, delete, or update) for the table.</p>\n <note>\n <p>This property only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html\">Version 2019.11.21</a> of global tables.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of an <code>UpdateTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateTableOutput": {
"type": "structure",
"members": {
"TableDescription": {
"target": "com.amazonaws.dynamodb#TableDescription",
"traits": {
"smithy.api#documentation": "<p>Represents the properties of the table.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the output of an <code>UpdateTable</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateTableReplicaAutoScaling": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateTableReplicaAutoScalingInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateTableReplicaAutoScalingOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Updates auto scaling settings on your global tables at once.</p>\n <note>\n <p>This operation only applies to <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html\">Version 2019.11.21</a> of global tables.</p>\n </note>"
}
},
"com.amazonaws.dynamodb#UpdateTableReplicaAutoScalingInput": {
"type": "structure",
"members": {
"GlobalSecondaryIndexUpdates": {
"target": "com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of the global secondary indexes of the replica\n to be updated.</p>"
}
},
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the global table to be updated.</p>",
"smithy.api#required": {}
}
},
"ProvisionedWriteCapacityAutoScalingUpdate": {
"target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate"
},
"ReplicaUpdates": {
"target": "com.amazonaws.dynamodb#ReplicaAutoScalingUpdateList",
"traits": {
"smithy.api#documentation": "<p>Represents the auto scaling settings of replicas of the table that will be\n modified.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateTableReplicaAutoScalingOutput": {
"type": "structure",
"members": {
"TableAutoScalingDescription": {
"target": "com.amazonaws.dynamodb#TableAutoScalingDescription",
"traits": {
"smithy.api#documentation": "<p>Returns information about the auto scaling settings of a table with replicas.</p>"
}
}
}
},
"com.amazonaws.dynamodb#UpdateTimeToLive": {
"type": "operation",
"input": {
"target": "com.amazonaws.dynamodb#UpdateTimeToLiveInput"
},
"output": {
"target": "com.amazonaws.dynamodb#UpdateTimeToLiveOutput"
},
"errors": [
{
"target": "com.amazonaws.dynamodb#InternalServerError"
},
{
"target": "com.amazonaws.dynamodb#InvalidEndpointException"
},
{
"target": "com.amazonaws.dynamodb#LimitExceededException"
},
{
"target": "com.amazonaws.dynamodb#ResourceInUseException"
},
{
"target": "com.amazonaws.dynamodb#ResourceNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL) for the\n specified table. A successful <code>UpdateTimeToLive</code> call returns the current\n <code>TimeToLiveSpecification</code>. It can take up to one hour for the change to\n fully process. Any additional <code>UpdateTimeToLive</code> calls for the same table\n during this one hour duration result in a <code>ValidationException</code>. </p>\n <p>TTL compares the current time in epoch time format to the time stored in the TTL\n attribute of an item. If the epoch time value stored in the attribute is less than the\n current time, the item is marked as expired and subsequently deleted.</p>\n <note>\n <p> The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1,\n 1970 UTC. </p>\n </note>\n <p>DynamoDB deletes expired items on a best-effort basis to ensure availability of\n throughput for other data operations.\n </p>\n <important>\n <p>DynamoDB typically deletes expired items within two days of expiration. The exact duration\n within which an item gets deleted after expiration is specific to the\n nature of the workload. Items that have expired and not been deleted will still show up in reads,\n queries, and scans.</p>\n </important>\n <p>As items are deleted, they are removed from any local secondary index and global\n secondary index immediately in the same eventually consistent way as a standard delete\n operation.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html\">Time To Live</a> in the Amazon DynamoDB Developer Guide. </p>"
}
},
"com.amazonaws.dynamodb#UpdateTimeToLiveInput": {
"type": "structure",
"members": {
"TableName": {
"target": "com.amazonaws.dynamodb#TableName",
"traits": {
"smithy.api#documentation": "<p>The name of the table to be configured.</p>",
"smithy.api#required": {}
}
},
"TimeToLiveSpecification": {
"target": "com.amazonaws.dynamodb#TimeToLiveSpecification",
"traits": {
"smithy.api#documentation": "<p>Represents the settings used to enable or disable Time to Live for the specified table.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents the input of an <code>UpdateTimeToLive</code> operation.</p>"
}
},
"com.amazonaws.dynamodb#UpdateTimeToLiveOutput": {
"type": "structure",
"members": {
"TimeToLiveSpecification": {
"target": "com.amazonaws.dynamodb#TimeToLiveSpecification",
"traits": {
"smithy.api#documentation": "<p>Represents the output of an <code>UpdateTimeToLive</code> operation.</p>"
}
}
}
},
"com.amazonaws.dynamodb#WriteRequest": {
"type": "structure",
"members": {
"PutRequest": {
"target": "com.amazonaws.dynamodb#PutRequest",
"traits": {
"smithy.api#documentation": "<p>A request to perform a <code>PutItem</code> operation.</p>"
}
},
"DeleteRequest": {
"target": "com.amazonaws.dynamodb#DeleteRequest",
"traits": {
"smithy.api#documentation": "<p>A request to perform a <code>DeleteItem</code> operation.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Represents an operation to perform - either <code>DeleteItem</code> or\n <code>PutItem</code>. You can only request one of these operations, not both, in a\n single <code>WriteRequest</code>. If you do need to perform both of these operations, you\n need to provide two separate <code>WriteRequest</code> objects.</p>"
}
},
"com.amazonaws.dynamodb#WriteRequests": {
"type": "list",
"member": {
"target": "com.amazonaws.dynamodb#WriteRequest"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 25
}
}
}
}
}