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