@aws-sdk/client-pricing 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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PricingServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +72 -1
- package/dist-cjs/protocols/Aws_json1_1.js +52 -149
- package/dist-es/index.js +1 -0
- package/dist-es/models/PricingServiceException.js +12 -0
- package/dist-es/models/models_0.js +67 -1
- package/dist-es/protocols/Aws_json1_1.js +92 -152
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PricingServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +37 -17
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/PricingServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -17
- package/package.json +25 -25
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-pricing
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Pricing"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./PricingClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var PricingServiceException_1 = require("./models/PricingServiceException");
|
|
11
|
+
Object.defineProperty(exports, "PricingServiceException", { enumerable: true, get: function () { return PricingServiceException_1.PricingServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PricingServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class PricingServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, PricingServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.PricingServiceException = PricingServiceException;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetProductsResponse = exports.GetProductsRequest = exports.Filter = exports.FilterType = exports.GetAttributeValuesResponse = exports.GetAttributeValuesRequest = exports.DescribeServicesResponse = exports.Service = exports.DescribeServicesRequest = exports.AttributeValue = void 0;
|
|
3
|
+
exports.GetProductsResponse = exports.GetProductsRequest = exports.Filter = exports.FilterType = exports.GetAttributeValuesResponse = exports.GetAttributeValuesRequest = exports.NotFoundException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.InternalErrorException = exports.ExpiredNextTokenException = exports.DescribeServicesResponse = exports.Service = exports.DescribeServicesRequest = exports.AttributeValue = void 0;
|
|
4
|
+
const PricingServiceException_1 = require("./PricingServiceException");
|
|
4
5
|
var AttributeValue;
|
|
5
6
|
(function (AttributeValue) {
|
|
6
7
|
AttributeValue.filterSensitiveLog = (obj) => ({
|
|
@@ -25,6 +26,76 @@ var DescribeServicesResponse;
|
|
|
25
26
|
...obj,
|
|
26
27
|
});
|
|
27
28
|
})(DescribeServicesResponse = exports.DescribeServicesResponse || (exports.DescribeServicesResponse = {}));
|
|
29
|
+
class ExpiredNextTokenException extends PricingServiceException_1.PricingServiceException {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ExpiredNextTokenException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
this.name = "ExpiredNextTokenException";
|
|
37
|
+
this.$fault = "client";
|
|
38
|
+
Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
|
|
39
|
+
this.Message = opts.Message;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.ExpiredNextTokenException = ExpiredNextTokenException;
|
|
43
|
+
class InternalErrorException extends PricingServiceException_1.PricingServiceException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "InternalErrorException",
|
|
47
|
+
$fault: "server",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "InternalErrorException";
|
|
51
|
+
this.$fault = "server";
|
|
52
|
+
Object.setPrototypeOf(this, InternalErrorException.prototype);
|
|
53
|
+
this.Message = opts.Message;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.InternalErrorException = InternalErrorException;
|
|
57
|
+
class InvalidNextTokenException extends PricingServiceException_1.PricingServiceException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "InvalidNextTokenException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "InvalidNextTokenException";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
67
|
+
this.Message = opts.Message;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
71
|
+
class InvalidParameterException extends PricingServiceException_1.PricingServiceException {
|
|
72
|
+
constructor(opts) {
|
|
73
|
+
super({
|
|
74
|
+
name: "InvalidParameterException",
|
|
75
|
+
$fault: "client",
|
|
76
|
+
...opts,
|
|
77
|
+
});
|
|
78
|
+
this.name = "InvalidParameterException";
|
|
79
|
+
this.$fault = "client";
|
|
80
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
81
|
+
this.Message = opts.Message;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
85
|
+
class NotFoundException extends PricingServiceException_1.PricingServiceException {
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "NotFoundException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
this.name = "NotFoundException";
|
|
93
|
+
this.$fault = "client";
|
|
94
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.NotFoundException = NotFoundException;
|
|
28
99
|
var GetAttributeValuesRequest;
|
|
29
100
|
(function (GetAttributeValuesRequest) {
|
|
30
101
|
GetAttributeValuesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deserializeAws_json1_1GetProductsCommand = exports.deserializeAws_json1_1GetAttributeValuesCommand = exports.deserializeAws_json1_1DescribeServicesCommand = exports.serializeAws_json1_1GetProductsCommand = exports.serializeAws_json1_1GetAttributeValuesCommand = exports.serializeAws_json1_1DescribeServicesCommand = 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 models_0_1 = require("../models/models_0");
|
|
7
|
+
const PricingServiceException_1 = require("../models/PricingServiceException");
|
|
6
8
|
const serializeAws_json1_1DescribeServicesCommand = async (input, context) => {
|
|
7
9
|
const headers = {
|
|
8
10
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -58,59 +60,28 @@ const deserializeAws_json1_1DescribeServicesCommandError = async (output, contex
|
|
|
58
60
|
switch (errorCode) {
|
|
59
61
|
case "ExpiredNextTokenException":
|
|
60
62
|
case "com.amazonaws.pricing#ExpiredNextTokenException":
|
|
61
|
-
|
|
62
|
-
...(await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)),
|
|
63
|
-
name: errorCode,
|
|
64
|
-
$metadata: deserializeMetadata(output),
|
|
65
|
-
};
|
|
66
|
-
break;
|
|
63
|
+
throw await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context);
|
|
67
64
|
case "InternalErrorException":
|
|
68
65
|
case "com.amazonaws.pricing#InternalErrorException":
|
|
69
|
-
|
|
70
|
-
...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)),
|
|
71
|
-
name: errorCode,
|
|
72
|
-
$metadata: deserializeMetadata(output),
|
|
73
|
-
};
|
|
74
|
-
break;
|
|
66
|
+
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
75
67
|
case "InvalidNextTokenException":
|
|
76
68
|
case "com.amazonaws.pricing#InvalidNextTokenException":
|
|
77
|
-
|
|
78
|
-
...(await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)),
|
|
79
|
-
name: errorCode,
|
|
80
|
-
$metadata: deserializeMetadata(output),
|
|
81
|
-
};
|
|
82
|
-
break;
|
|
69
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
83
70
|
case "InvalidParameterException":
|
|
84
71
|
case "com.amazonaws.pricing#InvalidParameterException":
|
|
85
|
-
|
|
86
|
-
...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)),
|
|
87
|
-
name: errorCode,
|
|
88
|
-
$metadata: deserializeMetadata(output),
|
|
89
|
-
};
|
|
90
|
-
break;
|
|
72
|
+
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
91
73
|
case "NotFoundException":
|
|
92
74
|
case "com.amazonaws.pricing#NotFoundException":
|
|
93
|
-
|
|
94
|
-
...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)),
|
|
95
|
-
name: errorCode,
|
|
96
|
-
$metadata: deserializeMetadata(output),
|
|
97
|
-
};
|
|
98
|
-
break;
|
|
75
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
99
76
|
default:
|
|
100
77
|
const parsedBody = parsedOutput.body;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
...parsedBody,
|
|
104
|
-
name: `${errorCode}`,
|
|
105
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
78
|
+
response = new PricingServiceException_1.PricingServiceException({
|
|
79
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
106
80
|
$fault: "client",
|
|
107
81
|
$metadata: deserializeMetadata(output),
|
|
108
|
-
};
|
|
82
|
+
});
|
|
83
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
109
84
|
}
|
|
110
|
-
const message = response.message || response.Message || errorCode;
|
|
111
|
-
response.message = message;
|
|
112
|
-
delete response.Message;
|
|
113
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
114
85
|
};
|
|
115
86
|
const deserializeAws_json1_1GetAttributeValuesCommand = async (output, context) => {
|
|
116
87
|
if (output.statusCode >= 300) {
|
|
@@ -137,59 +108,28 @@ const deserializeAws_json1_1GetAttributeValuesCommandError = async (output, cont
|
|
|
137
108
|
switch (errorCode) {
|
|
138
109
|
case "ExpiredNextTokenException":
|
|
139
110
|
case "com.amazonaws.pricing#ExpiredNextTokenException":
|
|
140
|
-
|
|
141
|
-
...(await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)),
|
|
142
|
-
name: errorCode,
|
|
143
|
-
$metadata: deserializeMetadata(output),
|
|
144
|
-
};
|
|
145
|
-
break;
|
|
111
|
+
throw await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context);
|
|
146
112
|
case "InternalErrorException":
|
|
147
113
|
case "com.amazonaws.pricing#InternalErrorException":
|
|
148
|
-
|
|
149
|
-
...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)),
|
|
150
|
-
name: errorCode,
|
|
151
|
-
$metadata: deserializeMetadata(output),
|
|
152
|
-
};
|
|
153
|
-
break;
|
|
114
|
+
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
154
115
|
case "InvalidNextTokenException":
|
|
155
116
|
case "com.amazonaws.pricing#InvalidNextTokenException":
|
|
156
|
-
|
|
157
|
-
...(await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)),
|
|
158
|
-
name: errorCode,
|
|
159
|
-
$metadata: deserializeMetadata(output),
|
|
160
|
-
};
|
|
161
|
-
break;
|
|
117
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
162
118
|
case "InvalidParameterException":
|
|
163
119
|
case "com.amazonaws.pricing#InvalidParameterException":
|
|
164
|
-
|
|
165
|
-
...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)),
|
|
166
|
-
name: errorCode,
|
|
167
|
-
$metadata: deserializeMetadata(output),
|
|
168
|
-
};
|
|
169
|
-
break;
|
|
120
|
+
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
170
121
|
case "NotFoundException":
|
|
171
122
|
case "com.amazonaws.pricing#NotFoundException":
|
|
172
|
-
|
|
173
|
-
...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)),
|
|
174
|
-
name: errorCode,
|
|
175
|
-
$metadata: deserializeMetadata(output),
|
|
176
|
-
};
|
|
177
|
-
break;
|
|
123
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
178
124
|
default:
|
|
179
125
|
const parsedBody = parsedOutput.body;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
...parsedBody,
|
|
183
|
-
name: `${errorCode}`,
|
|
184
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
126
|
+
response = new PricingServiceException_1.PricingServiceException({
|
|
127
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
185
128
|
$fault: "client",
|
|
186
129
|
$metadata: deserializeMetadata(output),
|
|
187
|
-
};
|
|
130
|
+
});
|
|
131
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
188
132
|
}
|
|
189
|
-
const message = response.message || response.Message || errorCode;
|
|
190
|
-
response.message = message;
|
|
191
|
-
delete response.Message;
|
|
192
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
193
133
|
};
|
|
194
134
|
const deserializeAws_json1_1GetProductsCommand = async (output, context) => {
|
|
195
135
|
if (output.statusCode >= 300) {
|
|
@@ -216,114 +156,73 @@ const deserializeAws_json1_1GetProductsCommandError = async (output, context) =>
|
|
|
216
156
|
switch (errorCode) {
|
|
217
157
|
case "ExpiredNextTokenException":
|
|
218
158
|
case "com.amazonaws.pricing#ExpiredNextTokenException":
|
|
219
|
-
|
|
220
|
-
...(await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)),
|
|
221
|
-
name: errorCode,
|
|
222
|
-
$metadata: deserializeMetadata(output),
|
|
223
|
-
};
|
|
224
|
-
break;
|
|
159
|
+
throw await deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context);
|
|
225
160
|
case "InternalErrorException":
|
|
226
161
|
case "com.amazonaws.pricing#InternalErrorException":
|
|
227
|
-
|
|
228
|
-
...(await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)),
|
|
229
|
-
name: errorCode,
|
|
230
|
-
$metadata: deserializeMetadata(output),
|
|
231
|
-
};
|
|
232
|
-
break;
|
|
162
|
+
throw await deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context);
|
|
233
163
|
case "InvalidNextTokenException":
|
|
234
164
|
case "com.amazonaws.pricing#InvalidNextTokenException":
|
|
235
|
-
|
|
236
|
-
...(await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)),
|
|
237
|
-
name: errorCode,
|
|
238
|
-
$metadata: deserializeMetadata(output),
|
|
239
|
-
};
|
|
240
|
-
break;
|
|
165
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
241
166
|
case "InvalidParameterException":
|
|
242
167
|
case "com.amazonaws.pricing#InvalidParameterException":
|
|
243
|
-
|
|
244
|
-
...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)),
|
|
245
|
-
name: errorCode,
|
|
246
|
-
$metadata: deserializeMetadata(output),
|
|
247
|
-
};
|
|
248
|
-
break;
|
|
168
|
+
throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
|
|
249
169
|
case "NotFoundException":
|
|
250
170
|
case "com.amazonaws.pricing#NotFoundException":
|
|
251
|
-
|
|
252
|
-
...(await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)),
|
|
253
|
-
name: errorCode,
|
|
254
|
-
$metadata: deserializeMetadata(output),
|
|
255
|
-
};
|
|
256
|
-
break;
|
|
171
|
+
throw await deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context);
|
|
257
172
|
default:
|
|
258
173
|
const parsedBody = parsedOutput.body;
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
...parsedBody,
|
|
262
|
-
name: `${errorCode}`,
|
|
263
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
174
|
+
response = new PricingServiceException_1.PricingServiceException({
|
|
175
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
264
176
|
$fault: "client",
|
|
265
177
|
$metadata: deserializeMetadata(output),
|
|
266
|
-
};
|
|
178
|
+
});
|
|
179
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
267
180
|
}
|
|
268
|
-
const message = response.message || response.Message || errorCode;
|
|
269
|
-
response.message = message;
|
|
270
|
-
delete response.Message;
|
|
271
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
272
181
|
};
|
|
273
182
|
const deserializeAws_json1_1ExpiredNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
274
183
|
const body = parsedOutput.body;
|
|
275
184
|
const deserialized = deserializeAws_json1_1ExpiredNextTokenException(body, context);
|
|
276
|
-
const
|
|
277
|
-
name: "ExpiredNextTokenException",
|
|
278
|
-
$fault: "client",
|
|
185
|
+
const exception = new models_0_1.ExpiredNextTokenException({
|
|
279
186
|
$metadata: deserializeMetadata(parsedOutput),
|
|
280
187
|
...deserialized,
|
|
281
|
-
};
|
|
282
|
-
return
|
|
188
|
+
});
|
|
189
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
283
190
|
};
|
|
284
191
|
const deserializeAws_json1_1InternalErrorExceptionResponse = async (parsedOutput, context) => {
|
|
285
192
|
const body = parsedOutput.body;
|
|
286
193
|
const deserialized = deserializeAws_json1_1InternalErrorException(body, context);
|
|
287
|
-
const
|
|
288
|
-
name: "InternalErrorException",
|
|
289
|
-
$fault: "server",
|
|
194
|
+
const exception = new models_0_1.InternalErrorException({
|
|
290
195
|
$metadata: deserializeMetadata(parsedOutput),
|
|
291
196
|
...deserialized,
|
|
292
|
-
};
|
|
293
|
-
return
|
|
197
|
+
});
|
|
198
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
294
199
|
};
|
|
295
200
|
const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
|
|
296
201
|
const body = parsedOutput.body;
|
|
297
202
|
const deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
|
|
298
|
-
const
|
|
299
|
-
name: "InvalidNextTokenException",
|
|
300
|
-
$fault: "client",
|
|
203
|
+
const exception = new models_0_1.InvalidNextTokenException({
|
|
301
204
|
$metadata: deserializeMetadata(parsedOutput),
|
|
302
205
|
...deserialized,
|
|
303
|
-
};
|
|
304
|
-
return
|
|
206
|
+
});
|
|
207
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
305
208
|
};
|
|
306
209
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
307
210
|
const body = parsedOutput.body;
|
|
308
211
|
const deserialized = deserializeAws_json1_1InvalidParameterException(body, context);
|
|
309
|
-
const
|
|
310
|
-
name: "InvalidParameterException",
|
|
311
|
-
$fault: "client",
|
|
212
|
+
const exception = new models_0_1.InvalidParameterException({
|
|
312
213
|
$metadata: deserializeMetadata(parsedOutput),
|
|
313
214
|
...deserialized,
|
|
314
|
-
};
|
|
315
|
-
return
|
|
215
|
+
});
|
|
216
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
316
217
|
};
|
|
317
218
|
const deserializeAws_json1_1NotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
318
219
|
const body = parsedOutput.body;
|
|
319
220
|
const deserialized = deserializeAws_json1_1NotFoundException(body, context);
|
|
320
|
-
const
|
|
321
|
-
name: "NotFoundException",
|
|
322
|
-
$fault: "client",
|
|
221
|
+
const exception = new models_0_1.NotFoundException({
|
|
323
222
|
$metadata: deserializeMetadata(parsedOutput),
|
|
324
223
|
...deserialized,
|
|
325
|
-
};
|
|
326
|
-
return
|
|
224
|
+
});
|
|
225
|
+
return smithy_client_1.decorateServiceException(exception, body);
|
|
327
226
|
};
|
|
328
227
|
const serializeAws_json1_1DescribeServicesRequest = (input, context) => {
|
|
329
228
|
return {
|
|
@@ -369,7 +268,7 @@ const serializeAws_json1_1GetProductsRequest = (input, context) => {
|
|
|
369
268
|
};
|
|
370
269
|
};
|
|
371
270
|
const deserializeAws_json1_1AttributeNameList = (output, context) => {
|
|
372
|
-
|
|
271
|
+
const retVal = (output || [])
|
|
373
272
|
.filter((e) => e != null)
|
|
374
273
|
.map((entry) => {
|
|
375
274
|
if (entry === null) {
|
|
@@ -377,6 +276,7 @@ const deserializeAws_json1_1AttributeNameList = (output, context) => {
|
|
|
377
276
|
}
|
|
378
277
|
return smithy_client_1.expectString(entry);
|
|
379
278
|
});
|
|
279
|
+
return retVal;
|
|
380
280
|
};
|
|
381
281
|
const deserializeAws_json1_1AttributeValue = (output, context) => {
|
|
382
282
|
return {
|
|
@@ -384,7 +284,7 @@ const deserializeAws_json1_1AttributeValue = (output, context) => {
|
|
|
384
284
|
};
|
|
385
285
|
};
|
|
386
286
|
const deserializeAws_json1_1AttributeValueList = (output, context) => {
|
|
387
|
-
|
|
287
|
+
const retVal = (output || [])
|
|
388
288
|
.filter((e) => e != null)
|
|
389
289
|
.map((entry) => {
|
|
390
290
|
if (entry === null) {
|
|
@@ -392,6 +292,7 @@ const deserializeAws_json1_1AttributeValueList = (output, context) => {
|
|
|
392
292
|
}
|
|
393
293
|
return deserializeAws_json1_1AttributeValue(entry, context);
|
|
394
294
|
});
|
|
295
|
+
return retVal;
|
|
395
296
|
};
|
|
396
297
|
const deserializeAws_json1_1DescribeServicesResponse = (output, context) => {
|
|
397
298
|
return {
|
|
@@ -445,7 +346,7 @@ const deserializeAws_json1_1NotFoundException = (output, context) => {
|
|
|
445
346
|
};
|
|
446
347
|
};
|
|
447
348
|
const deserializeAws_json1_1PriceList = (output, context) => {
|
|
448
|
-
|
|
349
|
+
const retVal = (output || [])
|
|
449
350
|
.filter((e) => e != null)
|
|
450
351
|
.map((entry) => {
|
|
451
352
|
if (entry === null) {
|
|
@@ -453,6 +354,7 @@ const deserializeAws_json1_1PriceList = (output, context) => {
|
|
|
453
354
|
}
|
|
454
355
|
return new smithy_client_1.LazyJsonString(entry);
|
|
455
356
|
});
|
|
357
|
+
return retVal;
|
|
456
358
|
};
|
|
457
359
|
const deserializeAws_json1_1Service = (output, context) => {
|
|
458
360
|
return {
|
|
@@ -463,7 +365,7 @@ const deserializeAws_json1_1Service = (output, context) => {
|
|
|
463
365
|
};
|
|
464
366
|
};
|
|
465
367
|
const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
466
|
-
|
|
368
|
+
const retVal = (output || [])
|
|
467
369
|
.filter((e) => e != null)
|
|
468
370
|
.map((entry) => {
|
|
469
371
|
if (entry === null) {
|
|
@@ -471,6 +373,7 @@ const deserializeAws_json1_1ServiceList = (output, context) => {
|
|
|
471
373
|
}
|
|
472
374
|
return deserializeAws_json1_1Service(entry, context);
|
|
473
375
|
});
|
|
376
|
+
return retVal;
|
|
474
377
|
};
|
|
475
378
|
const deserializeMetadata = (output) => {
|
|
476
379
|
var _a;
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var PricingServiceException = (function (_super) {
|
|
4
|
+
__extends(PricingServiceException, _super);
|
|
5
|
+
function PricingServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, PricingServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return PricingServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { PricingServiceException };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
2
3
|
export var AttributeValue;
|
|
3
4
|
(function (AttributeValue) {
|
|
4
5
|
AttributeValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -15,6 +16,71 @@ export var DescribeServicesResponse;
|
|
|
15
16
|
(function (DescribeServicesResponse) {
|
|
16
17
|
DescribeServicesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
18
|
})(DescribeServicesResponse || (DescribeServicesResponse = {}));
|
|
19
|
+
var ExpiredNextTokenException = (function (_super) {
|
|
20
|
+
__extends(ExpiredNextTokenException, _super);
|
|
21
|
+
function ExpiredNextTokenException(opts) {
|
|
22
|
+
var _this = _super.call(this, __assign({ name: "ExpiredNextTokenException", $fault: "client" }, opts)) || this;
|
|
23
|
+
_this.name = "ExpiredNextTokenException";
|
|
24
|
+
_this.$fault = "client";
|
|
25
|
+
Object.setPrototypeOf(_this, ExpiredNextTokenException.prototype);
|
|
26
|
+
_this.Message = opts.Message;
|
|
27
|
+
return _this;
|
|
28
|
+
}
|
|
29
|
+
return ExpiredNextTokenException;
|
|
30
|
+
}(__BaseException));
|
|
31
|
+
export { ExpiredNextTokenException };
|
|
32
|
+
var InternalErrorException = (function (_super) {
|
|
33
|
+
__extends(InternalErrorException, _super);
|
|
34
|
+
function InternalErrorException(opts) {
|
|
35
|
+
var _this = _super.call(this, __assign({ name: "InternalErrorException", $fault: "server" }, opts)) || this;
|
|
36
|
+
_this.name = "InternalErrorException";
|
|
37
|
+
_this.$fault = "server";
|
|
38
|
+
Object.setPrototypeOf(_this, InternalErrorException.prototype);
|
|
39
|
+
_this.Message = opts.Message;
|
|
40
|
+
return _this;
|
|
41
|
+
}
|
|
42
|
+
return InternalErrorException;
|
|
43
|
+
}(__BaseException));
|
|
44
|
+
export { InternalErrorException };
|
|
45
|
+
var InvalidNextTokenException = (function (_super) {
|
|
46
|
+
__extends(InvalidNextTokenException, _super);
|
|
47
|
+
function InvalidNextTokenException(opts) {
|
|
48
|
+
var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
|
|
49
|
+
_this.name = "InvalidNextTokenException";
|
|
50
|
+
_this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
|
|
52
|
+
_this.Message = opts.Message;
|
|
53
|
+
return _this;
|
|
54
|
+
}
|
|
55
|
+
return InvalidNextTokenException;
|
|
56
|
+
}(__BaseException));
|
|
57
|
+
export { InvalidNextTokenException };
|
|
58
|
+
var InvalidParameterException = (function (_super) {
|
|
59
|
+
__extends(InvalidParameterException, _super);
|
|
60
|
+
function InvalidParameterException(opts) {
|
|
61
|
+
var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
|
|
62
|
+
_this.name = "InvalidParameterException";
|
|
63
|
+
_this.$fault = "client";
|
|
64
|
+
Object.setPrototypeOf(_this, InvalidParameterException.prototype);
|
|
65
|
+
_this.Message = opts.Message;
|
|
66
|
+
return _this;
|
|
67
|
+
}
|
|
68
|
+
return InvalidParameterException;
|
|
69
|
+
}(__BaseException));
|
|
70
|
+
export { InvalidParameterException };
|
|
71
|
+
var NotFoundException = (function (_super) {
|
|
72
|
+
__extends(NotFoundException, _super);
|
|
73
|
+
function NotFoundException(opts) {
|
|
74
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
75
|
+
_this.name = "NotFoundException";
|
|
76
|
+
_this.$fault = "client";
|
|
77
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
78
|
+
_this.Message = opts.Message;
|
|
79
|
+
return _this;
|
|
80
|
+
}
|
|
81
|
+
return NotFoundException;
|
|
82
|
+
}(__BaseException));
|
|
83
|
+
export { NotFoundException };
|
|
18
84
|
export var GetAttributeValuesRequest;
|
|
19
85
|
(function (GetAttributeValuesRequest) {
|
|
20
86
|
GetAttributeValuesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectString as __expectString, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectString as __expectString, LazyJsonString as __LazyJsonString, } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ExpiredNextTokenException, InternalErrorException, InvalidNextTokenException, InvalidParameterException, NotFoundException, } from "../models/models_0";
|
|
5
|
+
import { PricingServiceException as __BaseException } from "../models/PricingServiceException";
|
|
4
6
|
export var serializeAws_json1_1DescribeServicesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
7
|
var headers, body;
|
|
6
8
|
return __generator(this, function (_a) {
|
|
@@ -53,16 +55,16 @@ export var deserializeAws_json1_1DescribeServicesCommand = function (output, con
|
|
|
53
55
|
});
|
|
54
56
|
}); };
|
|
55
57
|
var deserializeAws_json1_1DescribeServicesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
57
|
-
var
|
|
58
|
-
return __generator(this, function (
|
|
59
|
-
switch (
|
|
58
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
59
|
+
var _c;
|
|
60
|
+
return __generator(this, function (_d) {
|
|
61
|
+
switch (_d.label) {
|
|
60
62
|
case 0:
|
|
61
63
|
_a = [__assign({}, output)];
|
|
62
|
-
|
|
64
|
+
_c = {};
|
|
63
65
|
return [4, parseBody(output.body, context)];
|
|
64
66
|
case 1:
|
|
65
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
67
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
66
68
|
errorCode = "UnknownError";
|
|
67
69
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
68
70
|
_b = errorCode;
|
|
@@ -79,46 +81,24 @@ var deserializeAws_json1_1DescribeServicesCommandError = function (output, conte
|
|
|
79
81
|
case "com.amazonaws.pricing#NotFoundException": return [3, 10];
|
|
80
82
|
}
|
|
81
83
|
return [3, 12];
|
|
82
|
-
case 2:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
case
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
case 4
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
case
|
|
92
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
93
|
-
return [3, 13];
|
|
94
|
-
case 6:
|
|
95
|
-
_e = [{}];
|
|
96
|
-
return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
97
|
-
case 7:
|
|
98
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
99
|
-
return [3, 13];
|
|
100
|
-
case 8:
|
|
101
|
-
_f = [{}];
|
|
102
|
-
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
103
|
-
case 9:
|
|
104
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
105
|
-
return [3, 13];
|
|
106
|
-
case 10:
|
|
107
|
-
_g = [{}];
|
|
108
|
-
return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
109
|
-
case 11:
|
|
110
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
111
|
-
return [3, 13];
|
|
84
|
+
case 2: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
85
|
+
case 3: throw _d.sent();
|
|
86
|
+
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
87
|
+
case 5: throw _d.sent();
|
|
88
|
+
case 6: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
89
|
+
case 7: throw _d.sent();
|
|
90
|
+
case 8: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
91
|
+
case 9: throw _d.sent();
|
|
92
|
+
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
93
|
+
case 11: throw _d.sent();
|
|
112
94
|
case 12:
|
|
113
95
|
parsedBody = parsedOutput.body;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
response
|
|
120
|
-
delete response.Message;
|
|
121
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
96
|
+
response = new __BaseException({
|
|
97
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
98
|
+
$fault: "client",
|
|
99
|
+
$metadata: deserializeMetadata(output),
|
|
100
|
+
});
|
|
101
|
+
throw __decorateServiceException(response, parsedBody);
|
|
122
102
|
}
|
|
123
103
|
});
|
|
124
104
|
}); };
|
|
@@ -141,16 +121,16 @@ export var deserializeAws_json1_1GetAttributeValuesCommand = function (output, c
|
|
|
141
121
|
});
|
|
142
122
|
}); };
|
|
143
123
|
var deserializeAws_json1_1GetAttributeValuesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
144
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
145
|
-
var
|
|
146
|
-
return __generator(this, function (
|
|
147
|
-
switch (
|
|
124
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
125
|
+
var _c;
|
|
126
|
+
return __generator(this, function (_d) {
|
|
127
|
+
switch (_d.label) {
|
|
148
128
|
case 0:
|
|
149
129
|
_a = [__assign({}, output)];
|
|
150
|
-
|
|
130
|
+
_c = {};
|
|
151
131
|
return [4, parseBody(output.body, context)];
|
|
152
132
|
case 1:
|
|
153
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
133
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
154
134
|
errorCode = "UnknownError";
|
|
155
135
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
156
136
|
_b = errorCode;
|
|
@@ -167,46 +147,24 @@ var deserializeAws_json1_1GetAttributeValuesCommandError = function (output, con
|
|
|
167
147
|
case "com.amazonaws.pricing#NotFoundException": return [3, 10];
|
|
168
148
|
}
|
|
169
149
|
return [3, 12];
|
|
170
|
-
case 2:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
case
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
case 4
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
case
|
|
180
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
181
|
-
return [3, 13];
|
|
182
|
-
case 6:
|
|
183
|
-
_e = [{}];
|
|
184
|
-
return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
185
|
-
case 7:
|
|
186
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
187
|
-
return [3, 13];
|
|
188
|
-
case 8:
|
|
189
|
-
_f = [{}];
|
|
190
|
-
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
191
|
-
case 9:
|
|
192
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
193
|
-
return [3, 13];
|
|
194
|
-
case 10:
|
|
195
|
-
_g = [{}];
|
|
196
|
-
return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
197
|
-
case 11:
|
|
198
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
199
|
-
return [3, 13];
|
|
150
|
+
case 2: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
151
|
+
case 3: throw _d.sent();
|
|
152
|
+
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
153
|
+
case 5: throw _d.sent();
|
|
154
|
+
case 6: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
155
|
+
case 7: throw _d.sent();
|
|
156
|
+
case 8: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
157
|
+
case 9: throw _d.sent();
|
|
158
|
+
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
159
|
+
case 11: throw _d.sent();
|
|
200
160
|
case 12:
|
|
201
161
|
parsedBody = parsedOutput.body;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
response
|
|
208
|
-
delete response.Message;
|
|
209
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
162
|
+
response = new __BaseException({
|
|
163
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
164
|
+
$fault: "client",
|
|
165
|
+
$metadata: deserializeMetadata(output),
|
|
166
|
+
});
|
|
167
|
+
throw __decorateServiceException(response, parsedBody);
|
|
210
168
|
}
|
|
211
169
|
});
|
|
212
170
|
}); };
|
|
@@ -229,16 +187,16 @@ export var deserializeAws_json1_1GetProductsCommand = function (output, context)
|
|
|
229
187
|
});
|
|
230
188
|
}); };
|
|
231
189
|
var deserializeAws_json1_1GetProductsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
232
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
233
|
-
var
|
|
234
|
-
return __generator(this, function (
|
|
235
|
-
switch (
|
|
190
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
191
|
+
var _c;
|
|
192
|
+
return __generator(this, function (_d) {
|
|
193
|
+
switch (_d.label) {
|
|
236
194
|
case 0:
|
|
237
195
|
_a = [__assign({}, output)];
|
|
238
|
-
|
|
196
|
+
_c = {};
|
|
239
197
|
return [4, parseBody(output.body, context)];
|
|
240
198
|
case 1:
|
|
241
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
199
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
242
200
|
errorCode = "UnknownError";
|
|
243
201
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
244
202
|
_b = errorCode;
|
|
@@ -255,92 +213,70 @@ var deserializeAws_json1_1GetProductsCommandError = function (output, context) {
|
|
|
255
213
|
case "com.amazonaws.pricing#NotFoundException": return [3, 10];
|
|
256
214
|
}
|
|
257
215
|
return [3, 12];
|
|
258
|
-
case 2:
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
case
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
case 4
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
case
|
|
268
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
269
|
-
return [3, 13];
|
|
270
|
-
case 6:
|
|
271
|
-
_e = [{}];
|
|
272
|
-
return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
273
|
-
case 7:
|
|
274
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
275
|
-
return [3, 13];
|
|
276
|
-
case 8:
|
|
277
|
-
_f = [{}];
|
|
278
|
-
return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
279
|
-
case 9:
|
|
280
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
281
|
-
return [3, 13];
|
|
282
|
-
case 10:
|
|
283
|
-
_g = [{}];
|
|
284
|
-
return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
285
|
-
case 11:
|
|
286
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
287
|
-
return [3, 13];
|
|
216
|
+
case 2: return [4, deserializeAws_json1_1ExpiredNextTokenExceptionResponse(parsedOutput, context)];
|
|
217
|
+
case 3: throw _d.sent();
|
|
218
|
+
case 4: return [4, deserializeAws_json1_1InternalErrorExceptionResponse(parsedOutput, context)];
|
|
219
|
+
case 5: throw _d.sent();
|
|
220
|
+
case 6: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
221
|
+
case 7: throw _d.sent();
|
|
222
|
+
case 8: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
223
|
+
case 9: throw _d.sent();
|
|
224
|
+
case 10: return [4, deserializeAws_json1_1NotFoundExceptionResponse(parsedOutput, context)];
|
|
225
|
+
case 11: throw _d.sent();
|
|
288
226
|
case 12:
|
|
289
227
|
parsedBody = parsedOutput.body;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
response
|
|
296
|
-
delete response.Message;
|
|
297
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
228
|
+
response = new __BaseException({
|
|
229
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
230
|
+
$fault: "client",
|
|
231
|
+
$metadata: deserializeMetadata(output),
|
|
232
|
+
});
|
|
233
|
+
throw __decorateServiceException(response, parsedBody);
|
|
298
234
|
}
|
|
299
235
|
});
|
|
300
236
|
}); };
|
|
301
237
|
var deserializeAws_json1_1ExpiredNextTokenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
302
|
-
var body, deserialized,
|
|
238
|
+
var body, deserialized, exception;
|
|
303
239
|
return __generator(this, function (_a) {
|
|
304
240
|
body = parsedOutput.body;
|
|
305
241
|
deserialized = deserializeAws_json1_1ExpiredNextTokenException(body, context);
|
|
306
|
-
|
|
307
|
-
return [2,
|
|
242
|
+
exception = new ExpiredNextTokenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
243
|
+
return [2, __decorateServiceException(exception, body)];
|
|
308
244
|
});
|
|
309
245
|
}); };
|
|
310
246
|
var deserializeAws_json1_1InternalErrorExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
311
|
-
var body, deserialized,
|
|
247
|
+
var body, deserialized, exception;
|
|
312
248
|
return __generator(this, function (_a) {
|
|
313
249
|
body = parsedOutput.body;
|
|
314
250
|
deserialized = deserializeAws_json1_1InternalErrorException(body, context);
|
|
315
|
-
|
|
316
|
-
return [2,
|
|
251
|
+
exception = new InternalErrorException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
252
|
+
return [2, __decorateServiceException(exception, body)];
|
|
317
253
|
});
|
|
318
254
|
}); };
|
|
319
255
|
var deserializeAws_json1_1InvalidNextTokenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
320
|
-
var body, deserialized,
|
|
256
|
+
var body, deserialized, exception;
|
|
321
257
|
return __generator(this, function (_a) {
|
|
322
258
|
body = parsedOutput.body;
|
|
323
259
|
deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
|
|
324
|
-
|
|
325
|
-
return [2,
|
|
260
|
+
exception = new InvalidNextTokenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
261
|
+
return [2, __decorateServiceException(exception, body)];
|
|
326
262
|
});
|
|
327
263
|
}); };
|
|
328
264
|
var deserializeAws_json1_1InvalidParameterExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
329
|
-
var body, deserialized,
|
|
265
|
+
var body, deserialized, exception;
|
|
330
266
|
return __generator(this, function (_a) {
|
|
331
267
|
body = parsedOutput.body;
|
|
332
268
|
deserialized = deserializeAws_json1_1InvalidParameterException(body, context);
|
|
333
|
-
|
|
334
|
-
return [2,
|
|
269
|
+
exception = new InvalidParameterException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
270
|
+
return [2, __decorateServiceException(exception, body)];
|
|
335
271
|
});
|
|
336
272
|
}); };
|
|
337
273
|
var deserializeAws_json1_1NotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
338
|
-
var body, deserialized,
|
|
274
|
+
var body, deserialized, exception;
|
|
339
275
|
return __generator(this, function (_a) {
|
|
340
276
|
body = parsedOutput.body;
|
|
341
277
|
deserialized = deserializeAws_json1_1NotFoundException(body, context);
|
|
342
|
-
|
|
343
|
-
return [2,
|
|
278
|
+
exception = new NotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
279
|
+
return [2, __decorateServiceException(exception, body)];
|
|
344
280
|
});
|
|
345
281
|
}); };
|
|
346
282
|
var serializeAws_json1_1DescribeServicesRequest = function (input, context) {
|
|
@@ -367,7 +303,7 @@ var serializeAws_json1_1GetProductsRequest = function (input, context) {
|
|
|
367
303
|
input.Filters !== null && { Filters: serializeAws_json1_1Filters(input.Filters, context) })), (input.FormatVersion !== undefined && input.FormatVersion !== null && { FormatVersion: input.FormatVersion })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ServiceCode !== undefined && input.ServiceCode !== null && { ServiceCode: input.ServiceCode }));
|
|
368
304
|
};
|
|
369
305
|
var deserializeAws_json1_1AttributeNameList = function (output, context) {
|
|
370
|
-
|
|
306
|
+
var retVal = (output || [])
|
|
371
307
|
.filter(function (e) { return e != null; })
|
|
372
308
|
.map(function (entry) {
|
|
373
309
|
if (entry === null) {
|
|
@@ -375,6 +311,7 @@ var deserializeAws_json1_1AttributeNameList = function (output, context) {
|
|
|
375
311
|
}
|
|
376
312
|
return __expectString(entry);
|
|
377
313
|
});
|
|
314
|
+
return retVal;
|
|
378
315
|
};
|
|
379
316
|
var deserializeAws_json1_1AttributeValue = function (output, context) {
|
|
380
317
|
return {
|
|
@@ -382,7 +319,7 @@ var deserializeAws_json1_1AttributeValue = function (output, context) {
|
|
|
382
319
|
};
|
|
383
320
|
};
|
|
384
321
|
var deserializeAws_json1_1AttributeValueList = function (output, context) {
|
|
385
|
-
|
|
322
|
+
var retVal = (output || [])
|
|
386
323
|
.filter(function (e) { return e != null; })
|
|
387
324
|
.map(function (entry) {
|
|
388
325
|
if (entry === null) {
|
|
@@ -390,6 +327,7 @@ var deserializeAws_json1_1AttributeValueList = function (output, context) {
|
|
|
390
327
|
}
|
|
391
328
|
return deserializeAws_json1_1AttributeValue(entry, context);
|
|
392
329
|
});
|
|
330
|
+
return retVal;
|
|
393
331
|
};
|
|
394
332
|
var deserializeAws_json1_1DescribeServicesResponse = function (output, context) {
|
|
395
333
|
return {
|
|
@@ -443,7 +381,7 @@ var deserializeAws_json1_1NotFoundException = function (output, context) {
|
|
|
443
381
|
};
|
|
444
382
|
};
|
|
445
383
|
var deserializeAws_json1_1PriceList = function (output, context) {
|
|
446
|
-
|
|
384
|
+
var retVal = (output || [])
|
|
447
385
|
.filter(function (e) { return e != null; })
|
|
448
386
|
.map(function (entry) {
|
|
449
387
|
if (entry === null) {
|
|
@@ -451,6 +389,7 @@ var deserializeAws_json1_1PriceList = function (output, context) {
|
|
|
451
389
|
}
|
|
452
390
|
return new __LazyJsonString(entry);
|
|
453
391
|
});
|
|
392
|
+
return retVal;
|
|
454
393
|
};
|
|
455
394
|
var deserializeAws_json1_1Service = function (output, context) {
|
|
456
395
|
return {
|
|
@@ -461,7 +400,7 @@ var deserializeAws_json1_1Service = function (output, context) {
|
|
|
461
400
|
};
|
|
462
401
|
};
|
|
463
402
|
var deserializeAws_json1_1ServiceList = function (output, context) {
|
|
464
|
-
|
|
403
|
+
var retVal = (output || [])
|
|
465
404
|
.filter(function (e) { return e != null; })
|
|
466
405
|
.map(function (entry) {
|
|
467
406
|
if (entry === null) {
|
|
@@ -469,6 +408,7 @@ var deserializeAws_json1_1ServiceList = function (output, context) {
|
|
|
469
408
|
}
|
|
470
409
|
return deserializeAws_json1_1Service(entry, context);
|
|
471
410
|
});
|
|
411
|
+
return retVal;
|
|
472
412
|
};
|
|
473
413
|
var deserializeMetadata = function (output) {
|
|
474
414
|
var _a;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -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 Pricing service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PricingServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned
|
|
5
5
|
* IOPS</code> for the <code>Amazon EC2</code>
|
|
@@ -88,42 +88,62 @@ export declare namespace DescribeServicesResponse {
|
|
|
88
88
|
/**
|
|
89
89
|
* <p>The pagination token expired. Try again without a pagination token.</p>
|
|
90
90
|
*/
|
|
91
|
-
export
|
|
92
|
-
name: "ExpiredNextTokenException";
|
|
93
|
-
$fault: "client";
|
|
91
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
92
|
+
readonly name: "ExpiredNextTokenException";
|
|
93
|
+
readonly $fault: "client";
|
|
94
94
|
Message?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
95
99
|
}
|
|
96
100
|
/**
|
|
97
101
|
* <p>An error on the server occurred during the processing of your request. Try again later.</p>
|
|
98
102
|
*/
|
|
99
|
-
export
|
|
100
|
-
name: "InternalErrorException";
|
|
101
|
-
$fault: "server";
|
|
103
|
+
export declare class InternalErrorException extends __BaseException {
|
|
104
|
+
readonly name: "InternalErrorException";
|
|
105
|
+
readonly $fault: "server";
|
|
102
106
|
Message?: string;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
103
111
|
}
|
|
104
112
|
/**
|
|
105
113
|
* <p>The pagination token is invalid. Try again without a pagination token.</p>
|
|
106
114
|
*/
|
|
107
|
-
export
|
|
108
|
-
name: "InvalidNextTokenException";
|
|
109
|
-
$fault: "client";
|
|
115
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
116
|
+
readonly name: "InvalidNextTokenException";
|
|
117
|
+
readonly $fault: "client";
|
|
110
118
|
Message?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
111
123
|
}
|
|
112
124
|
/**
|
|
113
125
|
* <p>One or more parameters had an invalid value.</p>
|
|
114
126
|
*/
|
|
115
|
-
export
|
|
116
|
-
name: "InvalidParameterException";
|
|
117
|
-
$fault: "client";
|
|
127
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
128
|
+
readonly name: "InvalidParameterException";
|
|
129
|
+
readonly $fault: "client";
|
|
118
130
|
Message?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
119
135
|
}
|
|
120
136
|
/**
|
|
121
137
|
* <p>The requested resource can't be found.</p>
|
|
122
138
|
*/
|
|
123
|
-
export
|
|
124
|
-
name: "NotFoundException";
|
|
125
|
-
$fault: "client";
|
|
139
|
+
export declare class NotFoundException extends __BaseException {
|
|
140
|
+
readonly name: "NotFoundException";
|
|
141
|
+
readonly $fault: "client";
|
|
126
142
|
Message?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
146
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
127
147
|
}
|
|
128
148
|
export interface GetAttributeValuesRequest {
|
|
129
149
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
3
|
|
|
4
4
|
export interface AttributeValue {
|
|
5
5
|
|
|
@@ -47,34 +47,44 @@ export declare namespace DescribeServicesResponse {
|
|
|
47
47
|
const filterSensitiveLog: (obj: DescribeServicesResponse) => any;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export
|
|
51
|
-
name: "ExpiredNextTokenException";
|
|
52
|
-
$fault: "client";
|
|
50
|
+
export declare class ExpiredNextTokenException extends __BaseException {
|
|
51
|
+
readonly name: "ExpiredNextTokenException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
53
|
Message?: string;
|
|
54
|
+
|
|
55
|
+
constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
|
|
54
56
|
}
|
|
55
57
|
|
|
56
|
-
export
|
|
57
|
-
name: "InternalErrorException";
|
|
58
|
-
$fault: "server";
|
|
58
|
+
export declare class InternalErrorException extends __BaseException {
|
|
59
|
+
readonly name: "InternalErrorException";
|
|
60
|
+
readonly $fault: "server";
|
|
59
61
|
Message?: string;
|
|
62
|
+
|
|
63
|
+
constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
|
|
60
64
|
}
|
|
61
65
|
|
|
62
|
-
export
|
|
63
|
-
name: "InvalidNextTokenException";
|
|
64
|
-
$fault: "client";
|
|
66
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
67
|
+
readonly name: "InvalidNextTokenException";
|
|
68
|
+
readonly $fault: "client";
|
|
65
69
|
Message?: string;
|
|
70
|
+
|
|
71
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
66
72
|
}
|
|
67
73
|
|
|
68
|
-
export
|
|
69
|
-
name: "InvalidParameterException";
|
|
70
|
-
$fault: "client";
|
|
74
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
75
|
+
readonly name: "InvalidParameterException";
|
|
76
|
+
readonly $fault: "client";
|
|
71
77
|
Message?: string;
|
|
78
|
+
|
|
79
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
72
80
|
}
|
|
73
81
|
|
|
74
|
-
export
|
|
75
|
-
name: "NotFoundException";
|
|
76
|
-
$fault: "client";
|
|
82
|
+
export declare class NotFoundException extends __BaseException {
|
|
83
|
+
readonly name: "NotFoundException";
|
|
84
|
+
readonly $fault: "client";
|
|
77
85
|
Message?: string;
|
|
86
|
+
|
|
87
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
78
88
|
}
|
|
79
89
|
export interface GetAttributeValuesRequest {
|
|
80
90
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pricing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
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"
|