@aws-sdk/client-appconfigdata 3.52.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-appconfigdata
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppConfigDataServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./AppConfigData"), exports);
5
6
  tslib_1.__exportStar(require("./AppConfigDataClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var AppConfigDataServiceException_1 = require("./models/AppConfigDataServiceException");
10
+ Object.defineProperty(exports, "AppConfigDataServiceException", { enumerable: true, get: function () { return AppConfigDataServiceException_1.AppConfigDataServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppConfigDataServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class AppConfigDataServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, AppConfigDataServiceException.prototype);
9
+ }
10
+ }
11
+ exports.AppConfigDataServiceException = AppConfigDataServiceException;
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetLatestConfigurationResponse = exports.GetLatestConfigurationRequest = exports.StartConfigurationSessionResponse = exports.StartConfigurationSessionRequest = exports.ResourceType = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidParameterDetail = exports.InvalidParameterProblem = void 0;
3
+ exports.GetLatestConfigurationResponse = exports.GetLatestConfigurationRequest = exports.ThrottlingException = exports.StartConfigurationSessionResponse = exports.StartConfigurationSessionRequest = exports.ResourceNotFoundException = exports.ResourceType = exports.InternalServerException = exports.BadRequestException = exports.BadRequestReason = exports.BadRequestDetails = exports.InvalidParameterDetail = exports.InvalidParameterProblem = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ const AppConfigDataServiceException_1 = require("./AppConfigDataServiceException");
5
6
  var InvalidParameterProblem;
6
7
  (function (InvalidParameterProblem) {
7
8
  InvalidParameterProblem["CORRUPTED"] = "Corrupted";
@@ -37,6 +38,36 @@ var BadRequestReason;
37
38
  (function (BadRequestReason) {
38
39
  BadRequestReason["INVALID_PARAMETERS"] = "InvalidParameters";
39
40
  })(BadRequestReason = exports.BadRequestReason || (exports.BadRequestReason = {}));
41
+ class BadRequestException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
42
+ constructor(opts) {
43
+ super({
44
+ name: "BadRequestException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ this.name = "BadRequestException";
49
+ this.$fault = "client";
50
+ Object.setPrototypeOf(this, BadRequestException.prototype);
51
+ this.Message = opts.Message;
52
+ this.Reason = opts.Reason;
53
+ this.Details = opts.Details;
54
+ }
55
+ }
56
+ exports.BadRequestException = BadRequestException;
57
+ class InternalServerException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
58
+ constructor(opts) {
59
+ super({
60
+ name: "InternalServerException",
61
+ $fault: "server",
62
+ ...opts,
63
+ });
64
+ this.name = "InternalServerException";
65
+ this.$fault = "server";
66
+ Object.setPrototypeOf(this, InternalServerException.prototype);
67
+ this.Message = opts.Message;
68
+ }
69
+ }
70
+ exports.InternalServerException = InternalServerException;
40
71
  var ResourceType;
41
72
  (function (ResourceType) {
42
73
  ResourceType["APPLICATION"] = "Application";
@@ -45,6 +76,22 @@ var ResourceType;
45
76
  ResourceType["DEPLOYMENT"] = "Deployment";
46
77
  ResourceType["ENVIRONMENT"] = "Environment";
47
78
  })(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
79
+ class ResourceNotFoundException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
80
+ constructor(opts) {
81
+ super({
82
+ name: "ResourceNotFoundException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ this.name = "ResourceNotFoundException";
87
+ this.$fault = "client";
88
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
89
+ this.Message = opts.Message;
90
+ this.ResourceType = opts.ResourceType;
91
+ this.ReferencedBy = opts.ReferencedBy;
92
+ }
93
+ }
94
+ exports.ResourceNotFoundException = ResourceNotFoundException;
48
95
  var StartConfigurationSessionRequest;
49
96
  (function (StartConfigurationSessionRequest) {
50
97
  StartConfigurationSessionRequest.filterSensitiveLog = (obj) => ({
@@ -57,6 +104,20 @@ var StartConfigurationSessionResponse;
57
104
  ...obj,
58
105
  });
59
106
  })(StartConfigurationSessionResponse = exports.StartConfigurationSessionResponse || (exports.StartConfigurationSessionResponse = {}));
107
+ class ThrottlingException extends AppConfigDataServiceException_1.AppConfigDataServiceException {
108
+ constructor(opts) {
109
+ super({
110
+ name: "ThrottlingException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ this.name = "ThrottlingException";
115
+ this.$fault = "client";
116
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
117
+ this.Message = opts.Message;
118
+ }
119
+ }
120
+ exports.ThrottlingException = ThrottlingException;
60
121
  var GetLatestConfigurationRequest;
61
122
  (function (GetLatestConfigurationRequest) {
62
123
  GetLatestConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deserializeAws_restJson1StartConfigurationSessionCommand = exports.deserializeAws_restJson1GetLatestConfigurationCommand = exports.serializeAws_restJson1StartConfigurationSessionCommand = exports.serializeAws_restJson1GetLatestConfigurationCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const AppConfigDataServiceException_1 = require("../models/AppConfigDataServiceException");
7
+ const models_0_1 = require("../models/models_0");
6
8
  const serializeAws_restJson1GetLatestConfigurationCommand = async (input, context) => {
7
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
10
  const headers = {};
@@ -91,51 +93,25 @@ const deserializeAws_restJson1GetLatestConfigurationCommandError = async (output
91
93
  switch (errorCode) {
92
94
  case "BadRequestException":
93
95
  case "com.amazonaws.appconfigdata#BadRequestException":
94
- response = {
95
- ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)),
96
- name: errorCode,
97
- $metadata: deserializeMetadata(output),
98
- };
99
- break;
96
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
100
97
  case "InternalServerException":
101
98
  case "com.amazonaws.appconfigdata#InternalServerException":
102
- response = {
103
- ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
104
- name: errorCode,
105
- $metadata: deserializeMetadata(output),
106
- };
107
- break;
99
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
108
100
  case "ResourceNotFoundException":
109
101
  case "com.amazonaws.appconfigdata#ResourceNotFoundException":
110
- response = {
111
- ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
112
- name: errorCode,
113
- $metadata: deserializeMetadata(output),
114
- };
115
- break;
102
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
116
103
  case "ThrottlingException":
117
104
  case "com.amazonaws.appconfigdata#ThrottlingException":
118
- response = {
119
- ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
120
- name: errorCode,
121
- $metadata: deserializeMetadata(output),
122
- };
123
- break;
105
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
124
106
  default:
125
107
  const parsedBody = parsedOutput.body;
126
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
127
- response = {
128
- ...parsedBody,
129
- name: `${errorCode}`,
130
- message: parsedBody.message || parsedBody.Message || errorCode,
108
+ response = new AppConfigDataServiceException_1.AppConfigDataServiceException({
109
+ name: parsedBody.code || parsedBody.Code || errorCode,
131
110
  $fault: "client",
132
111
  $metadata: deserializeMetadata(output),
133
- };
112
+ });
113
+ throw smithy_client_1.decorateServiceException(response, parsedBody);
134
114
  }
135
- const message = response.message || response.Message || errorCode;
136
- response.message = message;
137
- delete response.Message;
138
- return Promise.reject(Object.assign(new Error(message), response));
139
115
  };
140
116
  const deserializeAws_restJson1StartConfigurationSessionCommand = async (output, context) => {
141
117
  if (output.statusCode !== 201 && output.statusCode >= 300) {
@@ -163,61 +139,28 @@ const deserializeAws_restJson1StartConfigurationSessionCommandError = async (out
163
139
  switch (errorCode) {
164
140
  case "BadRequestException":
165
141
  case "com.amazonaws.appconfigdata#BadRequestException":
166
- response = {
167
- ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)),
168
- name: errorCode,
169
- $metadata: deserializeMetadata(output),
170
- };
171
- break;
142
+ throw await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context);
172
143
  case "InternalServerException":
173
144
  case "com.amazonaws.appconfigdata#InternalServerException":
174
- response = {
175
- ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
176
- name: errorCode,
177
- $metadata: deserializeMetadata(output),
178
- };
179
- break;
145
+ throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
180
146
  case "ResourceNotFoundException":
181
147
  case "com.amazonaws.appconfigdata#ResourceNotFoundException":
182
- response = {
183
- ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
184
- name: errorCode,
185
- $metadata: deserializeMetadata(output),
186
- };
187
- break;
148
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
188
149
  case "ThrottlingException":
189
150
  case "com.amazonaws.appconfigdata#ThrottlingException":
190
- response = {
191
- ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
192
- name: errorCode,
193
- $metadata: deserializeMetadata(output),
194
- };
195
- break;
151
+ throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
196
152
  default:
197
153
  const parsedBody = parsedOutput.body;
198
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
199
- response = {
200
- ...parsedBody,
201
- name: `${errorCode}`,
202
- message: parsedBody.message || parsedBody.Message || errorCode,
154
+ response = new AppConfigDataServiceException_1.AppConfigDataServiceException({
155
+ name: parsedBody.code || parsedBody.Code || errorCode,
203
156
  $fault: "client",
204
157
  $metadata: deserializeMetadata(output),
205
- };
158
+ });
159
+ throw smithy_client_1.decorateServiceException(response, parsedBody);
206
160
  }
207
- const message = response.message || response.Message || errorCode;
208
- response.message = message;
209
- delete response.Message;
210
- return Promise.reject(Object.assign(new Error(message), response));
211
161
  };
212
162
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
213
- const contents = {
214
- name: "BadRequestException",
215
- $fault: "client",
216
- $metadata: deserializeMetadata(parsedOutput),
217
- Details: undefined,
218
- Message: undefined,
219
- Reason: undefined,
220
- };
163
+ const contents = {};
221
164
  const data = parsedOutput.body;
222
165
  if (data.Details !== undefined && data.Details !== null) {
223
166
  contents.Details = deserializeAws_restJson1BadRequestDetails(smithy_client_1.expectUnion(data.Details), context);
@@ -228,30 +171,26 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
228
171
  if (data.Reason !== undefined && data.Reason !== null) {
229
172
  contents.Reason = smithy_client_1.expectString(data.Reason);
230
173
  }
231
- return contents;
174
+ const exception = new models_0_1.BadRequestException({
175
+ $metadata: deserializeMetadata(parsedOutput),
176
+ ...contents,
177
+ });
178
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
232
179
  };
233
180
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
234
- const contents = {
235
- name: "InternalServerException",
236
- $fault: "server",
237
- $metadata: deserializeMetadata(parsedOutput),
238
- Message: undefined,
239
- };
181
+ const contents = {};
240
182
  const data = parsedOutput.body;
241
183
  if (data.Message !== undefined && data.Message !== null) {
242
184
  contents.Message = smithy_client_1.expectString(data.Message);
243
185
  }
244
- return contents;
186
+ const exception = new models_0_1.InternalServerException({
187
+ $metadata: deserializeMetadata(parsedOutput),
188
+ ...contents,
189
+ });
190
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
245
191
  };
246
192
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
247
- const contents = {
248
- name: "ResourceNotFoundException",
249
- $fault: "client",
250
- $metadata: deserializeMetadata(parsedOutput),
251
- Message: undefined,
252
- ReferencedBy: undefined,
253
- ResourceType: undefined,
254
- };
193
+ const contents = {};
255
194
  const data = parsedOutput.body;
256
195
  if (data.Message !== undefined && data.Message !== null) {
257
196
  contents.Message = smithy_client_1.expectString(data.Message);
@@ -262,20 +201,23 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
262
201
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
263
202
  contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
264
203
  }
265
- return contents;
204
+ const exception = new models_0_1.ResourceNotFoundException({
205
+ $metadata: deserializeMetadata(parsedOutput),
206
+ ...contents,
207
+ });
208
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
266
209
  };
267
210
  const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
268
- const contents = {
269
- name: "ThrottlingException",
270
- $fault: "client",
271
- $metadata: deserializeMetadata(parsedOutput),
272
- Message: undefined,
273
- };
211
+ const contents = {};
274
212
  const data = parsedOutput.body;
275
213
  if (data.Message !== undefined && data.Message !== null) {
276
214
  contents.Message = smithy_client_1.expectString(data.Message);
277
215
  }
278
- return contents;
216
+ const exception = new models_0_1.ThrottlingException({
217
+ $metadata: deserializeMetadata(parsedOutput),
218
+ ...contents,
219
+ });
220
+ return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
279
221
  };
280
222
  const deserializeAws_restJson1BadRequestDetails = (output, context) => {
281
223
  if (output.InvalidParameters !== undefined && output.InvalidParameters !== null) {
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./AppConfigData";
2
2
  export * from "./AppConfigDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AppConfigDataServiceException = (function (_super) {
4
+ __extends(AppConfigDataServiceException, _super);
5
+ function AppConfigDataServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AppConfigDataServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AppConfigDataServiceException;
11
+ }(__ServiceException));
12
+ export { AppConfigDataServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign, __read } from "tslib";
1
+ import { __assign, __extends, __read } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
3
4
  export var InvalidParameterProblem;
4
5
  (function (InvalidParameterProblem) {
5
6
  InvalidParameterProblem["CORRUPTED"] = "Corrupted";
@@ -35,6 +36,34 @@ export var BadRequestReason;
35
36
  (function (BadRequestReason) {
36
37
  BadRequestReason["INVALID_PARAMETERS"] = "InvalidParameters";
37
38
  })(BadRequestReason || (BadRequestReason = {}));
39
+ var BadRequestException = (function (_super) {
40
+ __extends(BadRequestException, _super);
41
+ function BadRequestException(opts) {
42
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
43
+ _this.name = "BadRequestException";
44
+ _this.$fault = "client";
45
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
46
+ _this.Message = opts.Message;
47
+ _this.Reason = opts.Reason;
48
+ _this.Details = opts.Details;
49
+ return _this;
50
+ }
51
+ return BadRequestException;
52
+ }(__BaseException));
53
+ export { BadRequestException };
54
+ var InternalServerException = (function (_super) {
55
+ __extends(InternalServerException, _super);
56
+ function InternalServerException(opts) {
57
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
58
+ _this.name = "InternalServerException";
59
+ _this.$fault = "server";
60
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
61
+ _this.Message = opts.Message;
62
+ return _this;
63
+ }
64
+ return InternalServerException;
65
+ }(__BaseException));
66
+ export { InternalServerException };
38
67
  export var ResourceType;
39
68
  (function (ResourceType) {
40
69
  ResourceType["APPLICATION"] = "Application";
@@ -43,6 +72,21 @@ export var ResourceType;
43
72
  ResourceType["DEPLOYMENT"] = "Deployment";
44
73
  ResourceType["ENVIRONMENT"] = "Environment";
45
74
  })(ResourceType || (ResourceType = {}));
75
+ var ResourceNotFoundException = (function (_super) {
76
+ __extends(ResourceNotFoundException, _super);
77
+ function ResourceNotFoundException(opts) {
78
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
79
+ _this.name = "ResourceNotFoundException";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
82
+ _this.Message = opts.Message;
83
+ _this.ResourceType = opts.ResourceType;
84
+ _this.ReferencedBy = opts.ReferencedBy;
85
+ return _this;
86
+ }
87
+ return ResourceNotFoundException;
88
+ }(__BaseException));
89
+ export { ResourceNotFoundException };
46
90
  export var StartConfigurationSessionRequest;
47
91
  (function (StartConfigurationSessionRequest) {
48
92
  StartConfigurationSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -51,6 +95,19 @@ export var StartConfigurationSessionResponse;
51
95
  (function (StartConfigurationSessionResponse) {
52
96
  StartConfigurationSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
97
  })(StartConfigurationSessionResponse || (StartConfigurationSessionResponse = {}));
98
+ var ThrottlingException = (function (_super) {
99
+ __extends(ThrottlingException, _super);
100
+ function ThrottlingException(opts) {
101
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
102
+ _this.name = "ThrottlingException";
103
+ _this.$fault = "client";
104
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
105
+ _this.Message = opts.Message;
106
+ return _this;
107
+ }
108
+ return ThrottlingException;
109
+ }(__BaseException));
110
+ export { ThrottlingException };
54
111
  export var GetLatestConfigurationRequest;
55
112
  (function (GetLatestConfigurationRequest) {
56
113
  GetLatestConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,6 +1,8 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, strictParseInt32 as __strictParseInt32, } from "@aws-sdk/smithy-client";
4
+ import { AppConfigDataServiceException as __BaseException } from "../models/AppConfigDataServiceException";
5
+ import { BadRequestException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
4
6
  export var serializeAws_restJson1GetLatestConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
7
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
6
8
  return __generator(this, function (_c) {
@@ -89,16 +91,16 @@ export var deserializeAws_restJson1GetLatestConfigurationCommand = function (out
89
91
  });
90
92
  }); };
91
93
  var deserializeAws_restJson1GetLatestConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
92
- var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
93
- var _g;
94
- return __generator(this, function (_h) {
95
- switch (_h.label) {
94
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
95
+ var _c;
96
+ return __generator(this, function (_d) {
97
+ switch (_d.label) {
96
98
  case 0:
97
99
  _a = [__assign({}, output)];
98
- _g = {};
100
+ _c = {};
99
101
  return [4, parseBody(output.body, context)];
100
102
  case 1:
101
- parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
103
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
102
104
  errorCode = "UnknownError";
103
105
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
104
106
  _b = errorCode;
@@ -113,40 +115,22 @@ var deserializeAws_restJson1GetLatestConfigurationCommandError = function (outpu
113
115
  case "com.amazonaws.appconfigdata#ThrottlingException": return [3, 8];
114
116
  }
115
117
  return [3, 10];
116
- case 2:
117
- _c = [{}];
118
- return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
119
- case 3:
120
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
121
- return [3, 11];
122
- case 4:
123
- _d = [{}];
124
- return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
125
- case 5:
126
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
127
- return [3, 11];
128
- case 6:
129
- _e = [{}];
130
- return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
131
- case 7:
132
- response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
133
- return [3, 11];
134
- case 8:
135
- _f = [{}];
136
- return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
137
- case 9:
138
- response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
139
- return [3, 11];
118
+ case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
119
+ case 3: throw _d.sent();
120
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
121
+ case 5: throw _d.sent();
122
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
123
+ case 7: throw _d.sent();
124
+ case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
125
+ case 9: throw _d.sent();
140
126
  case 10:
141
127
  parsedBody = parsedOutput.body;
142
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
143
- response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
144
- _h.label = 11;
145
- case 11:
146
- message = response.message || response.Message || errorCode;
147
- response.message = message;
148
- delete response.Message;
149
- return [2, Promise.reject(Object.assign(new Error(message), response))];
128
+ response = new __BaseException({
129
+ name: parsedBody.code || parsedBody.Code || errorCode,
130
+ $fault: "client",
131
+ $metadata: deserializeMetadata(output),
132
+ });
133
+ throw __decorateServiceException(response, parsedBody);
150
134
  }
151
135
  });
152
136
  }); };
@@ -175,16 +159,16 @@ export var deserializeAws_restJson1StartConfigurationSessionCommand = function (
175
159
  });
176
160
  }); };
177
161
  var deserializeAws_restJson1StartConfigurationSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
178
- var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, parsedBody, message;
179
- var _g;
180
- return __generator(this, function (_h) {
181
- switch (_h.label) {
162
+ var parsedOutput, _a, response, errorCode, _b, parsedBody;
163
+ var _c;
164
+ return __generator(this, function (_d) {
165
+ switch (_d.label) {
182
166
  case 0:
183
167
  _a = [__assign({}, output)];
184
- _g = {};
168
+ _c = {};
185
169
  return [4, parseBody(output.body, context)];
186
170
  case 1:
187
- parsedOutput = __assign.apply(void 0, _a.concat([(_g.body = _h.sent(), _g)]));
171
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
188
172
  errorCode = "UnknownError";
189
173
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
190
174
  _b = errorCode;
@@ -199,54 +183,29 @@ var deserializeAws_restJson1StartConfigurationSessionCommandError = function (ou
199
183
  case "com.amazonaws.appconfigdata#ThrottlingException": return [3, 8];
200
184
  }
201
185
  return [3, 10];
202
- case 2:
203
- _c = [{}];
204
- return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
205
- case 3:
206
- response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
207
- return [3, 11];
208
- case 4:
209
- _d = [{}];
210
- return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
211
- case 5:
212
- response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
213
- return [3, 11];
214
- case 6:
215
- _e = [{}];
216
- return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
217
- case 7:
218
- response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
219
- return [3, 11];
220
- case 8:
221
- _f = [{}];
222
- return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
223
- case 9:
224
- response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
225
- return [3, 11];
186
+ case 2: return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
187
+ case 3: throw _d.sent();
188
+ case 4: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
189
+ case 5: throw _d.sent();
190
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
191
+ case 7: throw _d.sent();
192
+ case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
193
+ case 9: throw _d.sent();
226
194
  case 10:
227
195
  parsedBody = parsedOutput.body;
228
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
229
- response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
230
- _h.label = 11;
231
- case 11:
232
- message = response.message || response.Message || errorCode;
233
- response.message = message;
234
- delete response.Message;
235
- return [2, Promise.reject(Object.assign(new Error(message), response))];
196
+ response = new __BaseException({
197
+ name: parsedBody.code || parsedBody.Code || errorCode,
198
+ $fault: "client",
199
+ $metadata: deserializeMetadata(output),
200
+ });
201
+ throw __decorateServiceException(response, parsedBody);
236
202
  }
237
203
  });
238
204
  }); };
239
205
  var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
240
- var contents, data;
206
+ var contents, data, exception;
241
207
  return __generator(this, function (_a) {
242
- contents = {
243
- name: "BadRequestException",
244
- $fault: "client",
245
- $metadata: deserializeMetadata(parsedOutput),
246
- Details: undefined,
247
- Message: undefined,
248
- Reason: undefined,
249
- };
208
+ contents = {};
250
209
  data = parsedOutput.body;
251
210
  if (data.Details !== undefined && data.Details !== null) {
252
211
  contents.Details = deserializeAws_restJson1BadRequestDetails(__expectUnion(data.Details), context);
@@ -257,36 +216,26 @@ var deserializeAws_restJson1BadRequestExceptionResponse = function (parsedOutput
257
216
  if (data.Reason !== undefined && data.Reason !== null) {
258
217
  contents.Reason = __expectString(data.Reason);
259
218
  }
260
- return [2, contents];
219
+ exception = new BadRequestException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
220
+ return [2, __decorateServiceException(exception, parsedOutput.body)];
261
221
  });
262
222
  }); };
263
223
  var deserializeAws_restJson1InternalServerExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
264
- var contents, data;
224
+ var contents, data, exception;
265
225
  return __generator(this, function (_a) {
266
- contents = {
267
- name: "InternalServerException",
268
- $fault: "server",
269
- $metadata: deserializeMetadata(parsedOutput),
270
- Message: undefined,
271
- };
226
+ contents = {};
272
227
  data = parsedOutput.body;
273
228
  if (data.Message !== undefined && data.Message !== null) {
274
229
  contents.Message = __expectString(data.Message);
275
230
  }
276
- return [2, contents];
231
+ exception = new InternalServerException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
232
+ return [2, __decorateServiceException(exception, parsedOutput.body)];
277
233
  });
278
234
  }); };
279
235
  var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
280
- var contents, data;
236
+ var contents, data, exception;
281
237
  return __generator(this, function (_a) {
282
- contents = {
283
- name: "ResourceNotFoundException",
284
- $fault: "client",
285
- $metadata: deserializeMetadata(parsedOutput),
286
- Message: undefined,
287
- ReferencedBy: undefined,
288
- ResourceType: undefined,
289
- };
238
+ contents = {};
290
239
  data = parsedOutput.body;
291
240
  if (data.Message !== undefined && data.Message !== null) {
292
241
  contents.Message = __expectString(data.Message);
@@ -297,23 +246,20 @@ var deserializeAws_restJson1ResourceNotFoundExceptionResponse = function (parsed
297
246
  if (data.ResourceType !== undefined && data.ResourceType !== null) {
298
247
  contents.ResourceType = __expectString(data.ResourceType);
299
248
  }
300
- return [2, contents];
249
+ exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
250
+ return [2, __decorateServiceException(exception, parsedOutput.body)];
301
251
  });
302
252
  }); };
303
253
  var deserializeAws_restJson1ThrottlingExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
304
- var contents, data;
254
+ var contents, data, exception;
305
255
  return __generator(this, function (_a) {
306
- contents = {
307
- name: "ThrottlingException",
308
- $fault: "client",
309
- $metadata: deserializeMetadata(parsedOutput),
310
- Message: undefined,
311
- };
256
+ contents = {};
312
257
  data = parsedOutput.body;
313
258
  if (data.Message !== undefined && data.Message !== null) {
314
259
  contents.Message = __expectString(data.Message);
315
260
  }
316
- return [2, contents];
261
+ exception = new ThrottlingException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, contents));
262
+ return [2, __decorateServiceException(exception, parsedOutput.body)];
317
263
  });
318
264
  }); };
319
265
  var deserializeAws_restJson1BadRequestDetails = function (output, context) {
@@ -2,3 +2,4 @@ export * from "./AppConfigData";
2
2
  export * from "./AppConfigDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from AppConfigData service.
4
+ */
5
+ export declare class AppConfigDataServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
2
3
  export declare enum InvalidParameterProblem {
3
4
  /**
4
5
  * The parameter was corrupted and could not be understood by the service.
@@ -69,9 +70,9 @@ export declare enum BadRequestReason {
69
70
  /**
70
71
  * <p>The input fails to satisfy the constraints specified by the service.</p>
71
72
  */
72
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
73
- name: "BadRequestException";
74
- $fault: "client";
73
+ export declare class BadRequestException extends __BaseException {
74
+ readonly name: "BadRequestException";
75
+ readonly $fault: "client";
75
76
  Message?: string;
76
77
  /**
77
78
  * <p>Code indicating the reason the request was invalid.</p>
@@ -81,14 +82,22 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
81
82
  * <p>Details describing why the request was invalid.</p>
82
83
  */
83
84
  Details?: BadRequestDetails;
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
84
89
  }
85
90
  /**
86
91
  * <p>There was an internal failure in the service.</p>
87
92
  */
88
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
89
- name: "InternalServerException";
90
- $fault: "server";
93
+ export declare class InternalServerException extends __BaseException {
94
+ readonly name: "InternalServerException";
95
+ readonly $fault: "server";
91
96
  Message?: string;
97
+ /**
98
+ * @internal
99
+ */
100
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
92
101
  }
93
102
  export declare enum ResourceType {
94
103
  /**
@@ -115,9 +124,9 @@ export declare enum ResourceType {
115
124
  /**
116
125
  * <p>The requested resource could not be found.</p>
117
126
  */
118
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
119
- name: "ResourceNotFoundException";
120
- $fault: "client";
127
+ export declare class ResourceNotFoundException extends __BaseException {
128
+ readonly name: "ResourceNotFoundException";
129
+ readonly $fault: "client";
121
130
  Message?: string;
122
131
  /**
123
132
  * <p>The type of resource that was not found.</p>
@@ -129,6 +138,10 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
129
138
  ReferencedBy?: {
130
139
  [key: string]: string;
131
140
  };
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
132
145
  }
133
146
  export interface StartConfigurationSessionRequest {
134
147
  /**
@@ -179,10 +192,14 @@ export declare namespace StartConfigurationSessionResponse {
179
192
  /**
180
193
  * <p>The request was denied due to request throttling.</p>
181
194
  */
182
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
183
- name: "ThrottlingException";
184
- $fault: "client";
195
+ export declare class ThrottlingException extends __BaseException {
196
+ readonly name: "ThrottlingException";
197
+ readonly $fault: "client";
185
198
  Message?: string;
199
+ /**
200
+ * @internal
201
+ */
202
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
186
203
  }
187
204
  export interface GetLatestConfigurationRequest {
188
205
  /**
@@ -2,3 +2,4 @@ export * from "./AppConfigData";
2
2
  export * from "./AppConfigDataClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class AppConfigDataServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AppConfigDataServiceException as __BaseException } from "./AppConfigDataServiceException";
2
3
  export declare enum InvalidParameterProblem {
3
4
 
4
5
  CORRUPTED = "Corrupted",
@@ -48,20 +49,24 @@ export declare enum BadRequestReason {
48
49
  INVALID_PARAMETERS = "InvalidParameters"
49
50
  }
50
51
 
51
- export interface BadRequestException extends __SmithyException, $MetadataBearer {
52
- name: "BadRequestException";
53
- $fault: "client";
52
+ export declare class BadRequestException extends __BaseException {
53
+ readonly name: "BadRequestException";
54
+ readonly $fault: "client";
54
55
  Message?: string;
55
56
 
56
57
  Reason?: BadRequestReason | string;
57
58
 
58
59
  Details?: BadRequestDetails;
60
+
61
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
59
62
  }
60
63
 
61
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
62
- name: "InternalServerException";
63
- $fault: "server";
64
+ export declare class InternalServerException extends __BaseException {
65
+ readonly name: "InternalServerException";
66
+ readonly $fault: "server";
64
67
  Message?: string;
68
+
69
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
65
70
  }
66
71
  export declare enum ResourceType {
67
72
 
@@ -76,9 +81,9 @@ export declare enum ResourceType {
76
81
  ENVIRONMENT = "Environment"
77
82
  }
78
83
 
79
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
80
- name: "ResourceNotFoundException";
81
- $fault: "client";
84
+ export declare class ResourceNotFoundException extends __BaseException {
85
+ readonly name: "ResourceNotFoundException";
86
+ readonly $fault: "client";
82
87
  Message?: string;
83
88
 
84
89
  ResourceType?: ResourceType | string;
@@ -86,6 +91,8 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
86
91
  ReferencedBy?: {
87
92
  [key: string]: string;
88
93
  };
94
+
95
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
89
96
  }
90
97
  export interface StartConfigurationSessionRequest {
91
98
 
@@ -110,10 +117,12 @@ export declare namespace StartConfigurationSessionResponse {
110
117
  const filterSensitiveLog: (obj: StartConfigurationSessionResponse) => any;
111
118
  }
112
119
 
113
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
114
- name: "ThrottlingException";
115
- $fault: "client";
120
+ export declare class ThrottlingException extends __BaseException {
121
+ readonly name: "ThrottlingException";
122
+ readonly $fault: "client";
116
123
  Message?: string;
124
+
125
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
117
126
  }
118
127
  export interface GetLatestConfigurationRequest {
119
128
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfigdata",
3
3
  "description": "AWS SDK for JavaScript Appconfigdata Client for Node.js, Browser and React Native",
4
- "version": "3.52.0",
4
+ "version": "3.53.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,34 +18,34 @@
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.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-serde": "3.52.0",
32
- "@aws-sdk/middleware-signing": "3.52.0",
33
- "@aws-sdk/middleware-stack": "3.52.0",
34
- "@aws-sdk/middleware-user-agent": "3.52.0",
35
- "@aws-sdk/node-config-provider": "3.52.0",
36
- "@aws-sdk/node-http-handler": "3.52.0",
37
- "@aws-sdk/protocol-http": "3.52.0",
38
- "@aws-sdk/smithy-client": "3.52.0",
39
- "@aws-sdk/types": "3.52.0",
40
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-serde": "3.53.0",
32
+ "@aws-sdk/middleware-signing": "3.53.0",
33
+ "@aws-sdk/middleware-stack": "3.53.0",
34
+ "@aws-sdk/middleware-user-agent": "3.53.0",
35
+ "@aws-sdk/node-config-provider": "3.53.0",
36
+ "@aws-sdk/node-http-handler": "3.53.0",
37
+ "@aws-sdk/protocol-http": "3.53.0",
38
+ "@aws-sdk/smithy-client": "3.53.0",
39
+ "@aws-sdk/types": "3.53.0",
40
+ "@aws-sdk/url-parser": "3.53.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.52.0",
44
44
  "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
47
- "@aws-sdk/util-user-agent-browser": "3.52.0",
48
- "@aws-sdk/util-user-agent-node": "3.52.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
48
+ "@aws-sdk/util-user-agent-node": "3.53.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"