@aws-sdk/client-pi 3.118.0 → 3.127.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +94 -135
- package/dist-es/protocols/Aws_json1_1.js +62 -103
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
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.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-pi
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-pi
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-pi
|
|
@@ -85,8 +85,7 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
85
85
|
body: await parseBody(output.body, context),
|
|
86
86
|
};
|
|
87
87
|
let response;
|
|
88
|
-
|
|
89
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
88
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
90
89
|
switch (errorCode) {
|
|
91
90
|
case "InternalServiceError":
|
|
92
91
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -99,10 +98,12 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
99
98
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
100
99
|
default:
|
|
101
100
|
const parsedBody = parsedOutput.body;
|
|
101
|
+
const $metadata = deserializeMetadata(output);
|
|
102
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
102
103
|
response = new PIServiceException_1.PIServiceException({
|
|
103
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
104
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
104
105
|
$fault: "client",
|
|
105
|
-
$metadata
|
|
106
|
+
$metadata,
|
|
106
107
|
});
|
|
107
108
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
108
109
|
}
|
|
@@ -127,8 +128,7 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
127
128
|
body: await parseBody(output.body, context),
|
|
128
129
|
};
|
|
129
130
|
let response;
|
|
130
|
-
|
|
131
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
131
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
132
132
|
switch (errorCode) {
|
|
133
133
|
case "InternalServiceError":
|
|
134
134
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -141,10 +141,12 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
141
141
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
142
142
|
default:
|
|
143
143
|
const parsedBody = parsedOutput.body;
|
|
144
|
+
const $metadata = deserializeMetadata(output);
|
|
145
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
144
146
|
response = new PIServiceException_1.PIServiceException({
|
|
145
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
147
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
146
148
|
$fault: "client",
|
|
147
|
-
$metadata
|
|
149
|
+
$metadata,
|
|
148
150
|
});
|
|
149
151
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
150
152
|
}
|
|
@@ -169,8 +171,7 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
169
171
|
body: await parseBody(output.body, context),
|
|
170
172
|
};
|
|
171
173
|
let response;
|
|
172
|
-
|
|
173
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
174
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
174
175
|
switch (errorCode) {
|
|
175
176
|
case "InternalServiceError":
|
|
176
177
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -183,10 +184,12 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
183
184
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
184
185
|
default:
|
|
185
186
|
const parsedBody = parsedOutput.body;
|
|
187
|
+
const $metadata = deserializeMetadata(output);
|
|
188
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
186
189
|
response = new PIServiceException_1.PIServiceException({
|
|
187
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
190
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
188
191
|
$fault: "client",
|
|
189
|
-
$metadata
|
|
192
|
+
$metadata,
|
|
190
193
|
});
|
|
191
194
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
192
195
|
}
|
|
@@ -211,8 +214,7 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
211
214
|
body: await parseBody(output.body, context),
|
|
212
215
|
};
|
|
213
216
|
let response;
|
|
214
|
-
|
|
215
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
217
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
216
218
|
switch (errorCode) {
|
|
217
219
|
case "InternalServiceError":
|
|
218
220
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -225,10 +227,12 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
225
227
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
226
228
|
default:
|
|
227
229
|
const parsedBody = parsedOutput.body;
|
|
230
|
+
const $metadata = deserializeMetadata(output);
|
|
231
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
228
232
|
response = new PIServiceException_1.PIServiceException({
|
|
229
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
233
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
230
234
|
$fault: "client",
|
|
231
|
-
$metadata
|
|
235
|
+
$metadata,
|
|
232
236
|
});
|
|
233
237
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
234
238
|
}
|
|
@@ -253,8 +257,7 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
253
257
|
body: await parseBody(output.body, context),
|
|
254
258
|
};
|
|
255
259
|
let response;
|
|
256
|
-
|
|
257
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
260
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
258
261
|
switch (errorCode) {
|
|
259
262
|
case "InternalServiceError":
|
|
260
263
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -267,10 +270,12 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
267
270
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
268
271
|
default:
|
|
269
272
|
const parsedBody = parsedOutput.body;
|
|
273
|
+
const $metadata = deserializeMetadata(output);
|
|
274
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
270
275
|
response = new PIServiceException_1.PIServiceException({
|
|
271
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
276
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
272
277
|
$fault: "client",
|
|
273
|
-
$metadata
|
|
278
|
+
$metadata,
|
|
274
279
|
});
|
|
275
280
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
276
281
|
}
|
|
@@ -295,8 +300,7 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
295
300
|
body: await parseBody(output.body, context),
|
|
296
301
|
};
|
|
297
302
|
let response;
|
|
298
|
-
|
|
299
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
303
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
300
304
|
switch (errorCode) {
|
|
301
305
|
case "InternalServiceError":
|
|
302
306
|
case "com.amazonaws.pi#InternalServiceError":
|
|
@@ -309,10 +313,12 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
309
313
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
310
314
|
default:
|
|
311
315
|
const parsedBody = parsedOutput.body;
|
|
316
|
+
const $metadata = deserializeMetadata(output);
|
|
317
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
312
318
|
response = new PIServiceException_1.PIServiceException({
|
|
313
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
319
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
314
320
|
$fault: "client",
|
|
315
|
-
$metadata
|
|
321
|
+
$metadata,
|
|
316
322
|
});
|
|
317
323
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
318
324
|
}
|
|
@@ -356,35 +362,27 @@ const serializeAws_json1_1AdditionalMetricsList = (input, context) => {
|
|
|
356
362
|
};
|
|
357
363
|
const serializeAws_json1_1DescribeDimensionKeysRequest = (input, context) => {
|
|
358
364
|
return {
|
|
359
|
-
...(input.AdditionalMetrics
|
|
360
|
-
input.AdditionalMetrics !== null && {
|
|
365
|
+
...(input.AdditionalMetrics != null && {
|
|
361
366
|
AdditionalMetrics: serializeAws_json1_1AdditionalMetricsList(input.AdditionalMetrics, context),
|
|
362
367
|
}),
|
|
363
|
-
...(input.EndTime
|
|
364
|
-
|
|
365
|
-
...(input.
|
|
366
|
-
|
|
367
|
-
...(input.
|
|
368
|
-
|
|
369
|
-
...(input.
|
|
370
|
-
...(input.
|
|
371
|
-
...(input.
|
|
372
|
-
...(input.
|
|
373
|
-
...(input.
|
|
374
|
-
input.PartitionBy !== null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) }),
|
|
375
|
-
...(input.PeriodInSeconds !== undefined &&
|
|
376
|
-
input.PeriodInSeconds !== null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
377
|
-
...(input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }),
|
|
378
|
-
...(input.StartTime !== undefined &&
|
|
379
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
368
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
369
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) }),
|
|
370
|
+
...(input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) }),
|
|
371
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
372
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
373
|
+
...(input.Metric != null && { Metric: input.Metric }),
|
|
374
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
375
|
+
...(input.PartitionBy != null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) }),
|
|
376
|
+
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
377
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
378
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
380
379
|
};
|
|
381
380
|
};
|
|
382
381
|
const serializeAws_json1_1DimensionGroup = (input, context) => {
|
|
383
382
|
return {
|
|
384
|
-
...(input.Dimensions
|
|
385
|
-
|
|
386
|
-
...(input.
|
|
387
|
-
...(input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }),
|
|
383
|
+
...(input.Dimensions != null && { Dimensions: serializeAws_json1_1RequestStringList(input.Dimensions, context) }),
|
|
384
|
+
...(input.Group != null && { Group: input.Group }),
|
|
385
|
+
...(input.Limit != null && { Limit: input.Limit }),
|
|
388
386
|
};
|
|
389
387
|
};
|
|
390
388
|
const serializeAws_json1_1DimensionsMetricList = (input, context) => {
|
|
@@ -399,68 +397,58 @@ const serializeAws_json1_1DimensionsMetricList = (input, context) => {
|
|
|
399
397
|
};
|
|
400
398
|
const serializeAws_json1_1GetDimensionKeyDetailsRequest = (input, context) => {
|
|
401
399
|
return {
|
|
402
|
-
...(input.Group
|
|
403
|
-
...(input.GroupIdentifier
|
|
404
|
-
|
|
405
|
-
...(input.
|
|
406
|
-
...(input.RequestedDimensions !== undefined &&
|
|
407
|
-
input.RequestedDimensions !== null && {
|
|
400
|
+
...(input.Group != null && { Group: input.Group }),
|
|
401
|
+
...(input.GroupIdentifier != null && { GroupIdentifier: input.GroupIdentifier }),
|
|
402
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
403
|
+
...(input.RequestedDimensions != null && {
|
|
408
404
|
RequestedDimensions: serializeAws_json1_1RequestedDimensionList(input.RequestedDimensions, context),
|
|
409
405
|
}),
|
|
410
|
-
...(input.ServiceType
|
|
406
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
411
407
|
};
|
|
412
408
|
};
|
|
413
409
|
const serializeAws_json1_1GetResourceMetadataRequest = (input, context) => {
|
|
414
410
|
return {
|
|
415
|
-
...(input.Identifier
|
|
416
|
-
...(input.ServiceType
|
|
411
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
412
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
417
413
|
};
|
|
418
414
|
};
|
|
419
415
|
const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
420
416
|
return {
|
|
421
|
-
...(input.EndTime
|
|
422
|
-
|
|
423
|
-
...(input.
|
|
424
|
-
...(input.
|
|
425
|
-
...(input.MetricQueries !== undefined &&
|
|
426
|
-
input.MetricQueries !== null && {
|
|
417
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
418
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
419
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
420
|
+
...(input.MetricQueries != null && {
|
|
427
421
|
MetricQueries: serializeAws_json1_1MetricQueryList(input.MetricQueries, context),
|
|
428
422
|
}),
|
|
429
|
-
...(input.NextToken
|
|
430
|
-
...(input.PeriodInSeconds
|
|
431
|
-
|
|
432
|
-
...(input.
|
|
433
|
-
...(input.StartTime !== undefined &&
|
|
434
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
423
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
424
|
+
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
425
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
426
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
435
427
|
};
|
|
436
428
|
};
|
|
437
429
|
const serializeAws_json1_1ListAvailableResourceDimensionsRequest = (input, context) => {
|
|
438
430
|
return {
|
|
439
|
-
...(input.Identifier
|
|
440
|
-
...(input.MaxResults
|
|
441
|
-
...(input.Metrics
|
|
442
|
-
|
|
443
|
-
...(input.
|
|
444
|
-
...(input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }),
|
|
431
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
432
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
433
|
+
...(input.Metrics != null && { Metrics: serializeAws_json1_1DimensionsMetricList(input.Metrics, context) }),
|
|
434
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
435
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
445
436
|
};
|
|
446
437
|
};
|
|
447
438
|
const serializeAws_json1_1ListAvailableResourceMetricsRequest = (input, context) => {
|
|
448
439
|
return {
|
|
449
|
-
...(input.Identifier
|
|
450
|
-
...(input.MaxResults
|
|
451
|
-
...(input.MetricTypes
|
|
452
|
-
|
|
453
|
-
...(input.
|
|
454
|
-
...(input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }),
|
|
440
|
+
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
441
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
442
|
+
...(input.MetricTypes != null && { MetricTypes: serializeAws_json1_1MetricTypeList(input.MetricTypes, context) }),
|
|
443
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
444
|
+
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
455
445
|
};
|
|
456
446
|
};
|
|
457
447
|
const serializeAws_json1_1MetricQuery = (input, context) => {
|
|
458
448
|
return {
|
|
459
|
-
...(input.Filter
|
|
460
|
-
|
|
461
|
-
...(input.
|
|
462
|
-
input.GroupBy !== null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) }),
|
|
463
|
-
...(input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric }),
|
|
449
|
+
...(input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) }),
|
|
450
|
+
...(input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) }),
|
|
451
|
+
...(input.Metric != null && { Metric: input.Metric }),
|
|
464
452
|
};
|
|
465
453
|
};
|
|
466
454
|
const serializeAws_json1_1MetricQueryFilterMap = (input, context) => {
|
|
@@ -527,9 +515,7 @@ const deserializeAws_json1_1AdditionalMetricsMap = (output, context) => {
|
|
|
527
515
|
};
|
|
528
516
|
const deserializeAws_json1_1DataPoint = (output, context) => {
|
|
529
517
|
return {
|
|
530
|
-
Timestamp: output.Timestamp
|
|
531
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
|
|
532
|
-
: undefined,
|
|
518
|
+
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
533
519
|
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
534
520
|
};
|
|
535
521
|
};
|
|
@@ -546,17 +532,15 @@ const deserializeAws_json1_1DataPointsList = (output, context) => {
|
|
|
546
532
|
};
|
|
547
533
|
const deserializeAws_json1_1DescribeDimensionKeysResponse = (output, context) => {
|
|
548
534
|
return {
|
|
549
|
-
AlignedEndTime: output.AlignedEndTime
|
|
535
|
+
AlignedEndTime: output.AlignedEndTime != null
|
|
550
536
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AlignedEndTime)))
|
|
551
537
|
: undefined,
|
|
552
|
-
AlignedStartTime: output.AlignedStartTime
|
|
538
|
+
AlignedStartTime: output.AlignedStartTime != null
|
|
553
539
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AlignedStartTime)))
|
|
554
540
|
: undefined,
|
|
555
|
-
Keys: output.Keys
|
|
556
|
-
? deserializeAws_json1_1DimensionKeyDescriptionList(output.Keys, context)
|
|
557
|
-
: undefined,
|
|
541
|
+
Keys: output.Keys != null ? deserializeAws_json1_1DimensionKeyDescriptionList(output.Keys, context) : undefined,
|
|
558
542
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
559
|
-
PartitionKeys: output.PartitionKeys
|
|
543
|
+
PartitionKeys: output.PartitionKeys != null
|
|
560
544
|
? deserializeAws_json1_1ResponsePartitionKeyList(output.PartitionKeys, context)
|
|
561
545
|
: undefined,
|
|
562
546
|
};
|
|
@@ -579,9 +563,7 @@ const deserializeAws_json1_1DimensionDetailList = (output, context) => {
|
|
|
579
563
|
};
|
|
580
564
|
const deserializeAws_json1_1DimensionGroupDetail = (output, context) => {
|
|
581
565
|
return {
|
|
582
|
-
Dimensions: output.Dimensions
|
|
583
|
-
? deserializeAws_json1_1DimensionDetailList(output.Dimensions, context)
|
|
584
|
-
: undefined,
|
|
566
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionDetailList(output.Dimensions, context) : undefined,
|
|
585
567
|
Group: (0, smithy_client_1.expectString)(output.Group),
|
|
586
568
|
};
|
|
587
569
|
};
|
|
@@ -598,15 +580,11 @@ const deserializeAws_json1_1DimensionGroupDetailList = (output, context) => {
|
|
|
598
580
|
};
|
|
599
581
|
const deserializeAws_json1_1DimensionKeyDescription = (output, context) => {
|
|
600
582
|
return {
|
|
601
|
-
AdditionalMetrics: output.AdditionalMetrics
|
|
583
|
+
AdditionalMetrics: output.AdditionalMetrics != null
|
|
602
584
|
? deserializeAws_json1_1AdditionalMetricsMap(output.AdditionalMetrics, context)
|
|
603
585
|
: undefined,
|
|
604
|
-
Dimensions: output.Dimensions
|
|
605
|
-
|
|
606
|
-
: undefined,
|
|
607
|
-
Partitions: output.Partitions !== undefined && output.Partitions !== null
|
|
608
|
-
? deserializeAws_json1_1MetricValuesList(output.Partitions, context)
|
|
609
|
-
: undefined,
|
|
586
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
587
|
+
Partitions: output.Partitions != null ? deserializeAws_json1_1MetricValuesList(output.Partitions, context) : undefined,
|
|
610
588
|
Total: (0, smithy_client_1.limitedParseDouble)(output.Total),
|
|
611
589
|
};
|
|
612
590
|
};
|
|
@@ -668,31 +646,25 @@ const deserializeAws_json1_1FeatureMetadataMap = (output, context) => {
|
|
|
668
646
|
};
|
|
669
647
|
const deserializeAws_json1_1GetDimensionKeyDetailsResponse = (output, context) => {
|
|
670
648
|
return {
|
|
671
|
-
Dimensions: output.Dimensions
|
|
672
|
-
? deserializeAws_json1_1DimensionKeyDetailList(output.Dimensions, context)
|
|
673
|
-
: undefined,
|
|
649
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionKeyDetailList(output.Dimensions, context) : undefined,
|
|
674
650
|
};
|
|
675
651
|
};
|
|
676
652
|
const deserializeAws_json1_1GetResourceMetadataResponse = (output, context) => {
|
|
677
653
|
return {
|
|
678
|
-
Features: output.Features
|
|
679
|
-
? deserializeAws_json1_1FeatureMetadataMap(output.Features, context)
|
|
680
|
-
: undefined,
|
|
654
|
+
Features: output.Features != null ? deserializeAws_json1_1FeatureMetadataMap(output.Features, context) : undefined,
|
|
681
655
|
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
682
656
|
};
|
|
683
657
|
};
|
|
684
658
|
const deserializeAws_json1_1GetResourceMetricsResponse = (output, context) => {
|
|
685
659
|
return {
|
|
686
|
-
AlignedEndTime: output.AlignedEndTime
|
|
660
|
+
AlignedEndTime: output.AlignedEndTime != null
|
|
687
661
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AlignedEndTime)))
|
|
688
662
|
: undefined,
|
|
689
|
-
AlignedStartTime: output.AlignedStartTime
|
|
663
|
+
AlignedStartTime: output.AlignedStartTime != null
|
|
690
664
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.AlignedStartTime)))
|
|
691
665
|
: undefined,
|
|
692
666
|
Identifier: (0, smithy_client_1.expectString)(output.Identifier),
|
|
693
|
-
MetricList: output.MetricList
|
|
694
|
-
? deserializeAws_json1_1MetricKeyDataPointsList(output.MetricList, context)
|
|
695
|
-
: undefined,
|
|
667
|
+
MetricList: output.MetricList != null ? deserializeAws_json1_1MetricKeyDataPointsList(output.MetricList, context) : undefined,
|
|
696
668
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
697
669
|
};
|
|
698
670
|
};
|
|
@@ -708,7 +680,7 @@ const deserializeAws_json1_1InvalidArgumentException = (output, context) => {
|
|
|
708
680
|
};
|
|
709
681
|
const deserializeAws_json1_1ListAvailableResourceDimensionsResponse = (output, context) => {
|
|
710
682
|
return {
|
|
711
|
-
MetricDimensions: output.MetricDimensions
|
|
683
|
+
MetricDimensions: output.MetricDimensions != null
|
|
712
684
|
? deserializeAws_json1_1MetricDimensionsList(output.MetricDimensions, context)
|
|
713
685
|
: undefined,
|
|
714
686
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -716,17 +688,13 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsResponse = (output, c
|
|
|
716
688
|
};
|
|
717
689
|
const deserializeAws_json1_1ListAvailableResourceMetricsResponse = (output, context) => {
|
|
718
690
|
return {
|
|
719
|
-
Metrics: output.Metrics
|
|
720
|
-
? deserializeAws_json1_1ResponseResourceMetricList(output.Metrics, context)
|
|
721
|
-
: undefined,
|
|
691
|
+
Metrics: output.Metrics != null ? deserializeAws_json1_1ResponseResourceMetricList(output.Metrics, context) : undefined,
|
|
722
692
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
723
693
|
};
|
|
724
694
|
};
|
|
725
695
|
const deserializeAws_json1_1MetricDimensionGroups = (output, context) => {
|
|
726
696
|
return {
|
|
727
|
-
Groups: output.Groups
|
|
728
|
-
? deserializeAws_json1_1DimensionGroupDetailList(output.Groups, context)
|
|
729
|
-
: undefined,
|
|
697
|
+
Groups: output.Groups != null ? deserializeAws_json1_1DimensionGroupDetailList(output.Groups, context) : undefined,
|
|
730
698
|
Metric: (0, smithy_client_1.expectString)(output.Metric),
|
|
731
699
|
};
|
|
732
700
|
};
|
|
@@ -743,12 +711,8 @@ const deserializeAws_json1_1MetricDimensionsList = (output, context) => {
|
|
|
743
711
|
};
|
|
744
712
|
const deserializeAws_json1_1MetricKeyDataPoints = (output, context) => {
|
|
745
713
|
return {
|
|
746
|
-
DataPoints: output.DataPoints
|
|
747
|
-
|
|
748
|
-
: undefined,
|
|
749
|
-
Key: output.Key !== undefined && output.Key !== null
|
|
750
|
-
? deserializeAws_json1_1ResponseResourceMetricKey(output.Key, context)
|
|
751
|
-
: undefined,
|
|
714
|
+
DataPoints: output.DataPoints != null ? deserializeAws_json1_1DataPointsList(output.DataPoints, context) : undefined,
|
|
715
|
+
Key: output.Key != null ? deserializeAws_json1_1ResponseResourceMetricKey(output.Key, context) : undefined,
|
|
752
716
|
};
|
|
753
717
|
};
|
|
754
718
|
const deserializeAws_json1_1MetricKeyDataPointsList = (output, context) => {
|
|
@@ -780,9 +744,7 @@ const deserializeAws_json1_1NotAuthorizedException = (output, context) => {
|
|
|
780
744
|
};
|
|
781
745
|
const deserializeAws_json1_1ResponsePartitionKey = (output, context) => {
|
|
782
746
|
return {
|
|
783
|
-
Dimensions: output.Dimensions
|
|
784
|
-
? deserializeAws_json1_1DimensionMap(output.Dimensions, context)
|
|
785
|
-
: undefined,
|
|
747
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
786
748
|
};
|
|
787
749
|
};
|
|
788
750
|
const deserializeAws_json1_1ResponsePartitionKeyList = (output, context) => {
|
|
@@ -805,9 +767,7 @@ const deserializeAws_json1_1ResponseResourceMetric = (output, context) => {
|
|
|
805
767
|
};
|
|
806
768
|
const deserializeAws_json1_1ResponseResourceMetricKey = (output, context) => {
|
|
807
769
|
return {
|
|
808
|
-
Dimensions: output.Dimensions
|
|
809
|
-
? deserializeAws_json1_1DimensionMap(output.Dimensions, context)
|
|
810
|
-
: undefined,
|
|
770
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
811
771
|
Metric: (0, smithy_client_1.expectString)(output.Metric),
|
|
812
772
|
};
|
|
813
773
|
};
|
|
@@ -884,5 +844,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
884
844
|
if (data["__type"] !== undefined) {
|
|
885
845
|
return sanitizeErrorCode(data["__type"]);
|
|
886
846
|
}
|
|
887
|
-
return "";
|
|
888
847
|
};
|
|
@@ -88,7 +88,7 @@ export var deserializeAws_json1_1DescribeDimensionKeysCommand = function (output
|
|
|
88
88
|
});
|
|
89
89
|
}); };
|
|
90
90
|
var deserializeAws_json1_1DescribeDimensionKeysCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
91
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
91
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
92
92
|
var _c;
|
|
93
93
|
return __generator(this, function (_d) {
|
|
94
94
|
switch (_d.label) {
|
|
@@ -98,7 +98,6 @@ var deserializeAws_json1_1DescribeDimensionKeysCommandError = function (output,
|
|
|
98
98
|
return [4, parseBody(output.body, context)];
|
|
99
99
|
case 1:
|
|
100
100
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
101
|
-
errorCode = "UnknownError";
|
|
102
101
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
103
102
|
_b = errorCode;
|
|
104
103
|
switch (_b) {
|
|
@@ -118,10 +117,12 @@ var deserializeAws_json1_1DescribeDimensionKeysCommandError = function (output,
|
|
|
118
117
|
case 7: throw _d.sent();
|
|
119
118
|
case 8:
|
|
120
119
|
parsedBody = parsedOutput.body;
|
|
120
|
+
$metadata = deserializeMetadata(output);
|
|
121
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
121
122
|
response = new __BaseException({
|
|
122
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
123
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
123
124
|
$fault: "client",
|
|
124
|
-
$metadata:
|
|
125
|
+
$metadata: $metadata,
|
|
125
126
|
});
|
|
126
127
|
throw __decorateServiceException(response, parsedBody);
|
|
127
128
|
}
|
|
@@ -146,7 +147,7 @@ export var deserializeAws_json1_1GetDimensionKeyDetailsCommand = function (outpu
|
|
|
146
147
|
});
|
|
147
148
|
}); };
|
|
148
149
|
var deserializeAws_json1_1GetDimensionKeyDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
149
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
150
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
150
151
|
var _c;
|
|
151
152
|
return __generator(this, function (_d) {
|
|
152
153
|
switch (_d.label) {
|
|
@@ -156,7 +157,6 @@ var deserializeAws_json1_1GetDimensionKeyDetailsCommandError = function (output,
|
|
|
156
157
|
return [4, parseBody(output.body, context)];
|
|
157
158
|
case 1:
|
|
158
159
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
159
|
-
errorCode = "UnknownError";
|
|
160
160
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
161
161
|
_b = errorCode;
|
|
162
162
|
switch (_b) {
|
|
@@ -176,10 +176,12 @@ var deserializeAws_json1_1GetDimensionKeyDetailsCommandError = function (output,
|
|
|
176
176
|
case 7: throw _d.sent();
|
|
177
177
|
case 8:
|
|
178
178
|
parsedBody = parsedOutput.body;
|
|
179
|
+
$metadata = deserializeMetadata(output);
|
|
180
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
179
181
|
response = new __BaseException({
|
|
180
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
182
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
181
183
|
$fault: "client",
|
|
182
|
-
$metadata:
|
|
184
|
+
$metadata: $metadata,
|
|
183
185
|
});
|
|
184
186
|
throw __decorateServiceException(response, parsedBody);
|
|
185
187
|
}
|
|
@@ -204,7 +206,7 @@ export var deserializeAws_json1_1GetResourceMetadataCommand = function (output,
|
|
|
204
206
|
});
|
|
205
207
|
}); };
|
|
206
208
|
var deserializeAws_json1_1GetResourceMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
207
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
209
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
208
210
|
var _c;
|
|
209
211
|
return __generator(this, function (_d) {
|
|
210
212
|
switch (_d.label) {
|
|
@@ -214,7 +216,6 @@ var deserializeAws_json1_1GetResourceMetadataCommandError = function (output, co
|
|
|
214
216
|
return [4, parseBody(output.body, context)];
|
|
215
217
|
case 1:
|
|
216
218
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
217
|
-
errorCode = "UnknownError";
|
|
218
219
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
219
220
|
_b = errorCode;
|
|
220
221
|
switch (_b) {
|
|
@@ -234,10 +235,12 @@ var deserializeAws_json1_1GetResourceMetadataCommandError = function (output, co
|
|
|
234
235
|
case 7: throw _d.sent();
|
|
235
236
|
case 8:
|
|
236
237
|
parsedBody = parsedOutput.body;
|
|
238
|
+
$metadata = deserializeMetadata(output);
|
|
239
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
237
240
|
response = new __BaseException({
|
|
238
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
241
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
239
242
|
$fault: "client",
|
|
240
|
-
$metadata:
|
|
243
|
+
$metadata: $metadata,
|
|
241
244
|
});
|
|
242
245
|
throw __decorateServiceException(response, parsedBody);
|
|
243
246
|
}
|
|
@@ -262,7 +265,7 @@ export var deserializeAws_json1_1GetResourceMetricsCommand = function (output, c
|
|
|
262
265
|
});
|
|
263
266
|
}); };
|
|
264
267
|
var deserializeAws_json1_1GetResourceMetricsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
265
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
268
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
266
269
|
var _c;
|
|
267
270
|
return __generator(this, function (_d) {
|
|
268
271
|
switch (_d.label) {
|
|
@@ -272,7 +275,6 @@ var deserializeAws_json1_1GetResourceMetricsCommandError = function (output, con
|
|
|
272
275
|
return [4, parseBody(output.body, context)];
|
|
273
276
|
case 1:
|
|
274
277
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
275
|
-
errorCode = "UnknownError";
|
|
276
278
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
277
279
|
_b = errorCode;
|
|
278
280
|
switch (_b) {
|
|
@@ -292,10 +294,12 @@ var deserializeAws_json1_1GetResourceMetricsCommandError = function (output, con
|
|
|
292
294
|
case 7: throw _d.sent();
|
|
293
295
|
case 8:
|
|
294
296
|
parsedBody = parsedOutput.body;
|
|
297
|
+
$metadata = deserializeMetadata(output);
|
|
298
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
295
299
|
response = new __BaseException({
|
|
296
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
300
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
297
301
|
$fault: "client",
|
|
298
|
-
$metadata:
|
|
302
|
+
$metadata: $metadata,
|
|
299
303
|
});
|
|
300
304
|
throw __decorateServiceException(response, parsedBody);
|
|
301
305
|
}
|
|
@@ -320,7 +324,7 @@ export var deserializeAws_json1_1ListAvailableResourceDimensionsCommand = functi
|
|
|
320
324
|
});
|
|
321
325
|
}); };
|
|
322
326
|
var deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
323
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
327
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
324
328
|
var _c;
|
|
325
329
|
return __generator(this, function (_d) {
|
|
326
330
|
switch (_d.label) {
|
|
@@ -330,7 +334,6 @@ var deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = function
|
|
|
330
334
|
return [4, parseBody(output.body, context)];
|
|
331
335
|
case 1:
|
|
332
336
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
333
|
-
errorCode = "UnknownError";
|
|
334
337
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
335
338
|
_b = errorCode;
|
|
336
339
|
switch (_b) {
|
|
@@ -350,10 +353,12 @@ var deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = function
|
|
|
350
353
|
case 7: throw _d.sent();
|
|
351
354
|
case 8:
|
|
352
355
|
parsedBody = parsedOutput.body;
|
|
356
|
+
$metadata = deserializeMetadata(output);
|
|
357
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
353
358
|
response = new __BaseException({
|
|
354
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
359
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
355
360
|
$fault: "client",
|
|
356
|
-
$metadata:
|
|
361
|
+
$metadata: $metadata,
|
|
357
362
|
});
|
|
358
363
|
throw __decorateServiceException(response, parsedBody);
|
|
359
364
|
}
|
|
@@ -378,7 +383,7 @@ export var deserializeAws_json1_1ListAvailableResourceMetricsCommand = function
|
|
|
378
383
|
});
|
|
379
384
|
}); };
|
|
380
385
|
var deserializeAws_json1_1ListAvailableResourceMetricsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
381
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
386
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
382
387
|
var _c;
|
|
383
388
|
return __generator(this, function (_d) {
|
|
384
389
|
switch (_d.label) {
|
|
@@ -388,7 +393,6 @@ var deserializeAws_json1_1ListAvailableResourceMetricsCommandError = function (o
|
|
|
388
393
|
return [4, parseBody(output.body, context)];
|
|
389
394
|
case 1:
|
|
390
395
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
391
|
-
errorCode = "UnknownError";
|
|
392
396
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
393
397
|
_b = errorCode;
|
|
394
398
|
switch (_b) {
|
|
@@ -408,10 +412,12 @@ var deserializeAws_json1_1ListAvailableResourceMetricsCommandError = function (o
|
|
|
408
412
|
case 7: throw _d.sent();
|
|
409
413
|
case 8:
|
|
410
414
|
parsedBody = parsedOutput.body;
|
|
415
|
+
$metadata = deserializeMetadata(output);
|
|
416
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
411
417
|
response = new __BaseException({
|
|
412
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
418
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
413
419
|
$fault: "client",
|
|
414
|
-
$metadata:
|
|
420
|
+
$metadata: $metadata,
|
|
415
421
|
});
|
|
416
422
|
throw __decorateServiceException(response, parsedBody);
|
|
417
423
|
}
|
|
@@ -455,20 +461,12 @@ var serializeAws_json1_1AdditionalMetricsList = function (input, context) {
|
|
|
455
461
|
});
|
|
456
462
|
};
|
|
457
463
|
var serializeAws_json1_1DescribeDimensionKeysRequest = function (input, context) {
|
|
458
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalMetrics
|
|
459
|
-
input.AdditionalMetrics !== null && {
|
|
464
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalMetrics != null && {
|
|
460
465
|
AdditionalMetrics: serializeAws_json1_1AdditionalMetricsList(input.AdditionalMetrics, context),
|
|
461
|
-
})), (input.EndTime
|
|
462
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.Filter !== undefined &&
|
|
463
|
-
input.Filter !== null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) })), (input.GroupBy !== undefined &&
|
|
464
|
-
input.GroupBy !== null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) })), (input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.PartitionBy !== undefined &&
|
|
465
|
-
input.PartitionBy !== null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) })), (input.PeriodInSeconds !== undefined &&
|
|
466
|
-
input.PeriodInSeconds !== null && { PeriodInSeconds: input.PeriodInSeconds })), (input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType })), (input.StartTime !== undefined &&
|
|
467
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
466
|
+
})), (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) })), (input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) })), (input.Identifier != null && { Identifier: input.Identifier })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Metric != null && { Metric: input.Metric })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PartitionBy != null && { PartitionBy: serializeAws_json1_1DimensionGroup(input.PartitionBy, context) })), (input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds })), (input.ServiceType != null && { ServiceType: input.ServiceType })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
468
467
|
};
|
|
469
468
|
var serializeAws_json1_1DimensionGroup = function (input, context) {
|
|
470
|
-
return __assign(__assign(__assign({}, (input.Dimensions
|
|
471
|
-
input.Dimensions !== null && { Dimensions: serializeAws_json1_1RequestStringList(input.Dimensions, context) })), (input.Group !== undefined && input.Group !== null && { Group: input.Group })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }));
|
|
469
|
+
return __assign(__assign(__assign({}, (input.Dimensions != null && { Dimensions: serializeAws_json1_1RequestStringList(input.Dimensions, context) })), (input.Group != null && { Group: input.Group })), (input.Limit != null && { Limit: input.Limit }));
|
|
472
470
|
};
|
|
473
471
|
var serializeAws_json1_1DimensionsMetricList = function (input, context) {
|
|
474
472
|
return input
|
|
@@ -481,36 +479,26 @@ var serializeAws_json1_1DimensionsMetricList = function (input, context) {
|
|
|
481
479
|
});
|
|
482
480
|
};
|
|
483
481
|
var serializeAws_json1_1GetDimensionKeyDetailsRequest = function (input, context) {
|
|
484
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Group
|
|
485
|
-
input.GroupIdentifier !== null && { GroupIdentifier: input.GroupIdentifier })), (input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier })), (input.RequestedDimensions !== undefined &&
|
|
486
|
-
input.RequestedDimensions !== null && {
|
|
482
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Group != null && { Group: input.Group })), (input.GroupIdentifier != null && { GroupIdentifier: input.GroupIdentifier })), (input.Identifier != null && { Identifier: input.Identifier })), (input.RequestedDimensions != null && {
|
|
487
483
|
RequestedDimensions: serializeAws_json1_1RequestedDimensionList(input.RequestedDimensions, context),
|
|
488
|
-
})), (input.ServiceType
|
|
484
|
+
})), (input.ServiceType != null && { ServiceType: input.ServiceType }));
|
|
489
485
|
};
|
|
490
486
|
var serializeAws_json1_1GetResourceMetadataRequest = function (input, context) {
|
|
491
|
-
return __assign(__assign({}, (input.Identifier
|
|
487
|
+
return __assign(__assign({}, (input.Identifier != null && { Identifier: input.Identifier })), (input.ServiceType != null && { ServiceType: input.ServiceType }));
|
|
492
488
|
};
|
|
493
489
|
var serializeAws_json1_1GetResourceMetricsRequest = function (input, context) {
|
|
494
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
495
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.Identifier !== undefined && input.Identifier !== null && { Identifier: input.Identifier })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.MetricQueries !== undefined &&
|
|
496
|
-
input.MetricQueries !== null && {
|
|
490
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.Identifier != null && { Identifier: input.Identifier })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MetricQueries != null && {
|
|
497
491
|
MetricQueries: serializeAws_json1_1MetricQueryList(input.MetricQueries, context),
|
|
498
|
-
})), (input.NextToken
|
|
499
|
-
input.PeriodInSeconds !== null && { PeriodInSeconds: input.PeriodInSeconds })), (input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType })), (input.StartTime !== undefined &&
|
|
500
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
492
|
+
})), (input.NextToken != null && { NextToken: input.NextToken })), (input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds })), (input.ServiceType != null && { ServiceType: input.ServiceType })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
501
493
|
};
|
|
502
494
|
var serializeAws_json1_1ListAvailableResourceDimensionsRequest = function (input, context) {
|
|
503
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Identifier
|
|
504
|
-
input.Metrics !== null && { Metrics: serializeAws_json1_1DimensionsMetricList(input.Metrics, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }));
|
|
495
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Identifier != null && { Identifier: input.Identifier })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.Metrics != null && { Metrics: serializeAws_json1_1DimensionsMetricList(input.Metrics, context) })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceType != null && { ServiceType: input.ServiceType }));
|
|
505
496
|
};
|
|
506
497
|
var serializeAws_json1_1ListAvailableResourceMetricsRequest = function (input, context) {
|
|
507
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Identifier
|
|
508
|
-
input.MetricTypes !== null && { MetricTypes: serializeAws_json1_1MetricTypeList(input.MetricTypes, context) })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }));
|
|
498
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Identifier != null && { Identifier: input.Identifier })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.MetricTypes != null && { MetricTypes: serializeAws_json1_1MetricTypeList(input.MetricTypes, context) })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ServiceType != null && { ServiceType: input.ServiceType }));
|
|
509
499
|
};
|
|
510
500
|
var serializeAws_json1_1MetricQuery = function (input, context) {
|
|
511
|
-
return __assign(__assign(__assign({}, (input.Filter
|
|
512
|
-
input.Filter !== null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) })), (input.GroupBy !== undefined &&
|
|
513
|
-
input.GroupBy !== null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) })), (input.Metric !== undefined && input.Metric !== null && { Metric: input.Metric }));
|
|
501
|
+
return __assign(__assign(__assign({}, (input.Filter != null && { Filter: serializeAws_json1_1MetricQueryFilterMap(input.Filter, context) })), (input.GroupBy != null && { GroupBy: serializeAws_json1_1DimensionGroup(input.GroupBy, context) })), (input.Metric != null && { Metric: input.Metric }));
|
|
514
502
|
};
|
|
515
503
|
var serializeAws_json1_1MetricQueryFilterMap = function (input, context) {
|
|
516
504
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -574,9 +562,7 @@ var deserializeAws_json1_1AdditionalMetricsMap = function (output, context) {
|
|
|
574
562
|
};
|
|
575
563
|
var deserializeAws_json1_1DataPoint = function (output, context) {
|
|
576
564
|
return {
|
|
577
|
-
Timestamp: output.Timestamp
|
|
578
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp)))
|
|
579
|
-
: undefined,
|
|
565
|
+
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
580
566
|
Value: __limitedParseDouble(output.Value),
|
|
581
567
|
};
|
|
582
568
|
};
|
|
@@ -593,17 +579,15 @@ var deserializeAws_json1_1DataPointsList = function (output, context) {
|
|
|
593
579
|
};
|
|
594
580
|
var deserializeAws_json1_1DescribeDimensionKeysResponse = function (output, context) {
|
|
595
581
|
return {
|
|
596
|
-
AlignedEndTime: output.AlignedEndTime
|
|
582
|
+
AlignedEndTime: output.AlignedEndTime != null
|
|
597
583
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedEndTime)))
|
|
598
584
|
: undefined,
|
|
599
|
-
AlignedStartTime: output.AlignedStartTime
|
|
585
|
+
AlignedStartTime: output.AlignedStartTime != null
|
|
600
586
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedStartTime)))
|
|
601
587
|
: undefined,
|
|
602
|
-
Keys: output.Keys
|
|
603
|
-
? deserializeAws_json1_1DimensionKeyDescriptionList(output.Keys, context)
|
|
604
|
-
: undefined,
|
|
588
|
+
Keys: output.Keys != null ? deserializeAws_json1_1DimensionKeyDescriptionList(output.Keys, context) : undefined,
|
|
605
589
|
NextToken: __expectString(output.NextToken),
|
|
606
|
-
PartitionKeys: output.PartitionKeys
|
|
590
|
+
PartitionKeys: output.PartitionKeys != null
|
|
607
591
|
? deserializeAws_json1_1ResponsePartitionKeyList(output.PartitionKeys, context)
|
|
608
592
|
: undefined,
|
|
609
593
|
};
|
|
@@ -626,9 +610,7 @@ var deserializeAws_json1_1DimensionDetailList = function (output, context) {
|
|
|
626
610
|
};
|
|
627
611
|
var deserializeAws_json1_1DimensionGroupDetail = function (output, context) {
|
|
628
612
|
return {
|
|
629
|
-
Dimensions: output.Dimensions
|
|
630
|
-
? deserializeAws_json1_1DimensionDetailList(output.Dimensions, context)
|
|
631
|
-
: undefined,
|
|
613
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionDetailList(output.Dimensions, context) : undefined,
|
|
632
614
|
Group: __expectString(output.Group),
|
|
633
615
|
};
|
|
634
616
|
};
|
|
@@ -645,15 +627,11 @@ var deserializeAws_json1_1DimensionGroupDetailList = function (output, context)
|
|
|
645
627
|
};
|
|
646
628
|
var deserializeAws_json1_1DimensionKeyDescription = function (output, context) {
|
|
647
629
|
return {
|
|
648
|
-
AdditionalMetrics: output.AdditionalMetrics
|
|
630
|
+
AdditionalMetrics: output.AdditionalMetrics != null
|
|
649
631
|
? deserializeAws_json1_1AdditionalMetricsMap(output.AdditionalMetrics, context)
|
|
650
632
|
: undefined,
|
|
651
|
-
Dimensions: output.Dimensions
|
|
652
|
-
|
|
653
|
-
: undefined,
|
|
654
|
-
Partitions: output.Partitions !== undefined && output.Partitions !== null
|
|
655
|
-
? deserializeAws_json1_1MetricValuesList(output.Partitions, context)
|
|
656
|
-
: undefined,
|
|
633
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
634
|
+
Partitions: output.Partitions != null ? deserializeAws_json1_1MetricValuesList(output.Partitions, context) : undefined,
|
|
657
635
|
Total: __limitedParseDouble(output.Total),
|
|
658
636
|
};
|
|
659
637
|
};
|
|
@@ -713,31 +691,25 @@ var deserializeAws_json1_1FeatureMetadataMap = function (output, context) {
|
|
|
713
691
|
};
|
|
714
692
|
var deserializeAws_json1_1GetDimensionKeyDetailsResponse = function (output, context) {
|
|
715
693
|
return {
|
|
716
|
-
Dimensions: output.Dimensions
|
|
717
|
-
? deserializeAws_json1_1DimensionKeyDetailList(output.Dimensions, context)
|
|
718
|
-
: undefined,
|
|
694
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionKeyDetailList(output.Dimensions, context) : undefined,
|
|
719
695
|
};
|
|
720
696
|
};
|
|
721
697
|
var deserializeAws_json1_1GetResourceMetadataResponse = function (output, context) {
|
|
722
698
|
return {
|
|
723
|
-
Features: output.Features
|
|
724
|
-
? deserializeAws_json1_1FeatureMetadataMap(output.Features, context)
|
|
725
|
-
: undefined,
|
|
699
|
+
Features: output.Features != null ? deserializeAws_json1_1FeatureMetadataMap(output.Features, context) : undefined,
|
|
726
700
|
Identifier: __expectString(output.Identifier),
|
|
727
701
|
};
|
|
728
702
|
};
|
|
729
703
|
var deserializeAws_json1_1GetResourceMetricsResponse = function (output, context) {
|
|
730
704
|
return {
|
|
731
|
-
AlignedEndTime: output.AlignedEndTime
|
|
705
|
+
AlignedEndTime: output.AlignedEndTime != null
|
|
732
706
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedEndTime)))
|
|
733
707
|
: undefined,
|
|
734
|
-
AlignedStartTime: output.AlignedStartTime
|
|
708
|
+
AlignedStartTime: output.AlignedStartTime != null
|
|
735
709
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedStartTime)))
|
|
736
710
|
: undefined,
|
|
737
711
|
Identifier: __expectString(output.Identifier),
|
|
738
|
-
MetricList: output.MetricList
|
|
739
|
-
? deserializeAws_json1_1MetricKeyDataPointsList(output.MetricList, context)
|
|
740
|
-
: undefined,
|
|
712
|
+
MetricList: output.MetricList != null ? deserializeAws_json1_1MetricKeyDataPointsList(output.MetricList, context) : undefined,
|
|
741
713
|
NextToken: __expectString(output.NextToken),
|
|
742
714
|
};
|
|
743
715
|
};
|
|
@@ -753,7 +725,7 @@ var deserializeAws_json1_1InvalidArgumentException = function (output, context)
|
|
|
753
725
|
};
|
|
754
726
|
var deserializeAws_json1_1ListAvailableResourceDimensionsResponse = function (output, context) {
|
|
755
727
|
return {
|
|
756
|
-
MetricDimensions: output.MetricDimensions
|
|
728
|
+
MetricDimensions: output.MetricDimensions != null
|
|
757
729
|
? deserializeAws_json1_1MetricDimensionsList(output.MetricDimensions, context)
|
|
758
730
|
: undefined,
|
|
759
731
|
NextToken: __expectString(output.NextToken),
|
|
@@ -761,17 +733,13 @@ var deserializeAws_json1_1ListAvailableResourceDimensionsResponse = function (ou
|
|
|
761
733
|
};
|
|
762
734
|
var deserializeAws_json1_1ListAvailableResourceMetricsResponse = function (output, context) {
|
|
763
735
|
return {
|
|
764
|
-
Metrics: output.Metrics
|
|
765
|
-
? deserializeAws_json1_1ResponseResourceMetricList(output.Metrics, context)
|
|
766
|
-
: undefined,
|
|
736
|
+
Metrics: output.Metrics != null ? deserializeAws_json1_1ResponseResourceMetricList(output.Metrics, context) : undefined,
|
|
767
737
|
NextToken: __expectString(output.NextToken),
|
|
768
738
|
};
|
|
769
739
|
};
|
|
770
740
|
var deserializeAws_json1_1MetricDimensionGroups = function (output, context) {
|
|
771
741
|
return {
|
|
772
|
-
Groups: output.Groups
|
|
773
|
-
? deserializeAws_json1_1DimensionGroupDetailList(output.Groups, context)
|
|
774
|
-
: undefined,
|
|
742
|
+
Groups: output.Groups != null ? deserializeAws_json1_1DimensionGroupDetailList(output.Groups, context) : undefined,
|
|
775
743
|
Metric: __expectString(output.Metric),
|
|
776
744
|
};
|
|
777
745
|
};
|
|
@@ -788,12 +756,8 @@ var deserializeAws_json1_1MetricDimensionsList = function (output, context) {
|
|
|
788
756
|
};
|
|
789
757
|
var deserializeAws_json1_1MetricKeyDataPoints = function (output, context) {
|
|
790
758
|
return {
|
|
791
|
-
DataPoints: output.DataPoints
|
|
792
|
-
|
|
793
|
-
: undefined,
|
|
794
|
-
Key: output.Key !== undefined && output.Key !== null
|
|
795
|
-
? deserializeAws_json1_1ResponseResourceMetricKey(output.Key, context)
|
|
796
|
-
: undefined,
|
|
759
|
+
DataPoints: output.DataPoints != null ? deserializeAws_json1_1DataPointsList(output.DataPoints, context) : undefined,
|
|
760
|
+
Key: output.Key != null ? deserializeAws_json1_1ResponseResourceMetricKey(output.Key, context) : undefined,
|
|
797
761
|
};
|
|
798
762
|
};
|
|
799
763
|
var deserializeAws_json1_1MetricKeyDataPointsList = function (output, context) {
|
|
@@ -825,9 +789,7 @@ var deserializeAws_json1_1NotAuthorizedException = function (output, context) {
|
|
|
825
789
|
};
|
|
826
790
|
var deserializeAws_json1_1ResponsePartitionKey = function (output, context) {
|
|
827
791
|
return {
|
|
828
|
-
Dimensions: output.Dimensions
|
|
829
|
-
? deserializeAws_json1_1DimensionMap(output.Dimensions, context)
|
|
830
|
-
: undefined,
|
|
792
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
831
793
|
};
|
|
832
794
|
};
|
|
833
795
|
var deserializeAws_json1_1ResponsePartitionKeyList = function (output, context) {
|
|
@@ -850,9 +812,7 @@ var deserializeAws_json1_1ResponseResourceMetric = function (output, context) {
|
|
|
850
812
|
};
|
|
851
813
|
var deserializeAws_json1_1ResponseResourceMetricKey = function (output, context) {
|
|
852
814
|
return {
|
|
853
|
-
Dimensions: output.Dimensions
|
|
854
|
-
? deserializeAws_json1_1DimensionMap(output.Dimensions, context)
|
|
855
|
-
: undefined,
|
|
815
|
+
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
856
816
|
Metric: __expectString(output.Metric),
|
|
857
817
|
};
|
|
858
818
|
};
|
|
@@ -941,5 +901,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
941
901
|
if (data["__type"] !== undefined) {
|
|
942
902
|
return sanitizeErrorCode(data["__type"]);
|
|
943
903
|
}
|
|
944
|
-
return "";
|
|
945
904
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pi",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pi Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.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,35 +18,35 @@
|
|
|
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-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|