@aws-sdk/client-route53-recovery-readiness 3.181.0 → 3.183.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 (54) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/Route53RecoveryReadiness.js +130 -137
  3. package/dist-es/Route53RecoveryReadinessClient.js +22 -28
  4. package/dist-es/commands/CreateCellCommand.js +21 -28
  5. package/dist-es/commands/CreateCrossAccountAuthorizationCommand.js +21 -28
  6. package/dist-es/commands/CreateReadinessCheckCommand.js +21 -28
  7. package/dist-es/commands/CreateRecoveryGroupCommand.js +21 -28
  8. package/dist-es/commands/CreateResourceSetCommand.js +21 -28
  9. package/dist-es/commands/DeleteCellCommand.js +22 -29
  10. package/dist-es/commands/DeleteCrossAccountAuthorizationCommand.js +21 -28
  11. package/dist-es/commands/DeleteReadinessCheckCommand.js +22 -29
  12. package/dist-es/commands/DeleteRecoveryGroupCommand.js +22 -29
  13. package/dist-es/commands/DeleteResourceSetCommand.js +22 -29
  14. package/dist-es/commands/GetArchitectureRecommendationsCommand.js +21 -28
  15. package/dist-es/commands/GetCellCommand.js +21 -28
  16. package/dist-es/commands/GetCellReadinessSummaryCommand.js +21 -28
  17. package/dist-es/commands/GetReadinessCheckCommand.js +21 -28
  18. package/dist-es/commands/GetReadinessCheckResourceStatusCommand.js +21 -28
  19. package/dist-es/commands/GetReadinessCheckStatusCommand.js +21 -28
  20. package/dist-es/commands/GetRecoveryGroupCommand.js +21 -28
  21. package/dist-es/commands/GetRecoveryGroupReadinessSummaryCommand.js +21 -28
  22. package/dist-es/commands/GetResourceSetCommand.js +21 -28
  23. package/dist-es/commands/ListCellsCommand.js +21 -28
  24. package/dist-es/commands/ListCrossAccountAuthorizationsCommand.js +21 -28
  25. package/dist-es/commands/ListReadinessChecksCommand.js +21 -28
  26. package/dist-es/commands/ListRecoveryGroupsCommand.js +21 -28
  27. package/dist-es/commands/ListResourceSetsCommand.js +21 -28
  28. package/dist-es/commands/ListRulesCommand.js +21 -28
  29. package/dist-es/commands/ListTagsForResourcesCommand.js +21 -28
  30. package/dist-es/commands/TagResourceCommand.js +21 -28
  31. package/dist-es/commands/UntagResourceCommand.js +22 -29
  32. package/dist-es/commands/UpdateCellCommand.js +21 -28
  33. package/dist-es/commands/UpdateReadinessCheckCommand.js +21 -28
  34. package/dist-es/commands/UpdateRecoveryGroupCommand.js +21 -28
  35. package/dist-es/commands/UpdateResourceSetCommand.js +21 -28
  36. package/dist-es/endpoints.js +8 -8
  37. package/dist-es/models/Route53RecoveryReadinessServiceException.js +5 -10
  38. package/dist-es/models/models_0.js +294 -147
  39. package/dist-es/pagination/GetCellReadinessSummaryPaginator.js +25 -68
  40. package/dist-es/pagination/GetReadinessCheckResourceStatusPaginator.js +25 -68
  41. package/dist-es/pagination/GetReadinessCheckStatusPaginator.js +25 -68
  42. package/dist-es/pagination/GetRecoveryGroupReadinessSummaryPaginator.js +25 -68
  43. package/dist-es/pagination/ListCellsPaginator.js +25 -68
  44. package/dist-es/pagination/ListCrossAccountAuthorizationsPaginator.js +25 -68
  45. package/dist-es/pagination/ListReadinessChecksPaginator.js +25 -68
  46. package/dist-es/pagination/ListRecoveryGroupsPaginator.js +25 -68
  47. package/dist-es/pagination/ListResourceSetsPaginator.js +25 -68
  48. package/dist-es/pagination/ListRulesPaginator.js +25 -68
  49. package/dist-es/protocols/Aws_restJson1.js +2337 -3334
  50. package/dist-es/runtimeConfig.browser.js +26 -12
  51. package/dist-es/runtimeConfig.js +30 -12
  52. package/dist-es/runtimeConfig.native.js +8 -5
  53. package/dist-es/runtimeConfig.shared.js +8 -11
  54. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var Route53RecoveryReadinessClient = (function (_super) {
13
- __extends(Route53RecoveryReadinessClient, _super);
14
- function Route53RecoveryReadinessClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class Route53RecoveryReadinessClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- Route53RecoveryReadinessClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return Route53RecoveryReadinessClient;
38
- }(__Client));
39
- export { Route53RecoveryReadinessClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateCellRequestFilterSensitiveLog, CreateCellResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateCellCommand, serializeAws_restJson1CreateCellCommand, } from "../protocols/Aws_restJson1";
6
- var CreateCellCommand = (function (_super) {
7
- __extends(CreateCellCommand, _super);
8
- function CreateCellCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCellCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCellCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "CreateCellCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "CreateCellCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCellRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCellResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCellCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateCellCommand(input, context);
33
- };
34
- CreateCellCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateCellCommand(output, context);
36
- };
37
- return CreateCellCommand;
38
- }($Command));
39
- export { CreateCellCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateCrossAccountAuthorizationRequestFilterSensitiveLog, CreateCrossAccountAuthorizationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateCrossAccountAuthorizationCommand, serializeAws_restJson1CreateCrossAccountAuthorizationCommand, } from "../protocols/Aws_restJson1";
6
- var CreateCrossAccountAuthorizationCommand = (function (_super) {
7
- __extends(CreateCrossAccountAuthorizationCommand, _super);
8
- function CreateCrossAccountAuthorizationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateCrossAccountAuthorizationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateCrossAccountAuthorizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "CreateCrossAccountAuthorizationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "CreateCrossAccountAuthorizationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateCrossAccountAuthorizationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateCrossAccountAuthorizationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateCrossAccountAuthorizationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateCrossAccountAuthorizationCommand(input, context);
33
- };
34
- CreateCrossAccountAuthorizationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateCrossAccountAuthorizationCommand(output, context);
36
- };
37
- return CreateCrossAccountAuthorizationCommand;
38
- }($Command));
39
- export { CreateCrossAccountAuthorizationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateReadinessCheckRequestFilterSensitiveLog, CreateReadinessCheckResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateReadinessCheckCommand, serializeAws_restJson1CreateReadinessCheckCommand, } from "../protocols/Aws_restJson1";
6
- var CreateReadinessCheckCommand = (function (_super) {
7
- __extends(CreateReadinessCheckCommand, _super);
8
- function CreateReadinessCheckCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateReadinessCheckCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateReadinessCheckCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "CreateReadinessCheckCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "CreateReadinessCheckCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateReadinessCheckRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateReadinessCheckResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateReadinessCheckCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateReadinessCheckCommand(input, context);
33
- };
34
- CreateReadinessCheckCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateReadinessCheckCommand(output, context);
36
- };
37
- return CreateReadinessCheckCommand;
38
- }($Command));
39
- export { CreateReadinessCheckCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateRecoveryGroupRequestFilterSensitiveLog, CreateRecoveryGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateRecoveryGroupCommand, serializeAws_restJson1CreateRecoveryGroupCommand, } from "../protocols/Aws_restJson1";
6
- var CreateRecoveryGroupCommand = (function (_super) {
7
- __extends(CreateRecoveryGroupCommand, _super);
8
- function CreateRecoveryGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateRecoveryGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateRecoveryGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "CreateRecoveryGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "CreateRecoveryGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateRecoveryGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateRecoveryGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateRecoveryGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateRecoveryGroupCommand(input, context);
33
- };
34
- CreateRecoveryGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateRecoveryGroupCommand(output, context);
36
- };
37
- return CreateRecoveryGroupCommand;
38
- }($Command));
39
- export { CreateRecoveryGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateResourceSetRequestFilterSensitiveLog, CreateResourceSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1CreateResourceSetCommand, serializeAws_restJson1CreateResourceSetCommand, } from "../protocols/Aws_restJson1";
6
- var CreateResourceSetCommand = (function (_super) {
7
- __extends(CreateResourceSetCommand, _super);
8
- function CreateResourceSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateResourceSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateResourceSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "CreateResourceSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "CreateResourceSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateResourceSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateResourceSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateResourceSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1CreateResourceSetCommand(input, context);
33
- };
34
- CreateResourceSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1CreateResourceSetCommand(output, context);
36
- };
37
- return CreateResourceSetCommand;
38
- }($Command));
39
- export { CreateResourceSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteCellRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteCellCommand, serializeAws_restJson1DeleteCellCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteCellCommand = (function (_super) {
7
- __extends(DeleteCellCommand, _super);
8
- function DeleteCellCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCellCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCellCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "DeleteCellCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "DeleteCellCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCellRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCellCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteCellCommand(input, context);
33
- };
34
- DeleteCellCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteCellCommand(output, context);
36
- };
37
- return DeleteCellCommand;
38
- }($Command));
39
- export { DeleteCellCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteCrossAccountAuthorizationRequestFilterSensitiveLog, DeleteCrossAccountAuthorizationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteCrossAccountAuthorizationCommand, serializeAws_restJson1DeleteCrossAccountAuthorizationCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteCrossAccountAuthorizationCommand = (function (_super) {
7
- __extends(DeleteCrossAccountAuthorizationCommand, _super);
8
- function DeleteCrossAccountAuthorizationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCrossAccountAuthorizationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCrossAccountAuthorizationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "DeleteCrossAccountAuthorizationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "DeleteCrossAccountAuthorizationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCrossAccountAuthorizationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteCrossAccountAuthorizationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteCrossAccountAuthorizationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteCrossAccountAuthorizationCommand(input, context);
33
- };
34
- DeleteCrossAccountAuthorizationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteCrossAccountAuthorizationCommand(output, context);
36
- };
37
- return DeleteCrossAccountAuthorizationCommand;
38
- }($Command));
39
- export { DeleteCrossAccountAuthorizationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteReadinessCheckRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteReadinessCheckCommand, serializeAws_restJson1DeleteReadinessCheckCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteReadinessCheckCommand = (function (_super) {
7
- __extends(DeleteReadinessCheckCommand, _super);
8
- function DeleteReadinessCheckCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteReadinessCheckCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteReadinessCheckCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "DeleteReadinessCheckCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "DeleteReadinessCheckCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteReadinessCheckRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteReadinessCheckCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteReadinessCheckCommand(input, context);
33
- };
34
- DeleteReadinessCheckCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteReadinessCheckCommand(output, context);
36
- };
37
- return DeleteReadinessCheckCommand;
38
- }($Command));
39
- export { DeleteReadinessCheckCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteRecoveryGroupRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_restJson1DeleteRecoveryGroupCommand, serializeAws_restJson1DeleteRecoveryGroupCommand, } from "../protocols/Aws_restJson1";
6
- var DeleteRecoveryGroupCommand = (function (_super) {
7
- __extends(DeleteRecoveryGroupCommand, _super);
8
- function DeleteRecoveryGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRecoveryGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRecoveryGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "Route53RecoveryReadinessClient";
18
- var commandName = "DeleteRecoveryGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "Route53RecoveryReadinessClient";
15
+ const commandName = "DeleteRecoveryGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRecoveryGroupRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRecoveryGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1DeleteRecoveryGroupCommand(input, context);
33
- };
34
- DeleteRecoveryGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1DeleteRecoveryGroupCommand(output, context);
36
- };
37
- return DeleteRecoveryGroupCommand;
38
- }($Command));
39
- export { DeleteRecoveryGroupCommand };
31
+ }
32
+ }