@aws-sdk/client-route53-recovery-cluster 3.35.0 → 3.36.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 (78) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Route53RecoveryCluster.js +0 -1
  3. package/dist-cjs/Route53RecoveryClusterClient.js +0 -1
  4. package/dist-cjs/commands/GetRoutingControlStateCommand.js +0 -1
  5. package/dist-cjs/commands/UpdateRoutingControlStateCommand.js +0 -1
  6. package/dist-cjs/commands/UpdateRoutingControlStatesCommand.js +0 -1
  7. package/dist-cjs/endpoints.js +0 -1
  8. package/dist-cjs/index.js +0 -1
  9. package/dist-cjs/models/index.js +0 -1
  10. package/dist-cjs/models/models_0.js +0 -1
  11. package/dist-cjs/protocols/Aws_json1_0.js +0 -1
  12. package/dist-cjs/runtimeConfig.browser.js +2 -3
  13. package/dist-cjs/runtimeConfig.js +3 -4
  14. package/dist-cjs/runtimeConfig.native.js +0 -1
  15. package/dist-cjs/runtimeConfig.shared.js +0 -1
  16. package/dist-es/Route53RecoveryCluster.js +0 -1
  17. package/dist-es/Route53RecoveryClusterClient.js +0 -1
  18. package/dist-es/commands/GetRoutingControlStateCommand.js +0 -1
  19. package/dist-es/commands/UpdateRoutingControlStateCommand.js +0 -1
  20. package/dist-es/commands/UpdateRoutingControlStatesCommand.js +0 -1
  21. package/dist-es/endpoints.js +0 -1
  22. package/dist-es/index.js +0 -1
  23. package/dist-es/models/index.js +0 -1
  24. package/dist-es/models/models_0.js +0 -1
  25. package/dist-es/protocols/Aws_json1_0.js +0 -1
  26. package/dist-es/runtimeConfig.browser.js +1 -2
  27. package/dist-es/runtimeConfig.js +2 -3
  28. package/dist-es/runtimeConfig.native.js +0 -1
  29. package/dist-es/runtimeConfig.shared.js +0 -1
  30. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -1
  32. package/package.json +33 -30
  33. package/dist-cjs/Route53RecoveryCluster.js.map +0 -1
  34. package/dist-cjs/Route53RecoveryClusterClient.js.map +0 -1
  35. package/dist-cjs/commands/GetRoutingControlStateCommand.js.map +0 -1
  36. package/dist-cjs/commands/UpdateRoutingControlStateCommand.js.map +0 -1
  37. package/dist-cjs/commands/UpdateRoutingControlStatesCommand.js.map +0 -1
  38. package/dist-cjs/endpoints.js.map +0 -1
  39. package/dist-cjs/index.js.map +0 -1
  40. package/dist-cjs/models/index.js.map +0 -1
  41. package/dist-cjs/models/models_0.js.map +0 -1
  42. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  43. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  44. package/dist-cjs/runtimeConfig.js.map +0 -1
  45. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  46. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  47. package/dist-es/Route53RecoveryCluster.js.map +0 -1
  48. package/dist-es/Route53RecoveryClusterClient.js.map +0 -1
  49. package/dist-es/commands/GetRoutingControlStateCommand.js.map +0 -1
  50. package/dist-es/commands/UpdateRoutingControlStateCommand.js.map +0 -1
  51. package/dist-es/commands/UpdateRoutingControlStatesCommand.js.map +0 -1
  52. package/dist-es/endpoints.js.map +0 -1
  53. package/dist-es/index.js.map +0 -1
  54. package/dist-es/models/index.js.map +0 -1
  55. package/dist-es/models/models_0.js.map +0 -1
  56. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  57. package/dist-es/runtimeConfig.browser.js.map +0 -1
  58. package/dist-es/runtimeConfig.js.map +0 -1
  59. package/dist-es/runtimeConfig.native.js.map +0 -1
  60. package/dist-es/runtimeConfig.shared.js.map +0 -1
  61. package/jest.config.js +0 -4
  62. package/src/Route53RecoveryCluster.ts +0 -157
  63. package/src/Route53RecoveryClusterClient.ts +0 -275
  64. package/src/commands/GetRoutingControlStateCommand.ts +0 -108
  65. package/src/commands/UpdateRoutingControlStateCommand.ts +0 -106
  66. package/src/commands/UpdateRoutingControlStatesCommand.ts +0 -106
  67. package/src/endpoints.ts +0 -57
  68. package/src/index.ts +0 -6
  69. package/src/models/index.ts +0 -1
  70. package/src/models/models_0.ts +0 -322
  71. package/src/protocols/Aws_json1_0.ts +0 -740
  72. package/src/runtimeConfig.browser.ts +0 -41
  73. package/src/runtimeConfig.native.ts +0 -17
  74. package/src/runtimeConfig.shared.ts +0 -17
  75. package/src/runtimeConfig.ts +0 -46
  76. package/tsconfig.es.json +0 -10
  77. package/tsconfig.json +0 -33
  78. package/tsconfig.types.json +0 -9
@@ -1,106 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0UpdateRoutingControlStateCommand,
17
- serializeAws_json1_0UpdateRoutingControlStateCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import {
20
- Route53RecoveryClusterClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../Route53RecoveryClusterClient";
24
-
25
- export interface UpdateRoutingControlStateCommandInput extends UpdateRoutingControlStateRequest {}
26
- export interface UpdateRoutingControlStateCommandOutput extends UpdateRoutingControlStateResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Set the state of the routing control to reroute traffic. You can set the value to be On or Off.
30
- * When the state is On, traffic flows to a cell. When it's off, traffic does not flow.</p>
31
- * <p>For more information about working with routing controls, see
32
- * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Routing control</a>
33
- * in the Route 53 Application Recovery Controller Developer Guide.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { Route53RecoveryClusterClient, UpdateRoutingControlStateCommand } from "@aws-sdk/client-route53-recovery-cluster"; // ES Modules import
38
- * // const { Route53RecoveryClusterClient, UpdateRoutingControlStateCommand } = require("@aws-sdk/client-route53-recovery-cluster"); // CommonJS import
39
- * const client = new Route53RecoveryClusterClient(config);
40
- * const command = new UpdateRoutingControlStateCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateRoutingControlStateCommandInput} for command's `input` shape.
45
- * @see {@link UpdateRoutingControlStateCommandOutput} for command's `response` shape.
46
- * @see {@link Route53RecoveryClusterClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UpdateRoutingControlStateCommand extends $Command<
50
- UpdateRoutingControlStateCommandInput,
51
- UpdateRoutingControlStateCommandOutput,
52
- Route53RecoveryClusterClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UpdateRoutingControlStateCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: Route53RecoveryClusterClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UpdateRoutingControlStateCommandInput, UpdateRoutingControlStateCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "Route53RecoveryClusterClient";
77
- const commandName = "UpdateRoutingControlStateCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UpdateRoutingControlStateRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: UpdateRoutingControlStateResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UpdateRoutingControlStateCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_0UpdateRoutingControlStateCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<UpdateRoutingControlStateCommandOutput> {
101
- return deserializeAws_json1_0UpdateRoutingControlStateCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,106 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_0UpdateRoutingControlStatesCommand,
17
- serializeAws_json1_0UpdateRoutingControlStatesCommand,
18
- } from "../protocols/Aws_json1_0";
19
- import {
20
- Route53RecoveryClusterClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../Route53RecoveryClusterClient";
24
-
25
- export interface UpdateRoutingControlStatesCommandInput extends UpdateRoutingControlStatesRequest {}
26
- export interface UpdateRoutingControlStatesCommandOutput extends UpdateRoutingControlStatesResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Set multiple routing control states. You can set the value for each state to be On or Off.
30
- * When the state is On, traffic flows to a cell. When it's off, traffic does not flow.</p>
31
- * <p>For more information about working with routing controls, see
32
- * <a href="https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html">Routing control</a>
33
- * in the Route 53 Application Recovery Controller Developer Guide.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { Route53RecoveryClusterClient, UpdateRoutingControlStatesCommand } from "@aws-sdk/client-route53-recovery-cluster"; // ES Modules import
38
- * // const { Route53RecoveryClusterClient, UpdateRoutingControlStatesCommand } = require("@aws-sdk/client-route53-recovery-cluster"); // CommonJS import
39
- * const client = new Route53RecoveryClusterClient(config);
40
- * const command = new UpdateRoutingControlStatesCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link UpdateRoutingControlStatesCommandInput} for command's `input` shape.
45
- * @see {@link UpdateRoutingControlStatesCommandOutput} for command's `response` shape.
46
- * @see {@link Route53RecoveryClusterClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class UpdateRoutingControlStatesCommand extends $Command<
50
- UpdateRoutingControlStatesCommandInput,
51
- UpdateRoutingControlStatesCommandOutput,
52
- Route53RecoveryClusterClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: UpdateRoutingControlStatesCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: Route53RecoveryClusterClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<UpdateRoutingControlStatesCommandInput, UpdateRoutingControlStatesCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "Route53RecoveryClusterClient";
77
- const commandName = "UpdateRoutingControlStatesCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: UpdateRoutingControlStatesRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: UpdateRoutingControlStatesResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: UpdateRoutingControlStatesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_0UpdateRoutingControlStatesCommand(input, context);
95
- }
96
-
97
- private deserialize(
98
- output: __HttpResponse,
99
- context: __SerdeContext
100
- ): Promise<UpdateRoutingControlStatesCommandOutput> {
101
- return deserializeAws_json1_0UpdateRoutingControlStatesCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "route53-recovery-cluster.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "route53-recovery-cluster.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "route53-recovery-cluster.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "route53-recovery-cluster.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "route53-recovery-cluster.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "route53-recovery-cluster",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,6 +0,0 @@
1
- export * from "./Route53RecoveryClusterClient";
2
- export * from "./Route53RecoveryCluster";
3
- export * from "./commands/GetRoutingControlStateCommand";
4
- export * from "./commands/UpdateRoutingControlStateCommand";
5
- export * from "./commands/UpdateRoutingControlStatesCommand";
6
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1,322 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * <p>You don't have sufficient permissions to query the routing control state.</p>
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- message: string | undefined;
10
- }
11
-
12
- export namespace AccessDeniedException {
13
- /**
14
- * @internal
15
- */
16
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
17
- ...obj,
18
- });
19
- }
20
-
21
- /**
22
- * <p>There was a conflict with this request. Try again.</p>
23
- */
24
- export interface ConflictException extends __SmithyException, $MetadataBearer {
25
- name: "ConflictException";
26
- $fault: "client";
27
- /**
28
- * Description of the ConflictException error
29
- */
30
- message: string | undefined;
31
-
32
- /**
33
- * Identifier of the resource in use
34
- */
35
- resourceId: string | undefined;
36
-
37
- /**
38
- * Type of the resource in use
39
- */
40
- resourceType: string | undefined;
41
- }
42
-
43
- export namespace ConflictException {
44
- /**
45
- * @internal
46
- */
47
- export const filterSensitiveLog = (obj: ConflictException): any => ({
48
- ...obj,
49
- });
50
- }
51
-
52
- /**
53
- * <p>The cluster endpoint isn't available. Try another cluster endpoint.</p>
54
- */
55
- export interface EndpointTemporarilyUnavailableException extends __SmithyException, $MetadataBearer {
56
- name: "EndpointTemporarilyUnavailableException";
57
- $fault: "server";
58
- message: string | undefined;
59
- }
60
-
61
- export namespace EndpointTemporarilyUnavailableException {
62
- /**
63
- * @internal
64
- */
65
- export const filterSensitiveLog = (obj: EndpointTemporarilyUnavailableException): any => ({
66
- ...obj,
67
- });
68
- }
69
-
70
- export interface GetRoutingControlStateRequest {
71
- /**
72
- * <p>The Amazon Resource Number (ARN) for the routing control that you want to get the state for.</p>
73
- */
74
- RoutingControlArn: string | undefined;
75
- }
76
-
77
- export namespace GetRoutingControlStateRequest {
78
- /**
79
- * @internal
80
- */
81
- export const filterSensitiveLog = (obj: GetRoutingControlStateRequest): any => ({
82
- ...obj,
83
- });
84
- }
85
-
86
- export enum RoutingControlState {
87
- Off = "Off",
88
- On = "On",
89
- }
90
-
91
- export interface GetRoutingControlStateResponse {
92
- /**
93
- * <p>The Amazon Resource Number (ARN) of the response.</p>
94
- */
95
- RoutingControlArn: string | undefined;
96
-
97
- /**
98
- * <p>The state of the routing control.</p>
99
- */
100
- RoutingControlState: RoutingControlState | string | undefined;
101
- }
102
-
103
- export namespace GetRoutingControlStateResponse {
104
- /**
105
- * @internal
106
- */
107
- export const filterSensitiveLog = (obj: GetRoutingControlStateResponse): any => ({
108
- ...obj,
109
- });
110
- }
111
-
112
- /**
113
- * <p>There was an unexpected error during processing of the request.</p>
114
- */
115
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
116
- name: "InternalServerException";
117
- $fault: "server";
118
- message: string | undefined;
119
- /**
120
- * Advice to clients on when the call can be safely retried
121
- */
122
- retryAfterSeconds?: number;
123
- }
124
-
125
- export namespace InternalServerException {
126
- /**
127
- * @internal
128
- */
129
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
130
- ...obj,
131
- });
132
- }
133
-
134
- /**
135
- * <p>The request references a routing control that was not found.</p>
136
- */
137
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
138
- name: "ResourceNotFoundException";
139
- $fault: "client";
140
- message: string | undefined;
141
- /**
142
- * Hypothetical resource identifier that was not found
143
- */
144
- resourceId: string | undefined;
145
-
146
- /**
147
- * Hypothetical resource type that was not found
148
- */
149
- resourceType: string | undefined;
150
- }
151
-
152
- export namespace ResourceNotFoundException {
153
- /**
154
- * @internal
155
- */
156
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
157
- ...obj,
158
- });
159
- }
160
-
161
- /**
162
- * <p>The request was denied because of request throttling.</p>
163
- */
164
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
165
- name: "ThrottlingException";
166
- $fault: "client";
167
- message: string | undefined;
168
- /**
169
- * Advice to clients on when the call can be safely retried
170
- */
171
- retryAfterSeconds?: number;
172
- }
173
-
174
- export namespace ThrottlingException {
175
- /**
176
- * @internal
177
- */
178
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
179
- ...obj,
180
- });
181
- }
182
-
183
- /**
184
- * <p>There was a validation error on the request.</p>
185
- */
186
- export interface ValidationExceptionField {
187
- /**
188
- * <p>The field that had the validation exception.</p>
189
- */
190
- name: string | undefined;
191
-
192
- /**
193
- * <p>Information about the validation exception.</p>
194
- */
195
- message: string | undefined;
196
- }
197
-
198
- export namespace ValidationExceptionField {
199
- /**
200
- * @internal
201
- */
202
- export const filterSensitiveLog = (obj: ValidationExceptionField): any => ({
203
- ...obj,
204
- });
205
- }
206
-
207
- export enum ValidationExceptionReason {
208
- CANNOT_PARSE = "cannotParse",
209
- FIELD_VALIDATION_FAILED = "fieldValidationFailed",
210
- OTHER = "other",
211
- UNKNOWN_OPERATION = "unknownOperation",
212
- }
213
-
214
- /**
215
- * <p>There was a validation error on the request.</p>
216
- */
217
- export interface ValidationException extends __SmithyException, $MetadataBearer {
218
- name: "ValidationException";
219
- $fault: "client";
220
- message: string | undefined;
221
- /**
222
- * Reason the request failed validation
223
- */
224
- reason?: ValidationExceptionReason | string;
225
-
226
- /**
227
- * The fields that caused the error, if applicable
228
- */
229
- fields?: ValidationExceptionField[];
230
- }
231
-
232
- export namespace ValidationException {
233
- /**
234
- * @internal
235
- */
236
- export const filterSensitiveLog = (obj: ValidationException): any => ({
237
- ...obj,
238
- });
239
- }
240
-
241
- export interface UpdateRoutingControlStateRequest {
242
- /**
243
- * <p>The Amazon Resource Number (ARN) for the routing control that you want to update the state for.</p>
244
- */
245
- RoutingControlArn: string | undefined;
246
-
247
- /**
248
- * <p>The state of the routing control. You can set the value to be On or Off.</p>
249
- */
250
- RoutingControlState: RoutingControlState | string | undefined;
251
- }
252
-
253
- export namespace UpdateRoutingControlStateRequest {
254
- /**
255
- * @internal
256
- */
257
- export const filterSensitiveLog = (obj: UpdateRoutingControlStateRequest): any => ({
258
- ...obj,
259
- });
260
- }
261
-
262
- export interface UpdateRoutingControlStateResponse {}
263
-
264
- export namespace UpdateRoutingControlStateResponse {
265
- /**
266
- * @internal
267
- */
268
- export const filterSensitiveLog = (obj: UpdateRoutingControlStateResponse): any => ({
269
- ...obj,
270
- });
271
- }
272
-
273
- /**
274
- * <p>A routing control state.</p>
275
- */
276
- export interface UpdateRoutingControlStateEntry {
277
- /**
278
- * <p>The Amazon Resource Number (ARN) for the routing control state entry.</p>
279
- */
280
- RoutingControlArn: string | undefined;
281
-
282
- /**
283
- * <p>The routing control state in a set of routing control state entries.</p>
284
- */
285
- RoutingControlState: RoutingControlState | string | undefined;
286
- }
287
-
288
- export namespace UpdateRoutingControlStateEntry {
289
- /**
290
- * @internal
291
- */
292
- export const filterSensitiveLog = (obj: UpdateRoutingControlStateEntry): any => ({
293
- ...obj,
294
- });
295
- }
296
-
297
- export interface UpdateRoutingControlStatesRequest {
298
- /**
299
- * <p>A set of routing control entries that you want to update.</p>
300
- */
301
- UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
302
- }
303
-
304
- export namespace UpdateRoutingControlStatesRequest {
305
- /**
306
- * @internal
307
- */
308
- export const filterSensitiveLog = (obj: UpdateRoutingControlStatesRequest): any => ({
309
- ...obj,
310
- });
311
- }
312
-
313
- export interface UpdateRoutingControlStatesResponse {}
314
-
315
- export namespace UpdateRoutingControlStatesResponse {
316
- /**
317
- * @internal
318
- */
319
- export const filterSensitiveLog = (obj: UpdateRoutingControlStatesResponse): any => ({
320
- ...obj,
321
- });
322
- }