@aws-sdk/client-keyspaces 3.986.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.
- package/dist-cjs/index.js +38 -867
- package/dist-cjs/models/KeyspacesServiceException.js +12 -0
- package/dist-cjs/models/errors.js +84 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +680 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +51 -45
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -0,0 +1,680 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListTypesResponse$ = exports.ListTypesRequest$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListTablesResponse$ = exports.ListTablesRequest$ = exports.ListKeyspacesResponse$ = exports.ListKeyspacesRequest$ = exports.KeyspaceSummary$ = exports.GetTypeResponse$ = exports.GetTypeRequest$ = exports.GetTableResponse$ = exports.GetTableRequest$ = exports.GetTableAutoScalingSettingsResponse$ = exports.GetTableAutoScalingSettingsRequest$ = exports.GetKeyspaceResponse$ = exports.GetKeyspaceRequest$ = exports.FieldDefinition$ = exports.EncryptionSpecification$ = exports.DeleteTypeResponse$ = exports.DeleteTypeRequest$ = exports.DeleteTableResponse$ = exports.DeleteTableRequest$ = exports.DeleteKeyspaceResponse$ = exports.DeleteKeyspaceRequest$ = exports.CreateTypeResponse$ = exports.CreateTypeRequest$ = exports.CreateTableResponse$ = exports.CreateTableRequest$ = exports.CreateKeyspaceResponse$ = exports.CreateKeyspaceRequest$ = exports.Comment$ = exports.ColumnDefinition$ = exports.ClusteringKey$ = exports.ClientSideTimestamps$ = exports.CdcSpecificationSummary$ = exports.CdcSpecification$ = exports.CapacitySpecificationSummary$ = exports.CapacitySpecification$ = exports.AutoScalingSpecification$ = exports.AutoScalingSettings$ = exports.AutoScalingPolicy$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.KeyspacesServiceException$ = void 0;
|
|
4
|
+
exports.UpdateTable$ = exports.UpdateKeyspace$ = exports.UntagResource$ = exports.TagResource$ = exports.RestoreTable$ = exports.ListTypes$ = exports.ListTagsForResource$ = exports.ListTables$ = exports.ListKeyspaces$ = exports.GetType$ = exports.GetTableAutoScalingSettings$ = exports.GetTable$ = exports.GetKeyspace$ = exports.DeleteType$ = exports.DeleteTable$ = exports.DeleteKeyspace$ = exports.CreateType$ = exports.CreateTable$ = exports.CreateKeyspace$ = exports.WarmThroughputSpecificationSummary$ = exports.WarmThroughputSpecification$ = exports.UpdateTableResponse$ = exports.UpdateTableRequest$ = exports.UpdateKeyspaceResponse$ = exports.UpdateKeyspaceRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TimeToLive$ = exports.TargetTrackingScalingPolicyConfiguration$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.TableSummary$ = exports.StaticColumn$ = exports.SchemaDefinition$ = exports.RestoreTableResponse$ = exports.RestoreTableRequest$ = exports.ReplicationSpecification$ = exports.ReplicationGroupStatus$ = exports.ReplicaSpecificationSummary$ = exports.ReplicaSpecification$ = exports.ReplicaAutoScalingSpecification$ = exports.PointInTimeRecoverySummary$ = exports.PointInTimeRecovery$ = exports.PartitionKey$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _ASP = "AutoScalingPolicy";
|
|
7
|
+
const _ASS = "AutoScalingSettings";
|
|
8
|
+
const _ASSu = "AutoScalingSpecification";
|
|
9
|
+
const _C = "Comment";
|
|
10
|
+
const _CD = "ColumnDefinition";
|
|
11
|
+
const _CDL = "ColumnDefinitionList";
|
|
12
|
+
const _CE = "ConflictException";
|
|
13
|
+
const _CK = "ClusteringKey";
|
|
14
|
+
const _CKL = "ClusteringKeyList";
|
|
15
|
+
const _CKR = "CreateKeyspaceRequest";
|
|
16
|
+
const _CKRr = "CreateKeyspaceResponse";
|
|
17
|
+
const _CKr = "CreateKeyspace";
|
|
18
|
+
const _CS = "CapacitySpecification";
|
|
19
|
+
const _CSS = "CapacitySpecificationSummary";
|
|
20
|
+
const _CSSd = "CdcSpecificationSummary";
|
|
21
|
+
const _CST = "ClientSideTimestamps";
|
|
22
|
+
const _CSd = "CdcSpecification";
|
|
23
|
+
const _CT = "CreateTable";
|
|
24
|
+
const _CTR = "CreateTableRequest";
|
|
25
|
+
const _CTRr = "CreateTableResponse";
|
|
26
|
+
const _CTRre = "CreateTypeRequest";
|
|
27
|
+
const _CTRrea = "CreateTypeResponse";
|
|
28
|
+
const _CTr = "CreateType";
|
|
29
|
+
const _DK = "DeleteKeyspace";
|
|
30
|
+
const _DKR = "DeleteKeyspaceRequest";
|
|
31
|
+
const _DKRe = "DeleteKeyspaceResponse";
|
|
32
|
+
const _DT = "DeleteTable";
|
|
33
|
+
const _DTR = "DeleteTableRequest";
|
|
34
|
+
const _DTRe = "DeleteTableResponse";
|
|
35
|
+
const _DTRel = "DeleteTypeRequest";
|
|
36
|
+
const _DTRele = "DeleteTypeResponse";
|
|
37
|
+
const _DTe = "DeleteType";
|
|
38
|
+
const _ES = "EncryptionSpecification";
|
|
39
|
+
const _FD = "FieldDefinition";
|
|
40
|
+
const _FL = "FieldList";
|
|
41
|
+
const _GK = "GetKeyspace";
|
|
42
|
+
const _GKR = "GetKeyspaceRequest";
|
|
43
|
+
const _GKRe = "GetKeyspaceResponse";
|
|
44
|
+
const _GT = "GetTable";
|
|
45
|
+
const _GTASS = "GetTableAutoScalingSettings";
|
|
46
|
+
const _GTASSR = "GetTableAutoScalingSettingsRequest";
|
|
47
|
+
const _GTASSRe = "GetTableAutoScalingSettingsResponse";
|
|
48
|
+
const _GTR = "GetTableRequest";
|
|
49
|
+
const _GTRe = "GetTableResponse";
|
|
50
|
+
const _GTRet = "GetTypeRequest";
|
|
51
|
+
const _GTRety = "GetTypeResponse";
|
|
52
|
+
const _GTe = "GetType";
|
|
53
|
+
const _ISE = "InternalServerException";
|
|
54
|
+
const _KS = "KeyspaceSummary";
|
|
55
|
+
const _KSL = "KeyspaceSummaryList";
|
|
56
|
+
const _LK = "ListKeyspaces";
|
|
57
|
+
const _LKR = "ListKeyspacesRequest";
|
|
58
|
+
const _LKRi = "ListKeyspacesResponse";
|
|
59
|
+
const _LT = "ListTables";
|
|
60
|
+
const _LTFR = "ListTagsForResource";
|
|
61
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
62
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
63
|
+
const _LTR = "ListTablesRequest";
|
|
64
|
+
const _LTRi = "ListTablesResponse";
|
|
65
|
+
const _LTRis = "ListTypesRequest";
|
|
66
|
+
const _LTRist = "ListTypesResponse";
|
|
67
|
+
const _LTi = "ListTypes";
|
|
68
|
+
const _PITR = "PointInTimeRecovery";
|
|
69
|
+
const _PITRS = "PointInTimeRecoverySummary";
|
|
70
|
+
const _PK = "PartitionKey";
|
|
71
|
+
const _PKL = "PartitionKeyList";
|
|
72
|
+
const _RASS = "ReplicaAutoScalingSpecification";
|
|
73
|
+
const _RASSL = "ReplicaAutoScalingSpecificationList";
|
|
74
|
+
const _RGS = "ReplicationGroupStatus";
|
|
75
|
+
const _RGSL = "ReplicationGroupStatusList";
|
|
76
|
+
const _RNFE = "ResourceNotFoundException";
|
|
77
|
+
const _RS = "ReplicaSpecification";
|
|
78
|
+
const _RSL = "ReplicaSpecificationList";
|
|
79
|
+
const _RSS = "ReplicaSpecificationSummary";
|
|
80
|
+
const _RSSL = "ReplicaSpecificationSummaryList";
|
|
81
|
+
const _RSe = "ReplicationSpecification";
|
|
82
|
+
const _RT = "RestoreTable";
|
|
83
|
+
const _RTR = "RestoreTableRequest";
|
|
84
|
+
const _RTRe = "RestoreTableResponse";
|
|
85
|
+
const _SC = "StaticColumn";
|
|
86
|
+
const _SCL = "StaticColumnList";
|
|
87
|
+
const _SD = "SchemaDefinition";
|
|
88
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
89
|
+
const _T = "Tag";
|
|
90
|
+
const _TL = "TagList";
|
|
91
|
+
const _TR = "TagResource";
|
|
92
|
+
const _TRR = "TagResourceRequest";
|
|
93
|
+
const _TRRa = "TagResourceResponse";
|
|
94
|
+
const _TS = "TableSummary";
|
|
95
|
+
const _TSL = "TableSummaryList";
|
|
96
|
+
const _TTL = "TimeToLive";
|
|
97
|
+
const _TTSPC = "TargetTrackingScalingPolicyConfiguration";
|
|
98
|
+
const _UK = "UpdateKeyspace";
|
|
99
|
+
const _UKR = "UpdateKeyspaceRequest";
|
|
100
|
+
const _UKRp = "UpdateKeyspaceResponse";
|
|
101
|
+
const _UR = "UntagResource";
|
|
102
|
+
const _URR = "UntagResourceRequest";
|
|
103
|
+
const _URRn = "UntagResourceResponse";
|
|
104
|
+
const _UT = "UpdateTable";
|
|
105
|
+
const _UTR = "UpdateTableRequest";
|
|
106
|
+
const _UTRp = "UpdateTableResponse";
|
|
107
|
+
const _VE = "ValidationException";
|
|
108
|
+
const _WTS = "WarmThroughputSpecification";
|
|
109
|
+
const _WTSS = "WarmThroughputSpecificationSummary";
|
|
110
|
+
const _aC = "allColumns";
|
|
111
|
+
const _aCd = "addColumns";
|
|
112
|
+
const _aQE = "awsQueryError";
|
|
113
|
+
const _aSD = "autoScalingDisabled";
|
|
114
|
+
const _aSS = "autoScalingSpecification";
|
|
115
|
+
const _c = "client";
|
|
116
|
+
const _cK = "clusteringKeys";
|
|
117
|
+
const _cS = "capacitySpecification";
|
|
118
|
+
const _cSO = "capacitySpecificationOverride";
|
|
119
|
+
const _cST = "clientSideTimestamps";
|
|
120
|
+
const _cSd = "cdcSpecification";
|
|
121
|
+
const _cT = "creationTimestamp";
|
|
122
|
+
const _co = "comment";
|
|
123
|
+
const _dPT = "directParentTypes";
|
|
124
|
+
const _dRT = "directReferringTables";
|
|
125
|
+
const _dSI = "disableScaleIn";
|
|
126
|
+
const _dTTL = "defaultTimeToLive";
|
|
127
|
+
const _e = "error";
|
|
128
|
+
const _eRT = "earliestRestorableTimestamp";
|
|
129
|
+
const _eS = "encryptionSpecification";
|
|
130
|
+
const _eSO = "encryptionSpecificationOverride";
|
|
131
|
+
const _fD = "fieldDefinitions";
|
|
132
|
+
const _hE = "httpError";
|
|
133
|
+
const _k = "keyspaces";
|
|
134
|
+
const _kA = "keyspaceArn";
|
|
135
|
+
const _kKI = "kmsKeyIdentifier";
|
|
136
|
+
const _kN = "keyspaceName";
|
|
137
|
+
const _kS = "keyspaceStatus";
|
|
138
|
+
const _ke = "key";
|
|
139
|
+
const _lMT = "lastModifiedTimestamp";
|
|
140
|
+
const _lSA = "latestStreamArn";
|
|
141
|
+
const _lUTPPRT = "lastUpdateToPayPerRequestTimestamp";
|
|
142
|
+
const _m = "message";
|
|
143
|
+
const _mND = "maxNestingDepth";
|
|
144
|
+
const _mR = "maxResults";
|
|
145
|
+
const _mU = "minimumUnits";
|
|
146
|
+
const _mUa = "maximumUnits";
|
|
147
|
+
const _n = "name";
|
|
148
|
+
const _nT = "nextToken";
|
|
149
|
+
const _oB = "orderBy";
|
|
150
|
+
const _pITR = "pointInTimeRecovery";
|
|
151
|
+
const _pITRO = "pointInTimeRecoveryOverride";
|
|
152
|
+
const _pK = "partitionKeys";
|
|
153
|
+
const _pT = "propagateTags";
|
|
154
|
+
const _r = "region";
|
|
155
|
+
const _rA = "resourceArn";
|
|
156
|
+
const _rCAS = "readCapacityAutoScaling";
|
|
157
|
+
const _rCU = "readCapacityUnits";
|
|
158
|
+
const _rGS = "replicationGroupStatuses";
|
|
159
|
+
const _rL = "regionList";
|
|
160
|
+
const _rR = "replicationRegions";
|
|
161
|
+
const _rS = "replicationSpecification";
|
|
162
|
+
const _rSe = "replicaSpecifications";
|
|
163
|
+
const _rSep = "replicationStrategy";
|
|
164
|
+
const _rT = "restoreTimestamp";
|
|
165
|
+
const _rTARN = "restoredTableARN";
|
|
166
|
+
const _rUPS = "readUnitsPerSecond";
|
|
167
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.keyspaces";
|
|
168
|
+
const _sC = "staticColumns";
|
|
169
|
+
const _sD = "schemaDefinition";
|
|
170
|
+
const _sIC = "scaleInCooldown";
|
|
171
|
+
const _sKN = "sourceKeyspaceName";
|
|
172
|
+
const _sOC = "scaleOutCooldown";
|
|
173
|
+
const _sP = "scalingPolicy";
|
|
174
|
+
const _sTN = "sourceTableName";
|
|
175
|
+
const _se = "server";
|
|
176
|
+
const _st = "status";
|
|
177
|
+
const _t = "tags";
|
|
178
|
+
const _tKN = "targetKeyspaceName";
|
|
179
|
+
const _tM = "throughputMode";
|
|
180
|
+
const _tN = "tableName";
|
|
181
|
+
const _tNy = "typeName";
|
|
182
|
+
const _tO = "tagsOverride";
|
|
183
|
+
const _tRP = "tablesReplicationProgress";
|
|
184
|
+
const _tTN = "targetTableName";
|
|
185
|
+
const _tTSPC = "targetTrackingScalingPolicyConfiguration";
|
|
186
|
+
const _tV = "targetValue";
|
|
187
|
+
const _ta = "tables";
|
|
188
|
+
const _tt = "ttl";
|
|
189
|
+
const _ty = "type";
|
|
190
|
+
const _typ = "types";
|
|
191
|
+
const _v = "value";
|
|
192
|
+
const _vT = "viewType";
|
|
193
|
+
const _wCAS = "writeCapacityAutoScaling";
|
|
194
|
+
const _wCU = "writeCapacityUnits";
|
|
195
|
+
const _wTS = "warmThroughputSpecification";
|
|
196
|
+
const _wUPS = "writeUnitsPerSecond";
|
|
197
|
+
const n0 = "com.amazonaws.keyspaces";
|
|
198
|
+
const schema_1 = require("@smithy/core/schema");
|
|
199
|
+
const errors_1 = require("../models/errors");
|
|
200
|
+
const KeyspacesServiceException_1 = require("../models/KeyspacesServiceException");
|
|
201
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
202
|
+
exports.KeyspacesServiceException$ = [-3, _s, "KeyspacesServiceException", 0, [], []];
|
|
203
|
+
_s_registry.registerError(exports.KeyspacesServiceException$, KeyspacesServiceException_1.KeyspacesServiceException);
|
|
204
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
205
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
206
|
+
{ [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
|
|
207
|
+
[_m],
|
|
208
|
+
[0]
|
|
209
|
+
];
|
|
210
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
211
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
212
|
+
{ [_aQE]: [`ConflictException`, 409], [_e]: _c, [_hE]: 409 },
|
|
213
|
+
[_m],
|
|
214
|
+
[0]
|
|
215
|
+
];
|
|
216
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
217
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
218
|
+
{ [_aQE]: [`InternalServerException`, 500], [_e]: _se, [_hE]: 500 },
|
|
219
|
+
[_m],
|
|
220
|
+
[0]
|
|
221
|
+
];
|
|
222
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
223
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
224
|
+
{ [_aQE]: [`ResourceNotFoundException`, 404], [_e]: _c, [_hE]: 404 },
|
|
225
|
+
[_m, _rA],
|
|
226
|
+
[0, 0]
|
|
227
|
+
];
|
|
228
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
229
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
230
|
+
{ [_aQE]: [`ServiceQuotaExceededException`, 402], [_e]: _c, [_hE]: 402 },
|
|
231
|
+
[_m],
|
|
232
|
+
[0]
|
|
233
|
+
];
|
|
234
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
235
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
236
|
+
{ [_aQE]: [`ValidationException`, 400], [_e]: _c },
|
|
237
|
+
[_m],
|
|
238
|
+
[0]
|
|
239
|
+
];
|
|
240
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
241
|
+
exports.errorTypeRegistries = [
|
|
242
|
+
_s_registry,
|
|
243
|
+
n0_registry,
|
|
244
|
+
];
|
|
245
|
+
exports.AutoScalingPolicy$ = [3, n0, _ASP,
|
|
246
|
+
0,
|
|
247
|
+
[_tTSPC],
|
|
248
|
+
[() => exports.TargetTrackingScalingPolicyConfiguration$]
|
|
249
|
+
];
|
|
250
|
+
exports.AutoScalingSettings$ = [3, n0, _ASS,
|
|
251
|
+
0,
|
|
252
|
+
[_aSD, _mU, _mUa, _sP],
|
|
253
|
+
[2, 1, 1, () => exports.AutoScalingPolicy$]
|
|
254
|
+
];
|
|
255
|
+
exports.AutoScalingSpecification$ = [3, n0, _ASSu,
|
|
256
|
+
0,
|
|
257
|
+
[_wCAS, _rCAS],
|
|
258
|
+
[() => exports.AutoScalingSettings$, () => exports.AutoScalingSettings$]
|
|
259
|
+
];
|
|
260
|
+
exports.CapacitySpecification$ = [3, n0, _CS,
|
|
261
|
+
0,
|
|
262
|
+
[_tM, _rCU, _wCU],
|
|
263
|
+
[0, 1, 1], 1
|
|
264
|
+
];
|
|
265
|
+
exports.CapacitySpecificationSummary$ = [3, n0, _CSS,
|
|
266
|
+
0,
|
|
267
|
+
[_tM, _rCU, _wCU, _lUTPPRT],
|
|
268
|
+
[0, 1, 1, 4], 1
|
|
269
|
+
];
|
|
270
|
+
exports.CdcSpecification$ = [3, n0, _CSd,
|
|
271
|
+
0,
|
|
272
|
+
[_st, _vT, _t, _pT],
|
|
273
|
+
[0, 0, () => TagList, 0], 1
|
|
274
|
+
];
|
|
275
|
+
exports.CdcSpecificationSummary$ = [3, n0, _CSSd,
|
|
276
|
+
0,
|
|
277
|
+
[_st, _vT],
|
|
278
|
+
[0, 0], 1
|
|
279
|
+
];
|
|
280
|
+
exports.ClientSideTimestamps$ = [3, n0, _CST,
|
|
281
|
+
0,
|
|
282
|
+
[_st],
|
|
283
|
+
[0], 1
|
|
284
|
+
];
|
|
285
|
+
exports.ClusteringKey$ = [3, n0, _CK,
|
|
286
|
+
0,
|
|
287
|
+
[_n, _oB],
|
|
288
|
+
[0, 0], 2
|
|
289
|
+
];
|
|
290
|
+
exports.ColumnDefinition$ = [3, n0, _CD,
|
|
291
|
+
0,
|
|
292
|
+
[_n, _ty],
|
|
293
|
+
[0, 0], 2
|
|
294
|
+
];
|
|
295
|
+
exports.Comment$ = [3, n0, _C,
|
|
296
|
+
0,
|
|
297
|
+
[_m],
|
|
298
|
+
[0], 1
|
|
299
|
+
];
|
|
300
|
+
exports.CreateKeyspaceRequest$ = [3, n0, _CKR,
|
|
301
|
+
0,
|
|
302
|
+
[_kN, _t, _rS],
|
|
303
|
+
[0, () => TagList, () => exports.ReplicationSpecification$], 1
|
|
304
|
+
];
|
|
305
|
+
exports.CreateKeyspaceResponse$ = [3, n0, _CKRr,
|
|
306
|
+
0,
|
|
307
|
+
[_rA],
|
|
308
|
+
[0], 1
|
|
309
|
+
];
|
|
310
|
+
exports.CreateTableRequest$ = [3, n0, _CTR,
|
|
311
|
+
0,
|
|
312
|
+
[_kN, _tN, _sD, _co, _cS, _eS, _pITR, _tt, _dTTL, _t, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
313
|
+
[0, 0, () => exports.SchemaDefinition$, () => exports.Comment$, () => exports.CapacitySpecification$, () => exports.EncryptionSpecification$, () => exports.PointInTimeRecovery$, () => exports.TimeToLive$, 1, () => TagList, () => exports.ClientSideTimestamps$, () => exports.AutoScalingSpecification$, () => ReplicaSpecificationList, () => exports.CdcSpecification$, () => exports.WarmThroughputSpecification$], 3
|
|
314
|
+
];
|
|
315
|
+
exports.CreateTableResponse$ = [3, n0, _CTRr,
|
|
316
|
+
0,
|
|
317
|
+
[_rA],
|
|
318
|
+
[0], 1
|
|
319
|
+
];
|
|
320
|
+
exports.CreateTypeRequest$ = [3, n0, _CTRre,
|
|
321
|
+
0,
|
|
322
|
+
[_kN, _tNy, _fD],
|
|
323
|
+
[0, 0, () => FieldList], 3
|
|
324
|
+
];
|
|
325
|
+
exports.CreateTypeResponse$ = [3, n0, _CTRrea,
|
|
326
|
+
0,
|
|
327
|
+
[_kA, _tNy],
|
|
328
|
+
[0, 0], 2
|
|
329
|
+
];
|
|
330
|
+
exports.DeleteKeyspaceRequest$ = [3, n0, _DKR,
|
|
331
|
+
0,
|
|
332
|
+
[_kN],
|
|
333
|
+
[0], 1
|
|
334
|
+
];
|
|
335
|
+
exports.DeleteKeyspaceResponse$ = [3, n0, _DKRe,
|
|
336
|
+
0,
|
|
337
|
+
[],
|
|
338
|
+
[]
|
|
339
|
+
];
|
|
340
|
+
exports.DeleteTableRequest$ = [3, n0, _DTR,
|
|
341
|
+
0,
|
|
342
|
+
[_kN, _tN],
|
|
343
|
+
[0, 0], 2
|
|
344
|
+
];
|
|
345
|
+
exports.DeleteTableResponse$ = [3, n0, _DTRe,
|
|
346
|
+
0,
|
|
347
|
+
[],
|
|
348
|
+
[]
|
|
349
|
+
];
|
|
350
|
+
exports.DeleteTypeRequest$ = [3, n0, _DTRel,
|
|
351
|
+
0,
|
|
352
|
+
[_kN, _tNy],
|
|
353
|
+
[0, 0], 2
|
|
354
|
+
];
|
|
355
|
+
exports.DeleteTypeResponse$ = [3, n0, _DTRele,
|
|
356
|
+
0,
|
|
357
|
+
[_kA, _tNy],
|
|
358
|
+
[0, 0], 2
|
|
359
|
+
];
|
|
360
|
+
exports.EncryptionSpecification$ = [3, n0, _ES,
|
|
361
|
+
0,
|
|
362
|
+
[_ty, _kKI],
|
|
363
|
+
[0, 0], 1
|
|
364
|
+
];
|
|
365
|
+
exports.FieldDefinition$ = [3, n0, _FD,
|
|
366
|
+
0,
|
|
367
|
+
[_n, _ty],
|
|
368
|
+
[0, 0], 2
|
|
369
|
+
];
|
|
370
|
+
exports.GetKeyspaceRequest$ = [3, n0, _GKR,
|
|
371
|
+
0,
|
|
372
|
+
[_kN],
|
|
373
|
+
[0], 1
|
|
374
|
+
];
|
|
375
|
+
exports.GetKeyspaceResponse$ = [3, n0, _GKRe,
|
|
376
|
+
0,
|
|
377
|
+
[_kN, _rA, _rSep, _rR, _rGS],
|
|
378
|
+
[0, 0, 0, 64 | 0, () => ReplicationGroupStatusList], 3
|
|
379
|
+
];
|
|
380
|
+
exports.GetTableAutoScalingSettingsRequest$ = [3, n0, _GTASSR,
|
|
381
|
+
0,
|
|
382
|
+
[_kN, _tN],
|
|
383
|
+
[0, 0], 2
|
|
384
|
+
];
|
|
385
|
+
exports.GetTableAutoScalingSettingsResponse$ = [3, n0, _GTASSRe,
|
|
386
|
+
0,
|
|
387
|
+
[_kN, _tN, _rA, _aSS, _rSe],
|
|
388
|
+
[0, 0, 0, () => exports.AutoScalingSpecification$, () => ReplicaAutoScalingSpecificationList], 3
|
|
389
|
+
];
|
|
390
|
+
exports.GetTableRequest$ = [3, n0, _GTR,
|
|
391
|
+
0,
|
|
392
|
+
[_kN, _tN],
|
|
393
|
+
[0, 0], 2
|
|
394
|
+
];
|
|
395
|
+
exports.GetTableResponse$ = [3, n0, _GTRe,
|
|
396
|
+
0,
|
|
397
|
+
[_kN, _tN, _rA, _cT, _st, _sD, _cS, _eS, _pITR, _tt, _dTTL, _co, _cST, _rSe, _lSA, _cSd, _wTS],
|
|
398
|
+
[0, 0, 0, 4, 0, () => exports.SchemaDefinition$, () => exports.CapacitySpecificationSummary$, () => exports.EncryptionSpecification$, () => exports.PointInTimeRecoverySummary$, () => exports.TimeToLive$, 1, () => exports.Comment$, () => exports.ClientSideTimestamps$, () => ReplicaSpecificationSummaryList, 0, () => exports.CdcSpecificationSummary$, () => exports.WarmThroughputSpecificationSummary$], 3
|
|
399
|
+
];
|
|
400
|
+
exports.GetTypeRequest$ = [3, n0, _GTRet,
|
|
401
|
+
0,
|
|
402
|
+
[_kN, _tNy],
|
|
403
|
+
[0, 0], 2
|
|
404
|
+
];
|
|
405
|
+
exports.GetTypeResponse$ = [3, n0, _GTRety,
|
|
406
|
+
0,
|
|
407
|
+
[_kN, _tNy, _kA, _fD, _lMT, _st, _dRT, _dPT, _mND],
|
|
408
|
+
[0, 0, 0, () => FieldList, 4, 0, 64 | 0, 64 | 0, 1], 3
|
|
409
|
+
];
|
|
410
|
+
exports.KeyspaceSummary$ = [3, n0, _KS,
|
|
411
|
+
0,
|
|
412
|
+
[_kN, _rA, _rSep, _rR],
|
|
413
|
+
[0, 0, 0, 64 | 0], 3
|
|
414
|
+
];
|
|
415
|
+
exports.ListKeyspacesRequest$ = [3, n0, _LKR,
|
|
416
|
+
0,
|
|
417
|
+
[_nT, _mR],
|
|
418
|
+
[0, 1]
|
|
419
|
+
];
|
|
420
|
+
exports.ListKeyspacesResponse$ = [3, n0, _LKRi,
|
|
421
|
+
0,
|
|
422
|
+
[_k, _nT],
|
|
423
|
+
[() => KeyspaceSummaryList, 0], 1
|
|
424
|
+
];
|
|
425
|
+
exports.ListTablesRequest$ = [3, n0, _LTR,
|
|
426
|
+
0,
|
|
427
|
+
[_kN, _nT, _mR],
|
|
428
|
+
[0, 0, 1], 1
|
|
429
|
+
];
|
|
430
|
+
exports.ListTablesResponse$ = [3, n0, _LTRi,
|
|
431
|
+
0,
|
|
432
|
+
[_nT, _ta],
|
|
433
|
+
[0, () => TableSummaryList]
|
|
434
|
+
];
|
|
435
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
436
|
+
0,
|
|
437
|
+
[_rA, _nT, _mR],
|
|
438
|
+
[0, 0, 1], 1
|
|
439
|
+
];
|
|
440
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
441
|
+
0,
|
|
442
|
+
[_nT, _t],
|
|
443
|
+
[0, () => TagList]
|
|
444
|
+
];
|
|
445
|
+
exports.ListTypesRequest$ = [3, n0, _LTRis,
|
|
446
|
+
0,
|
|
447
|
+
[_kN, _nT, _mR],
|
|
448
|
+
[0, 0, 1], 1
|
|
449
|
+
];
|
|
450
|
+
exports.ListTypesResponse$ = [3, n0, _LTRist,
|
|
451
|
+
0,
|
|
452
|
+
[_typ, _nT],
|
|
453
|
+
[64 | 0, 0], 1
|
|
454
|
+
];
|
|
455
|
+
exports.PartitionKey$ = [3, n0, _PK,
|
|
456
|
+
0,
|
|
457
|
+
[_n],
|
|
458
|
+
[0], 1
|
|
459
|
+
];
|
|
460
|
+
exports.PointInTimeRecovery$ = [3, n0, _PITR,
|
|
461
|
+
0,
|
|
462
|
+
[_st],
|
|
463
|
+
[0], 1
|
|
464
|
+
];
|
|
465
|
+
exports.PointInTimeRecoverySummary$ = [3, n0, _PITRS,
|
|
466
|
+
0,
|
|
467
|
+
[_st, _eRT],
|
|
468
|
+
[0, 4], 1
|
|
469
|
+
];
|
|
470
|
+
exports.ReplicaAutoScalingSpecification$ = [3, n0, _RASS,
|
|
471
|
+
0,
|
|
472
|
+
[_r, _aSS],
|
|
473
|
+
[0, () => exports.AutoScalingSpecification$]
|
|
474
|
+
];
|
|
475
|
+
exports.ReplicaSpecification$ = [3, n0, _RS,
|
|
476
|
+
0,
|
|
477
|
+
[_r, _rCU, _rCAS],
|
|
478
|
+
[0, 1, () => exports.AutoScalingSettings$], 1
|
|
479
|
+
];
|
|
480
|
+
exports.ReplicaSpecificationSummary$ = [3, n0, _RSS,
|
|
481
|
+
0,
|
|
482
|
+
[_r, _st, _cS, _wTS],
|
|
483
|
+
[0, 0, () => exports.CapacitySpecificationSummary$, () => exports.WarmThroughputSpecificationSummary$]
|
|
484
|
+
];
|
|
485
|
+
exports.ReplicationGroupStatus$ = [3, n0, _RGS,
|
|
486
|
+
0,
|
|
487
|
+
[_r, _kS, _tRP],
|
|
488
|
+
[0, 0, 0], 2
|
|
489
|
+
];
|
|
490
|
+
exports.ReplicationSpecification$ = [3, n0, _RSe,
|
|
491
|
+
0,
|
|
492
|
+
[_rSep, _rL],
|
|
493
|
+
[0, 64 | 0], 1
|
|
494
|
+
];
|
|
495
|
+
exports.RestoreTableRequest$ = [3, n0, _RTR,
|
|
496
|
+
0,
|
|
497
|
+
[_sKN, _sTN, _tKN, _tTN, _rT, _cSO, _eSO, _pITRO, _tO, _aSS, _rSe],
|
|
498
|
+
[0, 0, 0, 0, 4, () => exports.CapacitySpecification$, () => exports.EncryptionSpecification$, () => exports.PointInTimeRecovery$, () => TagList, () => exports.AutoScalingSpecification$, () => ReplicaSpecificationList], 4
|
|
499
|
+
];
|
|
500
|
+
exports.RestoreTableResponse$ = [3, n0, _RTRe,
|
|
501
|
+
0,
|
|
502
|
+
[_rTARN],
|
|
503
|
+
[0], 1
|
|
504
|
+
];
|
|
505
|
+
exports.SchemaDefinition$ = [3, n0, _SD,
|
|
506
|
+
0,
|
|
507
|
+
[_aC, _pK, _cK, _sC],
|
|
508
|
+
[() => ColumnDefinitionList, () => PartitionKeyList, () => ClusteringKeyList, () => StaticColumnList], 2
|
|
509
|
+
];
|
|
510
|
+
exports.StaticColumn$ = [3, n0, _SC,
|
|
511
|
+
0,
|
|
512
|
+
[_n],
|
|
513
|
+
[0], 1
|
|
514
|
+
];
|
|
515
|
+
exports.TableSummary$ = [3, n0, _TS,
|
|
516
|
+
0,
|
|
517
|
+
[_kN, _tN, _rA],
|
|
518
|
+
[0, 0, 0], 3
|
|
519
|
+
];
|
|
520
|
+
exports.Tag$ = [3, n0, _T,
|
|
521
|
+
0,
|
|
522
|
+
[_ke, _v],
|
|
523
|
+
[0, 0], 2
|
|
524
|
+
];
|
|
525
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
526
|
+
0,
|
|
527
|
+
[_rA, _t],
|
|
528
|
+
[0, () => TagList], 2
|
|
529
|
+
];
|
|
530
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
531
|
+
0,
|
|
532
|
+
[],
|
|
533
|
+
[]
|
|
534
|
+
];
|
|
535
|
+
exports.TargetTrackingScalingPolicyConfiguration$ = [3, n0, _TTSPC,
|
|
536
|
+
0,
|
|
537
|
+
[_tV, _dSI, _sIC, _sOC],
|
|
538
|
+
[1, 2, 1, 1], 1
|
|
539
|
+
];
|
|
540
|
+
exports.TimeToLive$ = [3, n0, _TTL,
|
|
541
|
+
0,
|
|
542
|
+
[_st],
|
|
543
|
+
[0], 1
|
|
544
|
+
];
|
|
545
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
546
|
+
0,
|
|
547
|
+
[_rA, _t],
|
|
548
|
+
[0, () => TagList], 2
|
|
549
|
+
];
|
|
550
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
551
|
+
0,
|
|
552
|
+
[],
|
|
553
|
+
[]
|
|
554
|
+
];
|
|
555
|
+
exports.UpdateKeyspaceRequest$ = [3, n0, _UKR,
|
|
556
|
+
0,
|
|
557
|
+
[_kN, _rS, _cST],
|
|
558
|
+
[0, () => exports.ReplicationSpecification$, () => exports.ClientSideTimestamps$], 2
|
|
559
|
+
];
|
|
560
|
+
exports.UpdateKeyspaceResponse$ = [3, n0, _UKRp,
|
|
561
|
+
0,
|
|
562
|
+
[_rA],
|
|
563
|
+
[0], 1
|
|
564
|
+
];
|
|
565
|
+
exports.UpdateTableRequest$ = [3, n0, _UTR,
|
|
566
|
+
0,
|
|
567
|
+
[_kN, _tN, _aCd, _cS, _eS, _pITR, _tt, _dTTL, _cST, _aSS, _rSe, _cSd, _wTS],
|
|
568
|
+
[0, 0, () => ColumnDefinitionList, () => exports.CapacitySpecification$, () => exports.EncryptionSpecification$, () => exports.PointInTimeRecovery$, () => exports.TimeToLive$, 1, () => exports.ClientSideTimestamps$, () => exports.AutoScalingSpecification$, () => ReplicaSpecificationList, () => exports.CdcSpecification$, () => exports.WarmThroughputSpecification$], 2
|
|
569
|
+
];
|
|
570
|
+
exports.UpdateTableResponse$ = [3, n0, _UTRp,
|
|
571
|
+
0,
|
|
572
|
+
[_rA],
|
|
573
|
+
[0], 1
|
|
574
|
+
];
|
|
575
|
+
exports.WarmThroughputSpecification$ = [3, n0, _WTS,
|
|
576
|
+
0,
|
|
577
|
+
[_rUPS, _wUPS],
|
|
578
|
+
[1, 1]
|
|
579
|
+
];
|
|
580
|
+
exports.WarmThroughputSpecificationSummary$ = [3, n0, _WTSS,
|
|
581
|
+
0,
|
|
582
|
+
[_rUPS, _wUPS, _st],
|
|
583
|
+
[1, 1, 0], 3
|
|
584
|
+
];
|
|
585
|
+
var ClusteringKeyList = [1, n0, _CKL,
|
|
586
|
+
0, () => exports.ClusteringKey$
|
|
587
|
+
];
|
|
588
|
+
var ColumnDefinitionList = [1, n0, _CDL,
|
|
589
|
+
0, () => exports.ColumnDefinition$
|
|
590
|
+
];
|
|
591
|
+
var FieldList = [1, n0, _FL,
|
|
592
|
+
0, () => exports.FieldDefinition$
|
|
593
|
+
];
|
|
594
|
+
var KeyspaceSummaryList = [1, n0, _KSL,
|
|
595
|
+
0, () => exports.KeyspaceSummary$
|
|
596
|
+
];
|
|
597
|
+
var PartitionKeyList = [1, n0, _PKL,
|
|
598
|
+
0, () => exports.PartitionKey$
|
|
599
|
+
];
|
|
600
|
+
var RegionList = 64 | 0;
|
|
601
|
+
var ReplicaAutoScalingSpecificationList = [1, n0, _RASSL,
|
|
602
|
+
0, () => exports.ReplicaAutoScalingSpecification$
|
|
603
|
+
];
|
|
604
|
+
var ReplicaSpecificationList = [1, n0, _RSL,
|
|
605
|
+
0, () => exports.ReplicaSpecification$
|
|
606
|
+
];
|
|
607
|
+
var ReplicaSpecificationSummaryList = [1, n0, _RSSL,
|
|
608
|
+
0, () => exports.ReplicaSpecificationSummary$
|
|
609
|
+
];
|
|
610
|
+
var ReplicationGroupStatusList = [1, n0, _RGSL,
|
|
611
|
+
0, () => exports.ReplicationGroupStatus$
|
|
612
|
+
];
|
|
613
|
+
var StaticColumnList = [1, n0, _SCL,
|
|
614
|
+
0, () => exports.StaticColumn$
|
|
615
|
+
];
|
|
616
|
+
var TableNameList = 64 | 0;
|
|
617
|
+
var TableSummaryList = [1, n0, _TSL,
|
|
618
|
+
0, () => exports.TableSummary$
|
|
619
|
+
];
|
|
620
|
+
var TagList = [1, n0, _TL,
|
|
621
|
+
0, () => exports.Tag$
|
|
622
|
+
];
|
|
623
|
+
var TypeNameList = 64 | 0;
|
|
624
|
+
exports.CreateKeyspace$ = [9, n0, _CKr,
|
|
625
|
+
0, () => exports.CreateKeyspaceRequest$, () => exports.CreateKeyspaceResponse$
|
|
626
|
+
];
|
|
627
|
+
exports.CreateTable$ = [9, n0, _CT,
|
|
628
|
+
0, () => exports.CreateTableRequest$, () => exports.CreateTableResponse$
|
|
629
|
+
];
|
|
630
|
+
exports.CreateType$ = [9, n0, _CTr,
|
|
631
|
+
0, () => exports.CreateTypeRequest$, () => exports.CreateTypeResponse$
|
|
632
|
+
];
|
|
633
|
+
exports.DeleteKeyspace$ = [9, n0, _DK,
|
|
634
|
+
0, () => exports.DeleteKeyspaceRequest$, () => exports.DeleteKeyspaceResponse$
|
|
635
|
+
];
|
|
636
|
+
exports.DeleteTable$ = [9, n0, _DT,
|
|
637
|
+
0, () => exports.DeleteTableRequest$, () => exports.DeleteTableResponse$
|
|
638
|
+
];
|
|
639
|
+
exports.DeleteType$ = [9, n0, _DTe,
|
|
640
|
+
0, () => exports.DeleteTypeRequest$, () => exports.DeleteTypeResponse$
|
|
641
|
+
];
|
|
642
|
+
exports.GetKeyspace$ = [9, n0, _GK,
|
|
643
|
+
0, () => exports.GetKeyspaceRequest$, () => exports.GetKeyspaceResponse$
|
|
644
|
+
];
|
|
645
|
+
exports.GetTable$ = [9, n0, _GT,
|
|
646
|
+
0, () => exports.GetTableRequest$, () => exports.GetTableResponse$
|
|
647
|
+
];
|
|
648
|
+
exports.GetTableAutoScalingSettings$ = [9, n0, _GTASS,
|
|
649
|
+
0, () => exports.GetTableAutoScalingSettingsRequest$, () => exports.GetTableAutoScalingSettingsResponse$
|
|
650
|
+
];
|
|
651
|
+
exports.GetType$ = [9, n0, _GTe,
|
|
652
|
+
0, () => exports.GetTypeRequest$, () => exports.GetTypeResponse$
|
|
653
|
+
];
|
|
654
|
+
exports.ListKeyspaces$ = [9, n0, _LK,
|
|
655
|
+
0, () => exports.ListKeyspacesRequest$, () => exports.ListKeyspacesResponse$
|
|
656
|
+
];
|
|
657
|
+
exports.ListTables$ = [9, n0, _LT,
|
|
658
|
+
0, () => exports.ListTablesRequest$, () => exports.ListTablesResponse$
|
|
659
|
+
];
|
|
660
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
661
|
+
0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
662
|
+
];
|
|
663
|
+
exports.ListTypes$ = [9, n0, _LTi,
|
|
664
|
+
0, () => exports.ListTypesRequest$, () => exports.ListTypesResponse$
|
|
665
|
+
];
|
|
666
|
+
exports.RestoreTable$ = [9, n0, _RT,
|
|
667
|
+
0, () => exports.RestoreTableRequest$, () => exports.RestoreTableResponse$
|
|
668
|
+
];
|
|
669
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
670
|
+
0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
671
|
+
];
|
|
672
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
673
|
+
0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
674
|
+
];
|
|
675
|
+
exports.UpdateKeyspace$ = [9, n0, _UK,
|
|
676
|
+
0, () => exports.UpdateKeyspaceRequest$, () => exports.UpdateKeyspaceResponse$
|
|
677
|
+
];
|
|
678
|
+
exports.UpdateTable$ = [9, n0, _UT,
|
|
679
|
+
0, () => exports.UpdateTableRequest$, () => exports.UpdateTableResponse$
|
|
680
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultKeyspacesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2022-02-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.keyspaces",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2022-02-10",
|
|
30
32
|
serviceTarget: "KeyspacesService",
|
|
31
33
|
},
|