@aws-sdk/client-route53-recovery-cluster 3.50.0 → 3.53.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 (29) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/Route53RecoveryClusterServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +101 -1
  5. package/dist-cjs/protocols/Aws_json1_0.js +57 -186
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/Route53RecoveryClusterServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +94 -1
  9. package/dist-es/protocols/Aws_json1_0.js +102 -185
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/Route53RecoveryClusterServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +51 -32
  13. package/dist-types/ts3.4/Route53RecoveryCluster.d.ts +20 -0
  14. package/dist-types/ts3.4/Route53RecoveryClusterClient.d.ts +76 -0
  15. package/dist-types/ts3.4/commands/GetRoutingControlStateCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/UpdateRoutingControlStateCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/UpdateRoutingControlStatesCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  19. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  20. package/dist-types/ts3.4/index.d.ts +5 -0
  21. package/dist-types/ts3.4/models/Route53RecoveryClusterServiceException.d.ts +6 -0
  22. package/dist-types/ts3.4/models/index.d.ts +1 -0
  23. package/dist-types/ts3.4/models/models_0.d.ts +147 -0
  24. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +11 -0
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  28. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  29. package/package.json +33 -33
@@ -1,22 +1,22 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
2
3
  /**
3
4
  * <p>You don't have sufficient permissions to query the routing control state.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
8
- message: string | undefined;
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
13
  }
10
14
  /**
11
15
  * <p>There was a conflict with this request. Try again.</p>
12
16
  */
13
- export interface ConflictException extends __SmithyException, $MetadataBearer {
14
- name: "ConflictException";
15
- $fault: "client";
16
- /**
17
- * Description of the ConflictException error
18
- */
19
- message: string | undefined;
17
+ export declare class ConflictException extends __BaseException {
18
+ readonly name: "ConflictException";
19
+ readonly $fault: "client";
20
20
  /**
21
21
  * Identifier of the resource in use
22
22
  */
@@ -25,14 +25,21 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
25
25
  * Type of the resource in use
26
26
  */
27
27
  resourceType: string | undefined;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
28
32
  }
29
33
  /**
30
34
  * <p>The cluster endpoint isn't available. Try another cluster endpoint.</p>
31
35
  */
32
- export interface EndpointTemporarilyUnavailableException extends __SmithyException, $MetadataBearer {
33
- name: "EndpointTemporarilyUnavailableException";
34
- $fault: "server";
35
- message: string | undefined;
36
+ export declare class EndpointTemporarilyUnavailableException extends __BaseException {
37
+ readonly name: "EndpointTemporarilyUnavailableException";
38
+ readonly $fault: "server";
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<EndpointTemporarilyUnavailableException, __BaseException>);
36
43
  }
37
44
  export interface GetRoutingControlStateRequest {
38
45
  /**
@@ -69,22 +76,24 @@ export declare namespace GetRoutingControlStateResponse {
69
76
  /**
70
77
  * <p>There was an unexpected error during processing of the request.</p>
71
78
  */
72
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
73
- name: "InternalServerException";
74
- $fault: "server";
75
- message: string | undefined;
79
+ export declare class InternalServerException extends __BaseException {
80
+ readonly name: "InternalServerException";
81
+ readonly $fault: "server";
76
82
  /**
77
83
  * Advice to clients on when the call can be safely retried
78
84
  */
79
85
  retryAfterSeconds?: number;
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
80
90
  }
81
91
  /**
82
92
  * <p>The request references a routing control that was not found.</p>
83
93
  */
84
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
85
- name: "ResourceNotFoundException";
86
- $fault: "client";
87
- message: string | undefined;
94
+ export declare class ResourceNotFoundException extends __BaseException {
95
+ readonly name: "ResourceNotFoundException";
96
+ readonly $fault: "client";
88
97
  /**
89
98
  * Hypothetical resource identifier that was not found
90
99
  */
@@ -93,18 +102,25 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
93
102
  * Hypothetical resource type that was not found
94
103
  */
95
104
  resourceType: string | undefined;
105
+ /**
106
+ * @internal
107
+ */
108
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
96
109
  }
97
110
  /**
98
111
  * <p>The request was denied because of request throttling.</p>
99
112
  */
100
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
101
- name: "ThrottlingException";
102
- $fault: "client";
103
- message: string | undefined;
113
+ export declare class ThrottlingException extends __BaseException {
114
+ readonly name: "ThrottlingException";
115
+ readonly $fault: "client";
104
116
  /**
105
117
  * Advice to clients on when the call can be safely retried
106
118
  */
107
119
  retryAfterSeconds?: number;
120
+ /**
121
+ * @internal
122
+ */
123
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
108
124
  }
109
125
  /**
110
126
  * <p>There was a validation error on the request.</p>
@@ -134,10 +150,9 @@ export declare enum ValidationExceptionReason {
134
150
  /**
135
151
  * <p>There was a validation error on the request.</p>
136
152
  */
137
- export interface ValidationException extends __SmithyException, $MetadataBearer {
138
- name: "ValidationException";
139
- $fault: "client";
140
- message: string | undefined;
153
+ export declare class ValidationException extends __BaseException {
154
+ readonly name: "ValidationException";
155
+ readonly $fault: "client";
141
156
  /**
142
157
  * Reason the request failed validation
143
158
  */
@@ -146,6 +161,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
146
161
  * The fields that caused the error, if applicable
147
162
  */
148
163
  fields?: ValidationExceptionField[];
164
+ /**
165
+ * @internal
166
+ */
167
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
149
168
  }
150
169
  export interface UpdateRoutingControlStateRequest {
151
170
  /**
@@ -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,76 @@
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, DefaultsMode, 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
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
45
+
46
+ useFipsEndpoint?: boolean | __Provider<boolean>;
47
+
48
+ serviceId?: string;
49
+
50
+ region?: string | __Provider<string>;
51
+
52
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
53
+
54
+ regionInfoProvider?: RegionInfoProvider;
55
+
56
+ defaultUserAgentProvider?: Provider<__UserAgent>;
57
+
58
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
59
+ }
60
+ declare type Route53RecoveryClusterClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
61
+
62
+ export interface Route53RecoveryClusterClientConfig extends Route53RecoveryClusterClientConfigType {
63
+ }
64
+ declare type Route53RecoveryClusterClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
65
+
66
+ export interface Route53RecoveryClusterClientResolvedConfig extends Route53RecoveryClusterClientResolvedConfigType {
67
+ }
68
+
69
+ export declare class Route53RecoveryClusterClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, Route53RecoveryClusterClientResolvedConfig> {
70
+
71
+ readonly config: Route53RecoveryClusterClientResolvedConfig;
72
+ constructor(configuration: Route53RecoveryClusterClientConfig);
73
+
74
+ destroy(): void;
75
+ }
76
+ 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
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./GetRoutingControlStateCommand";
2
+ export * from "./UpdateRoutingControlStateCommand";
3
+ export * from "./UpdateRoutingControlStatesCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./Route53RecoveryCluster";
2
+ export * from "./Route53RecoveryClusterClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class Route53RecoveryClusterServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,147 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { Route53RecoveryClusterServiceException as __BaseException } from "./Route53RecoveryClusterServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
+ }
10
+
11
+ export declare class ConflictException extends __BaseException {
12
+ readonly name: "ConflictException";
13
+ readonly $fault: "client";
14
+
15
+ resourceId: string | undefined;
16
+
17
+ resourceType: string | undefined;
18
+
19
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
20
+ }
21
+
22
+ export declare class EndpointTemporarilyUnavailableException extends __BaseException {
23
+ readonly name: "EndpointTemporarilyUnavailableException";
24
+ readonly $fault: "server";
25
+
26
+ constructor(opts: __ExceptionOptionType<EndpointTemporarilyUnavailableException, __BaseException>);
27
+ }
28
+ export interface GetRoutingControlStateRequest {
29
+
30
+ RoutingControlArn: string | undefined;
31
+ }
32
+ export declare namespace GetRoutingControlStateRequest {
33
+
34
+ const filterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
35
+ }
36
+ export declare enum RoutingControlState {
37
+ Off = "Off",
38
+ On = "On"
39
+ }
40
+ export interface GetRoutingControlStateResponse {
41
+
42
+ RoutingControlArn: string | undefined;
43
+
44
+ RoutingControlState: RoutingControlState | string | undefined;
45
+ }
46
+ export declare namespace GetRoutingControlStateResponse {
47
+
48
+ const filterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
49
+ }
50
+
51
+ export declare class InternalServerException extends __BaseException {
52
+ readonly name: "InternalServerException";
53
+ readonly $fault: "server";
54
+
55
+ retryAfterSeconds?: number;
56
+
57
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
58
+ }
59
+
60
+ export declare class ResourceNotFoundException extends __BaseException {
61
+ readonly name: "ResourceNotFoundException";
62
+ readonly $fault: "client";
63
+
64
+ resourceId: string | undefined;
65
+
66
+ resourceType: string | undefined;
67
+
68
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
69
+ }
70
+
71
+ export declare class ThrottlingException extends __BaseException {
72
+ readonly name: "ThrottlingException";
73
+ readonly $fault: "client";
74
+
75
+ retryAfterSeconds?: number;
76
+
77
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
78
+ }
79
+
80
+ export interface ValidationExceptionField {
81
+
82
+ name: string | undefined;
83
+
84
+ message: string | undefined;
85
+ }
86
+ export declare namespace ValidationExceptionField {
87
+
88
+ const filterSensitiveLog: (obj: ValidationExceptionField) => any;
89
+ }
90
+ export declare enum ValidationExceptionReason {
91
+ CANNOT_PARSE = "cannotParse",
92
+ FIELD_VALIDATION_FAILED = "fieldValidationFailed",
93
+ OTHER = "other",
94
+ UNKNOWN_OPERATION = "unknownOperation"
95
+ }
96
+
97
+ export declare class ValidationException extends __BaseException {
98
+ readonly name: "ValidationException";
99
+ readonly $fault: "client";
100
+
101
+ reason?: ValidationExceptionReason | string;
102
+
103
+ fields?: ValidationExceptionField[];
104
+
105
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
106
+ }
107
+ export interface UpdateRoutingControlStateRequest {
108
+
109
+ RoutingControlArn: string | undefined;
110
+
111
+ RoutingControlState: RoutingControlState | string | undefined;
112
+ }
113
+ export declare namespace UpdateRoutingControlStateRequest {
114
+
115
+ const filterSensitiveLog: (obj: UpdateRoutingControlStateRequest) => any;
116
+ }
117
+ export interface UpdateRoutingControlStateResponse {
118
+ }
119
+ export declare namespace UpdateRoutingControlStateResponse {
120
+
121
+ const filterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
122
+ }
123
+
124
+ export interface UpdateRoutingControlStateEntry {
125
+
126
+ RoutingControlArn: string | undefined;
127
+
128
+ RoutingControlState: RoutingControlState | string | undefined;
129
+ }
130
+ export declare namespace UpdateRoutingControlStateEntry {
131
+
132
+ const filterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
133
+ }
134
+ export interface UpdateRoutingControlStatesRequest {
135
+
136
+ UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
137
+ }
138
+ export declare namespace UpdateRoutingControlStatesRequest {
139
+
140
+ const filterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
141
+ }
142
+ export interface UpdateRoutingControlStatesResponse {
143
+ }
144
+ export declare namespace UpdateRoutingControlStatesResponse {
145
+
146
+ const filterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
147
+ }
@@ -0,0 +1,11 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { GetRoutingControlStateCommandInput, GetRoutingControlStateCommandOutput } from "../commands/GetRoutingControlStateCommand";
4
+ import { UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput } from "../commands/UpdateRoutingControlStateCommand";
5
+ import { UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput } from "../commands/UpdateRoutingControlStatesCommand";
6
+ export declare const serializeAws_json1_0GetRoutingControlStateCommand: (input: GetRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
+ export declare const serializeAws_json1_0UpdateRoutingControlStateCommand: (input: UpdateRoutingControlStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
+ export declare const serializeAws_json1_0UpdateRoutingControlStatesCommand: (input: UpdateRoutingControlStatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
+ export declare const deserializeAws_json1_0GetRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRoutingControlStateCommandOutput>;
10
+ export declare const deserializeAws_json1_0UpdateRoutingControlStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStateCommandOutput>;
11
+ export declare const deserializeAws_json1_0UpdateRoutingControlStatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRoutingControlStatesCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
3
+
4
+ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
3
+
4
+ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
2
+
3
+ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConfig) => {
4
+ runtime: string;
5
+ sha256: import("@aws-sdk/types").HashConstructor;
6
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ apiVersion: string;
8
+ urlParser: import("@aws-sdk/types").UrlParser;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ streamCollector: import("@aws-sdk/types").StreamCollector;
11
+ base64Decoder: import("@aws-sdk/types").Decoder;
12
+ base64Encoder: import("@aws-sdk/types").Encoder;
13
+ utf8Decoder: import("@aws-sdk/types").Decoder;
14
+ utf8Encoder: import("@aws-sdk/types").Encoder;
15
+ disableHostPrefix: boolean;
16
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { Route53RecoveryClusterClientConfig } from "./Route53RecoveryClusterClient";
3
+
4
+ export declare const getRuntimeConfig: (config: Route53RecoveryClusterClientConfig) => {
5
+ apiVersion: string;
6
+ disableHostPrefix: boolean;
7
+ logger: __Logger;
8
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
+ serviceId: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ };