@aws-sdk/client-route53-recovery-cluster 3.34.0 → 3.37.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 (113) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Route53RecoveryCluster.js +1 -26
  3. package/dist-cjs/Route53RecoveryClusterClient.js +35 -0
  4. package/dist-cjs/commands/GetRoutingControlStateCommand.js +36 -0
  5. package/{dist/cjs → dist-cjs}/commands/UpdateRoutingControlStateCommand.js +2 -31
  6. package/{dist/cjs → dist-cjs}/commands/UpdateRoutingControlStatesCommand.js +2 -31
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -46
  11. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -6
  12. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  16. package/{dist/es → dist-es}/Route53RecoveryCluster.js +1 -2
  17. package/{dist/es → dist-es}/Route53RecoveryClusterClient.js +1 -2
  18. package/{dist/es → dist-es}/commands/GetRoutingControlStateCommand.js +2 -3
  19. package/{dist/es → dist-es}/commands/UpdateRoutingControlStateCommand.js +2 -3
  20. package/{dist/es → dist-es}/commands/UpdateRoutingControlStatesCommand.js +2 -3
  21. package/{dist/es → dist-es}/endpoints.js +1 -2
  22. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  23. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  24. package/{dist/es → dist-es}/models/models_0.js +0 -1
  25. package/{dist/es → dist-es}/protocols/Aws_json1_0.js +0 -1
  26. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  27. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  28. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  29. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  30. package/{dist/types → dist-types}/Route53RecoveryCluster.d.ts +2 -2
  31. package/{dist/types → dist-types}/Route53RecoveryClusterClient.d.ts +4 -4
  32. package/{dist/types → dist-types}/commands/GetRoutingControlStateCommand.d.ts +3 -3
  33. package/{dist/types → dist-types}/commands/UpdateRoutingControlStateCommand.d.ts +3 -3
  34. package/{dist/types → dist-types}/commands/UpdateRoutingControlStatesCommand.d.ts +3 -3
  35. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  36. package/{index.ts → dist-types/index.d.ts} +0 -0
  37. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  38. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  39. package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
  40. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +3 -1
  41. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  42. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  43. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  44. package/dist-types/ts3.4/Route53RecoveryCluster.d.ts +20 -0
  45. package/dist-types/ts3.4/Route53RecoveryClusterClient.d.ts +70 -0
  46. package/dist-types/ts3.4/commands/GetRoutingControlStateCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/UpdateRoutingControlStateCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/UpdateRoutingControlStatesCommand.d.ts +17 -0
  49. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  50. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  51. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  52. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +43 -129
  53. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
  54. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +2 -4
  55. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  56. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  57. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  58. package/package.json +45 -42
  59. package/Route53RecoveryCluster.ts +0 -156
  60. package/Route53RecoveryClusterClient.ts +0 -274
  61. package/commands/GetRoutingControlStateCommand.ts +0 -107
  62. package/commands/UpdateRoutingControlStateCommand.ts +0 -105
  63. package/commands/UpdateRoutingControlStatesCommand.ts +0 -105
  64. package/dist/cjs/Route53RecoveryCluster.js.map +0 -1
  65. package/dist/cjs/Route53RecoveryClusterClient.js +0 -65
  66. package/dist/cjs/Route53RecoveryClusterClient.js.map +0 -1
  67. package/dist/cjs/commands/GetRoutingControlStateCommand.js +0 -70
  68. package/dist/cjs/commands/GetRoutingControlStateCommand.js.map +0 -1
  69. package/dist/cjs/commands/UpdateRoutingControlStateCommand.js.map +0 -1
  70. package/dist/cjs/commands/UpdateRoutingControlStatesCommand.js.map +0 -1
  71. package/dist/cjs/endpoints.js.map +0 -1
  72. package/dist/cjs/index.js.map +0 -1
  73. package/dist/cjs/models/index.js.map +0 -1
  74. package/dist/cjs/models/models_0.js.map +0 -1
  75. package/dist/cjs/package.json +0 -91
  76. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  77. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  78. package/dist/cjs/runtimeConfig.js.map +0 -1
  79. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  80. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  81. package/dist/es/Route53RecoveryCluster.js.map +0 -1
  82. package/dist/es/Route53RecoveryClusterClient.js.map +0 -1
  83. package/dist/es/commands/GetRoutingControlStateCommand.js.map +0 -1
  84. package/dist/es/commands/UpdateRoutingControlStateCommand.js.map +0 -1
  85. package/dist/es/commands/UpdateRoutingControlStatesCommand.js.map +0 -1
  86. package/dist/es/endpoints.js.map +0 -1
  87. package/dist/es/index.js +0 -7
  88. package/dist/es/index.js.map +0 -1
  89. package/dist/es/models/index.js +0 -2
  90. package/dist/es/models/index.js.map +0 -1
  91. package/dist/es/models/models_0.js.map +0 -1
  92. package/dist/es/package.json +0 -91
  93. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  94. package/dist/es/runtimeConfig.browser.js.map +0 -1
  95. package/dist/es/runtimeConfig.js.map +0 -1
  96. package/dist/es/runtimeConfig.native.js.map +0 -1
  97. package/dist/es/runtimeConfig.shared.js.map +0 -1
  98. package/dist/types/ts3.4/Route53RecoveryCluster.d.ts +0 -66
  99. package/dist/types/ts3.4/Route53RecoveryClusterClient.d.ts +0 -156
  100. package/dist/types/ts3.4/commands/GetRoutingControlStateCommand.d.ts +0 -44
  101. package/dist/types/ts3.4/commands/UpdateRoutingControlStateCommand.d.ts +0 -39
  102. package/dist/types/ts3.4/commands/UpdateRoutingControlStatesCommand.d.ts +0 -39
  103. package/endpoints.ts +0 -57
  104. package/jest.config.js +0 -4
  105. package/models/models_0.ts +0 -322
  106. package/protocols/Aws_json1_0.ts +0 -739
  107. package/runtimeConfig.browser.ts +0 -40
  108. package/runtimeConfig.native.ts +0 -16
  109. package/runtimeConfig.shared.ts +0 -16
  110. package/runtimeConfig.ts +0 -45
  111. package/tsconfig.es.json +0 -10
  112. package/tsconfig.json +0 -31
  113. package/tsconfig.types.json +0 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
34
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
35
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,34 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Route53RecoveryCluster = void 0;
4
- const Route53RecoveryClusterClient_1 = require("./Route53RecoveryClusterClient");
5
4
  const GetRoutingControlStateCommand_1 = require("./commands/GetRoutingControlStateCommand");
6
5
  const UpdateRoutingControlStateCommand_1 = require("./commands/UpdateRoutingControlStateCommand");
7
6
  const UpdateRoutingControlStatesCommand_1 = require("./commands/UpdateRoutingControlStatesCommand");
8
- /**
9
- * <p>Welcome to the Amazon Route 53 Application Recovery Controller API Reference Guide for Recovery Control Data Plane .</p>
10
- * <p>Recovery control in Route 53 Application Recovery Controller includes extremely reliable routing controls that enable you to recover applications
11
- * by rerouting traffic, for example, across Availability Zones or AWS Regions. Routing controls are simple on/off switches
12
- * hosted on a cluster. A cluster is a set of five redundant regional endpoints against which you can execute API calls to update or
13
- * get the state of routing controls. You use routing controls to failover traffic to recover your application
14
- * across Availability Zones or Regions.</p>
15
- * <p>This API guide includes information about how to get and update routing control states in Route 53 Application Recovery Controller.</p>
16
- * <p>For more information about Route 53 Application Recovery Controller, see the following:</p>
17
- * <ul>
18
- * <li>
19
- * <p>You can create clusters, routing controls, and control panels by using the control plane API for Recovery
20
- * Control. For more information, see <a href="https://docs.aws.amazon.com/recovery-cluster/latest/api/">Amazon Route 53 Application Recovery Controller Recovery Control API Reference</a>.</p>
21
- * </li>
22
- * <li>
23
- * <p>Route 53 Application Recovery Controller also provides continuous readiness checks to ensure that your applications are scaled to handle failover traffic.
24
- * For more information about the related API actions, see <a href="https://docs.aws.amazon.com/recovery-readiness/latest/api/">Amazon Route 53 Application Recovery Controller Recovery Readiness API Reference</a>.</p>
25
- * </li>
26
- * <li>
27
- * <p>For more information about creating resilient applications and preparing for recovery readiness with Route 53 Application Recovery Controller,
28
- * see the <a href="r53recovery/latest/dg/">Amazon Route 53 Application Recovery Controller Developer Guide</a>.</p>
29
- * </li>
30
- * </ul>
31
- */
7
+ const Route53RecoveryClusterClient_1 = require("./Route53RecoveryClusterClient");
32
8
  class Route53RecoveryCluster extends Route53RecoveryClusterClient_1.Route53RecoveryClusterClient {
33
9
  getRoutingControlState(args, optionsOrCb, cb) {
34
10
  const command = new GetRoutingControlStateCommand_1.GetRoutingControlStateCommand(args);
@@ -74,4 +50,3 @@ class Route53RecoveryCluster extends Route53RecoveryClusterClient_1.Route53Recov
74
50
  }
75
51
  }
76
52
  exports.Route53RecoveryCluster = Route53RecoveryCluster;
77
- //# sourceMappingURL=Route53RecoveryCluster.js.map
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Route53RecoveryClusterClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class Route53RecoveryClusterClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.Route53RecoveryClusterClient = Route53RecoveryClusterClient;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetRoutingControlStateCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
+ class GetRoutingControlStateCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Route53RecoveryClusterClient";
18
+ const commandName = "GetRoutingControlStateCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetRoutingControlStateRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetRoutingControlStateResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_0_1.serializeAws_json1_0GetRoutingControlStateCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_0_1.deserializeAws_json1_0GetRoutingControlStateCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetRoutingControlStateCommand = GetRoutingControlStateCommand;
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRoutingControlStateCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Set the state of the routing control to reroute traffic. You can set the value to be On or Off.
10
- * When the state is On, traffic flows to a cell. When it's off, traffic does not flow.</p>
11
- * <p>For more information about working with routing controls, see
12
- * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Routing control</a>
13
- * in the Route 53 Application Recovery Controller Developer Guide.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { Route53RecoveryClusterClient, UpdateRoutingControlStateCommand } from "@aws-sdk/client-route53-recovery-cluster"; // ES Modules import
18
- * // const { Route53RecoveryClusterClient, UpdateRoutingControlStateCommand } = require("@aws-sdk/client-route53-recovery-cluster"); // CommonJS import
19
- * const client = new Route53RecoveryClusterClient(config);
20
- * const command = new UpdateRoutingControlStateCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateRoutingControlStateCommandInput} for command's `input` shape.
25
- * @see {@link UpdateRoutingControlStateCommandOutput} for command's `response` shape.
26
- * @see {@link Route53RecoveryClusterClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
29
8
  class UpdateRoutingControlStateCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class UpdateRoutingControlStateCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.UpdateRoutingControlStateCommand = UpdateRoutingControlStateCommand;
65
- //# sourceMappingURL=UpdateRoutingControlStateCommand.js.map
@@ -1,43 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRoutingControlStatesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- /**
9
- * <p>Set multiple routing control states. You can set the value for each state to be On or Off.
10
- * When the state is On, traffic flows to a cell. When it's off, traffic does not flow.</p>
11
- * <p>For more information about working with routing controls, see
12
- * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Routing control</a>
13
- * in the Route 53 Application Recovery Controller Developer Guide.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { Route53RecoveryClusterClient, UpdateRoutingControlStatesCommand } from "@aws-sdk/client-route53-recovery-cluster"; // ES Modules import
18
- * // const { Route53RecoveryClusterClient, UpdateRoutingControlStatesCommand } = require("@aws-sdk/client-route53-recovery-cluster"); // CommonJS import
19
- * const client = new Route53RecoveryClusterClient(config);
20
- * const command = new UpdateRoutingControlStatesCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link UpdateRoutingControlStatesCommandInput} for command's `input` shape.
25
- * @see {@link UpdateRoutingControlStatesCommandOutput} for command's `response` shape.
26
- * @see {@link Route53RecoveryClusterClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
29
8
  class UpdateRoutingControlStatesCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +34,3 @@ class UpdateRoutingControlStatesCommand extends smithy_client_1.Command {
62
34
  }
63
35
  }
64
36
  exports.UpdateRoutingControlStatesCommand = UpdateRoutingControlStatesCommand;
65
- //# sourceMappingURL=UpdateRoutingControlStatesCommand.js.map
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "route53-recovery-cluster.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "route53-recovery-cluster.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
@@ -7,4 +7,3 @@ tslib_1.__exportStar(require("./commands/GetRoutingControlStateCommand"), export
7
7
  tslib_1.__exportStar(require("./commands/UpdateRoutingControlStateCommand"), exports);
8
8
  tslib_1.__exportStar(require("./commands/UpdateRoutingControlStatesCommand"), exports);
9
9
  tslib_1.__exportStar(require("./models/index"), exports);
10
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -3,36 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRoutingControlStatesResponse = exports.UpdateRoutingControlStatesRequest = exports.UpdateRoutingControlStateEntry = exports.UpdateRoutingControlStateResponse = exports.UpdateRoutingControlStateRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.GetRoutingControlStateResponse = exports.RoutingControlState = exports.GetRoutingControlStateRequest = exports.EndpointTemporarilyUnavailableException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  var AccessDeniedException;
5
5
  (function (AccessDeniedException) {
6
- /**
7
- * @internal
8
- */
9
6
  AccessDeniedException.filterSensitiveLog = (obj) => ({
10
7
  ...obj,
11
8
  });
12
9
  })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
13
10
  var ConflictException;
14
11
  (function (ConflictException) {
15
- /**
16
- * @internal
17
- */
18
12
  ConflictException.filterSensitiveLog = (obj) => ({
19
13
  ...obj,
20
14
  });
21
15
  })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
22
16
  var EndpointTemporarilyUnavailableException;
23
17
  (function (EndpointTemporarilyUnavailableException) {
24
- /**
25
- * @internal
26
- */
27
18
  EndpointTemporarilyUnavailableException.filterSensitiveLog = (obj) => ({
28
19
  ...obj,
29
20
  });
30
21
  })(EndpointTemporarilyUnavailableException = exports.EndpointTemporarilyUnavailableException || (exports.EndpointTemporarilyUnavailableException = {}));
31
22
  var GetRoutingControlStateRequest;
32
23
  (function (GetRoutingControlStateRequest) {
33
- /**
34
- * @internal
35
- */
36
24
  GetRoutingControlStateRequest.filterSensitiveLog = (obj) => ({
37
25
  ...obj,
38
26
  });
@@ -44,45 +32,30 @@ var RoutingControlState;
44
32
  })(RoutingControlState = exports.RoutingControlState || (exports.RoutingControlState = {}));
45
33
  var GetRoutingControlStateResponse;
46
34
  (function (GetRoutingControlStateResponse) {
47
- /**
48
- * @internal
49
- */
50
35
  GetRoutingControlStateResponse.filterSensitiveLog = (obj) => ({
51
36
  ...obj,
52
37
  });
53
38
  })(GetRoutingControlStateResponse = exports.GetRoutingControlStateResponse || (exports.GetRoutingControlStateResponse = {}));
54
39
  var InternalServerException;
55
40
  (function (InternalServerException) {
56
- /**
57
- * @internal
58
- */
59
41
  InternalServerException.filterSensitiveLog = (obj) => ({
60
42
  ...obj,
61
43
  });
62
44
  })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
63
45
  var ResourceNotFoundException;
64
46
  (function (ResourceNotFoundException) {
65
- /**
66
- * @internal
67
- */
68
47
  ResourceNotFoundException.filterSensitiveLog = (obj) => ({
69
48
  ...obj,
70
49
  });
71
50
  })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
72
51
  var ThrottlingException;
73
52
  (function (ThrottlingException) {
74
- /**
75
- * @internal
76
- */
77
53
  ThrottlingException.filterSensitiveLog = (obj) => ({
78
54
  ...obj,
79
55
  });
80
56
  })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
81
57
  var ValidationExceptionField;
82
58
  (function (ValidationExceptionField) {
83
- /**
84
- * @internal
85
- */
86
59
  ValidationExceptionField.filterSensitiveLog = (obj) => ({
87
60
  ...obj,
88
61
  });
@@ -96,56 +69,37 @@ var ValidationExceptionReason;
96
69
  })(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
97
70
  var ValidationException;
98
71
  (function (ValidationException) {
99
- /**
100
- * @internal
101
- */
102
72
  ValidationException.filterSensitiveLog = (obj) => ({
103
73
  ...obj,
104
74
  });
105
75
  })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
106
76
  var UpdateRoutingControlStateRequest;
107
77
  (function (UpdateRoutingControlStateRequest) {
108
- /**
109
- * @internal
110
- */
111
78
  UpdateRoutingControlStateRequest.filterSensitiveLog = (obj) => ({
112
79
  ...obj,
113
80
  });
114
81
  })(UpdateRoutingControlStateRequest = exports.UpdateRoutingControlStateRequest || (exports.UpdateRoutingControlStateRequest = {}));
115
82
  var UpdateRoutingControlStateResponse;
116
83
  (function (UpdateRoutingControlStateResponse) {
117
- /**
118
- * @internal
119
- */
120
84
  UpdateRoutingControlStateResponse.filterSensitiveLog = (obj) => ({
121
85
  ...obj,
122
86
  });
123
87
  })(UpdateRoutingControlStateResponse = exports.UpdateRoutingControlStateResponse || (exports.UpdateRoutingControlStateResponse = {}));
124
88
  var UpdateRoutingControlStateEntry;
125
89
  (function (UpdateRoutingControlStateEntry) {
126
- /**
127
- * @internal
128
- */
129
90
  UpdateRoutingControlStateEntry.filterSensitiveLog = (obj) => ({
130
91
  ...obj,
131
92
  });
132
93
  })(UpdateRoutingControlStateEntry = exports.UpdateRoutingControlStateEntry || (exports.UpdateRoutingControlStateEntry = {}));
133
94
  var UpdateRoutingControlStatesRequest;
134
95
  (function (UpdateRoutingControlStatesRequest) {
135
- /**
136
- * @internal
137
- */
138
96
  UpdateRoutingControlStatesRequest.filterSensitiveLog = (obj) => ({
139
97
  ...obj,
140
98
  });
141
99
  })(UpdateRoutingControlStatesRequest = exports.UpdateRoutingControlStatesRequest || (exports.UpdateRoutingControlStatesRequest = {}));
142
100
  var UpdateRoutingControlStatesResponse;
143
101
  (function (UpdateRoutingControlStatesResponse) {
144
- /**
145
- * @internal
146
- */
147
102
  UpdateRoutingControlStatesResponse.filterSensitiveLog = (obj) => ({
148
103
  ...obj,
149
104
  });
150
105
  })(UpdateRoutingControlStatesResponse = exports.UpdateRoutingControlStatesResponse || (exports.UpdateRoutingControlStatesResponse = {}));
151
- //# sourceMappingURL=models_0.js.map
@@ -509,14 +509,12 @@ const deserializeMetadata = (output) => {
509
509
  cfId: output.headers["x-amz-cf-id"],
510
510
  });
511
511
  };
512
- // Collect low-level response body stream to Uint8Array.
513
512
  const collectBody = (streamBody = new Uint8Array(), context) => {
514
513
  if (streamBody instanceof Uint8Array) {
515
514
  return Promise.resolve(streamBody);
516
515
  }
517
516
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
518
517
  };
519
- // Encode Uint8Array data into string with utf-8.
520
518
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
521
519
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
522
520
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -542,9 +540,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
542
540
  }
543
541
  return {};
544
542
  });
545
- /**
546
- * Load an error code for the aws.rest-json-1.1 protocol.
547
- */
548
543
  const loadRestJsonErrorCode = (output, data) => {
549
544
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
550
545
  const sanitizeErrorCode = (rawValue) => {
@@ -569,4 +564,3 @@ const loadRestJsonErrorCode = (output, data) => {
569
564
  }
570
565
  return "";
571
566
  };
572
- //# sourceMappingURL=Aws_json1_0.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,11 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
6
- /**
7
- * @internal
8
- */
5
+ const endpoints_1 = require("./endpoints");
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
3
2
  import { GetRoutingControlStateCommand, } from "./commands/GetRoutingControlStateCommand";
4
3
  import { UpdateRoutingControlStateCommand, } from "./commands/UpdateRoutingControlStateCommand";
5
4
  import { UpdateRoutingControlStatesCommand, } from "./commands/UpdateRoutingControlStatesCommand";
5
+ import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
6
6
  var Route53RecoveryCluster = (function (_super) {
7
7
  __extends(Route53RecoveryCluster, _super);
8
8
  function Route53RecoveryCluster() {
@@ -53,4 +53,3 @@ var Route53RecoveryCluster = (function (_super) {
53
53
  return Route53RecoveryCluster;
54
54
  }(Route53RecoveryClusterClient));
55
55
  export { Route53RecoveryCluster };
56
- //# sourceMappingURL=Route53RecoveryCluster.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,6 +7,7 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
11
  var Route53RecoveryClusterClient = (function (_super) {
12
12
  __extends(Route53RecoveryClusterClient, _super);
13
13
  function Route53RecoveryClusterClient(configuration) {
@@ -35,4 +35,3 @@ var Route53RecoveryClusterClient = (function (_super) {
35
35
  return Route53RecoveryClusterClient;
36
36
  }(__Client));
37
37
  export { Route53RecoveryClusterClient };
38
- //# sourceMappingURL=Route53RecoveryClusterClient.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
3
- import { deserializeAws_json1_0GetRoutingControlStateCommand, serializeAws_json1_0GetRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0GetRoutingControlStateCommand, serializeAws_json1_0GetRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
6
6
  var GetRoutingControlStateCommand = (function (_super) {
7
7
  __extends(GetRoutingControlStateCommand, _super);
8
8
  function GetRoutingControlStateCommand(input) {
@@ -37,4 +37,3 @@ var GetRoutingControlStateCommand = (function (_super) {
37
37
  return GetRoutingControlStateCommand;
38
38
  }($Command));
39
39
  export { GetRoutingControlStateCommand };
40
- //# sourceMappingURL=GetRoutingControlStateCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
3
- import { deserializeAws_json1_0UpdateRoutingControlStateCommand, serializeAws_json1_0UpdateRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0UpdateRoutingControlStateCommand, serializeAws_json1_0UpdateRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateRoutingControlStateCommand = (function (_super) {
7
7
  __extends(UpdateRoutingControlStateCommand, _super);
8
8
  function UpdateRoutingControlStateCommand(input) {
@@ -37,4 +37,3 @@ var UpdateRoutingControlStateCommand = (function (_super) {
37
37
  return UpdateRoutingControlStateCommand;
38
38
  }($Command));
39
39
  export { UpdateRoutingControlStateCommand };
40
- //# sourceMappingURL=UpdateRoutingControlStateCommand.js.map
@@ -1,8 +1,8 @@
1
1
  import { __extends } from "tslib";
2
- import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
3
- import { deserializeAws_json1_0UpdateRoutingControlStatesCommand, serializeAws_json1_0UpdateRoutingControlStatesCommand, } from "../protocols/Aws_json1_0";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_0UpdateRoutingControlStatesCommand, serializeAws_json1_0UpdateRoutingControlStatesCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateRoutingControlStatesCommand = (function (_super) {
7
7
  __extends(UpdateRoutingControlStatesCommand, _super);
8
8
  function UpdateRoutingControlStatesCommand(input) {
@@ -37,4 +37,3 @@ var UpdateRoutingControlStatesCommand = (function (_super) {
37
37
  return UpdateRoutingControlStatesCommand;
38
38
  }($Command));
39
39
  export { UpdateRoutingControlStatesCommand };
40
- //# sourceMappingURL=UpdateRoutingControlStatesCommand.js.map
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "route53-recovery-cluster.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "route53-recovery-cluster.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "route53-recovery-cluster", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map