@aws-sdk/client-route53-recovery-cluster 3.131.0 → 3.142.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,39 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
18
+
19
+
20
+ ### Features
21
+
22
+ * **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
29
+
30
+
31
+ ### Features
32
+
33
+ * **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
34
+
35
+
36
+
37
+
38
+
6
39
  # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
7
40
 
8
41
  **Note:** Version bump only for package @aws-sdk/client-route53-recovery-cluster
package/README.md CHANGED
@@ -207,7 +207,7 @@ try {
207
207
  const data = await client.send(command);
208
208
  // process data.
209
209
  } catch (error) {
210
- const { requestId, cfId, extendedRequestId } = error.$metadata;
210
+ const { requestId, cfId, extendedRequestId } = error.$$metadata;
211
211
  console.log({ requestId, cfId, extendedRequestId });
212
212
  /**
213
213
  * The keys within exceptions are also parsed.
@@ -20,8 +20,8 @@ class GetRoutingControlStateCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.GetRoutingControlStateRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.GetRoutingControlStateResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.GetRoutingControlStateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetRoutingControlStateResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class ListRoutingControlsCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.ListRoutingControlsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.ListRoutingControlsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.ListRoutingControlsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListRoutingControlsResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class UpdateRoutingControlStateCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateRoutingControlStateRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateRoutingControlStateResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.UpdateRoutingControlStateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateRoutingControlStateResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -20,8 +20,8 @@ class UpdateRoutingControlStatesCommand extends smithy_client_1.Command {
20
20
  logger,
21
21
  clientName,
22
22
  commandName,
23
- inputFilterSensitiveLog: models_0_1.UpdateRoutingControlStatesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: models_0_1.UpdateRoutingControlStatesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: models_0_1.UpdateRoutingControlStatesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateRoutingControlStatesResponseFilterSensitiveLog,
25
25
  };
26
26
  const { requestHandler } = configuration;
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateRoutingControlStatesResponse = exports.UpdateRoutingControlStatesRequest = exports.UpdateRoutingControlStateEntry = exports.UpdateRoutingControlStateResponse = exports.UpdateRoutingControlStateRequest = exports.ServiceLimitExceededException = exports.ListRoutingControlsResponse = exports.RoutingControl = exports.ListRoutingControlsRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.GetRoutingControlStateResponse = exports.RoutingControlState = exports.GetRoutingControlStateRequest = exports.EndpointTemporarilyUnavailableException = exports.ConflictException = exports.AccessDeniedException = void 0;
3
+ exports.UpdateRoutingControlStatesResponseFilterSensitiveLog = exports.UpdateRoutingControlStatesRequestFilterSensitiveLog = exports.UpdateRoutingControlStateEntryFilterSensitiveLog = exports.UpdateRoutingControlStateResponseFilterSensitiveLog = exports.UpdateRoutingControlStateRequestFilterSensitiveLog = exports.ListRoutingControlsResponseFilterSensitiveLog = exports.RoutingControlFilterSensitiveLog = exports.ListRoutingControlsRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.GetRoutingControlStateResponseFilterSensitiveLog = exports.GetRoutingControlStateRequestFilterSensitiveLog = exports.ServiceLimitExceededException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.RoutingControlState = exports.EndpointTemporarilyUnavailableException = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const Route53RecoveryClusterServiceException_1 = require("./Route53RecoveryClusterServiceException");
5
5
  class AccessDeniedException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
6
6
  constructor(opts) {
@@ -43,23 +43,11 @@ class EndpointTemporarilyUnavailableException extends Route53RecoveryClusterServ
43
43
  }
44
44
  }
45
45
  exports.EndpointTemporarilyUnavailableException = EndpointTemporarilyUnavailableException;
46
- var GetRoutingControlStateRequest;
47
- (function (GetRoutingControlStateRequest) {
48
- GetRoutingControlStateRequest.filterSensitiveLog = (obj) => ({
49
- ...obj,
50
- });
51
- })(GetRoutingControlStateRequest = exports.GetRoutingControlStateRequest || (exports.GetRoutingControlStateRequest = {}));
52
46
  var RoutingControlState;
53
47
  (function (RoutingControlState) {
54
48
  RoutingControlState["Off"] = "Off";
55
49
  RoutingControlState["On"] = "On";
56
50
  })(RoutingControlState = exports.RoutingControlState || (exports.RoutingControlState = {}));
57
- var GetRoutingControlStateResponse;
58
- (function (GetRoutingControlStateResponse) {
59
- GetRoutingControlStateResponse.filterSensitiveLog = (obj) => ({
60
- ...obj,
61
- });
62
- })(GetRoutingControlStateResponse = exports.GetRoutingControlStateResponse || (exports.GetRoutingControlStateResponse = {}));
63
51
  class InternalServerException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
64
52
  constructor(opts) {
65
53
  super({
@@ -103,12 +91,6 @@ class ThrottlingException extends Route53RecoveryClusterServiceException_1.Route
103
91
  }
104
92
  }
105
93
  exports.ThrottlingException = ThrottlingException;
106
- var ValidationExceptionField;
107
- (function (ValidationExceptionField) {
108
- ValidationExceptionField.filterSensitiveLog = (obj) => ({
109
- ...obj,
110
- });
111
- })(ValidationExceptionField = exports.ValidationExceptionField || (exports.ValidationExceptionField = {}));
112
94
  var ValidationExceptionReason;
113
95
  (function (ValidationExceptionReason) {
114
96
  ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
@@ -131,24 +113,6 @@ class ValidationException extends Route53RecoveryClusterServiceException_1.Route
131
113
  }
132
114
  }
133
115
  exports.ValidationException = ValidationException;
134
- var ListRoutingControlsRequest;
135
- (function (ListRoutingControlsRequest) {
136
- ListRoutingControlsRequest.filterSensitiveLog = (obj) => ({
137
- ...obj,
138
- });
139
- })(ListRoutingControlsRequest = exports.ListRoutingControlsRequest || (exports.ListRoutingControlsRequest = {}));
140
- var RoutingControl;
141
- (function (RoutingControl) {
142
- RoutingControl.filterSensitiveLog = (obj) => ({
143
- ...obj,
144
- });
145
- })(RoutingControl = exports.RoutingControl || (exports.RoutingControl = {}));
146
- var ListRoutingControlsResponse;
147
- (function (ListRoutingControlsResponse) {
148
- ListRoutingControlsResponse.filterSensitiveLog = (obj) => ({
149
- ...obj,
150
- });
151
- })(ListRoutingControlsResponse = exports.ListRoutingControlsResponse || (exports.ListRoutingControlsResponse = {}));
152
116
  class ServiceLimitExceededException extends Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException {
153
117
  constructor(opts) {
154
118
  super({
@@ -166,33 +130,47 @@ class ServiceLimitExceededException extends Route53RecoveryClusterServiceExcepti
166
130
  }
167
131
  }
168
132
  exports.ServiceLimitExceededException = ServiceLimitExceededException;
169
- var UpdateRoutingControlStateRequest;
170
- (function (UpdateRoutingControlStateRequest) {
171
- UpdateRoutingControlStateRequest.filterSensitiveLog = (obj) => ({
172
- ...obj,
173
- });
174
- })(UpdateRoutingControlStateRequest = exports.UpdateRoutingControlStateRequest || (exports.UpdateRoutingControlStateRequest = {}));
175
- var UpdateRoutingControlStateResponse;
176
- (function (UpdateRoutingControlStateResponse) {
177
- UpdateRoutingControlStateResponse.filterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- })(UpdateRoutingControlStateResponse = exports.UpdateRoutingControlStateResponse || (exports.UpdateRoutingControlStateResponse = {}));
181
- var UpdateRoutingControlStateEntry;
182
- (function (UpdateRoutingControlStateEntry) {
183
- UpdateRoutingControlStateEntry.filterSensitiveLog = (obj) => ({
184
- ...obj,
185
- });
186
- })(UpdateRoutingControlStateEntry = exports.UpdateRoutingControlStateEntry || (exports.UpdateRoutingControlStateEntry = {}));
187
- var UpdateRoutingControlStatesRequest;
188
- (function (UpdateRoutingControlStatesRequest) {
189
- UpdateRoutingControlStatesRequest.filterSensitiveLog = (obj) => ({
190
- ...obj,
191
- });
192
- })(UpdateRoutingControlStatesRequest = exports.UpdateRoutingControlStatesRequest || (exports.UpdateRoutingControlStatesRequest = {}));
193
- var UpdateRoutingControlStatesResponse;
194
- (function (UpdateRoutingControlStatesResponse) {
195
- UpdateRoutingControlStatesResponse.filterSensitiveLog = (obj) => ({
196
- ...obj,
197
- });
198
- })(UpdateRoutingControlStatesResponse = exports.UpdateRoutingControlStatesResponse || (exports.UpdateRoutingControlStatesResponse = {}));
133
+ const GetRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
134
+ ...obj,
135
+ });
136
+ exports.GetRoutingControlStateRequestFilterSensitiveLog = GetRoutingControlStateRequestFilterSensitiveLog;
137
+ const GetRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
138
+ ...obj,
139
+ });
140
+ exports.GetRoutingControlStateResponseFilterSensitiveLog = GetRoutingControlStateResponseFilterSensitiveLog;
141
+ const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
142
+ ...obj,
143
+ });
144
+ exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
145
+ const ListRoutingControlsRequestFilterSensitiveLog = (obj) => ({
146
+ ...obj,
147
+ });
148
+ exports.ListRoutingControlsRequestFilterSensitiveLog = ListRoutingControlsRequestFilterSensitiveLog;
149
+ const RoutingControlFilterSensitiveLog = (obj) => ({
150
+ ...obj,
151
+ });
152
+ exports.RoutingControlFilterSensitiveLog = RoutingControlFilterSensitiveLog;
153
+ const ListRoutingControlsResponseFilterSensitiveLog = (obj) => ({
154
+ ...obj,
155
+ });
156
+ exports.ListRoutingControlsResponseFilterSensitiveLog = ListRoutingControlsResponseFilterSensitiveLog;
157
+ const UpdateRoutingControlStateRequestFilterSensitiveLog = (obj) => ({
158
+ ...obj,
159
+ });
160
+ exports.UpdateRoutingControlStateRequestFilterSensitiveLog = UpdateRoutingControlStateRequestFilterSensitiveLog;
161
+ const UpdateRoutingControlStateResponseFilterSensitiveLog = (obj) => ({
162
+ ...obj,
163
+ });
164
+ exports.UpdateRoutingControlStateResponseFilterSensitiveLog = UpdateRoutingControlStateResponseFilterSensitiveLog;
165
+ const UpdateRoutingControlStateEntryFilterSensitiveLog = (obj) => ({
166
+ ...obj,
167
+ });
168
+ exports.UpdateRoutingControlStateEntryFilterSensitiveLog = UpdateRoutingControlStateEntryFilterSensitiveLog;
169
+ const UpdateRoutingControlStatesRequestFilterSensitiveLog = (obj) => ({
170
+ ...obj,
171
+ });
172
+ exports.UpdateRoutingControlStatesRequestFilterSensitiveLog = UpdateRoutingControlStatesRequestFilterSensitiveLog;
173
+ const UpdateRoutingControlStatesResponseFilterSensitiveLog = (obj) => ({
174
+ ...obj,
175
+ });
176
+ exports.UpdateRoutingControlStatesResponseFilterSensitiveLog = UpdateRoutingControlStatesResponseFilterSensitiveLog;
@@ -64,7 +64,6 @@ const deserializeAws_json1_0GetRoutingControlStateCommandError = async (output,
64
64
  ...output,
65
65
  body: await parseBody(output.body, context),
66
66
  };
67
- let response;
68
67
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
69
68
  switch (errorCode) {
70
69
  case "AccessDeniedException":
@@ -87,14 +86,12 @@ const deserializeAws_json1_0GetRoutingControlStateCommandError = async (output,
87
86
  throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
88
87
  default:
89
88
  const parsedBody = parsedOutput.body;
90
- const $metadata = deserializeMetadata(output);
91
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
92
- response = new Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException({
93
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
94
- $fault: "client",
95
- $metadata,
89
+ (0, smithy_client_1.throwDefaultError)({
90
+ output,
91
+ parsedBody,
92
+ exceptionCtor: Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException,
93
+ errorCode,
96
94
  });
97
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
98
95
  }
99
96
  };
100
97
  const deserializeAws_json1_0ListRoutingControlsCommand = async (output, context) => {
@@ -116,7 +113,6 @@ const deserializeAws_json1_0ListRoutingControlsCommandError = async (output, con
116
113
  ...output,
117
114
  body: await parseBody(output.body, context),
118
115
  };
119
- let response;
120
116
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
121
117
  switch (errorCode) {
122
118
  case "AccessDeniedException":
@@ -139,14 +135,12 @@ const deserializeAws_json1_0ListRoutingControlsCommandError = async (output, con
139
135
  throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
140
136
  default:
141
137
  const parsedBody = parsedOutput.body;
142
- const $metadata = deserializeMetadata(output);
143
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
144
- response = new Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException({
145
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
146
- $fault: "client",
147
- $metadata,
138
+ (0, smithy_client_1.throwDefaultError)({
139
+ output,
140
+ parsedBody,
141
+ exceptionCtor: Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException,
142
+ errorCode,
148
143
  });
149
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
150
144
  }
151
145
  };
152
146
  const deserializeAws_json1_0UpdateRoutingControlStateCommand = async (output, context) => {
@@ -168,7 +162,6 @@ const deserializeAws_json1_0UpdateRoutingControlStateCommandError = async (outpu
168
162
  ...output,
169
163
  body: await parseBody(output.body, context),
170
164
  };
171
- let response;
172
165
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
173
166
  switch (errorCode) {
174
167
  case "AccessDeniedException":
@@ -194,14 +187,12 @@ const deserializeAws_json1_0UpdateRoutingControlStateCommandError = async (outpu
194
187
  throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
195
188
  default:
196
189
  const parsedBody = parsedOutput.body;
197
- const $metadata = deserializeMetadata(output);
198
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
199
- response = new Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException({
200
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
201
- $fault: "client",
202
- $metadata,
190
+ (0, smithy_client_1.throwDefaultError)({
191
+ output,
192
+ parsedBody,
193
+ exceptionCtor: Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException,
194
+ errorCode,
203
195
  });
204
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
205
196
  }
206
197
  };
207
198
  const deserializeAws_json1_0UpdateRoutingControlStatesCommand = async (output, context) => {
@@ -223,7 +214,6 @@ const deserializeAws_json1_0UpdateRoutingControlStatesCommandError = async (outp
223
214
  ...output,
224
215
  body: await parseBody(output.body, context),
225
216
  };
226
- let response;
227
217
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
228
218
  switch (errorCode) {
229
219
  case "AccessDeniedException":
@@ -252,14 +242,12 @@ const deserializeAws_json1_0UpdateRoutingControlStatesCommandError = async (outp
252
242
  throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
253
243
  default:
254
244
  const parsedBody = parsedOutput.body;
255
- const $metadata = deserializeMetadata(output);
256
- const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
257
- response = new Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException({
258
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
259
- $fault: "client",
260
- $metadata,
245
+ (0, smithy_client_1.throwDefaultError)({
246
+ output,
247
+ parsedBody,
248
+ exceptionCtor: Route53RecoveryClusterServiceException_1.Route53RecoveryClusterServiceException,
249
+ errorCode,
261
250
  });
262
- throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
263
251
  }
264
252
  };
265
253
  const deserializeAws_json1_0AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -338,9 +326,6 @@ const serializeAws_json1_0Arns = (input, context) => {
338
326
  return input
339
327
  .filter((e) => e != null)
340
328
  .map((entry) => {
341
- if (entry === null) {
342
- return null;
343
- }
344
329
  return entry;
345
330
  });
346
331
  };
@@ -360,9 +345,6 @@ const serializeAws_json1_0UpdateRoutingControlStateEntries = (input, context) =>
360
345
  return input
361
346
  .filter((e) => e != null)
362
347
  .map((entry) => {
363
- if (entry === null) {
364
- return null;
365
- }
366
348
  return serializeAws_json1_0UpdateRoutingControlStateEntry(entry, context);
367
349
  });
368
350
  };
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { GetRoutingControlStateRequest, GetRoutingControlStateResponse } from "../models/models_0";
4
+ import { GetRoutingControlStateRequestFilterSensitiveLog, GetRoutingControlStateResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0GetRoutingControlStateCommand, serializeAws_json1_0GetRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
6
6
  var GetRoutingControlStateCommand = (function (_super) {
7
7
  __extends(GetRoutingControlStateCommand, _super);
@@ -20,8 +20,8 @@ var GetRoutingControlStateCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: GetRoutingControlStateRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: GetRoutingControlStateResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: GetRoutingControlStateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRoutingControlStateResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListRoutingControlsRequest, ListRoutingControlsResponse } from "../models/models_0";
4
+ import { ListRoutingControlsRequestFilterSensitiveLog, ListRoutingControlsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0ListRoutingControlsCommand, serializeAws_json1_0ListRoutingControlsCommand, } from "../protocols/Aws_json1_0";
6
6
  var ListRoutingControlsCommand = (function (_super) {
7
7
  __extends(ListRoutingControlsCommand, _super);
@@ -20,8 +20,8 @@ var ListRoutingControlsCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: ListRoutingControlsRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: ListRoutingControlsResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: ListRoutingControlsRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: ListRoutingControlsResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateRoutingControlStateRequest, UpdateRoutingControlStateResponse } from "../models/models_0";
4
+ import { UpdateRoutingControlStateRequestFilterSensitiveLog, UpdateRoutingControlStateResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UpdateRoutingControlStateCommand, serializeAws_json1_0UpdateRoutingControlStateCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateRoutingControlStateCommand = (function (_super) {
7
7
  __extends(UpdateRoutingControlStateCommand, _super);
@@ -20,8 +20,8 @@ var UpdateRoutingControlStateCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateRoutingControlStateRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateRoutingControlStateResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateRoutingControlStateRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateRoutingControlStateResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UpdateRoutingControlStatesRequest, UpdateRoutingControlStatesResponse } from "../models/models_0";
4
+ import { UpdateRoutingControlStatesRequestFilterSensitiveLog, UpdateRoutingControlStatesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_0UpdateRoutingControlStatesCommand, serializeAws_json1_0UpdateRoutingControlStatesCommand, } from "../protocols/Aws_json1_0";
6
6
  var UpdateRoutingControlStatesCommand = (function (_super) {
7
7
  __extends(UpdateRoutingControlStatesCommand, _super);
@@ -20,8 +20,8 @@ var UpdateRoutingControlStatesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UpdateRoutingControlStatesRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UpdateRoutingControlStatesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UpdateRoutingControlStatesRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateRoutingControlStatesResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -38,19 +38,11 @@ var EndpointTemporarilyUnavailableException = (function (_super) {
38
38
  return EndpointTemporarilyUnavailableException;
39
39
  }(__BaseException));
40
40
  export { EndpointTemporarilyUnavailableException };
41
- export var GetRoutingControlStateRequest;
42
- (function (GetRoutingControlStateRequest) {
43
- GetRoutingControlStateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
44
- })(GetRoutingControlStateRequest || (GetRoutingControlStateRequest = {}));
45
41
  export var RoutingControlState;
46
42
  (function (RoutingControlState) {
47
43
  RoutingControlState["Off"] = "Off";
48
44
  RoutingControlState["On"] = "On";
49
45
  })(RoutingControlState || (RoutingControlState = {}));
50
- export var GetRoutingControlStateResponse;
51
- (function (GetRoutingControlStateResponse) {
52
- GetRoutingControlStateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
- })(GetRoutingControlStateResponse || (GetRoutingControlStateResponse = {}));
54
46
  var InternalServerException = (function (_super) {
55
47
  __extends(InternalServerException, _super);
56
48
  function InternalServerException(opts) {
@@ -91,10 +83,6 @@ var ThrottlingException = (function (_super) {
91
83
  return ThrottlingException;
92
84
  }(__BaseException));
93
85
  export { ThrottlingException };
94
- export var ValidationExceptionField;
95
- (function (ValidationExceptionField) {
96
- ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
97
- })(ValidationExceptionField || (ValidationExceptionField = {}));
98
86
  export var ValidationExceptionReason;
99
87
  (function (ValidationExceptionReason) {
100
88
  ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
@@ -116,18 +104,6 @@ var ValidationException = (function (_super) {
116
104
  return ValidationException;
117
105
  }(__BaseException));
118
106
  export { ValidationException };
119
- export var ListRoutingControlsRequest;
120
- (function (ListRoutingControlsRequest) {
121
- ListRoutingControlsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
122
- })(ListRoutingControlsRequest || (ListRoutingControlsRequest = {}));
123
- export var RoutingControl;
124
- (function (RoutingControl) {
125
- RoutingControl.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
126
- })(RoutingControl || (RoutingControl = {}));
127
- export var ListRoutingControlsResponse;
128
- (function (ListRoutingControlsResponse) {
129
- ListRoutingControlsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
- })(ListRoutingControlsResponse || (ListRoutingControlsResponse = {}));
131
107
  var ServiceLimitExceededException = (function (_super) {
132
108
  __extends(ServiceLimitExceededException, _super);
133
109
  function ServiceLimitExceededException(opts) {
@@ -144,23 +120,14 @@ var ServiceLimitExceededException = (function (_super) {
144
120
  return ServiceLimitExceededException;
145
121
  }(__BaseException));
146
122
  export { ServiceLimitExceededException };
147
- export var UpdateRoutingControlStateRequest;
148
- (function (UpdateRoutingControlStateRequest) {
149
- UpdateRoutingControlStateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
150
- })(UpdateRoutingControlStateRequest || (UpdateRoutingControlStateRequest = {}));
151
- export var UpdateRoutingControlStateResponse;
152
- (function (UpdateRoutingControlStateResponse) {
153
- UpdateRoutingControlStateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
154
- })(UpdateRoutingControlStateResponse || (UpdateRoutingControlStateResponse = {}));
155
- export var UpdateRoutingControlStateEntry;
156
- (function (UpdateRoutingControlStateEntry) {
157
- UpdateRoutingControlStateEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
158
- })(UpdateRoutingControlStateEntry || (UpdateRoutingControlStateEntry = {}));
159
- export var UpdateRoutingControlStatesRequest;
160
- (function (UpdateRoutingControlStatesRequest) {
161
- UpdateRoutingControlStatesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
162
- })(UpdateRoutingControlStatesRequest || (UpdateRoutingControlStatesRequest = {}));
163
- export var UpdateRoutingControlStatesResponse;
164
- (function (UpdateRoutingControlStatesResponse) {
165
- UpdateRoutingControlStatesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
166
- })(UpdateRoutingControlStatesResponse || (UpdateRoutingControlStatesResponse = {}));
123
+ export var GetRoutingControlStateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
124
+ export var GetRoutingControlStateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
125
+ export var ValidationExceptionFieldFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
126
+ export var ListRoutingControlsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
127
+ export var RoutingControlFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
128
+ export var ListRoutingControlsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
129
+ export var UpdateRoutingControlStateRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
130
+ export var UpdateRoutingControlStateResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
131
+ export var UpdateRoutingControlStateEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
132
+ export var UpdateRoutingControlStatesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
133
+ export var UpdateRoutingControlStatesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectString as __expectString, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectString as __expectString, throwDefaultError, } from "@aws-sdk/smithy-client";
4
4
  import { AccessDeniedException, ConflictException, EndpointTemporarilyUnavailableException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { Route53RecoveryClusterServiceException as __BaseException } from "../models/Route53RecoveryClusterServiceException";
6
6
  export var serializeAws_json1_0GetRoutingControlStateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -66,7 +66,7 @@ export var deserializeAws_json1_0GetRoutingControlStateCommand = function (outpu
66
66
  });
67
67
  }); };
68
68
  var deserializeAws_json1_0GetRoutingControlStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
69
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
69
+ var parsedOutput, _a, errorCode, _b, parsedBody;
70
70
  var _c;
71
71
  return __generator(this, function (_d) {
72
72
  switch (_d.label) {
@@ -107,14 +107,14 @@ var deserializeAws_json1_0GetRoutingControlStateCommandError = function (output,
107
107
  case 13: throw _d.sent();
108
108
  case 14:
109
109
  parsedBody = parsedOutput.body;
110
- $metadata = deserializeMetadata(output);
111
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
112
- response = new __BaseException({
113
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
114
- $fault: "client",
115
- $metadata: $metadata,
110
+ throwDefaultError({
111
+ output: output,
112
+ parsedBody: parsedBody,
113
+ exceptionCtor: __BaseException,
114
+ errorCode: errorCode,
116
115
  });
117
- throw __decorateServiceException(response, parsedBody);
116
+ _d.label = 15;
117
+ case 15: return [2];
118
118
  }
119
119
  });
120
120
  }); };
@@ -137,7 +137,7 @@ export var deserializeAws_json1_0ListRoutingControlsCommand = function (output,
137
137
  });
138
138
  }); };
139
139
  var deserializeAws_json1_0ListRoutingControlsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
140
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
140
+ var parsedOutput, _a, errorCode, _b, parsedBody;
141
141
  var _c;
142
142
  return __generator(this, function (_d) {
143
143
  switch (_d.label) {
@@ -178,14 +178,14 @@ var deserializeAws_json1_0ListRoutingControlsCommandError = function (output, co
178
178
  case 13: throw _d.sent();
179
179
  case 14:
180
180
  parsedBody = parsedOutput.body;
181
- $metadata = deserializeMetadata(output);
182
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
183
- response = new __BaseException({
184
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
185
- $fault: "client",
186
- $metadata: $metadata,
181
+ throwDefaultError({
182
+ output: output,
183
+ parsedBody: parsedBody,
184
+ exceptionCtor: __BaseException,
185
+ errorCode: errorCode,
187
186
  });
188
- throw __decorateServiceException(response, parsedBody);
187
+ _d.label = 15;
188
+ case 15: return [2];
189
189
  }
190
190
  });
191
191
  }); };
@@ -208,7 +208,7 @@ export var deserializeAws_json1_0UpdateRoutingControlStateCommand = function (ou
208
208
  });
209
209
  }); };
210
210
  var deserializeAws_json1_0UpdateRoutingControlStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
211
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
211
+ var parsedOutput, _a, errorCode, _b, parsedBody;
212
212
  var _c;
213
213
  return __generator(this, function (_d) {
214
214
  switch (_d.label) {
@@ -253,14 +253,14 @@ var deserializeAws_json1_0UpdateRoutingControlStateCommandError = function (outp
253
253
  case 15: throw _d.sent();
254
254
  case 16:
255
255
  parsedBody = parsedOutput.body;
256
- $metadata = deserializeMetadata(output);
257
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
258
- response = new __BaseException({
259
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
260
- $fault: "client",
261
- $metadata: $metadata,
256
+ throwDefaultError({
257
+ output: output,
258
+ parsedBody: parsedBody,
259
+ exceptionCtor: __BaseException,
260
+ errorCode: errorCode,
262
261
  });
263
- throw __decorateServiceException(response, parsedBody);
262
+ _d.label = 17;
263
+ case 17: return [2];
264
264
  }
265
265
  });
266
266
  }); };
@@ -283,7 +283,7 @@ export var deserializeAws_json1_0UpdateRoutingControlStatesCommand = function (o
283
283
  });
284
284
  }); };
285
285
  var deserializeAws_json1_0UpdateRoutingControlStatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
286
- var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
286
+ var parsedOutput, _a, errorCode, _b, parsedBody;
287
287
  var _c;
288
288
  return __generator(this, function (_d) {
289
289
  switch (_d.label) {
@@ -332,14 +332,14 @@ var deserializeAws_json1_0UpdateRoutingControlStatesCommandError = function (out
332
332
  case 17: throw _d.sent();
333
333
  case 18:
334
334
  parsedBody = parsedOutput.body;
335
- $metadata = deserializeMetadata(output);
336
- statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
337
- response = new __BaseException({
338
- name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
339
- $fault: "client",
340
- $metadata: $metadata,
335
+ throwDefaultError({
336
+ output: output,
337
+ parsedBody: parsedBody,
338
+ exceptionCtor: __BaseException,
339
+ errorCode: errorCode,
341
340
  });
342
- throw __decorateServiceException(response, parsedBody);
341
+ _d.label = 19;
342
+ case 19: return [2];
343
343
  }
344
344
  });
345
345
  }); };
@@ -419,9 +419,6 @@ var serializeAws_json1_0Arns = function (input, context) {
419
419
  return input
420
420
  .filter(function (e) { return e != null; })
421
421
  .map(function (entry) {
422
- if (entry === null) {
423
- return null;
424
- }
425
422
  return entry;
426
423
  });
427
424
  };
@@ -435,9 +432,6 @@ var serializeAws_json1_0UpdateRoutingControlStateEntries = function (input, cont
435
432
  return input
436
433
  .filter(function (e) { return e != null; })
437
434
  .map(function (entry) {
438
- if (entry === null) {
439
- return null;
440
- }
441
435
  return serializeAws_json1_0UpdateRoutingControlStateEntry(entry, context);
442
436
  });
443
437
  };
@@ -47,12 +47,6 @@ export interface GetRoutingControlStateRequest {
47
47
  */
48
48
  RoutingControlArn: string | undefined;
49
49
  }
50
- export declare namespace GetRoutingControlStateRequest {
51
- /**
52
- * @internal
53
- */
54
- const filterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
55
- }
56
50
  export declare enum RoutingControlState {
57
51
  Off = "Off",
58
52
  On = "On"
@@ -71,12 +65,6 @@ export interface GetRoutingControlStateResponse {
71
65
  */
72
66
  RoutingControlName?: string;
73
67
  }
74
- export declare namespace GetRoutingControlStateResponse {
75
- /**
76
- * @internal
77
- */
78
- const filterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
79
- }
80
68
  /**
81
69
  * <p>There was an unexpected error during processing of the request.</p>
82
70
  */
@@ -139,12 +127,6 @@ export interface ValidationExceptionField {
139
127
  */
140
128
  message: string | undefined;
141
129
  }
142
- export declare namespace ValidationExceptionField {
143
- /**
144
- * @internal
145
- */
146
- const filterSensitiveLog: (obj: ValidationExceptionField) => any;
147
- }
148
130
  export declare enum ValidationExceptionReason {
149
131
  CANNOT_PARSE = "cannotParse",
150
132
  FIELD_VALIDATION_FAILED = "fieldValidationFailed",
@@ -184,12 +166,6 @@ export interface ListRoutingControlsRequest {
184
166
  */
185
167
  MaxResults?: number;
186
168
  }
187
- export declare namespace ListRoutingControlsRequest {
188
- /**
189
- * @internal
190
- */
191
- const filterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
192
- }
193
169
  /**
194
170
  * <p>A routing control, which is a simple on/off switch that you
195
171
  * can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When
@@ -218,12 +194,6 @@ export interface RoutingControl {
218
194
  */
219
195
  RoutingControlState?: RoutingControlState | string;
220
196
  }
221
- export declare namespace RoutingControl {
222
- /**
223
- * @internal
224
- */
225
- const filterSensitiveLog: (obj: RoutingControl) => any;
226
- }
227
197
  export interface ListRoutingControlsResponse {
228
198
  /**
229
199
  * <p>The list of routing controls.</p>
@@ -234,12 +204,6 @@ export interface ListRoutingControlsResponse {
234
204
  */
235
205
  NextToken?: string;
236
206
  }
237
- export declare namespace ListRoutingControlsResponse {
238
- /**
239
- * @internal
240
- */
241
- const filterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
242
- }
243
207
  /**
244
208
  * <p>The request can't update that many routing control states at the same time. Try again with fewer routing control states.</p>
245
209
  */
@@ -285,20 +249,8 @@ export interface UpdateRoutingControlStateRequest {
285
249
  */
286
250
  SafetyRulesToOverride?: string[];
287
251
  }
288
- export declare namespace UpdateRoutingControlStateRequest {
289
- /**
290
- * @internal
291
- */
292
- const filterSensitiveLog: (obj: UpdateRoutingControlStateRequest) => any;
293
- }
294
252
  export interface UpdateRoutingControlStateResponse {
295
253
  }
296
- export declare namespace UpdateRoutingControlStateResponse {
297
- /**
298
- * @internal
299
- */
300
- const filterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
301
- }
302
254
  /**
303
255
  * <p>A routing control state entry.</p>
304
256
  */
@@ -312,12 +264,6 @@ export interface UpdateRoutingControlStateEntry {
312
264
  */
313
265
  RoutingControlState: RoutingControlState | string | undefined;
314
266
  }
315
- export declare namespace UpdateRoutingControlStateEntry {
316
- /**
317
- * @internal
318
- */
319
- const filterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
320
- }
321
267
  export interface UpdateRoutingControlStatesRequest {
322
268
  /**
323
269
  * <p>A set of routing control entries that you want to update.</p>
@@ -332,17 +278,49 @@ export interface UpdateRoutingControlStatesRequest {
332
278
  */
333
279
  SafetyRulesToOverride?: string[];
334
280
  }
335
- export declare namespace UpdateRoutingControlStatesRequest {
336
- /**
337
- * @internal
338
- */
339
- const filterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
340
- }
341
281
  export interface UpdateRoutingControlStatesResponse {
342
282
  }
343
- export declare namespace UpdateRoutingControlStatesResponse {
344
- /**
345
- * @internal
346
- */
347
- const filterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
348
- }
283
+ /**
284
+ * @internal
285
+ */
286
+ export declare const GetRoutingControlStateRequestFilterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
287
+ /**
288
+ * @internal
289
+ */
290
+ export declare const GetRoutingControlStateResponseFilterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
291
+ /**
292
+ * @internal
293
+ */
294
+ export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
295
+ /**
296
+ * @internal
297
+ */
298
+ export declare const ListRoutingControlsRequestFilterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
299
+ /**
300
+ * @internal
301
+ */
302
+ export declare const RoutingControlFilterSensitiveLog: (obj: RoutingControl) => any;
303
+ /**
304
+ * @internal
305
+ */
306
+ export declare const ListRoutingControlsResponseFilterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
307
+ /**
308
+ * @internal
309
+ */
310
+ export declare const UpdateRoutingControlStateRequestFilterSensitiveLog: (obj: UpdateRoutingControlStateRequest) => any;
311
+ /**
312
+ * @internal
313
+ */
314
+ export declare const UpdateRoutingControlStateResponseFilterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
315
+ /**
316
+ * @internal
317
+ */
318
+ export declare const UpdateRoutingControlStateEntryFilterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
319
+ /**
320
+ * @internal
321
+ */
322
+ export declare const UpdateRoutingControlStatesRequestFilterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
323
+ /**
324
+ * @internal
325
+ */
326
+ export declare const UpdateRoutingControlStatesResponseFilterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
@@ -29,10 +29,6 @@ export interface GetRoutingControlStateRequest {
29
29
 
30
30
  RoutingControlArn: string | undefined;
31
31
  }
32
- export declare namespace GetRoutingControlStateRequest {
33
-
34
- const filterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
35
- }
36
32
  export declare enum RoutingControlState {
37
33
  Off = "Off",
38
34
  On = "On"
@@ -45,10 +41,6 @@ export interface GetRoutingControlStateResponse {
45
41
 
46
42
  RoutingControlName?: string;
47
43
  }
48
- export declare namespace GetRoutingControlStateResponse {
49
-
50
- const filterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
51
- }
52
44
 
53
45
  export declare class InternalServerException extends __BaseException {
54
46
  readonly name: "InternalServerException";
@@ -85,10 +77,6 @@ export interface ValidationExceptionField {
85
77
 
86
78
  message: string | undefined;
87
79
  }
88
- export declare namespace ValidationExceptionField {
89
-
90
- const filterSensitiveLog: (obj: ValidationExceptionField) => any;
91
- }
92
80
  export declare enum ValidationExceptionReason {
93
81
  CANNOT_PARSE = "cannotParse",
94
82
  FIELD_VALIDATION_FAILED = "fieldValidationFailed",
@@ -114,10 +102,6 @@ export interface ListRoutingControlsRequest {
114
102
 
115
103
  MaxResults?: number;
116
104
  }
117
- export declare namespace ListRoutingControlsRequest {
118
-
119
- const filterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
120
- }
121
105
 
122
106
  export interface RoutingControl {
123
107
 
@@ -131,20 +115,12 @@ export interface RoutingControl {
131
115
 
132
116
  RoutingControlState?: RoutingControlState | string;
133
117
  }
134
- export declare namespace RoutingControl {
135
-
136
- const filterSensitiveLog: (obj: RoutingControl) => any;
137
- }
138
118
  export interface ListRoutingControlsResponse {
139
119
 
140
120
  RoutingControls: RoutingControl[] | undefined;
141
121
 
142
122
  NextToken?: string;
143
123
  }
144
- export declare namespace ListRoutingControlsResponse {
145
-
146
- const filterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
147
- }
148
124
 
149
125
  export declare class ServiceLimitExceededException extends __BaseException {
150
126
  readonly name: "ServiceLimitExceededException";
@@ -168,16 +144,8 @@ export interface UpdateRoutingControlStateRequest {
168
144
 
169
145
  SafetyRulesToOverride?: string[];
170
146
  }
171
- export declare namespace UpdateRoutingControlStateRequest {
172
-
173
- const filterSensitiveLog: (obj: UpdateRoutingControlStateRequest) => any;
174
- }
175
147
  export interface UpdateRoutingControlStateResponse {
176
148
  }
177
- export declare namespace UpdateRoutingControlStateResponse {
178
-
179
- const filterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
180
- }
181
149
 
182
150
  export interface UpdateRoutingControlStateEntry {
183
151
 
@@ -185,23 +153,33 @@ export interface UpdateRoutingControlStateEntry {
185
153
 
186
154
  RoutingControlState: RoutingControlState | string | undefined;
187
155
  }
188
- export declare namespace UpdateRoutingControlStateEntry {
189
-
190
- const filterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
191
- }
192
156
  export interface UpdateRoutingControlStatesRequest {
193
157
 
194
158
  UpdateRoutingControlStateEntries: UpdateRoutingControlStateEntry[] | undefined;
195
159
 
196
160
  SafetyRulesToOverride?: string[];
197
161
  }
198
- export declare namespace UpdateRoutingControlStatesRequest {
199
-
200
- const filterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
201
- }
202
162
  export interface UpdateRoutingControlStatesResponse {
203
163
  }
204
- export declare namespace UpdateRoutingControlStatesResponse {
205
-
206
- const filterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
207
- }
164
+
165
+ export declare const GetRoutingControlStateRequestFilterSensitiveLog: (obj: GetRoutingControlStateRequest) => any;
166
+
167
+ export declare const GetRoutingControlStateResponseFilterSensitiveLog: (obj: GetRoutingControlStateResponse) => any;
168
+
169
+ export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
170
+
171
+ export declare const ListRoutingControlsRequestFilterSensitiveLog: (obj: ListRoutingControlsRequest) => any;
172
+
173
+ export declare const RoutingControlFilterSensitiveLog: (obj: RoutingControl) => any;
174
+
175
+ export declare const ListRoutingControlsResponseFilterSensitiveLog: (obj: ListRoutingControlsResponse) => any;
176
+
177
+ export declare const UpdateRoutingControlStateRequestFilterSensitiveLog: (obj: UpdateRoutingControlStateRequest) => any;
178
+
179
+ export declare const UpdateRoutingControlStateResponseFilterSensitiveLog: (obj: UpdateRoutingControlStateResponse) => any;
180
+
181
+ export declare const UpdateRoutingControlStateEntryFilterSensitiveLog: (obj: UpdateRoutingControlStateEntry) => any;
182
+
183
+ export declare const UpdateRoutingControlStatesRequestFilterSensitiveLog: (obj: UpdateRoutingControlStatesRequest) => any;
184
+
185
+ export declare const UpdateRoutingControlStatesResponseFilterSensitiveLog: (obj: UpdateRoutingControlStatesResponse) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route53-recovery-cluster",
3
3
  "description": "AWS SDK for JavaScript Route53 Recovery Cluster Client for Node.js, Browser and React Native",
4
- "version": "3.131.0",
4
+ "version": "3.142.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.131.0",
21
+ "@aws-sdk/client-sts": "3.142.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.131.0",
23
+ "@aws-sdk/credential-provider-node": "3.142.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -36,15 +36,15 @@
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
37
37
  "@aws-sdk/node-http-handler": "3.127.0",
38
38
  "@aws-sdk/protocol-http": "3.127.0",
39
- "@aws-sdk/smithy-client": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.142.0",
40
40
  "@aws-sdk/types": "3.127.0",
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.142.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",