@aws-sdk/client-route53-recovery-cluster 3.128.0 → 3.137.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,36 @@
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.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-route53-recovery-cluster
20
+
21
+
22
+
23
+
24
+
25
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
31
+
32
+
33
+
34
+
35
+
6
36
  # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
37
 
8
38
  **Note:** Version bump only for package @aws-sdk/client-route53-recovery-cluster
@@ -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;
@@ -545,6 +545,9 @@ const loadRestJsonErrorCode = (output, data) => {
545
545
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
546
546
  const sanitizeErrorCode = (rawValue) => {
547
547
  let cleanValue = rawValue;
548
+ if (typeof cleanValue === "number") {
549
+ cleanValue = cleanValue.toString();
550
+ }
548
551
  if (cleanValue.indexOf(":") >= 0) {
549
552
  cleanValue = cleanValue.split(":")[0];
550
553
  }
@@ -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)); };
@@ -622,6 +622,9 @@ var loadRestJsonErrorCode = function (output, data) {
622
622
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
623
623
  var sanitizeErrorCode = function (rawValue) {
624
624
  var cleanValue = rawValue;
625
+ if (typeof cleanValue === "number") {
626
+ cleanValue = cleanValue.toString();
627
+ }
625
628
  if (cleanValue.indexOf(":") >= 0) {
626
629
  cleanValue = cleanValue.split(":")[0];
627
630
  }
@@ -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.128.0",
4
+ "version": "3.137.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,10 +18,10 @@
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.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.137.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.137.0",
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",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,21 +30,21 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
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.137.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.128.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.137.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",