@aws-sdk/client-keyspaces 3.987.0 → 3.988.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.
@@ -160,7 +160,7 @@ const _rSep = "replicationStrategy";
160
160
  const _rT = "restoreTimestamp";
161
161
  const _rTARN = "restoredTableARN";
162
162
  const _rUPS = "readUnitsPerSecond";
163
- const _s = "status";
163
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.keyspaces";
164
164
  const _sC = "staticColumns";
165
165
  const _sD = "schemaDefinition";
166
166
  const _sIC = "scaleInCooldown";
@@ -169,7 +169,7 @@ const _sOC = "scaleOutCooldown";
169
169
  const _sP = "scalingPolicy";
170
170
  const _sTN = "sourceTableName";
171
171
  const _se = "server";
172
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.keyspaces";
172
+ const _st = "status";
173
173
  const _t = "tags";
174
174
  const _tKN = "targetKeyspaceName";
175
175
  const _tM = "throughputMode";
@@ -194,12 +194,50 @@ const n0 = "com.amazonaws.keyspaces";
194
194
  import { TypeRegistry } from "@smithy/core/schema";
195
195
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
196
196
  import { KeyspacesServiceException } from "../models/KeyspacesServiceException";
197
+ const _s_registry = TypeRegistry.for(_s);
198
+ export var KeyspacesServiceException$ = [-3, _s, "KeyspacesServiceException", 0, [], []];
199
+ _s_registry.registerError(KeyspacesServiceException$, KeyspacesServiceException);
200
+ const n0_registry = TypeRegistry.for(n0);
197
201
  export var AccessDeniedException$ = [-3, n0, _ADE,
198
202
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
199
203
  [_m],
200
204
  [0]
201
205
  ];
202
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
206
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
207
+ export var ConflictException$ = [-3, n0, _CE,
208
+ { [_aQE]: [`ConflictException`, 409], [_e]: _c, [_hE]: 409 },
209
+ [_m],
210
+ [0]
211
+ ];
212
+ n0_registry.registerError(ConflictException$, ConflictException);
213
+ export var InternalServerException$ = [-3, n0, _ISE,
214
+ { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
215
+ [_m],
216
+ [0]
217
+ ];
218
+ n0_registry.registerError(InternalServerException$, InternalServerException);
219
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
220
+ { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
221
+ [_m, _rA],
222
+ [0, 0]
223
+ ];
224
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
225
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
226
+ { [_aQE]: [`ServiceQuotaExceededException`, 402], [_e]: _c, [_hE]: 402 },
227
+ [_m],
228
+ [0]
229
+ ];
230
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
231
+ export var ValidationException$ = [-3, n0, _VE,
232
+ { [_aQE]: [`ValidationException`, 400], [_e]: _c },
233
+ [_m],
234
+ [0]
235
+ ];
236
+ n0_registry.registerError(ValidationException$, ValidationException);
237
+ export const errorTypeRegistries = [
238
+ _s_registry,
239
+ n0_registry,
240
+ ];
203
241
  export var AutoScalingPolicy$ = [3, n0, _ASP,
204
242
  0,
205
243
  [_tTSPC],
@@ -227,17 +265,17 @@ export var CapacitySpecificationSummary$ = [3, n0, _CSS,
227
265
  ];
228
266
  export var CdcSpecification$ = [3, n0, _CSd,
229
267
  0,
230
- [_s, _vT, _t, _pT],
268
+ [_st, _vT, _t, _pT],
231
269
  [0, 0, () => TagList, 0], 1
232
270
  ];
233
271
  export var CdcSpecificationSummary$ = [3, n0, _CSSd,
234
272
  0,
235
- [_s, _vT],
273
+ [_st, _vT],
236
274
  [0, 0], 1
237
275
  ];
238
276
  export var ClientSideTimestamps$ = [3, n0, _CST,
239
277
  0,
240
- [_s],
278
+ [_st],
241
279
  [0], 1
242
280
  ];
243
281
  export var ClusteringKey$ = [3, n0, _CK,
@@ -255,12 +293,6 @@ export var Comment$ = [3, n0, _C,
255
293
  [_m],
256
294
  [0], 1
257
295
  ];
258
- export var ConflictException$ = [-3, n0, _CE,
259
- { [_aQE]: [`ConflictException`, 409], [_e]: _c, [_hE]: 409 },
260
- [_m],
261
- [0]
262
- ];
263
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
264
296
  export var CreateKeyspaceRequest$ = [3, n0, _CKR,
265
297
  0,
266
298
  [_kN, _t, _rS],
@@ -358,7 +390,7 @@ export var GetTableRequest$ = [3, n0, _GTR,
358
390
  ];
359
391
  export var GetTableResponse$ = [3, n0, _GTRe,
360
392
  0,
361
- [_kN, _tN, _rA, _cT, _s, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd, _wTS],
393
+ [_kN, _tN, _rA, _cT, _st, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd, _wTS],
362
394
  [0, 0, 0, 4, 0, () => SchemaDefinition$, () => CapacitySpecificationSummary$, () => EncryptionSpecification$, () => PointInTimeRecoverySummary$, () => TimeToLive$, 1, () => Comment$, () => ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => CdcSpecificationSummary$, () => WarmThroughputSpecificationSummary$], 3
363
395
  ];
364
396
  export var GetTypeRequest$ = [3, n0, _GTRet,
@@ -368,15 +400,9 @@ export var GetTypeRequest$ = [3, n0, _GTRet,
368
400
  ];
369
401
  export var GetTypeResponse$ = [3, n0, _GTRety,
370
402
  0,
371
- [_kN, _tNy, _kA, _fD, _lMT, _s, _dRT, _dPT, _mND],
403
+ [_kN, _tNy, _kA, _fD, _lMT, _st, _dRT, _dPT, _mND],
372
404
  [0, 0, 0, () => FieldList, 4, 0, 64 | 0, 64 | 0, 1], 3
373
405
  ];
374
- export var InternalServerException$ = [-3, n0, _ISE,
375
- { [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
376
- [_m],
377
- [0]
378
- ];
379
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
380
406
  export var KeyspaceSummary$ = [3, n0, _KS,
381
407
  0,
382
408
  [_kN, _rA, _rSep, _rR],
@@ -429,12 +455,12 @@ export var PartitionKey$ = [3, n0, _PK,
429
455
  ];
430
456
  export var PointInTimeRecovery$ = [3, n0, _PITR,
431
457
  0,
432
- [_s],
458
+ [_st],
433
459
  [0], 1
434
460
  ];
435
461
  export var PointInTimeRecoverySummary$ = [3, n0, _PITRS,
436
462
  0,
437
- [_s, _eRT],
463
+ [_st, _eRT],
438
464
  [0, 4], 1
439
465
  ];
440
466
  export var ReplicaAutoScalingSpecification$ = [3, n0, _RASS,
@@ -449,7 +475,7 @@ export var ReplicaSpecification$ = [3, n0, _RS,
449
475
  ];
450
476
  export var ReplicaSpecificationSummary$ = [3, n0, _RSS,
451
477
  0,
452
- [_r, _s, _cS, _wTS],
478
+ [_r, _st, _cS, _wTS],
453
479
  [0, 0, () => CapacitySpecificationSummary$, () => WarmThroughputSpecificationSummary$]
454
480
  ];
455
481
  export var ReplicationGroupStatus$ = [3, n0, _RGS,
@@ -462,12 +488,6 @@ export var ReplicationSpecification$ = [3, n0, _RSe,
462
488
  [_rSep, _rL],
463
489
  [0, 64 | 0], 1
464
490
  ];
465
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
466
- { [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
467
- [_m, _rA],
468
- [0, 0]
469
- ];
470
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
471
491
  export var RestoreTableRequest$ = [3, n0, _RTR,
472
492
  0,
473
493
  [_sKN, _sTN, _tKN, _tTN, _rT, _cSO, _eSO, _pITRO, _tO, _aSS, _rSe],
@@ -483,12 +503,6 @@ export var SchemaDefinition$ = [3, n0, _SD,
483
503
  [_aC, _pK, _cK, _sC],
484
504
  [() => ColumnDefinitionList, () => PartitionKeyList, () => ClusteringKeyList, () => StaticColumnList], 2
485
505
  ];
486
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
487
- { [_aQE]: [`ServiceQuotaExceededException`, 402], [_e]: _c, [_hE]: 402 },
488
- [_m],
489
- [0]
490
- ];
491
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
492
506
  export var StaticColumn$ = [3, n0, _SC,
493
507
  0,
494
508
  [_n],
@@ -521,7 +535,7 @@ export var TargetTrackingScalingPolicyConfiguration$ = [3, n0, _TTSPC,
521
535
  ];
522
536
  export var TimeToLive$ = [3, n0, _TTL,
523
537
  0,
524
- [_s],
538
+ [_st],
525
539
  [0], 1
526
540
  ];
527
541
  export var UntagResourceRequest$ = [3, n0, _URR,
@@ -554,12 +568,6 @@ export var UpdateTableResponse$ = [3, n0, _UTRp,
554
568
  [_rA],
555
569
  [0], 1
556
570
  ];
557
- export var ValidationException$ = [-3, n0, _VE,
558
- { [_aQE]: [`ValidationException`, 400], [_e]: _c },
559
- [_m],
560
- [0]
561
- ];
562
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
563
571
  export var WarmThroughputSpecification$ = [3, n0, _WTS,
564
572
  0,
565
573
  [_rUPS, _wUPS],
@@ -567,11 +575,9 @@ export var WarmThroughputSpecification$ = [3, n0, _WTS,
567
575
  ];
568
576
  export var WarmThroughputSpecificationSummary$ = [3, n0, _WTSS,
569
577
  0,
570
- [_rUPS, _wUPS, _s],
578
+ [_rUPS, _wUPS, _st],
571
579
  [1, 1, 0], 3
572
580
  ];
573
- export var KeyspacesServiceException$ = [-3, _sm, "KeyspacesServiceException", 0, [], []];
574
- TypeRegistry.for(_sm).registerError(KeyspacesServiceException$, KeyspacesServiceException);
575
581
  var ClusteringKeyList = [1, n0, _CKL,
576
582
  0, () => ClusteringKey$
577
583
  ];
@@ -1,5 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var KeyspacesServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ValidationException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
3
16
  export declare var AutoScalingPolicy$: StaticStructureSchema;
4
17
  export declare var AutoScalingSettings$: StaticStructureSchema;
5
18
  export declare var AutoScalingSpecification$: StaticStructureSchema;
@@ -11,7 +24,6 @@ export declare var ClientSideTimestamps$: StaticStructureSchema;
11
24
  export declare var ClusteringKey$: StaticStructureSchema;
12
25
  export declare var ColumnDefinition$: StaticStructureSchema;
13
26
  export declare var Comment$: StaticStructureSchema;
14
- export declare var ConflictException$: StaticErrorSchema;
15
27
  export declare var CreateKeyspaceRequest$: StaticStructureSchema;
16
28
  export declare var CreateKeyspaceResponse$: StaticStructureSchema;
17
29
  export declare var CreateTableRequest$: StaticStructureSchema;
@@ -34,7 +46,6 @@ export declare var GetTableRequest$: StaticStructureSchema;
34
46
  export declare var GetTableResponse$: StaticStructureSchema;
35
47
  export declare var GetTypeRequest$: StaticStructureSchema;
36
48
  export declare var GetTypeResponse$: StaticStructureSchema;
37
- export declare var InternalServerException$: StaticErrorSchema;
38
49
  export declare var KeyspaceSummary$: StaticStructureSchema;
39
50
  export declare var ListKeyspacesRequest$: StaticStructureSchema;
40
51
  export declare var ListKeyspacesResponse$: StaticStructureSchema;
@@ -52,11 +63,9 @@ export declare var ReplicaSpecification$: StaticStructureSchema;
52
63
  export declare var ReplicaSpecificationSummary$: StaticStructureSchema;
53
64
  export declare var ReplicationGroupStatus$: StaticStructureSchema;
54
65
  export declare var ReplicationSpecification$: StaticStructureSchema;
55
- export declare var ResourceNotFoundException$: StaticErrorSchema;
56
66
  export declare var RestoreTableRequest$: StaticStructureSchema;
57
67
  export declare var RestoreTableResponse$: StaticStructureSchema;
58
68
  export declare var SchemaDefinition$: StaticStructureSchema;
59
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
60
69
  export declare var StaticColumn$: StaticStructureSchema;
61
70
  export declare var TableSummary$: StaticStructureSchema;
62
71
  export declare var Tag$: StaticStructureSchema;
@@ -70,10 +79,8 @@ export declare var UpdateKeyspaceRequest$: StaticStructureSchema;
70
79
  export declare var UpdateKeyspaceResponse$: StaticStructureSchema;
71
80
  export declare var UpdateTableRequest$: StaticStructureSchema;
72
81
  export declare var UpdateTableResponse$: StaticStructureSchema;
73
- export declare var ValidationException$: StaticErrorSchema;
74
82
  export declare var WarmThroughputSpecification$: StaticStructureSchema;
75
83
  export declare var WarmThroughputSpecificationSummary$: StaticStructureSchema;
76
- export declare var KeyspacesServiceException$: StaticErrorSchema;
77
84
  export declare var CreateKeyspace$: StaticOperationSchema;
78
85
  export declare var CreateTable$: StaticOperationSchema;
79
86
  export declare var CreateType$: StaticOperationSchema;
@@ -1,9 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var KeyspacesServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var ConflictException$: StaticErrorSchema;
10
+ export declare var InternalServerException$: StaticErrorSchema;
11
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
12
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
13
+ export declare var ValidationException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
7
15
  export declare var AutoScalingPolicy$: StaticStructureSchema;
8
16
  export declare var AutoScalingSettings$: StaticStructureSchema;
9
17
  export declare var AutoScalingSpecification$: StaticStructureSchema;
@@ -15,7 +23,6 @@ export declare var ClientSideTimestamps$: StaticStructureSchema;
15
23
  export declare var ClusteringKey$: StaticStructureSchema;
16
24
  export declare var ColumnDefinition$: StaticStructureSchema;
17
25
  export declare var Comment$: StaticStructureSchema;
18
- export declare var ConflictException$: StaticErrorSchema;
19
26
  export declare var CreateKeyspaceRequest$: StaticStructureSchema;
20
27
  export declare var CreateKeyspaceResponse$: StaticStructureSchema;
21
28
  export declare var CreateTableRequest$: StaticStructureSchema;
@@ -38,7 +45,6 @@ export declare var GetTableRequest$: StaticStructureSchema;
38
45
  export declare var GetTableResponse$: StaticStructureSchema;
39
46
  export declare var GetTypeRequest$: StaticStructureSchema;
40
47
  export declare var GetTypeResponse$: StaticStructureSchema;
41
- export declare var InternalServerException$: StaticErrorSchema;
42
48
  export declare var KeyspaceSummary$: StaticStructureSchema;
43
49
  export declare var ListKeyspacesRequest$: StaticStructureSchema;
44
50
  export declare var ListKeyspacesResponse$: StaticStructureSchema;
@@ -56,11 +62,9 @@ export declare var ReplicaSpecification$: StaticStructureSchema;
56
62
  export declare var ReplicaSpecificationSummary$: StaticStructureSchema;
57
63
  export declare var ReplicationGroupStatus$: StaticStructureSchema;
58
64
  export declare var ReplicationSpecification$: StaticStructureSchema;
59
- export declare var ResourceNotFoundException$: StaticErrorSchema;
60
65
  export declare var RestoreTableRequest$: StaticStructureSchema;
61
66
  export declare var RestoreTableResponse$: StaticStructureSchema;
62
67
  export declare var SchemaDefinition$: StaticStructureSchema;
63
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
64
68
  export declare var StaticColumn$: StaticStructureSchema;
65
69
  export declare var TableSummary$: StaticStructureSchema;
66
70
  export declare var Tag$: StaticStructureSchema;
@@ -74,10 +78,8 @@ export declare var UpdateKeyspaceRequest$: StaticStructureSchema;
74
78
  export declare var UpdateKeyspaceResponse$: StaticStructureSchema;
75
79
  export declare var UpdateTableRequest$: StaticStructureSchema;
76
80
  export declare var UpdateTableResponse$: StaticStructureSchema;
77
- export declare var ValidationException$: StaticErrorSchema;
78
81
  export declare var WarmThroughputSpecification$: StaticStructureSchema;
79
82
  export declare var WarmThroughputSpecificationSummary$: StaticStructureSchema;
80
- export declare var KeyspacesServiceException$: StaticErrorSchema;
81
83
  export declare var CreateKeyspace$: StaticOperationSchema;
82
84
  export declare var CreateTable$: StaticOperationSchema;
83
85
  export declare var CreateType$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-keyspaces",
3
3
  "description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-keyspaces",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",