@aws-sdk/client-dynamodb 3.1068.0 → 3.1070.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-cjs/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +269 -289
- package/dist-cjs/models/DynamoDBServiceException.js +4 -8
- package/dist-cjs/models/errors.js +71 -109
- package/dist-cjs/runtimeConfig.browser.js +24 -28
- package/dist-cjs/runtimeConfig.js +34 -38
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +22 -26
- package/dist-cjs/schemas/schemas_0.js +771 -520
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { resolveAccountIdEndpointModeConfig } = require("@aws-sdk/core/account-id-endpoint");
|
|
3
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
4
|
+
const { resolveEndpointDiscoveryConfig } = require("@aws-sdk/middleware-endpoint-discovery");
|
|
5
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
6
|
+
const { Command, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
7
|
+
exports.$Command = Command;
|
|
8
|
+
exports.__Client = Client;
|
|
9
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
10
|
+
const { getEndpointPlugin, resolveEndpointConfig } = require("@smithy/core/endpoints");
|
|
11
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
12
|
+
const { resolveRetryConfig, Retry, getRetryPlugin } = require("@smithy/core/retry");
|
|
13
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
14
|
+
const { resolveHttpAuthSchemeConfig, defaultDynamoDBHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
15
|
+
const { DescribeEndpoints$, BatchExecuteStatement$, BatchGetItem$, BatchWriteItem$, CreateBackup$, CreateGlobalTable$, CreateTable$, DeleteBackup$, DeleteItem$, DeleteResourcePolicy$, DeleteTable$, DescribeBackup$, DescribeContinuousBackups$, DescribeContributorInsights$, DescribeExport$, DescribeGlobalTable$, DescribeGlobalTableSettings$, DescribeImport$, DescribeKinesisStreamingDestination$, DescribeLimits$, DescribeTable$, DescribeTableReplicaAutoScaling$, DescribeTimeToLive$, DisableKinesisStreamingDestination$, EnableKinesisStreamingDestination$, ExecuteStatement$, ExecuteTransaction$, ExportTableToPointInTime$, GetItem$, GetResourcePolicy$, ImportTable$, ListBackups$, ListContributorInsights$, ListExports$, ListGlobalTables$, ListImports$, ListTables$, ListTagsOfResource$, PutItem$, PutResourcePolicy$, Query$, RestoreTableFromBackup$, RestoreTableToPointInTime$, Scan$, TagResource$, TransactGetItems$, TransactWriteItems$, UntagResource$, UpdateContinuousBackups$, UpdateContributorInsights$, UpdateGlobalTable$, UpdateGlobalTableSettings$, UpdateItem$, UpdateKinesisStreamingDestination$, UpdateTable$, UpdateTableReplicaAutoScaling$, UpdateTimeToLive$ } = require("./schemas/schemas_0");
|
|
16
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
17
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
18
|
+
__exportStar(require("./models/errors"), exports);
|
|
19
|
+
const { DynamoDBServiceException } = require("./models/DynamoDBServiceException");
|
|
20
|
+
exports.DynamoDBServiceException = DynamoDBServiceException;
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -32,15 +35,15 @@ const commonParams = {
|
|
|
32
35
|
AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
|
|
33
36
|
};
|
|
34
37
|
|
|
35
|
-
class DescribeEndpointsCommand extends
|
|
38
|
+
class DescribeEndpointsCommand extends Command
|
|
36
39
|
.classBuilder()
|
|
37
40
|
.ep(commonParams)
|
|
38
41
|
.m(function (Command, cs, config, o) {
|
|
39
|
-
return [
|
|
42
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
40
43
|
})
|
|
41
44
|
.s("DynamoDB_20120810", "DescribeEndpoints", {})
|
|
42
45
|
.n("DynamoDBClient", "DescribeEndpointsCommand")
|
|
43
|
-
.sc(
|
|
46
|
+
.sc(DescribeEndpoints$)
|
|
44
47
|
.build() {
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -84,893 +87,893 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
84
87
|
};
|
|
85
88
|
|
|
86
89
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
87
|
-
const extensionConfiguration = Object.assign(
|
|
90
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
88
91
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
89
|
-
return Object.assign(runtimeConfig,
|
|
92
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
90
93
|
};
|
|
91
94
|
|
|
92
|
-
class DynamoDBClient extends
|
|
95
|
+
class DynamoDBClient extends Client {
|
|
93
96
|
config;
|
|
94
97
|
constructor(...[configuration]) {
|
|
95
|
-
const _config_0 =
|
|
98
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
96
99
|
super(_config_0);
|
|
97
100
|
this.initConfig = _config_0;
|
|
98
101
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
99
|
-
const _config_2 =
|
|
100
|
-
const _config_3 =
|
|
101
|
-
const _config_4 =
|
|
102
|
-
const _config_5 =
|
|
103
|
-
const _config_6 =
|
|
104
|
-
const _config_7 =
|
|
105
|
-
const _config_8 =
|
|
106
|
-
const _config_9 =
|
|
102
|
+
const _config_2 = resolveAccountIdEndpointModeConfig(_config_1);
|
|
103
|
+
const _config_3 = resolveUserAgentConfig(_config_2);
|
|
104
|
+
const _config_4 = resolveRetryConfig(_config_3, { defaultBaseDelay: Retry.v2026 ? 25 : undefined, defaultMaxAttempts: Retry.v2026 ? 4 : undefined });
|
|
105
|
+
const _config_5 = resolveRegionConfig(_config_4);
|
|
106
|
+
const _config_6 = resolveHostHeaderConfig(_config_5);
|
|
107
|
+
const _config_7 = resolveEndpointConfig(_config_6);
|
|
108
|
+
const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
|
|
109
|
+
const _config_9 = resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
|
|
107
110
|
const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
|
|
108
111
|
this.config = _config_10;
|
|
109
|
-
this.middlewareStack.use(
|
|
110
|
-
this.middlewareStack.use(
|
|
111
|
-
this.middlewareStack.use(
|
|
112
|
-
this.middlewareStack.use(
|
|
113
|
-
this.middlewareStack.use(
|
|
114
|
-
this.middlewareStack.use(
|
|
115
|
-
this.middlewareStack.use(
|
|
116
|
-
this.middlewareStack.use(
|
|
117
|
-
httpAuthSchemeParametersProvider:
|
|
118
|
-
identityProviderConfigProvider: async (config) => new
|
|
112
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
113
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
114
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
115
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
116
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
117
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
118
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
119
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
120
|
+
httpAuthSchemeParametersProvider: defaultDynamoDBHttpAuthSchemeParametersProvider,
|
|
121
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
119
122
|
"aws.auth#sigv4": config.credentials,
|
|
120
123
|
}),
|
|
121
124
|
}));
|
|
122
|
-
this.middlewareStack.use(
|
|
125
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
123
126
|
}
|
|
124
127
|
destroy() {
|
|
125
128
|
super.destroy();
|
|
126
129
|
}
|
|
127
130
|
}
|
|
128
131
|
|
|
129
|
-
class BatchExecuteStatementCommand extends
|
|
132
|
+
class BatchExecuteStatementCommand extends Command
|
|
130
133
|
.classBuilder()
|
|
131
134
|
.ep(commonParams)
|
|
132
135
|
.m(function (Command, cs, config, o) {
|
|
133
|
-
return [
|
|
136
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
134
137
|
})
|
|
135
138
|
.s("DynamoDB_20120810", "BatchExecuteStatement", {})
|
|
136
139
|
.n("DynamoDBClient", "BatchExecuteStatementCommand")
|
|
137
|
-
.sc(
|
|
140
|
+
.sc(BatchExecuteStatement$)
|
|
138
141
|
.build() {
|
|
139
142
|
}
|
|
140
143
|
|
|
141
|
-
class BatchGetItemCommand extends
|
|
144
|
+
class BatchGetItemCommand extends Command
|
|
142
145
|
.classBuilder()
|
|
143
146
|
.ep({
|
|
144
147
|
...commonParams,
|
|
145
148
|
ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
|
|
146
149
|
})
|
|
147
150
|
.m(function (Command, cs, config, o) {
|
|
148
|
-
return [
|
|
151
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
149
152
|
})
|
|
150
153
|
.s("DynamoDB_20120810", "BatchGetItem", {})
|
|
151
154
|
.n("DynamoDBClient", "BatchGetItemCommand")
|
|
152
|
-
.sc(
|
|
155
|
+
.sc(BatchGetItem$)
|
|
153
156
|
.build() {
|
|
154
157
|
}
|
|
155
158
|
|
|
156
|
-
class BatchWriteItemCommand extends
|
|
159
|
+
class BatchWriteItemCommand extends Command
|
|
157
160
|
.classBuilder()
|
|
158
161
|
.ep({
|
|
159
162
|
...commonParams,
|
|
160
163
|
ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
|
|
161
164
|
})
|
|
162
165
|
.m(function (Command, cs, config, o) {
|
|
163
|
-
return [
|
|
166
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
164
167
|
})
|
|
165
168
|
.s("DynamoDB_20120810", "BatchWriteItem", {})
|
|
166
169
|
.n("DynamoDBClient", "BatchWriteItemCommand")
|
|
167
|
-
.sc(
|
|
170
|
+
.sc(BatchWriteItem$)
|
|
168
171
|
.build() {
|
|
169
172
|
}
|
|
170
173
|
|
|
171
|
-
class CreateBackupCommand extends
|
|
174
|
+
class CreateBackupCommand extends Command
|
|
172
175
|
.classBuilder()
|
|
173
176
|
.ep({
|
|
174
177
|
...commonParams,
|
|
175
178
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
176
179
|
})
|
|
177
180
|
.m(function (Command, cs, config, o) {
|
|
178
|
-
return [
|
|
181
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
179
182
|
})
|
|
180
183
|
.s("DynamoDB_20120810", "CreateBackup", {})
|
|
181
184
|
.n("DynamoDBClient", "CreateBackupCommand")
|
|
182
|
-
.sc(
|
|
185
|
+
.sc(CreateBackup$)
|
|
183
186
|
.build() {
|
|
184
187
|
}
|
|
185
188
|
|
|
186
|
-
class CreateGlobalTableCommand extends
|
|
189
|
+
class CreateGlobalTableCommand extends Command
|
|
187
190
|
.classBuilder()
|
|
188
191
|
.ep({
|
|
189
192
|
...commonParams,
|
|
190
193
|
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
191
194
|
})
|
|
192
195
|
.m(function (Command, cs, config, o) {
|
|
193
|
-
return [
|
|
196
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
194
197
|
})
|
|
195
198
|
.s("DynamoDB_20120810", "CreateGlobalTable", {})
|
|
196
199
|
.n("DynamoDBClient", "CreateGlobalTableCommand")
|
|
197
|
-
.sc(
|
|
200
|
+
.sc(CreateGlobalTable$)
|
|
198
201
|
.build() {
|
|
199
202
|
}
|
|
200
203
|
|
|
201
|
-
class CreateTableCommand extends
|
|
204
|
+
class CreateTableCommand extends Command
|
|
202
205
|
.classBuilder()
|
|
203
206
|
.ep({
|
|
204
207
|
...commonParams,
|
|
205
208
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
206
209
|
})
|
|
207
210
|
.m(function (Command, cs, config, o) {
|
|
208
|
-
return [
|
|
211
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
209
212
|
})
|
|
210
213
|
.s("DynamoDB_20120810", "CreateTable", {})
|
|
211
214
|
.n("DynamoDBClient", "CreateTableCommand")
|
|
212
|
-
.sc(
|
|
215
|
+
.sc(CreateTable$)
|
|
213
216
|
.build() {
|
|
214
217
|
}
|
|
215
218
|
|
|
216
|
-
class DeleteBackupCommand extends
|
|
219
|
+
class DeleteBackupCommand extends Command
|
|
217
220
|
.classBuilder()
|
|
218
221
|
.ep({
|
|
219
222
|
...commonParams,
|
|
220
223
|
ResourceArn: { type: "contextParams", name: "BackupArn" },
|
|
221
224
|
})
|
|
222
225
|
.m(function (Command, cs, config, o) {
|
|
223
|
-
return [
|
|
226
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
224
227
|
})
|
|
225
228
|
.s("DynamoDB_20120810", "DeleteBackup", {})
|
|
226
229
|
.n("DynamoDBClient", "DeleteBackupCommand")
|
|
227
|
-
.sc(
|
|
230
|
+
.sc(DeleteBackup$)
|
|
228
231
|
.build() {
|
|
229
232
|
}
|
|
230
233
|
|
|
231
|
-
class DeleteItemCommand extends
|
|
234
|
+
class DeleteItemCommand extends Command
|
|
232
235
|
.classBuilder()
|
|
233
236
|
.ep({
|
|
234
237
|
...commonParams,
|
|
235
238
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
236
239
|
})
|
|
237
240
|
.m(function (Command, cs, config, o) {
|
|
238
|
-
return [
|
|
241
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
239
242
|
})
|
|
240
243
|
.s("DynamoDB_20120810", "DeleteItem", {})
|
|
241
244
|
.n("DynamoDBClient", "DeleteItemCommand")
|
|
242
|
-
.sc(
|
|
245
|
+
.sc(DeleteItem$)
|
|
243
246
|
.build() {
|
|
244
247
|
}
|
|
245
248
|
|
|
246
|
-
class DeleteResourcePolicyCommand extends
|
|
249
|
+
class DeleteResourcePolicyCommand extends Command
|
|
247
250
|
.classBuilder()
|
|
248
251
|
.ep({
|
|
249
252
|
...commonParams,
|
|
250
253
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
251
254
|
})
|
|
252
255
|
.m(function (Command, cs, config, o) {
|
|
253
|
-
return [
|
|
256
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
254
257
|
})
|
|
255
258
|
.s("DynamoDB_20120810", "DeleteResourcePolicy", {})
|
|
256
259
|
.n("DynamoDBClient", "DeleteResourcePolicyCommand")
|
|
257
|
-
.sc(
|
|
260
|
+
.sc(DeleteResourcePolicy$)
|
|
258
261
|
.build() {
|
|
259
262
|
}
|
|
260
263
|
|
|
261
|
-
class DeleteTableCommand extends
|
|
264
|
+
class DeleteTableCommand extends Command
|
|
262
265
|
.classBuilder()
|
|
263
266
|
.ep({
|
|
264
267
|
...commonParams,
|
|
265
268
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
266
269
|
})
|
|
267
270
|
.m(function (Command, cs, config, o) {
|
|
268
|
-
return [
|
|
271
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
269
272
|
})
|
|
270
273
|
.s("DynamoDB_20120810", "DeleteTable", {})
|
|
271
274
|
.n("DynamoDBClient", "DeleteTableCommand")
|
|
272
|
-
.sc(
|
|
275
|
+
.sc(DeleteTable$)
|
|
273
276
|
.build() {
|
|
274
277
|
}
|
|
275
278
|
|
|
276
|
-
class DescribeBackupCommand extends
|
|
279
|
+
class DescribeBackupCommand extends Command
|
|
277
280
|
.classBuilder()
|
|
278
281
|
.ep({
|
|
279
282
|
...commonParams,
|
|
280
283
|
ResourceArn: { type: "contextParams", name: "BackupArn" },
|
|
281
284
|
})
|
|
282
285
|
.m(function (Command, cs, config, o) {
|
|
283
|
-
return [
|
|
286
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
284
287
|
})
|
|
285
288
|
.s("DynamoDB_20120810", "DescribeBackup", {})
|
|
286
289
|
.n("DynamoDBClient", "DescribeBackupCommand")
|
|
287
|
-
.sc(
|
|
290
|
+
.sc(DescribeBackup$)
|
|
288
291
|
.build() {
|
|
289
292
|
}
|
|
290
293
|
|
|
291
|
-
class DescribeContinuousBackupsCommand extends
|
|
294
|
+
class DescribeContinuousBackupsCommand extends Command
|
|
292
295
|
.classBuilder()
|
|
293
296
|
.ep({
|
|
294
297
|
...commonParams,
|
|
295
298
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
296
299
|
})
|
|
297
300
|
.m(function (Command, cs, config, o) {
|
|
298
|
-
return [
|
|
301
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
299
302
|
})
|
|
300
303
|
.s("DynamoDB_20120810", "DescribeContinuousBackups", {})
|
|
301
304
|
.n("DynamoDBClient", "DescribeContinuousBackupsCommand")
|
|
302
|
-
.sc(
|
|
305
|
+
.sc(DescribeContinuousBackups$)
|
|
303
306
|
.build() {
|
|
304
307
|
}
|
|
305
308
|
|
|
306
|
-
class DescribeContributorInsightsCommand extends
|
|
309
|
+
class DescribeContributorInsightsCommand extends Command
|
|
307
310
|
.classBuilder()
|
|
308
311
|
.ep({
|
|
309
312
|
...commonParams,
|
|
310
313
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
311
314
|
})
|
|
312
315
|
.m(function (Command, cs, config, o) {
|
|
313
|
-
return [
|
|
316
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
314
317
|
})
|
|
315
318
|
.s("DynamoDB_20120810", "DescribeContributorInsights", {})
|
|
316
319
|
.n("DynamoDBClient", "DescribeContributorInsightsCommand")
|
|
317
|
-
.sc(
|
|
320
|
+
.sc(DescribeContributorInsights$)
|
|
318
321
|
.build() {
|
|
319
322
|
}
|
|
320
323
|
|
|
321
|
-
class DescribeExportCommand extends
|
|
324
|
+
class DescribeExportCommand extends Command
|
|
322
325
|
.classBuilder()
|
|
323
326
|
.ep({
|
|
324
327
|
...commonParams,
|
|
325
328
|
ResourceArn: { type: "contextParams", name: "ExportArn" },
|
|
326
329
|
})
|
|
327
330
|
.m(function (Command, cs, config, o) {
|
|
328
|
-
return [
|
|
331
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
329
332
|
})
|
|
330
333
|
.s("DynamoDB_20120810", "DescribeExport", {})
|
|
331
334
|
.n("DynamoDBClient", "DescribeExportCommand")
|
|
332
|
-
.sc(
|
|
335
|
+
.sc(DescribeExport$)
|
|
333
336
|
.build() {
|
|
334
337
|
}
|
|
335
338
|
|
|
336
|
-
class DescribeGlobalTableCommand extends
|
|
339
|
+
class DescribeGlobalTableCommand extends Command
|
|
337
340
|
.classBuilder()
|
|
338
341
|
.ep({
|
|
339
342
|
...commonParams,
|
|
340
343
|
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
341
344
|
})
|
|
342
345
|
.m(function (Command, cs, config, o) {
|
|
343
|
-
return [
|
|
346
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
344
347
|
})
|
|
345
348
|
.s("DynamoDB_20120810", "DescribeGlobalTable", {})
|
|
346
349
|
.n("DynamoDBClient", "DescribeGlobalTableCommand")
|
|
347
|
-
.sc(
|
|
350
|
+
.sc(DescribeGlobalTable$)
|
|
348
351
|
.build() {
|
|
349
352
|
}
|
|
350
353
|
|
|
351
|
-
class DescribeGlobalTableSettingsCommand extends
|
|
354
|
+
class DescribeGlobalTableSettingsCommand extends Command
|
|
352
355
|
.classBuilder()
|
|
353
356
|
.ep({
|
|
354
357
|
...commonParams,
|
|
355
358
|
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
356
359
|
})
|
|
357
360
|
.m(function (Command, cs, config, o) {
|
|
358
|
-
return [
|
|
361
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
359
362
|
})
|
|
360
363
|
.s("DynamoDB_20120810", "DescribeGlobalTableSettings", {})
|
|
361
364
|
.n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
|
|
362
|
-
.sc(
|
|
365
|
+
.sc(DescribeGlobalTableSettings$)
|
|
363
366
|
.build() {
|
|
364
367
|
}
|
|
365
368
|
|
|
366
|
-
class DescribeImportCommand extends
|
|
369
|
+
class DescribeImportCommand extends Command
|
|
367
370
|
.classBuilder()
|
|
368
371
|
.ep({
|
|
369
372
|
...commonParams,
|
|
370
373
|
ResourceArn: { type: "contextParams", name: "ImportArn" },
|
|
371
374
|
})
|
|
372
375
|
.m(function (Command, cs, config, o) {
|
|
373
|
-
return [
|
|
376
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
374
377
|
})
|
|
375
378
|
.s("DynamoDB_20120810", "DescribeImport", {})
|
|
376
379
|
.n("DynamoDBClient", "DescribeImportCommand")
|
|
377
|
-
.sc(
|
|
380
|
+
.sc(DescribeImport$)
|
|
378
381
|
.build() {
|
|
379
382
|
}
|
|
380
383
|
|
|
381
|
-
class DescribeKinesisStreamingDestinationCommand extends
|
|
384
|
+
class DescribeKinesisStreamingDestinationCommand extends Command
|
|
382
385
|
.classBuilder()
|
|
383
386
|
.ep({
|
|
384
387
|
...commonParams,
|
|
385
388
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
386
389
|
})
|
|
387
390
|
.m(function (Command, cs, config, o) {
|
|
388
|
-
return [
|
|
391
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
389
392
|
})
|
|
390
393
|
.s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {})
|
|
391
394
|
.n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
|
|
392
|
-
.sc(
|
|
395
|
+
.sc(DescribeKinesisStreamingDestination$)
|
|
393
396
|
.build() {
|
|
394
397
|
}
|
|
395
398
|
|
|
396
|
-
class DescribeLimitsCommand extends
|
|
399
|
+
class DescribeLimitsCommand extends Command
|
|
397
400
|
.classBuilder()
|
|
398
401
|
.ep(commonParams)
|
|
399
402
|
.m(function (Command, cs, config, o) {
|
|
400
|
-
return [
|
|
403
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
401
404
|
})
|
|
402
405
|
.s("DynamoDB_20120810", "DescribeLimits", {})
|
|
403
406
|
.n("DynamoDBClient", "DescribeLimitsCommand")
|
|
404
|
-
.sc(
|
|
407
|
+
.sc(DescribeLimits$)
|
|
405
408
|
.build() {
|
|
406
409
|
}
|
|
407
410
|
|
|
408
|
-
class DescribeTableCommand extends
|
|
411
|
+
class DescribeTableCommand extends Command
|
|
409
412
|
.classBuilder()
|
|
410
413
|
.ep({
|
|
411
414
|
...commonParams,
|
|
412
415
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
413
416
|
})
|
|
414
417
|
.m(function (Command, cs, config, o) {
|
|
415
|
-
return [
|
|
418
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
416
419
|
})
|
|
417
420
|
.s("DynamoDB_20120810", "DescribeTable", {})
|
|
418
421
|
.n("DynamoDBClient", "DescribeTableCommand")
|
|
419
|
-
.sc(
|
|
422
|
+
.sc(DescribeTable$)
|
|
420
423
|
.build() {
|
|
421
424
|
}
|
|
422
425
|
|
|
423
|
-
class DescribeTableReplicaAutoScalingCommand extends
|
|
426
|
+
class DescribeTableReplicaAutoScalingCommand extends Command
|
|
424
427
|
.classBuilder()
|
|
425
428
|
.ep({
|
|
426
429
|
...commonParams,
|
|
427
430
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
428
431
|
})
|
|
429
432
|
.m(function (Command, cs, config, o) {
|
|
430
|
-
return [
|
|
433
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
431
434
|
})
|
|
432
435
|
.s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {})
|
|
433
436
|
.n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand")
|
|
434
|
-
.sc(
|
|
437
|
+
.sc(DescribeTableReplicaAutoScaling$)
|
|
435
438
|
.build() {
|
|
436
439
|
}
|
|
437
440
|
|
|
438
|
-
class DescribeTimeToLiveCommand extends
|
|
441
|
+
class DescribeTimeToLiveCommand extends Command
|
|
439
442
|
.classBuilder()
|
|
440
443
|
.ep({
|
|
441
444
|
...commonParams,
|
|
442
445
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
443
446
|
})
|
|
444
447
|
.m(function (Command, cs, config, o) {
|
|
445
|
-
return [
|
|
448
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
446
449
|
})
|
|
447
450
|
.s("DynamoDB_20120810", "DescribeTimeToLive", {})
|
|
448
451
|
.n("DynamoDBClient", "DescribeTimeToLiveCommand")
|
|
449
|
-
.sc(
|
|
452
|
+
.sc(DescribeTimeToLive$)
|
|
450
453
|
.build() {
|
|
451
454
|
}
|
|
452
455
|
|
|
453
|
-
class DisableKinesisStreamingDestinationCommand extends
|
|
456
|
+
class DisableKinesisStreamingDestinationCommand extends Command
|
|
454
457
|
.classBuilder()
|
|
455
458
|
.ep({
|
|
456
459
|
...commonParams,
|
|
457
460
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
458
461
|
})
|
|
459
462
|
.m(function (Command, cs, config, o) {
|
|
460
|
-
return [
|
|
463
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
461
464
|
})
|
|
462
465
|
.s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {})
|
|
463
466
|
.n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand")
|
|
464
|
-
.sc(
|
|
467
|
+
.sc(DisableKinesisStreamingDestination$)
|
|
465
468
|
.build() {
|
|
466
469
|
}
|
|
467
470
|
|
|
468
|
-
class EnableKinesisStreamingDestinationCommand extends
|
|
471
|
+
class EnableKinesisStreamingDestinationCommand extends Command
|
|
469
472
|
.classBuilder()
|
|
470
473
|
.ep({
|
|
471
474
|
...commonParams,
|
|
472
475
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
473
476
|
})
|
|
474
477
|
.m(function (Command, cs, config, o) {
|
|
475
|
-
return [
|
|
478
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
476
479
|
})
|
|
477
480
|
.s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {})
|
|
478
481
|
.n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand")
|
|
479
|
-
.sc(
|
|
482
|
+
.sc(EnableKinesisStreamingDestination$)
|
|
480
483
|
.build() {
|
|
481
484
|
}
|
|
482
485
|
|
|
483
|
-
class ExecuteStatementCommand extends
|
|
486
|
+
class ExecuteStatementCommand extends Command
|
|
484
487
|
.classBuilder()
|
|
485
488
|
.ep(commonParams)
|
|
486
489
|
.m(function (Command, cs, config, o) {
|
|
487
|
-
return [
|
|
490
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
488
491
|
})
|
|
489
492
|
.s("DynamoDB_20120810", "ExecuteStatement", {})
|
|
490
493
|
.n("DynamoDBClient", "ExecuteStatementCommand")
|
|
491
|
-
.sc(
|
|
494
|
+
.sc(ExecuteStatement$)
|
|
492
495
|
.build() {
|
|
493
496
|
}
|
|
494
497
|
|
|
495
|
-
class ExecuteTransactionCommand extends
|
|
498
|
+
class ExecuteTransactionCommand extends Command
|
|
496
499
|
.classBuilder()
|
|
497
500
|
.ep(commonParams)
|
|
498
501
|
.m(function (Command, cs, config, o) {
|
|
499
|
-
return [
|
|
502
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
500
503
|
})
|
|
501
504
|
.s("DynamoDB_20120810", "ExecuteTransaction", {})
|
|
502
505
|
.n("DynamoDBClient", "ExecuteTransactionCommand")
|
|
503
|
-
.sc(
|
|
506
|
+
.sc(ExecuteTransaction$)
|
|
504
507
|
.build() {
|
|
505
508
|
}
|
|
506
509
|
|
|
507
|
-
class ExportTableToPointInTimeCommand extends
|
|
510
|
+
class ExportTableToPointInTimeCommand extends Command
|
|
508
511
|
.classBuilder()
|
|
509
512
|
.ep({
|
|
510
513
|
...commonParams,
|
|
511
514
|
ResourceArn: { type: "contextParams", name: "TableArn" },
|
|
512
515
|
})
|
|
513
516
|
.m(function (Command, cs, config, o) {
|
|
514
|
-
return [
|
|
517
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
515
518
|
})
|
|
516
519
|
.s("DynamoDB_20120810", "ExportTableToPointInTime", {})
|
|
517
520
|
.n("DynamoDBClient", "ExportTableToPointInTimeCommand")
|
|
518
|
-
.sc(
|
|
521
|
+
.sc(ExportTableToPointInTime$)
|
|
519
522
|
.build() {
|
|
520
523
|
}
|
|
521
524
|
|
|
522
|
-
class GetItemCommand extends
|
|
525
|
+
class GetItemCommand extends Command
|
|
523
526
|
.classBuilder()
|
|
524
527
|
.ep({
|
|
525
528
|
...commonParams,
|
|
526
529
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
527
530
|
})
|
|
528
531
|
.m(function (Command, cs, config, o) {
|
|
529
|
-
return [
|
|
532
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
530
533
|
})
|
|
531
534
|
.s("DynamoDB_20120810", "GetItem", {})
|
|
532
535
|
.n("DynamoDBClient", "GetItemCommand")
|
|
533
|
-
.sc(
|
|
536
|
+
.sc(GetItem$)
|
|
534
537
|
.build() {
|
|
535
538
|
}
|
|
536
539
|
|
|
537
|
-
class GetResourcePolicyCommand extends
|
|
540
|
+
class GetResourcePolicyCommand extends Command
|
|
538
541
|
.classBuilder()
|
|
539
542
|
.ep({
|
|
540
543
|
...commonParams,
|
|
541
544
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
542
545
|
})
|
|
543
546
|
.m(function (Command, cs, config, o) {
|
|
544
|
-
return [
|
|
547
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
545
548
|
})
|
|
546
549
|
.s("DynamoDB_20120810", "GetResourcePolicy", {})
|
|
547
550
|
.n("DynamoDBClient", "GetResourcePolicyCommand")
|
|
548
|
-
.sc(
|
|
551
|
+
.sc(GetResourcePolicy$)
|
|
549
552
|
.build() {
|
|
550
553
|
}
|
|
551
554
|
|
|
552
|
-
class ImportTableCommand extends
|
|
555
|
+
class ImportTableCommand extends Command
|
|
553
556
|
.classBuilder()
|
|
554
557
|
.ep({
|
|
555
558
|
...commonParams,
|
|
556
559
|
ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
|
|
557
560
|
})
|
|
558
561
|
.m(function (Command, cs, config, o) {
|
|
559
|
-
return [
|
|
562
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
560
563
|
})
|
|
561
564
|
.s("DynamoDB_20120810", "ImportTable", {})
|
|
562
565
|
.n("DynamoDBClient", "ImportTableCommand")
|
|
563
|
-
.sc(
|
|
566
|
+
.sc(ImportTable$)
|
|
564
567
|
.build() {
|
|
565
568
|
}
|
|
566
569
|
|
|
567
|
-
class ListBackupsCommand extends
|
|
570
|
+
class ListBackupsCommand extends Command
|
|
568
571
|
.classBuilder()
|
|
569
572
|
.ep({
|
|
570
573
|
...commonParams,
|
|
571
574
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
572
575
|
})
|
|
573
576
|
.m(function (Command, cs, config, o) {
|
|
574
|
-
return [
|
|
577
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
575
578
|
})
|
|
576
579
|
.s("DynamoDB_20120810", "ListBackups", {})
|
|
577
580
|
.n("DynamoDBClient", "ListBackupsCommand")
|
|
578
|
-
.sc(
|
|
581
|
+
.sc(ListBackups$)
|
|
579
582
|
.build() {
|
|
580
583
|
}
|
|
581
584
|
|
|
582
|
-
class ListContributorInsightsCommand extends
|
|
585
|
+
class ListContributorInsightsCommand extends Command
|
|
583
586
|
.classBuilder()
|
|
584
587
|
.ep({
|
|
585
588
|
...commonParams,
|
|
586
589
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
587
590
|
})
|
|
588
591
|
.m(function (Command, cs, config, o) {
|
|
589
|
-
return [
|
|
592
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
590
593
|
})
|
|
591
594
|
.s("DynamoDB_20120810", "ListContributorInsights", {})
|
|
592
595
|
.n("DynamoDBClient", "ListContributorInsightsCommand")
|
|
593
|
-
.sc(
|
|
596
|
+
.sc(ListContributorInsights$)
|
|
594
597
|
.build() {
|
|
595
598
|
}
|
|
596
599
|
|
|
597
|
-
class ListExportsCommand extends
|
|
600
|
+
class ListExportsCommand extends Command
|
|
598
601
|
.classBuilder()
|
|
599
602
|
.ep({
|
|
600
603
|
...commonParams,
|
|
601
604
|
ResourceArn: { type: "contextParams", name: "TableArn" },
|
|
602
605
|
})
|
|
603
606
|
.m(function (Command, cs, config, o) {
|
|
604
|
-
return [
|
|
607
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
605
608
|
})
|
|
606
609
|
.s("DynamoDB_20120810", "ListExports", {})
|
|
607
610
|
.n("DynamoDBClient", "ListExportsCommand")
|
|
608
|
-
.sc(
|
|
611
|
+
.sc(ListExports$)
|
|
609
612
|
.build() {
|
|
610
613
|
}
|
|
611
614
|
|
|
612
|
-
class ListGlobalTablesCommand extends
|
|
615
|
+
class ListGlobalTablesCommand extends Command
|
|
613
616
|
.classBuilder()
|
|
614
617
|
.ep(commonParams)
|
|
615
618
|
.m(function (Command, cs, config, o) {
|
|
616
|
-
return [
|
|
619
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
617
620
|
})
|
|
618
621
|
.s("DynamoDB_20120810", "ListGlobalTables", {})
|
|
619
622
|
.n("DynamoDBClient", "ListGlobalTablesCommand")
|
|
620
|
-
.sc(
|
|
623
|
+
.sc(ListGlobalTables$)
|
|
621
624
|
.build() {
|
|
622
625
|
}
|
|
623
626
|
|
|
624
|
-
class ListImportsCommand extends
|
|
627
|
+
class ListImportsCommand extends Command
|
|
625
628
|
.classBuilder()
|
|
626
629
|
.ep({
|
|
627
630
|
...commonParams,
|
|
628
631
|
ResourceArn: { type: "contextParams", name: "TableArn" },
|
|
629
632
|
})
|
|
630
633
|
.m(function (Command, cs, config, o) {
|
|
631
|
-
return [
|
|
634
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
632
635
|
})
|
|
633
636
|
.s("DynamoDB_20120810", "ListImports", {})
|
|
634
637
|
.n("DynamoDBClient", "ListImportsCommand")
|
|
635
|
-
.sc(
|
|
638
|
+
.sc(ListImports$)
|
|
636
639
|
.build() {
|
|
637
640
|
}
|
|
638
641
|
|
|
639
|
-
class ListTablesCommand extends
|
|
642
|
+
class ListTablesCommand extends Command
|
|
640
643
|
.classBuilder()
|
|
641
644
|
.ep(commonParams)
|
|
642
645
|
.m(function (Command, cs, config, o) {
|
|
643
|
-
return [
|
|
646
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
644
647
|
})
|
|
645
648
|
.s("DynamoDB_20120810", "ListTables", {})
|
|
646
649
|
.n("DynamoDBClient", "ListTablesCommand")
|
|
647
|
-
.sc(
|
|
650
|
+
.sc(ListTables$)
|
|
648
651
|
.build() {
|
|
649
652
|
}
|
|
650
653
|
|
|
651
|
-
class ListTagsOfResourceCommand extends
|
|
654
|
+
class ListTagsOfResourceCommand extends Command
|
|
652
655
|
.classBuilder()
|
|
653
656
|
.ep({
|
|
654
657
|
...commonParams,
|
|
655
658
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
656
659
|
})
|
|
657
660
|
.m(function (Command, cs, config, o) {
|
|
658
|
-
return [
|
|
661
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
659
662
|
})
|
|
660
663
|
.s("DynamoDB_20120810", "ListTagsOfResource", {})
|
|
661
664
|
.n("DynamoDBClient", "ListTagsOfResourceCommand")
|
|
662
|
-
.sc(
|
|
665
|
+
.sc(ListTagsOfResource$)
|
|
663
666
|
.build() {
|
|
664
667
|
}
|
|
665
668
|
|
|
666
|
-
class PutItemCommand extends
|
|
669
|
+
class PutItemCommand extends Command
|
|
667
670
|
.classBuilder()
|
|
668
671
|
.ep({
|
|
669
672
|
...commonParams,
|
|
670
673
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
671
674
|
})
|
|
672
675
|
.m(function (Command, cs, config, o) {
|
|
673
|
-
return [
|
|
676
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
674
677
|
})
|
|
675
678
|
.s("DynamoDB_20120810", "PutItem", {})
|
|
676
679
|
.n("DynamoDBClient", "PutItemCommand")
|
|
677
|
-
.sc(
|
|
680
|
+
.sc(PutItem$)
|
|
678
681
|
.build() {
|
|
679
682
|
}
|
|
680
683
|
|
|
681
|
-
class PutResourcePolicyCommand extends
|
|
684
|
+
class PutResourcePolicyCommand extends Command
|
|
682
685
|
.classBuilder()
|
|
683
686
|
.ep({
|
|
684
687
|
...commonParams,
|
|
685
688
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
686
689
|
})
|
|
687
690
|
.m(function (Command, cs, config, o) {
|
|
688
|
-
return [
|
|
691
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
689
692
|
})
|
|
690
693
|
.s("DynamoDB_20120810", "PutResourcePolicy", {})
|
|
691
694
|
.n("DynamoDBClient", "PutResourcePolicyCommand")
|
|
692
|
-
.sc(
|
|
695
|
+
.sc(PutResourcePolicy$)
|
|
693
696
|
.build() {
|
|
694
697
|
}
|
|
695
698
|
|
|
696
|
-
class QueryCommand extends
|
|
699
|
+
class QueryCommand extends Command
|
|
697
700
|
.classBuilder()
|
|
698
701
|
.ep({
|
|
699
702
|
...commonParams,
|
|
700
703
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
701
704
|
})
|
|
702
705
|
.m(function (Command, cs, config, o) {
|
|
703
|
-
return [
|
|
706
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
704
707
|
})
|
|
705
708
|
.s("DynamoDB_20120810", "Query", {})
|
|
706
709
|
.n("DynamoDBClient", "QueryCommand")
|
|
707
|
-
.sc(
|
|
710
|
+
.sc(Query$)
|
|
708
711
|
.build() {
|
|
709
712
|
}
|
|
710
713
|
|
|
711
|
-
class RestoreTableFromBackupCommand extends
|
|
714
|
+
class RestoreTableFromBackupCommand extends Command
|
|
712
715
|
.classBuilder()
|
|
713
716
|
.ep({
|
|
714
717
|
...commonParams,
|
|
715
718
|
ResourceArn: { type: "contextParams", name: "TargetTableName" },
|
|
716
719
|
})
|
|
717
720
|
.m(function (Command, cs, config, o) {
|
|
718
|
-
return [
|
|
721
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
719
722
|
})
|
|
720
723
|
.s("DynamoDB_20120810", "RestoreTableFromBackup", {})
|
|
721
724
|
.n("DynamoDBClient", "RestoreTableFromBackupCommand")
|
|
722
|
-
.sc(
|
|
725
|
+
.sc(RestoreTableFromBackup$)
|
|
723
726
|
.build() {
|
|
724
727
|
}
|
|
725
728
|
|
|
726
|
-
class RestoreTableToPointInTimeCommand extends
|
|
729
|
+
class RestoreTableToPointInTimeCommand extends Command
|
|
727
730
|
.classBuilder()
|
|
728
731
|
.ep({
|
|
729
732
|
...commonParams,
|
|
730
733
|
ResourceArn: { type: "contextParams", name: "TargetTableName" },
|
|
731
734
|
})
|
|
732
735
|
.m(function (Command, cs, config, o) {
|
|
733
|
-
return [
|
|
736
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
734
737
|
})
|
|
735
738
|
.s("DynamoDB_20120810", "RestoreTableToPointInTime", {})
|
|
736
739
|
.n("DynamoDBClient", "RestoreTableToPointInTimeCommand")
|
|
737
|
-
.sc(
|
|
740
|
+
.sc(RestoreTableToPointInTime$)
|
|
738
741
|
.build() {
|
|
739
742
|
}
|
|
740
743
|
|
|
741
|
-
class ScanCommand extends
|
|
744
|
+
class ScanCommand extends Command
|
|
742
745
|
.classBuilder()
|
|
743
746
|
.ep({
|
|
744
747
|
...commonParams,
|
|
745
748
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
746
749
|
})
|
|
747
750
|
.m(function (Command, cs, config, o) {
|
|
748
|
-
return [
|
|
751
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
749
752
|
})
|
|
750
753
|
.s("DynamoDB_20120810", "Scan", {})
|
|
751
754
|
.n("DynamoDBClient", "ScanCommand")
|
|
752
|
-
.sc(
|
|
755
|
+
.sc(Scan$)
|
|
753
756
|
.build() {
|
|
754
757
|
}
|
|
755
758
|
|
|
756
|
-
class TagResourceCommand extends
|
|
759
|
+
class TagResourceCommand extends Command
|
|
757
760
|
.classBuilder()
|
|
758
761
|
.ep({
|
|
759
762
|
...commonParams,
|
|
760
763
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
761
764
|
})
|
|
762
765
|
.m(function (Command, cs, config, o) {
|
|
763
|
-
return [
|
|
766
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
764
767
|
})
|
|
765
768
|
.s("DynamoDB_20120810", "TagResource", {})
|
|
766
769
|
.n("DynamoDBClient", "TagResourceCommand")
|
|
767
|
-
.sc(
|
|
770
|
+
.sc(TagResource$)
|
|
768
771
|
.build() {
|
|
769
772
|
}
|
|
770
773
|
|
|
771
|
-
class TransactGetItemsCommand extends
|
|
774
|
+
class TransactGetItemsCommand extends Command
|
|
772
775
|
.classBuilder()
|
|
773
776
|
.ep({
|
|
774
777
|
...commonParams,
|
|
775
778
|
ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
|
|
776
779
|
})
|
|
777
780
|
.m(function (Command, cs, config, o) {
|
|
778
|
-
return [
|
|
781
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
779
782
|
})
|
|
780
783
|
.s("DynamoDB_20120810", "TransactGetItems", {})
|
|
781
784
|
.n("DynamoDBClient", "TransactGetItemsCommand")
|
|
782
|
-
.sc(
|
|
785
|
+
.sc(TransactGetItems$)
|
|
783
786
|
.build() {
|
|
784
787
|
}
|
|
785
788
|
|
|
786
|
-
class TransactWriteItemsCommand extends
|
|
789
|
+
class TransactWriteItemsCommand extends Command
|
|
787
790
|
.classBuilder()
|
|
788
791
|
.ep({
|
|
789
792
|
...commonParams,
|
|
790
793
|
ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
|
|
791
794
|
})
|
|
792
795
|
.m(function (Command, cs, config, o) {
|
|
793
|
-
return [
|
|
796
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
794
797
|
})
|
|
795
798
|
.s("DynamoDB_20120810", "TransactWriteItems", {})
|
|
796
799
|
.n("DynamoDBClient", "TransactWriteItemsCommand")
|
|
797
|
-
.sc(
|
|
800
|
+
.sc(TransactWriteItems$)
|
|
798
801
|
.build() {
|
|
799
802
|
}
|
|
800
803
|
|
|
801
|
-
class UntagResourceCommand extends
|
|
804
|
+
class UntagResourceCommand extends Command
|
|
802
805
|
.classBuilder()
|
|
803
806
|
.ep({
|
|
804
807
|
...commonParams,
|
|
805
808
|
ResourceArn: { type: "contextParams", name: "ResourceArn" },
|
|
806
809
|
})
|
|
807
810
|
.m(function (Command, cs, config, o) {
|
|
808
|
-
return [
|
|
811
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
809
812
|
})
|
|
810
813
|
.s("DynamoDB_20120810", "UntagResource", {})
|
|
811
814
|
.n("DynamoDBClient", "UntagResourceCommand")
|
|
812
|
-
.sc(
|
|
815
|
+
.sc(UntagResource$)
|
|
813
816
|
.build() {
|
|
814
817
|
}
|
|
815
818
|
|
|
816
|
-
class UpdateContinuousBackupsCommand extends
|
|
819
|
+
class UpdateContinuousBackupsCommand extends Command
|
|
817
820
|
.classBuilder()
|
|
818
821
|
.ep({
|
|
819
822
|
...commonParams,
|
|
820
823
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
821
824
|
})
|
|
822
825
|
.m(function (Command, cs, config, o) {
|
|
823
|
-
return [
|
|
826
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
824
827
|
})
|
|
825
828
|
.s("DynamoDB_20120810", "UpdateContinuousBackups", {})
|
|
826
829
|
.n("DynamoDBClient", "UpdateContinuousBackupsCommand")
|
|
827
|
-
.sc(
|
|
830
|
+
.sc(UpdateContinuousBackups$)
|
|
828
831
|
.build() {
|
|
829
832
|
}
|
|
830
833
|
|
|
831
|
-
class UpdateContributorInsightsCommand extends
|
|
834
|
+
class UpdateContributorInsightsCommand extends Command
|
|
832
835
|
.classBuilder()
|
|
833
836
|
.ep({
|
|
834
837
|
...commonParams,
|
|
835
838
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
836
839
|
})
|
|
837
840
|
.m(function (Command, cs, config, o) {
|
|
838
|
-
return [
|
|
841
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
839
842
|
})
|
|
840
843
|
.s("DynamoDB_20120810", "UpdateContributorInsights", {})
|
|
841
844
|
.n("DynamoDBClient", "UpdateContributorInsightsCommand")
|
|
842
|
-
.sc(
|
|
845
|
+
.sc(UpdateContributorInsights$)
|
|
843
846
|
.build() {
|
|
844
847
|
}
|
|
845
848
|
|
|
846
|
-
class UpdateGlobalTableCommand extends
|
|
849
|
+
class UpdateGlobalTableCommand extends Command
|
|
847
850
|
.classBuilder()
|
|
848
851
|
.ep({
|
|
849
852
|
...commonParams,
|
|
850
853
|
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
851
854
|
})
|
|
852
855
|
.m(function (Command, cs, config, o) {
|
|
853
|
-
return [
|
|
856
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
854
857
|
})
|
|
855
858
|
.s("DynamoDB_20120810", "UpdateGlobalTable", {})
|
|
856
859
|
.n("DynamoDBClient", "UpdateGlobalTableCommand")
|
|
857
|
-
.sc(
|
|
860
|
+
.sc(UpdateGlobalTable$)
|
|
858
861
|
.build() {
|
|
859
862
|
}
|
|
860
863
|
|
|
861
|
-
class UpdateGlobalTableSettingsCommand extends
|
|
864
|
+
class UpdateGlobalTableSettingsCommand extends Command
|
|
862
865
|
.classBuilder()
|
|
863
866
|
.ep({
|
|
864
867
|
...commonParams,
|
|
865
868
|
ResourceArn: { type: "contextParams", name: "GlobalTableName" },
|
|
866
869
|
})
|
|
867
870
|
.m(function (Command, cs, config, o) {
|
|
868
|
-
return [
|
|
871
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
869
872
|
})
|
|
870
873
|
.s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
|
|
871
874
|
.n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
|
|
872
|
-
.sc(
|
|
875
|
+
.sc(UpdateGlobalTableSettings$)
|
|
873
876
|
.build() {
|
|
874
877
|
}
|
|
875
878
|
|
|
876
|
-
class UpdateItemCommand extends
|
|
879
|
+
class UpdateItemCommand extends Command
|
|
877
880
|
.classBuilder()
|
|
878
881
|
.ep({
|
|
879
882
|
...commonParams,
|
|
880
883
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
881
884
|
})
|
|
882
885
|
.m(function (Command, cs, config, o) {
|
|
883
|
-
return [
|
|
886
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
884
887
|
})
|
|
885
888
|
.s("DynamoDB_20120810", "UpdateItem", {})
|
|
886
889
|
.n("DynamoDBClient", "UpdateItemCommand")
|
|
887
|
-
.sc(
|
|
890
|
+
.sc(UpdateItem$)
|
|
888
891
|
.build() {
|
|
889
892
|
}
|
|
890
893
|
|
|
891
|
-
class UpdateKinesisStreamingDestinationCommand extends
|
|
894
|
+
class UpdateKinesisStreamingDestinationCommand extends Command
|
|
892
895
|
.classBuilder()
|
|
893
896
|
.ep({
|
|
894
897
|
...commonParams,
|
|
895
898
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
896
899
|
})
|
|
897
900
|
.m(function (Command, cs, config, o) {
|
|
898
|
-
return [
|
|
901
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
899
902
|
})
|
|
900
903
|
.s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
|
|
901
904
|
.n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
|
|
902
|
-
.sc(
|
|
905
|
+
.sc(UpdateKinesisStreamingDestination$)
|
|
903
906
|
.build() {
|
|
904
907
|
}
|
|
905
908
|
|
|
906
|
-
class UpdateTableCommand extends
|
|
909
|
+
class UpdateTableCommand extends Command
|
|
907
910
|
.classBuilder()
|
|
908
911
|
.ep({
|
|
909
912
|
...commonParams,
|
|
910
913
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
911
914
|
})
|
|
912
915
|
.m(function (Command, cs, config, o) {
|
|
913
|
-
return [
|
|
916
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
914
917
|
})
|
|
915
918
|
.s("DynamoDB_20120810", "UpdateTable", {})
|
|
916
919
|
.n("DynamoDBClient", "UpdateTableCommand")
|
|
917
|
-
.sc(
|
|
920
|
+
.sc(UpdateTable$)
|
|
918
921
|
.build() {
|
|
919
922
|
}
|
|
920
923
|
|
|
921
|
-
class UpdateTableReplicaAutoScalingCommand extends
|
|
924
|
+
class UpdateTableReplicaAutoScalingCommand extends Command
|
|
922
925
|
.classBuilder()
|
|
923
926
|
.ep({
|
|
924
927
|
...commonParams,
|
|
925
928
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
926
929
|
})
|
|
927
930
|
.m(function (Command, cs, config, o) {
|
|
928
|
-
return [
|
|
931
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
929
932
|
})
|
|
930
933
|
.s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
|
|
931
934
|
.n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
|
|
932
|
-
.sc(
|
|
935
|
+
.sc(UpdateTableReplicaAutoScaling$)
|
|
933
936
|
.build() {
|
|
934
937
|
}
|
|
935
938
|
|
|
936
|
-
class UpdateTimeToLiveCommand extends
|
|
939
|
+
class UpdateTimeToLiveCommand extends Command
|
|
937
940
|
.classBuilder()
|
|
938
941
|
.ep({
|
|
939
942
|
...commonParams,
|
|
940
943
|
ResourceArn: { type: "contextParams", name: "TableName" },
|
|
941
944
|
})
|
|
942
945
|
.m(function (Command, cs, config, o) {
|
|
943
|
-
return [
|
|
946
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
944
947
|
})
|
|
945
948
|
.s("DynamoDB_20120810", "UpdateTimeToLive", {})
|
|
946
949
|
.n("DynamoDBClient", "UpdateTimeToLiveCommand")
|
|
947
|
-
.sc(
|
|
950
|
+
.sc(UpdateTimeToLive$)
|
|
948
951
|
.build() {
|
|
949
952
|
}
|
|
950
953
|
|
|
951
|
-
const paginateListContributorInsights =
|
|
954
|
+
const paginateListContributorInsights = createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
952
955
|
|
|
953
|
-
const paginateListExports =
|
|
956
|
+
const paginateListExports = createPaginator(DynamoDBClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
954
957
|
|
|
955
|
-
const paginateListImports =
|
|
958
|
+
const paginateListImports = createPaginator(DynamoDBClient, ListImportsCommand, "NextToken", "NextToken", "PageSize");
|
|
956
959
|
|
|
957
|
-
const paginateListTables =
|
|
960
|
+
const paginateListTables = createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit");
|
|
958
961
|
|
|
959
|
-
const paginateQuery =
|
|
962
|
+
const paginateQuery = createPaginator(DynamoDBClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
960
963
|
|
|
961
|
-
const paginateScan =
|
|
964
|
+
const paginateScan = createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
|
|
962
965
|
|
|
963
|
-
const checkState$5 = async (client
|
|
966
|
+
const checkState$5 = async (client, input) => {
|
|
964
967
|
let reason;
|
|
965
968
|
try {
|
|
966
|
-
let result = await client
|
|
969
|
+
let result = await client.send(new DescribeContributorInsightsCommand(input));
|
|
967
970
|
reason = result;
|
|
968
971
|
try {
|
|
969
972
|
const returnComparator = () => {
|
|
970
973
|
return result.ContributorInsightsStatus;
|
|
971
974
|
};
|
|
972
975
|
if (returnComparator() === "ENABLED") {
|
|
973
|
-
return { state:
|
|
976
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
974
977
|
}
|
|
975
978
|
}
|
|
976
979
|
catch (e) { }
|
|
@@ -979,7 +982,7 @@ const checkState$5 = async (client$1, input) => {
|
|
|
979
982
|
return result.ContributorInsightsStatus;
|
|
980
983
|
};
|
|
981
984
|
if (returnComparator() === "FAILED") {
|
|
982
|
-
return { state:
|
|
985
|
+
return { state: WaiterState.FAILURE, reason };
|
|
983
986
|
}
|
|
984
987
|
}
|
|
985
988
|
catch (e) { }
|
|
@@ -987,29 +990,29 @@ const checkState$5 = async (client$1, input) => {
|
|
|
987
990
|
catch (exception) {
|
|
988
991
|
reason = exception;
|
|
989
992
|
}
|
|
990
|
-
return { state:
|
|
993
|
+
return { state: WaiterState.RETRY, reason };
|
|
991
994
|
};
|
|
992
995
|
const waitForContributorInsightsEnabled = async (params, input) => {
|
|
993
996
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
994
|
-
return
|
|
997
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
995
998
|
};
|
|
996
999
|
const waitUntilContributorInsightsEnabled = async (params, input) => {
|
|
997
1000
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
998
|
-
const result = await
|
|
999
|
-
return
|
|
1001
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
|
|
1002
|
+
return checkExceptions(result);
|
|
1000
1003
|
};
|
|
1001
1004
|
|
|
1002
|
-
const checkState$4 = async (client
|
|
1005
|
+
const checkState$4 = async (client, input) => {
|
|
1003
1006
|
let reason;
|
|
1004
1007
|
try {
|
|
1005
|
-
let result = await client
|
|
1008
|
+
let result = await client.send(new DescribeExportCommand(input));
|
|
1006
1009
|
reason = result;
|
|
1007
1010
|
try {
|
|
1008
1011
|
const returnComparator = () => {
|
|
1009
1012
|
return result.ExportDescription.ExportStatus;
|
|
1010
1013
|
};
|
|
1011
1014
|
if (returnComparator() === "COMPLETED") {
|
|
1012
|
-
return { state:
|
|
1015
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1013
1016
|
}
|
|
1014
1017
|
}
|
|
1015
1018
|
catch (e) { }
|
|
@@ -1018,7 +1021,7 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1018
1021
|
return result.ExportDescription.ExportStatus;
|
|
1019
1022
|
};
|
|
1020
1023
|
if (returnComparator() === "FAILED") {
|
|
1021
|
-
return { state:
|
|
1024
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1022
1025
|
}
|
|
1023
1026
|
}
|
|
1024
1027
|
catch (e) { }
|
|
@@ -1026,29 +1029,29 @@ const checkState$4 = async (client$1, input) => {
|
|
|
1026
1029
|
catch (exception) {
|
|
1027
1030
|
reason = exception;
|
|
1028
1031
|
}
|
|
1029
|
-
return { state:
|
|
1032
|
+
return { state: WaiterState.RETRY, reason };
|
|
1030
1033
|
};
|
|
1031
1034
|
const waitForExportCompleted = async (params, input) => {
|
|
1032
1035
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1033
|
-
return
|
|
1036
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1034
1037
|
};
|
|
1035
1038
|
const waitUntilExportCompleted = async (params, input) => {
|
|
1036
1039
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1037
|
-
const result = await
|
|
1038
|
-
return
|
|
1040
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
|
|
1041
|
+
return checkExceptions(result);
|
|
1039
1042
|
};
|
|
1040
1043
|
|
|
1041
|
-
const checkState$3 = async (client
|
|
1044
|
+
const checkState$3 = async (client, input) => {
|
|
1042
1045
|
let reason;
|
|
1043
1046
|
try {
|
|
1044
|
-
let result = await client
|
|
1047
|
+
let result = await client.send(new DescribeImportCommand(input));
|
|
1045
1048
|
reason = result;
|
|
1046
1049
|
try {
|
|
1047
1050
|
const returnComparator = () => {
|
|
1048
1051
|
return result.ImportTableDescription.ImportStatus;
|
|
1049
1052
|
};
|
|
1050
1053
|
if (returnComparator() === "COMPLETED") {
|
|
1051
|
-
return { state:
|
|
1054
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1052
1055
|
}
|
|
1053
1056
|
}
|
|
1054
1057
|
catch (e) { }
|
|
@@ -1057,7 +1060,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1057
1060
|
return result.ImportTableDescription.ImportStatus;
|
|
1058
1061
|
};
|
|
1059
1062
|
if (returnComparator() === "FAILED") {
|
|
1060
|
-
return { state:
|
|
1063
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1061
1064
|
}
|
|
1062
1065
|
}
|
|
1063
1066
|
catch (e) { }
|
|
@@ -1066,7 +1069,7 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1066
1069
|
return result.ImportTableDescription.ImportStatus;
|
|
1067
1070
|
};
|
|
1068
1071
|
if (returnComparator() === "CANCELLED") {
|
|
1069
|
-
return { state:
|
|
1072
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1070
1073
|
}
|
|
1071
1074
|
}
|
|
1072
1075
|
catch (e) { }
|
|
@@ -1074,22 +1077,22 @@ const checkState$3 = async (client$1, input) => {
|
|
|
1074
1077
|
catch (exception) {
|
|
1075
1078
|
reason = exception;
|
|
1076
1079
|
}
|
|
1077
|
-
return { state:
|
|
1080
|
+
return { state: WaiterState.RETRY, reason };
|
|
1078
1081
|
};
|
|
1079
1082
|
const waitForImportCompleted = async (params, input) => {
|
|
1080
1083
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1081
|
-
return
|
|
1084
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1082
1085
|
};
|
|
1083
1086
|
const waitUntilImportCompleted = async (params, input) => {
|
|
1084
1087
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1085
|
-
const result = await
|
|
1086
|
-
return
|
|
1088
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
1089
|
+
return checkExceptions(result);
|
|
1087
1090
|
};
|
|
1088
1091
|
|
|
1089
|
-
const checkState$2 = async (client
|
|
1092
|
+
const checkState$2 = async (client, input) => {
|
|
1090
1093
|
let reason;
|
|
1091
1094
|
try {
|
|
1092
|
-
let result = await client
|
|
1095
|
+
let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input));
|
|
1093
1096
|
reason = result;
|
|
1094
1097
|
try {
|
|
1095
1098
|
const returnComparator = () => {
|
|
@@ -1101,7 +1104,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1101
1104
|
};
|
|
1102
1105
|
for (let anyStringEq_4 of returnComparator()) {
|
|
1103
1106
|
if (anyStringEq_4 == "ACTIVE") {
|
|
1104
|
-
return { state:
|
|
1107
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1105
1108
|
}
|
|
1106
1109
|
}
|
|
1107
1110
|
}
|
|
@@ -1114,7 +1117,7 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1114
1117
|
return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length));
|
|
1115
1118
|
};
|
|
1116
1119
|
if (returnComparator() == true) {
|
|
1117
|
-
return { state:
|
|
1120
|
+
return { state: WaiterState.FAILURE, reason };
|
|
1118
1121
|
}
|
|
1119
1122
|
}
|
|
1120
1123
|
catch (e) { }
|
|
@@ -1122,29 +1125,29 @@ const checkState$2 = async (client$1, input) => {
|
|
|
1122
1125
|
catch (exception) {
|
|
1123
1126
|
reason = exception;
|
|
1124
1127
|
}
|
|
1125
|
-
return { state:
|
|
1128
|
+
return { state: WaiterState.RETRY, reason };
|
|
1126
1129
|
};
|
|
1127
1130
|
const waitForKinesisStreamingDestinationActive = async (params, input) => {
|
|
1128
1131
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1129
|
-
return
|
|
1132
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1130
1133
|
};
|
|
1131
1134
|
const waitUntilKinesisStreamingDestinationActive = async (params, input) => {
|
|
1132
1135
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1133
|
-
const result = await
|
|
1134
|
-
return
|
|
1136
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
1137
|
+
return checkExceptions(result);
|
|
1135
1138
|
};
|
|
1136
1139
|
|
|
1137
|
-
const checkState$1 = async (client
|
|
1140
|
+
const checkState$1 = async (client, input) => {
|
|
1138
1141
|
let reason;
|
|
1139
1142
|
try {
|
|
1140
|
-
let result = await client
|
|
1143
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
1141
1144
|
reason = result;
|
|
1142
1145
|
try {
|
|
1143
1146
|
const returnComparator = () => {
|
|
1144
1147
|
return result.Table.TableStatus;
|
|
1145
1148
|
};
|
|
1146
1149
|
if (returnComparator() === "ACTIVE") {
|
|
1147
|
-
return { state:
|
|
1150
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1148
1151
|
}
|
|
1149
1152
|
}
|
|
1150
1153
|
catch (e) { }
|
|
@@ -1152,43 +1155,43 @@ const checkState$1 = async (client$1, input) => {
|
|
|
1152
1155
|
catch (exception) {
|
|
1153
1156
|
reason = exception;
|
|
1154
1157
|
if (exception.name === "ResourceNotFoundException") {
|
|
1155
|
-
return { state:
|
|
1158
|
+
return { state: WaiterState.RETRY, reason };
|
|
1156
1159
|
}
|
|
1157
1160
|
}
|
|
1158
|
-
return { state:
|
|
1161
|
+
return { state: WaiterState.RETRY, reason };
|
|
1159
1162
|
};
|
|
1160
1163
|
const waitForTableExists = async (params, input) => {
|
|
1161
1164
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1162
|
-
return
|
|
1165
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1163
1166
|
};
|
|
1164
1167
|
const waitUntilTableExists = async (params, input) => {
|
|
1165
1168
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1166
|
-
const result = await
|
|
1167
|
-
return
|
|
1169
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
1170
|
+
return checkExceptions(result);
|
|
1168
1171
|
};
|
|
1169
1172
|
|
|
1170
|
-
const checkState = async (client
|
|
1173
|
+
const checkState = async (client, input) => {
|
|
1171
1174
|
let reason;
|
|
1172
1175
|
try {
|
|
1173
|
-
let result = await client
|
|
1176
|
+
let result = await client.send(new DescribeTableCommand(input));
|
|
1174
1177
|
reason = result;
|
|
1175
1178
|
}
|
|
1176
1179
|
catch (exception) {
|
|
1177
1180
|
reason = exception;
|
|
1178
1181
|
if (exception.name === "ResourceNotFoundException") {
|
|
1179
|
-
return { state:
|
|
1182
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
1180
1183
|
}
|
|
1181
1184
|
}
|
|
1182
|
-
return { state:
|
|
1185
|
+
return { state: WaiterState.RETRY, reason };
|
|
1183
1186
|
};
|
|
1184
1187
|
const waitForTableNotExists = async (params, input) => {
|
|
1185
1188
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1186
|
-
return
|
|
1189
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1187
1190
|
};
|
|
1188
1191
|
const waitUntilTableNotExists = async (params, input) => {
|
|
1189
1192
|
const serviceDefaults = { minDelay: 20, maxDelay: 120 };
|
|
1190
|
-
const result = await
|
|
1191
|
-
return
|
|
1193
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
1194
|
+
return checkExceptions(result);
|
|
1192
1195
|
};
|
|
1193
1196
|
|
|
1194
1197
|
const commands = {
|
|
@@ -1268,7 +1271,7 @@ const waiters = {
|
|
|
1268
1271
|
};
|
|
1269
1272
|
class DynamoDB extends DynamoDBClient {
|
|
1270
1273
|
}
|
|
1271
|
-
|
|
1274
|
+
createAggregatedClient(commands, DynamoDB, { paginators, waiters });
|
|
1272
1275
|
|
|
1273
1276
|
const ApproximateCreationDateTimePrecision = {
|
|
1274
1277
|
MICROSECOND: "MICROSECOND",
|
|
@@ -1516,9 +1519,6 @@ const Select = {
|
|
|
1516
1519
|
SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
|
|
1517
1520
|
};
|
|
1518
1521
|
|
|
1519
|
-
exports.$Command = client.Command;
|
|
1520
|
-
exports.__Client = client.Client;
|
|
1521
|
-
exports.DynamoDBServiceException = DynamoDBServiceException.DynamoDBServiceException;
|
|
1522
1522
|
exports.ApproximateCreationDateTimePrecision = ApproximateCreationDateTimePrecision;
|
|
1523
1523
|
exports.AttributeAction = AttributeAction;
|
|
1524
1524
|
exports.BackupStatus = BackupStatus;
|
|
@@ -1639,23 +1639,3 @@ exports.waitUntilImportCompleted = waitUntilImportCompleted;
|
|
|
1639
1639
|
exports.waitUntilKinesisStreamingDestinationActive = waitUntilKinesisStreamingDestinationActive;
|
|
1640
1640
|
exports.waitUntilTableExists = waitUntilTableExists;
|
|
1641
1641
|
exports.waitUntilTableNotExists = waitUntilTableNotExists;
|
|
1642
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
1643
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1644
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1645
|
-
enumerable: true,
|
|
1646
|
-
value: schemas_0['__proto__']
|
|
1647
|
-
});
|
|
1648
|
-
|
|
1649
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
1650
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
1651
|
-
});
|
|
1652
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
1653
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
1654
|
-
Object.defineProperty(exports, '__proto__', {
|
|
1655
|
-
enumerable: true,
|
|
1656
|
-
value: errors['__proto__']
|
|
1657
|
-
});
|
|
1658
|
-
|
|
1659
|
-
Object.keys(errors).forEach(function (k) {
|
|
1660
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
1661
|
-
});
|