@aws-sdk/client-route53-recovery-readiness 3.489.0 → 3.495.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/Route53RecoveryReadiness.js +1 -75
- package/dist-cjs/Route53RecoveryReadinessClient.js +1 -43
- package/dist-cjs/commands/CreateCellCommand.js +1 -28
- package/dist-cjs/commands/CreateCrossAccountAuthorizationCommand.js +1 -28
- package/dist-cjs/commands/CreateReadinessCheckCommand.js +1 -28
- package/dist-cjs/commands/CreateRecoveryGroupCommand.js +1 -28
- package/dist-cjs/commands/CreateResourceSetCommand.js +1 -28
- package/dist-cjs/commands/DeleteCellCommand.js +1 -28
- package/dist-cjs/commands/DeleteCrossAccountAuthorizationCommand.js +1 -28
- package/dist-cjs/commands/DeleteReadinessCheckCommand.js +1 -28
- package/dist-cjs/commands/DeleteRecoveryGroupCommand.js +1 -28
- package/dist-cjs/commands/DeleteResourceSetCommand.js +1 -28
- package/dist-cjs/commands/GetArchitectureRecommendationsCommand.js +1 -28
- package/dist-cjs/commands/GetCellCommand.js +1 -28
- package/dist-cjs/commands/GetCellReadinessSummaryCommand.js +1 -28
- package/dist-cjs/commands/GetReadinessCheckCommand.js +1 -28
- package/dist-cjs/commands/GetReadinessCheckResourceStatusCommand.js +1 -28
- package/dist-cjs/commands/GetReadinessCheckStatusCommand.js +1 -28
- package/dist-cjs/commands/GetRecoveryGroupCommand.js +1 -28
- package/dist-cjs/commands/GetRecoveryGroupReadinessSummaryCommand.js +1 -28
- package/dist-cjs/commands/GetResourceSetCommand.js +1 -28
- package/dist-cjs/commands/ListCellsCommand.js +1 -28
- package/dist-cjs/commands/ListCrossAccountAuthorizationsCommand.js +1 -28
- package/dist-cjs/commands/ListReadinessChecksCommand.js +1 -28
- package/dist-cjs/commands/ListRecoveryGroupsCommand.js +1 -28
- package/dist-cjs/commands/ListResourceSetsCommand.js +1 -28
- package/dist-cjs/commands/ListRulesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourcesCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateCellCommand.js +1 -28
- package/dist-cjs/commands/UpdateReadinessCheckCommand.js +1 -28
- package/dist-cjs/commands/UpdateRecoveryGroupCommand.js +1 -28
- package/dist-cjs/commands/UpdateResourceSetCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -35
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3174 -11
- package/dist-cjs/models/Route53RecoveryReadinessServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -94
- package/dist-cjs/pagination/GetCellReadinessSummaryPaginator.js +1 -7
- package/dist-cjs/pagination/GetReadinessCheckResourceStatusPaginator.js +1 -7
- package/dist-cjs/pagination/GetReadinessCheckStatusPaginator.js +1 -7
- package/dist-cjs/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListCellsPaginator.js +1 -7
- package/dist-cjs/pagination/ListCrossAccountAuthorizationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListReadinessChecksPaginator.js +1 -7
- package/dist-cjs/pagination/ListRecoveryGroupsPaginator.js +1 -7
- package/dist-cjs/pagination/ListResourceSetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRulesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2268
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3175 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
ConflictException: () => ConflictException,
|
|
26
|
+
CreateCellCommand: () => CreateCellCommand,
|
|
27
|
+
CreateCrossAccountAuthorizationCommand: () => CreateCrossAccountAuthorizationCommand,
|
|
28
|
+
CreateReadinessCheckCommand: () => CreateReadinessCheckCommand,
|
|
29
|
+
CreateRecoveryGroupCommand: () => CreateRecoveryGroupCommand,
|
|
30
|
+
CreateResourceSetCommand: () => CreateResourceSetCommand,
|
|
31
|
+
DeleteCellCommand: () => DeleteCellCommand,
|
|
32
|
+
DeleteCrossAccountAuthorizationCommand: () => DeleteCrossAccountAuthorizationCommand,
|
|
33
|
+
DeleteReadinessCheckCommand: () => DeleteReadinessCheckCommand,
|
|
34
|
+
DeleteRecoveryGroupCommand: () => DeleteRecoveryGroupCommand,
|
|
35
|
+
DeleteResourceSetCommand: () => DeleteResourceSetCommand,
|
|
36
|
+
GetArchitectureRecommendationsCommand: () => GetArchitectureRecommendationsCommand,
|
|
37
|
+
GetCellCommand: () => GetCellCommand,
|
|
38
|
+
GetCellReadinessSummaryCommand: () => GetCellReadinessSummaryCommand,
|
|
39
|
+
GetReadinessCheckCommand: () => GetReadinessCheckCommand,
|
|
40
|
+
GetReadinessCheckResourceStatusCommand: () => GetReadinessCheckResourceStatusCommand,
|
|
41
|
+
GetReadinessCheckStatusCommand: () => GetReadinessCheckStatusCommand,
|
|
42
|
+
GetRecoveryGroupCommand: () => GetRecoveryGroupCommand,
|
|
43
|
+
GetRecoveryGroupReadinessSummaryCommand: () => GetRecoveryGroupReadinessSummaryCommand,
|
|
44
|
+
GetResourceSetCommand: () => GetResourceSetCommand,
|
|
45
|
+
InternalServerException: () => InternalServerException,
|
|
46
|
+
ListCellsCommand: () => ListCellsCommand,
|
|
47
|
+
ListCrossAccountAuthorizationsCommand: () => ListCrossAccountAuthorizationsCommand,
|
|
48
|
+
ListReadinessChecksCommand: () => ListReadinessChecksCommand,
|
|
49
|
+
ListRecoveryGroupsCommand: () => ListRecoveryGroupsCommand,
|
|
50
|
+
ListResourceSetsCommand: () => ListResourceSetsCommand,
|
|
51
|
+
ListRulesCommand: () => ListRulesCommand,
|
|
52
|
+
ListTagsForResourcesCommand: () => ListTagsForResourcesCommand,
|
|
53
|
+
Readiness: () => Readiness,
|
|
54
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
55
|
+
Route53RecoveryReadiness: () => Route53RecoveryReadiness,
|
|
56
|
+
Route53RecoveryReadinessClient: () => Route53RecoveryReadinessClient,
|
|
57
|
+
Route53RecoveryReadinessServiceException: () => Route53RecoveryReadinessServiceException,
|
|
58
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
59
|
+
ThrottlingException: () => ThrottlingException,
|
|
60
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
61
|
+
UpdateCellCommand: () => UpdateCellCommand,
|
|
62
|
+
UpdateReadinessCheckCommand: () => UpdateReadinessCheckCommand,
|
|
63
|
+
UpdateRecoveryGroupCommand: () => UpdateRecoveryGroupCommand,
|
|
64
|
+
UpdateResourceSetCommand: () => UpdateResourceSetCommand,
|
|
65
|
+
ValidationException: () => ValidationException,
|
|
66
|
+
__Client: () => import_smithy_client.Client,
|
|
67
|
+
paginateGetCellReadinessSummary: () => paginateGetCellReadinessSummary,
|
|
68
|
+
paginateGetReadinessCheckResourceStatus: () => paginateGetReadinessCheckResourceStatus,
|
|
69
|
+
paginateGetReadinessCheckStatus: () => paginateGetReadinessCheckStatus,
|
|
70
|
+
paginateGetRecoveryGroupReadinessSummary: () => paginateGetRecoveryGroupReadinessSummary,
|
|
71
|
+
paginateListCells: () => paginateListCells,
|
|
72
|
+
paginateListCrossAccountAuthorizations: () => paginateListCrossAccountAuthorizations,
|
|
73
|
+
paginateListReadinessChecks: () => paginateListReadinessChecks,
|
|
74
|
+
paginateListRecoveryGroups: () => paginateListRecoveryGroups,
|
|
75
|
+
paginateListResourceSets: () => paginateListResourceSets,
|
|
76
|
+
paginateListRules: () => paginateListRules
|
|
77
|
+
});
|
|
78
|
+
module.exports = __toCommonJS(src_exports);
|
|
79
|
+
|
|
80
|
+
// src/Route53RecoveryReadinessClient.ts
|
|
81
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
82
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
83
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
84
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
85
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
86
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
87
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
88
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
89
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
// src/endpoint/EndpointParameters.ts
|
|
93
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
94
|
+
return {
|
|
95
|
+
...options,
|
|
96
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
97
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
98
|
+
defaultSigningName: "route53-recovery-readiness"
|
|
99
|
+
};
|
|
100
|
+
}, "resolveClientEndpointParameters");
|
|
101
|
+
var commonParams = {
|
|
102
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
103
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
104
|
+
Region: { type: "builtInParams", name: "region" },
|
|
105
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
// src/Route53RecoveryReadinessClient.ts
|
|
109
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
110
|
+
|
|
111
|
+
// src/runtimeExtensions.ts
|
|
112
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
113
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
114
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
115
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
116
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
117
|
+
const extensionConfiguration = {
|
|
118
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
119
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
120
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
121
|
+
};
|
|
122
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
123
|
+
return {
|
|
124
|
+
...runtimeConfig,
|
|
125
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
126
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
127
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
128
|
+
};
|
|
129
|
+
}, "resolveRuntimeExtensions");
|
|
130
|
+
|
|
131
|
+
// src/Route53RecoveryReadinessClient.ts
|
|
132
|
+
var _Route53RecoveryReadinessClient = class _Route53RecoveryReadinessClient extends import_smithy_client.Client {
|
|
133
|
+
constructor(...[configuration]) {
|
|
134
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
135
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
136
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
137
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
138
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
139
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
140
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
141
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
142
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
143
|
+
super(_config_8);
|
|
144
|
+
this.config = _config_8;
|
|
145
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
146
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
147
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
148
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
149
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
150
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
151
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
155
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
156
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
157
|
+
*/
|
|
158
|
+
destroy() {
|
|
159
|
+
super.destroy();
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
__name(_Route53RecoveryReadinessClient, "Route53RecoveryReadinessClient");
|
|
163
|
+
var Route53RecoveryReadinessClient = _Route53RecoveryReadinessClient;
|
|
164
|
+
|
|
165
|
+
// src/Route53RecoveryReadiness.ts
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
// src/commands/CreateCellCommand.ts
|
|
169
|
+
|
|
170
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
171
|
+
|
|
172
|
+
var import_types = require("@smithy/types");
|
|
173
|
+
|
|
174
|
+
// src/protocols/Aws_restJson1.ts
|
|
175
|
+
var import_core = require("@smithy/core");
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
// src/models/Route53RecoveryReadinessServiceException.ts
|
|
179
|
+
|
|
180
|
+
var _Route53RecoveryReadinessServiceException = class _Route53RecoveryReadinessServiceException extends import_smithy_client.ServiceException {
|
|
181
|
+
/**
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
constructor(options) {
|
|
185
|
+
super(options);
|
|
186
|
+
Object.setPrototypeOf(this, _Route53RecoveryReadinessServiceException.prototype);
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
__name(_Route53RecoveryReadinessServiceException, "Route53RecoveryReadinessServiceException");
|
|
190
|
+
var Route53RecoveryReadinessServiceException = _Route53RecoveryReadinessServiceException;
|
|
191
|
+
|
|
192
|
+
// src/models/models_0.ts
|
|
193
|
+
var Readiness = {
|
|
194
|
+
NOT_AUTHORIZED: "NOT_AUTHORIZED",
|
|
195
|
+
NOT_READY: "NOT_READY",
|
|
196
|
+
READY: "READY",
|
|
197
|
+
UNKNOWN: "UNKNOWN"
|
|
198
|
+
};
|
|
199
|
+
var _AccessDeniedException = class _AccessDeniedException extends Route53RecoveryReadinessServiceException {
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "AccessDeniedException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts
|
|
208
|
+
});
|
|
209
|
+
this.name = "AccessDeniedException";
|
|
210
|
+
this.$fault = "client";
|
|
211
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
212
|
+
this.Message = opts.Message;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
216
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
217
|
+
var _ConflictException = class _ConflictException extends Route53RecoveryReadinessServiceException {
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "ConflictException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts
|
|
226
|
+
});
|
|
227
|
+
this.name = "ConflictException";
|
|
228
|
+
this.$fault = "client";
|
|
229
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
230
|
+
this.Message = opts.Message;
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
__name(_ConflictException, "ConflictException");
|
|
234
|
+
var ConflictException = _ConflictException;
|
|
235
|
+
var _InternalServerException = class _InternalServerException extends Route53RecoveryReadinessServiceException {
|
|
236
|
+
/**
|
|
237
|
+
* @internal
|
|
238
|
+
*/
|
|
239
|
+
constructor(opts) {
|
|
240
|
+
super({
|
|
241
|
+
name: "InternalServerException",
|
|
242
|
+
$fault: "server",
|
|
243
|
+
...opts
|
|
244
|
+
});
|
|
245
|
+
this.name = "InternalServerException";
|
|
246
|
+
this.$fault = "server";
|
|
247
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
248
|
+
this.Message = opts.Message;
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
__name(_InternalServerException, "InternalServerException");
|
|
252
|
+
var InternalServerException = _InternalServerException;
|
|
253
|
+
var _ThrottlingException = class _ThrottlingException extends Route53RecoveryReadinessServiceException {
|
|
254
|
+
/**
|
|
255
|
+
* @internal
|
|
256
|
+
*/
|
|
257
|
+
constructor(opts) {
|
|
258
|
+
super({
|
|
259
|
+
name: "ThrottlingException",
|
|
260
|
+
$fault: "client",
|
|
261
|
+
...opts
|
|
262
|
+
});
|
|
263
|
+
this.name = "ThrottlingException";
|
|
264
|
+
this.$fault = "client";
|
|
265
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
266
|
+
this.Message = opts.Message;
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
270
|
+
var ThrottlingException = _ThrottlingException;
|
|
271
|
+
var _ValidationException = class _ValidationException extends Route53RecoveryReadinessServiceException {
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
constructor(opts) {
|
|
276
|
+
super({
|
|
277
|
+
name: "ValidationException",
|
|
278
|
+
$fault: "client",
|
|
279
|
+
...opts
|
|
280
|
+
});
|
|
281
|
+
this.name = "ValidationException";
|
|
282
|
+
this.$fault = "client";
|
|
283
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
284
|
+
this.Message = opts.Message;
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
__name(_ValidationException, "ValidationException");
|
|
288
|
+
var ValidationException = _ValidationException;
|
|
289
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends Route53RecoveryReadinessServiceException {
|
|
290
|
+
/**
|
|
291
|
+
* @internal
|
|
292
|
+
*/
|
|
293
|
+
constructor(opts) {
|
|
294
|
+
super({
|
|
295
|
+
name: "ResourceNotFoundException",
|
|
296
|
+
$fault: "client",
|
|
297
|
+
...opts
|
|
298
|
+
});
|
|
299
|
+
this.name = "ResourceNotFoundException";
|
|
300
|
+
this.$fault = "client";
|
|
301
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
302
|
+
this.Message = opts.Message;
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
306
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
307
|
+
|
|
308
|
+
// src/protocols/Aws_restJson1.ts
|
|
309
|
+
var se_CreateCellCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
310
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
311
|
+
const headers = {
|
|
312
|
+
"content-type": "application/json"
|
|
313
|
+
};
|
|
314
|
+
b.bp("/cells");
|
|
315
|
+
let body;
|
|
316
|
+
body = JSON.stringify(
|
|
317
|
+
(0, import_smithy_client.take)(input, {
|
|
318
|
+
cellName: [, , `CellName`],
|
|
319
|
+
cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`],
|
|
320
|
+
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
321
|
+
})
|
|
322
|
+
);
|
|
323
|
+
b.m("POST").h(headers).b(body);
|
|
324
|
+
return b.build();
|
|
325
|
+
}, "se_CreateCellCommand");
|
|
326
|
+
var se_CreateCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
327
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
328
|
+
const headers = {
|
|
329
|
+
"content-type": "application/json"
|
|
330
|
+
};
|
|
331
|
+
b.bp("/crossaccountauthorizations");
|
|
332
|
+
let body;
|
|
333
|
+
body = JSON.stringify(
|
|
334
|
+
(0, import_smithy_client.take)(input, {
|
|
335
|
+
crossAccountAuthorization: [, , `CrossAccountAuthorization`]
|
|
336
|
+
})
|
|
337
|
+
);
|
|
338
|
+
b.m("POST").h(headers).b(body);
|
|
339
|
+
return b.build();
|
|
340
|
+
}, "se_CreateCrossAccountAuthorizationCommand");
|
|
341
|
+
var se_CreateReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
342
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
343
|
+
const headers = {
|
|
344
|
+
"content-type": "application/json"
|
|
345
|
+
};
|
|
346
|
+
b.bp("/readinesschecks");
|
|
347
|
+
let body;
|
|
348
|
+
body = JSON.stringify(
|
|
349
|
+
(0, import_smithy_client.take)(input, {
|
|
350
|
+
readinessCheckName: [, , `ReadinessCheckName`],
|
|
351
|
+
resourceSetName: [, , `ResourceSetName`],
|
|
352
|
+
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
353
|
+
})
|
|
354
|
+
);
|
|
355
|
+
b.m("POST").h(headers).b(body);
|
|
356
|
+
return b.build();
|
|
357
|
+
}, "se_CreateReadinessCheckCommand");
|
|
358
|
+
var se_CreateRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
359
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
360
|
+
const headers = {
|
|
361
|
+
"content-type": "application/json"
|
|
362
|
+
};
|
|
363
|
+
b.bp("/recoverygroups");
|
|
364
|
+
let body;
|
|
365
|
+
body = JSON.stringify(
|
|
366
|
+
(0, import_smithy_client.take)(input, {
|
|
367
|
+
cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`],
|
|
368
|
+
recoveryGroupName: [, , `RecoveryGroupName`],
|
|
369
|
+
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
370
|
+
})
|
|
371
|
+
);
|
|
372
|
+
b.m("POST").h(headers).b(body);
|
|
373
|
+
return b.build();
|
|
374
|
+
}, "se_CreateRecoveryGroupCommand");
|
|
375
|
+
var se_CreateResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
376
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
377
|
+
const headers = {
|
|
378
|
+
"content-type": "application/json"
|
|
379
|
+
};
|
|
380
|
+
b.bp("/resourcesets");
|
|
381
|
+
let body;
|
|
382
|
+
body = JSON.stringify(
|
|
383
|
+
(0, import_smithy_client.take)(input, {
|
|
384
|
+
resourceSetName: [, , `ResourceSetName`],
|
|
385
|
+
resourceSetType: [, , `ResourceSetType`],
|
|
386
|
+
resources: [, (_) => se___listOfResource(_, context), `Resources`],
|
|
387
|
+
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
388
|
+
})
|
|
389
|
+
);
|
|
390
|
+
b.m("POST").h(headers).b(body);
|
|
391
|
+
return b.build();
|
|
392
|
+
}, "se_CreateResourceSetCommand");
|
|
393
|
+
var se_DeleteCellCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
394
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
395
|
+
const headers = {};
|
|
396
|
+
b.bp("/cells/{CellName}");
|
|
397
|
+
b.p("CellName", () => input.CellName, "{CellName}", false);
|
|
398
|
+
let body;
|
|
399
|
+
b.m("DELETE").h(headers).b(body);
|
|
400
|
+
return b.build();
|
|
401
|
+
}, "se_DeleteCellCommand");
|
|
402
|
+
var se_DeleteCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
403
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
404
|
+
const headers = {};
|
|
405
|
+
b.bp("/crossaccountauthorizations/{CrossAccountAuthorization}");
|
|
406
|
+
b.p("CrossAccountAuthorization", () => input.CrossAccountAuthorization, "{CrossAccountAuthorization}", false);
|
|
407
|
+
let body;
|
|
408
|
+
b.m("DELETE").h(headers).b(body);
|
|
409
|
+
return b.build();
|
|
410
|
+
}, "se_DeleteCrossAccountAuthorizationCommand");
|
|
411
|
+
var se_DeleteReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
412
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
413
|
+
const headers = {};
|
|
414
|
+
b.bp("/readinesschecks/{ReadinessCheckName}");
|
|
415
|
+
b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
|
|
416
|
+
let body;
|
|
417
|
+
b.m("DELETE").h(headers).b(body);
|
|
418
|
+
return b.build();
|
|
419
|
+
}, "se_DeleteReadinessCheckCommand");
|
|
420
|
+
var se_DeleteRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
421
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
422
|
+
const headers = {};
|
|
423
|
+
b.bp("/recoverygroups/{RecoveryGroupName}");
|
|
424
|
+
b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
|
|
425
|
+
let body;
|
|
426
|
+
b.m("DELETE").h(headers).b(body);
|
|
427
|
+
return b.build();
|
|
428
|
+
}, "se_DeleteRecoveryGroupCommand");
|
|
429
|
+
var se_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
430
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
431
|
+
const headers = {};
|
|
432
|
+
b.bp("/resourcesets/{ResourceSetName}");
|
|
433
|
+
b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
|
|
434
|
+
let body;
|
|
435
|
+
b.m("DELETE").h(headers).b(body);
|
|
436
|
+
return b.build();
|
|
437
|
+
}, "se_DeleteResourceSetCommand");
|
|
438
|
+
var se_GetArchitectureRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
439
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
440
|
+
const headers = {};
|
|
441
|
+
b.bp("/recoverygroups/{RecoveryGroupName}/architectureRecommendations");
|
|
442
|
+
b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
|
|
443
|
+
const query = (0, import_smithy_client.map)({
|
|
444
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
445
|
+
[_nT]: [, input[_NT]]
|
|
446
|
+
});
|
|
447
|
+
let body;
|
|
448
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
449
|
+
return b.build();
|
|
450
|
+
}, "se_GetArchitectureRecommendationsCommand");
|
|
451
|
+
var se_GetCellCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
452
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
453
|
+
const headers = {};
|
|
454
|
+
b.bp("/cells/{CellName}");
|
|
455
|
+
b.p("CellName", () => input.CellName, "{CellName}", false);
|
|
456
|
+
let body;
|
|
457
|
+
b.m("GET").h(headers).b(body);
|
|
458
|
+
return b.build();
|
|
459
|
+
}, "se_GetCellCommand");
|
|
460
|
+
var se_GetCellReadinessSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
461
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
462
|
+
const headers = {};
|
|
463
|
+
b.bp("/cellreadiness/{CellName}");
|
|
464
|
+
b.p("CellName", () => input.CellName, "{CellName}", false);
|
|
465
|
+
const query = (0, import_smithy_client.map)({
|
|
466
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
467
|
+
[_nT]: [, input[_NT]]
|
|
468
|
+
});
|
|
469
|
+
let body;
|
|
470
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
471
|
+
return b.build();
|
|
472
|
+
}, "se_GetCellReadinessSummaryCommand");
|
|
473
|
+
var se_GetReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
474
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
475
|
+
const headers = {};
|
|
476
|
+
b.bp("/readinesschecks/{ReadinessCheckName}");
|
|
477
|
+
b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
|
|
478
|
+
let body;
|
|
479
|
+
b.m("GET").h(headers).b(body);
|
|
480
|
+
return b.build();
|
|
481
|
+
}, "se_GetReadinessCheckCommand");
|
|
482
|
+
var se_GetReadinessCheckResourceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
484
|
+
const headers = {};
|
|
485
|
+
b.bp("/readinesschecks/{ReadinessCheckName}/resource/{ResourceIdentifier}/status");
|
|
486
|
+
b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
|
|
487
|
+
b.p("ResourceIdentifier", () => input.ResourceIdentifier, "{ResourceIdentifier}", false);
|
|
488
|
+
const query = (0, import_smithy_client.map)({
|
|
489
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
490
|
+
[_nT]: [, input[_NT]]
|
|
491
|
+
});
|
|
492
|
+
let body;
|
|
493
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
494
|
+
return b.build();
|
|
495
|
+
}, "se_GetReadinessCheckResourceStatusCommand");
|
|
496
|
+
var se_GetReadinessCheckStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
497
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
498
|
+
const headers = {};
|
|
499
|
+
b.bp("/readinesschecks/{ReadinessCheckName}/status");
|
|
500
|
+
b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
|
|
501
|
+
const query = (0, import_smithy_client.map)({
|
|
502
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
503
|
+
[_nT]: [, input[_NT]]
|
|
504
|
+
});
|
|
505
|
+
let body;
|
|
506
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
507
|
+
return b.build();
|
|
508
|
+
}, "se_GetReadinessCheckStatusCommand");
|
|
509
|
+
var se_GetRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
510
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
511
|
+
const headers = {};
|
|
512
|
+
b.bp("/recoverygroups/{RecoveryGroupName}");
|
|
513
|
+
b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
|
|
514
|
+
let body;
|
|
515
|
+
b.m("GET").h(headers).b(body);
|
|
516
|
+
return b.build();
|
|
517
|
+
}, "se_GetRecoveryGroupCommand");
|
|
518
|
+
var se_GetRecoveryGroupReadinessSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
519
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
520
|
+
const headers = {};
|
|
521
|
+
b.bp("/recoverygroupreadiness/{RecoveryGroupName}");
|
|
522
|
+
b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
|
|
523
|
+
const query = (0, import_smithy_client.map)({
|
|
524
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
525
|
+
[_nT]: [, input[_NT]]
|
|
526
|
+
});
|
|
527
|
+
let body;
|
|
528
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
529
|
+
return b.build();
|
|
530
|
+
}, "se_GetRecoveryGroupReadinessSummaryCommand");
|
|
531
|
+
var se_GetResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
532
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
533
|
+
const headers = {};
|
|
534
|
+
b.bp("/resourcesets/{ResourceSetName}");
|
|
535
|
+
b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
|
|
536
|
+
let body;
|
|
537
|
+
b.m("GET").h(headers).b(body);
|
|
538
|
+
return b.build();
|
|
539
|
+
}, "se_GetResourceSetCommand");
|
|
540
|
+
var se_ListCellsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
541
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
542
|
+
const headers = {};
|
|
543
|
+
b.bp("/cells");
|
|
544
|
+
const query = (0, import_smithy_client.map)({
|
|
545
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
546
|
+
[_nT]: [, input[_NT]]
|
|
547
|
+
});
|
|
548
|
+
let body;
|
|
549
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
550
|
+
return b.build();
|
|
551
|
+
}, "se_ListCellsCommand");
|
|
552
|
+
var se_ListCrossAccountAuthorizationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
553
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
554
|
+
const headers = {};
|
|
555
|
+
b.bp("/crossaccountauthorizations");
|
|
556
|
+
const query = (0, import_smithy_client.map)({
|
|
557
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
558
|
+
[_nT]: [, input[_NT]]
|
|
559
|
+
});
|
|
560
|
+
let body;
|
|
561
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
562
|
+
return b.build();
|
|
563
|
+
}, "se_ListCrossAccountAuthorizationsCommand");
|
|
564
|
+
var se_ListReadinessChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
565
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
566
|
+
const headers = {};
|
|
567
|
+
b.bp("/readinesschecks");
|
|
568
|
+
const query = (0, import_smithy_client.map)({
|
|
569
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
570
|
+
[_nT]: [, input[_NT]]
|
|
571
|
+
});
|
|
572
|
+
let body;
|
|
573
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
574
|
+
return b.build();
|
|
575
|
+
}, "se_ListReadinessChecksCommand");
|
|
576
|
+
var se_ListRecoveryGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
577
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
578
|
+
const headers = {};
|
|
579
|
+
b.bp("/recoverygroups");
|
|
580
|
+
const query = (0, import_smithy_client.map)({
|
|
581
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
582
|
+
[_nT]: [, input[_NT]]
|
|
583
|
+
});
|
|
584
|
+
let body;
|
|
585
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
586
|
+
return b.build();
|
|
587
|
+
}, "se_ListRecoveryGroupsCommand");
|
|
588
|
+
var se_ListResourceSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
589
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
590
|
+
const headers = {};
|
|
591
|
+
b.bp("/resourcesets");
|
|
592
|
+
const query = (0, import_smithy_client.map)({
|
|
593
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
594
|
+
[_nT]: [, input[_NT]]
|
|
595
|
+
});
|
|
596
|
+
let body;
|
|
597
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
598
|
+
return b.build();
|
|
599
|
+
}, "se_ListResourceSetsCommand");
|
|
600
|
+
var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
602
|
+
const headers = {};
|
|
603
|
+
b.bp("/rules");
|
|
604
|
+
const query = (0, import_smithy_client.map)({
|
|
605
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
606
|
+
[_nT]: [, input[_NT]],
|
|
607
|
+
[_rT]: [, input[_RT]]
|
|
608
|
+
});
|
|
609
|
+
let body;
|
|
610
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
611
|
+
return b.build();
|
|
612
|
+
}, "se_ListRulesCommand");
|
|
613
|
+
var se_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
614
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
615
|
+
const headers = {};
|
|
616
|
+
b.bp("/tags/{ResourceArn}");
|
|
617
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
618
|
+
let body;
|
|
619
|
+
b.m("GET").h(headers).b(body);
|
|
620
|
+
return b.build();
|
|
621
|
+
}, "se_ListTagsForResourcesCommand");
|
|
622
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
623
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
624
|
+
const headers = {
|
|
625
|
+
"content-type": "application/json"
|
|
626
|
+
};
|
|
627
|
+
b.bp("/tags/{ResourceArn}");
|
|
628
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
629
|
+
let body;
|
|
630
|
+
body = JSON.stringify(
|
|
631
|
+
(0, import_smithy_client.take)(input, {
|
|
632
|
+
tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
|
|
633
|
+
})
|
|
634
|
+
);
|
|
635
|
+
b.m("POST").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
637
|
+
}, "se_TagResourceCommand");
|
|
638
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
639
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
640
|
+
const headers = {};
|
|
641
|
+
b.bp("/tags/{ResourceArn}");
|
|
642
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
643
|
+
const query = (0, import_smithy_client.map)({
|
|
644
|
+
[_tK]: [
|
|
645
|
+
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
646
|
+
() => (input[_TK] || []).map((_entry) => _entry)
|
|
647
|
+
]
|
|
648
|
+
});
|
|
649
|
+
let body;
|
|
650
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
}, "se_UntagResourceCommand");
|
|
653
|
+
var se_UpdateCellCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
654
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
655
|
+
const headers = {
|
|
656
|
+
"content-type": "application/json"
|
|
657
|
+
};
|
|
658
|
+
b.bp("/cells/{CellName}");
|
|
659
|
+
b.p("CellName", () => input.CellName, "{CellName}", false);
|
|
660
|
+
let body;
|
|
661
|
+
body = JSON.stringify(
|
|
662
|
+
(0, import_smithy_client.take)(input, {
|
|
663
|
+
cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`]
|
|
664
|
+
})
|
|
665
|
+
);
|
|
666
|
+
b.m("PUT").h(headers).b(body);
|
|
667
|
+
return b.build();
|
|
668
|
+
}, "se_UpdateCellCommand");
|
|
669
|
+
var se_UpdateReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
670
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
671
|
+
const headers = {
|
|
672
|
+
"content-type": "application/json"
|
|
673
|
+
};
|
|
674
|
+
b.bp("/readinesschecks/{ReadinessCheckName}");
|
|
675
|
+
b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
|
|
676
|
+
let body;
|
|
677
|
+
body = JSON.stringify(
|
|
678
|
+
(0, import_smithy_client.take)(input, {
|
|
679
|
+
resourceSetName: [, , `ResourceSetName`]
|
|
680
|
+
})
|
|
681
|
+
);
|
|
682
|
+
b.m("PUT").h(headers).b(body);
|
|
683
|
+
return b.build();
|
|
684
|
+
}, "se_UpdateReadinessCheckCommand");
|
|
685
|
+
var se_UpdateRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
686
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
687
|
+
const headers = {
|
|
688
|
+
"content-type": "application/json"
|
|
689
|
+
};
|
|
690
|
+
b.bp("/recoverygroups/{RecoveryGroupName}");
|
|
691
|
+
b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
|
|
692
|
+
let body;
|
|
693
|
+
body = JSON.stringify(
|
|
694
|
+
(0, import_smithy_client.take)(input, {
|
|
695
|
+
cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`]
|
|
696
|
+
})
|
|
697
|
+
);
|
|
698
|
+
b.m("PUT").h(headers).b(body);
|
|
699
|
+
return b.build();
|
|
700
|
+
}, "se_UpdateRecoveryGroupCommand");
|
|
701
|
+
var se_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
702
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
703
|
+
const headers = {
|
|
704
|
+
"content-type": "application/json"
|
|
705
|
+
};
|
|
706
|
+
b.bp("/resourcesets/{ResourceSetName}");
|
|
707
|
+
b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
|
|
708
|
+
let body;
|
|
709
|
+
body = JSON.stringify(
|
|
710
|
+
(0, import_smithy_client.take)(input, {
|
|
711
|
+
resourceSetType: [, , `ResourceSetType`],
|
|
712
|
+
resources: [, (_) => se___listOfResource(_, context), `Resources`]
|
|
713
|
+
})
|
|
714
|
+
);
|
|
715
|
+
b.m("PUT").h(headers).b(body);
|
|
716
|
+
return b.build();
|
|
717
|
+
}, "se_UpdateResourceSetCommand");
|
|
718
|
+
var de_CreateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
719
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
720
|
+
return de_CreateCellCommandError(output, context);
|
|
721
|
+
}
|
|
722
|
+
const contents = (0, import_smithy_client.map)({
|
|
723
|
+
$metadata: deserializeMetadata(output)
|
|
724
|
+
});
|
|
725
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
726
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
727
|
+
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
728
|
+
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
729
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
730
|
+
ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
|
|
731
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
732
|
+
});
|
|
733
|
+
Object.assign(contents, doc);
|
|
734
|
+
return contents;
|
|
735
|
+
}, "de_CreateCellCommand");
|
|
736
|
+
var de_CreateCellCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
737
|
+
const parsedOutput = {
|
|
738
|
+
...output,
|
|
739
|
+
body: await parseErrorBody(output.body, context)
|
|
740
|
+
};
|
|
741
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
742
|
+
switch (errorCode) {
|
|
743
|
+
case "AccessDeniedException":
|
|
744
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
745
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
746
|
+
case "ConflictException":
|
|
747
|
+
case "com.amazonaws.route53recoveryreadiness#ConflictException":
|
|
748
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
749
|
+
case "InternalServerException":
|
|
750
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
751
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
752
|
+
case "ThrottlingException":
|
|
753
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
754
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
755
|
+
case "ValidationException":
|
|
756
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
757
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
758
|
+
default:
|
|
759
|
+
const parsedBody = parsedOutput.body;
|
|
760
|
+
return throwDefaultError({
|
|
761
|
+
output,
|
|
762
|
+
parsedBody,
|
|
763
|
+
errorCode
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
}, "de_CreateCellCommandError");
|
|
767
|
+
var de_CreateCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
768
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
769
|
+
return de_CreateCrossAccountAuthorizationCommandError(output, context);
|
|
770
|
+
}
|
|
771
|
+
const contents = (0, import_smithy_client.map)({
|
|
772
|
+
$metadata: deserializeMetadata(output)
|
|
773
|
+
});
|
|
774
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
775
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
776
|
+
CrossAccountAuthorization: [, import_smithy_client.expectString, `crossAccountAuthorization`]
|
|
777
|
+
});
|
|
778
|
+
Object.assign(contents, doc);
|
|
779
|
+
return contents;
|
|
780
|
+
}, "de_CreateCrossAccountAuthorizationCommand");
|
|
781
|
+
var de_CreateCrossAccountAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
782
|
+
const parsedOutput = {
|
|
783
|
+
...output,
|
|
784
|
+
body: await parseErrorBody(output.body, context)
|
|
785
|
+
};
|
|
786
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
787
|
+
switch (errorCode) {
|
|
788
|
+
case "AccessDeniedException":
|
|
789
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
790
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
791
|
+
case "ConflictException":
|
|
792
|
+
case "com.amazonaws.route53recoveryreadiness#ConflictException":
|
|
793
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
794
|
+
case "InternalServerException":
|
|
795
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
796
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
797
|
+
case "ThrottlingException":
|
|
798
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
799
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
800
|
+
case "ValidationException":
|
|
801
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
802
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
803
|
+
default:
|
|
804
|
+
const parsedBody = parsedOutput.body;
|
|
805
|
+
return throwDefaultError({
|
|
806
|
+
output,
|
|
807
|
+
parsedBody,
|
|
808
|
+
errorCode
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
}, "de_CreateCrossAccountAuthorizationCommandError");
|
|
812
|
+
var de_CreateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
813
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
814
|
+
return de_CreateReadinessCheckCommandError(output, context);
|
|
815
|
+
}
|
|
816
|
+
const contents = (0, import_smithy_client.map)({
|
|
817
|
+
$metadata: deserializeMetadata(output)
|
|
818
|
+
});
|
|
819
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
820
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
821
|
+
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
822
|
+
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
823
|
+
ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
|
|
824
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
825
|
+
});
|
|
826
|
+
Object.assign(contents, doc);
|
|
827
|
+
return contents;
|
|
828
|
+
}, "de_CreateReadinessCheckCommand");
|
|
829
|
+
var de_CreateReadinessCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
830
|
+
const parsedOutput = {
|
|
831
|
+
...output,
|
|
832
|
+
body: await parseErrorBody(output.body, context)
|
|
833
|
+
};
|
|
834
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
835
|
+
switch (errorCode) {
|
|
836
|
+
case "AccessDeniedException":
|
|
837
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
838
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
839
|
+
case "ConflictException":
|
|
840
|
+
case "com.amazonaws.route53recoveryreadiness#ConflictException":
|
|
841
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
842
|
+
case "InternalServerException":
|
|
843
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
844
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
845
|
+
case "ThrottlingException":
|
|
846
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
847
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
848
|
+
case "ValidationException":
|
|
849
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
850
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
851
|
+
default:
|
|
852
|
+
const parsedBody = parsedOutput.body;
|
|
853
|
+
return throwDefaultError({
|
|
854
|
+
output,
|
|
855
|
+
parsedBody,
|
|
856
|
+
errorCode
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
}, "de_CreateReadinessCheckCommandError");
|
|
860
|
+
var de_CreateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
861
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
862
|
+
return de_CreateRecoveryGroupCommandError(output, context);
|
|
863
|
+
}
|
|
864
|
+
const contents = (0, import_smithy_client.map)({
|
|
865
|
+
$metadata: deserializeMetadata(output)
|
|
866
|
+
});
|
|
867
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
868
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
869
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
870
|
+
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
871
|
+
RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
|
|
872
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
873
|
+
});
|
|
874
|
+
Object.assign(contents, doc);
|
|
875
|
+
return contents;
|
|
876
|
+
}, "de_CreateRecoveryGroupCommand");
|
|
877
|
+
var de_CreateRecoveryGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
878
|
+
const parsedOutput = {
|
|
879
|
+
...output,
|
|
880
|
+
body: await parseErrorBody(output.body, context)
|
|
881
|
+
};
|
|
882
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
883
|
+
switch (errorCode) {
|
|
884
|
+
case "AccessDeniedException":
|
|
885
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
886
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
887
|
+
case "ConflictException":
|
|
888
|
+
case "com.amazonaws.route53recoveryreadiness#ConflictException":
|
|
889
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
890
|
+
case "InternalServerException":
|
|
891
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
892
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
893
|
+
case "ThrottlingException":
|
|
894
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
895
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
896
|
+
case "ValidationException":
|
|
897
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
898
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
899
|
+
default:
|
|
900
|
+
const parsedBody = parsedOutput.body;
|
|
901
|
+
return throwDefaultError({
|
|
902
|
+
output,
|
|
903
|
+
parsedBody,
|
|
904
|
+
errorCode
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
}, "de_CreateRecoveryGroupCommandError");
|
|
908
|
+
var de_CreateResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
910
|
+
return de_CreateResourceSetCommandError(output, context);
|
|
911
|
+
}
|
|
912
|
+
const contents = (0, import_smithy_client.map)({
|
|
913
|
+
$metadata: deserializeMetadata(output)
|
|
914
|
+
});
|
|
915
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
916
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
917
|
+
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
918
|
+
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
919
|
+
ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
|
|
920
|
+
Resources: [, (_) => de___listOfResource(_, context), `resources`],
|
|
921
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
922
|
+
});
|
|
923
|
+
Object.assign(contents, doc);
|
|
924
|
+
return contents;
|
|
925
|
+
}, "de_CreateResourceSetCommand");
|
|
926
|
+
var de_CreateResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
927
|
+
const parsedOutput = {
|
|
928
|
+
...output,
|
|
929
|
+
body: await parseErrorBody(output.body, context)
|
|
930
|
+
};
|
|
931
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
932
|
+
switch (errorCode) {
|
|
933
|
+
case "AccessDeniedException":
|
|
934
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
935
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
936
|
+
case "ConflictException":
|
|
937
|
+
case "com.amazonaws.route53recoveryreadiness#ConflictException":
|
|
938
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
939
|
+
case "InternalServerException":
|
|
940
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
941
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
942
|
+
case "ThrottlingException":
|
|
943
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
944
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
945
|
+
case "ValidationException":
|
|
946
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
947
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
948
|
+
default:
|
|
949
|
+
const parsedBody = parsedOutput.body;
|
|
950
|
+
return throwDefaultError({
|
|
951
|
+
output,
|
|
952
|
+
parsedBody,
|
|
953
|
+
errorCode
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
}, "de_CreateResourceSetCommandError");
|
|
957
|
+
var de_DeleteCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
958
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
959
|
+
return de_DeleteCellCommandError(output, context);
|
|
960
|
+
}
|
|
961
|
+
const contents = (0, import_smithy_client.map)({
|
|
962
|
+
$metadata: deserializeMetadata(output)
|
|
963
|
+
});
|
|
964
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
965
|
+
return contents;
|
|
966
|
+
}, "de_DeleteCellCommand");
|
|
967
|
+
var de_DeleteCellCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
968
|
+
const parsedOutput = {
|
|
969
|
+
...output,
|
|
970
|
+
body: await parseErrorBody(output.body, context)
|
|
971
|
+
};
|
|
972
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
973
|
+
switch (errorCode) {
|
|
974
|
+
case "AccessDeniedException":
|
|
975
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
976
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
977
|
+
case "InternalServerException":
|
|
978
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
979
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
980
|
+
case "ResourceNotFoundException":
|
|
981
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
982
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
983
|
+
case "ThrottlingException":
|
|
984
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
985
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
986
|
+
case "ValidationException":
|
|
987
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
988
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
989
|
+
default:
|
|
990
|
+
const parsedBody = parsedOutput.body;
|
|
991
|
+
return throwDefaultError({
|
|
992
|
+
output,
|
|
993
|
+
parsedBody,
|
|
994
|
+
errorCode
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
}, "de_DeleteCellCommandError");
|
|
998
|
+
var de_DeleteCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
999
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1000
|
+
return de_DeleteCrossAccountAuthorizationCommandError(output, context);
|
|
1001
|
+
}
|
|
1002
|
+
const contents = (0, import_smithy_client.map)({
|
|
1003
|
+
$metadata: deserializeMetadata(output)
|
|
1004
|
+
});
|
|
1005
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1006
|
+
return contents;
|
|
1007
|
+
}, "de_DeleteCrossAccountAuthorizationCommand");
|
|
1008
|
+
var de_DeleteCrossAccountAuthorizationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1009
|
+
const parsedOutput = {
|
|
1010
|
+
...output,
|
|
1011
|
+
body: await parseErrorBody(output.body, context)
|
|
1012
|
+
};
|
|
1013
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1014
|
+
switch (errorCode) {
|
|
1015
|
+
case "AccessDeniedException":
|
|
1016
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1017
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1018
|
+
case "InternalServerException":
|
|
1019
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1020
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1021
|
+
case "ThrottlingException":
|
|
1022
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1023
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1024
|
+
case "ValidationException":
|
|
1025
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1026
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1027
|
+
default:
|
|
1028
|
+
const parsedBody = parsedOutput.body;
|
|
1029
|
+
return throwDefaultError({
|
|
1030
|
+
output,
|
|
1031
|
+
parsedBody,
|
|
1032
|
+
errorCode
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
}, "de_DeleteCrossAccountAuthorizationCommandError");
|
|
1036
|
+
var de_DeleteReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1037
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1038
|
+
return de_DeleteReadinessCheckCommandError(output, context);
|
|
1039
|
+
}
|
|
1040
|
+
const contents = (0, import_smithy_client.map)({
|
|
1041
|
+
$metadata: deserializeMetadata(output)
|
|
1042
|
+
});
|
|
1043
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1044
|
+
return contents;
|
|
1045
|
+
}, "de_DeleteReadinessCheckCommand");
|
|
1046
|
+
var de_DeleteReadinessCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1047
|
+
const parsedOutput = {
|
|
1048
|
+
...output,
|
|
1049
|
+
body: await parseErrorBody(output.body, context)
|
|
1050
|
+
};
|
|
1051
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1052
|
+
switch (errorCode) {
|
|
1053
|
+
case "AccessDeniedException":
|
|
1054
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1055
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1056
|
+
case "InternalServerException":
|
|
1057
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1058
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1059
|
+
case "ResourceNotFoundException":
|
|
1060
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1061
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1062
|
+
case "ThrottlingException":
|
|
1063
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1064
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1065
|
+
case "ValidationException":
|
|
1066
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1067
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1068
|
+
default:
|
|
1069
|
+
const parsedBody = parsedOutput.body;
|
|
1070
|
+
return throwDefaultError({
|
|
1071
|
+
output,
|
|
1072
|
+
parsedBody,
|
|
1073
|
+
errorCode
|
|
1074
|
+
});
|
|
1075
|
+
}
|
|
1076
|
+
}, "de_DeleteReadinessCheckCommandError");
|
|
1077
|
+
var de_DeleteRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1078
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1079
|
+
return de_DeleteRecoveryGroupCommandError(output, context);
|
|
1080
|
+
}
|
|
1081
|
+
const contents = (0, import_smithy_client.map)({
|
|
1082
|
+
$metadata: deserializeMetadata(output)
|
|
1083
|
+
});
|
|
1084
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1085
|
+
return contents;
|
|
1086
|
+
}, "de_DeleteRecoveryGroupCommand");
|
|
1087
|
+
var de_DeleteRecoveryGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1088
|
+
const parsedOutput = {
|
|
1089
|
+
...output,
|
|
1090
|
+
body: await parseErrorBody(output.body, context)
|
|
1091
|
+
};
|
|
1092
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1093
|
+
switch (errorCode) {
|
|
1094
|
+
case "AccessDeniedException":
|
|
1095
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1096
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1097
|
+
case "InternalServerException":
|
|
1098
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1099
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1100
|
+
case "ResourceNotFoundException":
|
|
1101
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1102
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1103
|
+
case "ThrottlingException":
|
|
1104
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1105
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1106
|
+
case "ValidationException":
|
|
1107
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1108
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1109
|
+
default:
|
|
1110
|
+
const parsedBody = parsedOutput.body;
|
|
1111
|
+
return throwDefaultError({
|
|
1112
|
+
output,
|
|
1113
|
+
parsedBody,
|
|
1114
|
+
errorCode
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
}, "de_DeleteRecoveryGroupCommandError");
|
|
1118
|
+
var de_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1119
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1120
|
+
return de_DeleteResourceSetCommandError(output, context);
|
|
1121
|
+
}
|
|
1122
|
+
const contents = (0, import_smithy_client.map)({
|
|
1123
|
+
$metadata: deserializeMetadata(output)
|
|
1124
|
+
});
|
|
1125
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1126
|
+
return contents;
|
|
1127
|
+
}, "de_DeleteResourceSetCommand");
|
|
1128
|
+
var de_DeleteResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
const parsedOutput = {
|
|
1130
|
+
...output,
|
|
1131
|
+
body: await parseErrorBody(output.body, context)
|
|
1132
|
+
};
|
|
1133
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1134
|
+
switch (errorCode) {
|
|
1135
|
+
case "AccessDeniedException":
|
|
1136
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1137
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "InternalServerException":
|
|
1139
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1140
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1141
|
+
case "ResourceNotFoundException":
|
|
1142
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1143
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1144
|
+
case "ThrottlingException":
|
|
1145
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1146
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1147
|
+
case "ValidationException":
|
|
1148
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1149
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1150
|
+
default:
|
|
1151
|
+
const parsedBody = parsedOutput.body;
|
|
1152
|
+
return throwDefaultError({
|
|
1153
|
+
output,
|
|
1154
|
+
parsedBody,
|
|
1155
|
+
errorCode
|
|
1156
|
+
});
|
|
1157
|
+
}
|
|
1158
|
+
}, "de_DeleteResourceSetCommandError");
|
|
1159
|
+
var de_GetArchitectureRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1160
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1161
|
+
return de_GetArchitectureRecommendationsCommandError(output, context);
|
|
1162
|
+
}
|
|
1163
|
+
const contents = (0, import_smithy_client.map)({
|
|
1164
|
+
$metadata: deserializeMetadata(output)
|
|
1165
|
+
});
|
|
1166
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1167
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1168
|
+
LastAuditTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastAuditTimestamp`],
|
|
1169
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1170
|
+
Recommendations: [, (_) => de___listOfRecommendation(_, context), `recommendations`]
|
|
1171
|
+
});
|
|
1172
|
+
Object.assign(contents, doc);
|
|
1173
|
+
return contents;
|
|
1174
|
+
}, "de_GetArchitectureRecommendationsCommand");
|
|
1175
|
+
var de_GetArchitectureRecommendationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1176
|
+
const parsedOutput = {
|
|
1177
|
+
...output,
|
|
1178
|
+
body: await parseErrorBody(output.body, context)
|
|
1179
|
+
};
|
|
1180
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1181
|
+
switch (errorCode) {
|
|
1182
|
+
case "AccessDeniedException":
|
|
1183
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1184
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "InternalServerException":
|
|
1186
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1187
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "ResourceNotFoundException":
|
|
1189
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1190
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1191
|
+
case "ThrottlingException":
|
|
1192
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1193
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1194
|
+
case "ValidationException":
|
|
1195
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1196
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1197
|
+
default:
|
|
1198
|
+
const parsedBody = parsedOutput.body;
|
|
1199
|
+
return throwDefaultError({
|
|
1200
|
+
output,
|
|
1201
|
+
parsedBody,
|
|
1202
|
+
errorCode
|
|
1203
|
+
});
|
|
1204
|
+
}
|
|
1205
|
+
}, "de_GetArchitectureRecommendationsCommandError");
|
|
1206
|
+
var de_GetCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1207
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1208
|
+
return de_GetCellCommandError(output, context);
|
|
1209
|
+
}
|
|
1210
|
+
const contents = (0, import_smithy_client.map)({
|
|
1211
|
+
$metadata: deserializeMetadata(output)
|
|
1212
|
+
});
|
|
1213
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1214
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1215
|
+
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
1216
|
+
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
1217
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
1218
|
+
ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
|
|
1219
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1220
|
+
});
|
|
1221
|
+
Object.assign(contents, doc);
|
|
1222
|
+
return contents;
|
|
1223
|
+
}, "de_GetCellCommand");
|
|
1224
|
+
var de_GetCellCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1225
|
+
const parsedOutput = {
|
|
1226
|
+
...output,
|
|
1227
|
+
body: await parseErrorBody(output.body, context)
|
|
1228
|
+
};
|
|
1229
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1230
|
+
switch (errorCode) {
|
|
1231
|
+
case "AccessDeniedException":
|
|
1232
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1233
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1234
|
+
case "InternalServerException":
|
|
1235
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1236
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1237
|
+
case "ResourceNotFoundException":
|
|
1238
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1239
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1240
|
+
case "ThrottlingException":
|
|
1241
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1242
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1243
|
+
case "ValidationException":
|
|
1244
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1245
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1246
|
+
default:
|
|
1247
|
+
const parsedBody = parsedOutput.body;
|
|
1248
|
+
return throwDefaultError({
|
|
1249
|
+
output,
|
|
1250
|
+
parsedBody,
|
|
1251
|
+
errorCode
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
}, "de_GetCellCommandError");
|
|
1255
|
+
var de_GetCellReadinessSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1257
|
+
return de_GetCellReadinessSummaryCommandError(output, context);
|
|
1258
|
+
}
|
|
1259
|
+
const contents = (0, import_smithy_client.map)({
|
|
1260
|
+
$metadata: deserializeMetadata(output)
|
|
1261
|
+
});
|
|
1262
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1263
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1264
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1265
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
1266
|
+
ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_, context), `readinessChecks`]
|
|
1267
|
+
});
|
|
1268
|
+
Object.assign(contents, doc);
|
|
1269
|
+
return contents;
|
|
1270
|
+
}, "de_GetCellReadinessSummaryCommand");
|
|
1271
|
+
var de_GetCellReadinessSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1272
|
+
const parsedOutput = {
|
|
1273
|
+
...output,
|
|
1274
|
+
body: await parseErrorBody(output.body, context)
|
|
1275
|
+
};
|
|
1276
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1277
|
+
switch (errorCode) {
|
|
1278
|
+
case "AccessDeniedException":
|
|
1279
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1280
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1281
|
+
case "InternalServerException":
|
|
1282
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1283
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1284
|
+
case "ResourceNotFoundException":
|
|
1285
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1286
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1287
|
+
case "ThrottlingException":
|
|
1288
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1289
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1290
|
+
case "ValidationException":
|
|
1291
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1292
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1293
|
+
default:
|
|
1294
|
+
const parsedBody = parsedOutput.body;
|
|
1295
|
+
return throwDefaultError({
|
|
1296
|
+
output,
|
|
1297
|
+
parsedBody,
|
|
1298
|
+
errorCode
|
|
1299
|
+
});
|
|
1300
|
+
}
|
|
1301
|
+
}, "de_GetCellReadinessSummaryCommandError");
|
|
1302
|
+
var de_GetReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1303
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1304
|
+
return de_GetReadinessCheckCommandError(output, context);
|
|
1305
|
+
}
|
|
1306
|
+
const contents = (0, import_smithy_client.map)({
|
|
1307
|
+
$metadata: deserializeMetadata(output)
|
|
1308
|
+
});
|
|
1309
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1310
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1311
|
+
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
1312
|
+
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
1313
|
+
ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
|
|
1314
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1315
|
+
});
|
|
1316
|
+
Object.assign(contents, doc);
|
|
1317
|
+
return contents;
|
|
1318
|
+
}, "de_GetReadinessCheckCommand");
|
|
1319
|
+
var de_GetReadinessCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
|
+
const parsedOutput = {
|
|
1321
|
+
...output,
|
|
1322
|
+
body: await parseErrorBody(output.body, context)
|
|
1323
|
+
};
|
|
1324
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1325
|
+
switch (errorCode) {
|
|
1326
|
+
case "AccessDeniedException":
|
|
1327
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1328
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1329
|
+
case "InternalServerException":
|
|
1330
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1331
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "ResourceNotFoundException":
|
|
1333
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1334
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1335
|
+
case "ThrottlingException":
|
|
1336
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1337
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1338
|
+
case "ValidationException":
|
|
1339
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1340
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1341
|
+
default:
|
|
1342
|
+
const parsedBody = parsedOutput.body;
|
|
1343
|
+
return throwDefaultError({
|
|
1344
|
+
output,
|
|
1345
|
+
parsedBody,
|
|
1346
|
+
errorCode
|
|
1347
|
+
});
|
|
1348
|
+
}
|
|
1349
|
+
}, "de_GetReadinessCheckCommandError");
|
|
1350
|
+
var de_GetReadinessCheckResourceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1351
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1352
|
+
return de_GetReadinessCheckResourceStatusCommandError(output, context);
|
|
1353
|
+
}
|
|
1354
|
+
const contents = (0, import_smithy_client.map)({
|
|
1355
|
+
$metadata: deserializeMetadata(output)
|
|
1356
|
+
});
|
|
1357
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1358
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1359
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1360
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
1361
|
+
Rules: [, (_) => de___listOfRuleResult(_, context), `rules`]
|
|
1362
|
+
});
|
|
1363
|
+
Object.assign(contents, doc);
|
|
1364
|
+
return contents;
|
|
1365
|
+
}, "de_GetReadinessCheckResourceStatusCommand");
|
|
1366
|
+
var de_GetReadinessCheckResourceStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1367
|
+
const parsedOutput = {
|
|
1368
|
+
...output,
|
|
1369
|
+
body: await parseErrorBody(output.body, context)
|
|
1370
|
+
};
|
|
1371
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1372
|
+
switch (errorCode) {
|
|
1373
|
+
case "AccessDeniedException":
|
|
1374
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1375
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1376
|
+
case "InternalServerException":
|
|
1377
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1378
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1379
|
+
case "ResourceNotFoundException":
|
|
1380
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1381
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1382
|
+
case "ThrottlingException":
|
|
1383
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1384
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1385
|
+
case "ValidationException":
|
|
1386
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1387
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1388
|
+
default:
|
|
1389
|
+
const parsedBody = parsedOutput.body;
|
|
1390
|
+
return throwDefaultError({
|
|
1391
|
+
output,
|
|
1392
|
+
parsedBody,
|
|
1393
|
+
errorCode
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
}, "de_GetReadinessCheckResourceStatusCommandError");
|
|
1397
|
+
var de_GetReadinessCheckStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
+
return de_GetReadinessCheckStatusCommandError(output, context);
|
|
1400
|
+
}
|
|
1401
|
+
const contents = (0, import_smithy_client.map)({
|
|
1402
|
+
$metadata: deserializeMetadata(output)
|
|
1403
|
+
});
|
|
1404
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1405
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1406
|
+
Messages: [, (_) => de___listOfMessage(_, context), `messages`],
|
|
1407
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1408
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
1409
|
+
Resources: [, (_) => de___listOfResourceResult(_, context), `resources`]
|
|
1410
|
+
});
|
|
1411
|
+
Object.assign(contents, doc);
|
|
1412
|
+
return contents;
|
|
1413
|
+
}, "de_GetReadinessCheckStatusCommand");
|
|
1414
|
+
var de_GetReadinessCheckStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1415
|
+
const parsedOutput = {
|
|
1416
|
+
...output,
|
|
1417
|
+
body: await parseErrorBody(output.body, context)
|
|
1418
|
+
};
|
|
1419
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1420
|
+
switch (errorCode) {
|
|
1421
|
+
case "AccessDeniedException":
|
|
1422
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1423
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "InternalServerException":
|
|
1425
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1426
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1427
|
+
case "ResourceNotFoundException":
|
|
1428
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1429
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1430
|
+
case "ThrottlingException":
|
|
1431
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1432
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1433
|
+
case "ValidationException":
|
|
1434
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1435
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1436
|
+
default:
|
|
1437
|
+
const parsedBody = parsedOutput.body;
|
|
1438
|
+
return throwDefaultError({
|
|
1439
|
+
output,
|
|
1440
|
+
parsedBody,
|
|
1441
|
+
errorCode
|
|
1442
|
+
});
|
|
1443
|
+
}
|
|
1444
|
+
}, "de_GetReadinessCheckStatusCommandError");
|
|
1445
|
+
var de_GetRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1446
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1447
|
+
return de_GetRecoveryGroupCommandError(output, context);
|
|
1448
|
+
}
|
|
1449
|
+
const contents = (0, import_smithy_client.map)({
|
|
1450
|
+
$metadata: deserializeMetadata(output)
|
|
1451
|
+
});
|
|
1452
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1453
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1454
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
1455
|
+
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
1456
|
+
RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
|
|
1457
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1458
|
+
});
|
|
1459
|
+
Object.assign(contents, doc);
|
|
1460
|
+
return contents;
|
|
1461
|
+
}, "de_GetRecoveryGroupCommand");
|
|
1462
|
+
var de_GetRecoveryGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1463
|
+
const parsedOutput = {
|
|
1464
|
+
...output,
|
|
1465
|
+
body: await parseErrorBody(output.body, context)
|
|
1466
|
+
};
|
|
1467
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1468
|
+
switch (errorCode) {
|
|
1469
|
+
case "AccessDeniedException":
|
|
1470
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1471
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1472
|
+
case "InternalServerException":
|
|
1473
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1474
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1475
|
+
case "ResourceNotFoundException":
|
|
1476
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1477
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1478
|
+
case "ThrottlingException":
|
|
1479
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1480
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1481
|
+
case "ValidationException":
|
|
1482
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1483
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1484
|
+
default:
|
|
1485
|
+
const parsedBody = parsedOutput.body;
|
|
1486
|
+
return throwDefaultError({
|
|
1487
|
+
output,
|
|
1488
|
+
parsedBody,
|
|
1489
|
+
errorCode
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
}, "de_GetRecoveryGroupCommandError");
|
|
1493
|
+
var de_GetRecoveryGroupReadinessSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1494
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1495
|
+
return de_GetRecoveryGroupReadinessSummaryCommandError(output, context);
|
|
1496
|
+
}
|
|
1497
|
+
const contents = (0, import_smithy_client.map)({
|
|
1498
|
+
$metadata: deserializeMetadata(output)
|
|
1499
|
+
});
|
|
1500
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1501
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1502
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1503
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
1504
|
+
ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_, context), `readinessChecks`]
|
|
1505
|
+
});
|
|
1506
|
+
Object.assign(contents, doc);
|
|
1507
|
+
return contents;
|
|
1508
|
+
}, "de_GetRecoveryGroupReadinessSummaryCommand");
|
|
1509
|
+
var de_GetRecoveryGroupReadinessSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1510
|
+
const parsedOutput = {
|
|
1511
|
+
...output,
|
|
1512
|
+
body: await parseErrorBody(output.body, context)
|
|
1513
|
+
};
|
|
1514
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1515
|
+
switch (errorCode) {
|
|
1516
|
+
case "AccessDeniedException":
|
|
1517
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1518
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1519
|
+
case "InternalServerException":
|
|
1520
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1521
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1522
|
+
case "ResourceNotFoundException":
|
|
1523
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1524
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1525
|
+
case "ThrottlingException":
|
|
1526
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1527
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1528
|
+
case "ValidationException":
|
|
1529
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1530
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1531
|
+
default:
|
|
1532
|
+
const parsedBody = parsedOutput.body;
|
|
1533
|
+
return throwDefaultError({
|
|
1534
|
+
output,
|
|
1535
|
+
parsedBody,
|
|
1536
|
+
errorCode
|
|
1537
|
+
});
|
|
1538
|
+
}
|
|
1539
|
+
}, "de_GetRecoveryGroupReadinessSummaryCommandError");
|
|
1540
|
+
var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1542
|
+
return de_GetResourceSetCommandError(output, context);
|
|
1543
|
+
}
|
|
1544
|
+
const contents = (0, import_smithy_client.map)({
|
|
1545
|
+
$metadata: deserializeMetadata(output)
|
|
1546
|
+
});
|
|
1547
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1549
|
+
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
1550
|
+
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
1551
|
+
ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
|
|
1552
|
+
Resources: [, (_) => de___listOfResource(_, context), `resources`],
|
|
1553
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1554
|
+
});
|
|
1555
|
+
Object.assign(contents, doc);
|
|
1556
|
+
return contents;
|
|
1557
|
+
}, "de_GetResourceSetCommand");
|
|
1558
|
+
var de_GetResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1559
|
+
const parsedOutput = {
|
|
1560
|
+
...output,
|
|
1561
|
+
body: await parseErrorBody(output.body, context)
|
|
1562
|
+
};
|
|
1563
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1564
|
+
switch (errorCode) {
|
|
1565
|
+
case "AccessDeniedException":
|
|
1566
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1567
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1568
|
+
case "InternalServerException":
|
|
1569
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1570
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1571
|
+
case "ResourceNotFoundException":
|
|
1572
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1573
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1574
|
+
case "ThrottlingException":
|
|
1575
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1576
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1577
|
+
case "ValidationException":
|
|
1578
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1579
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1580
|
+
default:
|
|
1581
|
+
const parsedBody = parsedOutput.body;
|
|
1582
|
+
return throwDefaultError({
|
|
1583
|
+
output,
|
|
1584
|
+
parsedBody,
|
|
1585
|
+
errorCode
|
|
1586
|
+
});
|
|
1587
|
+
}
|
|
1588
|
+
}, "de_GetResourceSetCommandError");
|
|
1589
|
+
var de_ListCellsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1590
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1591
|
+
return de_ListCellsCommandError(output, context);
|
|
1592
|
+
}
|
|
1593
|
+
const contents = (0, import_smithy_client.map)({
|
|
1594
|
+
$metadata: deserializeMetadata(output)
|
|
1595
|
+
});
|
|
1596
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1597
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1598
|
+
Cells: [, (_) => de___listOfCellOutput(_, context), `cells`],
|
|
1599
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
1600
|
+
});
|
|
1601
|
+
Object.assign(contents, doc);
|
|
1602
|
+
return contents;
|
|
1603
|
+
}, "de_ListCellsCommand");
|
|
1604
|
+
var de_ListCellsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
|
+
const parsedOutput = {
|
|
1606
|
+
...output,
|
|
1607
|
+
body: await parseErrorBody(output.body, context)
|
|
1608
|
+
};
|
|
1609
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1610
|
+
switch (errorCode) {
|
|
1611
|
+
case "AccessDeniedException":
|
|
1612
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1613
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1614
|
+
case "InternalServerException":
|
|
1615
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1616
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "ThrottlingException":
|
|
1618
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1619
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1620
|
+
case "ValidationException":
|
|
1621
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1622
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1623
|
+
default:
|
|
1624
|
+
const parsedBody = parsedOutput.body;
|
|
1625
|
+
return throwDefaultError({
|
|
1626
|
+
output,
|
|
1627
|
+
parsedBody,
|
|
1628
|
+
errorCode
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1631
|
+
}, "de_ListCellsCommandError");
|
|
1632
|
+
var de_ListCrossAccountAuthorizationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1633
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1634
|
+
return de_ListCrossAccountAuthorizationsCommandError(output, context);
|
|
1635
|
+
}
|
|
1636
|
+
const contents = (0, import_smithy_client.map)({
|
|
1637
|
+
$metadata: deserializeMetadata(output)
|
|
1638
|
+
});
|
|
1639
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1640
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1641
|
+
CrossAccountAuthorizations: [, import_smithy_client._json, `crossAccountAuthorizations`],
|
|
1642
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`]
|
|
1643
|
+
});
|
|
1644
|
+
Object.assign(contents, doc);
|
|
1645
|
+
return contents;
|
|
1646
|
+
}, "de_ListCrossAccountAuthorizationsCommand");
|
|
1647
|
+
var de_ListCrossAccountAuthorizationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1648
|
+
const parsedOutput = {
|
|
1649
|
+
...output,
|
|
1650
|
+
body: await parseErrorBody(output.body, context)
|
|
1651
|
+
};
|
|
1652
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1653
|
+
switch (errorCode) {
|
|
1654
|
+
case "AccessDeniedException":
|
|
1655
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1656
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1657
|
+
case "InternalServerException":
|
|
1658
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1659
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1660
|
+
case "ThrottlingException":
|
|
1661
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1662
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1663
|
+
case "ValidationException":
|
|
1664
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1665
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1666
|
+
default:
|
|
1667
|
+
const parsedBody = parsedOutput.body;
|
|
1668
|
+
return throwDefaultError({
|
|
1669
|
+
output,
|
|
1670
|
+
parsedBody,
|
|
1671
|
+
errorCode
|
|
1672
|
+
});
|
|
1673
|
+
}
|
|
1674
|
+
}, "de_ListCrossAccountAuthorizationsCommandError");
|
|
1675
|
+
var de_ListReadinessChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1676
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1677
|
+
return de_ListReadinessChecksCommandError(output, context);
|
|
1678
|
+
}
|
|
1679
|
+
const contents = (0, import_smithy_client.map)({
|
|
1680
|
+
$metadata: deserializeMetadata(output)
|
|
1681
|
+
});
|
|
1682
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1683
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1684
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1685
|
+
ReadinessChecks: [, (_) => de___listOfReadinessCheckOutput(_, context), `readinessChecks`]
|
|
1686
|
+
});
|
|
1687
|
+
Object.assign(contents, doc);
|
|
1688
|
+
return contents;
|
|
1689
|
+
}, "de_ListReadinessChecksCommand");
|
|
1690
|
+
var de_ListReadinessChecksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1691
|
+
const parsedOutput = {
|
|
1692
|
+
...output,
|
|
1693
|
+
body: await parseErrorBody(output.body, context)
|
|
1694
|
+
};
|
|
1695
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1696
|
+
switch (errorCode) {
|
|
1697
|
+
case "AccessDeniedException":
|
|
1698
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1699
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1700
|
+
case "InternalServerException":
|
|
1701
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1702
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1703
|
+
case "ThrottlingException":
|
|
1704
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1705
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1706
|
+
case "ValidationException":
|
|
1707
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1708
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1709
|
+
default:
|
|
1710
|
+
const parsedBody = parsedOutput.body;
|
|
1711
|
+
return throwDefaultError({
|
|
1712
|
+
output,
|
|
1713
|
+
parsedBody,
|
|
1714
|
+
errorCode
|
|
1715
|
+
});
|
|
1716
|
+
}
|
|
1717
|
+
}, "de_ListReadinessChecksCommandError");
|
|
1718
|
+
var de_ListRecoveryGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1719
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1720
|
+
return de_ListRecoveryGroupsCommandError(output, context);
|
|
1721
|
+
}
|
|
1722
|
+
const contents = (0, import_smithy_client.map)({
|
|
1723
|
+
$metadata: deserializeMetadata(output)
|
|
1724
|
+
});
|
|
1725
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1726
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1727
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1728
|
+
RecoveryGroups: [, (_) => de___listOfRecoveryGroupOutput(_, context), `recoveryGroups`]
|
|
1729
|
+
});
|
|
1730
|
+
Object.assign(contents, doc);
|
|
1731
|
+
return contents;
|
|
1732
|
+
}, "de_ListRecoveryGroupsCommand");
|
|
1733
|
+
var de_ListRecoveryGroupsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1734
|
+
const parsedOutput = {
|
|
1735
|
+
...output,
|
|
1736
|
+
body: await parseErrorBody(output.body, context)
|
|
1737
|
+
};
|
|
1738
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1739
|
+
switch (errorCode) {
|
|
1740
|
+
case "AccessDeniedException":
|
|
1741
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1742
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1743
|
+
case "InternalServerException":
|
|
1744
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1745
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1746
|
+
case "ThrottlingException":
|
|
1747
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1748
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1749
|
+
case "ValidationException":
|
|
1750
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1751
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1752
|
+
default:
|
|
1753
|
+
const parsedBody = parsedOutput.body;
|
|
1754
|
+
return throwDefaultError({
|
|
1755
|
+
output,
|
|
1756
|
+
parsedBody,
|
|
1757
|
+
errorCode
|
|
1758
|
+
});
|
|
1759
|
+
}
|
|
1760
|
+
}, "de_ListRecoveryGroupsCommandError");
|
|
1761
|
+
var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1762
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1763
|
+
return de_ListResourceSetsCommandError(output, context);
|
|
1764
|
+
}
|
|
1765
|
+
const contents = (0, import_smithy_client.map)({
|
|
1766
|
+
$metadata: deserializeMetadata(output)
|
|
1767
|
+
});
|
|
1768
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1769
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1770
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1771
|
+
ResourceSets: [, (_) => de___listOfResourceSetOutput(_, context), `resourceSets`]
|
|
1772
|
+
});
|
|
1773
|
+
Object.assign(contents, doc);
|
|
1774
|
+
return contents;
|
|
1775
|
+
}, "de_ListResourceSetsCommand");
|
|
1776
|
+
var de_ListResourceSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1777
|
+
const parsedOutput = {
|
|
1778
|
+
...output,
|
|
1779
|
+
body: await parseErrorBody(output.body, context)
|
|
1780
|
+
};
|
|
1781
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1782
|
+
switch (errorCode) {
|
|
1783
|
+
case "AccessDeniedException":
|
|
1784
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1785
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1786
|
+
case "InternalServerException":
|
|
1787
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1788
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1789
|
+
case "ThrottlingException":
|
|
1790
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1791
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1792
|
+
case "ValidationException":
|
|
1793
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1794
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1795
|
+
default:
|
|
1796
|
+
const parsedBody = parsedOutput.body;
|
|
1797
|
+
return throwDefaultError({
|
|
1798
|
+
output,
|
|
1799
|
+
parsedBody,
|
|
1800
|
+
errorCode
|
|
1801
|
+
});
|
|
1802
|
+
}
|
|
1803
|
+
}, "de_ListResourceSetsCommandError");
|
|
1804
|
+
var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1805
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1806
|
+
return de_ListRulesCommandError(output, context);
|
|
1807
|
+
}
|
|
1808
|
+
const contents = (0, import_smithy_client.map)({
|
|
1809
|
+
$metadata: deserializeMetadata(output)
|
|
1810
|
+
});
|
|
1811
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1812
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1813
|
+
NextToken: [, import_smithy_client.expectString, `nextToken`],
|
|
1814
|
+
Rules: [, (_) => de___listOfListRulesOutput(_, context), `rules`]
|
|
1815
|
+
});
|
|
1816
|
+
Object.assign(contents, doc);
|
|
1817
|
+
return contents;
|
|
1818
|
+
}, "de_ListRulesCommand");
|
|
1819
|
+
var de_ListRulesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1820
|
+
const parsedOutput = {
|
|
1821
|
+
...output,
|
|
1822
|
+
body: await parseErrorBody(output.body, context)
|
|
1823
|
+
};
|
|
1824
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1825
|
+
switch (errorCode) {
|
|
1826
|
+
case "AccessDeniedException":
|
|
1827
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1828
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1829
|
+
case "InternalServerException":
|
|
1830
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1831
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1832
|
+
case "ThrottlingException":
|
|
1833
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1834
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1835
|
+
case "ValidationException":
|
|
1836
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1837
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1838
|
+
default:
|
|
1839
|
+
const parsedBody = parsedOutput.body;
|
|
1840
|
+
return throwDefaultError({
|
|
1841
|
+
output,
|
|
1842
|
+
parsedBody,
|
|
1843
|
+
errorCode
|
|
1844
|
+
});
|
|
1845
|
+
}
|
|
1846
|
+
}, "de_ListRulesCommandError");
|
|
1847
|
+
var de_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1848
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1849
|
+
return de_ListTagsForResourcesCommandError(output, context);
|
|
1850
|
+
}
|
|
1851
|
+
const contents = (0, import_smithy_client.map)({
|
|
1852
|
+
$metadata: deserializeMetadata(output)
|
|
1853
|
+
});
|
|
1854
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1855
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1856
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1857
|
+
});
|
|
1858
|
+
Object.assign(contents, doc);
|
|
1859
|
+
return contents;
|
|
1860
|
+
}, "de_ListTagsForResourcesCommand");
|
|
1861
|
+
var de_ListTagsForResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1862
|
+
const parsedOutput = {
|
|
1863
|
+
...output,
|
|
1864
|
+
body: await parseErrorBody(output.body, context)
|
|
1865
|
+
};
|
|
1866
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1867
|
+
switch (errorCode) {
|
|
1868
|
+
case "InternalServerException":
|
|
1869
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1870
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1871
|
+
case "ResourceNotFoundException":
|
|
1872
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1873
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1874
|
+
case "ValidationException":
|
|
1875
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1876
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1877
|
+
default:
|
|
1878
|
+
const parsedBody = parsedOutput.body;
|
|
1879
|
+
return throwDefaultError({
|
|
1880
|
+
output,
|
|
1881
|
+
parsedBody,
|
|
1882
|
+
errorCode
|
|
1883
|
+
});
|
|
1884
|
+
}
|
|
1885
|
+
}, "de_ListTagsForResourcesCommandError");
|
|
1886
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1887
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1888
|
+
return de_TagResourceCommandError(output, context);
|
|
1889
|
+
}
|
|
1890
|
+
const contents = (0, import_smithy_client.map)({
|
|
1891
|
+
$metadata: deserializeMetadata(output)
|
|
1892
|
+
});
|
|
1893
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1894
|
+
return contents;
|
|
1895
|
+
}, "de_TagResourceCommand");
|
|
1896
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1897
|
+
const parsedOutput = {
|
|
1898
|
+
...output,
|
|
1899
|
+
body: await parseErrorBody(output.body, context)
|
|
1900
|
+
};
|
|
1901
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1902
|
+
switch (errorCode) {
|
|
1903
|
+
case "InternalServerException":
|
|
1904
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1905
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1906
|
+
case "ResourceNotFoundException":
|
|
1907
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1908
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1909
|
+
case "ValidationException":
|
|
1910
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1911
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1912
|
+
default:
|
|
1913
|
+
const parsedBody = parsedOutput.body;
|
|
1914
|
+
return throwDefaultError({
|
|
1915
|
+
output,
|
|
1916
|
+
parsedBody,
|
|
1917
|
+
errorCode
|
|
1918
|
+
});
|
|
1919
|
+
}
|
|
1920
|
+
}, "de_TagResourceCommandError");
|
|
1921
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1922
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1923
|
+
return de_UntagResourceCommandError(output, context);
|
|
1924
|
+
}
|
|
1925
|
+
const contents = (0, import_smithy_client.map)({
|
|
1926
|
+
$metadata: deserializeMetadata(output)
|
|
1927
|
+
});
|
|
1928
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1929
|
+
return contents;
|
|
1930
|
+
}, "de_UntagResourceCommand");
|
|
1931
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1932
|
+
const parsedOutput = {
|
|
1933
|
+
...output,
|
|
1934
|
+
body: await parseErrorBody(output.body, context)
|
|
1935
|
+
};
|
|
1936
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1937
|
+
switch (errorCode) {
|
|
1938
|
+
case "InternalServerException":
|
|
1939
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1940
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1941
|
+
case "ResourceNotFoundException":
|
|
1942
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1943
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1944
|
+
case "ValidationException":
|
|
1945
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1946
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1947
|
+
default:
|
|
1948
|
+
const parsedBody = parsedOutput.body;
|
|
1949
|
+
return throwDefaultError({
|
|
1950
|
+
output,
|
|
1951
|
+
parsedBody,
|
|
1952
|
+
errorCode
|
|
1953
|
+
});
|
|
1954
|
+
}
|
|
1955
|
+
}, "de_UntagResourceCommandError");
|
|
1956
|
+
var de_UpdateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1957
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1958
|
+
return de_UpdateCellCommandError(output, context);
|
|
1959
|
+
}
|
|
1960
|
+
const contents = (0, import_smithy_client.map)({
|
|
1961
|
+
$metadata: deserializeMetadata(output)
|
|
1962
|
+
});
|
|
1963
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1964
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1965
|
+
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
1966
|
+
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
1967
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
1968
|
+
ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
|
|
1969
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
1970
|
+
});
|
|
1971
|
+
Object.assign(contents, doc);
|
|
1972
|
+
return contents;
|
|
1973
|
+
}, "de_UpdateCellCommand");
|
|
1974
|
+
var de_UpdateCellCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1975
|
+
const parsedOutput = {
|
|
1976
|
+
...output,
|
|
1977
|
+
body: await parseErrorBody(output.body, context)
|
|
1978
|
+
};
|
|
1979
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1980
|
+
switch (errorCode) {
|
|
1981
|
+
case "AccessDeniedException":
|
|
1982
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
1983
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1984
|
+
case "InternalServerException":
|
|
1985
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
1986
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1987
|
+
case "ResourceNotFoundException":
|
|
1988
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
1989
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1990
|
+
case "ThrottlingException":
|
|
1991
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
1992
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1993
|
+
case "ValidationException":
|
|
1994
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
1995
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1996
|
+
default:
|
|
1997
|
+
const parsedBody = parsedOutput.body;
|
|
1998
|
+
return throwDefaultError({
|
|
1999
|
+
output,
|
|
2000
|
+
parsedBody,
|
|
2001
|
+
errorCode
|
|
2002
|
+
});
|
|
2003
|
+
}
|
|
2004
|
+
}, "de_UpdateCellCommandError");
|
|
2005
|
+
var de_UpdateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2007
|
+
return de_UpdateReadinessCheckCommandError(output, context);
|
|
2008
|
+
}
|
|
2009
|
+
const contents = (0, import_smithy_client.map)({
|
|
2010
|
+
$metadata: deserializeMetadata(output)
|
|
2011
|
+
});
|
|
2012
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2013
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2014
|
+
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
2015
|
+
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
2016
|
+
ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
|
|
2017
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2018
|
+
});
|
|
2019
|
+
Object.assign(contents, doc);
|
|
2020
|
+
return contents;
|
|
2021
|
+
}, "de_UpdateReadinessCheckCommand");
|
|
2022
|
+
var de_UpdateReadinessCheckCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2023
|
+
const parsedOutput = {
|
|
2024
|
+
...output,
|
|
2025
|
+
body: await parseErrorBody(output.body, context)
|
|
2026
|
+
};
|
|
2027
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2028
|
+
switch (errorCode) {
|
|
2029
|
+
case "AccessDeniedException":
|
|
2030
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
2031
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2032
|
+
case "InternalServerException":
|
|
2033
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
2034
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2035
|
+
case "ResourceNotFoundException":
|
|
2036
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
2037
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2038
|
+
case "ThrottlingException":
|
|
2039
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
2040
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2041
|
+
case "ValidationException":
|
|
2042
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
2043
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2044
|
+
default:
|
|
2045
|
+
const parsedBody = parsedOutput.body;
|
|
2046
|
+
return throwDefaultError({
|
|
2047
|
+
output,
|
|
2048
|
+
parsedBody,
|
|
2049
|
+
errorCode
|
|
2050
|
+
});
|
|
2051
|
+
}
|
|
2052
|
+
}, "de_UpdateReadinessCheckCommandError");
|
|
2053
|
+
var de_UpdateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2054
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2055
|
+
return de_UpdateRecoveryGroupCommandError(output, context);
|
|
2056
|
+
}
|
|
2057
|
+
const contents = (0, import_smithy_client.map)({
|
|
2058
|
+
$metadata: deserializeMetadata(output)
|
|
2059
|
+
});
|
|
2060
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2061
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2062
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
2063
|
+
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
2064
|
+
RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
|
|
2065
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2066
|
+
});
|
|
2067
|
+
Object.assign(contents, doc);
|
|
2068
|
+
return contents;
|
|
2069
|
+
}, "de_UpdateRecoveryGroupCommand");
|
|
2070
|
+
var de_UpdateRecoveryGroupCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2071
|
+
const parsedOutput = {
|
|
2072
|
+
...output,
|
|
2073
|
+
body: await parseErrorBody(output.body, context)
|
|
2074
|
+
};
|
|
2075
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2076
|
+
switch (errorCode) {
|
|
2077
|
+
case "AccessDeniedException":
|
|
2078
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
2079
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2080
|
+
case "InternalServerException":
|
|
2081
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
2082
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "ResourceNotFoundException":
|
|
2084
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
2085
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "ThrottlingException":
|
|
2087
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
2088
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2089
|
+
case "ValidationException":
|
|
2090
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
2091
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2092
|
+
default:
|
|
2093
|
+
const parsedBody = parsedOutput.body;
|
|
2094
|
+
return throwDefaultError({
|
|
2095
|
+
output,
|
|
2096
|
+
parsedBody,
|
|
2097
|
+
errorCode
|
|
2098
|
+
});
|
|
2099
|
+
}
|
|
2100
|
+
}, "de_UpdateRecoveryGroupCommandError");
|
|
2101
|
+
var de_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2102
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2103
|
+
return de_UpdateResourceSetCommandError(output, context);
|
|
2104
|
+
}
|
|
2105
|
+
const contents = (0, import_smithy_client.map)({
|
|
2106
|
+
$metadata: deserializeMetadata(output)
|
|
2107
|
+
});
|
|
2108
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2109
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2110
|
+
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
2111
|
+
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
2112
|
+
ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
|
|
2113
|
+
Resources: [, (_) => de___listOfResource(_, context), `resources`],
|
|
2114
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2115
|
+
});
|
|
2116
|
+
Object.assign(contents, doc);
|
|
2117
|
+
return contents;
|
|
2118
|
+
}, "de_UpdateResourceSetCommand");
|
|
2119
|
+
var de_UpdateResourceSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2120
|
+
const parsedOutput = {
|
|
2121
|
+
...output,
|
|
2122
|
+
body: await parseErrorBody(output.body, context)
|
|
2123
|
+
};
|
|
2124
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2125
|
+
switch (errorCode) {
|
|
2126
|
+
case "AccessDeniedException":
|
|
2127
|
+
case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
|
|
2128
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2129
|
+
case "InternalServerException":
|
|
2130
|
+
case "com.amazonaws.route53recoveryreadiness#InternalServerException":
|
|
2131
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2132
|
+
case "ResourceNotFoundException":
|
|
2133
|
+
case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
|
|
2134
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2135
|
+
case "ThrottlingException":
|
|
2136
|
+
case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
|
|
2137
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2138
|
+
case "ValidationException":
|
|
2139
|
+
case "com.amazonaws.route53recoveryreadiness#ValidationException":
|
|
2140
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2141
|
+
default:
|
|
2142
|
+
const parsedBody = parsedOutput.body;
|
|
2143
|
+
return throwDefaultError({
|
|
2144
|
+
output,
|
|
2145
|
+
parsedBody,
|
|
2146
|
+
errorCode
|
|
2147
|
+
});
|
|
2148
|
+
}
|
|
2149
|
+
}, "de_UpdateResourceSetCommandError");
|
|
2150
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(Route53RecoveryReadinessServiceException);
|
|
2151
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2152
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2153
|
+
const data = parsedOutput.body;
|
|
2154
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2155
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2156
|
+
});
|
|
2157
|
+
Object.assign(contents, doc);
|
|
2158
|
+
const exception = new AccessDeniedException({
|
|
2159
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2160
|
+
...contents
|
|
2161
|
+
});
|
|
2162
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2163
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2164
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2165
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2166
|
+
const data = parsedOutput.body;
|
|
2167
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2168
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2169
|
+
});
|
|
2170
|
+
Object.assign(contents, doc);
|
|
2171
|
+
const exception = new ConflictException({
|
|
2172
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2173
|
+
...contents
|
|
2174
|
+
});
|
|
2175
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2176
|
+
}, "de_ConflictExceptionRes");
|
|
2177
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2178
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2179
|
+
const data = parsedOutput.body;
|
|
2180
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2181
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2182
|
+
});
|
|
2183
|
+
Object.assign(contents, doc);
|
|
2184
|
+
const exception = new InternalServerException({
|
|
2185
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2186
|
+
...contents
|
|
2187
|
+
});
|
|
2188
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2189
|
+
}, "de_InternalServerExceptionRes");
|
|
2190
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2191
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2192
|
+
const data = parsedOutput.body;
|
|
2193
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2194
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2195
|
+
});
|
|
2196
|
+
Object.assign(contents, doc);
|
|
2197
|
+
const exception = new ResourceNotFoundException({
|
|
2198
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2199
|
+
...contents
|
|
2200
|
+
});
|
|
2201
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2202
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2203
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2204
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2205
|
+
const data = parsedOutput.body;
|
|
2206
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2207
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2208
|
+
});
|
|
2209
|
+
Object.assign(contents, doc);
|
|
2210
|
+
const exception = new ThrottlingException({
|
|
2211
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2212
|
+
...contents
|
|
2213
|
+
});
|
|
2214
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2215
|
+
}, "de_ThrottlingExceptionRes");
|
|
2216
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2217
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2218
|
+
const data = parsedOutput.body;
|
|
2219
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2220
|
+
Message: [, import_smithy_client.expectString, `message`]
|
|
2221
|
+
});
|
|
2222
|
+
Object.assign(contents, doc);
|
|
2223
|
+
const exception = new ValidationException({
|
|
2224
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2225
|
+
...contents
|
|
2226
|
+
});
|
|
2227
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2228
|
+
}, "de_ValidationExceptionRes");
|
|
2229
|
+
var se___listOfResource = /* @__PURE__ */ __name((input, context) => {
|
|
2230
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
2231
|
+
return se_Resource(entry, context);
|
|
2232
|
+
});
|
|
2233
|
+
}, "se___listOfResource");
|
|
2234
|
+
var se_DNSTargetResource = /* @__PURE__ */ __name((input, context) => {
|
|
2235
|
+
return (0, import_smithy_client.take)(input, {
|
|
2236
|
+
domainName: [, , `DomainName`],
|
|
2237
|
+
hostedZoneArn: [, , `HostedZoneArn`],
|
|
2238
|
+
recordSetId: [, , `RecordSetId`],
|
|
2239
|
+
recordType: [, , `RecordType`],
|
|
2240
|
+
targetResource: [, (_) => se_TargetResource(_, context), `TargetResource`]
|
|
2241
|
+
});
|
|
2242
|
+
}, "se_DNSTargetResource");
|
|
2243
|
+
var se_NLBResource = /* @__PURE__ */ __name((input, context) => {
|
|
2244
|
+
return (0, import_smithy_client.take)(input, {
|
|
2245
|
+
arn: [, , `Arn`]
|
|
2246
|
+
});
|
|
2247
|
+
}, "se_NLBResource");
|
|
2248
|
+
var se_R53ResourceRecord = /* @__PURE__ */ __name((input, context) => {
|
|
2249
|
+
return (0, import_smithy_client.take)(input, {
|
|
2250
|
+
domainName: [, , `DomainName`],
|
|
2251
|
+
recordSetId: [, , `RecordSetId`]
|
|
2252
|
+
});
|
|
2253
|
+
}, "se_R53ResourceRecord");
|
|
2254
|
+
var se_Resource = /* @__PURE__ */ __name((input, context) => {
|
|
2255
|
+
return (0, import_smithy_client.take)(input, {
|
|
2256
|
+
componentId: [, , `ComponentId`],
|
|
2257
|
+
dnsTargetResource: [, (_) => se_DNSTargetResource(_, context), `DnsTargetResource`],
|
|
2258
|
+
readinessScopes: [, import_smithy_client._json, `ReadinessScopes`],
|
|
2259
|
+
resourceArn: [, , `ResourceArn`]
|
|
2260
|
+
});
|
|
2261
|
+
}, "se_Resource");
|
|
2262
|
+
var se_TargetResource = /* @__PURE__ */ __name((input, context) => {
|
|
2263
|
+
return (0, import_smithy_client.take)(input, {
|
|
2264
|
+
nLBResource: [, (_) => se_NLBResource(_, context), `NLBResource`],
|
|
2265
|
+
r53Resource: [, (_) => se_R53ResourceRecord(_, context), `R53Resource`]
|
|
2266
|
+
});
|
|
2267
|
+
}, "se_TargetResource");
|
|
2268
|
+
var de___listOfCellOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2269
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2270
|
+
return de_CellOutput(entry, context);
|
|
2271
|
+
});
|
|
2272
|
+
return retVal;
|
|
2273
|
+
}, "de___listOfCellOutput");
|
|
2274
|
+
var de___listOfListRulesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2275
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2276
|
+
return de_ListRulesOutput(entry, context);
|
|
2277
|
+
});
|
|
2278
|
+
return retVal;
|
|
2279
|
+
}, "de___listOfListRulesOutput");
|
|
2280
|
+
var de___listOfMessage = /* @__PURE__ */ __name((output, context) => {
|
|
2281
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2282
|
+
return de_Message(entry, context);
|
|
2283
|
+
});
|
|
2284
|
+
return retVal;
|
|
2285
|
+
}, "de___listOfMessage");
|
|
2286
|
+
var de___listOfReadinessCheckOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2287
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2288
|
+
return de_ReadinessCheckOutput(entry, context);
|
|
2289
|
+
});
|
|
2290
|
+
return retVal;
|
|
2291
|
+
}, "de___listOfReadinessCheckOutput");
|
|
2292
|
+
var de___listOfReadinessCheckSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2293
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2294
|
+
return de_ReadinessCheckSummary(entry, context);
|
|
2295
|
+
});
|
|
2296
|
+
return retVal;
|
|
2297
|
+
}, "de___listOfReadinessCheckSummary");
|
|
2298
|
+
var de___listOfRecommendation = /* @__PURE__ */ __name((output, context) => {
|
|
2299
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2300
|
+
return de_Recommendation(entry, context);
|
|
2301
|
+
});
|
|
2302
|
+
return retVal;
|
|
2303
|
+
}, "de___listOfRecommendation");
|
|
2304
|
+
var de___listOfRecoveryGroupOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2305
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2306
|
+
return de_RecoveryGroupOutput(entry, context);
|
|
2307
|
+
});
|
|
2308
|
+
return retVal;
|
|
2309
|
+
}, "de___listOfRecoveryGroupOutput");
|
|
2310
|
+
var de___listOfResource = /* @__PURE__ */ __name((output, context) => {
|
|
2311
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2312
|
+
return de_Resource(entry, context);
|
|
2313
|
+
});
|
|
2314
|
+
return retVal;
|
|
2315
|
+
}, "de___listOfResource");
|
|
2316
|
+
var de___listOfResourceResult = /* @__PURE__ */ __name((output, context) => {
|
|
2317
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2318
|
+
return de_ResourceResult(entry, context);
|
|
2319
|
+
});
|
|
2320
|
+
return retVal;
|
|
2321
|
+
}, "de___listOfResourceResult");
|
|
2322
|
+
var de___listOfResourceSetOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2323
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2324
|
+
return de_ResourceSetOutput(entry, context);
|
|
2325
|
+
});
|
|
2326
|
+
return retVal;
|
|
2327
|
+
}, "de___listOfResourceSetOutput");
|
|
2328
|
+
var de___listOfRuleResult = /* @__PURE__ */ __name((output, context) => {
|
|
2329
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2330
|
+
return de_RuleResult(entry, context);
|
|
2331
|
+
});
|
|
2332
|
+
return retVal;
|
|
2333
|
+
}, "de___listOfRuleResult");
|
|
2334
|
+
var de_CellOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2335
|
+
return (0, import_smithy_client.take)(output, {
|
|
2336
|
+
CellArn: [, import_smithy_client.expectString, `cellArn`],
|
|
2337
|
+
CellName: [, import_smithy_client.expectString, `cellName`],
|
|
2338
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
2339
|
+
ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
|
|
2340
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2341
|
+
});
|
|
2342
|
+
}, "de_CellOutput");
|
|
2343
|
+
var de_DNSTargetResource = /* @__PURE__ */ __name((output, context) => {
|
|
2344
|
+
return (0, import_smithy_client.take)(output, {
|
|
2345
|
+
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
2346
|
+
HostedZoneArn: [, import_smithy_client.expectString, `hostedZoneArn`],
|
|
2347
|
+
RecordSetId: [, import_smithy_client.expectString, `recordSetId`],
|
|
2348
|
+
RecordType: [, import_smithy_client.expectString, `recordType`],
|
|
2349
|
+
TargetResource: [, (_) => de_TargetResource(_, context), `targetResource`]
|
|
2350
|
+
});
|
|
2351
|
+
}, "de_DNSTargetResource");
|
|
2352
|
+
var de_ListRulesOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2353
|
+
return (0, import_smithy_client.take)(output, {
|
|
2354
|
+
ResourceType: [, import_smithy_client.expectString, `resourceType`],
|
|
2355
|
+
RuleDescription: [, import_smithy_client.expectString, `ruleDescription`],
|
|
2356
|
+
RuleId: [, import_smithy_client.expectString, `ruleId`]
|
|
2357
|
+
});
|
|
2358
|
+
}, "de_ListRulesOutput");
|
|
2359
|
+
var de_Message = /* @__PURE__ */ __name((output, context) => {
|
|
2360
|
+
return (0, import_smithy_client.take)(output, {
|
|
2361
|
+
MessageText: [, import_smithy_client.expectString, `messageText`]
|
|
2362
|
+
});
|
|
2363
|
+
}, "de_Message");
|
|
2364
|
+
var de_NLBResource = /* @__PURE__ */ __name((output, context) => {
|
|
2365
|
+
return (0, import_smithy_client.take)(output, {
|
|
2366
|
+
Arn: [, import_smithy_client.expectString, `arn`]
|
|
2367
|
+
});
|
|
2368
|
+
}, "de_NLBResource");
|
|
2369
|
+
var de_R53ResourceRecord = /* @__PURE__ */ __name((output, context) => {
|
|
2370
|
+
return (0, import_smithy_client.take)(output, {
|
|
2371
|
+
DomainName: [, import_smithy_client.expectString, `domainName`],
|
|
2372
|
+
RecordSetId: [, import_smithy_client.expectString, `recordSetId`]
|
|
2373
|
+
});
|
|
2374
|
+
}, "de_R53ResourceRecord");
|
|
2375
|
+
var de_ReadinessCheckOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2376
|
+
return (0, import_smithy_client.take)(output, {
|
|
2377
|
+
ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
|
|
2378
|
+
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
|
|
2379
|
+
ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
|
|
2380
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2381
|
+
});
|
|
2382
|
+
}, "de_ReadinessCheckOutput");
|
|
2383
|
+
var de_ReadinessCheckSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2384
|
+
return (0, import_smithy_client.take)(output, {
|
|
2385
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
2386
|
+
ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`]
|
|
2387
|
+
});
|
|
2388
|
+
}, "de_ReadinessCheckSummary");
|
|
2389
|
+
var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
|
|
2390
|
+
return (0, import_smithy_client.take)(output, {
|
|
2391
|
+
RecommendationText: [, import_smithy_client.expectString, `recommendationText`]
|
|
2392
|
+
});
|
|
2393
|
+
}, "de_Recommendation");
|
|
2394
|
+
var de_RecoveryGroupOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2395
|
+
return (0, import_smithy_client.take)(output, {
|
|
2396
|
+
Cells: [, import_smithy_client._json, `cells`],
|
|
2397
|
+
RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
|
|
2398
|
+
RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
|
|
2399
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2400
|
+
});
|
|
2401
|
+
}, "de_RecoveryGroupOutput");
|
|
2402
|
+
var de_Resource = /* @__PURE__ */ __name((output, context) => {
|
|
2403
|
+
return (0, import_smithy_client.take)(output, {
|
|
2404
|
+
ComponentId: [, import_smithy_client.expectString, `componentId`],
|
|
2405
|
+
DnsTargetResource: [, (_) => de_DNSTargetResource(_, context), `dnsTargetResource`],
|
|
2406
|
+
ReadinessScopes: [, import_smithy_client._json, `readinessScopes`],
|
|
2407
|
+
ResourceArn: [, import_smithy_client.expectString, `resourceArn`]
|
|
2408
|
+
});
|
|
2409
|
+
}, "de_Resource");
|
|
2410
|
+
var de_ResourceResult = /* @__PURE__ */ __name((output, context) => {
|
|
2411
|
+
return (0, import_smithy_client.take)(output, {
|
|
2412
|
+
ComponentId: [, import_smithy_client.expectString, `componentId`],
|
|
2413
|
+
LastCheckedTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastCheckedTimestamp`],
|
|
2414
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
2415
|
+
ResourceArn: [, import_smithy_client.expectString, `resourceArn`]
|
|
2416
|
+
});
|
|
2417
|
+
}, "de_ResourceResult");
|
|
2418
|
+
var de_ResourceSetOutput = /* @__PURE__ */ __name((output, context) => {
|
|
2419
|
+
return (0, import_smithy_client.take)(output, {
|
|
2420
|
+
ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
|
|
2421
|
+
ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
|
|
2422
|
+
ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
|
|
2423
|
+
Resources: [, (_) => de___listOfResource(_, context), `resources`],
|
|
2424
|
+
Tags: [, import_smithy_client._json, `tags`]
|
|
2425
|
+
});
|
|
2426
|
+
}, "de_ResourceSetOutput");
|
|
2427
|
+
var de_RuleResult = /* @__PURE__ */ __name((output, context) => {
|
|
2428
|
+
return (0, import_smithy_client.take)(output, {
|
|
2429
|
+
LastCheckedTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastCheckedTimestamp`],
|
|
2430
|
+
Messages: [, (_) => de___listOfMessage(_, context), `messages`],
|
|
2431
|
+
Readiness: [, import_smithy_client.expectString, `readiness`],
|
|
2432
|
+
RuleId: [, import_smithy_client.expectString, `ruleId`]
|
|
2433
|
+
});
|
|
2434
|
+
}, "de_RuleResult");
|
|
2435
|
+
var de_TargetResource = /* @__PURE__ */ __name((output, context) => {
|
|
2436
|
+
return (0, import_smithy_client.take)(output, {
|
|
2437
|
+
NLBResource: [, (_) => de_NLBResource(_, context), `nLBResource`],
|
|
2438
|
+
R53Resource: [, (_) => de_R53ResourceRecord(_, context), `r53Resource`]
|
|
2439
|
+
});
|
|
2440
|
+
}, "de_TargetResource");
|
|
2441
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2442
|
+
httpStatusCode: output.statusCode,
|
|
2443
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2444
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2445
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2446
|
+
}), "deserializeMetadata");
|
|
2447
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2448
|
+
var _MR = "MaxResults";
|
|
2449
|
+
var _NT = "NextToken";
|
|
2450
|
+
var _RT = "ResourceType";
|
|
2451
|
+
var _TK = "TagKeys";
|
|
2452
|
+
var _mR = "maxResults";
|
|
2453
|
+
var _nT = "nextToken";
|
|
2454
|
+
var _rT = "resourceType";
|
|
2455
|
+
var _tK = "tagKeys";
|
|
2456
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2457
|
+
if (encoded.length) {
|
|
2458
|
+
return JSON.parse(encoded);
|
|
2459
|
+
}
|
|
2460
|
+
return {};
|
|
2461
|
+
}), "parseBody");
|
|
2462
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2463
|
+
const value = await parseBody(errorBody, context);
|
|
2464
|
+
value.message = value.message ?? value.Message;
|
|
2465
|
+
return value;
|
|
2466
|
+
}, "parseErrorBody");
|
|
2467
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2468
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2469
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2470
|
+
let cleanValue = rawValue;
|
|
2471
|
+
if (typeof cleanValue === "number") {
|
|
2472
|
+
cleanValue = cleanValue.toString();
|
|
2473
|
+
}
|
|
2474
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2475
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2476
|
+
}
|
|
2477
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2478
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2479
|
+
}
|
|
2480
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2481
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2482
|
+
}
|
|
2483
|
+
return cleanValue;
|
|
2484
|
+
}, "sanitizeErrorCode");
|
|
2485
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2486
|
+
if (headerKey !== void 0) {
|
|
2487
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2488
|
+
}
|
|
2489
|
+
if (data.code !== void 0) {
|
|
2490
|
+
return sanitizeErrorCode(data.code);
|
|
2491
|
+
}
|
|
2492
|
+
if (data["__type"] !== void 0) {
|
|
2493
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2494
|
+
}
|
|
2495
|
+
}, "loadRestJsonErrorCode");
|
|
2496
|
+
|
|
2497
|
+
// src/commands/CreateCellCommand.ts
|
|
2498
|
+
var _CreateCellCommand = class _CreateCellCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2499
|
+
...commonParams
|
|
2500
|
+
}).m(function(Command, cs, config, o) {
|
|
2501
|
+
return [
|
|
2502
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2503
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2504
|
+
];
|
|
2505
|
+
}).s("Route53RecoveryReadiness", "CreateCell", {}).n("Route53RecoveryReadinessClient", "CreateCellCommand").f(void 0, void 0).ser(se_CreateCellCommand).de(de_CreateCellCommand).build() {
|
|
2506
|
+
};
|
|
2507
|
+
__name(_CreateCellCommand, "CreateCellCommand");
|
|
2508
|
+
var CreateCellCommand = _CreateCellCommand;
|
|
2509
|
+
|
|
2510
|
+
// src/commands/CreateCrossAccountAuthorizationCommand.ts
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
|
|
2515
|
+
var _CreateCrossAccountAuthorizationCommand = class _CreateCrossAccountAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2516
|
+
...commonParams
|
|
2517
|
+
}).m(function(Command, cs, config, o) {
|
|
2518
|
+
return [
|
|
2519
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2520
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2521
|
+
];
|
|
2522
|
+
}).s("Route53RecoveryReadiness", "CreateCrossAccountAuthorization", {}).n("Route53RecoveryReadinessClient", "CreateCrossAccountAuthorizationCommand").f(void 0, void 0).ser(se_CreateCrossAccountAuthorizationCommand).de(de_CreateCrossAccountAuthorizationCommand).build() {
|
|
2523
|
+
};
|
|
2524
|
+
__name(_CreateCrossAccountAuthorizationCommand, "CreateCrossAccountAuthorizationCommand");
|
|
2525
|
+
var CreateCrossAccountAuthorizationCommand = _CreateCrossAccountAuthorizationCommand;
|
|
2526
|
+
|
|
2527
|
+
// src/commands/CreateReadinessCheckCommand.ts
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
var _CreateReadinessCheckCommand = class _CreateReadinessCheckCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2533
|
+
...commonParams
|
|
2534
|
+
}).m(function(Command, cs, config, o) {
|
|
2535
|
+
return [
|
|
2536
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2537
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2538
|
+
];
|
|
2539
|
+
}).s("Route53RecoveryReadiness", "CreateReadinessCheck", {}).n("Route53RecoveryReadinessClient", "CreateReadinessCheckCommand").f(void 0, void 0).ser(se_CreateReadinessCheckCommand).de(de_CreateReadinessCheckCommand).build() {
|
|
2540
|
+
};
|
|
2541
|
+
__name(_CreateReadinessCheckCommand, "CreateReadinessCheckCommand");
|
|
2542
|
+
var CreateReadinessCheckCommand = _CreateReadinessCheckCommand;
|
|
2543
|
+
|
|
2544
|
+
// src/commands/CreateRecoveryGroupCommand.ts
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
var _CreateRecoveryGroupCommand = class _CreateRecoveryGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2550
|
+
...commonParams
|
|
2551
|
+
}).m(function(Command, cs, config, o) {
|
|
2552
|
+
return [
|
|
2553
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2554
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2555
|
+
];
|
|
2556
|
+
}).s("Route53RecoveryReadiness", "CreateRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "CreateRecoveryGroupCommand").f(void 0, void 0).ser(se_CreateRecoveryGroupCommand).de(de_CreateRecoveryGroupCommand).build() {
|
|
2557
|
+
};
|
|
2558
|
+
__name(_CreateRecoveryGroupCommand, "CreateRecoveryGroupCommand");
|
|
2559
|
+
var CreateRecoveryGroupCommand = _CreateRecoveryGroupCommand;
|
|
2560
|
+
|
|
2561
|
+
// src/commands/CreateResourceSetCommand.ts
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
var _CreateResourceSetCommand = class _CreateResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2567
|
+
...commonParams
|
|
2568
|
+
}).m(function(Command, cs, config, o) {
|
|
2569
|
+
return [
|
|
2570
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2571
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2572
|
+
];
|
|
2573
|
+
}).s("Route53RecoveryReadiness", "CreateResourceSet", {}).n("Route53RecoveryReadinessClient", "CreateResourceSetCommand").f(void 0, void 0).ser(se_CreateResourceSetCommand).de(de_CreateResourceSetCommand).build() {
|
|
2574
|
+
};
|
|
2575
|
+
__name(_CreateResourceSetCommand, "CreateResourceSetCommand");
|
|
2576
|
+
var CreateResourceSetCommand = _CreateResourceSetCommand;
|
|
2577
|
+
|
|
2578
|
+
// src/commands/DeleteCellCommand.ts
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
var _DeleteCellCommand = class _DeleteCellCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2584
|
+
...commonParams
|
|
2585
|
+
}).m(function(Command, cs, config, o) {
|
|
2586
|
+
return [
|
|
2587
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2588
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2589
|
+
];
|
|
2590
|
+
}).s("Route53RecoveryReadiness", "DeleteCell", {}).n("Route53RecoveryReadinessClient", "DeleteCellCommand").f(void 0, void 0).ser(se_DeleteCellCommand).de(de_DeleteCellCommand).build() {
|
|
2591
|
+
};
|
|
2592
|
+
__name(_DeleteCellCommand, "DeleteCellCommand");
|
|
2593
|
+
var DeleteCellCommand = _DeleteCellCommand;
|
|
2594
|
+
|
|
2595
|
+
// src/commands/DeleteCrossAccountAuthorizationCommand.ts
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
var _DeleteCrossAccountAuthorizationCommand = class _DeleteCrossAccountAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2601
|
+
...commonParams
|
|
2602
|
+
}).m(function(Command, cs, config, o) {
|
|
2603
|
+
return [
|
|
2604
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2605
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2606
|
+
];
|
|
2607
|
+
}).s("Route53RecoveryReadiness", "DeleteCrossAccountAuthorization", {}).n("Route53RecoveryReadinessClient", "DeleteCrossAccountAuthorizationCommand").f(void 0, void 0).ser(se_DeleteCrossAccountAuthorizationCommand).de(de_DeleteCrossAccountAuthorizationCommand).build() {
|
|
2608
|
+
};
|
|
2609
|
+
__name(_DeleteCrossAccountAuthorizationCommand, "DeleteCrossAccountAuthorizationCommand");
|
|
2610
|
+
var DeleteCrossAccountAuthorizationCommand = _DeleteCrossAccountAuthorizationCommand;
|
|
2611
|
+
|
|
2612
|
+
// src/commands/DeleteReadinessCheckCommand.ts
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
var _DeleteReadinessCheckCommand = class _DeleteReadinessCheckCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2618
|
+
...commonParams
|
|
2619
|
+
}).m(function(Command, cs, config, o) {
|
|
2620
|
+
return [
|
|
2621
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2622
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2623
|
+
];
|
|
2624
|
+
}).s("Route53RecoveryReadiness", "DeleteReadinessCheck", {}).n("Route53RecoveryReadinessClient", "DeleteReadinessCheckCommand").f(void 0, void 0).ser(se_DeleteReadinessCheckCommand).de(de_DeleteReadinessCheckCommand).build() {
|
|
2625
|
+
};
|
|
2626
|
+
__name(_DeleteReadinessCheckCommand, "DeleteReadinessCheckCommand");
|
|
2627
|
+
var DeleteReadinessCheckCommand = _DeleteReadinessCheckCommand;
|
|
2628
|
+
|
|
2629
|
+
// src/commands/DeleteRecoveryGroupCommand.ts
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
var _DeleteRecoveryGroupCommand = class _DeleteRecoveryGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2635
|
+
...commonParams
|
|
2636
|
+
}).m(function(Command, cs, config, o) {
|
|
2637
|
+
return [
|
|
2638
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2639
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2640
|
+
];
|
|
2641
|
+
}).s("Route53RecoveryReadiness", "DeleteRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "DeleteRecoveryGroupCommand").f(void 0, void 0).ser(se_DeleteRecoveryGroupCommand).de(de_DeleteRecoveryGroupCommand).build() {
|
|
2642
|
+
};
|
|
2643
|
+
__name(_DeleteRecoveryGroupCommand, "DeleteRecoveryGroupCommand");
|
|
2644
|
+
var DeleteRecoveryGroupCommand = _DeleteRecoveryGroupCommand;
|
|
2645
|
+
|
|
2646
|
+
// src/commands/DeleteResourceSetCommand.ts
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
var _DeleteResourceSetCommand = class _DeleteResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2652
|
+
...commonParams
|
|
2653
|
+
}).m(function(Command, cs, config, o) {
|
|
2654
|
+
return [
|
|
2655
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2656
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2657
|
+
];
|
|
2658
|
+
}).s("Route53RecoveryReadiness", "DeleteResourceSet", {}).n("Route53RecoveryReadinessClient", "DeleteResourceSetCommand").f(void 0, void 0).ser(se_DeleteResourceSetCommand).de(de_DeleteResourceSetCommand).build() {
|
|
2659
|
+
};
|
|
2660
|
+
__name(_DeleteResourceSetCommand, "DeleteResourceSetCommand");
|
|
2661
|
+
var DeleteResourceSetCommand = _DeleteResourceSetCommand;
|
|
2662
|
+
|
|
2663
|
+
// src/commands/GetArchitectureRecommendationsCommand.ts
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
var _GetArchitectureRecommendationsCommand = class _GetArchitectureRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2669
|
+
...commonParams
|
|
2670
|
+
}).m(function(Command, cs, config, o) {
|
|
2671
|
+
return [
|
|
2672
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2673
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2674
|
+
];
|
|
2675
|
+
}).s("Route53RecoveryReadiness", "GetArchitectureRecommendations", {}).n("Route53RecoveryReadinessClient", "GetArchitectureRecommendationsCommand").f(void 0, void 0).ser(se_GetArchitectureRecommendationsCommand).de(de_GetArchitectureRecommendationsCommand).build() {
|
|
2676
|
+
};
|
|
2677
|
+
__name(_GetArchitectureRecommendationsCommand, "GetArchitectureRecommendationsCommand");
|
|
2678
|
+
var GetArchitectureRecommendationsCommand = _GetArchitectureRecommendationsCommand;
|
|
2679
|
+
|
|
2680
|
+
// src/commands/GetCellCommand.ts
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
var _GetCellCommand = class _GetCellCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2686
|
+
...commonParams
|
|
2687
|
+
}).m(function(Command, cs, config, o) {
|
|
2688
|
+
return [
|
|
2689
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2690
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2691
|
+
];
|
|
2692
|
+
}).s("Route53RecoveryReadiness", "GetCell", {}).n("Route53RecoveryReadinessClient", "GetCellCommand").f(void 0, void 0).ser(se_GetCellCommand).de(de_GetCellCommand).build() {
|
|
2693
|
+
};
|
|
2694
|
+
__name(_GetCellCommand, "GetCellCommand");
|
|
2695
|
+
var GetCellCommand = _GetCellCommand;
|
|
2696
|
+
|
|
2697
|
+
// src/commands/GetCellReadinessSummaryCommand.ts
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
var _GetCellReadinessSummaryCommand = class _GetCellReadinessSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2703
|
+
...commonParams
|
|
2704
|
+
}).m(function(Command, cs, config, o) {
|
|
2705
|
+
return [
|
|
2706
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2707
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2708
|
+
];
|
|
2709
|
+
}).s("Route53RecoveryReadiness", "GetCellReadinessSummary", {}).n("Route53RecoveryReadinessClient", "GetCellReadinessSummaryCommand").f(void 0, void 0).ser(se_GetCellReadinessSummaryCommand).de(de_GetCellReadinessSummaryCommand).build() {
|
|
2710
|
+
};
|
|
2711
|
+
__name(_GetCellReadinessSummaryCommand, "GetCellReadinessSummaryCommand");
|
|
2712
|
+
var GetCellReadinessSummaryCommand = _GetCellReadinessSummaryCommand;
|
|
2713
|
+
|
|
2714
|
+
// src/commands/GetReadinessCheckCommand.ts
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
var _GetReadinessCheckCommand = class _GetReadinessCheckCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2720
|
+
...commonParams
|
|
2721
|
+
}).m(function(Command, cs, config, o) {
|
|
2722
|
+
return [
|
|
2723
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2724
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2725
|
+
];
|
|
2726
|
+
}).s("Route53RecoveryReadiness", "GetReadinessCheck", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckCommand").f(void 0, void 0).ser(se_GetReadinessCheckCommand).de(de_GetReadinessCheckCommand).build() {
|
|
2727
|
+
};
|
|
2728
|
+
__name(_GetReadinessCheckCommand, "GetReadinessCheckCommand");
|
|
2729
|
+
var GetReadinessCheckCommand = _GetReadinessCheckCommand;
|
|
2730
|
+
|
|
2731
|
+
// src/commands/GetReadinessCheckResourceStatusCommand.ts
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
var _GetReadinessCheckResourceStatusCommand = class _GetReadinessCheckResourceStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2737
|
+
...commonParams
|
|
2738
|
+
}).m(function(Command, cs, config, o) {
|
|
2739
|
+
return [
|
|
2740
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2741
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2742
|
+
];
|
|
2743
|
+
}).s("Route53RecoveryReadiness", "GetReadinessCheckResourceStatus", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckResourceStatusCommand").f(void 0, void 0).ser(se_GetReadinessCheckResourceStatusCommand).de(de_GetReadinessCheckResourceStatusCommand).build() {
|
|
2744
|
+
};
|
|
2745
|
+
__name(_GetReadinessCheckResourceStatusCommand, "GetReadinessCheckResourceStatusCommand");
|
|
2746
|
+
var GetReadinessCheckResourceStatusCommand = _GetReadinessCheckResourceStatusCommand;
|
|
2747
|
+
|
|
2748
|
+
// src/commands/GetReadinessCheckStatusCommand.ts
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
var _GetReadinessCheckStatusCommand = class _GetReadinessCheckStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2754
|
+
...commonParams
|
|
2755
|
+
}).m(function(Command, cs, config, o) {
|
|
2756
|
+
return [
|
|
2757
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2758
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2759
|
+
];
|
|
2760
|
+
}).s("Route53RecoveryReadiness", "GetReadinessCheckStatus", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckStatusCommand").f(void 0, void 0).ser(se_GetReadinessCheckStatusCommand).de(de_GetReadinessCheckStatusCommand).build() {
|
|
2761
|
+
};
|
|
2762
|
+
__name(_GetReadinessCheckStatusCommand, "GetReadinessCheckStatusCommand");
|
|
2763
|
+
var GetReadinessCheckStatusCommand = _GetReadinessCheckStatusCommand;
|
|
2764
|
+
|
|
2765
|
+
// src/commands/GetRecoveryGroupCommand.ts
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
var _GetRecoveryGroupCommand = class _GetRecoveryGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2771
|
+
...commonParams
|
|
2772
|
+
}).m(function(Command, cs, config, o) {
|
|
2773
|
+
return [
|
|
2774
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2775
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2776
|
+
];
|
|
2777
|
+
}).s("Route53RecoveryReadiness", "GetRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "GetRecoveryGroupCommand").f(void 0, void 0).ser(se_GetRecoveryGroupCommand).de(de_GetRecoveryGroupCommand).build() {
|
|
2778
|
+
};
|
|
2779
|
+
__name(_GetRecoveryGroupCommand, "GetRecoveryGroupCommand");
|
|
2780
|
+
var GetRecoveryGroupCommand = _GetRecoveryGroupCommand;
|
|
2781
|
+
|
|
2782
|
+
// src/commands/GetRecoveryGroupReadinessSummaryCommand.ts
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
var _GetRecoveryGroupReadinessSummaryCommand = class _GetRecoveryGroupReadinessSummaryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2788
|
+
...commonParams
|
|
2789
|
+
}).m(function(Command, cs, config, o) {
|
|
2790
|
+
return [
|
|
2791
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2792
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2793
|
+
];
|
|
2794
|
+
}).s("Route53RecoveryReadiness", "GetRecoveryGroupReadinessSummary", {}).n("Route53RecoveryReadinessClient", "GetRecoveryGroupReadinessSummaryCommand").f(void 0, void 0).ser(se_GetRecoveryGroupReadinessSummaryCommand).de(de_GetRecoveryGroupReadinessSummaryCommand).build() {
|
|
2795
|
+
};
|
|
2796
|
+
__name(_GetRecoveryGroupReadinessSummaryCommand, "GetRecoveryGroupReadinessSummaryCommand");
|
|
2797
|
+
var GetRecoveryGroupReadinessSummaryCommand = _GetRecoveryGroupReadinessSummaryCommand;
|
|
2798
|
+
|
|
2799
|
+
// src/commands/GetResourceSetCommand.ts
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
var _GetResourceSetCommand = class _GetResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2805
|
+
...commonParams
|
|
2806
|
+
}).m(function(Command, cs, config, o) {
|
|
2807
|
+
return [
|
|
2808
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2809
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2810
|
+
];
|
|
2811
|
+
}).s("Route53RecoveryReadiness", "GetResourceSet", {}).n("Route53RecoveryReadinessClient", "GetResourceSetCommand").f(void 0, void 0).ser(se_GetResourceSetCommand).de(de_GetResourceSetCommand).build() {
|
|
2812
|
+
};
|
|
2813
|
+
__name(_GetResourceSetCommand, "GetResourceSetCommand");
|
|
2814
|
+
var GetResourceSetCommand = _GetResourceSetCommand;
|
|
2815
|
+
|
|
2816
|
+
// src/commands/ListCellsCommand.ts
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
var _ListCellsCommand = class _ListCellsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2822
|
+
...commonParams
|
|
2823
|
+
}).m(function(Command, cs, config, o) {
|
|
2824
|
+
return [
|
|
2825
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2826
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2827
|
+
];
|
|
2828
|
+
}).s("Route53RecoveryReadiness", "ListCells", {}).n("Route53RecoveryReadinessClient", "ListCellsCommand").f(void 0, void 0).ser(se_ListCellsCommand).de(de_ListCellsCommand).build() {
|
|
2829
|
+
};
|
|
2830
|
+
__name(_ListCellsCommand, "ListCellsCommand");
|
|
2831
|
+
var ListCellsCommand = _ListCellsCommand;
|
|
2832
|
+
|
|
2833
|
+
// src/commands/ListCrossAccountAuthorizationsCommand.ts
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
var _ListCrossAccountAuthorizationsCommand = class _ListCrossAccountAuthorizationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2839
|
+
...commonParams
|
|
2840
|
+
}).m(function(Command, cs, config, o) {
|
|
2841
|
+
return [
|
|
2842
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2843
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2844
|
+
];
|
|
2845
|
+
}).s("Route53RecoveryReadiness", "ListCrossAccountAuthorizations", {}).n("Route53RecoveryReadinessClient", "ListCrossAccountAuthorizationsCommand").f(void 0, void 0).ser(se_ListCrossAccountAuthorizationsCommand).de(de_ListCrossAccountAuthorizationsCommand).build() {
|
|
2846
|
+
};
|
|
2847
|
+
__name(_ListCrossAccountAuthorizationsCommand, "ListCrossAccountAuthorizationsCommand");
|
|
2848
|
+
var ListCrossAccountAuthorizationsCommand = _ListCrossAccountAuthorizationsCommand;
|
|
2849
|
+
|
|
2850
|
+
// src/commands/ListReadinessChecksCommand.ts
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
var _ListReadinessChecksCommand = class _ListReadinessChecksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2856
|
+
...commonParams
|
|
2857
|
+
}).m(function(Command, cs, config, o) {
|
|
2858
|
+
return [
|
|
2859
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2860
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2861
|
+
];
|
|
2862
|
+
}).s("Route53RecoveryReadiness", "ListReadinessChecks", {}).n("Route53RecoveryReadinessClient", "ListReadinessChecksCommand").f(void 0, void 0).ser(se_ListReadinessChecksCommand).de(de_ListReadinessChecksCommand).build() {
|
|
2863
|
+
};
|
|
2864
|
+
__name(_ListReadinessChecksCommand, "ListReadinessChecksCommand");
|
|
2865
|
+
var ListReadinessChecksCommand = _ListReadinessChecksCommand;
|
|
2866
|
+
|
|
2867
|
+
// src/commands/ListRecoveryGroupsCommand.ts
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
var _ListRecoveryGroupsCommand = class _ListRecoveryGroupsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2873
|
+
...commonParams
|
|
2874
|
+
}).m(function(Command, cs, config, o) {
|
|
2875
|
+
return [
|
|
2876
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2877
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2878
|
+
];
|
|
2879
|
+
}).s("Route53RecoveryReadiness", "ListRecoveryGroups", {}).n("Route53RecoveryReadinessClient", "ListRecoveryGroupsCommand").f(void 0, void 0).ser(se_ListRecoveryGroupsCommand).de(de_ListRecoveryGroupsCommand).build() {
|
|
2880
|
+
};
|
|
2881
|
+
__name(_ListRecoveryGroupsCommand, "ListRecoveryGroupsCommand");
|
|
2882
|
+
var ListRecoveryGroupsCommand = _ListRecoveryGroupsCommand;
|
|
2883
|
+
|
|
2884
|
+
// src/commands/ListResourceSetsCommand.ts
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
var _ListResourceSetsCommand = class _ListResourceSetsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2890
|
+
...commonParams
|
|
2891
|
+
}).m(function(Command, cs, config, o) {
|
|
2892
|
+
return [
|
|
2893
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2894
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2895
|
+
];
|
|
2896
|
+
}).s("Route53RecoveryReadiness", "ListResourceSets", {}).n("Route53RecoveryReadinessClient", "ListResourceSetsCommand").f(void 0, void 0).ser(se_ListResourceSetsCommand).de(de_ListResourceSetsCommand).build() {
|
|
2897
|
+
};
|
|
2898
|
+
__name(_ListResourceSetsCommand, "ListResourceSetsCommand");
|
|
2899
|
+
var ListResourceSetsCommand = _ListResourceSetsCommand;
|
|
2900
|
+
|
|
2901
|
+
// src/commands/ListRulesCommand.ts
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
var _ListRulesCommand = class _ListRulesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2907
|
+
...commonParams
|
|
2908
|
+
}).m(function(Command, cs, config, o) {
|
|
2909
|
+
return [
|
|
2910
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2911
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2912
|
+
];
|
|
2913
|
+
}).s("Route53RecoveryReadiness", "ListRules", {}).n("Route53RecoveryReadinessClient", "ListRulesCommand").f(void 0, void 0).ser(se_ListRulesCommand).de(de_ListRulesCommand).build() {
|
|
2914
|
+
};
|
|
2915
|
+
__name(_ListRulesCommand, "ListRulesCommand");
|
|
2916
|
+
var ListRulesCommand = _ListRulesCommand;
|
|
2917
|
+
|
|
2918
|
+
// src/commands/ListTagsForResourcesCommand.ts
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
|
|
2923
|
+
var _ListTagsForResourcesCommand = class _ListTagsForResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2924
|
+
...commonParams
|
|
2925
|
+
}).m(function(Command, cs, config, o) {
|
|
2926
|
+
return [
|
|
2927
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2928
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2929
|
+
];
|
|
2930
|
+
}).s("Route53RecoveryReadiness", "ListTagsForResources", {}).n("Route53RecoveryReadinessClient", "ListTagsForResourcesCommand").f(void 0, void 0).ser(se_ListTagsForResourcesCommand).de(de_ListTagsForResourcesCommand).build() {
|
|
2931
|
+
};
|
|
2932
|
+
__name(_ListTagsForResourcesCommand, "ListTagsForResourcesCommand");
|
|
2933
|
+
var ListTagsForResourcesCommand = _ListTagsForResourcesCommand;
|
|
2934
|
+
|
|
2935
|
+
// src/commands/TagResourceCommand.ts
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2941
|
+
...commonParams
|
|
2942
|
+
}).m(function(Command, cs, config, o) {
|
|
2943
|
+
return [
|
|
2944
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2945
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2946
|
+
];
|
|
2947
|
+
}).s("Route53RecoveryReadiness", "TagResource", {}).n("Route53RecoveryReadinessClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2948
|
+
};
|
|
2949
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2950
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2951
|
+
|
|
2952
|
+
// src/commands/UntagResourceCommand.ts
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2958
|
+
...commonParams
|
|
2959
|
+
}).m(function(Command, cs, config, o) {
|
|
2960
|
+
return [
|
|
2961
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2962
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2963
|
+
];
|
|
2964
|
+
}).s("Route53RecoveryReadiness", "UntagResource", {}).n("Route53RecoveryReadinessClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2965
|
+
};
|
|
2966
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2967
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2968
|
+
|
|
2969
|
+
// src/commands/UpdateCellCommand.ts
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
var _UpdateCellCommand = class _UpdateCellCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2975
|
+
...commonParams
|
|
2976
|
+
}).m(function(Command, cs, config, o) {
|
|
2977
|
+
return [
|
|
2978
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2979
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2980
|
+
];
|
|
2981
|
+
}).s("Route53RecoveryReadiness", "UpdateCell", {}).n("Route53RecoveryReadinessClient", "UpdateCellCommand").f(void 0, void 0).ser(se_UpdateCellCommand).de(de_UpdateCellCommand).build() {
|
|
2982
|
+
};
|
|
2983
|
+
__name(_UpdateCellCommand, "UpdateCellCommand");
|
|
2984
|
+
var UpdateCellCommand = _UpdateCellCommand;
|
|
2985
|
+
|
|
2986
|
+
// src/commands/UpdateReadinessCheckCommand.ts
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
|
|
2991
|
+
var _UpdateReadinessCheckCommand = class _UpdateReadinessCheckCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2992
|
+
...commonParams
|
|
2993
|
+
}).m(function(Command, cs, config, o) {
|
|
2994
|
+
return [
|
|
2995
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2996
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2997
|
+
];
|
|
2998
|
+
}).s("Route53RecoveryReadiness", "UpdateReadinessCheck", {}).n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand").f(void 0, void 0).ser(se_UpdateReadinessCheckCommand).de(de_UpdateReadinessCheckCommand).build() {
|
|
2999
|
+
};
|
|
3000
|
+
__name(_UpdateReadinessCheckCommand, "UpdateReadinessCheckCommand");
|
|
3001
|
+
var UpdateReadinessCheckCommand = _UpdateReadinessCheckCommand;
|
|
3002
|
+
|
|
3003
|
+
// src/commands/UpdateRecoveryGroupCommand.ts
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
var _UpdateRecoveryGroupCommand = class _UpdateRecoveryGroupCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3009
|
+
...commonParams
|
|
3010
|
+
}).m(function(Command, cs, config, o) {
|
|
3011
|
+
return [
|
|
3012
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3013
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3014
|
+
];
|
|
3015
|
+
}).s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand").f(void 0, void 0).ser(se_UpdateRecoveryGroupCommand).de(de_UpdateRecoveryGroupCommand).build() {
|
|
3016
|
+
};
|
|
3017
|
+
__name(_UpdateRecoveryGroupCommand, "UpdateRecoveryGroupCommand");
|
|
3018
|
+
var UpdateRecoveryGroupCommand = _UpdateRecoveryGroupCommand;
|
|
3019
|
+
|
|
3020
|
+
// src/commands/UpdateResourceSetCommand.ts
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
var _UpdateResourceSetCommand = class _UpdateResourceSetCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3026
|
+
...commonParams
|
|
3027
|
+
}).m(function(Command, cs, config, o) {
|
|
3028
|
+
return [
|
|
3029
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3030
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3031
|
+
];
|
|
3032
|
+
}).s("Route53RecoveryReadiness", "UpdateResourceSet", {}).n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand").f(void 0, void 0).ser(se_UpdateResourceSetCommand).de(de_UpdateResourceSetCommand).build() {
|
|
3033
|
+
};
|
|
3034
|
+
__name(_UpdateResourceSetCommand, "UpdateResourceSetCommand");
|
|
3035
|
+
var UpdateResourceSetCommand = _UpdateResourceSetCommand;
|
|
3036
|
+
|
|
3037
|
+
// src/Route53RecoveryReadiness.ts
|
|
3038
|
+
var commands = {
|
|
3039
|
+
CreateCellCommand,
|
|
3040
|
+
CreateCrossAccountAuthorizationCommand,
|
|
3041
|
+
CreateReadinessCheckCommand,
|
|
3042
|
+
CreateRecoveryGroupCommand,
|
|
3043
|
+
CreateResourceSetCommand,
|
|
3044
|
+
DeleteCellCommand,
|
|
3045
|
+
DeleteCrossAccountAuthorizationCommand,
|
|
3046
|
+
DeleteReadinessCheckCommand,
|
|
3047
|
+
DeleteRecoveryGroupCommand,
|
|
3048
|
+
DeleteResourceSetCommand,
|
|
3049
|
+
GetArchitectureRecommendationsCommand,
|
|
3050
|
+
GetCellCommand,
|
|
3051
|
+
GetCellReadinessSummaryCommand,
|
|
3052
|
+
GetReadinessCheckCommand,
|
|
3053
|
+
GetReadinessCheckResourceStatusCommand,
|
|
3054
|
+
GetReadinessCheckStatusCommand,
|
|
3055
|
+
GetRecoveryGroupCommand,
|
|
3056
|
+
GetRecoveryGroupReadinessSummaryCommand,
|
|
3057
|
+
GetResourceSetCommand,
|
|
3058
|
+
ListCellsCommand,
|
|
3059
|
+
ListCrossAccountAuthorizationsCommand,
|
|
3060
|
+
ListReadinessChecksCommand,
|
|
3061
|
+
ListRecoveryGroupsCommand,
|
|
3062
|
+
ListResourceSetsCommand,
|
|
3063
|
+
ListRulesCommand,
|
|
3064
|
+
ListTagsForResourcesCommand,
|
|
3065
|
+
TagResourceCommand,
|
|
3066
|
+
UntagResourceCommand,
|
|
3067
|
+
UpdateCellCommand,
|
|
3068
|
+
UpdateReadinessCheckCommand,
|
|
3069
|
+
UpdateRecoveryGroupCommand,
|
|
3070
|
+
UpdateResourceSetCommand
|
|
3071
|
+
};
|
|
3072
|
+
var _Route53RecoveryReadiness = class _Route53RecoveryReadiness extends Route53RecoveryReadinessClient {
|
|
3073
|
+
};
|
|
3074
|
+
__name(_Route53RecoveryReadiness, "Route53RecoveryReadiness");
|
|
3075
|
+
var Route53RecoveryReadiness = _Route53RecoveryReadiness;
|
|
3076
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Route53RecoveryReadiness);
|
|
3077
|
+
|
|
3078
|
+
// src/pagination/GetCellReadinessSummaryPaginator.ts
|
|
3079
|
+
|
|
3080
|
+
var paginateGetCellReadinessSummary = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
3081
|
+
|
|
3082
|
+
// src/pagination/GetReadinessCheckResourceStatusPaginator.ts
|
|
3083
|
+
|
|
3084
|
+
var paginateGetReadinessCheckResourceStatus = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
3085
|
+
|
|
3086
|
+
// src/pagination/GetReadinessCheckStatusPaginator.ts
|
|
3087
|
+
|
|
3088
|
+
var paginateGetReadinessCheckStatus = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
|
|
3089
|
+
|
|
3090
|
+
// src/pagination/GetRecoveryGroupReadinessSummaryPaginator.ts
|
|
3091
|
+
|
|
3092
|
+
var paginateGetRecoveryGroupReadinessSummary = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
|
|
3093
|
+
|
|
3094
|
+
// src/pagination/ListCellsPaginator.ts
|
|
3095
|
+
|
|
3096
|
+
var paginateListCells = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListCellsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3097
|
+
|
|
3098
|
+
// src/pagination/ListCrossAccountAuthorizationsPaginator.ts
|
|
3099
|
+
|
|
3100
|
+
var paginateListCrossAccountAuthorizations = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3101
|
+
|
|
3102
|
+
// src/pagination/ListReadinessChecksPaginator.ts
|
|
3103
|
+
|
|
3104
|
+
var paginateListReadinessChecks = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
|
|
3105
|
+
|
|
3106
|
+
// src/pagination/ListRecoveryGroupsPaginator.ts
|
|
3107
|
+
|
|
3108
|
+
var paginateListRecoveryGroups = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3109
|
+
|
|
3110
|
+
// src/pagination/ListResourceSetsPaginator.ts
|
|
3111
|
+
|
|
3112
|
+
var paginateListResourceSets = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListResourceSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3113
|
+
|
|
3114
|
+
// src/pagination/ListRulesPaginator.ts
|
|
3115
|
+
|
|
3116
|
+
var paginateListRules = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3117
|
+
|
|
3118
|
+
// src/index.ts
|
|
3119
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3120
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3121
|
+
0 && (module.exports = {
|
|
3122
|
+
AccessDeniedException,
|
|
3123
|
+
ConflictException,
|
|
3124
|
+
CreateCellCommand,
|
|
3125
|
+
CreateCrossAccountAuthorizationCommand,
|
|
3126
|
+
CreateReadinessCheckCommand,
|
|
3127
|
+
CreateRecoveryGroupCommand,
|
|
3128
|
+
CreateResourceSetCommand,
|
|
3129
|
+
DeleteCellCommand,
|
|
3130
|
+
DeleteCrossAccountAuthorizationCommand,
|
|
3131
|
+
DeleteReadinessCheckCommand,
|
|
3132
|
+
DeleteRecoveryGroupCommand,
|
|
3133
|
+
DeleteResourceSetCommand,
|
|
3134
|
+
GetArchitectureRecommendationsCommand,
|
|
3135
|
+
GetCellCommand,
|
|
3136
|
+
GetCellReadinessSummaryCommand,
|
|
3137
|
+
GetReadinessCheckCommand,
|
|
3138
|
+
GetReadinessCheckResourceStatusCommand,
|
|
3139
|
+
GetReadinessCheckStatusCommand,
|
|
3140
|
+
GetRecoveryGroupCommand,
|
|
3141
|
+
GetRecoveryGroupReadinessSummaryCommand,
|
|
3142
|
+
GetResourceSetCommand,
|
|
3143
|
+
InternalServerException,
|
|
3144
|
+
ListCellsCommand,
|
|
3145
|
+
ListCrossAccountAuthorizationsCommand,
|
|
3146
|
+
ListReadinessChecksCommand,
|
|
3147
|
+
ListRecoveryGroupsCommand,
|
|
3148
|
+
ListResourceSetsCommand,
|
|
3149
|
+
ListRulesCommand,
|
|
3150
|
+
ListTagsForResourcesCommand,
|
|
3151
|
+
Readiness,
|
|
3152
|
+
ResourceNotFoundException,
|
|
3153
|
+
Route53RecoveryReadiness,
|
|
3154
|
+
Route53RecoveryReadinessClient,
|
|
3155
|
+
Route53RecoveryReadinessServiceException,
|
|
3156
|
+
TagResourceCommand,
|
|
3157
|
+
ThrottlingException,
|
|
3158
|
+
UntagResourceCommand,
|
|
3159
|
+
UpdateCellCommand,
|
|
3160
|
+
UpdateReadinessCheckCommand,
|
|
3161
|
+
UpdateRecoveryGroupCommand,
|
|
3162
|
+
UpdateResourceSetCommand,
|
|
3163
|
+
ValidationException,
|
|
3164
|
+
__Client,
|
|
3165
|
+
paginateGetCellReadinessSummary,
|
|
3166
|
+
paginateGetReadinessCheckResourceStatus,
|
|
3167
|
+
paginateGetReadinessCheckStatus,
|
|
3168
|
+
paginateGetRecoveryGroupReadinessSummary,
|
|
3169
|
+
paginateListCells,
|
|
3170
|
+
paginateListCrossAccountAuthorizations,
|
|
3171
|
+
paginateListReadinessChecks,
|
|
3172
|
+
paginateListRecoveryGroups,
|
|
3173
|
+
paginateListResourceSets,
|
|
3174
|
+
paginateListRules
|
|
3175
|
+
});
|