@aws-sdk/client-docdb-elastic 3.928.0 → 3.930.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 +729 -830
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/DocDBElasticClient.js +2 -0
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +3 -9
- package/dist-es/commands/CopyClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -10
- package/dist-es/commands/CreateClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/GetClusterCommand.js +3 -9
- package/dist-es/commands/GetClusterSnapshotCommand.js +3 -9
- package/dist-es/commands/GetPendingMaintenanceActionCommand.js +3 -9
- package/dist-es/commands/ListClusterSnapshotsCommand.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListPendingMaintenanceActionsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RestoreClusterFromSnapshotCommand.js +3 -9
- package/dist-es/commands/StartClusterCommand.js +3 -9
- package/dist-es/commands/StopClusterCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateClusterCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +677 -0
- package/dist-types/DocDBElasticClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -8
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +84 -0
- package/dist-types/ts3.4/DocDBElasticClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -6
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +90 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -673
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
|
@@ -0,0 +1,677 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _APMA = "ApplyPendingMaintenanceAction";
|
|
3
|
+
const _APMAI = "ApplyPendingMaintenanceActionInput";
|
|
4
|
+
const _APMAO = "ApplyPendingMaintenanceActionOutput";
|
|
5
|
+
const _C = "Cluster";
|
|
6
|
+
const _CC = "CreateCluster";
|
|
7
|
+
const _CCI = "CreateClusterInput";
|
|
8
|
+
const _CCO = "CreateClusterOutput";
|
|
9
|
+
const _CCS = "CopyClusterSnapshot";
|
|
10
|
+
const _CCSI = "CopyClusterSnapshotInput";
|
|
11
|
+
const _CCSIr = "CreateClusterSnapshotInput";
|
|
12
|
+
const _CCSO = "CopyClusterSnapshotOutput";
|
|
13
|
+
const _CCSOr = "CreateClusterSnapshotOutput";
|
|
14
|
+
const _CCSr = "CreateClusterSnapshot";
|
|
15
|
+
const _CE = "ConflictException";
|
|
16
|
+
const _CIL = "ClusterInList";
|
|
17
|
+
const _CL = "ClusterList";
|
|
18
|
+
const _CS = "ClusterSnapshot";
|
|
19
|
+
const _CSIL = "ClusterSnapshotInList";
|
|
20
|
+
const _CSL = "ClusterSnapshotList";
|
|
21
|
+
const _DC = "DeleteCluster";
|
|
22
|
+
const _DCI = "DeleteClusterInput";
|
|
23
|
+
const _DCO = "DeleteClusterOutput";
|
|
24
|
+
const _DCS = "DeleteClusterSnapshot";
|
|
25
|
+
const _DCSI = "DeleteClusterSnapshotInput";
|
|
26
|
+
const _DCSO = "DeleteClusterSnapshotOutput";
|
|
27
|
+
const _GC = "GetCluster";
|
|
28
|
+
const _GCI = "GetClusterInput";
|
|
29
|
+
const _GCO = "GetClusterOutput";
|
|
30
|
+
const _GCS = "GetClusterSnapshot";
|
|
31
|
+
const _GCSI = "GetClusterSnapshotInput";
|
|
32
|
+
const _GCSO = "GetClusterSnapshotOutput";
|
|
33
|
+
const _GPMA = "GetPendingMaintenanceAction";
|
|
34
|
+
const _GPMAI = "GetPendingMaintenanceActionInput";
|
|
35
|
+
const _GPMAO = "GetPendingMaintenanceActionOutput";
|
|
36
|
+
const _ISE = "InternalServerException";
|
|
37
|
+
const _LC = "ListClusters";
|
|
38
|
+
const _LCI = "ListClustersInput";
|
|
39
|
+
const _LCO = "ListClustersOutput";
|
|
40
|
+
const _LCS = "ListClusterSnapshots";
|
|
41
|
+
const _LCSI = "ListClusterSnapshotsInput";
|
|
42
|
+
const _LCSO = "ListClusterSnapshotsOutput";
|
|
43
|
+
const _LPMA = "ListPendingMaintenanceActions";
|
|
44
|
+
const _LPMAI = "ListPendingMaintenanceActionsInput";
|
|
45
|
+
const _LPMAO = "ListPendingMaintenanceActionsOutput";
|
|
46
|
+
const _LTFR = "ListTagsForResource";
|
|
47
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
48
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
49
|
+
const _P = "Password";
|
|
50
|
+
const _PMAD = "PendingMaintenanceActionDetails";
|
|
51
|
+
const _PMADL = "PendingMaintenanceActionDetailsList";
|
|
52
|
+
const _RA = "Retry-After";
|
|
53
|
+
const _RCFS = "RestoreClusterFromSnapshot";
|
|
54
|
+
const _RCFSI = "RestoreClusterFromSnapshotInput";
|
|
55
|
+
const _RCFSO = "RestoreClusterFromSnapshotOutput";
|
|
56
|
+
const _RNFE = "ResourceNotFoundException";
|
|
57
|
+
const _RPMA = "ResourcePendingMaintenanceAction";
|
|
58
|
+
const _RPMAL = "ResourcePendingMaintenanceActionList";
|
|
59
|
+
const _S = "Shard";
|
|
60
|
+
const _SC = "StartCluster";
|
|
61
|
+
const _SCI = "StartClusterInput";
|
|
62
|
+
const _SCIt = "StopClusterInput";
|
|
63
|
+
const _SCO = "StartClusterOutput";
|
|
64
|
+
const _SCOt = "StopClusterOutput";
|
|
65
|
+
const _SCt = "StopCluster";
|
|
66
|
+
const _SL = "ShardList";
|
|
67
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
68
|
+
const _TE = "ThrottlingException";
|
|
69
|
+
const _TR = "TagResource";
|
|
70
|
+
const _TRR = "TagResourceRequest";
|
|
71
|
+
const _TRRa = "TagResourceResponse";
|
|
72
|
+
const _UC = "UpdateCluster";
|
|
73
|
+
const _UCI = "UpdateClusterInput";
|
|
74
|
+
const _UCO = "UpdateClusterOutput";
|
|
75
|
+
const _UR = "UntagResource";
|
|
76
|
+
const _URR = "UntagResourceRequest";
|
|
77
|
+
const _URRn = "UntagResourceResponse";
|
|
78
|
+
const _VE = "ValidationException";
|
|
79
|
+
const _VEF = "ValidationExceptionField";
|
|
80
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
81
|
+
const _a = "action";
|
|
82
|
+
const _aA = "applyAction";
|
|
83
|
+
const _aAAD = "autoAppliedAfterDate";
|
|
84
|
+
const _aO = "applyOn";
|
|
85
|
+
const _aT = "authType";
|
|
86
|
+
const _aUN = "adminUserName";
|
|
87
|
+
const _aUP = "adminUserPassword";
|
|
88
|
+
const _bRP = "backupRetentionPeriod";
|
|
89
|
+
const _c = "client";
|
|
90
|
+
const _cA = "clusterArn";
|
|
91
|
+
const _cAD = "currentApplyDate";
|
|
92
|
+
const _cCT = "clusterCreationTime";
|
|
93
|
+
const _cE = "clusterEndpoint";
|
|
94
|
+
const _cN = "clusterName";
|
|
95
|
+
const _cT = "createTime";
|
|
96
|
+
const _cTl = "clientToken";
|
|
97
|
+
const _cTo = "copyTags";
|
|
98
|
+
const _cl = "cluster";
|
|
99
|
+
const _clu = "clusters";
|
|
100
|
+
const _d = "description";
|
|
101
|
+
const _e = "error";
|
|
102
|
+
const _fAD = "forcedApplyDate";
|
|
103
|
+
const _fL = "fieldList";
|
|
104
|
+
const _h = "http";
|
|
105
|
+
const _hE = "httpError";
|
|
106
|
+
const _hH = "httpHeader";
|
|
107
|
+
const _hQ = "httpQuery";
|
|
108
|
+
const _kKI = "kmsKeyId";
|
|
109
|
+
const _m = "message";
|
|
110
|
+
const _mR = "maxResults";
|
|
111
|
+
const _n = "name";
|
|
112
|
+
const _nT = "nextToken";
|
|
113
|
+
const _oIS = "optInStatus";
|
|
114
|
+
const _oIT = "optInType";
|
|
115
|
+
const _pBW = "preferredBackupWindow";
|
|
116
|
+
const _pMAD = "pendingMaintenanceActionDetails";
|
|
117
|
+
const _pMW = "preferredMaintenanceWindow";
|
|
118
|
+
const _r = "reason";
|
|
119
|
+
const _rA = "resourceArn";
|
|
120
|
+
const _rAS = "retryAfterSeconds";
|
|
121
|
+
const _rI = "resourceId";
|
|
122
|
+
const _rPMA = "resourcePendingMaintenanceAction";
|
|
123
|
+
const _rPMAe = "resourcePendingMaintenanceActions";
|
|
124
|
+
const _rT = "resourceType";
|
|
125
|
+
const _s = "status";
|
|
126
|
+
const _sA = "snapshotArn";
|
|
127
|
+
const _sC = "shardCapacity";
|
|
128
|
+
const _sCT = "snapshotCreationTime";
|
|
129
|
+
const _sCh = "shardCount";
|
|
130
|
+
const _sI = "subnetIds";
|
|
131
|
+
const _sIC = "shardInstanceCount";
|
|
132
|
+
const _sIh = "shardId";
|
|
133
|
+
const _sN = "snapshotName";
|
|
134
|
+
const _sT = "snapshotType";
|
|
135
|
+
const _se = "server";
|
|
136
|
+
const _sh = "shards";
|
|
137
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.docdbelastic";
|
|
138
|
+
const _sn = "snapshot";
|
|
139
|
+
const _sna = "snapshots";
|
|
140
|
+
const _t = "tags";
|
|
141
|
+
const _tK = "tagKeys";
|
|
142
|
+
const _tSN = "targetSnapshotName";
|
|
143
|
+
const _vSGI = "vpcSecurityGroupIds";
|
|
144
|
+
const n0 = "com.amazonaws.docdbelastic";
|
|
145
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
146
|
+
import { DocDBElasticServiceException as __DocDBElasticServiceException } from "../models/DocDBElasticServiceException";
|
|
147
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
148
|
+
export var Password = [0, n0, _P, 8, 0];
|
|
149
|
+
export var AccessDeniedException = [
|
|
150
|
+
-3,
|
|
151
|
+
n0,
|
|
152
|
+
_ADE,
|
|
153
|
+
{
|
|
154
|
+
[_e]: _c,
|
|
155
|
+
[_hE]: 403,
|
|
156
|
+
},
|
|
157
|
+
[_m],
|
|
158
|
+
[0],
|
|
159
|
+
];
|
|
160
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
161
|
+
export var ApplyPendingMaintenanceActionInput = [
|
|
162
|
+
3,
|
|
163
|
+
n0,
|
|
164
|
+
_APMAI,
|
|
165
|
+
0,
|
|
166
|
+
[_rA, _aA, _oIT, _aO],
|
|
167
|
+
[0, 0, 0, 0],
|
|
168
|
+
];
|
|
169
|
+
export var ApplyPendingMaintenanceActionOutput = [
|
|
170
|
+
3,
|
|
171
|
+
n0,
|
|
172
|
+
_APMAO,
|
|
173
|
+
0,
|
|
174
|
+
[_rPMA],
|
|
175
|
+
[() => ResourcePendingMaintenanceAction],
|
|
176
|
+
];
|
|
177
|
+
export var Cluster = [
|
|
178
|
+
3,
|
|
179
|
+
n0,
|
|
180
|
+
_C,
|
|
181
|
+
0,
|
|
182
|
+
[_cN, _cA, _s, _cE, _cT, _aUN, _aT, _sC, _sCh, _vSGI, _sI, _pMW, _kKI, _sh, _bRP, _pBW, _sIC],
|
|
183
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 1, 64 | 0, 64 | 0, 0, 0, () => ShardList, 1, 0, 1],
|
|
184
|
+
];
|
|
185
|
+
export var ClusterInList = [3, n0, _CIL, 0, [_cN, _cA, _s], [0, 0, 0]];
|
|
186
|
+
export var ClusterSnapshot = [
|
|
187
|
+
3,
|
|
188
|
+
n0,
|
|
189
|
+
_CS,
|
|
190
|
+
0,
|
|
191
|
+
[_sI, _sN, _sA, _sCT, _cA, _cCT, _s, _vSGI, _aUN, _kKI, _sT],
|
|
192
|
+
[64 | 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0],
|
|
193
|
+
];
|
|
194
|
+
export var ClusterSnapshotInList = [3, n0, _CSIL, 0, [_sN, _sA, _cA, _s, _sCT], [0, 0, 0, 0, 0]];
|
|
195
|
+
export var ConflictException = [
|
|
196
|
+
-3,
|
|
197
|
+
n0,
|
|
198
|
+
_CE,
|
|
199
|
+
{
|
|
200
|
+
[_e]: _c,
|
|
201
|
+
[_hE]: 409,
|
|
202
|
+
},
|
|
203
|
+
[_m, _rI, _rT],
|
|
204
|
+
[0, 0, 0],
|
|
205
|
+
];
|
|
206
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
207
|
+
export var CopyClusterSnapshotInput = [
|
|
208
|
+
3,
|
|
209
|
+
n0,
|
|
210
|
+
_CCSI,
|
|
211
|
+
0,
|
|
212
|
+
[_sA, _tSN, _kKI, _cTo, _t],
|
|
213
|
+
[[0, 1], 0, 0, 2, 128 | 0],
|
|
214
|
+
];
|
|
215
|
+
export var CopyClusterSnapshotOutput = [3, n0, _CCSO, 0, [_sn], [() => ClusterSnapshot]];
|
|
216
|
+
export var CreateClusterInput = [
|
|
217
|
+
3,
|
|
218
|
+
n0,
|
|
219
|
+
_CCI,
|
|
220
|
+
0,
|
|
221
|
+
[_cN, _aT, _aUN, _aUP, _sC, _sCh, _vSGI, _sI, _kKI, _cTl, _pMW, _t, _bRP, _pBW, _sIC],
|
|
222
|
+
[0, 0, 0, [() => Password, 0], 1, 1, 64 | 0, 64 | 0, 0, [0, 4], 0, 128 | 0, 1, 0, 1],
|
|
223
|
+
];
|
|
224
|
+
export var CreateClusterOutput = [3, n0, _CCO, 0, [_cl], [() => Cluster]];
|
|
225
|
+
export var CreateClusterSnapshotInput = [3, n0, _CCSIr, 0, [_cA, _sN, _t], [0, 0, 128 | 0]];
|
|
226
|
+
export var CreateClusterSnapshotOutput = [3, n0, _CCSOr, 0, [_sn], [() => ClusterSnapshot]];
|
|
227
|
+
export var DeleteClusterInput = [3, n0, _DCI, 0, [_cA], [[0, 1]]];
|
|
228
|
+
export var DeleteClusterOutput = [3, n0, _DCO, 0, [_cl], [() => Cluster]];
|
|
229
|
+
export var DeleteClusterSnapshotInput = [3, n0, _DCSI, 0, [_sA], [[0, 1]]];
|
|
230
|
+
export var DeleteClusterSnapshotOutput = [3, n0, _DCSO, 0, [_sn], [() => ClusterSnapshot]];
|
|
231
|
+
export var GetClusterInput = [3, n0, _GCI, 0, [_cA], [[0, 1]]];
|
|
232
|
+
export var GetClusterOutput = [3, n0, _GCO, 0, [_cl], [() => Cluster]];
|
|
233
|
+
export var GetClusterSnapshotInput = [3, n0, _GCSI, 0, [_sA], [[0, 1]]];
|
|
234
|
+
export var GetClusterSnapshotOutput = [3, n0, _GCSO, 0, [_sn], [() => ClusterSnapshot]];
|
|
235
|
+
export var GetPendingMaintenanceActionInput = [3, n0, _GPMAI, 0, [_rA], [[0, 1]]];
|
|
236
|
+
export var GetPendingMaintenanceActionOutput = [
|
|
237
|
+
3,
|
|
238
|
+
n0,
|
|
239
|
+
_GPMAO,
|
|
240
|
+
0,
|
|
241
|
+
[_rPMA],
|
|
242
|
+
[() => ResourcePendingMaintenanceAction],
|
|
243
|
+
];
|
|
244
|
+
export var InternalServerException = [
|
|
245
|
+
-3,
|
|
246
|
+
n0,
|
|
247
|
+
_ISE,
|
|
248
|
+
{
|
|
249
|
+
[_e]: _se,
|
|
250
|
+
[_hE]: 500,
|
|
251
|
+
},
|
|
252
|
+
[_m],
|
|
253
|
+
[0],
|
|
254
|
+
];
|
|
255
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
256
|
+
export var ListClustersInput = [
|
|
257
|
+
3,
|
|
258
|
+
n0,
|
|
259
|
+
_LCI,
|
|
260
|
+
0,
|
|
261
|
+
[_nT, _mR],
|
|
262
|
+
[
|
|
263
|
+
[
|
|
264
|
+
0,
|
|
265
|
+
{
|
|
266
|
+
[_hQ]: _nT,
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
[
|
|
270
|
+
1,
|
|
271
|
+
{
|
|
272
|
+
[_hQ]: _mR,
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
],
|
|
276
|
+
];
|
|
277
|
+
export var ListClusterSnapshotsInput = [
|
|
278
|
+
3,
|
|
279
|
+
n0,
|
|
280
|
+
_LCSI,
|
|
281
|
+
0,
|
|
282
|
+
[_cA, _nT, _mR, _sT],
|
|
283
|
+
[
|
|
284
|
+
[
|
|
285
|
+
0,
|
|
286
|
+
{
|
|
287
|
+
[_hQ]: _cA,
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
0,
|
|
292
|
+
{
|
|
293
|
+
[_hQ]: _nT,
|
|
294
|
+
},
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
1,
|
|
298
|
+
{
|
|
299
|
+
[_hQ]: _mR,
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
0,
|
|
304
|
+
{
|
|
305
|
+
[_hQ]: _sT,
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
],
|
|
309
|
+
];
|
|
310
|
+
export var ListClusterSnapshotsOutput = [
|
|
311
|
+
3,
|
|
312
|
+
n0,
|
|
313
|
+
_LCSO,
|
|
314
|
+
0,
|
|
315
|
+
[_sna, _nT],
|
|
316
|
+
[() => ClusterSnapshotList, 0],
|
|
317
|
+
];
|
|
318
|
+
export var ListClustersOutput = [3, n0, _LCO, 0, [_clu, _nT], [() => ClusterList, 0]];
|
|
319
|
+
export var ListPendingMaintenanceActionsInput = [
|
|
320
|
+
3,
|
|
321
|
+
n0,
|
|
322
|
+
_LPMAI,
|
|
323
|
+
0,
|
|
324
|
+
[_nT, _mR],
|
|
325
|
+
[
|
|
326
|
+
[
|
|
327
|
+
0,
|
|
328
|
+
{
|
|
329
|
+
[_hQ]: _nT,
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
[
|
|
333
|
+
1,
|
|
334
|
+
{
|
|
335
|
+
[_hQ]: _mR,
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
],
|
|
339
|
+
];
|
|
340
|
+
export var ListPendingMaintenanceActionsOutput = [
|
|
341
|
+
3,
|
|
342
|
+
n0,
|
|
343
|
+
_LPMAO,
|
|
344
|
+
0,
|
|
345
|
+
[_rPMAe, _nT],
|
|
346
|
+
[() => ResourcePendingMaintenanceActionList, 0],
|
|
347
|
+
];
|
|
348
|
+
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
|
|
349
|
+
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [128 | 0]];
|
|
350
|
+
export var PendingMaintenanceActionDetails = [
|
|
351
|
+
3,
|
|
352
|
+
n0,
|
|
353
|
+
_PMAD,
|
|
354
|
+
0,
|
|
355
|
+
[_a, _aAAD, _fAD, _oIS, _cAD, _d],
|
|
356
|
+
[0, 0, 0, 0, 0, 0],
|
|
357
|
+
];
|
|
358
|
+
export var ResourceNotFoundException = [
|
|
359
|
+
-3,
|
|
360
|
+
n0,
|
|
361
|
+
_RNFE,
|
|
362
|
+
{
|
|
363
|
+
[_e]: _c,
|
|
364
|
+
[_hE]: 404,
|
|
365
|
+
},
|
|
366
|
+
[_m, _rI, _rT],
|
|
367
|
+
[0, 0, 0],
|
|
368
|
+
];
|
|
369
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
370
|
+
export var ResourcePendingMaintenanceAction = [
|
|
371
|
+
3,
|
|
372
|
+
n0,
|
|
373
|
+
_RPMA,
|
|
374
|
+
0,
|
|
375
|
+
[_rA, _pMAD],
|
|
376
|
+
[0, () => PendingMaintenanceActionDetailsList],
|
|
377
|
+
];
|
|
378
|
+
export var RestoreClusterFromSnapshotInput = [
|
|
379
|
+
3,
|
|
380
|
+
n0,
|
|
381
|
+
_RCFSI,
|
|
382
|
+
0,
|
|
383
|
+
[_cN, _sA, _vSGI, _sI, _kKI, _t, _sC, _sIC],
|
|
384
|
+
[0, [0, 1], 64 | 0, 64 | 0, 0, 128 | 0, 1, 1],
|
|
385
|
+
];
|
|
386
|
+
export var RestoreClusterFromSnapshotOutput = [3, n0, _RCFSO, 0, [_cl], [() => Cluster]];
|
|
387
|
+
export var ServiceQuotaExceededException = [
|
|
388
|
+
-3,
|
|
389
|
+
n0,
|
|
390
|
+
_SQEE,
|
|
391
|
+
{
|
|
392
|
+
[_e]: _c,
|
|
393
|
+
[_hE]: 402,
|
|
394
|
+
},
|
|
395
|
+
[_m],
|
|
396
|
+
[0],
|
|
397
|
+
];
|
|
398
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
399
|
+
export var Shard = [3, n0, _S, 0, [_sIh, _cT, _s], [0, 0, 0]];
|
|
400
|
+
export var StartClusterInput = [3, n0, _SCI, 0, [_cA], [[0, 1]]];
|
|
401
|
+
export var StartClusterOutput = [3, n0, _SCO, 0, [_cl], [() => Cluster]];
|
|
402
|
+
export var StopClusterInput = [3, n0, _SCIt, 0, [_cA], [[0, 1]]];
|
|
403
|
+
export var StopClusterOutput = [3, n0, _SCOt, 0, [_cl], [() => Cluster]];
|
|
404
|
+
export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [[0, 1], 128 | 0]];
|
|
405
|
+
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
406
|
+
export var ThrottlingException = [
|
|
407
|
+
-3,
|
|
408
|
+
n0,
|
|
409
|
+
_TE,
|
|
410
|
+
{
|
|
411
|
+
[_e]: _c,
|
|
412
|
+
[_hE]: 429,
|
|
413
|
+
},
|
|
414
|
+
[_m, _rAS],
|
|
415
|
+
[
|
|
416
|
+
0,
|
|
417
|
+
[
|
|
418
|
+
1,
|
|
419
|
+
{
|
|
420
|
+
[_hH]: _RA,
|
|
421
|
+
},
|
|
422
|
+
],
|
|
423
|
+
],
|
|
424
|
+
];
|
|
425
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
426
|
+
export var UntagResourceRequest = [
|
|
427
|
+
3,
|
|
428
|
+
n0,
|
|
429
|
+
_URR,
|
|
430
|
+
0,
|
|
431
|
+
[_rA, _tK],
|
|
432
|
+
[
|
|
433
|
+
[0, 1],
|
|
434
|
+
[
|
|
435
|
+
64 | 0,
|
|
436
|
+
{
|
|
437
|
+
[_hQ]: _tK,
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
],
|
|
441
|
+
];
|
|
442
|
+
export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
443
|
+
export var UpdateClusterInput = [
|
|
444
|
+
3,
|
|
445
|
+
n0,
|
|
446
|
+
_UCI,
|
|
447
|
+
0,
|
|
448
|
+
[_cA, _aT, _sC, _sCh, _vSGI, _sI, _aUP, _cTl, _pMW, _bRP, _pBW, _sIC],
|
|
449
|
+
[[0, 1], 0, 1, 1, 64 | 0, 64 | 0, [() => Password, 0], [0, 4], 0, 1, 0, 1],
|
|
450
|
+
];
|
|
451
|
+
export var UpdateClusterOutput = [3, n0, _UCO, 0, [_cl], [() => Cluster]];
|
|
452
|
+
export var ValidationException = [
|
|
453
|
+
-3,
|
|
454
|
+
n0,
|
|
455
|
+
_VE,
|
|
456
|
+
{
|
|
457
|
+
[_e]: _c,
|
|
458
|
+
[_hE]: 400,
|
|
459
|
+
},
|
|
460
|
+
[_m, _r, _fL],
|
|
461
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
462
|
+
];
|
|
463
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
464
|
+
export var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
465
|
+
export var DocDBElasticServiceException = [-3, _sm, "DocDBElasticServiceException", 0, [], []];
|
|
466
|
+
TypeRegistry.for(_sm).registerError(DocDBElasticServiceException, __DocDBElasticServiceException);
|
|
467
|
+
export var ClusterList = [1, n0, _CL, 0, () => ClusterInList];
|
|
468
|
+
export var ClusterSnapshotList = [1, n0, _CSL, 0, () => ClusterSnapshotInList];
|
|
469
|
+
export var PendingMaintenanceActionDetailsList = [
|
|
470
|
+
1,
|
|
471
|
+
n0,
|
|
472
|
+
_PMADL,
|
|
473
|
+
0,
|
|
474
|
+
() => PendingMaintenanceActionDetails,
|
|
475
|
+
];
|
|
476
|
+
export var ResourcePendingMaintenanceActionList = [
|
|
477
|
+
1,
|
|
478
|
+
n0,
|
|
479
|
+
_RPMAL,
|
|
480
|
+
0,
|
|
481
|
+
() => ResourcePendingMaintenanceAction,
|
|
482
|
+
];
|
|
483
|
+
export var ShardList = [1, n0, _SL, 0, () => Shard];
|
|
484
|
+
export var StringList = 64 | 0;
|
|
485
|
+
export var TagKeyList = 64 | 0;
|
|
486
|
+
export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
487
|
+
export var TagMap = 128 | 0;
|
|
488
|
+
export var ApplyPendingMaintenanceAction = [
|
|
489
|
+
9,
|
|
490
|
+
n0,
|
|
491
|
+
_APMA,
|
|
492
|
+
{
|
|
493
|
+
[_h]: ["POST", "/pending-action", 200],
|
|
494
|
+
},
|
|
495
|
+
() => ApplyPendingMaintenanceActionInput,
|
|
496
|
+
() => ApplyPendingMaintenanceActionOutput,
|
|
497
|
+
];
|
|
498
|
+
export var CopyClusterSnapshot = [
|
|
499
|
+
9,
|
|
500
|
+
n0,
|
|
501
|
+
_CCS,
|
|
502
|
+
{
|
|
503
|
+
[_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200],
|
|
504
|
+
},
|
|
505
|
+
() => CopyClusterSnapshotInput,
|
|
506
|
+
() => CopyClusterSnapshotOutput,
|
|
507
|
+
];
|
|
508
|
+
export var CreateCluster = [
|
|
509
|
+
9,
|
|
510
|
+
n0,
|
|
511
|
+
_CC,
|
|
512
|
+
{
|
|
513
|
+
[_h]: ["POST", "/cluster", 200],
|
|
514
|
+
},
|
|
515
|
+
() => CreateClusterInput,
|
|
516
|
+
() => CreateClusterOutput,
|
|
517
|
+
];
|
|
518
|
+
export var CreateClusterSnapshot = [
|
|
519
|
+
9,
|
|
520
|
+
n0,
|
|
521
|
+
_CCSr,
|
|
522
|
+
{
|
|
523
|
+
[_h]: ["POST", "/cluster-snapshot", 200],
|
|
524
|
+
},
|
|
525
|
+
() => CreateClusterSnapshotInput,
|
|
526
|
+
() => CreateClusterSnapshotOutput,
|
|
527
|
+
];
|
|
528
|
+
export var DeleteCluster = [
|
|
529
|
+
9,
|
|
530
|
+
n0,
|
|
531
|
+
_DC,
|
|
532
|
+
{
|
|
533
|
+
[_h]: ["DELETE", "/cluster/{clusterArn}", 200],
|
|
534
|
+
},
|
|
535
|
+
() => DeleteClusterInput,
|
|
536
|
+
() => DeleteClusterOutput,
|
|
537
|
+
];
|
|
538
|
+
export var DeleteClusterSnapshot = [
|
|
539
|
+
9,
|
|
540
|
+
n0,
|
|
541
|
+
_DCS,
|
|
542
|
+
{
|
|
543
|
+
[_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200],
|
|
544
|
+
},
|
|
545
|
+
() => DeleteClusterSnapshotInput,
|
|
546
|
+
() => DeleteClusterSnapshotOutput,
|
|
547
|
+
];
|
|
548
|
+
export var GetCluster = [
|
|
549
|
+
9,
|
|
550
|
+
n0,
|
|
551
|
+
_GC,
|
|
552
|
+
{
|
|
553
|
+
[_h]: ["GET", "/cluster/{clusterArn}", 200],
|
|
554
|
+
},
|
|
555
|
+
() => GetClusterInput,
|
|
556
|
+
() => GetClusterOutput,
|
|
557
|
+
];
|
|
558
|
+
export var GetClusterSnapshot = [
|
|
559
|
+
9,
|
|
560
|
+
n0,
|
|
561
|
+
_GCS,
|
|
562
|
+
{
|
|
563
|
+
[_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200],
|
|
564
|
+
},
|
|
565
|
+
() => GetClusterSnapshotInput,
|
|
566
|
+
() => GetClusterSnapshotOutput,
|
|
567
|
+
];
|
|
568
|
+
export var GetPendingMaintenanceAction = [
|
|
569
|
+
9,
|
|
570
|
+
n0,
|
|
571
|
+
_GPMA,
|
|
572
|
+
{
|
|
573
|
+
[_h]: ["GET", "/pending-action/{resourceArn}", 200],
|
|
574
|
+
},
|
|
575
|
+
() => GetPendingMaintenanceActionInput,
|
|
576
|
+
() => GetPendingMaintenanceActionOutput,
|
|
577
|
+
];
|
|
578
|
+
export var ListClusters = [
|
|
579
|
+
9,
|
|
580
|
+
n0,
|
|
581
|
+
_LC,
|
|
582
|
+
{
|
|
583
|
+
[_h]: ["GET", "/clusters", 200],
|
|
584
|
+
},
|
|
585
|
+
() => ListClustersInput,
|
|
586
|
+
() => ListClustersOutput,
|
|
587
|
+
];
|
|
588
|
+
export var ListClusterSnapshots = [
|
|
589
|
+
9,
|
|
590
|
+
n0,
|
|
591
|
+
_LCS,
|
|
592
|
+
{
|
|
593
|
+
[_h]: ["GET", "/cluster-snapshots", 200],
|
|
594
|
+
},
|
|
595
|
+
() => ListClusterSnapshotsInput,
|
|
596
|
+
() => ListClusterSnapshotsOutput,
|
|
597
|
+
];
|
|
598
|
+
export var ListPendingMaintenanceActions = [
|
|
599
|
+
9,
|
|
600
|
+
n0,
|
|
601
|
+
_LPMA,
|
|
602
|
+
{
|
|
603
|
+
[_h]: ["GET", "/pending-actions", 200],
|
|
604
|
+
},
|
|
605
|
+
() => ListPendingMaintenanceActionsInput,
|
|
606
|
+
() => ListPendingMaintenanceActionsOutput,
|
|
607
|
+
];
|
|
608
|
+
export var ListTagsForResource = [
|
|
609
|
+
9,
|
|
610
|
+
n0,
|
|
611
|
+
_LTFR,
|
|
612
|
+
{
|
|
613
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
614
|
+
},
|
|
615
|
+
() => ListTagsForResourceRequest,
|
|
616
|
+
() => ListTagsForResourceResponse,
|
|
617
|
+
];
|
|
618
|
+
export var RestoreClusterFromSnapshot = [
|
|
619
|
+
9,
|
|
620
|
+
n0,
|
|
621
|
+
_RCFS,
|
|
622
|
+
{
|
|
623
|
+
[_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200],
|
|
624
|
+
},
|
|
625
|
+
() => RestoreClusterFromSnapshotInput,
|
|
626
|
+
() => RestoreClusterFromSnapshotOutput,
|
|
627
|
+
];
|
|
628
|
+
export var StartCluster = [
|
|
629
|
+
9,
|
|
630
|
+
n0,
|
|
631
|
+
_SC,
|
|
632
|
+
{
|
|
633
|
+
[_h]: ["POST", "/cluster/{clusterArn}/start", 200],
|
|
634
|
+
},
|
|
635
|
+
() => StartClusterInput,
|
|
636
|
+
() => StartClusterOutput,
|
|
637
|
+
];
|
|
638
|
+
export var StopCluster = [
|
|
639
|
+
9,
|
|
640
|
+
n0,
|
|
641
|
+
_SCt,
|
|
642
|
+
{
|
|
643
|
+
[_h]: ["POST", "/cluster/{clusterArn}/stop", 200],
|
|
644
|
+
},
|
|
645
|
+
() => StopClusterInput,
|
|
646
|
+
() => StopClusterOutput,
|
|
647
|
+
];
|
|
648
|
+
export var TagResource = [
|
|
649
|
+
9,
|
|
650
|
+
n0,
|
|
651
|
+
_TR,
|
|
652
|
+
{
|
|
653
|
+
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
654
|
+
},
|
|
655
|
+
() => TagResourceRequest,
|
|
656
|
+
() => TagResourceResponse,
|
|
657
|
+
];
|
|
658
|
+
export var UntagResource = [
|
|
659
|
+
9,
|
|
660
|
+
n0,
|
|
661
|
+
_UR,
|
|
662
|
+
{
|
|
663
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
664
|
+
},
|
|
665
|
+
() => UntagResourceRequest,
|
|
666
|
+
() => UntagResourceResponse,
|
|
667
|
+
];
|
|
668
|
+
export var UpdateCluster = [
|
|
669
|
+
9,
|
|
670
|
+
n0,
|
|
671
|
+
_UC,
|
|
672
|
+
{
|
|
673
|
+
[_h]: ["PUT", "/cluster/{clusterArn}", 200],
|
|
674
|
+
},
|
|
675
|
+
() => UpdateClusterInput,
|
|
676
|
+
() => UpdateClusterOutput,
|
|
677
|
+
];
|
|
@@ -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 { ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput } from "./commands/ApplyPendingMaintenanceActionCommand";
|
|
11
11
|
import { CopyClusterSnapshotCommandInput, CopyClusterSnapshotCommandOutput } from "./commands/CopyClusterSnapshotCommand";
|
|
@@ -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
|
*/
|
|
@@ -1303,11 +1303,3 @@ export interface UpdateClusterOutput {
|
|
|
1303
1303
|
*/
|
|
1304
1304
|
cluster: Cluster | undefined;
|
|
1305
1305
|
}
|
|
1306
|
-
/**
|
|
1307
|
-
* @internal
|
|
1308
|
-
*/
|
|
1309
|
-
export declare const CreateClusterInputFilterSensitiveLog: (obj: CreateClusterInput) => any;
|
|
1310
|
-
/**
|
|
1311
|
-
* @internal
|
|
1312
|
-
*/
|
|
1313
|
-
export declare const UpdateClusterInputFilterSensitiveLog: (obj: UpdateClusterInput) => any;
|