@aws-sdk/client-docdb-elastic 3.987.0 → 3.989.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 -703
- package/dist-cjs/models/DocDBElasticServiceException.js +12 -0
- package/dist-cjs/models/errors.js +111 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +510 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +53 -47
- package/dist-types/schemas/schemas_0.d.ts +14 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -7
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocDBElasticServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class DocDBElasticServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, DocDBElasticServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DocDBElasticServiceException = DocDBElasticServiceException;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServiceQuotaExceededException = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const DocDBElasticServiceException_1 = require("./DocDBElasticServiceException");
|
|
5
|
+
class AccessDeniedException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class ConflictException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
resourceType;
|
|
23
|
+
constructor(opts) {
|
|
24
|
+
super({
|
|
25
|
+
name: "ConflictException",
|
|
26
|
+
$fault: "client",
|
|
27
|
+
...opts,
|
|
28
|
+
});
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
35
|
+
class InternalServerException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
36
|
+
name = "InternalServerException";
|
|
37
|
+
$fault = "server";
|
|
38
|
+
$retryable = {};
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "InternalServerException",
|
|
42
|
+
$fault: "server",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.InternalServerException = InternalServerException;
|
|
49
|
+
class ResourceNotFoundException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
50
|
+
name = "ResourceNotFoundException";
|
|
51
|
+
$fault = "client";
|
|
52
|
+
resourceId;
|
|
53
|
+
resourceType;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ResourceNotFoundException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
61
|
+
this.resourceId = opts.resourceId;
|
|
62
|
+
this.resourceType = opts.resourceType;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
66
|
+
class ThrottlingException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
67
|
+
name = "ThrottlingException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
$retryable = {};
|
|
70
|
+
retryAfterSeconds;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ThrottlingException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
78
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.ThrottlingException = ThrottlingException;
|
|
82
|
+
class ValidationException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
83
|
+
name = "ValidationException";
|
|
84
|
+
$fault = "client";
|
|
85
|
+
reason;
|
|
86
|
+
fieldList;
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
94
|
+
this.reason = opts.reason;
|
|
95
|
+
this.fieldList = opts.fieldList;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ValidationException = ValidationException;
|
|
99
|
+
class ServiceQuotaExceededException extends DocDBElasticServiceException_1.DocDBElasticServiceException {
|
|
100
|
+
name = "ServiceQuotaExceededException";
|
|
101
|
+
$fault = "client";
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "ServiceQuotaExceededException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2022-11-28",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.docdbelastic",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2022-11-28",
|
|
33
35
|
serviceTarget: "ChimeraDbLionfishServiceLambda",
|
|
34
36
|
},
|
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.StopClusterOutput$ = exports.StopClusterInput$ = exports.StartClusterOutput$ = exports.StartClusterInput$ = exports.Shard$ = exports.RestoreClusterFromSnapshotOutput$ = exports.RestoreClusterFromSnapshotInput$ = exports.ResourcePendingMaintenanceAction$ = exports.PendingMaintenanceActionDetails$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListPendingMaintenanceActionsOutput$ = exports.ListPendingMaintenanceActionsInput$ = exports.ListClustersOutput$ = exports.ListClusterSnapshotsOutput$ = exports.ListClusterSnapshotsInput$ = exports.ListClustersInput$ = exports.GetPendingMaintenanceActionOutput$ = exports.GetPendingMaintenanceActionInput$ = exports.GetClusterSnapshotOutput$ = exports.GetClusterSnapshotInput$ = exports.GetClusterOutput$ = exports.GetClusterInput$ = exports.DeleteClusterSnapshotOutput$ = exports.DeleteClusterSnapshotInput$ = exports.DeleteClusterOutput$ = exports.DeleteClusterInput$ = exports.CreateClusterSnapshotOutput$ = exports.CreateClusterSnapshotInput$ = exports.CreateClusterOutput$ = exports.CreateClusterInput$ = exports.CopyClusterSnapshotOutput$ = exports.CopyClusterSnapshotInput$ = exports.ClusterSnapshotInList$ = exports.ClusterSnapshot$ = exports.ClusterInList$ = exports.Cluster$ = exports.ApplyPendingMaintenanceActionOutput$ = exports.ApplyPendingMaintenanceActionInput$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.DocDBElasticServiceException$ = void 0;
|
|
4
|
+
exports.UpdateCluster$ = exports.UntagResource$ = exports.TagResource$ = exports.StopCluster$ = exports.StartCluster$ = exports.RestoreClusterFromSnapshot$ = exports.ListTagsForResource$ = exports.ListPendingMaintenanceActions$ = exports.ListClusterSnapshots$ = exports.ListClusters$ = exports.GetPendingMaintenanceAction$ = exports.GetClusterSnapshot$ = exports.GetCluster$ = exports.DeleteClusterSnapshot$ = exports.DeleteCluster$ = exports.CreateClusterSnapshot$ = exports.CreateCluster$ = exports.CopyClusterSnapshot$ = exports.ApplyPendingMaintenanceAction$ = exports.ValidationExceptionField$ = exports.UpdateClusterOutput$ = exports.UpdateClusterInput$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _APMA = "ApplyPendingMaintenanceAction";
|
|
7
|
+
const _APMAI = "ApplyPendingMaintenanceActionInput";
|
|
8
|
+
const _APMAO = "ApplyPendingMaintenanceActionOutput";
|
|
9
|
+
const _C = "Cluster";
|
|
10
|
+
const _CC = "CreateCluster";
|
|
11
|
+
const _CCI = "CreateClusterInput";
|
|
12
|
+
const _CCO = "CreateClusterOutput";
|
|
13
|
+
const _CCS = "CopyClusterSnapshot";
|
|
14
|
+
const _CCSI = "CopyClusterSnapshotInput";
|
|
15
|
+
const _CCSIr = "CreateClusterSnapshotInput";
|
|
16
|
+
const _CCSO = "CopyClusterSnapshotOutput";
|
|
17
|
+
const _CCSOr = "CreateClusterSnapshotOutput";
|
|
18
|
+
const _CCSr = "CreateClusterSnapshot";
|
|
19
|
+
const _CE = "ConflictException";
|
|
20
|
+
const _CIL = "ClusterInList";
|
|
21
|
+
const _CL = "ClusterList";
|
|
22
|
+
const _CS = "ClusterSnapshot";
|
|
23
|
+
const _CSIL = "ClusterSnapshotInList";
|
|
24
|
+
const _CSL = "ClusterSnapshotList";
|
|
25
|
+
const _DC = "DeleteCluster";
|
|
26
|
+
const _DCI = "DeleteClusterInput";
|
|
27
|
+
const _DCO = "DeleteClusterOutput";
|
|
28
|
+
const _DCS = "DeleteClusterSnapshot";
|
|
29
|
+
const _DCSI = "DeleteClusterSnapshotInput";
|
|
30
|
+
const _DCSO = "DeleteClusterSnapshotOutput";
|
|
31
|
+
const _GC = "GetCluster";
|
|
32
|
+
const _GCI = "GetClusterInput";
|
|
33
|
+
const _GCO = "GetClusterOutput";
|
|
34
|
+
const _GCS = "GetClusterSnapshot";
|
|
35
|
+
const _GCSI = "GetClusterSnapshotInput";
|
|
36
|
+
const _GCSO = "GetClusterSnapshotOutput";
|
|
37
|
+
const _GPMA = "GetPendingMaintenanceAction";
|
|
38
|
+
const _GPMAI = "GetPendingMaintenanceActionInput";
|
|
39
|
+
const _GPMAO = "GetPendingMaintenanceActionOutput";
|
|
40
|
+
const _ISE = "InternalServerException";
|
|
41
|
+
const _LC = "ListClusters";
|
|
42
|
+
const _LCI = "ListClustersInput";
|
|
43
|
+
const _LCO = "ListClustersOutput";
|
|
44
|
+
const _LCS = "ListClusterSnapshots";
|
|
45
|
+
const _LCSI = "ListClusterSnapshotsInput";
|
|
46
|
+
const _LCSO = "ListClusterSnapshotsOutput";
|
|
47
|
+
const _LPMA = "ListPendingMaintenanceActions";
|
|
48
|
+
const _LPMAI = "ListPendingMaintenanceActionsInput";
|
|
49
|
+
const _LPMAO = "ListPendingMaintenanceActionsOutput";
|
|
50
|
+
const _LTFR = "ListTagsForResource";
|
|
51
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
52
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
53
|
+
const _P = "Password";
|
|
54
|
+
const _PMAD = "PendingMaintenanceActionDetails";
|
|
55
|
+
const _PMADL = "PendingMaintenanceActionDetailsList";
|
|
56
|
+
const _RA = "Retry-After";
|
|
57
|
+
const _RCFS = "RestoreClusterFromSnapshot";
|
|
58
|
+
const _RCFSI = "RestoreClusterFromSnapshotInput";
|
|
59
|
+
const _RCFSO = "RestoreClusterFromSnapshotOutput";
|
|
60
|
+
const _RNFE = "ResourceNotFoundException";
|
|
61
|
+
const _RPMA = "ResourcePendingMaintenanceAction";
|
|
62
|
+
const _RPMAL = "ResourcePendingMaintenanceActionList";
|
|
63
|
+
const _S = "Shard";
|
|
64
|
+
const _SC = "StartCluster";
|
|
65
|
+
const _SCI = "StartClusterInput";
|
|
66
|
+
const _SCIt = "StopClusterInput";
|
|
67
|
+
const _SCO = "StartClusterOutput";
|
|
68
|
+
const _SCOt = "StopClusterOutput";
|
|
69
|
+
const _SCt = "StopCluster";
|
|
70
|
+
const _SL = "ShardList";
|
|
71
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
72
|
+
const _TE = "ThrottlingException";
|
|
73
|
+
const _TR = "TagResource";
|
|
74
|
+
const _TRR = "TagResourceRequest";
|
|
75
|
+
const _TRRa = "TagResourceResponse";
|
|
76
|
+
const _UC = "UpdateCluster";
|
|
77
|
+
const _UCI = "UpdateClusterInput";
|
|
78
|
+
const _UCO = "UpdateClusterOutput";
|
|
79
|
+
const _UR = "UntagResource";
|
|
80
|
+
const _URR = "UntagResourceRequest";
|
|
81
|
+
const _URRn = "UntagResourceResponse";
|
|
82
|
+
const _VE = "ValidationException";
|
|
83
|
+
const _VEF = "ValidationExceptionField";
|
|
84
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
85
|
+
const _a = "action";
|
|
86
|
+
const _aA = "applyAction";
|
|
87
|
+
const _aAAD = "autoAppliedAfterDate";
|
|
88
|
+
const _aO = "applyOn";
|
|
89
|
+
const _aT = "authType";
|
|
90
|
+
const _aUN = "adminUserName";
|
|
91
|
+
const _aUP = "adminUserPassword";
|
|
92
|
+
const _bRP = "backupRetentionPeriod";
|
|
93
|
+
const _c = "client";
|
|
94
|
+
const _cA = "clusterArn";
|
|
95
|
+
const _cAD = "currentApplyDate";
|
|
96
|
+
const _cCT = "clusterCreationTime";
|
|
97
|
+
const _cE = "clusterEndpoint";
|
|
98
|
+
const _cN = "clusterName";
|
|
99
|
+
const _cT = "createTime";
|
|
100
|
+
const _cTl = "clientToken";
|
|
101
|
+
const _cTo = "copyTags";
|
|
102
|
+
const _cl = "cluster";
|
|
103
|
+
const _clu = "clusters";
|
|
104
|
+
const _d = "description";
|
|
105
|
+
const _e = "error";
|
|
106
|
+
const _fAD = "forcedApplyDate";
|
|
107
|
+
const _fL = "fieldList";
|
|
108
|
+
const _h = "http";
|
|
109
|
+
const _hE = "httpError";
|
|
110
|
+
const _hH = "httpHeader";
|
|
111
|
+
const _hQ = "httpQuery";
|
|
112
|
+
const _kKI = "kmsKeyId";
|
|
113
|
+
const _m = "message";
|
|
114
|
+
const _mR = "maxResults";
|
|
115
|
+
const _n = "name";
|
|
116
|
+
const _nT = "nextToken";
|
|
117
|
+
const _oIS = "optInStatus";
|
|
118
|
+
const _oIT = "optInType";
|
|
119
|
+
const _pBW = "preferredBackupWindow";
|
|
120
|
+
const _pMAD = "pendingMaintenanceActionDetails";
|
|
121
|
+
const _pMW = "preferredMaintenanceWindow";
|
|
122
|
+
const _r = "reason";
|
|
123
|
+
const _rA = "resourceArn";
|
|
124
|
+
const _rAS = "retryAfterSeconds";
|
|
125
|
+
const _rI = "resourceId";
|
|
126
|
+
const _rPMA = "resourcePendingMaintenanceAction";
|
|
127
|
+
const _rPMAe = "resourcePendingMaintenanceActions";
|
|
128
|
+
const _rT = "resourceType";
|
|
129
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.docdbelastic";
|
|
130
|
+
const _sA = "snapshotArn";
|
|
131
|
+
const _sC = "shardCapacity";
|
|
132
|
+
const _sCT = "snapshotCreationTime";
|
|
133
|
+
const _sCh = "shardCount";
|
|
134
|
+
const _sI = "subnetIds";
|
|
135
|
+
const _sIC = "shardInstanceCount";
|
|
136
|
+
const _sIh = "shardId";
|
|
137
|
+
const _sN = "snapshotName";
|
|
138
|
+
const _sT = "snapshotType";
|
|
139
|
+
const _se = "server";
|
|
140
|
+
const _sh = "shards";
|
|
141
|
+
const _sn = "snapshot";
|
|
142
|
+
const _sna = "snapshots";
|
|
143
|
+
const _st = "status";
|
|
144
|
+
const _t = "tags";
|
|
145
|
+
const _tK = "tagKeys";
|
|
146
|
+
const _tSN = "targetSnapshotName";
|
|
147
|
+
const _vSGI = "vpcSecurityGroupIds";
|
|
148
|
+
const n0 = "com.amazonaws.docdbelastic";
|
|
149
|
+
const schema_1 = require("@smithy/core/schema");
|
|
150
|
+
const DocDBElasticServiceException_1 = require("../models/DocDBElasticServiceException");
|
|
151
|
+
const errors_1 = require("../models/errors");
|
|
152
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
153
|
+
exports.DocDBElasticServiceException$ = [-3, _s, "DocDBElasticServiceException", 0, [], []];
|
|
154
|
+
_s_registry.registerError(exports.DocDBElasticServiceException$, DocDBElasticServiceException_1.DocDBElasticServiceException);
|
|
155
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
156
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
157
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
158
|
+
[_m],
|
|
159
|
+
[0], 1
|
|
160
|
+
];
|
|
161
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
162
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
163
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
164
|
+
[_m, _rI, _rT],
|
|
165
|
+
[0, 0, 0], 3
|
|
166
|
+
];
|
|
167
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
168
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
169
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
170
|
+
[_m],
|
|
171
|
+
[0], 1
|
|
172
|
+
];
|
|
173
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
174
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
175
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
176
|
+
[_m, _rI, _rT],
|
|
177
|
+
[0, 0, 0], 3
|
|
178
|
+
];
|
|
179
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
180
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
181
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
182
|
+
[_m],
|
|
183
|
+
[0], 1
|
|
184
|
+
];
|
|
185
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
186
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
187
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
188
|
+
[_m, _rAS],
|
|
189
|
+
[0, [1, { [_hH]: _RA }]], 1
|
|
190
|
+
];
|
|
191
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
192
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
193
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
194
|
+
[_m, _r, _fL],
|
|
195
|
+
[0, 0, () => ValidationExceptionFieldList], 2
|
|
196
|
+
];
|
|
197
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
198
|
+
exports.errorTypeRegistries = [
|
|
199
|
+
_s_registry,
|
|
200
|
+
n0_registry,
|
|
201
|
+
];
|
|
202
|
+
var Password = [0, n0, _P, 8, 0];
|
|
203
|
+
exports.ApplyPendingMaintenanceActionInput$ = [3, n0, _APMAI,
|
|
204
|
+
0,
|
|
205
|
+
[_rA, _aA, _oIT, _aO],
|
|
206
|
+
[0, 0, 0, 0], 3
|
|
207
|
+
];
|
|
208
|
+
exports.ApplyPendingMaintenanceActionOutput$ = [3, n0, _APMAO,
|
|
209
|
+
0,
|
|
210
|
+
[_rPMA],
|
|
211
|
+
[() => exports.ResourcePendingMaintenanceAction$], 1
|
|
212
|
+
];
|
|
213
|
+
exports.Cluster$ = [3, n0, _C,
|
|
214
|
+
0,
|
|
215
|
+
[_cN, _cA, _st, _cE, _cT, _aUN, _aT, _sC, _sCh, _vSGI, _sI, _pMW, _kKI, _sh, _bRP, _pBW, _sIC],
|
|
216
|
+
[0, 0, 0, 0, 0, 0, 0, 1, 1, 64 | 0, 64 | 0, 0, 0, () => ShardList, 1, 0, 1], 13
|
|
217
|
+
];
|
|
218
|
+
exports.ClusterInList$ = [3, n0, _CIL,
|
|
219
|
+
0,
|
|
220
|
+
[_cN, _cA, _st],
|
|
221
|
+
[0, 0, 0], 3
|
|
222
|
+
];
|
|
223
|
+
exports.ClusterSnapshot$ = [3, n0, _CS,
|
|
224
|
+
0,
|
|
225
|
+
[_sI, _sN, _sA, _sCT, _cA, _cCT, _st, _vSGI, _aUN, _kKI, _sT],
|
|
226
|
+
[64 | 0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0], 10
|
|
227
|
+
];
|
|
228
|
+
exports.ClusterSnapshotInList$ = [3, n0, _CSIL,
|
|
229
|
+
0,
|
|
230
|
+
[_sN, _sA, _cA, _st, _sCT],
|
|
231
|
+
[0, 0, 0, 0, 0], 5
|
|
232
|
+
];
|
|
233
|
+
exports.CopyClusterSnapshotInput$ = [3, n0, _CCSI,
|
|
234
|
+
0,
|
|
235
|
+
[_sA, _tSN, _kKI, _cTo, _t],
|
|
236
|
+
[[0, 1], 0, 0, 2, 128 | 0], 2
|
|
237
|
+
];
|
|
238
|
+
exports.CopyClusterSnapshotOutput$ = [3, n0, _CCSO,
|
|
239
|
+
0,
|
|
240
|
+
[_sn],
|
|
241
|
+
[() => exports.ClusterSnapshot$], 1
|
|
242
|
+
];
|
|
243
|
+
exports.CreateClusterInput$ = [3, n0, _CCI,
|
|
244
|
+
0,
|
|
245
|
+
[_cN, _aT, _aUN, _aUP, _sC, _sCh, _vSGI, _sI, _kKI, _cTl, _pMW, _t, _bRP, _pBW, _sIC],
|
|
246
|
+
[0, 0, 0, [() => Password, 0], 1, 1, 64 | 0, 64 | 0, 0, [0, 4], 0, 128 | 0, 1, 0, 1], 6
|
|
247
|
+
];
|
|
248
|
+
exports.CreateClusterOutput$ = [3, n0, _CCO,
|
|
249
|
+
0,
|
|
250
|
+
[_cl],
|
|
251
|
+
[() => exports.Cluster$], 1
|
|
252
|
+
];
|
|
253
|
+
exports.CreateClusterSnapshotInput$ = [3, n0, _CCSIr,
|
|
254
|
+
0,
|
|
255
|
+
[_cA, _sN, _t],
|
|
256
|
+
[0, 0, 128 | 0], 2
|
|
257
|
+
];
|
|
258
|
+
exports.CreateClusterSnapshotOutput$ = [3, n0, _CCSOr,
|
|
259
|
+
0,
|
|
260
|
+
[_sn],
|
|
261
|
+
[() => exports.ClusterSnapshot$], 1
|
|
262
|
+
];
|
|
263
|
+
exports.DeleteClusterInput$ = [3, n0, _DCI,
|
|
264
|
+
0,
|
|
265
|
+
[_cA],
|
|
266
|
+
[[0, 1]], 1
|
|
267
|
+
];
|
|
268
|
+
exports.DeleteClusterOutput$ = [3, n0, _DCO,
|
|
269
|
+
0,
|
|
270
|
+
[_cl],
|
|
271
|
+
[() => exports.Cluster$], 1
|
|
272
|
+
];
|
|
273
|
+
exports.DeleteClusterSnapshotInput$ = [3, n0, _DCSI,
|
|
274
|
+
0,
|
|
275
|
+
[_sA],
|
|
276
|
+
[[0, 1]], 1
|
|
277
|
+
];
|
|
278
|
+
exports.DeleteClusterSnapshotOutput$ = [3, n0, _DCSO,
|
|
279
|
+
0,
|
|
280
|
+
[_sn],
|
|
281
|
+
[() => exports.ClusterSnapshot$], 1
|
|
282
|
+
];
|
|
283
|
+
exports.GetClusterInput$ = [3, n0, _GCI,
|
|
284
|
+
0,
|
|
285
|
+
[_cA],
|
|
286
|
+
[[0, 1]], 1
|
|
287
|
+
];
|
|
288
|
+
exports.GetClusterOutput$ = [3, n0, _GCO,
|
|
289
|
+
0,
|
|
290
|
+
[_cl],
|
|
291
|
+
[() => exports.Cluster$], 1
|
|
292
|
+
];
|
|
293
|
+
exports.GetClusterSnapshotInput$ = [3, n0, _GCSI,
|
|
294
|
+
0,
|
|
295
|
+
[_sA],
|
|
296
|
+
[[0, 1]], 1
|
|
297
|
+
];
|
|
298
|
+
exports.GetClusterSnapshotOutput$ = [3, n0, _GCSO,
|
|
299
|
+
0,
|
|
300
|
+
[_sn],
|
|
301
|
+
[() => exports.ClusterSnapshot$], 1
|
|
302
|
+
];
|
|
303
|
+
exports.GetPendingMaintenanceActionInput$ = [3, n0, _GPMAI,
|
|
304
|
+
0,
|
|
305
|
+
[_rA],
|
|
306
|
+
[[0, 1]], 1
|
|
307
|
+
];
|
|
308
|
+
exports.GetPendingMaintenanceActionOutput$ = [3, n0, _GPMAO,
|
|
309
|
+
0,
|
|
310
|
+
[_rPMA],
|
|
311
|
+
[() => exports.ResourcePendingMaintenanceAction$], 1
|
|
312
|
+
];
|
|
313
|
+
exports.ListClustersInput$ = [3, n0, _LCI,
|
|
314
|
+
0,
|
|
315
|
+
[_nT, _mR],
|
|
316
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
317
|
+
];
|
|
318
|
+
exports.ListClusterSnapshotsInput$ = [3, n0, _LCSI,
|
|
319
|
+
0,
|
|
320
|
+
[_cA, _nT, _mR, _sT],
|
|
321
|
+
[[0, { [_hQ]: _cA }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _sT }]]
|
|
322
|
+
];
|
|
323
|
+
exports.ListClusterSnapshotsOutput$ = [3, n0, _LCSO,
|
|
324
|
+
0,
|
|
325
|
+
[_sna, _nT],
|
|
326
|
+
[() => ClusterSnapshotList, 0]
|
|
327
|
+
];
|
|
328
|
+
exports.ListClustersOutput$ = [3, n0, _LCO,
|
|
329
|
+
0,
|
|
330
|
+
[_clu, _nT],
|
|
331
|
+
[() => ClusterList, 0]
|
|
332
|
+
];
|
|
333
|
+
exports.ListPendingMaintenanceActionsInput$ = [3, n0, _LPMAI,
|
|
334
|
+
0,
|
|
335
|
+
[_nT, _mR],
|
|
336
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
337
|
+
];
|
|
338
|
+
exports.ListPendingMaintenanceActionsOutput$ = [3, n0, _LPMAO,
|
|
339
|
+
0,
|
|
340
|
+
[_rPMAe, _nT],
|
|
341
|
+
[() => ResourcePendingMaintenanceActionList, 0], 1
|
|
342
|
+
];
|
|
343
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
344
|
+
0,
|
|
345
|
+
[_rA],
|
|
346
|
+
[[0, 1]], 1
|
|
347
|
+
];
|
|
348
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
349
|
+
0,
|
|
350
|
+
[_t],
|
|
351
|
+
[128 | 0]
|
|
352
|
+
];
|
|
353
|
+
exports.PendingMaintenanceActionDetails$ = [3, n0, _PMAD,
|
|
354
|
+
0,
|
|
355
|
+
[_a, _aAAD, _fAD, _oIS, _cAD, _d],
|
|
356
|
+
[0, 0, 0, 0, 0, 0], 1
|
|
357
|
+
];
|
|
358
|
+
exports.ResourcePendingMaintenanceAction$ = [3, n0, _RPMA,
|
|
359
|
+
0,
|
|
360
|
+
[_rA, _pMAD],
|
|
361
|
+
[0, () => PendingMaintenanceActionDetailsList]
|
|
362
|
+
];
|
|
363
|
+
exports.RestoreClusterFromSnapshotInput$ = [3, n0, _RCFSI,
|
|
364
|
+
0,
|
|
365
|
+
[_cN, _sA, _vSGI, _sI, _kKI, _t, _sC, _sIC],
|
|
366
|
+
[0, [0, 1], 64 | 0, 64 | 0, 0, 128 | 0, 1, 1], 2
|
|
367
|
+
];
|
|
368
|
+
exports.RestoreClusterFromSnapshotOutput$ = [3, n0, _RCFSO,
|
|
369
|
+
0,
|
|
370
|
+
[_cl],
|
|
371
|
+
[() => exports.Cluster$], 1
|
|
372
|
+
];
|
|
373
|
+
exports.Shard$ = [3, n0, _S,
|
|
374
|
+
0,
|
|
375
|
+
[_sIh, _cT, _st],
|
|
376
|
+
[0, 0, 0], 3
|
|
377
|
+
];
|
|
378
|
+
exports.StartClusterInput$ = [3, n0, _SCI,
|
|
379
|
+
0,
|
|
380
|
+
[_cA],
|
|
381
|
+
[[0, 1]], 1
|
|
382
|
+
];
|
|
383
|
+
exports.StartClusterOutput$ = [3, n0, _SCO,
|
|
384
|
+
0,
|
|
385
|
+
[_cl],
|
|
386
|
+
[() => exports.Cluster$], 1
|
|
387
|
+
];
|
|
388
|
+
exports.StopClusterInput$ = [3, n0, _SCIt,
|
|
389
|
+
0,
|
|
390
|
+
[_cA],
|
|
391
|
+
[[0, 1]], 1
|
|
392
|
+
];
|
|
393
|
+
exports.StopClusterOutput$ = [3, n0, _SCOt,
|
|
394
|
+
0,
|
|
395
|
+
[_cl],
|
|
396
|
+
[() => exports.Cluster$], 1
|
|
397
|
+
];
|
|
398
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
399
|
+
0,
|
|
400
|
+
[_rA, _t],
|
|
401
|
+
[[0, 1], 128 | 0], 2
|
|
402
|
+
];
|
|
403
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
404
|
+
0,
|
|
405
|
+
[],
|
|
406
|
+
[]
|
|
407
|
+
];
|
|
408
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
409
|
+
0,
|
|
410
|
+
[_rA, _tK],
|
|
411
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
412
|
+
];
|
|
413
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
414
|
+
0,
|
|
415
|
+
[],
|
|
416
|
+
[]
|
|
417
|
+
];
|
|
418
|
+
exports.UpdateClusterInput$ = [3, n0, _UCI,
|
|
419
|
+
0,
|
|
420
|
+
[_cA, _aT, _sC, _sCh, _vSGI, _sI, _aUP, _cTl, _pMW, _bRP, _pBW, _sIC],
|
|
421
|
+
[[0, 1], 0, 1, 1, 64 | 0, 64 | 0, [() => Password, 0], [0, 4], 0, 1, 0, 1], 1
|
|
422
|
+
];
|
|
423
|
+
exports.UpdateClusterOutput$ = [3, n0, _UCO,
|
|
424
|
+
0,
|
|
425
|
+
[_cl],
|
|
426
|
+
[() => exports.Cluster$], 1
|
|
427
|
+
];
|
|
428
|
+
exports.ValidationExceptionField$ = [3, n0, _VEF,
|
|
429
|
+
0,
|
|
430
|
+
[_n, _m],
|
|
431
|
+
[0, 0], 2
|
|
432
|
+
];
|
|
433
|
+
var ClusterList = [1, n0, _CL,
|
|
434
|
+
0, () => exports.ClusterInList$
|
|
435
|
+
];
|
|
436
|
+
var ClusterSnapshotList = [1, n0, _CSL,
|
|
437
|
+
0, () => exports.ClusterSnapshotInList$
|
|
438
|
+
];
|
|
439
|
+
var PendingMaintenanceActionDetailsList = [1, n0, _PMADL,
|
|
440
|
+
0, () => exports.PendingMaintenanceActionDetails$
|
|
441
|
+
];
|
|
442
|
+
var ResourcePendingMaintenanceActionList = [1, n0, _RPMAL,
|
|
443
|
+
0, () => exports.ResourcePendingMaintenanceAction$
|
|
444
|
+
];
|
|
445
|
+
var ShardList = [1, n0, _SL,
|
|
446
|
+
0, () => exports.Shard$
|
|
447
|
+
];
|
|
448
|
+
var StringList = 64 | 0;
|
|
449
|
+
var TagKeyList = 64 | 0;
|
|
450
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
451
|
+
0, () => exports.ValidationExceptionField$
|
|
452
|
+
];
|
|
453
|
+
var TagMap = 128 | 0;
|
|
454
|
+
exports.ApplyPendingMaintenanceAction$ = [9, n0, _APMA,
|
|
455
|
+
{ [_h]: ["POST", "/pending-action", 200] }, () => exports.ApplyPendingMaintenanceActionInput$, () => exports.ApplyPendingMaintenanceActionOutput$
|
|
456
|
+
];
|
|
457
|
+
exports.CopyClusterSnapshot$ = [9, n0, _CCS,
|
|
458
|
+
{ [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/copy", 200] }, () => exports.CopyClusterSnapshotInput$, () => exports.CopyClusterSnapshotOutput$
|
|
459
|
+
];
|
|
460
|
+
exports.CreateCluster$ = [9, n0, _CC,
|
|
461
|
+
{ [_h]: ["POST", "/cluster", 200] }, () => exports.CreateClusterInput$, () => exports.CreateClusterOutput$
|
|
462
|
+
];
|
|
463
|
+
exports.CreateClusterSnapshot$ = [9, n0, _CCSr,
|
|
464
|
+
{ [_h]: ["POST", "/cluster-snapshot", 200] }, () => exports.CreateClusterSnapshotInput$, () => exports.CreateClusterSnapshotOutput$
|
|
465
|
+
];
|
|
466
|
+
exports.DeleteCluster$ = [9, n0, _DC,
|
|
467
|
+
{ [_h]: ["DELETE", "/cluster/{clusterArn}", 200] }, () => exports.DeleteClusterInput$, () => exports.DeleteClusterOutput$
|
|
468
|
+
];
|
|
469
|
+
exports.DeleteClusterSnapshot$ = [9, n0, _DCS,
|
|
470
|
+
{ [_h]: ["DELETE", "/cluster-snapshot/{snapshotArn}", 200] }, () => exports.DeleteClusterSnapshotInput$, () => exports.DeleteClusterSnapshotOutput$
|
|
471
|
+
];
|
|
472
|
+
exports.GetCluster$ = [9, n0, _GC,
|
|
473
|
+
{ [_h]: ["GET", "/cluster/{clusterArn}", 200] }, () => exports.GetClusterInput$, () => exports.GetClusterOutput$
|
|
474
|
+
];
|
|
475
|
+
exports.GetClusterSnapshot$ = [9, n0, _GCS,
|
|
476
|
+
{ [_h]: ["GET", "/cluster-snapshot/{snapshotArn}", 200] }, () => exports.GetClusterSnapshotInput$, () => exports.GetClusterSnapshotOutput$
|
|
477
|
+
];
|
|
478
|
+
exports.GetPendingMaintenanceAction$ = [9, n0, _GPMA,
|
|
479
|
+
{ [_h]: ["GET", "/pending-action/{resourceArn}", 200] }, () => exports.GetPendingMaintenanceActionInput$, () => exports.GetPendingMaintenanceActionOutput$
|
|
480
|
+
];
|
|
481
|
+
exports.ListClusters$ = [9, n0, _LC,
|
|
482
|
+
{ [_h]: ["GET", "/clusters", 200] }, () => exports.ListClustersInput$, () => exports.ListClustersOutput$
|
|
483
|
+
];
|
|
484
|
+
exports.ListClusterSnapshots$ = [9, n0, _LCS,
|
|
485
|
+
{ [_h]: ["GET", "/cluster-snapshots", 200] }, () => exports.ListClusterSnapshotsInput$, () => exports.ListClusterSnapshotsOutput$
|
|
486
|
+
];
|
|
487
|
+
exports.ListPendingMaintenanceActions$ = [9, n0, _LPMA,
|
|
488
|
+
{ [_h]: ["GET", "/pending-actions", 200] }, () => exports.ListPendingMaintenanceActionsInput$, () => exports.ListPendingMaintenanceActionsOutput$
|
|
489
|
+
];
|
|
490
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
491
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
492
|
+
];
|
|
493
|
+
exports.RestoreClusterFromSnapshot$ = [9, n0, _RCFS,
|
|
494
|
+
{ [_h]: ["POST", "/cluster-snapshot/{snapshotArn}/restore", 200] }, () => exports.RestoreClusterFromSnapshotInput$, () => exports.RestoreClusterFromSnapshotOutput$
|
|
495
|
+
];
|
|
496
|
+
exports.StartCluster$ = [9, n0, _SC,
|
|
497
|
+
{ [_h]: ["POST", "/cluster/{clusterArn}/start", 200] }, () => exports.StartClusterInput$, () => exports.StartClusterOutput$
|
|
498
|
+
];
|
|
499
|
+
exports.StopCluster$ = [9, n0, _SCt,
|
|
500
|
+
{ [_h]: ["POST", "/cluster/{clusterArn}/stop", 200] }, () => exports.StopClusterInput$, () => exports.StopClusterOutput$
|
|
501
|
+
];
|
|
502
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
503
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
504
|
+
];
|
|
505
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
506
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
507
|
+
];
|
|
508
|
+
exports.UpdateCluster$ = [9, n0, _UC,
|
|
509
|
+
{ [_h]: ["PUT", "/cluster/{clusterArn}", 200] }, () => exports.UpdateClusterInput$, () => exports.UpdateClusterOutput$
|
|
510
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultDocDBElasticHttpAuthSchemeProvider } 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-11-28",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.docdbelastic",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2022-11-28",
|
|
30
32
|
serviceTarget: "ChimeraDbLionfishServiceLambda",
|
|
31
33
|
},
|