@aws-sdk/client-keyspaces 3.927.0 → 3.928.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.
Files changed (40) hide show
  1. package/dist-cjs/index.js +663 -835
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KeyspacesClient.js +2 -0
  4. package/dist-es/commands/CreateKeyspaceCommand.js +3 -9
  5. package/dist-es/commands/CreateTableCommand.js +3 -9
  6. package/dist-es/commands/CreateTypeCommand.js +3 -9
  7. package/dist-es/commands/DeleteKeyspaceCommand.js +3 -9
  8. package/dist-es/commands/DeleteTableCommand.js +3 -9
  9. package/dist-es/commands/DeleteTypeCommand.js +3 -9
  10. package/dist-es/commands/GetKeyspaceCommand.js +3 -9
  11. package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +3 -9
  12. package/dist-es/commands/GetTableCommand.js +3 -9
  13. package/dist-es/commands/GetTypeCommand.js +3 -9
  14. package/dist-es/commands/ListKeyspacesCommand.js +3 -9
  15. package/dist-es/commands/ListTablesCommand.js +3 -9
  16. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  17. package/dist-es/commands/ListTypesCommand.js +3 -9
  18. package/dist-es/commands/RestoreTableCommand.js +3 -9
  19. package/dist-es/commands/TagResourceCommand.js +3 -9
  20. package/dist-es/commands/UntagResourceCommand.js +3 -9
  21. package/dist-es/commands/UpdateKeyspaceCommand.js +3 -9
  22. package/dist-es/commands/UpdateTableCommand.js +3 -9
  23. package/dist-es/runtimeConfig.shared.js +7 -0
  24. package/dist-es/schemas/schemas_0.js +608 -0
  25. package/dist-types/KeyspacesClient.d.ts +10 -1
  26. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  27. package/dist-types/runtimeConfig.d.ts +1 -0
  28. package/dist-types/runtimeConfig.native.d.ts +1 -0
  29. package/dist-types/runtimeConfig.shared.d.ts +2 -5
  30. package/dist-types/schemas/schemas_0.d.ts +108 -0
  31. package/dist-types/ts3.4/KeyspacesClient.d.ts +4 -0
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +113 -0
  37. package/package.json +5 -5
  38. package/dist-es/protocols/Aws_json1_0.js +0 -688
  39. package/dist-types/protocols/Aws_json1_0.d.ts +0 -173
  40. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -233
@@ -0,0 +1,608 @@
1
+ const _ADE = "AccessDeniedException";
2
+ const _ASP = "AutoScalingPolicy";
3
+ const _ASS = "AutoScalingSettings";
4
+ const _ASSu = "AutoScalingSpecification";
5
+ const _C = "Comment";
6
+ const _CD = "ColumnDefinition";
7
+ const _CDL = "ColumnDefinitionList";
8
+ const _CE = "ConflictException";
9
+ const _CK = "ClusteringKey";
10
+ const _CKL = "ClusteringKeyList";
11
+ const _CKR = "CreateKeyspaceRequest";
12
+ const _CKRr = "CreateKeyspaceResponse";
13
+ const _CKr = "CreateKeyspace";
14
+ const _CS = "CapacitySpecification";
15
+ const _CSS = "CapacitySpecificationSummary";
16
+ const _CSSd = "CdcSpecificationSummary";
17
+ const _CST = "ClientSideTimestamps";
18
+ const _CSd = "CdcSpecification";
19
+ const _CT = "CreateTable";
20
+ const _CTR = "CreateTableRequest";
21
+ const _CTRr = "CreateTableResponse";
22
+ const _CTRre = "CreateTypeRequest";
23
+ const _CTRrea = "CreateTypeResponse";
24
+ const _CTr = "CreateType";
25
+ const _DK = "DeleteKeyspace";
26
+ const _DKR = "DeleteKeyspaceRequest";
27
+ const _DKRe = "DeleteKeyspaceResponse";
28
+ const _DT = "DeleteTable";
29
+ const _DTR = "DeleteTableRequest";
30
+ const _DTRe = "DeleteTableResponse";
31
+ const _DTRel = "DeleteTypeRequest";
32
+ const _DTRele = "DeleteTypeResponse";
33
+ const _DTe = "DeleteType";
34
+ const _ES = "EncryptionSpecification";
35
+ const _FD = "FieldDefinition";
36
+ const _FL = "FieldList";
37
+ const _GK = "GetKeyspace";
38
+ const _GKR = "GetKeyspaceRequest";
39
+ const _GKRe = "GetKeyspaceResponse";
40
+ const _GT = "GetTable";
41
+ const _GTASS = "GetTableAutoScalingSettings";
42
+ const _GTASSR = "GetTableAutoScalingSettingsRequest";
43
+ const _GTASSRe = "GetTableAutoScalingSettingsResponse";
44
+ const _GTR = "GetTableRequest";
45
+ const _GTRe = "GetTableResponse";
46
+ const _GTRet = "GetTypeRequest";
47
+ const _GTRety = "GetTypeResponse";
48
+ const _GTe = "GetType";
49
+ const _ISE = "InternalServerException";
50
+ const _KS = "KeyspaceSummary";
51
+ const _KSL = "KeyspaceSummaryList";
52
+ const _LK = "ListKeyspaces";
53
+ const _LKR = "ListKeyspacesRequest";
54
+ const _LKRi = "ListKeyspacesResponse";
55
+ const _LT = "ListTables";
56
+ const _LTFR = "ListTagsForResource";
57
+ const _LTFRR = "ListTagsForResourceRequest";
58
+ const _LTFRRi = "ListTagsForResourceResponse";
59
+ const _LTR = "ListTablesRequest";
60
+ const _LTRi = "ListTablesResponse";
61
+ const _LTRis = "ListTypesRequest";
62
+ const _LTRist = "ListTypesResponse";
63
+ const _LTi = "ListTypes";
64
+ const _PITR = "PointInTimeRecovery";
65
+ const _PITRS = "PointInTimeRecoverySummary";
66
+ const _PK = "PartitionKey";
67
+ const _PKL = "PartitionKeyList";
68
+ const _RASS = "ReplicaAutoScalingSpecification";
69
+ const _RASSL = "ReplicaAutoScalingSpecificationList";
70
+ const _RGS = "ReplicationGroupStatus";
71
+ const _RGSL = "ReplicationGroupStatusList";
72
+ const _RNFE = "ResourceNotFoundException";
73
+ const _RS = "ReplicaSpecification";
74
+ const _RSL = "ReplicaSpecificationList";
75
+ const _RSS = "ReplicaSpecificationSummary";
76
+ const _RSSL = "ReplicaSpecificationSummaryList";
77
+ const _RSe = "ReplicationSpecification";
78
+ const _RT = "RestoreTable";
79
+ const _RTR = "RestoreTableRequest";
80
+ const _RTRe = "RestoreTableResponse";
81
+ const _SC = "StaticColumn";
82
+ const _SCL = "StaticColumnList";
83
+ const _SD = "SchemaDefinition";
84
+ const _SQEE = "ServiceQuotaExceededException";
85
+ const _T = "Tag";
86
+ const _TL = "TagList";
87
+ const _TR = "TagResource";
88
+ const _TRR = "TagResourceRequest";
89
+ const _TRRa = "TagResourceResponse";
90
+ const _TS = "TableSummary";
91
+ const _TSL = "TableSummaryList";
92
+ const _TTL = "TimeToLive";
93
+ const _TTSPC = "TargetTrackingScalingPolicyConfiguration";
94
+ const _UK = "UpdateKeyspace";
95
+ const _UKR = "UpdateKeyspaceRequest";
96
+ const _UKRp = "UpdateKeyspaceResponse";
97
+ const _UR = "UntagResource";
98
+ const _URR = "UntagResourceRequest";
99
+ const _URRn = "UntagResourceResponse";
100
+ const _UT = "UpdateTable";
101
+ const _UTR = "UpdateTableRequest";
102
+ const _UTRp = "UpdateTableResponse";
103
+ const _VE = "ValidationException";
104
+ const _aC = "allColumns";
105
+ const _aCd = "addColumns";
106
+ const _aQE = "awsQueryError";
107
+ const _aSD = "autoScalingDisabled";
108
+ const _aSS = "autoScalingSpecification";
109
+ const _c = "client";
110
+ const _cK = "clusteringKeys";
111
+ const _cS = "capacitySpecification";
112
+ const _cSO = "capacitySpecificationOverride";
113
+ const _cST = "clientSideTimestamps";
114
+ const _cSd = "cdcSpecification";
115
+ const _cT = "creationTimestamp";
116
+ const _co = "comment";
117
+ const _dPT = "directParentTypes";
118
+ const _dRT = "directReferringTables";
119
+ const _dSI = "disableScaleIn";
120
+ const _dTTL = "defaultTimeToLive";
121
+ const _e = "error";
122
+ const _eRT = "earliestRestorableTimestamp";
123
+ const _eS = "encryptionSpecification";
124
+ const _eSO = "encryptionSpecificationOverride";
125
+ const _fD = "fieldDefinitions";
126
+ const _hE = "httpError";
127
+ const _k = "keyspaces";
128
+ const _kA = "keyspaceArn";
129
+ const _kKI = "kmsKeyIdentifier";
130
+ const _kN = "keyspaceName";
131
+ const _kS = "keyspaceStatus";
132
+ const _ke = "key";
133
+ const _lMT = "lastModifiedTimestamp";
134
+ const _lSA = "latestStreamArn";
135
+ const _lUTPPRT = "lastUpdateToPayPerRequestTimestamp";
136
+ const _m = "message";
137
+ const _mND = "maxNestingDepth";
138
+ const _mR = "maxResults";
139
+ const _mU = "minimumUnits";
140
+ const _mUa = "maximumUnits";
141
+ const _n = "name";
142
+ const _nT = "nextToken";
143
+ const _oB = "orderBy";
144
+ const _pITR = "pointInTimeRecovery";
145
+ const _pITRO = "pointInTimeRecoveryOverride";
146
+ const _pK = "partitionKeys";
147
+ const _pT = "propagateTags";
148
+ const _r = "region";
149
+ const _rA = "resourceArn";
150
+ const _rCAS = "readCapacityAutoScaling";
151
+ const _rCU = "readCapacityUnits";
152
+ const _rGS = "replicationGroupStatuses";
153
+ const _rL = "regionList";
154
+ const _rR = "replicationRegions";
155
+ const _rS = "replicationSpecification";
156
+ const _rSe = "replicaSpecifications";
157
+ const _rSep = "replicationStrategy";
158
+ const _rT = "restoreTimestamp";
159
+ const _rTARN = "restoredTableARN";
160
+ const _s = "status";
161
+ const _sC = "staticColumns";
162
+ const _sD = "schemaDefinition";
163
+ const _sIC = "scaleInCooldown";
164
+ const _sKN = "sourceKeyspaceName";
165
+ const _sOC = "scaleOutCooldown";
166
+ const _sP = "scalingPolicy";
167
+ const _sTN = "sourceTableName";
168
+ const _se = "server";
169
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspaces";
170
+ const _t = "tags";
171
+ const _tKN = "targetKeyspaceName";
172
+ const _tM = "throughputMode";
173
+ const _tN = "tableName";
174
+ const _tNy = "typeName";
175
+ const _tO = "tagsOverride";
176
+ const _tRP = "tablesReplicationProgress";
177
+ const _tTN = "targetTableName";
178
+ const _tTSPC = "targetTrackingScalingPolicyConfiguration";
179
+ const _tV = "targetValue";
180
+ const _ta = "tables";
181
+ const _tt = "ttl";
182
+ const _ty = "type";
183
+ const _typ = "types";
184
+ const _v = "value";
185
+ const _vT = "viewType";
186
+ const _wCAS = "writeCapacityAutoScaling";
187
+ const _wCU = "writeCapacityUnits";
188
+ const n0 = "com.amazonaws.keyspaces";
189
+ import { TypeRegistry } from "@smithy/core/schema";
190
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
191
+ import { KeyspacesServiceException as __KeyspacesServiceException } from "../models/KeyspacesServiceException";
192
+ export var AccessDeniedException = [
193
+ -3,
194
+ n0,
195
+ _ADE,
196
+ {
197
+ [_e]: _c,
198
+ [_hE]: 403,
199
+ [_aQE]: [`AccessDeniedException`, 403],
200
+ },
201
+ [_m],
202
+ [0],
203
+ ];
204
+ TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
205
+ export var AutoScalingPolicy = [
206
+ 3,
207
+ n0,
208
+ _ASP,
209
+ 0,
210
+ [_tTSPC],
211
+ [() => TargetTrackingScalingPolicyConfiguration],
212
+ ];
213
+ export var AutoScalingSettings = [
214
+ 3,
215
+ n0,
216
+ _ASS,
217
+ 0,
218
+ [_aSD, _mU, _mUa, _sP],
219
+ [2, 1, 1, () => AutoScalingPolicy],
220
+ ];
221
+ export var AutoScalingSpecification = [
222
+ 3,
223
+ n0,
224
+ _ASSu,
225
+ 0,
226
+ [_wCAS, _rCAS],
227
+ [() => AutoScalingSettings, () => AutoScalingSettings],
228
+ ];
229
+ export var CapacitySpecification = [3, n0, _CS, 0, [_tM, _rCU, _wCU], [0, 1, 1]];
230
+ export var CapacitySpecificationSummary = [
231
+ 3,
232
+ n0,
233
+ _CSS,
234
+ 0,
235
+ [_tM, _rCU, _wCU, _lUTPPRT],
236
+ [0, 1, 1, 4],
237
+ ];
238
+ export var CdcSpecification = [3, n0, _CSd, 0, [_s, _vT, _t, _pT], [0, 0, () => TagList, 0]];
239
+ export var CdcSpecificationSummary = [3, n0, _CSSd, 0, [_s, _vT], [0, 0]];
240
+ export var ClientSideTimestamps = [3, n0, _CST, 0, [_s], [0]];
241
+ export var ClusteringKey = [3, n0, _CK, 0, [_n, _oB], [0, 0]];
242
+ export var ColumnDefinition = [3, n0, _CD, 0, [_n, _ty], [0, 0]];
243
+ export var Comment = [3, n0, _C, 0, [_m], [0]];
244
+ export var ConflictException = [
245
+ -3,
246
+ n0,
247
+ _CE,
248
+ {
249
+ [_e]: _c,
250
+ [_hE]: 409,
251
+ [_aQE]: [`ConflictException`, 409],
252
+ },
253
+ [_m],
254
+ [0],
255
+ ];
256
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
257
+ export var CreateKeyspaceRequest = [
258
+ 3,
259
+ n0,
260
+ _CKR,
261
+ 0,
262
+ [_kN, _t, _rS],
263
+ [0, () => TagList, () => ReplicationSpecification],
264
+ ];
265
+ export var CreateKeyspaceResponse = [3, n0, _CKRr, 0, [_rA], [0]];
266
+ export var CreateTableRequest = [
267
+ 3,
268
+ n0,
269
+ _CTR,
270
+ 0,
271
+ [_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd],
272
+ [
273
+ 0,
274
+ 0,
275
+ () => SchemaDefinition,
276
+ () => Comment,
277
+ () => CapacitySpecification,
278
+ () => EncryptionSpecification,
279
+ () => PointInTimeRecovery,
280
+ () => TimeToLive,
281
+ 1,
282
+ () => TagList,
283
+ () => ClientSideTimestamps,
284
+ () => AutoScalingSpecification,
285
+ () => ReplicaSpecificationList,
286
+ () => CdcSpecification,
287
+ ],
288
+ ];
289
+ export var CreateTableResponse = [3, n0, _CTRr, 0, [_rA], [0]];
290
+ export var CreateTypeRequest = [3, n0, _CTRre, 0, [_kN, _tNy, _fD], [0, 0, () => FieldList]];
291
+ export var CreateTypeResponse = [3, n0, _CTRrea, 0, [_kA, _tNy], [0, 0]];
292
+ export var DeleteKeyspaceRequest = [3, n0, _DKR, 0, [_kN], [0]];
293
+ export var DeleteKeyspaceResponse = [3, n0, _DKRe, 0, [], []];
294
+ export var DeleteTableRequest = [3, n0, _DTR, 0, [_kN, _tN], [0, 0]];
295
+ export var DeleteTableResponse = [3, n0, _DTRe, 0, [], []];
296
+ export var DeleteTypeRequest = [3, n0, _DTRel, 0, [_kN, _tNy], [0, 0]];
297
+ export var DeleteTypeResponse = [3, n0, _DTRele, 0, [_kA, _tNy], [0, 0]];
298
+ export var EncryptionSpecification = [3, n0, _ES, 0, [_ty, _kKI], [0, 0]];
299
+ export var FieldDefinition = [3, n0, _FD, 0, [_n, _ty], [0, 0]];
300
+ export var GetKeyspaceRequest = [3, n0, _GKR, 0, [_kN], [0]];
301
+ export var GetKeyspaceResponse = [
302
+ 3,
303
+ n0,
304
+ _GKRe,
305
+ 0,
306
+ [_kN, _rA, _rSep, _rR, _rGS],
307
+ [0, 0, 0, 64 | 0, () => ReplicationGroupStatusList],
308
+ ];
309
+ export var GetTableAutoScalingSettingsRequest = [3, n0, _GTASSR, 0, [_kN, _tN], [0, 0]];
310
+ export var GetTableAutoScalingSettingsResponse = [
311
+ 3,
312
+ n0,
313
+ _GTASSRe,
314
+ 0,
315
+ [_kN, _tN, _rA, _aSS, _rSe],
316
+ [0, 0, 0, () => AutoScalingSpecification, () => ReplicaAutoScalingSpecificationList],
317
+ ];
318
+ export var GetTableRequest = [3, n0, _GTR, 0, [_kN, _tN], [0, 0]];
319
+ export var GetTableResponse = [
320
+ 3,
321
+ n0,
322
+ _GTRe,
323
+ 0,
324
+ [_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd],
325
+ [
326
+ 0,
327
+ 0,
328
+ 0,
329
+ 4,
330
+ 0,
331
+ () => SchemaDefinition,
332
+ () => CapacitySpecificationSummary,
333
+ () => EncryptionSpecification,
334
+ () => PointInTimeRecoverySummary,
335
+ () => TimeToLive,
336
+ 1,
337
+ () => Comment,
338
+ () => ClientSideTimestamps,
339
+ () => ReplicaSpecificationSummaryList,
340
+ 0,
341
+ () => CdcSpecificationSummary,
342
+ ],
343
+ ];
344
+ export var GetTypeRequest = [3, n0, _GTRet, 0, [_kN, _tNy], [0, 0]];
345
+ export var GetTypeResponse = [
346
+ 3,
347
+ n0,
348
+ _GTRety,
349
+ 0,
350
+ [_kN, _tNy, _fD, _lMT, _s, _dRT, _dPT, _mND, _kA],
351
+ [0, 0, () => FieldList, 4, 0, 64 | 0, 64 | 0, 1, 0],
352
+ ];
353
+ export var InternalServerException = [
354
+ -3,
355
+ n0,
356
+ _ISE,
357
+ {
358
+ [_e]: _se,
359
+ [_hE]: 500,
360
+ [_aQE]: [`InternalServerException`, 500],
361
+ },
362
+ [_m],
363
+ [0],
364
+ ];
365
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
366
+ export var KeyspaceSummary = [3, n0, _KS, 0, [_kN, _rA, _rSep, _rR], [0, 0, 0, 64 | 0]];
367
+ export var ListKeyspacesRequest = [3, n0, _LKR, 0, [_nT, _mR], [0, 1]];
368
+ export var ListKeyspacesResponse = [3, n0, _LKRi, 0, [_nT, _k], [0, () => KeyspaceSummaryList]];
369
+ export var ListTablesRequest = [3, n0, _LTR, 0, [_nT, _mR, _kN], [0, 1, 0]];
370
+ export var ListTablesResponse = [3, n0, _LTRi, 0, [_nT, _ta], [0, () => TableSummaryList]];
371
+ export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA, _nT, _mR], [0, 0, 1]];
372
+ export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_nT, _t], [0, () => TagList]];
373
+ export var ListTypesRequest = [3, n0, _LTRis, 0, [_nT, _mR, _kN], [0, 1, 0]];
374
+ export var ListTypesResponse = [3, n0, _LTRist, 0, [_nT, _typ], [0, 64 | 0]];
375
+ export var PartitionKey = [3, n0, _PK, 0, [_n], [0]];
376
+ export var PointInTimeRecovery = [3, n0, _PITR, 0, [_s], [0]];
377
+ export var PointInTimeRecoverySummary = [3, n0, _PITRS, 0, [_s, _eRT], [0, 4]];
378
+ export var ReplicaAutoScalingSpecification = [
379
+ 3,
380
+ n0,
381
+ _RASS,
382
+ 0,
383
+ [_r, _aSS],
384
+ [0, () => AutoScalingSpecification],
385
+ ];
386
+ export var ReplicaSpecification = [
387
+ 3,
388
+ n0,
389
+ _RS,
390
+ 0,
391
+ [_r, _rCU, _rCAS],
392
+ [0, 1, () => AutoScalingSettings],
393
+ ];
394
+ export var ReplicaSpecificationSummary = [
395
+ 3,
396
+ n0,
397
+ _RSS,
398
+ 0,
399
+ [_r, _s, _cS],
400
+ [0, 0, () => CapacitySpecificationSummary],
401
+ ];
402
+ export var ReplicationGroupStatus = [3, n0, _RGS, 0, [_r, _kS, _tRP], [0, 0, 0]];
403
+ export var ReplicationSpecification = [3, n0, _RSe, 0, [_rSep, _rL], [0, 64 | 0]];
404
+ export var ResourceNotFoundException = [
405
+ -3,
406
+ n0,
407
+ _RNFE,
408
+ {
409
+ [_e]: _c,
410
+ [_hE]: 404,
411
+ [_aQE]: [`ResourceNotFoundException`, 404],
412
+ },
413
+ [_m, _rA],
414
+ [0, 0],
415
+ ];
416
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
417
+ export var RestoreTableRequest = [
418
+ 3,
419
+ n0,
420
+ _RTR,
421
+ 0,
422
+ [_sKN, _sTN, _tKN, _tTN, _rT, _cSO, _eSO, _pITRO, _tO, _aSS, _rSe],
423
+ [
424
+ 0,
425
+ 0,
426
+ 0,
427
+ 0,
428
+ 4,
429
+ () => CapacitySpecification,
430
+ () => EncryptionSpecification,
431
+ () => PointInTimeRecovery,
432
+ () => TagList,
433
+ () => AutoScalingSpecification,
434
+ () => ReplicaSpecificationList,
435
+ ],
436
+ ];
437
+ export var RestoreTableResponse = [3, n0, _RTRe, 0, [_rTARN], [0]];
438
+ export var SchemaDefinition = [
439
+ 3,
440
+ n0,
441
+ _SD,
442
+ 0,
443
+ [_aC, _pK, _cK, _sC],
444
+ [() => ColumnDefinitionList, () => PartitionKeyList, () => ClusteringKeyList, () => StaticColumnList],
445
+ ];
446
+ export var ServiceQuotaExceededException = [
447
+ -3,
448
+ n0,
449
+ _SQEE,
450
+ {
451
+ [_e]: _c,
452
+ [_hE]: 402,
453
+ [_aQE]: [`ServiceQuotaExceededException`, 402],
454
+ },
455
+ [_m],
456
+ [0],
457
+ ];
458
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
459
+ export var StaticColumn = [3, n0, _SC, 0, [_n], [0]];
460
+ export var TableSummary = [3, n0, _TS, 0, [_kN, _tN, _rA], [0, 0, 0]];
461
+ export var Tag = [3, n0, _T, 0, [_ke, _v], [0, 0]];
462
+ export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, () => TagList]];
463
+ export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
464
+ export var TargetTrackingScalingPolicyConfiguration = [
465
+ 3,
466
+ n0,
467
+ _TTSPC,
468
+ 0,
469
+ [_dSI, _sIC, _sOC, _tV],
470
+ [2, 1, 1, 1],
471
+ ];
472
+ export var TimeToLive = [3, n0, _TTL, 0, [_s], [0]];
473
+ export var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _t], [0, () => TagList]];
474
+ export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
475
+ export var UpdateKeyspaceRequest = [
476
+ 3,
477
+ n0,
478
+ _UKR,
479
+ 0,
480
+ [_kN, _rS, _cST],
481
+ [0, () => ReplicationSpecification, () => ClientSideTimestamps],
482
+ ];
483
+ export var UpdateKeyspaceResponse = [3, n0, _UKRp, 0, [_rA], [0]];
484
+ export var UpdateTableRequest = [
485
+ 3,
486
+ n0,
487
+ _UTR,
488
+ 0,
489
+ [_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd],
490
+ [
491
+ 0,
492
+ 0,
493
+ () => ColumnDefinitionList,
494
+ () => CapacitySpecification,
495
+ () => EncryptionSpecification,
496
+ () => PointInTimeRecovery,
497
+ () => TimeToLive,
498
+ 1,
499
+ () => ClientSideTimestamps,
500
+ () => AutoScalingSpecification,
501
+ () => ReplicaSpecificationList,
502
+ () => CdcSpecification,
503
+ ],
504
+ ];
505
+ export var UpdateTableResponse = [3, n0, _UTRp, 0, [_rA], [0]];
506
+ export var ValidationException = [
507
+ -3,
508
+ n0,
509
+ _VE,
510
+ {
511
+ [_e]: _c,
512
+ [_aQE]: [`ValidationException`, 400],
513
+ },
514
+ [_m],
515
+ [0],
516
+ ];
517
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
518
+ export var KeyspacesServiceException = [-3, _sm, "KeyspacesServiceException", 0, [], []];
519
+ TypeRegistry.for(_sm).registerError(KeyspacesServiceException, __KeyspacesServiceException);
520
+ export var ClusteringKeyList = [1, n0, _CKL, 0, () => ClusteringKey];
521
+ export var ColumnDefinitionList = [1, n0, _CDL, 0, () => ColumnDefinition];
522
+ export var FieldList = [1, n0, _FL, 0, () => FieldDefinition];
523
+ export var KeyspaceSummaryList = [1, n0, _KSL, 0, () => KeyspaceSummary];
524
+ export var PartitionKeyList = [1, n0, _PKL, 0, () => PartitionKey];
525
+ export var RegionList = 64 | 0;
526
+ export var ReplicaAutoScalingSpecificationList = [
527
+ 1,
528
+ n0,
529
+ _RASSL,
530
+ 0,
531
+ () => ReplicaAutoScalingSpecification,
532
+ ];
533
+ export var ReplicaSpecificationList = [1, n0, _RSL, 0, () => ReplicaSpecification];
534
+ export var ReplicaSpecificationSummaryList = [1, n0, _RSSL, 0, () => ReplicaSpecificationSummary];
535
+ export var ReplicationGroupStatusList = [1, n0, _RGSL, 0, () => ReplicationGroupStatus];
536
+ export var StaticColumnList = [1, n0, _SCL, 0, () => StaticColumn];
537
+ export var TableNameList = 64 | 0;
538
+ export var TableSummaryList = [1, n0, _TSL, 0, () => TableSummary];
539
+ export var TagList = [1, n0, _TL, 0, () => Tag];
540
+ export var TypeNameList = 64 | 0;
541
+ export var CreateKeyspace = [
542
+ 9,
543
+ n0,
544
+ _CKr,
545
+ 0,
546
+ () => CreateKeyspaceRequest,
547
+ () => CreateKeyspaceResponse,
548
+ ];
549
+ export var CreateTable = [9, n0, _CT, 0, () => CreateTableRequest, () => CreateTableResponse];
550
+ export var CreateType = [9, n0, _CTr, 0, () => CreateTypeRequest, () => CreateTypeResponse];
551
+ export var DeleteKeyspace = [
552
+ 9,
553
+ n0,
554
+ _DK,
555
+ 0,
556
+ () => DeleteKeyspaceRequest,
557
+ () => DeleteKeyspaceResponse,
558
+ ];
559
+ export var DeleteTable = [9, n0, _DT, 0, () => DeleteTableRequest, () => DeleteTableResponse];
560
+ export var DeleteType = [9, n0, _DTe, 0, () => DeleteTypeRequest, () => DeleteTypeResponse];
561
+ export var GetKeyspace = [9, n0, _GK, 0, () => GetKeyspaceRequest, () => GetKeyspaceResponse];
562
+ export var GetTable = [9, n0, _GT, 0, () => GetTableRequest, () => GetTableResponse];
563
+ export var GetTableAutoScalingSettings = [
564
+ 9,
565
+ n0,
566
+ _GTASS,
567
+ 0,
568
+ () => GetTableAutoScalingSettingsRequest,
569
+ () => GetTableAutoScalingSettingsResponse,
570
+ ];
571
+ export var GetType = [9, n0, _GTe, 0, () => GetTypeRequest, () => GetTypeResponse];
572
+ export var ListKeyspaces = [
573
+ 9,
574
+ n0,
575
+ _LK,
576
+ 0,
577
+ () => ListKeyspacesRequest,
578
+ () => ListKeyspacesResponse,
579
+ ];
580
+ export var ListTables = [9, n0, _LT, 0, () => ListTablesRequest, () => ListTablesResponse];
581
+ export var ListTagsForResource = [
582
+ 9,
583
+ n0,
584
+ _LTFR,
585
+ 0,
586
+ () => ListTagsForResourceRequest,
587
+ () => ListTagsForResourceResponse,
588
+ ];
589
+ export var ListTypes = [9, n0, _LTi, 0, () => ListTypesRequest, () => ListTypesResponse];
590
+ export var RestoreTable = [9, n0, _RT, 0, () => RestoreTableRequest, () => RestoreTableResponse];
591
+ export var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
592
+ export var UntagResource = [
593
+ 9,
594
+ n0,
595
+ _UR,
596
+ 0,
597
+ () => UntagResourceRequest,
598
+ () => UntagResourceResponse,
599
+ ];
600
+ export var UpdateKeyspace = [
601
+ 9,
602
+ n0,
603
+ _UK,
604
+ 0,
605
+ () => UpdateKeyspaceRequest,
606
+ () => UpdateKeyspaceResponse,
607
+ ];
608
+ export var UpdateTable = [9, n0, _UT, 0, () => UpdateTableRequest, () => UpdateTableResponse];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateKeyspaceCommandInput, CreateKeyspaceCommandOutput } from "./commands/CreateKeyspaceCommand";
11
11
  import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
@@ -160,6 +160,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
160
160
  * Optional extensions
161
161
  */
162
162
  extensions?: RuntimeExtension[];
163
+ /**
164
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
165
+ * may be overridden. A default will always be set by the client.
166
+ * Available options depend on the service's supported protocols and will not be validated by
167
+ * the client.
168
+ * @alpha
169
+ *
170
+ */
171
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
163
172
  /**
164
173
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
165
174
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -8,16 +8,13 @@ export declare const getRuntimeConfig: (config: KeyspacesClientConfig) => {
8
8
  base64Encoder: (_input: Uint8Array | string) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
- logger
12
- /**
13
- * @internal
14
- */
15
- ?: import("@smithy/types").Logger;
11
+ logger?: import("@smithy/types").Logger;
16
12
  }) => import("@smithy/types").EndpointV2;
17
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
18
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesHttpAuthSchemeProvider;
19
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
20
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
21
18
  serviceId: string;
22
19
  urlParser: import("@smithy/types").UrlParser;
23
20
  utf8Decoder: import("@smithy/types").Decoder;