@aws-sdk/client-dynamodb 3.325.0 → 3.326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +86 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +98 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +102 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +14 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/CreateTableCommand.d.ts +140 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +89 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +83 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +140 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +89 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +26 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +98 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +82 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +13 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +140 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +89 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +9 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +8 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +8 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +81 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +81 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +26 -0
- package/dist-types/commands/GetItemCommand.d.ts +75 -0
- package/dist-types/commands/ImportTableCommand.d.ts +82 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +20 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +13 -0
- package/dist-types/commands/ListExportsCommand.d.ts +12 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +16 -0
- package/dist-types/commands/ListImportsCommand.d.ts +22 -0
- package/dist-types/commands/ListTablesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +12 -0
- package/dist-types/commands/PutItemCommand.d.ts +83 -0
- package/dist-types/commands/QueryCommand.d.ts +82 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +140 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +140 -0
- package/dist-types/commands/ScanCommand.d.ts +82 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +81 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +86 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +13 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +8 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +98 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +83 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +140 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +89 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +9 -0
- package/package.json +4 -4
|
@@ -39,6 +39,12 @@ export interface UpdateContributorInsightsCommandOutput extends UpdateContributo
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateContributorInsightsCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateContributorInsightsOutput
|
|
43
|
+
* // TableName: "STRING_VALUE",
|
|
44
|
+
* // IndexName: "STRING_VALUE",
|
|
45
|
+
* // ContributorInsightsStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
42
48
|
* ```
|
|
43
49
|
*
|
|
44
50
|
* @param UpdateContributorInsightsCommandInput - {@link UpdateContributorInsightsCommandInput}
|
|
@@ -54,6 +60,8 @@ export interface UpdateContributorInsightsCommandOutput extends UpdateContributo
|
|
|
54
60
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
55
61
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
56
62
|
*
|
|
63
|
+
* @throws {@link DynamoDBServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
57
65
|
*
|
|
58
66
|
*/
|
|
59
67
|
export declare class UpdateContributorInsightsCommand extends $Command<UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -83,6 +83,40 @@ export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput,
|
|
|
83
83
|
* };
|
|
84
84
|
* const command = new UpdateGlobalTableCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
+
* // { // UpdateGlobalTableOutput
|
|
87
|
+
* // GlobalTableDescription: { // GlobalTableDescription
|
|
88
|
+
* // ReplicationGroup: [ // ReplicaDescriptionList
|
|
89
|
+
* // { // ReplicaDescription
|
|
90
|
+
* // RegionName: "STRING_VALUE",
|
|
91
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
92
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
93
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
94
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
95
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
96
|
+
* // ReadCapacityUnits: Number("long"),
|
|
97
|
+
* // },
|
|
98
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
99
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
100
|
+
* // IndexName: "STRING_VALUE",
|
|
101
|
+
* // ProvisionedThroughputOverride: {
|
|
102
|
+
* // ReadCapacityUnits: Number("long"),
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
107
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
108
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
109
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // GlobalTableArn: "STRING_VALUE",
|
|
114
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
115
|
+
* // GlobalTableStatus: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING",
|
|
116
|
+
* // GlobalTableName: "STRING_VALUE",
|
|
117
|
+
* // },
|
|
118
|
+
* // };
|
|
119
|
+
*
|
|
86
120
|
* ```
|
|
87
121
|
*
|
|
88
122
|
* @param UpdateGlobalTableCommandInput - {@link UpdateGlobalTableCommandInput}
|
|
@@ -109,6 +143,8 @@ export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput,
|
|
|
109
143
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
110
144
|
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.</p>
|
|
111
145
|
*
|
|
146
|
+
* @throws {@link DynamoDBServiceException}
|
|
147
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
112
148
|
*
|
|
113
149
|
*/
|
|
114
150
|
export declare class UpdateGlobalTableCommand extends $Command<UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -110,6 +110,102 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
110
110
|
* };
|
|
111
111
|
* const command = new UpdateGlobalTableSettingsCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
113
|
+
* // { // UpdateGlobalTableSettingsOutput
|
|
114
|
+
* // GlobalTableName: "STRING_VALUE",
|
|
115
|
+
* // ReplicaSettings: [ // ReplicaSettingsDescriptionList
|
|
116
|
+
* // { // ReplicaSettingsDescription
|
|
117
|
+
* // RegionName: "STRING_VALUE", // required
|
|
118
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
119
|
+
* // ReplicaBillingModeSummary: { // BillingModeSummary
|
|
120
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
121
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
122
|
+
* // },
|
|
123
|
+
* // ReplicaProvisionedReadCapacityUnits: Number("long"),
|
|
124
|
+
* // ReplicaProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription
|
|
125
|
+
* // MinimumUnits: Number("long"),
|
|
126
|
+
* // MaximumUnits: Number("long"),
|
|
127
|
+
* // AutoScalingDisabled: true || false,
|
|
128
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
129
|
+
* // ScalingPolicies: [ // AutoScalingPolicyDescriptionList
|
|
130
|
+
* // { // AutoScalingPolicyDescription
|
|
131
|
+
* // PolicyName: "STRING_VALUE",
|
|
132
|
+
* // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription
|
|
133
|
+
* // DisableScaleIn: true || false,
|
|
134
|
+
* // ScaleInCooldown: Number("int"),
|
|
135
|
+
* // ScaleOutCooldown: Number("int"),
|
|
136
|
+
* // TargetValue: Number("double"), // required
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // },
|
|
141
|
+
* // ReplicaProvisionedWriteCapacityUnits: Number("long"),
|
|
142
|
+
* // ReplicaProvisionedWriteCapacityAutoScalingSettings: {
|
|
143
|
+
* // MinimumUnits: Number("long"),
|
|
144
|
+
* // MaximumUnits: Number("long"),
|
|
145
|
+
* // AutoScalingDisabled: true || false,
|
|
146
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
147
|
+
* // ScalingPolicies: [
|
|
148
|
+
* // {
|
|
149
|
+
* // PolicyName: "STRING_VALUE",
|
|
150
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
151
|
+
* // DisableScaleIn: true || false,
|
|
152
|
+
* // ScaleInCooldown: Number("int"),
|
|
153
|
+
* // ScaleOutCooldown: Number("int"),
|
|
154
|
+
* // TargetValue: Number("double"), // required
|
|
155
|
+
* // },
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
159
|
+
* // ReplicaGlobalSecondaryIndexSettings: [ // ReplicaGlobalSecondaryIndexSettingsDescriptionList
|
|
160
|
+
* // { // ReplicaGlobalSecondaryIndexSettingsDescription
|
|
161
|
+
* // IndexName: "STRING_VALUE", // required
|
|
162
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
163
|
+
* // ProvisionedReadCapacityUnits: Number("long"),
|
|
164
|
+
* // ProvisionedReadCapacityAutoScalingSettings: {
|
|
165
|
+
* // MinimumUnits: Number("long"),
|
|
166
|
+
* // MaximumUnits: Number("long"),
|
|
167
|
+
* // AutoScalingDisabled: true || false,
|
|
168
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
169
|
+
* // ScalingPolicies: [
|
|
170
|
+
* // {
|
|
171
|
+
* // PolicyName: "STRING_VALUE",
|
|
172
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
173
|
+
* // DisableScaleIn: true || false,
|
|
174
|
+
* // ScaleInCooldown: Number("int"),
|
|
175
|
+
* // ScaleOutCooldown: Number("int"),
|
|
176
|
+
* // TargetValue: Number("double"), // required
|
|
177
|
+
* // },
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
181
|
+
* // ProvisionedWriteCapacityUnits: Number("long"),
|
|
182
|
+
* // ProvisionedWriteCapacityAutoScalingSettings: {
|
|
183
|
+
* // MinimumUnits: Number("long"),
|
|
184
|
+
* // MaximumUnits: Number("long"),
|
|
185
|
+
* // AutoScalingDisabled: true || false,
|
|
186
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
187
|
+
* // ScalingPolicies: [
|
|
188
|
+
* // {
|
|
189
|
+
* // PolicyName: "STRING_VALUE",
|
|
190
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
191
|
+
* // DisableScaleIn: true || false,
|
|
192
|
+
* // ScaleInCooldown: Number("int"),
|
|
193
|
+
* // ScaleOutCooldown: Number("int"),
|
|
194
|
+
* // TargetValue: Number("double"), // required
|
|
195
|
+
* // },
|
|
196
|
+
* // },
|
|
197
|
+
* // ],
|
|
198
|
+
* // },
|
|
199
|
+
* // },
|
|
200
|
+
* // ],
|
|
201
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
202
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
203
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
204
|
+
* // },
|
|
205
|
+
* // },
|
|
206
|
+
* // ],
|
|
207
|
+
* // };
|
|
208
|
+
*
|
|
113
209
|
* ```
|
|
114
210
|
*
|
|
115
211
|
* @param UpdateGlobalTableSettingsCommandInput - {@link UpdateGlobalTableSettingsCommandInput}
|
|
@@ -150,6 +246,8 @@ export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTabl
|
|
|
150
246
|
* attempted to recreate an existing table, or tried to delete a table currently in the
|
|
151
247
|
* <code>CREATING</code> state.</p>
|
|
152
248
|
*
|
|
249
|
+
* @throws {@link DynamoDBServiceException}
|
|
250
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
153
251
|
*
|
|
154
252
|
*/
|
|
155
253
|
export declare class UpdateGlobalTableSettingsCommand extends $Command<UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -110,6 +110,87 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
|
|
|
110
110
|
* };
|
|
111
111
|
* const command = new UpdateItemCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
113
|
+
* // { // UpdateItemOutput
|
|
114
|
+
* // Attributes: { // AttributeMap
|
|
115
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
116
|
+
* // S: "STRING_VALUE",
|
|
117
|
+
* // N: "STRING_VALUE",
|
|
118
|
+
* // B: "BLOB_VALUE",
|
|
119
|
+
* // SS: [ // StringSetAttributeValue
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // NS: [ // NumberSetAttributeValue
|
|
123
|
+
* // "STRING_VALUE",
|
|
124
|
+
* // ],
|
|
125
|
+
* // BS: [ // BinarySetAttributeValue
|
|
126
|
+
* // "BLOB_VALUE",
|
|
127
|
+
* // ],
|
|
128
|
+
* // M: { // MapAttributeValue
|
|
129
|
+
* // "<keys>": {// Union: only one key present
|
|
130
|
+
* // S: "STRING_VALUE",
|
|
131
|
+
* // N: "STRING_VALUE",
|
|
132
|
+
* // B: "BLOB_VALUE",
|
|
133
|
+
* // SS: [
|
|
134
|
+
* // "STRING_VALUE",
|
|
135
|
+
* // ],
|
|
136
|
+
* // NS: [
|
|
137
|
+
* // "STRING_VALUE",
|
|
138
|
+
* // ],
|
|
139
|
+
* // BS: [
|
|
140
|
+
* // "BLOB_VALUE",
|
|
141
|
+
* // ],
|
|
142
|
+
* // M: {
|
|
143
|
+
* // "<keys>": "<AttributeValue>",
|
|
144
|
+
* // },
|
|
145
|
+
* // L: [ // ListAttributeValue
|
|
146
|
+
* // "<AttributeValue>",
|
|
147
|
+
* // ],
|
|
148
|
+
* // NULL: true || false,
|
|
149
|
+
* // BOOL: true || false,
|
|
150
|
+
* // },
|
|
151
|
+
* // },
|
|
152
|
+
* // L: [
|
|
153
|
+
* // "<AttributeValue>",
|
|
154
|
+
* // ],
|
|
155
|
+
* // NULL: true || false,
|
|
156
|
+
* // BOOL: true || false,
|
|
157
|
+
* // },
|
|
158
|
+
* // },
|
|
159
|
+
* // ConsumedCapacity: { // ConsumedCapacity
|
|
160
|
+
* // TableName: "STRING_VALUE",
|
|
161
|
+
* // CapacityUnits: Number("double"),
|
|
162
|
+
* // ReadCapacityUnits: Number("double"),
|
|
163
|
+
* // WriteCapacityUnits: Number("double"),
|
|
164
|
+
* // Table: { // Capacity
|
|
165
|
+
* // ReadCapacityUnits: Number("double"),
|
|
166
|
+
* // WriteCapacityUnits: Number("double"),
|
|
167
|
+
* // CapacityUnits: Number("double"),
|
|
168
|
+
* // },
|
|
169
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
170
|
+
* // "<keys>": {
|
|
171
|
+
* // ReadCapacityUnits: Number("double"),
|
|
172
|
+
* // WriteCapacityUnits: Number("double"),
|
|
173
|
+
* // CapacityUnits: Number("double"),
|
|
174
|
+
* // },
|
|
175
|
+
* // },
|
|
176
|
+
* // GlobalSecondaryIndexes: {
|
|
177
|
+
* // "<keys>": {
|
|
178
|
+
* // ReadCapacityUnits: Number("double"),
|
|
179
|
+
* // WriteCapacityUnits: Number("double"),
|
|
180
|
+
* // CapacityUnits: Number("double"),
|
|
181
|
+
* // },
|
|
182
|
+
* // },
|
|
183
|
+
* // },
|
|
184
|
+
* // ItemCollectionMetrics: { // ItemCollectionMetrics
|
|
185
|
+
* // ItemCollectionKey: { // ItemCollectionKeyAttributeMap
|
|
186
|
+
* // "<keys>": "<AttributeValue>",
|
|
187
|
+
* // },
|
|
188
|
+
* // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange
|
|
189
|
+
* // Number("double"),
|
|
190
|
+
* // ],
|
|
191
|
+
* // },
|
|
192
|
+
* // };
|
|
193
|
+
*
|
|
113
194
|
* ```
|
|
114
195
|
*
|
|
115
196
|
* @param UpdateItemCommandInput - {@link UpdateItemCommandInput}
|
|
@@ -149,6 +230,8 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
|
|
|
149
230
|
* <p>Operation was rejected because there is an ongoing transaction for the
|
|
150
231
|
* item.</p>
|
|
151
232
|
*
|
|
233
|
+
* @throws {@link DynamoDBServiceException}
|
|
234
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
152
235
|
*
|
|
153
236
|
* @example To update an item in a table
|
|
154
237
|
* ```javascript
|
|
@@ -151,6 +151,144 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
151
151
|
* };
|
|
152
152
|
* const command = new UpdateTableCommand(input);
|
|
153
153
|
* const response = await client.send(command);
|
|
154
|
+
* // { // UpdateTableOutput
|
|
155
|
+
* // TableDescription: { // TableDescription
|
|
156
|
+
* // AttributeDefinitions: [ // AttributeDefinitions
|
|
157
|
+
* // { // AttributeDefinition
|
|
158
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
159
|
+
* // AttributeType: "S" || "N" || "B", // required
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // TableName: "STRING_VALUE",
|
|
163
|
+
* // KeySchema: [ // KeySchema
|
|
164
|
+
* // { // KeySchemaElement
|
|
165
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
166
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
167
|
+
* // },
|
|
168
|
+
* // ],
|
|
169
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
170
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
171
|
+
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
172
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
173
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
174
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
175
|
+
* // ReadCapacityUnits: Number("long"),
|
|
176
|
+
* // WriteCapacityUnits: Number("long"),
|
|
177
|
+
* // },
|
|
178
|
+
* // TableSizeBytes: Number("long"),
|
|
179
|
+
* // ItemCount: Number("long"),
|
|
180
|
+
* // TableArn: "STRING_VALUE",
|
|
181
|
+
* // TableId: "STRING_VALUE",
|
|
182
|
+
* // BillingModeSummary: { // BillingModeSummary
|
|
183
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
184
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
185
|
+
* // },
|
|
186
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
|
|
187
|
+
* // { // LocalSecondaryIndexDescription
|
|
188
|
+
* // IndexName: "STRING_VALUE",
|
|
189
|
+
* // KeySchema: [
|
|
190
|
+
* // {
|
|
191
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
192
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
193
|
+
* // },
|
|
194
|
+
* // ],
|
|
195
|
+
* // Projection: { // Projection
|
|
196
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
197
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
198
|
+
* // "STRING_VALUE",
|
|
199
|
+
* // ],
|
|
200
|
+
* // },
|
|
201
|
+
* // IndexSizeBytes: Number("long"),
|
|
202
|
+
* // ItemCount: Number("long"),
|
|
203
|
+
* // IndexArn: "STRING_VALUE",
|
|
204
|
+
* // },
|
|
205
|
+
* // ],
|
|
206
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
|
|
207
|
+
* // { // GlobalSecondaryIndexDescription
|
|
208
|
+
* // IndexName: "STRING_VALUE",
|
|
209
|
+
* // KeySchema: [
|
|
210
|
+
* // {
|
|
211
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
212
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
213
|
+
* // },
|
|
214
|
+
* // ],
|
|
215
|
+
* // Projection: {
|
|
216
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
217
|
+
* // NonKeyAttributes: [
|
|
218
|
+
* // "STRING_VALUE",
|
|
219
|
+
* // ],
|
|
220
|
+
* // },
|
|
221
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
222
|
+
* // Backfilling: true || false,
|
|
223
|
+
* // ProvisionedThroughput: {
|
|
224
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
225
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
226
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
227
|
+
* // ReadCapacityUnits: Number("long"),
|
|
228
|
+
* // WriteCapacityUnits: Number("long"),
|
|
229
|
+
* // },
|
|
230
|
+
* // IndexSizeBytes: Number("long"),
|
|
231
|
+
* // ItemCount: Number("long"),
|
|
232
|
+
* // IndexArn: "STRING_VALUE",
|
|
233
|
+
* // },
|
|
234
|
+
* // ],
|
|
235
|
+
* // StreamSpecification: { // StreamSpecification
|
|
236
|
+
* // StreamEnabled: true || false, // required
|
|
237
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
238
|
+
* // },
|
|
239
|
+
* // LatestStreamLabel: "STRING_VALUE",
|
|
240
|
+
* // LatestStreamArn: "STRING_VALUE",
|
|
241
|
+
* // GlobalTableVersion: "STRING_VALUE",
|
|
242
|
+
* // Replicas: [ // ReplicaDescriptionList
|
|
243
|
+
* // { // ReplicaDescription
|
|
244
|
+
* // RegionName: "STRING_VALUE",
|
|
245
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
246
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
247
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
248
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
249
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
250
|
+
* // ReadCapacityUnits: Number("long"),
|
|
251
|
+
* // },
|
|
252
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
253
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
254
|
+
* // IndexName: "STRING_VALUE",
|
|
255
|
+
* // ProvisionedThroughputOverride: {
|
|
256
|
+
* // ReadCapacityUnits: Number("long"),
|
|
257
|
+
* // },
|
|
258
|
+
* // },
|
|
259
|
+
* // ],
|
|
260
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
261
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
262
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
263
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
264
|
+
* // },
|
|
265
|
+
* // },
|
|
266
|
+
* // ],
|
|
267
|
+
* // RestoreSummary: { // RestoreSummary
|
|
268
|
+
* // SourceBackupArn: "STRING_VALUE",
|
|
269
|
+
* // SourceTableArn: "STRING_VALUE",
|
|
270
|
+
* // RestoreDateTime: new Date("TIMESTAMP"), // required
|
|
271
|
+
* // RestoreInProgress: true || false, // required
|
|
272
|
+
* // },
|
|
273
|
+
* // SSEDescription: { // SSEDescription
|
|
274
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
275
|
+
* // SSEType: "AES256" || "KMS",
|
|
276
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
277
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
278
|
+
* // },
|
|
279
|
+
* // ArchivalSummary: { // ArchivalSummary
|
|
280
|
+
* // ArchivalDateTime: new Date("TIMESTAMP"),
|
|
281
|
+
* // ArchivalReason: "STRING_VALUE",
|
|
282
|
+
* // ArchivalBackupArn: "STRING_VALUE",
|
|
283
|
+
* // },
|
|
284
|
+
* // TableClassSummary: {
|
|
285
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
286
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
287
|
+
* // },
|
|
288
|
+
* // DeletionProtectionEnabled: true || false,
|
|
289
|
+
* // },
|
|
290
|
+
* // };
|
|
291
|
+
*
|
|
154
292
|
* ```
|
|
155
293
|
*
|
|
156
294
|
* @param UpdateTableCommandInput - {@link UpdateTableCommandInput}
|
|
@@ -186,6 +324,8 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
186
324
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
187
325
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
188
326
|
*
|
|
327
|
+
* @throws {@link DynamoDBServiceException}
|
|
328
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
189
329
|
*
|
|
190
330
|
* @example To modify a table's provisioned throughput
|
|
191
331
|
* ```javascript
|
|
@@ -83,6 +83,93 @@ export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableR
|
|
|
83
83
|
* };
|
|
84
84
|
* const command = new UpdateTableReplicaAutoScalingCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
+
* // { // UpdateTableReplicaAutoScalingOutput
|
|
87
|
+
* // TableAutoScalingDescription: { // TableAutoScalingDescription
|
|
88
|
+
* // TableName: "STRING_VALUE",
|
|
89
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
90
|
+
* // Replicas: [ // ReplicaAutoScalingDescriptionList
|
|
91
|
+
* // { // ReplicaAutoScalingDescription
|
|
92
|
+
* // RegionName: "STRING_VALUE",
|
|
93
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexAutoScalingDescriptionList
|
|
94
|
+
* // { // ReplicaGlobalSecondaryIndexAutoScalingDescription
|
|
95
|
+
* // IndexName: "STRING_VALUE",
|
|
96
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
97
|
+
* // ProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription
|
|
98
|
+
* // MinimumUnits: Number("long"),
|
|
99
|
+
* // MaximumUnits: Number("long"),
|
|
100
|
+
* // AutoScalingDisabled: true || false,
|
|
101
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
102
|
+
* // ScalingPolicies: [ // AutoScalingPolicyDescriptionList
|
|
103
|
+
* // { // AutoScalingPolicyDescription
|
|
104
|
+
* // PolicyName: "STRING_VALUE",
|
|
105
|
+
* // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription
|
|
106
|
+
* // DisableScaleIn: true || false,
|
|
107
|
+
* // ScaleInCooldown: Number("int"),
|
|
108
|
+
* // ScaleOutCooldown: Number("int"),
|
|
109
|
+
* // TargetValue: Number("double"), // required
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // ProvisionedWriteCapacityAutoScalingSettings: {
|
|
115
|
+
* // MinimumUnits: Number("long"),
|
|
116
|
+
* // MaximumUnits: Number("long"),
|
|
117
|
+
* // AutoScalingDisabled: true || false,
|
|
118
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
119
|
+
* // ScalingPolicies: [
|
|
120
|
+
* // {
|
|
121
|
+
* // PolicyName: "STRING_VALUE",
|
|
122
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
123
|
+
* // DisableScaleIn: true || false,
|
|
124
|
+
* // ScaleInCooldown: Number("int"),
|
|
125
|
+
* // ScaleOutCooldown: Number("int"),
|
|
126
|
+
* // TargetValue: Number("double"), // required
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // ],
|
|
133
|
+
* // ReplicaProvisionedReadCapacityAutoScalingSettings: {
|
|
134
|
+
* // MinimumUnits: Number("long"),
|
|
135
|
+
* // MaximumUnits: Number("long"),
|
|
136
|
+
* // AutoScalingDisabled: true || false,
|
|
137
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
138
|
+
* // ScalingPolicies: [
|
|
139
|
+
* // {
|
|
140
|
+
* // PolicyName: "STRING_VALUE",
|
|
141
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
142
|
+
* // DisableScaleIn: true || false,
|
|
143
|
+
* // ScaleInCooldown: Number("int"),
|
|
144
|
+
* // ScaleOutCooldown: Number("int"),
|
|
145
|
+
* // TargetValue: Number("double"), // required
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // },
|
|
150
|
+
* // ReplicaProvisionedWriteCapacityAutoScalingSettings: {
|
|
151
|
+
* // MinimumUnits: Number("long"),
|
|
152
|
+
* // MaximumUnits: Number("long"),
|
|
153
|
+
* // AutoScalingDisabled: true || false,
|
|
154
|
+
* // AutoScalingRoleArn: "STRING_VALUE",
|
|
155
|
+
* // ScalingPolicies: [
|
|
156
|
+
* // {
|
|
157
|
+
* // PolicyName: "STRING_VALUE",
|
|
158
|
+
* // TargetTrackingScalingPolicyConfiguration: {
|
|
159
|
+
* // DisableScaleIn: true || false,
|
|
160
|
+
* // ScaleInCooldown: Number("int"),
|
|
161
|
+
* // ScaleOutCooldown: Number("int"),
|
|
162
|
+
* // TargetValue: Number("double"), // required
|
|
163
|
+
* // },
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // },
|
|
171
|
+
* // };
|
|
172
|
+
*
|
|
86
173
|
* ```
|
|
87
174
|
*
|
|
88
175
|
* @param UpdateTableReplicaAutoScalingCommandInput - {@link UpdateTableReplicaAutoScalingCommandInput}
|
|
@@ -116,6 +203,8 @@ export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableR
|
|
|
116
203
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
117
204
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
118
205
|
*
|
|
206
|
+
* @throws {@link DynamoDBServiceException}
|
|
207
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
119
208
|
*
|
|
120
209
|
*/
|
|
121
210
|
export declare class UpdateTableReplicaAutoScalingCommand extends $Command<UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -59,6 +59,13 @@ export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, _
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new UpdateTimeToLiveCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // UpdateTimeToLiveOutput
|
|
63
|
+
* // TimeToLiveSpecification: { // TimeToLiveSpecification
|
|
64
|
+
* // Enabled: true || false, // required
|
|
65
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
62
69
|
* ```
|
|
63
70
|
*
|
|
64
71
|
* @param UpdateTimeToLiveCommandInput - {@link UpdateTimeToLiveCommandInput}
|
|
@@ -94,6 +101,8 @@ export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, _
|
|
|
94
101
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
95
102
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
96
103
|
*
|
|
104
|
+
* @throws {@link DynamoDBServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
97
106
|
*
|
|
98
107
|
*/
|
|
99
108
|
export declare class UpdateTimeToLiveCommand extends $Command<UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
31
|
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
-
"@aws-sdk/middleware-endpoint-discovery": "3.
|
|
32
|
+
"@aws-sdk/middleware-endpoint-discovery": "3.326.0",
|
|
33
33
|
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
34
34
|
"@aws-sdk/middleware-logger": "3.325.0",
|
|
35
35
|
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|