@aws-sdk/client-route53-recovery-readiness 3.901.0 → 3.907.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +2047 -2165
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1,2219 +1,2101 @@
1
- "use strict";
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 index_exports = {};
23
- __export(index_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(index_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_user_agent = require("@aws-sdk/middleware-user-agent");
85
- var import_config_resolver = require("@smithy/config-resolver");
86
- var import_core = require("@smithy/core");
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
- var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
92
-
93
- // src/endpoint/EndpointParameters.ts
94
- var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
95
- return Object.assign(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" }
1
+ 'use strict';
2
+
3
+ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
+ var middlewareLogger = require('@aws-sdk/middleware-logger');
5
+ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
+ var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
+ var configResolver = require('@smithy/config-resolver');
8
+ var core = require('@smithy/core');
9
+ var middlewareContentLength = require('@smithy/middleware-content-length');
10
+ var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
+ var middlewareRetry = require('@smithy/middleware-retry');
12
+ var smithyClient = require('@smithy/smithy-client');
13
+ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
+ var runtimeConfig = require('./runtimeConfig');
15
+ var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
+ var protocolHttp = require('@smithy/protocol-http');
17
+ var middlewareSerde = require('@smithy/middleware-serde');
18
+ var core$1 = require('@aws-sdk/core');
19
+
20
+ const resolveClientEndpointParameters = (options) => {
21
+ return Object.assign(options, {
22
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
23
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
24
+ defaultSigningName: "route53-recovery-readiness",
25
+ });
26
+ };
27
+ const commonParams = {
28
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
29
+ Endpoint: { type: "builtInParams", name: "endpoint" },
30
+ Region: { type: "builtInParams", name: "region" },
31
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
106
32
  };
107
33
 
108
- // src/Route53RecoveryReadinessClient.ts
109
- var import_runtimeConfig = require("././runtimeConfig");
34
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
37
+ let _credentials = runtimeConfig.credentials;
38
+ return {
39
+ setHttpAuthScheme(httpAuthScheme) {
40
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
41
+ if (index === -1) {
42
+ _httpAuthSchemes.push(httpAuthScheme);
43
+ }
44
+ else {
45
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
46
+ }
47
+ },
48
+ httpAuthSchemes() {
49
+ return _httpAuthSchemes;
50
+ },
51
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
52
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
53
+ },
54
+ httpAuthSchemeProvider() {
55
+ return _httpAuthSchemeProvider;
56
+ },
57
+ setCredentials(credentials) {
58
+ _credentials = credentials;
59
+ },
60
+ credentials() {
61
+ return _credentials;
62
+ },
63
+ };
64
+ };
65
+ const resolveHttpAuthRuntimeConfig = (config) => {
66
+ return {
67
+ httpAuthSchemes: config.httpAuthSchemes(),
68
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
69
+ credentials: config.credentials(),
70
+ };
71
+ };
110
72
 
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");
73
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ };
115
78
 
116
- // src/auth/httpAuthExtensionConfiguration.ts
117
- var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
118
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
119
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
120
- let _credentials = runtimeConfig.credentials;
121
- return {
122
- setHttpAuthScheme(httpAuthScheme) {
123
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
124
- if (index === -1) {
125
- _httpAuthSchemes.push(httpAuthScheme);
126
- } else {
127
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
128
- }
129
- },
130
- httpAuthSchemes() {
131
- return _httpAuthSchemes;
132
- },
133
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
134
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
135
- },
136
- httpAuthSchemeProvider() {
137
- return _httpAuthSchemeProvider;
138
- },
139
- setCredentials(credentials) {
140
- _credentials = credentials;
141
- },
142
- credentials() {
143
- return _credentials;
79
+ class Route53RecoveryReadinessClient extends smithyClient.Client {
80
+ config;
81
+ constructor(...[configuration]) {
82
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
83
+ super(_config_0);
84
+ this.initConfig = _config_0;
85
+ const _config_1 = resolveClientEndpointParameters(_config_0);
86
+ const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
+ const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
+ const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
+ this.config = _config_8;
94
+ this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
+ this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
98
+ this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
99
+ this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
100
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
101
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultRoute53RecoveryReadinessHttpAuthSchemeParametersProvider,
102
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
103
+ "aws.auth#sigv4": config.credentials,
104
+ }),
105
+ }));
106
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
144
107
  }
145
- };
146
- }, "getHttpAuthExtensionConfiguration");
147
- var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
148
- return {
149
- httpAuthSchemes: config.httpAuthSchemes(),
150
- httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
151
- credentials: config.credentials()
152
- };
153
- }, "resolveHttpAuthRuntimeConfig");
108
+ destroy() {
109
+ super.destroy();
110
+ }
111
+ }
154
112
 
155
- // src/runtimeExtensions.ts
156
- var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
157
- const extensionConfiguration = Object.assign(
158
- (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
159
- (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
160
- (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
161
- getHttpAuthExtensionConfiguration(runtimeConfig)
162
- );
163
- extensions.forEach((extension) => extension.configure(extensionConfiguration));
164
- return Object.assign(
165
- runtimeConfig,
166
- (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
167
- (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
168
- (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
169
- resolveHttpAuthRuntimeConfig(extensionConfiguration)
170
- );
171
- }, "resolveRuntimeExtensions");
113
+ class Route53RecoveryReadinessServiceException extends smithyClient.ServiceException {
114
+ constructor(options) {
115
+ super(options);
116
+ Object.setPrototypeOf(this, Route53RecoveryReadinessServiceException.prototype);
117
+ }
118
+ }
172
119
 
173
- // src/Route53RecoveryReadinessClient.ts
174
- var Route53RecoveryReadinessClient = class extends import_smithy_client.Client {
175
- static {
176
- __name(this, "Route53RecoveryReadinessClient");
177
- }
178
- /**
179
- * The resolved configuration of Route53RecoveryReadinessClient class. This is resolved and normalized from the {@link Route53RecoveryReadinessClientConfig | constructor configuration interface}.
180
- */
181
- config;
182
- constructor(...[configuration]) {
183
- const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
184
- super(_config_0);
185
- this.initConfig = _config_0;
186
- const _config_1 = resolveClientEndpointParameters(_config_0);
187
- const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
188
- const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
189
- const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
190
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
191
- const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
192
- const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
193
- const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
194
- this.config = _config_8;
195
- this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
196
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
197
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
198
- this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
199
- this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
200
- this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
201
- this.middlewareStack.use(
202
- (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
203
- httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultRoute53RecoveryReadinessHttpAuthSchemeParametersProvider,
204
- identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
205
- "aws.auth#sigv4": config.credentials
206
- }), "identityProviderConfigProvider")
207
- })
208
- );
209
- this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
210
- }
211
- /**
212
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
213
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
214
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
215
- */
216
- destroy() {
217
- super.destroy();
218
- }
120
+ const Readiness = {
121
+ NOT_AUTHORIZED: "NOT_AUTHORIZED",
122
+ NOT_READY: "NOT_READY",
123
+ READY: "READY",
124
+ UNKNOWN: "UNKNOWN",
219
125
  };
220
-
221
- // src/Route53RecoveryReadiness.ts
222
-
223
-
224
- // src/commands/CreateCellCommand.ts
225
-
226
- var import_middleware_serde = require("@smithy/middleware-serde");
227
-
228
-
229
- // src/protocols/Aws_restJson1.ts
230
- var import_core2 = require("@aws-sdk/core");
231
-
232
-
233
-
234
- // src/models/Route53RecoveryReadinessServiceException.ts
235
-
236
- var Route53RecoveryReadinessServiceException = class _Route53RecoveryReadinessServiceException extends import_smithy_client.ServiceException {
237
- static {
238
- __name(this, "Route53RecoveryReadinessServiceException");
239
- }
240
- /**
241
- * @internal
242
- */
243
- constructor(options) {
244
- super(options);
245
- Object.setPrototypeOf(this, _Route53RecoveryReadinessServiceException.prototype);
246
- }
126
+ class AccessDeniedException extends Route53RecoveryReadinessServiceException {
127
+ name = "AccessDeniedException";
128
+ $fault = "client";
129
+ Message;
130
+ constructor(opts) {
131
+ super({
132
+ name: "AccessDeniedException",
133
+ $fault: "client",
134
+ ...opts,
135
+ });
136
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ class ConflictException extends Route53RecoveryReadinessServiceException {
141
+ name = "ConflictException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "ConflictException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, ConflictException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ class InternalServerException extends Route53RecoveryReadinessServiceException {
155
+ name = "InternalServerException";
156
+ $fault = "server";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "InternalServerException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, InternalServerException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ class ThrottlingException extends Route53RecoveryReadinessServiceException {
169
+ name = "ThrottlingException";
170
+ $fault = "client";
171
+ Message;
172
+ constructor(opts) {
173
+ super({
174
+ name: "ThrottlingException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
182
+ class ValidationException extends Route53RecoveryReadinessServiceException {
183
+ name = "ValidationException";
184
+ $fault = "client";
185
+ Message;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ValidationException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ValidationException.prototype);
193
+ this.Message = opts.Message;
194
+ }
195
+ }
196
+ class ResourceNotFoundException extends Route53RecoveryReadinessServiceException {
197
+ name = "ResourceNotFoundException";
198
+ $fault = "client";
199
+ Message;
200
+ constructor(opts) {
201
+ super({
202
+ name: "ResourceNotFoundException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
210
+
211
+ const se_CreateCellCommand = async (input, context) => {
212
+ const b = core.requestBuilder(input, context);
213
+ const headers = {
214
+ "content-type": "application/json",
215
+ };
216
+ b.bp("/cells");
217
+ let body;
218
+ body = JSON.stringify(smithyClient.take(input, {
219
+ cellName: [, , `CellName`],
220
+ cells: [, (_) => smithyClient._json(_), `Cells`],
221
+ tags: [, (_) => smithyClient._json(_), `Tags`],
222
+ }));
223
+ b.m("POST").h(headers).b(body);
224
+ return b.build();
247
225
  };
248
-
249
- // src/models/models_0.ts
250
- var Readiness = {
251
- NOT_AUTHORIZED: "NOT_AUTHORIZED",
252
- NOT_READY: "NOT_READY",
253
- READY: "READY",
254
- UNKNOWN: "UNKNOWN"
255
- };
256
- var AccessDeniedException = class _AccessDeniedException extends Route53RecoveryReadinessServiceException {
257
- static {
258
- __name(this, "AccessDeniedException");
259
- }
260
- name = "AccessDeniedException";
261
- $fault = "client";
262
- Message;
263
- /**
264
- * @internal
265
- */
266
- constructor(opts) {
267
- super({
268
- name: "AccessDeniedException",
269
- $fault: "client",
270
- ...opts
271
- });
272
- Object.setPrototypeOf(this, _AccessDeniedException.prototype);
273
- this.Message = opts.Message;
274
- }
275
- };
276
- var ConflictException = class _ConflictException extends Route53RecoveryReadinessServiceException {
277
- static {
278
- __name(this, "ConflictException");
279
- }
280
- name = "ConflictException";
281
- $fault = "client";
282
- Message;
283
- /**
284
- * @internal
285
- */
286
- constructor(opts) {
287
- super({
288
- name: "ConflictException",
289
- $fault: "client",
290
- ...opts
291
- });
292
- Object.setPrototypeOf(this, _ConflictException.prototype);
293
- this.Message = opts.Message;
294
- }
295
- };
296
- var InternalServerException = class _InternalServerException extends Route53RecoveryReadinessServiceException {
297
- static {
298
- __name(this, "InternalServerException");
299
- }
300
- name = "InternalServerException";
301
- $fault = "server";
302
- Message;
303
- /**
304
- * @internal
305
- */
306
- constructor(opts) {
307
- super({
308
- name: "InternalServerException",
309
- $fault: "server",
310
- ...opts
311
- });
312
- Object.setPrototypeOf(this, _InternalServerException.prototype);
313
- this.Message = opts.Message;
314
- }
315
- };
316
- var ThrottlingException = class _ThrottlingException extends Route53RecoveryReadinessServiceException {
317
- static {
318
- __name(this, "ThrottlingException");
319
- }
320
- name = "ThrottlingException";
321
- $fault = "client";
322
- Message;
323
- /**
324
- * @internal
325
- */
326
- constructor(opts) {
327
- super({
328
- name: "ThrottlingException",
329
- $fault: "client",
330
- ...opts
331
- });
332
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
333
- this.Message = opts.Message;
334
- }
335
- };
336
- var ValidationException = class _ValidationException extends Route53RecoveryReadinessServiceException {
337
- static {
338
- __name(this, "ValidationException");
339
- }
340
- name = "ValidationException";
341
- $fault = "client";
342
- Message;
343
- /**
344
- * @internal
345
- */
346
- constructor(opts) {
347
- super({
348
- name: "ValidationException",
349
- $fault: "client",
350
- ...opts
351
- });
352
- Object.setPrototypeOf(this, _ValidationException.prototype);
353
- this.Message = opts.Message;
354
- }
355
- };
356
- var ResourceNotFoundException = class _ResourceNotFoundException extends Route53RecoveryReadinessServiceException {
357
- static {
358
- __name(this, "ResourceNotFoundException");
359
- }
360
- name = "ResourceNotFoundException";
361
- $fault = "client";
362
- Message;
363
- /**
364
- * @internal
365
- */
366
- constructor(opts) {
367
- super({
368
- name: "ResourceNotFoundException",
369
- $fault: "client",
370
- ...opts
371
- });
372
- Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
373
- this.Message = opts.Message;
374
- }
226
+ const se_CreateCrossAccountAuthorizationCommand = async (input, context) => {
227
+ const b = core.requestBuilder(input, context);
228
+ const headers = {
229
+ "content-type": "application/json",
230
+ };
231
+ b.bp("/crossaccountauthorizations");
232
+ let body;
233
+ body = JSON.stringify(smithyClient.take(input, {
234
+ crossAccountAuthorization: [, , `CrossAccountAuthorization`],
235
+ }));
236
+ b.m("POST").h(headers).b(body);
237
+ return b.build();
375
238
  };
376
-
377
- // src/protocols/Aws_restJson1.ts
378
- var se_CreateCellCommand = /* @__PURE__ */ __name(async (input, context) => {
379
- const b = (0, import_core.requestBuilder)(input, context);
380
- const headers = {
381
- "content-type": "application/json"
382
- };
383
- b.bp("/cells");
384
- let body;
385
- body = JSON.stringify(
386
- (0, import_smithy_client.take)(input, {
387
- cellName: [, , `CellName`],
388
- cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`],
389
- tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
390
- })
391
- );
392
- b.m("POST").h(headers).b(body);
393
- return b.build();
394
- }, "se_CreateCellCommand");
395
- var se_CreateCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
396
- const b = (0, import_core.requestBuilder)(input, context);
397
- const headers = {
398
- "content-type": "application/json"
399
- };
400
- b.bp("/crossaccountauthorizations");
401
- let body;
402
- body = JSON.stringify(
403
- (0, import_smithy_client.take)(input, {
404
- crossAccountAuthorization: [, , `CrossAccountAuthorization`]
405
- })
406
- );
407
- b.m("POST").h(headers).b(body);
408
- return b.build();
409
- }, "se_CreateCrossAccountAuthorizationCommand");
410
- var se_CreateReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
411
- const b = (0, import_core.requestBuilder)(input, context);
412
- const headers = {
413
- "content-type": "application/json"
414
- };
415
- b.bp("/readinesschecks");
416
- let body;
417
- body = JSON.stringify(
418
- (0, import_smithy_client.take)(input, {
419
- readinessCheckName: [, , `ReadinessCheckName`],
420
- resourceSetName: [, , `ResourceSetName`],
421
- tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
422
- })
423
- );
424
- b.m("POST").h(headers).b(body);
425
- return b.build();
426
- }, "se_CreateReadinessCheckCommand");
427
- var se_CreateRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
428
- const b = (0, import_core.requestBuilder)(input, context);
429
- const headers = {
430
- "content-type": "application/json"
431
- };
432
- b.bp("/recoverygroups");
433
- let body;
434
- body = JSON.stringify(
435
- (0, import_smithy_client.take)(input, {
436
- cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`],
437
- recoveryGroupName: [, , `RecoveryGroupName`],
438
- tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
439
- })
440
- );
441
- b.m("POST").h(headers).b(body);
442
- return b.build();
443
- }, "se_CreateRecoveryGroupCommand");
444
- var se_CreateResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
445
- const b = (0, import_core.requestBuilder)(input, context);
446
- const headers = {
447
- "content-type": "application/json"
448
- };
449
- b.bp("/resourcesets");
450
- let body;
451
- body = JSON.stringify(
452
- (0, import_smithy_client.take)(input, {
453
- resourceSetName: [, , `ResourceSetName`],
454
- resourceSetType: [, , `ResourceSetType`],
455
- resources: [, (_) => se___listOfResource(_, context), `Resources`],
456
- tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
457
- })
458
- );
459
- b.m("POST").h(headers).b(body);
460
- return b.build();
461
- }, "se_CreateResourceSetCommand");
462
- var se_DeleteCellCommand = /* @__PURE__ */ __name(async (input, context) => {
463
- const b = (0, import_core.requestBuilder)(input, context);
464
- const headers = {};
465
- b.bp("/cells/{CellName}");
466
- b.p("CellName", () => input.CellName, "{CellName}", false);
467
- let body;
468
- b.m("DELETE").h(headers).b(body);
469
- return b.build();
470
- }, "se_DeleteCellCommand");
471
- var se_DeleteCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => {
472
- const b = (0, import_core.requestBuilder)(input, context);
473
- const headers = {};
474
- b.bp("/crossaccountauthorizations/{CrossAccountAuthorization}");
475
- b.p("CrossAccountAuthorization", () => input.CrossAccountAuthorization, "{CrossAccountAuthorization}", false);
476
- let body;
477
- b.m("DELETE").h(headers).b(body);
478
- return b.build();
479
- }, "se_DeleteCrossAccountAuthorizationCommand");
480
- var se_DeleteReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
481
- const b = (0, import_core.requestBuilder)(input, context);
482
- const headers = {};
483
- b.bp("/readinesschecks/{ReadinessCheckName}");
484
- b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
485
- let body;
486
- b.m("DELETE").h(headers).b(body);
487
- return b.build();
488
- }, "se_DeleteReadinessCheckCommand");
489
- var se_DeleteRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
490
- const b = (0, import_core.requestBuilder)(input, context);
491
- const headers = {};
492
- b.bp("/recoverygroups/{RecoveryGroupName}");
493
- b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
494
- let body;
495
- b.m("DELETE").h(headers).b(body);
496
- return b.build();
497
- }, "se_DeleteRecoveryGroupCommand");
498
- var se_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
499
- const b = (0, import_core.requestBuilder)(input, context);
500
- const headers = {};
501
- b.bp("/resourcesets/{ResourceSetName}");
502
- b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
503
- let body;
504
- b.m("DELETE").h(headers).b(body);
505
- return b.build();
506
- }, "se_DeleteResourceSetCommand");
507
- var se_GetArchitectureRecommendationsCommand = /* @__PURE__ */ __name(async (input, context) => {
508
- const b = (0, import_core.requestBuilder)(input, context);
509
- const headers = {};
510
- b.bp("/recoverygroups/{RecoveryGroupName}/architectureRecommendations");
511
- b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
512
- const query = (0, import_smithy_client.map)({
513
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
514
- [_nT]: [, input[_NT]]
515
- });
516
- let body;
517
- b.m("GET").h(headers).q(query).b(body);
518
- return b.build();
519
- }, "se_GetArchitectureRecommendationsCommand");
520
- var se_GetCellCommand = /* @__PURE__ */ __name(async (input, context) => {
521
- const b = (0, import_core.requestBuilder)(input, context);
522
- const headers = {};
523
- b.bp("/cells/{CellName}");
524
- b.p("CellName", () => input.CellName, "{CellName}", false);
525
- let body;
526
- b.m("GET").h(headers).b(body);
527
- return b.build();
528
- }, "se_GetCellCommand");
529
- var se_GetCellReadinessSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
530
- const b = (0, import_core.requestBuilder)(input, context);
531
- const headers = {};
532
- b.bp("/cellreadiness/{CellName}");
533
- b.p("CellName", () => input.CellName, "{CellName}", false);
534
- const query = (0, import_smithy_client.map)({
535
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
536
- [_nT]: [, input[_NT]]
537
- });
538
- let body;
539
- b.m("GET").h(headers).q(query).b(body);
540
- return b.build();
541
- }, "se_GetCellReadinessSummaryCommand");
542
- var se_GetReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
543
- const b = (0, import_core.requestBuilder)(input, context);
544
- const headers = {};
545
- b.bp("/readinesschecks/{ReadinessCheckName}");
546
- b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
547
- let body;
548
- b.m("GET").h(headers).b(body);
549
- return b.build();
550
- }, "se_GetReadinessCheckCommand");
551
- var se_GetReadinessCheckResourceStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
552
- const b = (0, import_core.requestBuilder)(input, context);
553
- const headers = {};
554
- b.bp("/readinesschecks/{ReadinessCheckName}/resource/{ResourceIdentifier}/status");
555
- b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
556
- b.p("ResourceIdentifier", () => input.ResourceIdentifier, "{ResourceIdentifier}", false);
557
- const query = (0, import_smithy_client.map)({
558
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
559
- [_nT]: [, input[_NT]]
560
- });
561
- let body;
562
- b.m("GET").h(headers).q(query).b(body);
563
- return b.build();
564
- }, "se_GetReadinessCheckResourceStatusCommand");
565
- var se_GetReadinessCheckStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
566
- const b = (0, import_core.requestBuilder)(input, context);
567
- const headers = {};
568
- b.bp("/readinesschecks/{ReadinessCheckName}/status");
569
- b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
570
- const query = (0, import_smithy_client.map)({
571
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
572
- [_nT]: [, input[_NT]]
573
- });
574
- let body;
575
- b.m("GET").h(headers).q(query).b(body);
576
- return b.build();
577
- }, "se_GetReadinessCheckStatusCommand");
578
- var se_GetRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
579
- const b = (0, import_core.requestBuilder)(input, context);
580
- const headers = {};
581
- b.bp("/recoverygroups/{RecoveryGroupName}");
582
- b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
583
- let body;
584
- b.m("GET").h(headers).b(body);
585
- return b.build();
586
- }, "se_GetRecoveryGroupCommand");
587
- var se_GetRecoveryGroupReadinessSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
588
- const b = (0, import_core.requestBuilder)(input, context);
589
- const headers = {};
590
- b.bp("/recoverygroupreadiness/{RecoveryGroupName}");
591
- b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
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_GetRecoveryGroupReadinessSummaryCommand");
600
- var se_GetResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
601
- const b = (0, import_core.requestBuilder)(input, context);
602
- const headers = {};
603
- b.bp("/resourcesets/{ResourceSetName}");
604
- b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
605
- let body;
606
- b.m("GET").h(headers).b(body);
607
- return b.build();
608
- }, "se_GetResourceSetCommand");
609
- var se_ListCellsCommand = /* @__PURE__ */ __name(async (input, context) => {
610
- const b = (0, import_core.requestBuilder)(input, context);
611
- const headers = {};
612
- b.bp("/cells");
613
- const query = (0, import_smithy_client.map)({
614
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
615
- [_nT]: [, input[_NT]]
616
- });
617
- let body;
618
- b.m("GET").h(headers).q(query).b(body);
619
- return b.build();
620
- }, "se_ListCellsCommand");
621
- var se_ListCrossAccountAuthorizationsCommand = /* @__PURE__ */ __name(async (input, context) => {
622
- const b = (0, import_core.requestBuilder)(input, context);
623
- const headers = {};
624
- b.bp("/crossaccountauthorizations");
625
- const query = (0, import_smithy_client.map)({
626
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
627
- [_nT]: [, input[_NT]]
628
- });
629
- let body;
630
- b.m("GET").h(headers).q(query).b(body);
631
- return b.build();
632
- }, "se_ListCrossAccountAuthorizationsCommand");
633
- var se_ListReadinessChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
634
- const b = (0, import_core.requestBuilder)(input, context);
635
- const headers = {};
636
- b.bp("/readinesschecks");
637
- const query = (0, import_smithy_client.map)({
638
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
639
- [_nT]: [, input[_NT]]
640
- });
641
- let body;
642
- b.m("GET").h(headers).q(query).b(body);
643
- return b.build();
644
- }, "se_ListReadinessChecksCommand");
645
- var se_ListRecoveryGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
646
- const b = (0, import_core.requestBuilder)(input, context);
647
- const headers = {};
648
- b.bp("/recoverygroups");
649
- const query = (0, import_smithy_client.map)({
650
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
651
- [_nT]: [, input[_NT]]
652
- });
653
- let body;
654
- b.m("GET").h(headers).q(query).b(body);
655
- return b.build();
656
- }, "se_ListRecoveryGroupsCommand");
657
- var se_ListResourceSetsCommand = /* @__PURE__ */ __name(async (input, context) => {
658
- const b = (0, import_core.requestBuilder)(input, context);
659
- const headers = {};
660
- b.bp("/resourcesets");
661
- const query = (0, import_smithy_client.map)({
662
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
663
- [_nT]: [, input[_NT]]
664
- });
665
- let body;
666
- b.m("GET").h(headers).q(query).b(body);
667
- return b.build();
668
- }, "se_ListResourceSetsCommand");
669
- var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
670
- const b = (0, import_core.requestBuilder)(input, context);
671
- const headers = {};
672
- b.bp("/rules");
673
- const query = (0, import_smithy_client.map)({
674
- [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
675
- [_nT]: [, input[_NT]],
676
- [_rT]: [, input[_RT]]
677
- });
678
- let body;
679
- b.m("GET").h(headers).q(query).b(body);
680
- return b.build();
681
- }, "se_ListRulesCommand");
682
- var se_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
683
- const b = (0, import_core.requestBuilder)(input, context);
684
- const headers = {};
685
- b.bp("/tags/{ResourceArn}");
686
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
687
- let body;
688
- b.m("GET").h(headers).b(body);
689
- return b.build();
690
- }, "se_ListTagsForResourcesCommand");
691
- var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
692
- const b = (0, import_core.requestBuilder)(input, context);
693
- const headers = {
694
- "content-type": "application/json"
695
- };
696
- b.bp("/tags/{ResourceArn}");
697
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
698
- let body;
699
- body = JSON.stringify(
700
- (0, import_smithy_client.take)(input, {
701
- tags: [, (_) => (0, import_smithy_client._json)(_), `Tags`]
702
- })
703
- );
704
- b.m("POST").h(headers).b(body);
705
- return b.build();
706
- }, "se_TagResourceCommand");
707
- var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
708
- const b = (0, import_core.requestBuilder)(input, context);
709
- const headers = {};
710
- b.bp("/tags/{ResourceArn}");
711
- b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
712
- const query = (0, import_smithy_client.map)({
713
- [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
714
- });
715
- let body;
716
- b.m("DELETE").h(headers).q(query).b(body);
717
- return b.build();
718
- }, "se_UntagResourceCommand");
719
- var se_UpdateCellCommand = /* @__PURE__ */ __name(async (input, context) => {
720
- const b = (0, import_core.requestBuilder)(input, context);
721
- const headers = {
722
- "content-type": "application/json"
723
- };
724
- b.bp("/cells/{CellName}");
725
- b.p("CellName", () => input.CellName, "{CellName}", false);
726
- let body;
727
- body = JSON.stringify(
728
- (0, import_smithy_client.take)(input, {
729
- cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`]
730
- })
731
- );
732
- b.m("PUT").h(headers).b(body);
733
- return b.build();
734
- }, "se_UpdateCellCommand");
735
- var se_UpdateReadinessCheckCommand = /* @__PURE__ */ __name(async (input, context) => {
736
- const b = (0, import_core.requestBuilder)(input, context);
737
- const headers = {
738
- "content-type": "application/json"
739
- };
740
- b.bp("/readinesschecks/{ReadinessCheckName}");
741
- b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
742
- let body;
743
- body = JSON.stringify(
744
- (0, import_smithy_client.take)(input, {
745
- resourceSetName: [, , `ResourceSetName`]
746
- })
747
- );
748
- b.m("PUT").h(headers).b(body);
749
- return b.build();
750
- }, "se_UpdateReadinessCheckCommand");
751
- var se_UpdateRecoveryGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
752
- const b = (0, import_core.requestBuilder)(input, context);
753
- const headers = {
754
- "content-type": "application/json"
755
- };
756
- b.bp("/recoverygroups/{RecoveryGroupName}");
757
- b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
758
- let body;
759
- body = JSON.stringify(
760
- (0, import_smithy_client.take)(input, {
761
- cells: [, (_) => (0, import_smithy_client._json)(_), `Cells`]
762
- })
763
- );
764
- b.m("PUT").h(headers).b(body);
765
- return b.build();
766
- }, "se_UpdateRecoveryGroupCommand");
767
- var se_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (input, context) => {
768
- const b = (0, import_core.requestBuilder)(input, context);
769
- const headers = {
770
- "content-type": "application/json"
771
- };
772
- b.bp("/resourcesets/{ResourceSetName}");
773
- b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
774
- let body;
775
- body = JSON.stringify(
776
- (0, import_smithy_client.take)(input, {
777
- resourceSetType: [, , `ResourceSetType`],
778
- resources: [, (_) => se___listOfResource(_, context), `Resources`]
779
- })
780
- );
781
- b.m("PUT").h(headers).b(body);
782
- return b.build();
783
- }, "se_UpdateResourceSetCommand");
784
- var de_CreateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
785
- if (output.statusCode !== 200 && output.statusCode >= 300) {
786
- return de_CommandError(output, context);
787
- }
788
- const contents = (0, import_smithy_client.map)({
789
- $metadata: deserializeMetadata(output)
790
- });
791
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
792
- const doc = (0, import_smithy_client.take)(data, {
793
- CellArn: [, import_smithy_client.expectString, `cellArn`],
794
- CellName: [, import_smithy_client.expectString, `cellName`],
795
- Cells: [, import_smithy_client._json, `cells`],
796
- ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
797
- Tags: [, import_smithy_client._json, `tags`]
798
- });
799
- Object.assign(contents, doc);
800
- return contents;
801
- }, "de_CreateCellCommand");
802
- var de_CreateCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
803
- if (output.statusCode !== 200 && output.statusCode >= 300) {
804
- return de_CommandError(output, context);
805
- }
806
- const contents = (0, import_smithy_client.map)({
807
- $metadata: deserializeMetadata(output)
808
- });
809
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
810
- const doc = (0, import_smithy_client.take)(data, {
811
- CrossAccountAuthorization: [, import_smithy_client.expectString, `crossAccountAuthorization`]
812
- });
813
- Object.assign(contents, doc);
814
- return contents;
815
- }, "de_CreateCrossAccountAuthorizationCommand");
816
- var de_CreateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
817
- if (output.statusCode !== 200 && output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const contents = (0, import_smithy_client.map)({
821
- $metadata: deserializeMetadata(output)
822
- });
823
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
824
- const doc = (0, import_smithy_client.take)(data, {
825
- ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
826
- ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
827
- ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
828
- Tags: [, import_smithy_client._json, `tags`]
829
- });
830
- Object.assign(contents, doc);
831
- return contents;
832
- }, "de_CreateReadinessCheckCommand");
833
- var de_CreateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
834
- if (output.statusCode !== 200 && output.statusCode >= 300) {
835
- return de_CommandError(output, context);
836
- }
837
- const contents = (0, import_smithy_client.map)({
838
- $metadata: deserializeMetadata(output)
839
- });
840
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
841
- const doc = (0, import_smithy_client.take)(data, {
842
- Cells: [, import_smithy_client._json, `cells`],
843
- RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
844
- RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
845
- Tags: [, import_smithy_client._json, `tags`]
846
- });
847
- Object.assign(contents, doc);
848
- return contents;
849
- }, "de_CreateRecoveryGroupCommand");
850
- var de_CreateResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
851
- if (output.statusCode !== 200 && output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- const contents = (0, import_smithy_client.map)({
855
- $metadata: deserializeMetadata(output)
856
- });
857
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
858
- const doc = (0, import_smithy_client.take)(data, {
859
- ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
860
- ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
861
- ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
862
- Resources: [, (_) => de___listOfResource(_, context), `resources`],
863
- Tags: [, import_smithy_client._json, `tags`]
864
- });
865
- Object.assign(contents, doc);
866
- return contents;
867
- }, "de_CreateResourceSetCommand");
868
- var de_DeleteCellCommand = /* @__PURE__ */ __name(async (output, context) => {
869
- if (output.statusCode !== 204 && output.statusCode >= 300) {
870
- return de_CommandError(output, context);
871
- }
872
- const contents = (0, import_smithy_client.map)({
873
- $metadata: deserializeMetadata(output)
874
- });
875
- await (0, import_smithy_client.collectBody)(output.body, context);
876
- return contents;
877
- }, "de_DeleteCellCommand");
878
- var de_DeleteCrossAccountAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => {
879
- if (output.statusCode !== 200 && output.statusCode >= 300) {
880
- return de_CommandError(output, context);
881
- }
882
- const contents = (0, import_smithy_client.map)({
883
- $metadata: deserializeMetadata(output)
884
- });
885
- await (0, import_smithy_client.collectBody)(output.body, context);
886
- return contents;
887
- }, "de_DeleteCrossAccountAuthorizationCommand");
888
- var de_DeleteReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
889
- if (output.statusCode !== 204 && output.statusCode >= 300) {
890
- return de_CommandError(output, context);
891
- }
892
- const contents = (0, import_smithy_client.map)({
893
- $metadata: deserializeMetadata(output)
894
- });
895
- await (0, import_smithy_client.collectBody)(output.body, context);
896
- return contents;
897
- }, "de_DeleteReadinessCheckCommand");
898
- var de_DeleteRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
899
- if (output.statusCode !== 204 && output.statusCode >= 300) {
900
- return de_CommandError(output, context);
901
- }
902
- const contents = (0, import_smithy_client.map)({
903
- $metadata: deserializeMetadata(output)
904
- });
905
- await (0, import_smithy_client.collectBody)(output.body, context);
906
- return contents;
907
- }, "de_DeleteRecoveryGroupCommand");
908
- var de_DeleteResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
909
- if (output.statusCode !== 204 && output.statusCode >= 300) {
910
- return de_CommandError(output, context);
911
- }
912
- const contents = (0, import_smithy_client.map)({
913
- $metadata: deserializeMetadata(output)
914
- });
915
- await (0, import_smithy_client.collectBody)(output.body, context);
916
- return contents;
917
- }, "de_DeleteResourceSetCommand");
918
- var de_GetArchitectureRecommendationsCommand = /* @__PURE__ */ __name(async (output, context) => {
919
- if (output.statusCode !== 200 && output.statusCode >= 300) {
920
- return de_CommandError(output, context);
921
- }
922
- const contents = (0, import_smithy_client.map)({
923
- $metadata: deserializeMetadata(output)
924
- });
925
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
926
- const doc = (0, import_smithy_client.take)(data, {
927
- LastAuditTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastAuditTimestamp`],
928
- NextToken: [, import_smithy_client.expectString, `nextToken`],
929
- Recommendations: [, (_) => de___listOfRecommendation(_, context), `recommendations`]
930
- });
931
- Object.assign(contents, doc);
932
- return contents;
933
- }, "de_GetArchitectureRecommendationsCommand");
934
- var de_GetCellCommand = /* @__PURE__ */ __name(async (output, context) => {
935
- if (output.statusCode !== 200 && output.statusCode >= 300) {
936
- return de_CommandError(output, context);
937
- }
938
- const contents = (0, import_smithy_client.map)({
939
- $metadata: deserializeMetadata(output)
940
- });
941
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
942
- const doc = (0, import_smithy_client.take)(data, {
943
- CellArn: [, import_smithy_client.expectString, `cellArn`],
944
- CellName: [, import_smithy_client.expectString, `cellName`],
945
- Cells: [, import_smithy_client._json, `cells`],
946
- ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
947
- Tags: [, import_smithy_client._json, `tags`]
948
- });
949
- Object.assign(contents, doc);
950
- return contents;
951
- }, "de_GetCellCommand");
952
- var de_GetCellReadinessSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
953
- if (output.statusCode !== 200 && output.statusCode >= 300) {
954
- return de_CommandError(output, context);
955
- }
956
- const contents = (0, import_smithy_client.map)({
957
- $metadata: deserializeMetadata(output)
958
- });
959
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
960
- const doc = (0, import_smithy_client.take)(data, {
961
- NextToken: [, import_smithy_client.expectString, `nextToken`],
962
- Readiness: [, import_smithy_client.expectString, `readiness`],
963
- ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_, context), `readinessChecks`]
964
- });
965
- Object.assign(contents, doc);
966
- return contents;
967
- }, "de_GetCellReadinessSummaryCommand");
968
- var de_GetReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
969
- if (output.statusCode !== 200 && output.statusCode >= 300) {
970
- return de_CommandError(output, context);
971
- }
972
- const contents = (0, import_smithy_client.map)({
973
- $metadata: deserializeMetadata(output)
974
- });
975
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
976
- const doc = (0, import_smithy_client.take)(data, {
977
- ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
978
- ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
979
- ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
980
- Tags: [, import_smithy_client._json, `tags`]
981
- });
982
- Object.assign(contents, doc);
983
- return contents;
984
- }, "de_GetReadinessCheckCommand");
985
- var de_GetReadinessCheckResourceStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
986
- if (output.statusCode !== 200 && output.statusCode >= 300) {
987
- return de_CommandError(output, context);
988
- }
989
- const contents = (0, import_smithy_client.map)({
990
- $metadata: deserializeMetadata(output)
991
- });
992
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
993
- const doc = (0, import_smithy_client.take)(data, {
994
- NextToken: [, import_smithy_client.expectString, `nextToken`],
995
- Readiness: [, import_smithy_client.expectString, `readiness`],
996
- Rules: [, (_) => de___listOfRuleResult(_, context), `rules`]
997
- });
998
- Object.assign(contents, doc);
999
- return contents;
1000
- }, "de_GetReadinessCheckResourceStatusCommand");
1001
- var de_GetReadinessCheckStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
1002
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1003
- return de_CommandError(output, context);
1004
- }
1005
- const contents = (0, import_smithy_client.map)({
1006
- $metadata: deserializeMetadata(output)
1007
- });
1008
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1009
- const doc = (0, import_smithy_client.take)(data, {
1010
- Messages: [, (_) => de___listOfMessage(_, context), `messages`],
1011
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1012
- Readiness: [, import_smithy_client.expectString, `readiness`],
1013
- Resources: [, (_) => de___listOfResourceResult(_, context), `resources`]
1014
- });
1015
- Object.assign(contents, doc);
1016
- return contents;
1017
- }, "de_GetReadinessCheckStatusCommand");
1018
- var de_GetRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1019
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1020
- return de_CommandError(output, context);
1021
- }
1022
- const contents = (0, import_smithy_client.map)({
1023
- $metadata: deserializeMetadata(output)
1024
- });
1025
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1026
- const doc = (0, import_smithy_client.take)(data, {
1027
- Cells: [, import_smithy_client._json, `cells`],
1028
- RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
1029
- RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
1030
- Tags: [, import_smithy_client._json, `tags`]
1031
- });
1032
- Object.assign(contents, doc);
1033
- return contents;
1034
- }, "de_GetRecoveryGroupCommand");
1035
- var de_GetRecoveryGroupReadinessSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
1036
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- const contents = (0, import_smithy_client.map)({
1040
- $metadata: deserializeMetadata(output)
1041
- });
1042
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1043
- const doc = (0, import_smithy_client.take)(data, {
1044
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1045
- Readiness: [, import_smithy_client.expectString, `readiness`],
1046
- ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_, context), `readinessChecks`]
1047
- });
1048
- Object.assign(contents, doc);
1049
- return contents;
1050
- }, "de_GetRecoveryGroupReadinessSummaryCommand");
1051
- var de_GetResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1052
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1053
- return de_CommandError(output, context);
1054
- }
1055
- const contents = (0, import_smithy_client.map)({
1056
- $metadata: deserializeMetadata(output)
1057
- });
1058
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1059
- const doc = (0, import_smithy_client.take)(data, {
1060
- ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
1061
- ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
1062
- ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
1063
- Resources: [, (_) => de___listOfResource(_, context), `resources`],
1064
- Tags: [, import_smithy_client._json, `tags`]
1065
- });
1066
- Object.assign(contents, doc);
1067
- return contents;
1068
- }, "de_GetResourceSetCommand");
1069
- var de_ListCellsCommand = /* @__PURE__ */ __name(async (output, context) => {
1070
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1071
- return de_CommandError(output, context);
1072
- }
1073
- const contents = (0, import_smithy_client.map)({
1074
- $metadata: deserializeMetadata(output)
1075
- });
1076
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1077
- const doc = (0, import_smithy_client.take)(data, {
1078
- Cells: [, (_) => de___listOfCellOutput(_, context), `cells`],
1079
- NextToken: [, import_smithy_client.expectString, `nextToken`]
1080
- });
1081
- Object.assign(contents, doc);
1082
- return contents;
1083
- }, "de_ListCellsCommand");
1084
- var de_ListCrossAccountAuthorizationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1085
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1086
- return de_CommandError(output, context);
1087
- }
1088
- const contents = (0, import_smithy_client.map)({
1089
- $metadata: deserializeMetadata(output)
1090
- });
1091
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1092
- const doc = (0, import_smithy_client.take)(data, {
1093
- CrossAccountAuthorizations: [, import_smithy_client._json, `crossAccountAuthorizations`],
1094
- NextToken: [, import_smithy_client.expectString, `nextToken`]
1095
- });
1096
- Object.assign(contents, doc);
1097
- return contents;
1098
- }, "de_ListCrossAccountAuthorizationsCommand");
1099
- var de_ListReadinessChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
1100
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1101
- return de_CommandError(output, context);
1102
- }
1103
- const contents = (0, import_smithy_client.map)({
1104
- $metadata: deserializeMetadata(output)
1105
- });
1106
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1107
- const doc = (0, import_smithy_client.take)(data, {
1108
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1109
- ReadinessChecks: [, (_) => de___listOfReadinessCheckOutput(_, context), `readinessChecks`]
1110
- });
1111
- Object.assign(contents, doc);
1112
- return contents;
1113
- }, "de_ListReadinessChecksCommand");
1114
- var de_ListRecoveryGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1115
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1116
- return de_CommandError(output, context);
1117
- }
1118
- const contents = (0, import_smithy_client.map)({
1119
- $metadata: deserializeMetadata(output)
1120
- });
1121
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1122
- const doc = (0, import_smithy_client.take)(data, {
1123
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1124
- RecoveryGroups: [, (_) => de___listOfRecoveryGroupOutput(_, context), `recoveryGroups`]
1125
- });
1126
- Object.assign(contents, doc);
1127
- return contents;
1128
- }, "de_ListRecoveryGroupsCommand");
1129
- var de_ListResourceSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
1130
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1131
- return de_CommandError(output, context);
1132
- }
1133
- const contents = (0, import_smithy_client.map)({
1134
- $metadata: deserializeMetadata(output)
1135
- });
1136
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1137
- const doc = (0, import_smithy_client.take)(data, {
1138
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1139
- ResourceSets: [, (_) => de___listOfResourceSetOutput(_, context), `resourceSets`]
1140
- });
1141
- Object.assign(contents, doc);
1142
- return contents;
1143
- }, "de_ListResourceSetsCommand");
1144
- var de_ListRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
1145
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1146
- return de_CommandError(output, context);
1147
- }
1148
- const contents = (0, import_smithy_client.map)({
1149
- $metadata: deserializeMetadata(output)
1150
- });
1151
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1152
- const doc = (0, import_smithy_client.take)(data, {
1153
- NextToken: [, import_smithy_client.expectString, `nextToken`],
1154
- Rules: [, (_) => de___listOfListRulesOutput(_, context), `rules`]
1155
- });
1156
- Object.assign(contents, doc);
1157
- return contents;
1158
- }, "de_ListRulesCommand");
1159
- var de_ListTagsForResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
1160
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1161
- return de_CommandError(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 (0, import_core2.parseJsonBody)(output.body, context)), "body");
1167
- const doc = (0, import_smithy_client.take)(data, {
1168
- Tags: [, import_smithy_client._json, `tags`]
1169
- });
1170
- Object.assign(contents, doc);
1171
- return contents;
1172
- }, "de_ListTagsForResourcesCommand");
1173
- var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1174
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1175
- return de_CommandError(output, context);
1176
- }
1177
- const contents = (0, import_smithy_client.map)({
1178
- $metadata: deserializeMetadata(output)
1179
- });
1180
- await (0, import_smithy_client.collectBody)(output.body, context);
1181
- return contents;
1182
- }, "de_TagResourceCommand");
1183
- var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1184
- if (output.statusCode !== 204 && output.statusCode >= 300) {
1185
- return de_CommandError(output, context);
1186
- }
1187
- const contents = (0, import_smithy_client.map)({
1188
- $metadata: deserializeMetadata(output)
1189
- });
1190
- await (0, import_smithy_client.collectBody)(output.body, context);
1191
- return contents;
1192
- }, "de_UntagResourceCommand");
1193
- var de_UpdateCellCommand = /* @__PURE__ */ __name(async (output, context) => {
1194
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1195
- return de_CommandError(output, context);
1196
- }
1197
- const contents = (0, import_smithy_client.map)({
1198
- $metadata: deserializeMetadata(output)
1199
- });
1200
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1201
- const doc = (0, import_smithy_client.take)(data, {
1202
- CellArn: [, import_smithy_client.expectString, `cellArn`],
1203
- CellName: [, import_smithy_client.expectString, `cellName`],
1204
- Cells: [, import_smithy_client._json, `cells`],
1205
- ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
1206
- Tags: [, import_smithy_client._json, `tags`]
1207
- });
1208
- Object.assign(contents, doc);
1209
- return contents;
1210
- }, "de_UpdateCellCommand");
1211
- var de_UpdateReadinessCheckCommand = /* @__PURE__ */ __name(async (output, context) => {
1212
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1213
- return de_CommandError(output, context);
1214
- }
1215
- const contents = (0, import_smithy_client.map)({
1216
- $metadata: deserializeMetadata(output)
1217
- });
1218
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1219
- const doc = (0, import_smithy_client.take)(data, {
1220
- ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
1221
- ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
1222
- ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
1223
- Tags: [, import_smithy_client._json, `tags`]
1224
- });
1225
- Object.assign(contents, doc);
1226
- return contents;
1227
- }, "de_UpdateReadinessCheckCommand");
1228
- var de_UpdateRecoveryGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1229
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1230
- return de_CommandError(output, context);
1231
- }
1232
- const contents = (0, import_smithy_client.map)({
1233
- $metadata: deserializeMetadata(output)
1234
- });
1235
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1236
- const doc = (0, import_smithy_client.take)(data, {
1237
- Cells: [, import_smithy_client._json, `cells`],
1238
- RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
1239
- RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
1240
- Tags: [, import_smithy_client._json, `tags`]
1241
- });
1242
- Object.assign(contents, doc);
1243
- return contents;
1244
- }, "de_UpdateRecoveryGroupCommand");
1245
- var de_UpdateResourceSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1246
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1247
- return de_CommandError(output, context);
1248
- }
1249
- const contents = (0, import_smithy_client.map)({
1250
- $metadata: deserializeMetadata(output)
1251
- });
1252
- const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1253
- const doc = (0, import_smithy_client.take)(data, {
1254
- ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
1255
- ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
1256
- ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
1257
- Resources: [, (_) => de___listOfResource(_, context), `resources`],
1258
- Tags: [, import_smithy_client._json, `tags`]
1259
- });
1260
- Object.assign(contents, doc);
1261
- return contents;
1262
- }, "de_UpdateResourceSetCommand");
1263
- var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1264
- const parsedOutput = {
1265
- ...output,
1266
- body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1267
- };
1268
- const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1269
- switch (errorCode) {
1270
- case "AccessDeniedException":
1271
- case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1272
- throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1273
- case "ConflictException":
1274
- case "com.amazonaws.route53recoveryreadiness#ConflictException":
1275
- throw await de_ConflictExceptionRes(parsedOutput, context);
1276
- case "InternalServerException":
1277
- case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1278
- throw await de_InternalServerExceptionRes(parsedOutput, context);
1279
- case "ThrottlingException":
1280
- case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1281
- throw await de_ThrottlingExceptionRes(parsedOutput, context);
1282
- case "ValidationException":
1283
- case "com.amazonaws.route53recoveryreadiness#ValidationException":
1284
- throw await de_ValidationExceptionRes(parsedOutput, context);
1285
- case "ResourceNotFoundException":
1286
- case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1287
- throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1288
- default:
1289
- const parsedBody = parsedOutput.body;
1290
- return throwDefaultError({
1291
- output,
1292
- parsedBody,
1293
- errorCode
1294
- });
1295
- }
1296
- }, "de_CommandError");
1297
- var throwDefaultError = (0, import_smithy_client.withBaseException)(Route53RecoveryReadinessServiceException);
1298
- var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1299
- const contents = (0, import_smithy_client.map)({});
1300
- const data = parsedOutput.body;
1301
- const doc = (0, import_smithy_client.take)(data, {
1302
- Message: [, import_smithy_client.expectString, `message`]
1303
- });
1304
- Object.assign(contents, doc);
1305
- const exception = new AccessDeniedException({
1306
- $metadata: deserializeMetadata(parsedOutput),
1307
- ...contents
1308
- });
1309
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1310
- }, "de_AccessDeniedExceptionRes");
1311
- var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1312
- const contents = (0, import_smithy_client.map)({});
1313
- const data = parsedOutput.body;
1314
- const doc = (0, import_smithy_client.take)(data, {
1315
- Message: [, import_smithy_client.expectString, `message`]
1316
- });
1317
- Object.assign(contents, doc);
1318
- const exception = new ConflictException({
1319
- $metadata: deserializeMetadata(parsedOutput),
1320
- ...contents
1321
- });
1322
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1323
- }, "de_ConflictExceptionRes");
1324
- var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1325
- const contents = (0, import_smithy_client.map)({});
1326
- const data = parsedOutput.body;
1327
- const doc = (0, import_smithy_client.take)(data, {
1328
- Message: [, import_smithy_client.expectString, `message`]
1329
- });
1330
- Object.assign(contents, doc);
1331
- const exception = new InternalServerException({
1332
- $metadata: deserializeMetadata(parsedOutput),
1333
- ...contents
1334
- });
1335
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1336
- }, "de_InternalServerExceptionRes");
1337
- var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1338
- const contents = (0, import_smithy_client.map)({});
1339
- const data = parsedOutput.body;
1340
- const doc = (0, import_smithy_client.take)(data, {
1341
- Message: [, import_smithy_client.expectString, `message`]
1342
- });
1343
- Object.assign(contents, doc);
1344
- const exception = new ResourceNotFoundException({
1345
- $metadata: deserializeMetadata(parsedOutput),
1346
- ...contents
1347
- });
1348
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1349
- }, "de_ResourceNotFoundExceptionRes");
1350
- var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1351
- const contents = (0, import_smithy_client.map)({});
1352
- const data = parsedOutput.body;
1353
- const doc = (0, import_smithy_client.take)(data, {
1354
- Message: [, import_smithy_client.expectString, `message`]
1355
- });
1356
- Object.assign(contents, doc);
1357
- const exception = new ThrottlingException({
1358
- $metadata: deserializeMetadata(parsedOutput),
1359
- ...contents
1360
- });
1361
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1362
- }, "de_ThrottlingExceptionRes");
1363
- var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1364
- const contents = (0, import_smithy_client.map)({});
1365
- const data = parsedOutput.body;
1366
- const doc = (0, import_smithy_client.take)(data, {
1367
- Message: [, import_smithy_client.expectString, `message`]
1368
- });
1369
- Object.assign(contents, doc);
1370
- const exception = new ValidationException({
1371
- $metadata: deserializeMetadata(parsedOutput),
1372
- ...contents
1373
- });
1374
- return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1375
- }, "de_ValidationExceptionRes");
1376
- var se___listOfResource = /* @__PURE__ */ __name((input, context) => {
1377
- return input.filter((e) => e != null).map((entry) => {
1378
- return se_Resource(entry, context);
1379
- });
1380
- }, "se___listOfResource");
1381
- var se_DNSTargetResource = /* @__PURE__ */ __name((input, context) => {
1382
- return (0, import_smithy_client.take)(input, {
1383
- domainName: [, , `DomainName`],
1384
- hostedZoneArn: [, , `HostedZoneArn`],
1385
- recordSetId: [, , `RecordSetId`],
1386
- recordType: [, , `RecordType`],
1387
- targetResource: [, (_) => se_TargetResource(_, context), `TargetResource`]
1388
- });
1389
- }, "se_DNSTargetResource");
1390
- var se_NLBResource = /* @__PURE__ */ __name((input, context) => {
1391
- return (0, import_smithy_client.take)(input, {
1392
- arn: [, , `Arn`]
1393
- });
1394
- }, "se_NLBResource");
1395
- var se_R53ResourceRecord = /* @__PURE__ */ __name((input, context) => {
1396
- return (0, import_smithy_client.take)(input, {
1397
- domainName: [, , `DomainName`],
1398
- recordSetId: [, , `RecordSetId`]
1399
- });
1400
- }, "se_R53ResourceRecord");
1401
- var se_Resource = /* @__PURE__ */ __name((input, context) => {
1402
- return (0, import_smithy_client.take)(input, {
1403
- componentId: [, , `ComponentId`],
1404
- dnsTargetResource: [, (_) => se_DNSTargetResource(_, context), `DnsTargetResource`],
1405
- readinessScopes: [, import_smithy_client._json, `ReadinessScopes`],
1406
- resourceArn: [, , `ResourceArn`]
1407
- });
1408
- }, "se_Resource");
1409
- var se_TargetResource = /* @__PURE__ */ __name((input, context) => {
1410
- return (0, import_smithy_client.take)(input, {
1411
- nLBResource: [, (_) => se_NLBResource(_, context), `NLBResource`],
1412
- r53Resource: [, (_) => se_R53ResourceRecord(_, context), `R53Resource`]
1413
- });
1414
- }, "se_TargetResource");
1415
- var de___listOfCellOutput = /* @__PURE__ */ __name((output, context) => {
1416
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1417
- return de_CellOutput(entry, context);
1418
- });
1419
- return retVal;
1420
- }, "de___listOfCellOutput");
1421
- var de___listOfListRulesOutput = /* @__PURE__ */ __name((output, context) => {
1422
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1423
- return de_ListRulesOutput(entry, context);
1424
- });
1425
- return retVal;
1426
- }, "de___listOfListRulesOutput");
1427
- var de___listOfMessage = /* @__PURE__ */ __name((output, context) => {
1428
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1429
- return de_Message(entry, context);
1430
- });
1431
- return retVal;
1432
- }, "de___listOfMessage");
1433
- var de___listOfReadinessCheckOutput = /* @__PURE__ */ __name((output, context) => {
1434
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1435
- return de_ReadinessCheckOutput(entry, context);
1436
- });
1437
- return retVal;
1438
- }, "de___listOfReadinessCheckOutput");
1439
- var de___listOfReadinessCheckSummary = /* @__PURE__ */ __name((output, context) => {
1440
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1441
- return de_ReadinessCheckSummary(entry, context);
1442
- });
1443
- return retVal;
1444
- }, "de___listOfReadinessCheckSummary");
1445
- var de___listOfRecommendation = /* @__PURE__ */ __name((output, context) => {
1446
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1447
- return de_Recommendation(entry, context);
1448
- });
1449
- return retVal;
1450
- }, "de___listOfRecommendation");
1451
- var de___listOfRecoveryGroupOutput = /* @__PURE__ */ __name((output, context) => {
1452
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1453
- return de_RecoveryGroupOutput(entry, context);
1454
- });
1455
- return retVal;
1456
- }, "de___listOfRecoveryGroupOutput");
1457
- var de___listOfResource = /* @__PURE__ */ __name((output, context) => {
1458
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1459
- return de_Resource(entry, context);
1460
- });
1461
- return retVal;
1462
- }, "de___listOfResource");
1463
- var de___listOfResourceResult = /* @__PURE__ */ __name((output, context) => {
1464
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1465
- return de_ResourceResult(entry, context);
1466
- });
1467
- return retVal;
1468
- }, "de___listOfResourceResult");
1469
- var de___listOfResourceSetOutput = /* @__PURE__ */ __name((output, context) => {
1470
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1471
- return de_ResourceSetOutput(entry, context);
1472
- });
1473
- return retVal;
1474
- }, "de___listOfResourceSetOutput");
1475
- var de___listOfRuleResult = /* @__PURE__ */ __name((output, context) => {
1476
- const retVal = (output || []).filter((e) => e != null).map((entry) => {
1477
- return de_RuleResult(entry, context);
1478
- });
1479
- return retVal;
1480
- }, "de___listOfRuleResult");
1481
- var de_CellOutput = /* @__PURE__ */ __name((output, context) => {
1482
- return (0, import_smithy_client.take)(output, {
1483
- CellArn: [, import_smithy_client.expectString, `cellArn`],
1484
- CellName: [, import_smithy_client.expectString, `cellName`],
1485
- Cells: [, import_smithy_client._json, `cells`],
1486
- ParentReadinessScopes: [, import_smithy_client._json, `parentReadinessScopes`],
1487
- Tags: [, import_smithy_client._json, `tags`]
1488
- });
1489
- }, "de_CellOutput");
1490
- var de_DNSTargetResource = /* @__PURE__ */ __name((output, context) => {
1491
- return (0, import_smithy_client.take)(output, {
1492
- DomainName: [, import_smithy_client.expectString, `domainName`],
1493
- HostedZoneArn: [, import_smithy_client.expectString, `hostedZoneArn`],
1494
- RecordSetId: [, import_smithy_client.expectString, `recordSetId`],
1495
- RecordType: [, import_smithy_client.expectString, `recordType`],
1496
- TargetResource: [, (_) => de_TargetResource(_, context), `targetResource`]
1497
- });
1498
- }, "de_DNSTargetResource");
1499
- var de_ListRulesOutput = /* @__PURE__ */ __name((output, context) => {
1500
- return (0, import_smithy_client.take)(output, {
1501
- ResourceType: [, import_smithy_client.expectString, `resourceType`],
1502
- RuleDescription: [, import_smithy_client.expectString, `ruleDescription`],
1503
- RuleId: [, import_smithy_client.expectString, `ruleId`]
1504
- });
1505
- }, "de_ListRulesOutput");
1506
- var de_Message = /* @__PURE__ */ __name((output, context) => {
1507
- return (0, import_smithy_client.take)(output, {
1508
- MessageText: [, import_smithy_client.expectString, `messageText`]
1509
- });
1510
- }, "de_Message");
1511
- var de_NLBResource = /* @__PURE__ */ __name((output, context) => {
1512
- return (0, import_smithy_client.take)(output, {
1513
- Arn: [, import_smithy_client.expectString, `arn`]
1514
- });
1515
- }, "de_NLBResource");
1516
- var de_R53ResourceRecord = /* @__PURE__ */ __name((output, context) => {
1517
- return (0, import_smithy_client.take)(output, {
1518
- DomainName: [, import_smithy_client.expectString, `domainName`],
1519
- RecordSetId: [, import_smithy_client.expectString, `recordSetId`]
1520
- });
1521
- }, "de_R53ResourceRecord");
1522
- var de_ReadinessCheckOutput = /* @__PURE__ */ __name((output, context) => {
1523
- return (0, import_smithy_client.take)(output, {
1524
- ReadinessCheckArn: [, import_smithy_client.expectString, `readinessCheckArn`],
1525
- ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`],
1526
- ResourceSet: [, import_smithy_client.expectString, `resourceSet`],
1527
- Tags: [, import_smithy_client._json, `tags`]
1528
- });
1529
- }, "de_ReadinessCheckOutput");
1530
- var de_ReadinessCheckSummary = /* @__PURE__ */ __name((output, context) => {
1531
- return (0, import_smithy_client.take)(output, {
1532
- Readiness: [, import_smithy_client.expectString, `readiness`],
1533
- ReadinessCheckName: [, import_smithy_client.expectString, `readinessCheckName`]
1534
- });
1535
- }, "de_ReadinessCheckSummary");
1536
- var de_Recommendation = /* @__PURE__ */ __name((output, context) => {
1537
- return (0, import_smithy_client.take)(output, {
1538
- RecommendationText: [, import_smithy_client.expectString, `recommendationText`]
1539
- });
1540
- }, "de_Recommendation");
1541
- var de_RecoveryGroupOutput = /* @__PURE__ */ __name((output, context) => {
1542
- return (0, import_smithy_client.take)(output, {
1543
- Cells: [, import_smithy_client._json, `cells`],
1544
- RecoveryGroupArn: [, import_smithy_client.expectString, `recoveryGroupArn`],
1545
- RecoveryGroupName: [, import_smithy_client.expectString, `recoveryGroupName`],
1546
- Tags: [, import_smithy_client._json, `tags`]
1547
- });
1548
- }, "de_RecoveryGroupOutput");
1549
- var de_Resource = /* @__PURE__ */ __name((output, context) => {
1550
- return (0, import_smithy_client.take)(output, {
1551
- ComponentId: [, import_smithy_client.expectString, `componentId`],
1552
- DnsTargetResource: [, (_) => de_DNSTargetResource(_, context), `dnsTargetResource`],
1553
- ReadinessScopes: [, import_smithy_client._json, `readinessScopes`],
1554
- ResourceArn: [, import_smithy_client.expectString, `resourceArn`]
1555
- });
1556
- }, "de_Resource");
1557
- var de_ResourceResult = /* @__PURE__ */ __name((output, context) => {
1558
- return (0, import_smithy_client.take)(output, {
1559
- ComponentId: [, import_smithy_client.expectString, `componentId`],
1560
- LastCheckedTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastCheckedTimestamp`],
1561
- Readiness: [, import_smithy_client.expectString, `readiness`],
1562
- ResourceArn: [, import_smithy_client.expectString, `resourceArn`]
1563
- });
1564
- }, "de_ResourceResult");
1565
- var de_ResourceSetOutput = /* @__PURE__ */ __name((output, context) => {
1566
- return (0, import_smithy_client.take)(output, {
1567
- ResourceSetArn: [, import_smithy_client.expectString, `resourceSetArn`],
1568
- ResourceSetName: [, import_smithy_client.expectString, `resourceSetName`],
1569
- ResourceSetType: [, import_smithy_client.expectString, `resourceSetType`],
1570
- Resources: [, (_) => de___listOfResource(_, context), `resources`],
1571
- Tags: [, import_smithy_client._json, `tags`]
1572
- });
1573
- }, "de_ResourceSetOutput");
1574
- var de_RuleResult = /* @__PURE__ */ __name((output, context) => {
1575
- return (0, import_smithy_client.take)(output, {
1576
- LastCheckedTimestamp: [, (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), `lastCheckedTimestamp`],
1577
- Messages: [, (_) => de___listOfMessage(_, context), `messages`],
1578
- Readiness: [, import_smithy_client.expectString, `readiness`],
1579
- RuleId: [, import_smithy_client.expectString, `ruleId`]
1580
- });
1581
- }, "de_RuleResult");
1582
- var de_TargetResource = /* @__PURE__ */ __name((output, context) => {
1583
- return (0, import_smithy_client.take)(output, {
1584
- NLBResource: [, (_) => de_NLBResource(_, context), `nLBResource`],
1585
- R53Resource: [, (_) => de_R53ResourceRecord(_, context), `r53Resource`]
1586
- });
1587
- }, "de_TargetResource");
1588
- var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1589
- httpStatusCode: output.statusCode,
1590
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1591
- extendedRequestId: output.headers["x-amz-id-2"],
1592
- cfId: output.headers["x-amz-cf-id"]
1593
- }), "deserializeMetadata");
1594
- var _MR = "MaxResults";
1595
- var _NT = "NextToken";
1596
- var _RT = "ResourceType";
1597
- var _TK = "TagKeys";
1598
- var _mR = "maxResults";
1599
- var _nT = "nextToken";
1600
- var _rT = "resourceType";
1601
- var _tK = "tagKeys";
1602
-
1603
- // src/commands/CreateCellCommand.ts
1604
- var CreateCellCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1605
- return [
1606
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1607
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1608
- ];
1609
- }).s("Route53RecoveryReadiness", "CreateCell", {}).n("Route53RecoveryReadinessClient", "CreateCellCommand").f(void 0, void 0).ser(se_CreateCellCommand).de(de_CreateCellCommand).build() {
1610
- static {
1611
- __name(this, "CreateCellCommand");
1612
- }
239
+ const se_CreateReadinessCheckCommand = async (input, context) => {
240
+ const b = core.requestBuilder(input, context);
241
+ const headers = {
242
+ "content-type": "application/json",
243
+ };
244
+ b.bp("/readinesschecks");
245
+ let body;
246
+ body = JSON.stringify(smithyClient.take(input, {
247
+ readinessCheckName: [, , `ReadinessCheckName`],
248
+ resourceSetName: [, , `ResourceSetName`],
249
+ tags: [, (_) => smithyClient._json(_), `Tags`],
250
+ }));
251
+ b.m("POST").h(headers).b(body);
252
+ return b.build();
1613
253
  };
1614
-
1615
- // src/commands/CreateCrossAccountAuthorizationCommand.ts
1616
-
1617
-
1618
-
1619
- var CreateCrossAccountAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1620
- return [
1621
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1622
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1623
- ];
1624
- }).s("Route53RecoveryReadiness", "CreateCrossAccountAuthorization", {}).n("Route53RecoveryReadinessClient", "CreateCrossAccountAuthorizationCommand").f(void 0, void 0).ser(se_CreateCrossAccountAuthorizationCommand).de(de_CreateCrossAccountAuthorizationCommand).build() {
1625
- static {
1626
- __name(this, "CreateCrossAccountAuthorizationCommand");
1627
- }
254
+ const se_CreateRecoveryGroupCommand = async (input, context) => {
255
+ const b = core.requestBuilder(input, context);
256
+ const headers = {
257
+ "content-type": "application/json",
258
+ };
259
+ b.bp("/recoverygroups");
260
+ let body;
261
+ body = JSON.stringify(smithyClient.take(input, {
262
+ cells: [, (_) => smithyClient._json(_), `Cells`],
263
+ recoveryGroupName: [, , `RecoveryGroupName`],
264
+ tags: [, (_) => smithyClient._json(_), `Tags`],
265
+ }));
266
+ b.m("POST").h(headers).b(body);
267
+ return b.build();
1628
268
  };
1629
-
1630
- // src/commands/CreateReadinessCheckCommand.ts
1631
-
1632
-
1633
-
1634
- var CreateReadinessCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1635
- return [
1636
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1637
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1638
- ];
1639
- }).s("Route53RecoveryReadiness", "CreateReadinessCheck", {}).n("Route53RecoveryReadinessClient", "CreateReadinessCheckCommand").f(void 0, void 0).ser(se_CreateReadinessCheckCommand).de(de_CreateReadinessCheckCommand).build() {
1640
- static {
1641
- __name(this, "CreateReadinessCheckCommand");
1642
- }
269
+ const se_CreateResourceSetCommand = async (input, context) => {
270
+ const b = core.requestBuilder(input, context);
271
+ const headers = {
272
+ "content-type": "application/json",
273
+ };
274
+ b.bp("/resourcesets");
275
+ let body;
276
+ body = JSON.stringify(smithyClient.take(input, {
277
+ resourceSetName: [, , `ResourceSetName`],
278
+ resourceSetType: [, , `ResourceSetType`],
279
+ resources: [, (_) => se___listOfResource(_), `Resources`],
280
+ tags: [, (_) => smithyClient._json(_), `Tags`],
281
+ }));
282
+ b.m("POST").h(headers).b(body);
283
+ return b.build();
1643
284
  };
1644
-
1645
- // src/commands/CreateRecoveryGroupCommand.ts
1646
-
1647
-
1648
-
1649
- var CreateRecoveryGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1650
- return [
1651
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1652
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1653
- ];
1654
- }).s("Route53RecoveryReadiness", "CreateRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "CreateRecoveryGroupCommand").f(void 0, void 0).ser(se_CreateRecoveryGroupCommand).de(de_CreateRecoveryGroupCommand).build() {
1655
- static {
1656
- __name(this, "CreateRecoveryGroupCommand");
1657
- }
285
+ const se_DeleteCellCommand = async (input, context) => {
286
+ const b = core.requestBuilder(input, context);
287
+ const headers = {};
288
+ b.bp("/cells/{CellName}");
289
+ b.p("CellName", () => input.CellName, "{CellName}", false);
290
+ let body;
291
+ b.m("DELETE").h(headers).b(body);
292
+ return b.build();
1658
293
  };
1659
-
1660
- // src/commands/CreateResourceSetCommand.ts
1661
-
1662
-
1663
-
1664
- var CreateResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1665
- return [
1666
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1667
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1668
- ];
1669
- }).s("Route53RecoveryReadiness", "CreateResourceSet", {}).n("Route53RecoveryReadinessClient", "CreateResourceSetCommand").f(void 0, void 0).ser(se_CreateResourceSetCommand).de(de_CreateResourceSetCommand).build() {
1670
- static {
1671
- __name(this, "CreateResourceSetCommand");
1672
- }
294
+ const se_DeleteCrossAccountAuthorizationCommand = async (input, context) => {
295
+ const b = core.requestBuilder(input, context);
296
+ const headers = {};
297
+ b.bp("/crossaccountauthorizations/{CrossAccountAuthorization}");
298
+ b.p("CrossAccountAuthorization", () => input.CrossAccountAuthorization, "{CrossAccountAuthorization}", false);
299
+ let body;
300
+ b.m("DELETE").h(headers).b(body);
301
+ return b.build();
1673
302
  };
1674
-
1675
- // src/commands/DeleteCellCommand.ts
1676
-
1677
-
1678
-
1679
- var DeleteCellCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1680
- return [
1681
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1682
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1683
- ];
1684
- }).s("Route53RecoveryReadiness", "DeleteCell", {}).n("Route53RecoveryReadinessClient", "DeleteCellCommand").f(void 0, void 0).ser(se_DeleteCellCommand).de(de_DeleteCellCommand).build() {
1685
- static {
1686
- __name(this, "DeleteCellCommand");
1687
- }
303
+ const se_DeleteReadinessCheckCommand = async (input, context) => {
304
+ const b = core.requestBuilder(input, context);
305
+ const headers = {};
306
+ b.bp("/readinesschecks/{ReadinessCheckName}");
307
+ b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
308
+ let body;
309
+ b.m("DELETE").h(headers).b(body);
310
+ return b.build();
1688
311
  };
1689
-
1690
- // src/commands/DeleteCrossAccountAuthorizationCommand.ts
1691
-
1692
-
1693
-
1694
- var DeleteCrossAccountAuthorizationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1695
- return [
1696
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1697
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1698
- ];
1699
- }).s("Route53RecoveryReadiness", "DeleteCrossAccountAuthorization", {}).n("Route53RecoveryReadinessClient", "DeleteCrossAccountAuthorizationCommand").f(void 0, void 0).ser(se_DeleteCrossAccountAuthorizationCommand).de(de_DeleteCrossAccountAuthorizationCommand).build() {
1700
- static {
1701
- __name(this, "DeleteCrossAccountAuthorizationCommand");
1702
- }
312
+ const se_DeleteRecoveryGroupCommand = async (input, context) => {
313
+ const b = core.requestBuilder(input, context);
314
+ const headers = {};
315
+ b.bp("/recoverygroups/{RecoveryGroupName}");
316
+ b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
317
+ let body;
318
+ b.m("DELETE").h(headers).b(body);
319
+ return b.build();
1703
320
  };
1704
-
1705
- // src/commands/DeleteReadinessCheckCommand.ts
1706
-
1707
-
1708
-
1709
- var DeleteReadinessCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1710
- return [
1711
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1712
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1713
- ];
1714
- }).s("Route53RecoveryReadiness", "DeleteReadinessCheck", {}).n("Route53RecoveryReadinessClient", "DeleteReadinessCheckCommand").f(void 0, void 0).ser(se_DeleteReadinessCheckCommand).de(de_DeleteReadinessCheckCommand).build() {
1715
- static {
1716
- __name(this, "DeleteReadinessCheckCommand");
1717
- }
321
+ const se_DeleteResourceSetCommand = async (input, context) => {
322
+ const b = core.requestBuilder(input, context);
323
+ const headers = {};
324
+ b.bp("/resourcesets/{ResourceSetName}");
325
+ b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
326
+ let body;
327
+ b.m("DELETE").h(headers).b(body);
328
+ return b.build();
1718
329
  };
1719
-
1720
- // src/commands/DeleteRecoveryGroupCommand.ts
1721
-
1722
-
1723
-
1724
- var DeleteRecoveryGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1725
- return [
1726
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1727
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1728
- ];
1729
- }).s("Route53RecoveryReadiness", "DeleteRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "DeleteRecoveryGroupCommand").f(void 0, void 0).ser(se_DeleteRecoveryGroupCommand).de(de_DeleteRecoveryGroupCommand).build() {
1730
- static {
1731
- __name(this, "DeleteRecoveryGroupCommand");
1732
- }
330
+ const se_GetArchitectureRecommendationsCommand = async (input, context) => {
331
+ const b = core.requestBuilder(input, context);
332
+ const headers = {};
333
+ b.bp("/recoverygroups/{RecoveryGroupName}/architectureRecommendations");
334
+ b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
335
+ const query = smithyClient.map({
336
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
337
+ [_nT]: [, input[_NT]],
338
+ });
339
+ let body;
340
+ b.m("GET").h(headers).q(query).b(body);
341
+ return b.build();
1733
342
  };
1734
-
1735
- // src/commands/DeleteResourceSetCommand.ts
1736
-
1737
-
1738
-
1739
- var DeleteResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1740
- return [
1741
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1742
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1743
- ];
1744
- }).s("Route53RecoveryReadiness", "DeleteResourceSet", {}).n("Route53RecoveryReadinessClient", "DeleteResourceSetCommand").f(void 0, void 0).ser(se_DeleteResourceSetCommand).de(de_DeleteResourceSetCommand).build() {
1745
- static {
1746
- __name(this, "DeleteResourceSetCommand");
1747
- }
343
+ const se_GetCellCommand = async (input, context) => {
344
+ const b = core.requestBuilder(input, context);
345
+ const headers = {};
346
+ b.bp("/cells/{CellName}");
347
+ b.p("CellName", () => input.CellName, "{CellName}", false);
348
+ let body;
349
+ b.m("GET").h(headers).b(body);
350
+ return b.build();
1748
351
  };
1749
-
1750
- // src/commands/GetArchitectureRecommendationsCommand.ts
1751
-
1752
-
1753
-
1754
- var GetArchitectureRecommendationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1755
- return [
1756
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1757
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1758
- ];
1759
- }).s("Route53RecoveryReadiness", "GetArchitectureRecommendations", {}).n("Route53RecoveryReadinessClient", "GetArchitectureRecommendationsCommand").f(void 0, void 0).ser(se_GetArchitectureRecommendationsCommand).de(de_GetArchitectureRecommendationsCommand).build() {
1760
- static {
1761
- __name(this, "GetArchitectureRecommendationsCommand");
1762
- }
352
+ const se_GetCellReadinessSummaryCommand = async (input, context) => {
353
+ const b = core.requestBuilder(input, context);
354
+ const headers = {};
355
+ b.bp("/cellreadiness/{CellName}");
356
+ b.p("CellName", () => input.CellName, "{CellName}", false);
357
+ const query = smithyClient.map({
358
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
359
+ [_nT]: [, input[_NT]],
360
+ });
361
+ let body;
362
+ b.m("GET").h(headers).q(query).b(body);
363
+ return b.build();
1763
364
  };
1764
-
1765
- // src/commands/GetCellCommand.ts
1766
-
1767
-
1768
-
1769
- var GetCellCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1770
- return [
1771
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1772
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1773
- ];
1774
- }).s("Route53RecoveryReadiness", "GetCell", {}).n("Route53RecoveryReadinessClient", "GetCellCommand").f(void 0, void 0).ser(se_GetCellCommand).de(de_GetCellCommand).build() {
1775
- static {
1776
- __name(this, "GetCellCommand");
1777
- }
365
+ const se_GetReadinessCheckCommand = async (input, context) => {
366
+ const b = core.requestBuilder(input, context);
367
+ const headers = {};
368
+ b.bp("/readinesschecks/{ReadinessCheckName}");
369
+ b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
370
+ let body;
371
+ b.m("GET").h(headers).b(body);
372
+ return b.build();
1778
373
  };
1779
-
1780
- // src/commands/GetCellReadinessSummaryCommand.ts
1781
-
1782
-
1783
-
1784
- var GetCellReadinessSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1785
- return [
1786
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1787
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1788
- ];
1789
- }).s("Route53RecoveryReadiness", "GetCellReadinessSummary", {}).n("Route53RecoveryReadinessClient", "GetCellReadinessSummaryCommand").f(void 0, void 0).ser(se_GetCellReadinessSummaryCommand).de(de_GetCellReadinessSummaryCommand).build() {
1790
- static {
1791
- __name(this, "GetCellReadinessSummaryCommand");
1792
- }
374
+ const se_GetReadinessCheckResourceStatusCommand = async (input, context) => {
375
+ const b = core.requestBuilder(input, context);
376
+ const headers = {};
377
+ b.bp("/readinesschecks/{ReadinessCheckName}/resource/{ResourceIdentifier}/status");
378
+ b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
379
+ b.p("ResourceIdentifier", () => input.ResourceIdentifier, "{ResourceIdentifier}", false);
380
+ const query = smithyClient.map({
381
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
382
+ [_nT]: [, input[_NT]],
383
+ });
384
+ let body;
385
+ b.m("GET").h(headers).q(query).b(body);
386
+ return b.build();
1793
387
  };
1794
-
1795
- // src/commands/GetReadinessCheckCommand.ts
1796
-
1797
-
1798
-
1799
- var GetReadinessCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1800
- return [
1801
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1802
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1803
- ];
1804
- }).s("Route53RecoveryReadiness", "GetReadinessCheck", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckCommand").f(void 0, void 0).ser(se_GetReadinessCheckCommand).de(de_GetReadinessCheckCommand).build() {
1805
- static {
1806
- __name(this, "GetReadinessCheckCommand");
1807
- }
388
+ const se_GetReadinessCheckStatusCommand = async (input, context) => {
389
+ const b = core.requestBuilder(input, context);
390
+ const headers = {};
391
+ b.bp("/readinesschecks/{ReadinessCheckName}/status");
392
+ b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
393
+ const query = smithyClient.map({
394
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
395
+ [_nT]: [, input[_NT]],
396
+ });
397
+ let body;
398
+ b.m("GET").h(headers).q(query).b(body);
399
+ return b.build();
1808
400
  };
1809
-
1810
- // src/commands/GetReadinessCheckResourceStatusCommand.ts
1811
-
1812
-
1813
-
1814
- var GetReadinessCheckResourceStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1815
- return [
1816
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1817
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1818
- ];
1819
- }).s("Route53RecoveryReadiness", "GetReadinessCheckResourceStatus", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckResourceStatusCommand").f(void 0, void 0).ser(se_GetReadinessCheckResourceStatusCommand).de(de_GetReadinessCheckResourceStatusCommand).build() {
1820
- static {
1821
- __name(this, "GetReadinessCheckResourceStatusCommand");
1822
- }
401
+ const se_GetRecoveryGroupCommand = async (input, context) => {
402
+ const b = core.requestBuilder(input, context);
403
+ const headers = {};
404
+ b.bp("/recoverygroups/{RecoveryGroupName}");
405
+ b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
406
+ let body;
407
+ b.m("GET").h(headers).b(body);
408
+ return b.build();
1823
409
  };
1824
-
1825
- // src/commands/GetReadinessCheckStatusCommand.ts
1826
-
1827
-
1828
-
1829
- var GetReadinessCheckStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1830
- return [
1831
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1832
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1833
- ];
1834
- }).s("Route53RecoveryReadiness", "GetReadinessCheckStatus", {}).n("Route53RecoveryReadinessClient", "GetReadinessCheckStatusCommand").f(void 0, void 0).ser(se_GetReadinessCheckStatusCommand).de(de_GetReadinessCheckStatusCommand).build() {
1835
- static {
1836
- __name(this, "GetReadinessCheckStatusCommand");
1837
- }
410
+ const se_GetRecoveryGroupReadinessSummaryCommand = async (input, context) => {
411
+ const b = core.requestBuilder(input, context);
412
+ const headers = {};
413
+ b.bp("/recoverygroupreadiness/{RecoveryGroupName}");
414
+ b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
415
+ const query = smithyClient.map({
416
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
417
+ [_nT]: [, input[_NT]],
418
+ });
419
+ let body;
420
+ b.m("GET").h(headers).q(query).b(body);
421
+ return b.build();
1838
422
  };
1839
-
1840
- // src/commands/GetRecoveryGroupCommand.ts
1841
-
1842
-
1843
-
1844
- var GetRecoveryGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1845
- return [
1846
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1847
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1848
- ];
1849
- }).s("Route53RecoveryReadiness", "GetRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "GetRecoveryGroupCommand").f(void 0, void 0).ser(se_GetRecoveryGroupCommand).de(de_GetRecoveryGroupCommand).build() {
1850
- static {
1851
- __name(this, "GetRecoveryGroupCommand");
1852
- }
423
+ const se_GetResourceSetCommand = async (input, context) => {
424
+ const b = core.requestBuilder(input, context);
425
+ const headers = {};
426
+ b.bp("/resourcesets/{ResourceSetName}");
427
+ b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
428
+ let body;
429
+ b.m("GET").h(headers).b(body);
430
+ return b.build();
1853
431
  };
1854
-
1855
- // src/commands/GetRecoveryGroupReadinessSummaryCommand.ts
1856
-
1857
-
1858
-
1859
- var GetRecoveryGroupReadinessSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1860
- return [
1861
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1862
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1863
- ];
1864
- }).s("Route53RecoveryReadiness", "GetRecoveryGroupReadinessSummary", {}).n("Route53RecoveryReadinessClient", "GetRecoveryGroupReadinessSummaryCommand").f(void 0, void 0).ser(se_GetRecoveryGroupReadinessSummaryCommand).de(de_GetRecoveryGroupReadinessSummaryCommand).build() {
1865
- static {
1866
- __name(this, "GetRecoveryGroupReadinessSummaryCommand");
1867
- }
432
+ const se_ListCellsCommand = async (input, context) => {
433
+ const b = core.requestBuilder(input, context);
434
+ const headers = {};
435
+ b.bp("/cells");
436
+ const query = smithyClient.map({
437
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
438
+ [_nT]: [, input[_NT]],
439
+ });
440
+ let body;
441
+ b.m("GET").h(headers).q(query).b(body);
442
+ return b.build();
1868
443
  };
1869
-
1870
- // src/commands/GetResourceSetCommand.ts
1871
-
1872
-
1873
-
1874
- var GetResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1875
- return [
1876
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1877
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1878
- ];
1879
- }).s("Route53RecoveryReadiness", "GetResourceSet", {}).n("Route53RecoveryReadinessClient", "GetResourceSetCommand").f(void 0, void 0).ser(se_GetResourceSetCommand).de(de_GetResourceSetCommand).build() {
1880
- static {
1881
- __name(this, "GetResourceSetCommand");
1882
- }
444
+ const se_ListCrossAccountAuthorizationsCommand = async (input, context) => {
445
+ const b = core.requestBuilder(input, context);
446
+ const headers = {};
447
+ b.bp("/crossaccountauthorizations");
448
+ const query = smithyClient.map({
449
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
450
+ [_nT]: [, input[_NT]],
451
+ });
452
+ let body;
453
+ b.m("GET").h(headers).q(query).b(body);
454
+ return b.build();
1883
455
  };
1884
-
1885
- // src/commands/ListCellsCommand.ts
1886
-
1887
-
1888
-
1889
- var ListCellsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1890
- return [
1891
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1892
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1893
- ];
1894
- }).s("Route53RecoveryReadiness", "ListCells", {}).n("Route53RecoveryReadinessClient", "ListCellsCommand").f(void 0, void 0).ser(se_ListCellsCommand).de(de_ListCellsCommand).build() {
1895
- static {
1896
- __name(this, "ListCellsCommand");
1897
- }
456
+ const se_ListReadinessChecksCommand = async (input, context) => {
457
+ const b = core.requestBuilder(input, context);
458
+ const headers = {};
459
+ b.bp("/readinesschecks");
460
+ const query = smithyClient.map({
461
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
462
+ [_nT]: [, input[_NT]],
463
+ });
464
+ let body;
465
+ b.m("GET").h(headers).q(query).b(body);
466
+ return b.build();
1898
467
  };
1899
-
1900
- // src/commands/ListCrossAccountAuthorizationsCommand.ts
1901
-
1902
-
1903
-
1904
- var ListCrossAccountAuthorizationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1905
- return [
1906
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1907
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1908
- ];
1909
- }).s("Route53RecoveryReadiness", "ListCrossAccountAuthorizations", {}).n("Route53RecoveryReadinessClient", "ListCrossAccountAuthorizationsCommand").f(void 0, void 0).ser(se_ListCrossAccountAuthorizationsCommand).de(de_ListCrossAccountAuthorizationsCommand).build() {
1910
- static {
1911
- __name(this, "ListCrossAccountAuthorizationsCommand");
1912
- }
468
+ const se_ListRecoveryGroupsCommand = async (input, context) => {
469
+ const b = core.requestBuilder(input, context);
470
+ const headers = {};
471
+ b.bp("/recoverygroups");
472
+ const query = smithyClient.map({
473
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
474
+ [_nT]: [, input[_NT]],
475
+ });
476
+ let body;
477
+ b.m("GET").h(headers).q(query).b(body);
478
+ return b.build();
1913
479
  };
1914
-
1915
- // src/commands/ListReadinessChecksCommand.ts
1916
-
1917
-
1918
-
1919
- var ListReadinessChecksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1920
- return [
1921
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1922
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1923
- ];
1924
- }).s("Route53RecoveryReadiness", "ListReadinessChecks", {}).n("Route53RecoveryReadinessClient", "ListReadinessChecksCommand").f(void 0, void 0).ser(se_ListReadinessChecksCommand).de(de_ListReadinessChecksCommand).build() {
1925
- static {
1926
- __name(this, "ListReadinessChecksCommand");
1927
- }
480
+ const se_ListResourceSetsCommand = async (input, context) => {
481
+ const b = core.requestBuilder(input, context);
482
+ const headers = {};
483
+ b.bp("/resourcesets");
484
+ const query = smithyClient.map({
485
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
486
+ [_nT]: [, input[_NT]],
487
+ });
488
+ let body;
489
+ b.m("GET").h(headers).q(query).b(body);
490
+ return b.build();
1928
491
  };
1929
-
1930
- // src/commands/ListRecoveryGroupsCommand.ts
1931
-
1932
-
1933
-
1934
- var ListRecoveryGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1935
- return [
1936
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1937
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1938
- ];
1939
- }).s("Route53RecoveryReadiness", "ListRecoveryGroups", {}).n("Route53RecoveryReadinessClient", "ListRecoveryGroupsCommand").f(void 0, void 0).ser(se_ListRecoveryGroupsCommand).de(de_ListRecoveryGroupsCommand).build() {
1940
- static {
1941
- __name(this, "ListRecoveryGroupsCommand");
1942
- }
492
+ const se_ListRulesCommand = async (input, context) => {
493
+ const b = core.requestBuilder(input, context);
494
+ const headers = {};
495
+ b.bp("/rules");
496
+ const query = smithyClient.map({
497
+ [_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
498
+ [_nT]: [, input[_NT]],
499
+ [_rT]: [, input[_RT]],
500
+ });
501
+ let body;
502
+ b.m("GET").h(headers).q(query).b(body);
503
+ return b.build();
1943
504
  };
1944
-
1945
- // src/commands/ListResourceSetsCommand.ts
1946
-
1947
-
1948
-
1949
- var ListResourceSetsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1950
- return [
1951
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1952
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1953
- ];
1954
- }).s("Route53RecoveryReadiness", "ListResourceSets", {}).n("Route53RecoveryReadinessClient", "ListResourceSetsCommand").f(void 0, void 0).ser(se_ListResourceSetsCommand).de(de_ListResourceSetsCommand).build() {
1955
- static {
1956
- __name(this, "ListResourceSetsCommand");
1957
- }
505
+ const se_ListTagsForResourcesCommand = async (input, context) => {
506
+ const b = core.requestBuilder(input, context);
507
+ const headers = {};
508
+ b.bp("/tags/{ResourceArn}");
509
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
510
+ let body;
511
+ b.m("GET").h(headers).b(body);
512
+ return b.build();
1958
513
  };
1959
-
1960
- // src/commands/ListRulesCommand.ts
1961
-
1962
-
1963
-
1964
- var ListRulesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1965
- return [
1966
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1967
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1968
- ];
1969
- }).s("Route53RecoveryReadiness", "ListRules", {}).n("Route53RecoveryReadinessClient", "ListRulesCommand").f(void 0, void 0).ser(se_ListRulesCommand).de(de_ListRulesCommand).build() {
1970
- static {
1971
- __name(this, "ListRulesCommand");
1972
- }
514
+ const se_TagResourceCommand = async (input, context) => {
515
+ const b = core.requestBuilder(input, context);
516
+ const headers = {
517
+ "content-type": "application/json",
518
+ };
519
+ b.bp("/tags/{ResourceArn}");
520
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
521
+ let body;
522
+ body = JSON.stringify(smithyClient.take(input, {
523
+ tags: [, (_) => smithyClient._json(_), `Tags`],
524
+ }));
525
+ b.m("POST").h(headers).b(body);
526
+ return b.build();
1973
527
  };
1974
-
1975
- // src/commands/ListTagsForResourcesCommand.ts
1976
-
1977
-
1978
-
1979
- var ListTagsForResourcesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1980
- return [
1981
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1982
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1983
- ];
1984
- }).s("Route53RecoveryReadiness", "ListTagsForResources", {}).n("Route53RecoveryReadinessClient", "ListTagsForResourcesCommand").f(void 0, void 0).ser(se_ListTagsForResourcesCommand).de(de_ListTagsForResourcesCommand).build() {
1985
- static {
1986
- __name(this, "ListTagsForResourcesCommand");
1987
- }
528
+ const se_UntagResourceCommand = async (input, context) => {
529
+ const b = core.requestBuilder(input, context);
530
+ const headers = {};
531
+ b.bp("/tags/{ResourceArn}");
532
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
533
+ const query = smithyClient.map({
534
+ [_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
535
+ });
536
+ let body;
537
+ b.m("DELETE").h(headers).q(query).b(body);
538
+ return b.build();
1988
539
  };
1989
-
1990
- // src/commands/TagResourceCommand.ts
1991
-
1992
-
1993
-
1994
- var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1995
- return [
1996
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1997
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1998
- ];
1999
- }).s("Route53RecoveryReadiness", "TagResource", {}).n("Route53RecoveryReadinessClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2000
- static {
2001
- __name(this, "TagResourceCommand");
2002
- }
540
+ const se_UpdateCellCommand = async (input, context) => {
541
+ const b = core.requestBuilder(input, context);
542
+ const headers = {
543
+ "content-type": "application/json",
544
+ };
545
+ b.bp("/cells/{CellName}");
546
+ b.p("CellName", () => input.CellName, "{CellName}", false);
547
+ let body;
548
+ body = JSON.stringify(smithyClient.take(input, {
549
+ cells: [, (_) => smithyClient._json(_), `Cells`],
550
+ }));
551
+ b.m("PUT").h(headers).b(body);
552
+ return b.build();
2003
553
  };
2004
-
2005
- // src/commands/UntagResourceCommand.ts
2006
-
2007
-
2008
-
2009
- var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2010
- return [
2011
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2012
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2013
- ];
2014
- }).s("Route53RecoveryReadiness", "UntagResource", {}).n("Route53RecoveryReadinessClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2015
- static {
2016
- __name(this, "UntagResourceCommand");
2017
- }
554
+ const se_UpdateReadinessCheckCommand = async (input, context) => {
555
+ const b = core.requestBuilder(input, context);
556
+ const headers = {
557
+ "content-type": "application/json",
558
+ };
559
+ b.bp("/readinesschecks/{ReadinessCheckName}");
560
+ b.p("ReadinessCheckName", () => input.ReadinessCheckName, "{ReadinessCheckName}", false);
561
+ let body;
562
+ body = JSON.stringify(smithyClient.take(input, {
563
+ resourceSetName: [, , `ResourceSetName`],
564
+ }));
565
+ b.m("PUT").h(headers).b(body);
566
+ return b.build();
2018
567
  };
2019
-
2020
- // src/commands/UpdateCellCommand.ts
2021
-
2022
-
2023
-
2024
- var UpdateCellCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2025
- return [
2026
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2027
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2028
- ];
2029
- }).s("Route53RecoveryReadiness", "UpdateCell", {}).n("Route53RecoveryReadinessClient", "UpdateCellCommand").f(void 0, void 0).ser(se_UpdateCellCommand).de(de_UpdateCellCommand).build() {
2030
- static {
2031
- __name(this, "UpdateCellCommand");
2032
- }
568
+ const se_UpdateRecoveryGroupCommand = async (input, context) => {
569
+ const b = core.requestBuilder(input, context);
570
+ const headers = {
571
+ "content-type": "application/json",
572
+ };
573
+ b.bp("/recoverygroups/{RecoveryGroupName}");
574
+ b.p("RecoveryGroupName", () => input.RecoveryGroupName, "{RecoveryGroupName}", false);
575
+ let body;
576
+ body = JSON.stringify(smithyClient.take(input, {
577
+ cells: [, (_) => smithyClient._json(_), `Cells`],
578
+ }));
579
+ b.m("PUT").h(headers).b(body);
580
+ return b.build();
2033
581
  };
2034
-
2035
- // src/commands/UpdateReadinessCheckCommand.ts
2036
-
2037
-
2038
-
2039
- var UpdateReadinessCheckCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2040
- return [
2041
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2042
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2043
- ];
2044
- }).s("Route53RecoveryReadiness", "UpdateReadinessCheck", {}).n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand").f(void 0, void 0).ser(se_UpdateReadinessCheckCommand).de(de_UpdateReadinessCheckCommand).build() {
2045
- static {
2046
- __name(this, "UpdateReadinessCheckCommand");
2047
- }
582
+ const se_UpdateResourceSetCommand = async (input, context) => {
583
+ const b = core.requestBuilder(input, context);
584
+ const headers = {
585
+ "content-type": "application/json",
586
+ };
587
+ b.bp("/resourcesets/{ResourceSetName}");
588
+ b.p("ResourceSetName", () => input.ResourceSetName, "{ResourceSetName}", false);
589
+ let body;
590
+ body = JSON.stringify(smithyClient.take(input, {
591
+ resourceSetType: [, , `ResourceSetType`],
592
+ resources: [, (_) => se___listOfResource(_), `Resources`],
593
+ }));
594
+ b.m("PUT").h(headers).b(body);
595
+ return b.build();
2048
596
  };
2049
-
2050
- // src/commands/UpdateRecoveryGroupCommand.ts
2051
-
2052
-
2053
-
2054
- var UpdateRecoveryGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2055
- return [
2056
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2057
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2058
- ];
2059
- }).s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {}).n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand").f(void 0, void 0).ser(se_UpdateRecoveryGroupCommand).de(de_UpdateRecoveryGroupCommand).build() {
2060
- static {
2061
- __name(this, "UpdateRecoveryGroupCommand");
2062
- }
597
+ const de_CreateCellCommand = async (output, context) => {
598
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
599
+ return de_CommandError(output, context);
600
+ }
601
+ const contents = smithyClient.map({
602
+ $metadata: deserializeMetadata(output),
603
+ });
604
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
605
+ const doc = smithyClient.take(data, {
606
+ CellArn: [, smithyClient.expectString, `cellArn`],
607
+ CellName: [, smithyClient.expectString, `cellName`],
608
+ Cells: [, smithyClient._json, `cells`],
609
+ ParentReadinessScopes: [, smithyClient._json, `parentReadinessScopes`],
610
+ Tags: [, smithyClient._json, `tags`],
611
+ });
612
+ Object.assign(contents, doc);
613
+ return contents;
2063
614
  };
2064
-
2065
- // src/commands/UpdateResourceSetCommand.ts
2066
-
2067
-
2068
-
2069
- var UpdateResourceSetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2070
- return [
2071
- (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2072
- (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2073
- ];
2074
- }).s("Route53RecoveryReadiness", "UpdateResourceSet", {}).n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand").f(void 0, void 0).ser(se_UpdateResourceSetCommand).de(de_UpdateResourceSetCommand).build() {
2075
- static {
2076
- __name(this, "UpdateResourceSetCommand");
2077
- }
615
+ const de_CreateCrossAccountAuthorizationCommand = async (output, context) => {
616
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
617
+ return de_CommandError(output, context);
618
+ }
619
+ const contents = smithyClient.map({
620
+ $metadata: deserializeMetadata(output),
621
+ });
622
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
623
+ const doc = smithyClient.take(data, {
624
+ CrossAccountAuthorization: [, smithyClient.expectString, `crossAccountAuthorization`],
625
+ });
626
+ Object.assign(contents, doc);
627
+ return contents;
2078
628
  };
629
+ const de_CreateReadinessCheckCommand = async (output, context) => {
630
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
631
+ return de_CommandError(output, context);
632
+ }
633
+ const contents = smithyClient.map({
634
+ $metadata: deserializeMetadata(output),
635
+ });
636
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
637
+ const doc = smithyClient.take(data, {
638
+ ReadinessCheckArn: [, smithyClient.expectString, `readinessCheckArn`],
639
+ ReadinessCheckName: [, smithyClient.expectString, `readinessCheckName`],
640
+ ResourceSet: [, smithyClient.expectString, `resourceSet`],
641
+ Tags: [, smithyClient._json, `tags`],
642
+ });
643
+ Object.assign(contents, doc);
644
+ return contents;
645
+ };
646
+ const de_CreateRecoveryGroupCommand = async (output, context) => {
647
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
648
+ return de_CommandError(output, context);
649
+ }
650
+ const contents = smithyClient.map({
651
+ $metadata: deserializeMetadata(output),
652
+ });
653
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
654
+ const doc = smithyClient.take(data, {
655
+ Cells: [, smithyClient._json, `cells`],
656
+ RecoveryGroupArn: [, smithyClient.expectString, `recoveryGroupArn`],
657
+ RecoveryGroupName: [, smithyClient.expectString, `recoveryGroupName`],
658
+ Tags: [, smithyClient._json, `tags`],
659
+ });
660
+ Object.assign(contents, doc);
661
+ return contents;
662
+ };
663
+ const de_CreateResourceSetCommand = async (output, context) => {
664
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
665
+ return de_CommandError(output, context);
666
+ }
667
+ const contents = smithyClient.map({
668
+ $metadata: deserializeMetadata(output),
669
+ });
670
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
671
+ const doc = smithyClient.take(data, {
672
+ ResourceSetArn: [, smithyClient.expectString, `resourceSetArn`],
673
+ ResourceSetName: [, smithyClient.expectString, `resourceSetName`],
674
+ ResourceSetType: [, smithyClient.expectString, `resourceSetType`],
675
+ Resources: [, (_) => de___listOfResource(_), `resources`],
676
+ Tags: [, smithyClient._json, `tags`],
677
+ });
678
+ Object.assign(contents, doc);
679
+ return contents;
680
+ };
681
+ const de_DeleteCellCommand = async (output, context) => {
682
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
683
+ return de_CommandError(output, context);
684
+ }
685
+ const contents = smithyClient.map({
686
+ $metadata: deserializeMetadata(output),
687
+ });
688
+ await smithyClient.collectBody(output.body, context);
689
+ return contents;
690
+ };
691
+ const de_DeleteCrossAccountAuthorizationCommand = async (output, context) => {
692
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
693
+ return de_CommandError(output, context);
694
+ }
695
+ const contents = smithyClient.map({
696
+ $metadata: deserializeMetadata(output),
697
+ });
698
+ await smithyClient.collectBody(output.body, context);
699
+ return contents;
700
+ };
701
+ const de_DeleteReadinessCheckCommand = async (output, context) => {
702
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
703
+ return de_CommandError(output, context);
704
+ }
705
+ const contents = smithyClient.map({
706
+ $metadata: deserializeMetadata(output),
707
+ });
708
+ await smithyClient.collectBody(output.body, context);
709
+ return contents;
710
+ };
711
+ const de_DeleteRecoveryGroupCommand = async (output, context) => {
712
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
713
+ return de_CommandError(output, context);
714
+ }
715
+ const contents = smithyClient.map({
716
+ $metadata: deserializeMetadata(output),
717
+ });
718
+ await smithyClient.collectBody(output.body, context);
719
+ return contents;
720
+ };
721
+ const de_DeleteResourceSetCommand = async (output, context) => {
722
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
723
+ return de_CommandError(output, context);
724
+ }
725
+ const contents = smithyClient.map({
726
+ $metadata: deserializeMetadata(output),
727
+ });
728
+ await smithyClient.collectBody(output.body, context);
729
+ return contents;
730
+ };
731
+ const de_GetArchitectureRecommendationsCommand = async (output, context) => {
732
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
733
+ return de_CommandError(output, context);
734
+ }
735
+ const contents = smithyClient.map({
736
+ $metadata: deserializeMetadata(output),
737
+ });
738
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
739
+ const doc = smithyClient.take(data, {
740
+ LastAuditTimestamp: [, (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)), `lastAuditTimestamp`],
741
+ NextToken: [, smithyClient.expectString, `nextToken`],
742
+ Recommendations: [, (_) => de___listOfRecommendation(_), `recommendations`],
743
+ });
744
+ Object.assign(contents, doc);
745
+ return contents;
746
+ };
747
+ const de_GetCellCommand = async (output, context) => {
748
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
749
+ return de_CommandError(output, context);
750
+ }
751
+ const contents = smithyClient.map({
752
+ $metadata: deserializeMetadata(output),
753
+ });
754
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
755
+ const doc = smithyClient.take(data, {
756
+ CellArn: [, smithyClient.expectString, `cellArn`],
757
+ CellName: [, smithyClient.expectString, `cellName`],
758
+ Cells: [, smithyClient._json, `cells`],
759
+ ParentReadinessScopes: [, smithyClient._json, `parentReadinessScopes`],
760
+ Tags: [, smithyClient._json, `tags`],
761
+ });
762
+ Object.assign(contents, doc);
763
+ return contents;
764
+ };
765
+ const de_GetCellReadinessSummaryCommand = async (output, context) => {
766
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
767
+ return de_CommandError(output, context);
768
+ }
769
+ const contents = smithyClient.map({
770
+ $metadata: deserializeMetadata(output),
771
+ });
772
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
773
+ const doc = smithyClient.take(data, {
774
+ NextToken: [, smithyClient.expectString, `nextToken`],
775
+ Readiness: [, smithyClient.expectString, `readiness`],
776
+ ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_), `readinessChecks`],
777
+ });
778
+ Object.assign(contents, doc);
779
+ return contents;
780
+ };
781
+ const de_GetReadinessCheckCommand = async (output, context) => {
782
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
783
+ return de_CommandError(output, context);
784
+ }
785
+ const contents = smithyClient.map({
786
+ $metadata: deserializeMetadata(output),
787
+ });
788
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
789
+ const doc = smithyClient.take(data, {
790
+ ReadinessCheckArn: [, smithyClient.expectString, `readinessCheckArn`],
791
+ ReadinessCheckName: [, smithyClient.expectString, `readinessCheckName`],
792
+ ResourceSet: [, smithyClient.expectString, `resourceSet`],
793
+ Tags: [, smithyClient._json, `tags`],
794
+ });
795
+ Object.assign(contents, doc);
796
+ return contents;
797
+ };
798
+ const de_GetReadinessCheckResourceStatusCommand = async (output, context) => {
799
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
800
+ return de_CommandError(output, context);
801
+ }
802
+ const contents = smithyClient.map({
803
+ $metadata: deserializeMetadata(output),
804
+ });
805
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
806
+ const doc = smithyClient.take(data, {
807
+ NextToken: [, smithyClient.expectString, `nextToken`],
808
+ Readiness: [, smithyClient.expectString, `readiness`],
809
+ Rules: [, (_) => de___listOfRuleResult(_), `rules`],
810
+ });
811
+ Object.assign(contents, doc);
812
+ return contents;
813
+ };
814
+ const de_GetReadinessCheckStatusCommand = async (output, context) => {
815
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
816
+ return de_CommandError(output, context);
817
+ }
818
+ const contents = smithyClient.map({
819
+ $metadata: deserializeMetadata(output),
820
+ });
821
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
822
+ const doc = smithyClient.take(data, {
823
+ Messages: [, (_) => de___listOfMessage(_), `messages`],
824
+ NextToken: [, smithyClient.expectString, `nextToken`],
825
+ Readiness: [, smithyClient.expectString, `readiness`],
826
+ Resources: [, (_) => de___listOfResourceResult(_), `resources`],
827
+ });
828
+ Object.assign(contents, doc);
829
+ return contents;
830
+ };
831
+ const de_GetRecoveryGroupCommand = async (output, context) => {
832
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
833
+ return de_CommandError(output, context);
834
+ }
835
+ const contents = smithyClient.map({
836
+ $metadata: deserializeMetadata(output),
837
+ });
838
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
839
+ const doc = smithyClient.take(data, {
840
+ Cells: [, smithyClient._json, `cells`],
841
+ RecoveryGroupArn: [, smithyClient.expectString, `recoveryGroupArn`],
842
+ RecoveryGroupName: [, smithyClient.expectString, `recoveryGroupName`],
843
+ Tags: [, smithyClient._json, `tags`],
844
+ });
845
+ Object.assign(contents, doc);
846
+ return contents;
847
+ };
848
+ const de_GetRecoveryGroupReadinessSummaryCommand = async (output, context) => {
849
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
850
+ return de_CommandError(output, context);
851
+ }
852
+ const contents = smithyClient.map({
853
+ $metadata: deserializeMetadata(output),
854
+ });
855
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
856
+ const doc = smithyClient.take(data, {
857
+ NextToken: [, smithyClient.expectString, `nextToken`],
858
+ Readiness: [, smithyClient.expectString, `readiness`],
859
+ ReadinessChecks: [, (_) => de___listOfReadinessCheckSummary(_), `readinessChecks`],
860
+ });
861
+ Object.assign(contents, doc);
862
+ return contents;
863
+ };
864
+ const de_GetResourceSetCommand = async (output, context) => {
865
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
866
+ return de_CommandError(output, context);
867
+ }
868
+ const contents = smithyClient.map({
869
+ $metadata: deserializeMetadata(output),
870
+ });
871
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
872
+ const doc = smithyClient.take(data, {
873
+ ResourceSetArn: [, smithyClient.expectString, `resourceSetArn`],
874
+ ResourceSetName: [, smithyClient.expectString, `resourceSetName`],
875
+ ResourceSetType: [, smithyClient.expectString, `resourceSetType`],
876
+ Resources: [, (_) => de___listOfResource(_), `resources`],
877
+ Tags: [, smithyClient._json, `tags`],
878
+ });
879
+ Object.assign(contents, doc);
880
+ return contents;
881
+ };
882
+ const de_ListCellsCommand = async (output, context) => {
883
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
884
+ return de_CommandError(output, context);
885
+ }
886
+ const contents = smithyClient.map({
887
+ $metadata: deserializeMetadata(output),
888
+ });
889
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
890
+ const doc = smithyClient.take(data, {
891
+ Cells: [, (_) => de___listOfCellOutput(_), `cells`],
892
+ NextToken: [, smithyClient.expectString, `nextToken`],
893
+ });
894
+ Object.assign(contents, doc);
895
+ return contents;
896
+ };
897
+ const de_ListCrossAccountAuthorizationsCommand = async (output, context) => {
898
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
899
+ return de_CommandError(output, context);
900
+ }
901
+ const contents = smithyClient.map({
902
+ $metadata: deserializeMetadata(output),
903
+ });
904
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
905
+ const doc = smithyClient.take(data, {
906
+ CrossAccountAuthorizations: [, smithyClient._json, `crossAccountAuthorizations`],
907
+ NextToken: [, smithyClient.expectString, `nextToken`],
908
+ });
909
+ Object.assign(contents, doc);
910
+ return contents;
911
+ };
912
+ const de_ListReadinessChecksCommand = async (output, context) => {
913
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
914
+ return de_CommandError(output, context);
915
+ }
916
+ const contents = smithyClient.map({
917
+ $metadata: deserializeMetadata(output),
918
+ });
919
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
920
+ const doc = smithyClient.take(data, {
921
+ NextToken: [, smithyClient.expectString, `nextToken`],
922
+ ReadinessChecks: [, (_) => de___listOfReadinessCheckOutput(_), `readinessChecks`],
923
+ });
924
+ Object.assign(contents, doc);
925
+ return contents;
926
+ };
927
+ const de_ListRecoveryGroupsCommand = async (output, context) => {
928
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
929
+ return de_CommandError(output, context);
930
+ }
931
+ const contents = smithyClient.map({
932
+ $metadata: deserializeMetadata(output),
933
+ });
934
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
935
+ const doc = smithyClient.take(data, {
936
+ NextToken: [, smithyClient.expectString, `nextToken`],
937
+ RecoveryGroups: [, (_) => de___listOfRecoveryGroupOutput(_), `recoveryGroups`],
938
+ });
939
+ Object.assign(contents, doc);
940
+ return contents;
941
+ };
942
+ const de_ListResourceSetsCommand = async (output, context) => {
943
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
944
+ return de_CommandError(output, context);
945
+ }
946
+ const contents = smithyClient.map({
947
+ $metadata: deserializeMetadata(output),
948
+ });
949
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
950
+ const doc = smithyClient.take(data, {
951
+ NextToken: [, smithyClient.expectString, `nextToken`],
952
+ ResourceSets: [, (_) => de___listOfResourceSetOutput(_), `resourceSets`],
953
+ });
954
+ Object.assign(contents, doc);
955
+ return contents;
956
+ };
957
+ const de_ListRulesCommand = async (output, context) => {
958
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
959
+ return de_CommandError(output, context);
960
+ }
961
+ const contents = smithyClient.map({
962
+ $metadata: deserializeMetadata(output),
963
+ });
964
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
965
+ const doc = smithyClient.take(data, {
966
+ NextToken: [, smithyClient.expectString, `nextToken`],
967
+ Rules: [, (_) => de___listOfListRulesOutput(_), `rules`],
968
+ });
969
+ Object.assign(contents, doc);
970
+ return contents;
971
+ };
972
+ const de_ListTagsForResourcesCommand = async (output, context) => {
973
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
974
+ return de_CommandError(output, context);
975
+ }
976
+ const contents = smithyClient.map({
977
+ $metadata: deserializeMetadata(output),
978
+ });
979
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
980
+ const doc = smithyClient.take(data, {
981
+ Tags: [, smithyClient._json, `tags`],
982
+ });
983
+ Object.assign(contents, doc);
984
+ return contents;
985
+ };
986
+ const de_TagResourceCommand = async (output, context) => {
987
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
988
+ return de_CommandError(output, context);
989
+ }
990
+ const contents = smithyClient.map({
991
+ $metadata: deserializeMetadata(output),
992
+ });
993
+ await smithyClient.collectBody(output.body, context);
994
+ return contents;
995
+ };
996
+ const de_UntagResourceCommand = async (output, context) => {
997
+ if (output.statusCode !== 204 && output.statusCode >= 300) {
998
+ return de_CommandError(output, context);
999
+ }
1000
+ const contents = smithyClient.map({
1001
+ $metadata: deserializeMetadata(output),
1002
+ });
1003
+ await smithyClient.collectBody(output.body, context);
1004
+ return contents;
1005
+ };
1006
+ const de_UpdateCellCommand = async (output, context) => {
1007
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1008
+ return de_CommandError(output, context);
1009
+ }
1010
+ const contents = smithyClient.map({
1011
+ $metadata: deserializeMetadata(output),
1012
+ });
1013
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1014
+ const doc = smithyClient.take(data, {
1015
+ CellArn: [, smithyClient.expectString, `cellArn`],
1016
+ CellName: [, smithyClient.expectString, `cellName`],
1017
+ Cells: [, smithyClient._json, `cells`],
1018
+ ParentReadinessScopes: [, smithyClient._json, `parentReadinessScopes`],
1019
+ Tags: [, smithyClient._json, `tags`],
1020
+ });
1021
+ Object.assign(contents, doc);
1022
+ return contents;
1023
+ };
1024
+ const de_UpdateReadinessCheckCommand = async (output, context) => {
1025
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1026
+ return de_CommandError(output, context);
1027
+ }
1028
+ const contents = smithyClient.map({
1029
+ $metadata: deserializeMetadata(output),
1030
+ });
1031
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1032
+ const doc = smithyClient.take(data, {
1033
+ ReadinessCheckArn: [, smithyClient.expectString, `readinessCheckArn`],
1034
+ ReadinessCheckName: [, smithyClient.expectString, `readinessCheckName`],
1035
+ ResourceSet: [, smithyClient.expectString, `resourceSet`],
1036
+ Tags: [, smithyClient._json, `tags`],
1037
+ });
1038
+ Object.assign(contents, doc);
1039
+ return contents;
1040
+ };
1041
+ const de_UpdateRecoveryGroupCommand = async (output, context) => {
1042
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1043
+ return de_CommandError(output, context);
1044
+ }
1045
+ const contents = smithyClient.map({
1046
+ $metadata: deserializeMetadata(output),
1047
+ });
1048
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1049
+ const doc = smithyClient.take(data, {
1050
+ Cells: [, smithyClient._json, `cells`],
1051
+ RecoveryGroupArn: [, smithyClient.expectString, `recoveryGroupArn`],
1052
+ RecoveryGroupName: [, smithyClient.expectString, `recoveryGroupName`],
1053
+ Tags: [, smithyClient._json, `tags`],
1054
+ });
1055
+ Object.assign(contents, doc);
1056
+ return contents;
1057
+ };
1058
+ const de_UpdateResourceSetCommand = async (output, context) => {
1059
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1060
+ return de_CommandError(output, context);
1061
+ }
1062
+ const contents = smithyClient.map({
1063
+ $metadata: deserializeMetadata(output),
1064
+ });
1065
+ const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1066
+ const doc = smithyClient.take(data, {
1067
+ ResourceSetArn: [, smithyClient.expectString, `resourceSetArn`],
1068
+ ResourceSetName: [, smithyClient.expectString, `resourceSetName`],
1069
+ ResourceSetType: [, smithyClient.expectString, `resourceSetType`],
1070
+ Resources: [, (_) => de___listOfResource(_), `resources`],
1071
+ Tags: [, smithyClient._json, `tags`],
1072
+ });
1073
+ Object.assign(contents, doc);
1074
+ return contents;
1075
+ };
1076
+ const de_CommandError = async (output, context) => {
1077
+ const parsedOutput = {
1078
+ ...output,
1079
+ body: await core$1.parseJsonErrorBody(output.body, context),
1080
+ };
1081
+ const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1082
+ switch (errorCode) {
1083
+ case "AccessDeniedException":
1084
+ case "com.amazonaws.route53recoveryreadiness#AccessDeniedException":
1085
+ throw await de_AccessDeniedExceptionRes(parsedOutput);
1086
+ case "ConflictException":
1087
+ case "com.amazonaws.route53recoveryreadiness#ConflictException":
1088
+ throw await de_ConflictExceptionRes(parsedOutput);
1089
+ case "InternalServerException":
1090
+ case "com.amazonaws.route53recoveryreadiness#InternalServerException":
1091
+ throw await de_InternalServerExceptionRes(parsedOutput);
1092
+ case "ThrottlingException":
1093
+ case "com.amazonaws.route53recoveryreadiness#ThrottlingException":
1094
+ throw await de_ThrottlingExceptionRes(parsedOutput);
1095
+ case "ValidationException":
1096
+ case "com.amazonaws.route53recoveryreadiness#ValidationException":
1097
+ throw await de_ValidationExceptionRes(parsedOutput);
1098
+ case "ResourceNotFoundException":
1099
+ case "com.amazonaws.route53recoveryreadiness#ResourceNotFoundException":
1100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1101
+ default:
1102
+ const parsedBody = parsedOutput.body;
1103
+ return throwDefaultError({
1104
+ output,
1105
+ parsedBody,
1106
+ errorCode,
1107
+ });
1108
+ }
1109
+ };
1110
+ const throwDefaultError = smithyClient.withBaseException(Route53RecoveryReadinessServiceException);
1111
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1112
+ const contents = smithyClient.map({});
1113
+ const data = parsedOutput.body;
1114
+ const doc = smithyClient.take(data, {
1115
+ Message: [, smithyClient.expectString, `message`],
1116
+ });
1117
+ Object.assign(contents, doc);
1118
+ const exception = new AccessDeniedException({
1119
+ $metadata: deserializeMetadata(parsedOutput),
1120
+ ...contents,
1121
+ });
1122
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1123
+ };
1124
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1125
+ const contents = smithyClient.map({});
1126
+ const data = parsedOutput.body;
1127
+ const doc = smithyClient.take(data, {
1128
+ Message: [, smithyClient.expectString, `message`],
1129
+ });
1130
+ Object.assign(contents, doc);
1131
+ const exception = new ConflictException({
1132
+ $metadata: deserializeMetadata(parsedOutput),
1133
+ ...contents,
1134
+ });
1135
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1136
+ };
1137
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1138
+ const contents = smithyClient.map({});
1139
+ const data = parsedOutput.body;
1140
+ const doc = smithyClient.take(data, {
1141
+ Message: [, smithyClient.expectString, `message`],
1142
+ });
1143
+ Object.assign(contents, doc);
1144
+ const exception = new InternalServerException({
1145
+ $metadata: deserializeMetadata(parsedOutput),
1146
+ ...contents,
1147
+ });
1148
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1149
+ };
1150
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1151
+ const contents = smithyClient.map({});
1152
+ const data = parsedOutput.body;
1153
+ const doc = smithyClient.take(data, {
1154
+ Message: [, smithyClient.expectString, `message`],
1155
+ });
1156
+ Object.assign(contents, doc);
1157
+ const exception = new ResourceNotFoundException({
1158
+ $metadata: deserializeMetadata(parsedOutput),
1159
+ ...contents,
1160
+ });
1161
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1162
+ };
1163
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1164
+ const contents = smithyClient.map({});
1165
+ const data = parsedOutput.body;
1166
+ const doc = smithyClient.take(data, {
1167
+ Message: [, smithyClient.expectString, `message`],
1168
+ });
1169
+ Object.assign(contents, doc);
1170
+ const exception = new ThrottlingException({
1171
+ $metadata: deserializeMetadata(parsedOutput),
1172
+ ...contents,
1173
+ });
1174
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1175
+ };
1176
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1177
+ const contents = smithyClient.map({});
1178
+ const data = parsedOutput.body;
1179
+ const doc = smithyClient.take(data, {
1180
+ Message: [, smithyClient.expectString, `message`],
1181
+ });
1182
+ Object.assign(contents, doc);
1183
+ const exception = new ValidationException({
1184
+ $metadata: deserializeMetadata(parsedOutput),
1185
+ ...contents,
1186
+ });
1187
+ return smithyClient.decorateServiceException(exception, parsedOutput.body);
1188
+ };
1189
+ const se___listOfResource = (input, context) => {
1190
+ return input
1191
+ .filter((e) => e != null)
1192
+ .map((entry) => {
1193
+ return se_Resource(entry);
1194
+ });
1195
+ };
1196
+ const se_DNSTargetResource = (input, context) => {
1197
+ return smithyClient.take(input, {
1198
+ domainName: [, , `DomainName`],
1199
+ hostedZoneArn: [, , `HostedZoneArn`],
1200
+ recordSetId: [, , `RecordSetId`],
1201
+ recordType: [, , `RecordType`],
1202
+ targetResource: [, (_) => se_TargetResource(_), `TargetResource`],
1203
+ });
1204
+ };
1205
+ const se_NLBResource = (input, context) => {
1206
+ return smithyClient.take(input, {
1207
+ arn: [, , `Arn`],
1208
+ });
1209
+ };
1210
+ const se_R53ResourceRecord = (input, context) => {
1211
+ return smithyClient.take(input, {
1212
+ domainName: [, , `DomainName`],
1213
+ recordSetId: [, , `RecordSetId`],
1214
+ });
1215
+ };
1216
+ const se_Resource = (input, context) => {
1217
+ return smithyClient.take(input, {
1218
+ componentId: [, , `ComponentId`],
1219
+ dnsTargetResource: [, (_) => se_DNSTargetResource(_), `DnsTargetResource`],
1220
+ readinessScopes: [, smithyClient._json, `ReadinessScopes`],
1221
+ resourceArn: [, , `ResourceArn`],
1222
+ });
1223
+ };
1224
+ const se_TargetResource = (input, context) => {
1225
+ return smithyClient.take(input, {
1226
+ nLBResource: [, (_) => se_NLBResource(_), `NLBResource`],
1227
+ r53Resource: [, (_) => se_R53ResourceRecord(_), `R53Resource`],
1228
+ });
1229
+ };
1230
+ const de___listOfCellOutput = (output, context) => {
1231
+ const retVal = (output || [])
1232
+ .filter((e) => e != null)
1233
+ .map((entry) => {
1234
+ return de_CellOutput(entry);
1235
+ });
1236
+ return retVal;
1237
+ };
1238
+ const de___listOfListRulesOutput = (output, context) => {
1239
+ const retVal = (output || [])
1240
+ .filter((e) => e != null)
1241
+ .map((entry) => {
1242
+ return de_ListRulesOutput(entry);
1243
+ });
1244
+ return retVal;
1245
+ };
1246
+ const de___listOfMessage = (output, context) => {
1247
+ const retVal = (output || [])
1248
+ .filter((e) => e != null)
1249
+ .map((entry) => {
1250
+ return de_Message(entry);
1251
+ });
1252
+ return retVal;
1253
+ };
1254
+ const de___listOfReadinessCheckOutput = (output, context) => {
1255
+ const retVal = (output || [])
1256
+ .filter((e) => e != null)
1257
+ .map((entry) => {
1258
+ return de_ReadinessCheckOutput(entry);
1259
+ });
1260
+ return retVal;
1261
+ };
1262
+ const de___listOfReadinessCheckSummary = (output, context) => {
1263
+ const retVal = (output || [])
1264
+ .filter((e) => e != null)
1265
+ .map((entry) => {
1266
+ return de_ReadinessCheckSummary(entry);
1267
+ });
1268
+ return retVal;
1269
+ };
1270
+ const de___listOfRecommendation = (output, context) => {
1271
+ const retVal = (output || [])
1272
+ .filter((e) => e != null)
1273
+ .map((entry) => {
1274
+ return de_Recommendation(entry);
1275
+ });
1276
+ return retVal;
1277
+ };
1278
+ const de___listOfRecoveryGroupOutput = (output, context) => {
1279
+ const retVal = (output || [])
1280
+ .filter((e) => e != null)
1281
+ .map((entry) => {
1282
+ return de_RecoveryGroupOutput(entry);
1283
+ });
1284
+ return retVal;
1285
+ };
1286
+ const de___listOfResource = (output, context) => {
1287
+ const retVal = (output || [])
1288
+ .filter((e) => e != null)
1289
+ .map((entry) => {
1290
+ return de_Resource(entry);
1291
+ });
1292
+ return retVal;
1293
+ };
1294
+ const de___listOfResourceResult = (output, context) => {
1295
+ const retVal = (output || [])
1296
+ .filter((e) => e != null)
1297
+ .map((entry) => {
1298
+ return de_ResourceResult(entry);
1299
+ });
1300
+ return retVal;
1301
+ };
1302
+ const de___listOfResourceSetOutput = (output, context) => {
1303
+ const retVal = (output || [])
1304
+ .filter((e) => e != null)
1305
+ .map((entry) => {
1306
+ return de_ResourceSetOutput(entry);
1307
+ });
1308
+ return retVal;
1309
+ };
1310
+ const de___listOfRuleResult = (output, context) => {
1311
+ const retVal = (output || [])
1312
+ .filter((e) => e != null)
1313
+ .map((entry) => {
1314
+ return de_RuleResult(entry);
1315
+ });
1316
+ return retVal;
1317
+ };
1318
+ const de_CellOutput = (output, context) => {
1319
+ return smithyClient.take(output, {
1320
+ CellArn: [, smithyClient.expectString, `cellArn`],
1321
+ CellName: [, smithyClient.expectString, `cellName`],
1322
+ Cells: [, smithyClient._json, `cells`],
1323
+ ParentReadinessScopes: [, smithyClient._json, `parentReadinessScopes`],
1324
+ Tags: [, smithyClient._json, `tags`],
1325
+ });
1326
+ };
1327
+ const de_DNSTargetResource = (output, context) => {
1328
+ return smithyClient.take(output, {
1329
+ DomainName: [, smithyClient.expectString, `domainName`],
1330
+ HostedZoneArn: [, smithyClient.expectString, `hostedZoneArn`],
1331
+ RecordSetId: [, smithyClient.expectString, `recordSetId`],
1332
+ RecordType: [, smithyClient.expectString, `recordType`],
1333
+ TargetResource: [, (_) => de_TargetResource(_), `targetResource`],
1334
+ });
1335
+ };
1336
+ const de_ListRulesOutput = (output, context) => {
1337
+ return smithyClient.take(output, {
1338
+ ResourceType: [, smithyClient.expectString, `resourceType`],
1339
+ RuleDescription: [, smithyClient.expectString, `ruleDescription`],
1340
+ RuleId: [, smithyClient.expectString, `ruleId`],
1341
+ });
1342
+ };
1343
+ const de_Message = (output, context) => {
1344
+ return smithyClient.take(output, {
1345
+ MessageText: [, smithyClient.expectString, `messageText`],
1346
+ });
1347
+ };
1348
+ const de_NLBResource = (output, context) => {
1349
+ return smithyClient.take(output, {
1350
+ Arn: [, smithyClient.expectString, `arn`],
1351
+ });
1352
+ };
1353
+ const de_R53ResourceRecord = (output, context) => {
1354
+ return smithyClient.take(output, {
1355
+ DomainName: [, smithyClient.expectString, `domainName`],
1356
+ RecordSetId: [, smithyClient.expectString, `recordSetId`],
1357
+ });
1358
+ };
1359
+ const de_ReadinessCheckOutput = (output, context) => {
1360
+ return smithyClient.take(output, {
1361
+ ReadinessCheckArn: [, smithyClient.expectString, `readinessCheckArn`],
1362
+ ReadinessCheckName: [, smithyClient.expectString, `readinessCheckName`],
1363
+ ResourceSet: [, smithyClient.expectString, `resourceSet`],
1364
+ Tags: [, smithyClient._json, `tags`],
1365
+ });
1366
+ };
1367
+ const de_ReadinessCheckSummary = (output, context) => {
1368
+ return smithyClient.take(output, {
1369
+ Readiness: [, smithyClient.expectString, `readiness`],
1370
+ ReadinessCheckName: [, smithyClient.expectString, `readinessCheckName`],
1371
+ });
1372
+ };
1373
+ const de_Recommendation = (output, context) => {
1374
+ return smithyClient.take(output, {
1375
+ RecommendationText: [, smithyClient.expectString, `recommendationText`],
1376
+ });
1377
+ };
1378
+ const de_RecoveryGroupOutput = (output, context) => {
1379
+ return smithyClient.take(output, {
1380
+ Cells: [, smithyClient._json, `cells`],
1381
+ RecoveryGroupArn: [, smithyClient.expectString, `recoveryGroupArn`],
1382
+ RecoveryGroupName: [, smithyClient.expectString, `recoveryGroupName`],
1383
+ Tags: [, smithyClient._json, `tags`],
1384
+ });
1385
+ };
1386
+ const de_Resource = (output, context) => {
1387
+ return smithyClient.take(output, {
1388
+ ComponentId: [, smithyClient.expectString, `componentId`],
1389
+ DnsTargetResource: [, (_) => de_DNSTargetResource(_), `dnsTargetResource`],
1390
+ ReadinessScopes: [, smithyClient._json, `readinessScopes`],
1391
+ ResourceArn: [, smithyClient.expectString, `resourceArn`],
1392
+ });
1393
+ };
1394
+ const de_ResourceResult = (output, context) => {
1395
+ return smithyClient.take(output, {
1396
+ ComponentId: [, smithyClient.expectString, `componentId`],
1397
+ LastCheckedTimestamp: [, (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)), `lastCheckedTimestamp`],
1398
+ Readiness: [, smithyClient.expectString, `readiness`],
1399
+ ResourceArn: [, smithyClient.expectString, `resourceArn`],
1400
+ });
1401
+ };
1402
+ const de_ResourceSetOutput = (output, context) => {
1403
+ return smithyClient.take(output, {
1404
+ ResourceSetArn: [, smithyClient.expectString, `resourceSetArn`],
1405
+ ResourceSetName: [, smithyClient.expectString, `resourceSetName`],
1406
+ ResourceSetType: [, smithyClient.expectString, `resourceSetType`],
1407
+ Resources: [, (_) => de___listOfResource(_), `resources`],
1408
+ Tags: [, smithyClient._json, `tags`],
1409
+ });
1410
+ };
1411
+ const de_RuleResult = (output, context) => {
1412
+ return smithyClient.take(output, {
1413
+ LastCheckedTimestamp: [, (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)), `lastCheckedTimestamp`],
1414
+ Messages: [, (_) => de___listOfMessage(_), `messages`],
1415
+ Readiness: [, smithyClient.expectString, `readiness`],
1416
+ RuleId: [, smithyClient.expectString, `ruleId`],
1417
+ });
1418
+ };
1419
+ const de_TargetResource = (output, context) => {
1420
+ return smithyClient.take(output, {
1421
+ NLBResource: [, (_) => de_NLBResource(_), `nLBResource`],
1422
+ R53Resource: [, (_) => de_R53ResourceRecord(_), `r53Resource`],
1423
+ });
1424
+ };
1425
+ const deserializeMetadata = (output) => ({
1426
+ httpStatusCode: output.statusCode,
1427
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1428
+ extendedRequestId: output.headers["x-amz-id-2"],
1429
+ cfId: output.headers["x-amz-cf-id"],
1430
+ });
1431
+ const _MR = "MaxResults";
1432
+ const _NT = "NextToken";
1433
+ const _RT = "ResourceType";
1434
+ const _TK = "TagKeys";
1435
+ const _mR = "maxResults";
1436
+ const _nT = "nextToken";
1437
+ const _rT = "resourceType";
1438
+ const _tK = "tagKeys";
1439
+
1440
+ class CreateCellCommand extends smithyClient.Command
1441
+ .classBuilder()
1442
+ .ep(commonParams)
1443
+ .m(function (Command, cs, config, o) {
1444
+ return [
1445
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1446
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1447
+ ];
1448
+ })
1449
+ .s("Route53RecoveryReadiness", "CreateCell", {})
1450
+ .n("Route53RecoveryReadinessClient", "CreateCellCommand")
1451
+ .f(void 0, void 0)
1452
+ .ser(se_CreateCellCommand)
1453
+ .de(de_CreateCellCommand)
1454
+ .build() {
1455
+ }
1456
+
1457
+ class CreateCrossAccountAuthorizationCommand extends smithyClient.Command
1458
+ .classBuilder()
1459
+ .ep(commonParams)
1460
+ .m(function (Command, cs, config, o) {
1461
+ return [
1462
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1463
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1464
+ ];
1465
+ })
1466
+ .s("Route53RecoveryReadiness", "CreateCrossAccountAuthorization", {})
1467
+ .n("Route53RecoveryReadinessClient", "CreateCrossAccountAuthorizationCommand")
1468
+ .f(void 0, void 0)
1469
+ .ser(se_CreateCrossAccountAuthorizationCommand)
1470
+ .de(de_CreateCrossAccountAuthorizationCommand)
1471
+ .build() {
1472
+ }
1473
+
1474
+ class CreateReadinessCheckCommand extends smithyClient.Command
1475
+ .classBuilder()
1476
+ .ep(commonParams)
1477
+ .m(function (Command, cs, config, o) {
1478
+ return [
1479
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1480
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1481
+ ];
1482
+ })
1483
+ .s("Route53RecoveryReadiness", "CreateReadinessCheck", {})
1484
+ .n("Route53RecoveryReadinessClient", "CreateReadinessCheckCommand")
1485
+ .f(void 0, void 0)
1486
+ .ser(se_CreateReadinessCheckCommand)
1487
+ .de(de_CreateReadinessCheckCommand)
1488
+ .build() {
1489
+ }
1490
+
1491
+ class CreateRecoveryGroupCommand extends smithyClient.Command
1492
+ .classBuilder()
1493
+ .ep(commonParams)
1494
+ .m(function (Command, cs, config, o) {
1495
+ return [
1496
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1497
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1498
+ ];
1499
+ })
1500
+ .s("Route53RecoveryReadiness", "CreateRecoveryGroup", {})
1501
+ .n("Route53RecoveryReadinessClient", "CreateRecoveryGroupCommand")
1502
+ .f(void 0, void 0)
1503
+ .ser(se_CreateRecoveryGroupCommand)
1504
+ .de(de_CreateRecoveryGroupCommand)
1505
+ .build() {
1506
+ }
1507
+
1508
+ class CreateResourceSetCommand extends smithyClient.Command
1509
+ .classBuilder()
1510
+ .ep(commonParams)
1511
+ .m(function (Command, cs, config, o) {
1512
+ return [
1513
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1514
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1515
+ ];
1516
+ })
1517
+ .s("Route53RecoveryReadiness", "CreateResourceSet", {})
1518
+ .n("Route53RecoveryReadinessClient", "CreateResourceSetCommand")
1519
+ .f(void 0, void 0)
1520
+ .ser(se_CreateResourceSetCommand)
1521
+ .de(de_CreateResourceSetCommand)
1522
+ .build() {
1523
+ }
1524
+
1525
+ class DeleteCellCommand extends smithyClient.Command
1526
+ .classBuilder()
1527
+ .ep(commonParams)
1528
+ .m(function (Command, cs, config, o) {
1529
+ return [
1530
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1531
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1532
+ ];
1533
+ })
1534
+ .s("Route53RecoveryReadiness", "DeleteCell", {})
1535
+ .n("Route53RecoveryReadinessClient", "DeleteCellCommand")
1536
+ .f(void 0, void 0)
1537
+ .ser(se_DeleteCellCommand)
1538
+ .de(de_DeleteCellCommand)
1539
+ .build() {
1540
+ }
1541
+
1542
+ class DeleteCrossAccountAuthorizationCommand extends smithyClient.Command
1543
+ .classBuilder()
1544
+ .ep(commonParams)
1545
+ .m(function (Command, cs, config, o) {
1546
+ return [
1547
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1548
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1549
+ ];
1550
+ })
1551
+ .s("Route53RecoveryReadiness", "DeleteCrossAccountAuthorization", {})
1552
+ .n("Route53RecoveryReadinessClient", "DeleteCrossAccountAuthorizationCommand")
1553
+ .f(void 0, void 0)
1554
+ .ser(se_DeleteCrossAccountAuthorizationCommand)
1555
+ .de(de_DeleteCrossAccountAuthorizationCommand)
1556
+ .build() {
1557
+ }
1558
+
1559
+ class DeleteReadinessCheckCommand extends smithyClient.Command
1560
+ .classBuilder()
1561
+ .ep(commonParams)
1562
+ .m(function (Command, cs, config, o) {
1563
+ return [
1564
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1565
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1566
+ ];
1567
+ })
1568
+ .s("Route53RecoveryReadiness", "DeleteReadinessCheck", {})
1569
+ .n("Route53RecoveryReadinessClient", "DeleteReadinessCheckCommand")
1570
+ .f(void 0, void 0)
1571
+ .ser(se_DeleteReadinessCheckCommand)
1572
+ .de(de_DeleteReadinessCheckCommand)
1573
+ .build() {
1574
+ }
1575
+
1576
+ class DeleteRecoveryGroupCommand extends smithyClient.Command
1577
+ .classBuilder()
1578
+ .ep(commonParams)
1579
+ .m(function (Command, cs, config, o) {
1580
+ return [
1581
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1582
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1583
+ ];
1584
+ })
1585
+ .s("Route53RecoveryReadiness", "DeleteRecoveryGroup", {})
1586
+ .n("Route53RecoveryReadinessClient", "DeleteRecoveryGroupCommand")
1587
+ .f(void 0, void 0)
1588
+ .ser(se_DeleteRecoveryGroupCommand)
1589
+ .de(de_DeleteRecoveryGroupCommand)
1590
+ .build() {
1591
+ }
1592
+
1593
+ class DeleteResourceSetCommand extends smithyClient.Command
1594
+ .classBuilder()
1595
+ .ep(commonParams)
1596
+ .m(function (Command, cs, config, o) {
1597
+ return [
1598
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1599
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1600
+ ];
1601
+ })
1602
+ .s("Route53RecoveryReadiness", "DeleteResourceSet", {})
1603
+ .n("Route53RecoveryReadinessClient", "DeleteResourceSetCommand")
1604
+ .f(void 0, void 0)
1605
+ .ser(se_DeleteResourceSetCommand)
1606
+ .de(de_DeleteResourceSetCommand)
1607
+ .build() {
1608
+ }
1609
+
1610
+ class GetArchitectureRecommendationsCommand extends smithyClient.Command
1611
+ .classBuilder()
1612
+ .ep(commonParams)
1613
+ .m(function (Command, cs, config, o) {
1614
+ return [
1615
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1616
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1617
+ ];
1618
+ })
1619
+ .s("Route53RecoveryReadiness", "GetArchitectureRecommendations", {})
1620
+ .n("Route53RecoveryReadinessClient", "GetArchitectureRecommendationsCommand")
1621
+ .f(void 0, void 0)
1622
+ .ser(se_GetArchitectureRecommendationsCommand)
1623
+ .de(de_GetArchitectureRecommendationsCommand)
1624
+ .build() {
1625
+ }
1626
+
1627
+ class GetCellCommand extends smithyClient.Command
1628
+ .classBuilder()
1629
+ .ep(commonParams)
1630
+ .m(function (Command, cs, config, o) {
1631
+ return [
1632
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1633
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1634
+ ];
1635
+ })
1636
+ .s("Route53RecoveryReadiness", "GetCell", {})
1637
+ .n("Route53RecoveryReadinessClient", "GetCellCommand")
1638
+ .f(void 0, void 0)
1639
+ .ser(se_GetCellCommand)
1640
+ .de(de_GetCellCommand)
1641
+ .build() {
1642
+ }
1643
+
1644
+ class GetCellReadinessSummaryCommand extends smithyClient.Command
1645
+ .classBuilder()
1646
+ .ep(commonParams)
1647
+ .m(function (Command, cs, config, o) {
1648
+ return [
1649
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1650
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1651
+ ];
1652
+ })
1653
+ .s("Route53RecoveryReadiness", "GetCellReadinessSummary", {})
1654
+ .n("Route53RecoveryReadinessClient", "GetCellReadinessSummaryCommand")
1655
+ .f(void 0, void 0)
1656
+ .ser(se_GetCellReadinessSummaryCommand)
1657
+ .de(de_GetCellReadinessSummaryCommand)
1658
+ .build() {
1659
+ }
1660
+
1661
+ class GetReadinessCheckCommand extends smithyClient.Command
1662
+ .classBuilder()
1663
+ .ep(commonParams)
1664
+ .m(function (Command, cs, config, o) {
1665
+ return [
1666
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1667
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1668
+ ];
1669
+ })
1670
+ .s("Route53RecoveryReadiness", "GetReadinessCheck", {})
1671
+ .n("Route53RecoveryReadinessClient", "GetReadinessCheckCommand")
1672
+ .f(void 0, void 0)
1673
+ .ser(se_GetReadinessCheckCommand)
1674
+ .de(de_GetReadinessCheckCommand)
1675
+ .build() {
1676
+ }
1677
+
1678
+ class GetReadinessCheckResourceStatusCommand extends smithyClient.Command
1679
+ .classBuilder()
1680
+ .ep(commonParams)
1681
+ .m(function (Command, cs, config, o) {
1682
+ return [
1683
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1684
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1685
+ ];
1686
+ })
1687
+ .s("Route53RecoveryReadiness", "GetReadinessCheckResourceStatus", {})
1688
+ .n("Route53RecoveryReadinessClient", "GetReadinessCheckResourceStatusCommand")
1689
+ .f(void 0, void 0)
1690
+ .ser(se_GetReadinessCheckResourceStatusCommand)
1691
+ .de(de_GetReadinessCheckResourceStatusCommand)
1692
+ .build() {
1693
+ }
1694
+
1695
+ class GetReadinessCheckStatusCommand extends smithyClient.Command
1696
+ .classBuilder()
1697
+ .ep(commonParams)
1698
+ .m(function (Command, cs, config, o) {
1699
+ return [
1700
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1701
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1702
+ ];
1703
+ })
1704
+ .s("Route53RecoveryReadiness", "GetReadinessCheckStatus", {})
1705
+ .n("Route53RecoveryReadinessClient", "GetReadinessCheckStatusCommand")
1706
+ .f(void 0, void 0)
1707
+ .ser(se_GetReadinessCheckStatusCommand)
1708
+ .de(de_GetReadinessCheckStatusCommand)
1709
+ .build() {
1710
+ }
1711
+
1712
+ class GetRecoveryGroupCommand extends smithyClient.Command
1713
+ .classBuilder()
1714
+ .ep(commonParams)
1715
+ .m(function (Command, cs, config, o) {
1716
+ return [
1717
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1718
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1719
+ ];
1720
+ })
1721
+ .s("Route53RecoveryReadiness", "GetRecoveryGroup", {})
1722
+ .n("Route53RecoveryReadinessClient", "GetRecoveryGroupCommand")
1723
+ .f(void 0, void 0)
1724
+ .ser(se_GetRecoveryGroupCommand)
1725
+ .de(de_GetRecoveryGroupCommand)
1726
+ .build() {
1727
+ }
1728
+
1729
+ class GetRecoveryGroupReadinessSummaryCommand extends smithyClient.Command
1730
+ .classBuilder()
1731
+ .ep(commonParams)
1732
+ .m(function (Command, cs, config, o) {
1733
+ return [
1734
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1735
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1736
+ ];
1737
+ })
1738
+ .s("Route53RecoveryReadiness", "GetRecoveryGroupReadinessSummary", {})
1739
+ .n("Route53RecoveryReadinessClient", "GetRecoveryGroupReadinessSummaryCommand")
1740
+ .f(void 0, void 0)
1741
+ .ser(se_GetRecoveryGroupReadinessSummaryCommand)
1742
+ .de(de_GetRecoveryGroupReadinessSummaryCommand)
1743
+ .build() {
1744
+ }
1745
+
1746
+ class GetResourceSetCommand extends smithyClient.Command
1747
+ .classBuilder()
1748
+ .ep(commonParams)
1749
+ .m(function (Command, cs, config, o) {
1750
+ return [
1751
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1752
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1753
+ ];
1754
+ })
1755
+ .s("Route53RecoveryReadiness", "GetResourceSet", {})
1756
+ .n("Route53RecoveryReadinessClient", "GetResourceSetCommand")
1757
+ .f(void 0, void 0)
1758
+ .ser(se_GetResourceSetCommand)
1759
+ .de(de_GetResourceSetCommand)
1760
+ .build() {
1761
+ }
1762
+
1763
+ class ListCellsCommand extends smithyClient.Command
1764
+ .classBuilder()
1765
+ .ep(commonParams)
1766
+ .m(function (Command, cs, config, o) {
1767
+ return [
1768
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1769
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1770
+ ];
1771
+ })
1772
+ .s("Route53RecoveryReadiness", "ListCells", {})
1773
+ .n("Route53RecoveryReadinessClient", "ListCellsCommand")
1774
+ .f(void 0, void 0)
1775
+ .ser(se_ListCellsCommand)
1776
+ .de(de_ListCellsCommand)
1777
+ .build() {
1778
+ }
1779
+
1780
+ class ListCrossAccountAuthorizationsCommand extends smithyClient.Command
1781
+ .classBuilder()
1782
+ .ep(commonParams)
1783
+ .m(function (Command, cs, config, o) {
1784
+ return [
1785
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1786
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1787
+ ];
1788
+ })
1789
+ .s("Route53RecoveryReadiness", "ListCrossAccountAuthorizations", {})
1790
+ .n("Route53RecoveryReadinessClient", "ListCrossAccountAuthorizationsCommand")
1791
+ .f(void 0, void 0)
1792
+ .ser(se_ListCrossAccountAuthorizationsCommand)
1793
+ .de(de_ListCrossAccountAuthorizationsCommand)
1794
+ .build() {
1795
+ }
1796
+
1797
+ class ListReadinessChecksCommand extends smithyClient.Command
1798
+ .classBuilder()
1799
+ .ep(commonParams)
1800
+ .m(function (Command, cs, config, o) {
1801
+ return [
1802
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1803
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1804
+ ];
1805
+ })
1806
+ .s("Route53RecoveryReadiness", "ListReadinessChecks", {})
1807
+ .n("Route53RecoveryReadinessClient", "ListReadinessChecksCommand")
1808
+ .f(void 0, void 0)
1809
+ .ser(se_ListReadinessChecksCommand)
1810
+ .de(de_ListReadinessChecksCommand)
1811
+ .build() {
1812
+ }
1813
+
1814
+ class ListRecoveryGroupsCommand extends smithyClient.Command
1815
+ .classBuilder()
1816
+ .ep(commonParams)
1817
+ .m(function (Command, cs, config, o) {
1818
+ return [
1819
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1820
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1821
+ ];
1822
+ })
1823
+ .s("Route53RecoveryReadiness", "ListRecoveryGroups", {})
1824
+ .n("Route53RecoveryReadinessClient", "ListRecoveryGroupsCommand")
1825
+ .f(void 0, void 0)
1826
+ .ser(se_ListRecoveryGroupsCommand)
1827
+ .de(de_ListRecoveryGroupsCommand)
1828
+ .build() {
1829
+ }
1830
+
1831
+ class ListResourceSetsCommand extends smithyClient.Command
1832
+ .classBuilder()
1833
+ .ep(commonParams)
1834
+ .m(function (Command, cs, config, o) {
1835
+ return [
1836
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1837
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1838
+ ];
1839
+ })
1840
+ .s("Route53RecoveryReadiness", "ListResourceSets", {})
1841
+ .n("Route53RecoveryReadinessClient", "ListResourceSetsCommand")
1842
+ .f(void 0, void 0)
1843
+ .ser(se_ListResourceSetsCommand)
1844
+ .de(de_ListResourceSetsCommand)
1845
+ .build() {
1846
+ }
1847
+
1848
+ class ListRulesCommand extends smithyClient.Command
1849
+ .classBuilder()
1850
+ .ep(commonParams)
1851
+ .m(function (Command, cs, config, o) {
1852
+ return [
1853
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1854
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1855
+ ];
1856
+ })
1857
+ .s("Route53RecoveryReadiness", "ListRules", {})
1858
+ .n("Route53RecoveryReadinessClient", "ListRulesCommand")
1859
+ .f(void 0, void 0)
1860
+ .ser(se_ListRulesCommand)
1861
+ .de(de_ListRulesCommand)
1862
+ .build() {
1863
+ }
1864
+
1865
+ class ListTagsForResourcesCommand extends smithyClient.Command
1866
+ .classBuilder()
1867
+ .ep(commonParams)
1868
+ .m(function (Command, cs, config, o) {
1869
+ return [
1870
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1871
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1872
+ ];
1873
+ })
1874
+ .s("Route53RecoveryReadiness", "ListTagsForResources", {})
1875
+ .n("Route53RecoveryReadinessClient", "ListTagsForResourcesCommand")
1876
+ .f(void 0, void 0)
1877
+ .ser(se_ListTagsForResourcesCommand)
1878
+ .de(de_ListTagsForResourcesCommand)
1879
+ .build() {
1880
+ }
1881
+
1882
+ class TagResourceCommand extends smithyClient.Command
1883
+ .classBuilder()
1884
+ .ep(commonParams)
1885
+ .m(function (Command, cs, config, o) {
1886
+ return [
1887
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1888
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1889
+ ];
1890
+ })
1891
+ .s("Route53RecoveryReadiness", "TagResource", {})
1892
+ .n("Route53RecoveryReadinessClient", "TagResourceCommand")
1893
+ .f(void 0, void 0)
1894
+ .ser(se_TagResourceCommand)
1895
+ .de(de_TagResourceCommand)
1896
+ .build() {
1897
+ }
1898
+
1899
+ class UntagResourceCommand extends smithyClient.Command
1900
+ .classBuilder()
1901
+ .ep(commonParams)
1902
+ .m(function (Command, cs, config, o) {
1903
+ return [
1904
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1905
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1906
+ ];
1907
+ })
1908
+ .s("Route53RecoveryReadiness", "UntagResource", {})
1909
+ .n("Route53RecoveryReadinessClient", "UntagResourceCommand")
1910
+ .f(void 0, void 0)
1911
+ .ser(se_UntagResourceCommand)
1912
+ .de(de_UntagResourceCommand)
1913
+ .build() {
1914
+ }
1915
+
1916
+ class UpdateCellCommand extends smithyClient.Command
1917
+ .classBuilder()
1918
+ .ep(commonParams)
1919
+ .m(function (Command, cs, config, o) {
1920
+ return [
1921
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1922
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1923
+ ];
1924
+ })
1925
+ .s("Route53RecoveryReadiness", "UpdateCell", {})
1926
+ .n("Route53RecoveryReadinessClient", "UpdateCellCommand")
1927
+ .f(void 0, void 0)
1928
+ .ser(se_UpdateCellCommand)
1929
+ .de(de_UpdateCellCommand)
1930
+ .build() {
1931
+ }
1932
+
1933
+ class UpdateReadinessCheckCommand extends smithyClient.Command
1934
+ .classBuilder()
1935
+ .ep(commonParams)
1936
+ .m(function (Command, cs, config, o) {
1937
+ return [
1938
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1939
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1940
+ ];
1941
+ })
1942
+ .s("Route53RecoveryReadiness", "UpdateReadinessCheck", {})
1943
+ .n("Route53RecoveryReadinessClient", "UpdateReadinessCheckCommand")
1944
+ .f(void 0, void 0)
1945
+ .ser(se_UpdateReadinessCheckCommand)
1946
+ .de(de_UpdateReadinessCheckCommand)
1947
+ .build() {
1948
+ }
1949
+
1950
+ class UpdateRecoveryGroupCommand extends smithyClient.Command
1951
+ .classBuilder()
1952
+ .ep(commonParams)
1953
+ .m(function (Command, cs, config, o) {
1954
+ return [
1955
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1956
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1957
+ ];
1958
+ })
1959
+ .s("Route53RecoveryReadiness", "UpdateRecoveryGroup", {})
1960
+ .n("Route53RecoveryReadinessClient", "UpdateRecoveryGroupCommand")
1961
+ .f(void 0, void 0)
1962
+ .ser(se_UpdateRecoveryGroupCommand)
1963
+ .de(de_UpdateRecoveryGroupCommand)
1964
+ .build() {
1965
+ }
1966
+
1967
+ class UpdateResourceSetCommand extends smithyClient.Command
1968
+ .classBuilder()
1969
+ .ep(commonParams)
1970
+ .m(function (Command, cs, config, o) {
1971
+ return [
1972
+ middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1973
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1974
+ ];
1975
+ })
1976
+ .s("Route53RecoveryReadiness", "UpdateResourceSet", {})
1977
+ .n("Route53RecoveryReadinessClient", "UpdateResourceSetCommand")
1978
+ .f(void 0, void 0)
1979
+ .ser(se_UpdateResourceSetCommand)
1980
+ .de(de_UpdateResourceSetCommand)
1981
+ .build() {
1982
+ }
1983
+
1984
+ const commands = {
1985
+ CreateCellCommand,
1986
+ CreateCrossAccountAuthorizationCommand,
1987
+ CreateReadinessCheckCommand,
1988
+ CreateRecoveryGroupCommand,
1989
+ CreateResourceSetCommand,
1990
+ DeleteCellCommand,
1991
+ DeleteCrossAccountAuthorizationCommand,
1992
+ DeleteReadinessCheckCommand,
1993
+ DeleteRecoveryGroupCommand,
1994
+ DeleteResourceSetCommand,
1995
+ GetArchitectureRecommendationsCommand,
1996
+ GetCellCommand,
1997
+ GetCellReadinessSummaryCommand,
1998
+ GetReadinessCheckCommand,
1999
+ GetReadinessCheckResourceStatusCommand,
2000
+ GetReadinessCheckStatusCommand,
2001
+ GetRecoveryGroupCommand,
2002
+ GetRecoveryGroupReadinessSummaryCommand,
2003
+ GetResourceSetCommand,
2004
+ ListCellsCommand,
2005
+ ListCrossAccountAuthorizationsCommand,
2006
+ ListReadinessChecksCommand,
2007
+ ListRecoveryGroupsCommand,
2008
+ ListResourceSetsCommand,
2009
+ ListRulesCommand,
2010
+ ListTagsForResourcesCommand,
2011
+ TagResourceCommand,
2012
+ UntagResourceCommand,
2013
+ UpdateCellCommand,
2014
+ UpdateReadinessCheckCommand,
2015
+ UpdateRecoveryGroupCommand,
2016
+ UpdateResourceSetCommand,
2017
+ };
2018
+ class Route53RecoveryReadiness extends Route53RecoveryReadinessClient {
2019
+ }
2020
+ smithyClient.createAggregatedClient(commands, Route53RecoveryReadiness);
2079
2021
 
2080
- // src/Route53RecoveryReadiness.ts
2081
- var commands = {
2082
- CreateCellCommand,
2083
- CreateCrossAccountAuthorizationCommand,
2084
- CreateReadinessCheckCommand,
2085
- CreateRecoveryGroupCommand,
2086
- CreateResourceSetCommand,
2087
- DeleteCellCommand,
2088
- DeleteCrossAccountAuthorizationCommand,
2089
- DeleteReadinessCheckCommand,
2090
- DeleteRecoveryGroupCommand,
2091
- DeleteResourceSetCommand,
2092
- GetArchitectureRecommendationsCommand,
2093
- GetCellCommand,
2094
- GetCellReadinessSummaryCommand,
2095
- GetReadinessCheckCommand,
2096
- GetReadinessCheckResourceStatusCommand,
2097
- GetReadinessCheckStatusCommand,
2098
- GetRecoveryGroupCommand,
2099
- GetRecoveryGroupReadinessSummaryCommand,
2100
- GetResourceSetCommand,
2101
- ListCellsCommand,
2102
- ListCrossAccountAuthorizationsCommand,
2103
- ListReadinessChecksCommand,
2104
- ListRecoveryGroupsCommand,
2105
- ListResourceSetsCommand,
2106
- ListRulesCommand,
2107
- ListTagsForResourcesCommand,
2108
- TagResourceCommand,
2109
- UntagResourceCommand,
2110
- UpdateCellCommand,
2111
- UpdateReadinessCheckCommand,
2112
- UpdateRecoveryGroupCommand,
2113
- UpdateResourceSetCommand
2114
- };
2115
- var Route53RecoveryReadiness = class extends Route53RecoveryReadinessClient {
2116
- static {
2117
- __name(this, "Route53RecoveryReadiness");
2118
- }
2119
- };
2120
- (0, import_smithy_client.createAggregatedClient)(commands, Route53RecoveryReadiness);
2121
-
2122
- // src/pagination/GetCellReadinessSummaryPaginator.ts
2123
-
2124
- var paginateGetCellReadinessSummary = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
2125
-
2126
- // src/pagination/GetReadinessCheckResourceStatusPaginator.ts
2127
-
2128
- var paginateGetReadinessCheckResourceStatus = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
2129
-
2130
- // src/pagination/GetReadinessCheckStatusPaginator.ts
2131
-
2132
- var paginateGetReadinessCheckStatus = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
2133
-
2134
- // src/pagination/GetRecoveryGroupReadinessSummaryPaginator.ts
2135
-
2136
- var paginateGetRecoveryGroupReadinessSummary = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
2137
-
2138
- // src/pagination/ListCellsPaginator.ts
2139
-
2140
- var paginateListCells = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListCellsCommand, "NextToken", "NextToken", "MaxResults");
2141
-
2142
- // src/pagination/ListCrossAccountAuthorizationsPaginator.ts
2022
+ const paginateGetCellReadinessSummary = core.createPaginator(Route53RecoveryReadinessClient, GetCellReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
2143
2023
 
2144
- var paginateListCrossAccountAuthorizations = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
2024
+ const paginateGetReadinessCheckResourceStatus = core.createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckResourceStatusCommand, "NextToken", "NextToken", "MaxResults");
2145
2025
 
2146
- // src/pagination/ListReadinessChecksPaginator.ts
2026
+ const paginateGetReadinessCheckStatus = core.createPaginator(Route53RecoveryReadinessClient, GetReadinessCheckStatusCommand, "NextToken", "NextToken", "MaxResults");
2147
2027
 
2148
- var paginateListReadinessChecks = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
2028
+ const paginateGetRecoveryGroupReadinessSummary = core.createPaginator(Route53RecoveryReadinessClient, GetRecoveryGroupReadinessSummaryCommand, "NextToken", "NextToken", "MaxResults");
2149
2029
 
2150
- // src/pagination/ListRecoveryGroupsPaginator.ts
2030
+ const paginateListCells = core.createPaginator(Route53RecoveryReadinessClient, ListCellsCommand, "NextToken", "NextToken", "MaxResults");
2151
2031
 
2152
- var paginateListRecoveryGroups = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");
2032
+ const paginateListCrossAccountAuthorizations = core.createPaginator(Route53RecoveryReadinessClient, ListCrossAccountAuthorizationsCommand, "NextToken", "NextToken", "MaxResults");
2153
2033
 
2154
- // src/pagination/ListResourceSetsPaginator.ts
2034
+ const paginateListReadinessChecks = core.createPaginator(Route53RecoveryReadinessClient, ListReadinessChecksCommand, "NextToken", "NextToken", "MaxResults");
2155
2035
 
2156
- var paginateListResourceSets = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListResourceSetsCommand, "NextToken", "NextToken", "MaxResults");
2036
+ const paginateListRecoveryGroups = core.createPaginator(Route53RecoveryReadinessClient, ListRecoveryGroupsCommand, "NextToken", "NextToken", "MaxResults");
2157
2037
 
2158
- // src/pagination/ListRulesPaginator.ts
2038
+ const paginateListResourceSets = core.createPaginator(Route53RecoveryReadinessClient, ListResourceSetsCommand, "NextToken", "NextToken", "MaxResults");
2159
2039
 
2160
- var paginateListRules = (0, import_core.createPaginator)(Route53RecoveryReadinessClient, ListRulesCommand, "NextToken", "NextToken", "MaxResults");
2161
- // Annotate the CommonJS export names for ESM import in node:
2040
+ const paginateListRules = core.createPaginator(Route53RecoveryReadinessClient, ListRulesCommand, "NextToken", "NextToken", "MaxResults");
2162
2041
 
2163
- 0 && (module.exports = {
2164
- Route53RecoveryReadinessServiceException,
2165
- __Client,
2166
- Route53RecoveryReadinessClient,
2167
- Route53RecoveryReadiness,
2168
- $Command,
2169
- CreateCellCommand,
2170
- CreateCrossAccountAuthorizationCommand,
2171
- CreateReadinessCheckCommand,
2172
- CreateRecoveryGroupCommand,
2173
- CreateResourceSetCommand,
2174
- DeleteCellCommand,
2175
- DeleteCrossAccountAuthorizationCommand,
2176
- DeleteReadinessCheckCommand,
2177
- DeleteRecoveryGroupCommand,
2178
- DeleteResourceSetCommand,
2179
- GetArchitectureRecommendationsCommand,
2180
- GetCellCommand,
2181
- GetCellReadinessSummaryCommand,
2182
- GetReadinessCheckCommand,
2183
- GetReadinessCheckResourceStatusCommand,
2184
- GetReadinessCheckStatusCommand,
2185
- GetRecoveryGroupCommand,
2186
- GetRecoveryGroupReadinessSummaryCommand,
2187
- GetResourceSetCommand,
2188
- ListCellsCommand,
2189
- ListCrossAccountAuthorizationsCommand,
2190
- ListReadinessChecksCommand,
2191
- ListRecoveryGroupsCommand,
2192
- ListResourceSetsCommand,
2193
- ListRulesCommand,
2194
- ListTagsForResourcesCommand,
2195
- TagResourceCommand,
2196
- UntagResourceCommand,
2197
- UpdateCellCommand,
2198
- UpdateReadinessCheckCommand,
2199
- UpdateRecoveryGroupCommand,
2200
- UpdateResourceSetCommand,
2201
- paginateGetCellReadinessSummary,
2202
- paginateGetReadinessCheckResourceStatus,
2203
- paginateGetReadinessCheckStatus,
2204
- paginateGetRecoveryGroupReadinessSummary,
2205
- paginateListCells,
2206
- paginateListCrossAccountAuthorizations,
2207
- paginateListReadinessChecks,
2208
- paginateListRecoveryGroups,
2209
- paginateListResourceSets,
2210
- paginateListRules,
2211
- Readiness,
2212
- AccessDeniedException,
2213
- ConflictException,
2214
- InternalServerException,
2215
- ThrottlingException,
2216
- ValidationException,
2217
- ResourceNotFoundException
2042
+ Object.defineProperty(exports, "$Command", {
2043
+ enumerable: true,
2044
+ get: function () { return smithyClient.Command; }
2218
2045
  });
2219
-
2046
+ Object.defineProperty(exports, "__Client", {
2047
+ enumerable: true,
2048
+ get: function () { return smithyClient.Client; }
2049
+ });
2050
+ exports.AccessDeniedException = AccessDeniedException;
2051
+ exports.ConflictException = ConflictException;
2052
+ exports.CreateCellCommand = CreateCellCommand;
2053
+ exports.CreateCrossAccountAuthorizationCommand = CreateCrossAccountAuthorizationCommand;
2054
+ exports.CreateReadinessCheckCommand = CreateReadinessCheckCommand;
2055
+ exports.CreateRecoveryGroupCommand = CreateRecoveryGroupCommand;
2056
+ exports.CreateResourceSetCommand = CreateResourceSetCommand;
2057
+ exports.DeleteCellCommand = DeleteCellCommand;
2058
+ exports.DeleteCrossAccountAuthorizationCommand = DeleteCrossAccountAuthorizationCommand;
2059
+ exports.DeleteReadinessCheckCommand = DeleteReadinessCheckCommand;
2060
+ exports.DeleteRecoveryGroupCommand = DeleteRecoveryGroupCommand;
2061
+ exports.DeleteResourceSetCommand = DeleteResourceSetCommand;
2062
+ exports.GetArchitectureRecommendationsCommand = GetArchitectureRecommendationsCommand;
2063
+ exports.GetCellCommand = GetCellCommand;
2064
+ exports.GetCellReadinessSummaryCommand = GetCellReadinessSummaryCommand;
2065
+ exports.GetReadinessCheckCommand = GetReadinessCheckCommand;
2066
+ exports.GetReadinessCheckResourceStatusCommand = GetReadinessCheckResourceStatusCommand;
2067
+ exports.GetReadinessCheckStatusCommand = GetReadinessCheckStatusCommand;
2068
+ exports.GetRecoveryGroupCommand = GetRecoveryGroupCommand;
2069
+ exports.GetRecoveryGroupReadinessSummaryCommand = GetRecoveryGroupReadinessSummaryCommand;
2070
+ exports.GetResourceSetCommand = GetResourceSetCommand;
2071
+ exports.InternalServerException = InternalServerException;
2072
+ exports.ListCellsCommand = ListCellsCommand;
2073
+ exports.ListCrossAccountAuthorizationsCommand = ListCrossAccountAuthorizationsCommand;
2074
+ exports.ListReadinessChecksCommand = ListReadinessChecksCommand;
2075
+ exports.ListRecoveryGroupsCommand = ListRecoveryGroupsCommand;
2076
+ exports.ListResourceSetsCommand = ListResourceSetsCommand;
2077
+ exports.ListRulesCommand = ListRulesCommand;
2078
+ exports.ListTagsForResourcesCommand = ListTagsForResourcesCommand;
2079
+ exports.Readiness = Readiness;
2080
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2081
+ exports.Route53RecoveryReadiness = Route53RecoveryReadiness;
2082
+ exports.Route53RecoveryReadinessClient = Route53RecoveryReadinessClient;
2083
+ exports.Route53RecoveryReadinessServiceException = Route53RecoveryReadinessServiceException;
2084
+ exports.TagResourceCommand = TagResourceCommand;
2085
+ exports.ThrottlingException = ThrottlingException;
2086
+ exports.UntagResourceCommand = UntagResourceCommand;
2087
+ exports.UpdateCellCommand = UpdateCellCommand;
2088
+ exports.UpdateReadinessCheckCommand = UpdateReadinessCheckCommand;
2089
+ exports.UpdateRecoveryGroupCommand = UpdateRecoveryGroupCommand;
2090
+ exports.UpdateResourceSetCommand = UpdateResourceSetCommand;
2091
+ exports.ValidationException = ValidationException;
2092
+ exports.paginateGetCellReadinessSummary = paginateGetCellReadinessSummary;
2093
+ exports.paginateGetReadinessCheckResourceStatus = paginateGetReadinessCheckResourceStatus;
2094
+ exports.paginateGetReadinessCheckStatus = paginateGetReadinessCheckStatus;
2095
+ exports.paginateGetRecoveryGroupReadinessSummary = paginateGetRecoveryGroupReadinessSummary;
2096
+ exports.paginateListCells = paginateListCells;
2097
+ exports.paginateListCrossAccountAuthorizations = paginateListCrossAccountAuthorizations;
2098
+ exports.paginateListReadinessChecks = paginateListReadinessChecks;
2099
+ exports.paginateListRecoveryGroups = paginateListRecoveryGroups;
2100
+ exports.paginateListResourceSets = paginateListResourceSets;
2101
+ exports.paginateListRules = paginateListRules;