@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
File without changes
@@ -71,4 +71,3 @@ export var UpdateRoutingControlStatesResponse;
71
71
  (function (UpdateRoutingControlStatesResponse) {
72
72
  UpdateRoutingControlStatesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
73
73
  })(UpdateRoutingControlStatesResponse || (UpdateRoutingControlStatesResponse = {}));
74
- //# sourceMappingURL=models_0.js.map
@@ -580,4 +580,3 @@ var loadRestJsonErrorCode = function (output, data) {
580
580
  }
581
581
  return "";
582
582
  };
583
- //# sourceMappingURL=Aws_json1_0.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -14,4 +14,3 @@ export var getRuntimeConfig = function (config) {
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,5 +1,5 @@
1
1
  import { __assign } from "tslib";
2
- import packageInfo from "./package.json";
2
+ import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -19,4 +19,3 @@ export var getRuntimeConfig = function (config) {
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,5 +1,5 @@
1
- import { defaultRegionInfoProvider } from "./endpoints";
2
1
  import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
3
  export var getRuntimeConfig = function (config) {
4
4
  var _a, _b, _c, _d, _e;
5
5
  return ({
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,8 +1,8 @@
1
- import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
3
3
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
4
4
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
5
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
5
+ import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
6
6
  /**
7
7
  * <p>Welcome to the Amazon Route 53 Application Recovery Controller API Reference Guide for Recovery Control Data Plane .</p>
8
8
  * <p>Recovery control in Route 53 Application Recovery Controller includes extremely reliable routing controls that enable you to recover applications
@@ -1,6 +1,3 @@
1
- import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
2
- import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
3
- import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
4
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
5
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
6
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -8,7 +5,10 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
8
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
10
+ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
11
+ import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
12
12
  export declare type ServiceInputTypes = GetRoutingControlStateCommandInput | UpdateRoutingControlStateCommandInput | UpdateRoutingControlStatesCommandInput;
13
13
  export declare type ServiceOutputTypes = GetRoutingControlStateCommandOutput | UpdateRoutingControlStateCommandOutput | UpdateRoutingControlStatesCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
2
- import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
5
  export interface GetRoutingControlStateCommandInput extends GetRoutingControlStateRequest {
6
6
  }
7
7
  export interface GetRoutingControlStateCommandOutput extends GetRoutingControlStateResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
2
- import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
5
  export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingControlStateRequest {
6
6
  }
7
7
  export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
2
- import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
5
  export interface UpdateRoutingControlStatesCommandInput extends UpdateRoutingControlStatesRequest {
6
6
  }
7
7
  export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingControlStatesResponse, __MetadataBearer {
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "../commands/GetRoutingControlStateCommand";
2
4
  import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "../commands/UpdateRoutingControlStateCommand";
3
5
  import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "../commands/UpdateRoutingControlStatesCommand";
4
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
6
  export declare const serializeAws_json1_0GetRoutingControlStateCommand: (input: GetRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const serializeAws_json1_0UpdateRoutingControlStateCommand: (input: UpdateRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_json1_0UpdateRoutingControlStatesCommand: (input: UpdateRoutingControlStatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -31,7 +31,9 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
31
31
  signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
- signingRegion?: string | undefined;
34
+ signingRegion?: string | undefined; /**
35
+ * @internal
36
+ */
35
37
  signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
38
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
39
  };
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConf
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -0,0 +1,20 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
3
+ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
4
+ import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
5
+ import { Route53RecoveryClusterClient } from "./Route53RecoveryClusterClient";
6
+
7
+ export declare class Route53RecoveryCluster extends Route53RecoveryClusterClient {
8
+
9
+ getRoutingControlState(args: GetRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<GetRoutingControlStateCommandOutput>;
10
+ getRoutingControlState(args: GetRoutingControlStateCommandInput, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
11
+ getRoutingControlState(args: GetRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRoutingControlStateCommandOutput) => void): void;
12
+
13
+ updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStateCommandOutput>;
14
+ updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
15
+ updateRoutingControlState(args: UpdateRoutingControlStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStateCommandOutput) => void): void;
16
+
17
+ updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRoutingControlStatesCommandOutput>;
18
+ updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
19
+ updateRoutingControlStates(args: UpdateRoutingControlStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRoutingControlStatesCommandOutput) => void): void;
20
+ }
@@ -0,0 +1,70 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "./commands/GetRoutingControlStateCommand";
10
+ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "./commands/UpdateRoutingControlStateCommand";
11
+ import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "./commands/UpdateRoutingControlStatesCommand";
12
+ export declare type ServiceInputTypes = GetRoutingControlStateCommandInput | UpdateRoutingControlStateCommandInput | UpdateRoutingControlStatesCommandInput;
13
+ export declare type ServiceOutputTypes = GetRoutingControlStateCommandOutput | UpdateRoutingControlStateCommandOutput | UpdateRoutingControlStatesCommandOutput;
14
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
15
+
16
+ requestHandler?: __HttpHandler;
17
+
18
+ sha256?: __HashConstructor;
19
+
20
+ urlParser?: __UrlParser;
21
+
22
+ bodyLengthChecker?: (body: any) => number | undefined;
23
+
24
+ streamCollector?: __StreamCollector;
25
+
26
+ base64Decoder?: __Decoder;
27
+
28
+ base64Encoder?: __Encoder;
29
+
30
+ utf8Decoder?: __Decoder;
31
+
32
+ utf8Encoder?: __Encoder;
33
+
34
+ runtime?: string;
35
+
36
+ disableHostPrefix?: boolean;
37
+
38
+ maxAttempts?: number | __Provider<number>;
39
+
40
+ retryMode?: string | __Provider<string>;
41
+
42
+ logger?: __Logger;
43
+
44
+ serviceId?: string;
45
+
46
+ region?: string | __Provider<string>;
47
+
48
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
49
+
50
+ regionInfoProvider?: RegionInfoProvider;
51
+
52
+ defaultUserAgentProvider?: Provider<__UserAgent>;
53
+ }
54
+ declare type Route53RecoveryClusterClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
55
+
56
+ export interface Route53RecoveryClusterClientConfig extends Route53RecoveryClusterClientConfigType {
57
+ }
58
+ declare type Route53RecoveryClusterClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
59
+
60
+ export interface Route53RecoveryClusterClientResolvedConfig extends Route53RecoveryClusterClientResolvedConfigType {
61
+ }
62
+
63
+ export declare class Route53RecoveryClusterClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53RecoveryClusterClientResolvedConfig> {
64
+
65
+ readonly config: Route53RecoveryClusterClientResolvedConfig;
66
+ constructor(configuration: Route53RecoveryClusterClientConfig);
67
+
68
+ destroy(): void;
69
+ }
70
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
+ export interface GetRoutingControlStateCommandInput extends GetRoutingControlStateRequest {
6
+ }
7
+ export interface GetRoutingControlStateCommandOutput extends GetRoutingControlStateResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetRoutingControlStateCommand extends $Command<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
11
+ readonly input: GetRoutingControlStateCommandInput;
12
+ constructor(input: GetRoutingControlStateCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
+ export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingControlStateRequest {
6
+ }
7
+ export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateRoutingControlStateCommand extends $Command<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
11
+ readonly input: UpdateRoutingControlStateCommandInput;
12
+ constructor(input: UpdateRoutingControlStateCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
4
+ import { Route53RecoveryClusterClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53RecoveryClusterClient";
5
+ export interface UpdateRoutingControlStatesCommandInput extends UpdateRoutingControlStatesRequest {
6
+ }
7
+ export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingControlStatesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateRoutingControlStatesCommand extends $Command<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput, Route53RecoveryClusterClientResolvedConfig> {
11
+ readonly input: UpdateRoutingControlStatesCommandInput;
12
+ constructor(input: UpdateRoutingControlStatesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: Route53RecoveryClusterClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
File without changes
File without changes