@aws-sdk/client-pi 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/DescribeDimensionKeysCommand.js +2 -2
- package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +2 -2
- package/dist-cjs/commands/GetResourceMetadataCommand.js +2 -2
- package/dist-cjs/commands/GetResourceMetricsCommand.js +2 -2
- package/dist-cjs/commands/ListAvailableResourceDimensionsCommand.js +2 -2
- package/dist-cjs/commands/ListAvailableResourceMetricsCommand.js +2 -2
- package/dist-cjs/models/models_0.js +101 -151
- package/dist-cjs/protocols/Aws_json1_1.js +30 -66
- package/dist-es/commands/DescribeDimensionKeysCommand.js +3 -3
- package/dist-es/commands/GetDimensionKeyDetailsCommand.js +3 -3
- package/dist-es/commands/GetResourceMetadataCommand.js +3 -3
- package/dist-es/commands/GetResourceMetricsCommand.js +3 -3
- package/dist-es/commands/ListAvailableResourceDimensionsCommand.js +3 -3
- package/dist-es/commands/ListAvailableResourceMetricsCommand.js +3 -3
- package/dist-es/models/models_0.js +25 -100
- package/dist-es/protocols/Aws_json1_1.js +49 -67
- package/dist-types/models/models_0.d.ts +100 -150
- package/dist-types/ts3.4/models/models_0.d.ts +50 -100
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetDimensionKeyDetailsRequestFilterSensitiveLog, GetDimensionKeyDetailsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetDimensionKeyDetailsCommand, serializeAws_json1_1GetDimensionKeyDetailsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetDimensionKeyDetailsCommand = (function (_super) {
|
|
7
7
|
__extends(GetDimensionKeyDetailsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetDimensionKeyDetailsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetDimensionKeyDetailsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetDimensionKeyDetailsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceMetadataRequestFilterSensitiveLog, GetResourceMetadataResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetResourceMetadataCommand, serializeAws_json1_1GetResourceMetadataCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetResourceMetadataCommand = (function (_super) {
|
|
7
7
|
__extends(GetResourceMetadataCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetResourceMetadataCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetResourceMetadataRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetResourceMetadataResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceMetricsRequestFilterSensitiveLog, GetResourceMetricsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetResourceMetricsCommand, serializeAws_json1_1GetResourceMetricsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetResourceMetricsCommand = (function (_super) {
|
|
7
7
|
__extends(GetResourceMetricsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetResourceMetricsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetResourceMetricsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetResourceMetricsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListAvailableResourceDimensionsRequestFilterSensitiveLog, ListAvailableResourceDimensionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListAvailableResourceDimensionsCommand, serializeAws_json1_1ListAvailableResourceDimensionsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListAvailableResourceDimensionsCommand = (function (_super) {
|
|
7
7
|
__extends(ListAvailableResourceDimensionsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListAvailableResourceDimensionsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListAvailableResourceDimensionsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListAvailableResourceDimensionsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListAvailableResourceMetricsRequestFilterSensitiveLog, ListAvailableResourceMetricsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListAvailableResourceMetricsCommand, serializeAws_json1_1ListAvailableResourceMetricsCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListAvailableResourceMetricsCommand = (function (_super) {
|
|
7
7
|
__extends(ListAvailableResourceMetricsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListAvailableResourceMetricsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListAvailableResourceMetricsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListAvailableResourceMetricsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,34 +1,10 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { PIServiceException as __BaseException } from "./PIServiceException";
|
|
3
|
-
export var DataPoint;
|
|
4
|
-
(function (DataPoint) {
|
|
5
|
-
DataPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(DataPoint || (DataPoint = {}));
|
|
7
|
-
export var DimensionGroup;
|
|
8
|
-
(function (DimensionGroup) {
|
|
9
|
-
DimensionGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
-
})(DimensionGroup || (DimensionGroup = {}));
|
|
11
3
|
export var ServiceType;
|
|
12
4
|
(function (ServiceType) {
|
|
13
5
|
ServiceType["DOCDB"] = "DOCDB";
|
|
14
6
|
ServiceType["RDS"] = "RDS";
|
|
15
7
|
})(ServiceType || (ServiceType = {}));
|
|
16
|
-
export var DescribeDimensionKeysRequest;
|
|
17
|
-
(function (DescribeDimensionKeysRequest) {
|
|
18
|
-
DescribeDimensionKeysRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
-
})(DescribeDimensionKeysRequest || (DescribeDimensionKeysRequest = {}));
|
|
20
|
-
export var DimensionKeyDescription;
|
|
21
|
-
(function (DimensionKeyDescription) {
|
|
22
|
-
DimensionKeyDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
-
})(DimensionKeyDescription || (DimensionKeyDescription = {}));
|
|
24
|
-
export var ResponsePartitionKey;
|
|
25
|
-
(function (ResponsePartitionKey) {
|
|
26
|
-
ResponsePartitionKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
-
})(ResponsePartitionKey || (ResponsePartitionKey = {}));
|
|
28
|
-
export var DescribeDimensionKeysResponse;
|
|
29
|
-
(function (DescribeDimensionKeysResponse) {
|
|
30
|
-
DescribeDimensionKeysResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(DescribeDimensionKeysResponse || (DescribeDimensionKeysResponse = {}));
|
|
32
8
|
var InternalServiceError = (function (_super) {
|
|
33
9
|
__extends(InternalServiceError, _super);
|
|
34
10
|
function InternalServiceError(opts) {
|
|
@@ -74,18 +50,6 @@ export var DetailStatus;
|
|
|
74
50
|
DetailStatus["PROCESSING"] = "PROCESSING";
|
|
75
51
|
DetailStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
76
52
|
})(DetailStatus || (DetailStatus = {}));
|
|
77
|
-
export var DimensionDetail;
|
|
78
|
-
(function (DimensionDetail) {
|
|
79
|
-
DimensionDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
|
-
})(DimensionDetail || (DimensionDetail = {}));
|
|
81
|
-
export var DimensionGroupDetail;
|
|
82
|
-
(function (DimensionGroupDetail) {
|
|
83
|
-
DimensionGroupDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
-
})(DimensionGroupDetail || (DimensionGroupDetail = {}));
|
|
85
|
-
export var DimensionKeyDetail;
|
|
86
|
-
(function (DimensionKeyDetail) {
|
|
87
|
-
DimensionKeyDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
-
})(DimensionKeyDetail || (DimensionKeyDetail = {}));
|
|
89
53
|
export var FeatureStatus;
|
|
90
54
|
(function (FeatureStatus) {
|
|
91
55
|
FeatureStatus["DISABLED"] = "DISABLED";
|
|
@@ -95,67 +59,28 @@ export var FeatureStatus;
|
|
|
95
59
|
FeatureStatus["UNKNOWN"] = "UNKNOWN";
|
|
96
60
|
FeatureStatus["UNSUPPORTED"] = "UNSUPPORTED";
|
|
97
61
|
})(FeatureStatus || (FeatureStatus = {}));
|
|
98
|
-
export var
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
export var
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
export var
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
export var
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
export var
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export var
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
export var
|
|
123
|
-
(function (GetResourceMetricsRequest) {
|
|
124
|
-
GetResourceMetricsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(GetResourceMetricsRequest || (GetResourceMetricsRequest = {}));
|
|
126
|
-
export var ResponseResourceMetricKey;
|
|
127
|
-
(function (ResponseResourceMetricKey) {
|
|
128
|
-
ResponseResourceMetricKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
-
})(ResponseResourceMetricKey || (ResponseResourceMetricKey = {}));
|
|
130
|
-
export var MetricKeyDataPoints;
|
|
131
|
-
(function (MetricKeyDataPoints) {
|
|
132
|
-
MetricKeyDataPoints.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(MetricKeyDataPoints || (MetricKeyDataPoints = {}));
|
|
134
|
-
export var GetResourceMetricsResponse;
|
|
135
|
-
(function (GetResourceMetricsResponse) {
|
|
136
|
-
GetResourceMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(GetResourceMetricsResponse || (GetResourceMetricsResponse = {}));
|
|
138
|
-
export var ListAvailableResourceDimensionsRequest;
|
|
139
|
-
(function (ListAvailableResourceDimensionsRequest) {
|
|
140
|
-
ListAvailableResourceDimensionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(ListAvailableResourceDimensionsRequest || (ListAvailableResourceDimensionsRequest = {}));
|
|
142
|
-
export var MetricDimensionGroups;
|
|
143
|
-
(function (MetricDimensionGroups) {
|
|
144
|
-
MetricDimensionGroups.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
-
})(MetricDimensionGroups || (MetricDimensionGroups = {}));
|
|
146
|
-
export var ListAvailableResourceDimensionsResponse;
|
|
147
|
-
(function (ListAvailableResourceDimensionsResponse) {
|
|
148
|
-
ListAvailableResourceDimensionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
-
})(ListAvailableResourceDimensionsResponse || (ListAvailableResourceDimensionsResponse = {}));
|
|
150
|
-
export var ListAvailableResourceMetricsRequest;
|
|
151
|
-
(function (ListAvailableResourceMetricsRequest) {
|
|
152
|
-
ListAvailableResourceMetricsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
-
})(ListAvailableResourceMetricsRequest || (ListAvailableResourceMetricsRequest = {}));
|
|
154
|
-
export var ResponseResourceMetric;
|
|
155
|
-
(function (ResponseResourceMetric) {
|
|
156
|
-
ResponseResourceMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
-
})(ResponseResourceMetric || (ResponseResourceMetric = {}));
|
|
158
|
-
export var ListAvailableResourceMetricsResponse;
|
|
159
|
-
(function (ListAvailableResourceMetricsResponse) {
|
|
160
|
-
ListAvailableResourceMetricsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(ListAvailableResourceMetricsResponse || (ListAvailableResourceMetricsResponse = {}));
|
|
62
|
+
export var DataPointFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
63
|
+
export var DimensionGroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
64
|
+
export var DescribeDimensionKeysRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
+
export var DimensionKeyDescriptionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
66
|
+
export var ResponsePartitionKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
67
|
+
export var DescribeDimensionKeysResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
68
|
+
export var DimensionDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
export var DimensionGroupDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
70
|
+
export var DimensionKeyDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
71
|
+
export var FeatureMetadataFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
72
|
+
export var GetDimensionKeyDetailsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
+
export var GetDimensionKeyDetailsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
74
|
+
export var GetResourceMetadataRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
75
|
+
export var GetResourceMetadataResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
76
|
+
export var MetricQueryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
+
export var GetResourceMetricsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
|
+
export var ResponseResourceMetricKeyFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
79
|
+
export var MetricKeyDataPointsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
80
|
+
export var GetResourceMetricsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
+
export var ListAvailableResourceDimensionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
|
+
export var MetricDimensionGroupsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
export var ListAvailableResourceDimensionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
+
export var ListAvailableResourceMetricsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
export var ResponseResourceMetricFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
86
|
+
export var ListAvailableResourceMetricsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { InternalServiceError, InvalidArgumentException, NotAuthorizedException, } from "../models/models_0";
|
|
5
5
|
import { PIServiceException as __BaseException } from "../models/PIServiceException";
|
|
6
6
|
export var serializeAws_json1_1DescribeDimensionKeysCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -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,
|
|
91
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
92
92
|
var _c;
|
|
93
93
|
return __generator(this, function (_d) {
|
|
94
94
|
switch (_d.label) {
|
|
@@ -117,14 +117,14 @@ var deserializeAws_json1_1DescribeDimensionKeysCommandError = function (output,
|
|
|
117
117
|
case 7: throw _d.sent();
|
|
118
118
|
case 8:
|
|
119
119
|
parsedBody = parsedOutput.body;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
$metadata: $metadata,
|
|
120
|
+
throwDefaultError({
|
|
121
|
+
output: output,
|
|
122
|
+
parsedBody: parsedBody,
|
|
123
|
+
exceptionCtor: __BaseException,
|
|
124
|
+
errorCode: errorCode,
|
|
126
125
|
});
|
|
127
|
-
|
|
126
|
+
_d.label = 9;
|
|
127
|
+
case 9: return [2];
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
}); };
|
|
@@ -147,7 +147,7 @@ export var deserializeAws_json1_1GetDimensionKeyDetailsCommand = function (outpu
|
|
|
147
147
|
});
|
|
148
148
|
}); };
|
|
149
149
|
var deserializeAws_json1_1GetDimensionKeyDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
150
|
-
var parsedOutput, _a,
|
|
150
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
151
151
|
var _c;
|
|
152
152
|
return __generator(this, function (_d) {
|
|
153
153
|
switch (_d.label) {
|
|
@@ -176,14 +176,14 @@ var deserializeAws_json1_1GetDimensionKeyDetailsCommandError = function (output,
|
|
|
176
176
|
case 7: throw _d.sent();
|
|
177
177
|
case 8:
|
|
178
178
|
parsedBody = parsedOutput.body;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
$metadata: $metadata,
|
|
179
|
+
throwDefaultError({
|
|
180
|
+
output: output,
|
|
181
|
+
parsedBody: parsedBody,
|
|
182
|
+
exceptionCtor: __BaseException,
|
|
183
|
+
errorCode: errorCode,
|
|
185
184
|
});
|
|
186
|
-
|
|
185
|
+
_d.label = 9;
|
|
186
|
+
case 9: return [2];
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
}); };
|
|
@@ -206,7 +206,7 @@ export var deserializeAws_json1_1GetResourceMetadataCommand = function (output,
|
|
|
206
206
|
});
|
|
207
207
|
}); };
|
|
208
208
|
var deserializeAws_json1_1GetResourceMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
209
|
-
var parsedOutput, _a,
|
|
209
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
210
210
|
var _c;
|
|
211
211
|
return __generator(this, function (_d) {
|
|
212
212
|
switch (_d.label) {
|
|
@@ -235,14 +235,14 @@ var deserializeAws_json1_1GetResourceMetadataCommandError = function (output, co
|
|
|
235
235
|
case 7: throw _d.sent();
|
|
236
236
|
case 8:
|
|
237
237
|
parsedBody = parsedOutput.body;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
$metadata: $metadata,
|
|
238
|
+
throwDefaultError({
|
|
239
|
+
output: output,
|
|
240
|
+
parsedBody: parsedBody,
|
|
241
|
+
exceptionCtor: __BaseException,
|
|
242
|
+
errorCode: errorCode,
|
|
244
243
|
});
|
|
245
|
-
|
|
244
|
+
_d.label = 9;
|
|
245
|
+
case 9: return [2];
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
}); };
|
|
@@ -265,7 +265,7 @@ export var deserializeAws_json1_1GetResourceMetricsCommand = function (output, c
|
|
|
265
265
|
});
|
|
266
266
|
}); };
|
|
267
267
|
var deserializeAws_json1_1GetResourceMetricsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
268
|
-
var parsedOutput, _a,
|
|
268
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
269
269
|
var _c;
|
|
270
270
|
return __generator(this, function (_d) {
|
|
271
271
|
switch (_d.label) {
|
|
@@ -294,14 +294,14 @@ var deserializeAws_json1_1GetResourceMetricsCommandError = function (output, con
|
|
|
294
294
|
case 7: throw _d.sent();
|
|
295
295
|
case 8:
|
|
296
296
|
parsedBody = parsedOutput.body;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
$metadata: $metadata,
|
|
297
|
+
throwDefaultError({
|
|
298
|
+
output: output,
|
|
299
|
+
parsedBody: parsedBody,
|
|
300
|
+
exceptionCtor: __BaseException,
|
|
301
|
+
errorCode: errorCode,
|
|
303
302
|
});
|
|
304
|
-
|
|
303
|
+
_d.label = 9;
|
|
304
|
+
case 9: return [2];
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
307
|
}); };
|
|
@@ -324,7 +324,7 @@ export var deserializeAws_json1_1ListAvailableResourceDimensionsCommand = functi
|
|
|
324
324
|
});
|
|
325
325
|
}); };
|
|
326
326
|
var deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
327
|
-
var parsedOutput, _a,
|
|
327
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
328
328
|
var _c;
|
|
329
329
|
return __generator(this, function (_d) {
|
|
330
330
|
switch (_d.label) {
|
|
@@ -353,14 +353,14 @@ var deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = function
|
|
|
353
353
|
case 7: throw _d.sent();
|
|
354
354
|
case 8:
|
|
355
355
|
parsedBody = parsedOutput.body;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
$metadata: $metadata,
|
|
356
|
+
throwDefaultError({
|
|
357
|
+
output: output,
|
|
358
|
+
parsedBody: parsedBody,
|
|
359
|
+
exceptionCtor: __BaseException,
|
|
360
|
+
errorCode: errorCode,
|
|
362
361
|
});
|
|
363
|
-
|
|
362
|
+
_d.label = 9;
|
|
363
|
+
case 9: return [2];
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
366
|
}); };
|
|
@@ -383,7 +383,7 @@ export var deserializeAws_json1_1ListAvailableResourceMetricsCommand = function
|
|
|
383
383
|
});
|
|
384
384
|
}); };
|
|
385
385
|
var deserializeAws_json1_1ListAvailableResourceMetricsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
386
|
-
var parsedOutput, _a,
|
|
386
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
387
387
|
var _c;
|
|
388
388
|
return __generator(this, function (_d) {
|
|
389
389
|
switch (_d.label) {
|
|
@@ -412,14 +412,14 @@ var deserializeAws_json1_1ListAvailableResourceMetricsCommandError = function (o
|
|
|
412
412
|
case 7: throw _d.sent();
|
|
413
413
|
case 8:
|
|
414
414
|
parsedBody = parsedOutput.body;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
$metadata: $metadata,
|
|
415
|
+
throwDefaultError({
|
|
416
|
+
output: output,
|
|
417
|
+
parsedBody: parsedBody,
|
|
418
|
+
exceptionCtor: __BaseException,
|
|
419
|
+
errorCode: errorCode,
|
|
421
420
|
});
|
|
422
|
-
|
|
421
|
+
_d.label = 9;
|
|
422
|
+
case 9: return [2];
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
425
|
}); };
|
|
@@ -454,9 +454,6 @@ var serializeAws_json1_1AdditionalMetricsList = function (input, context) {
|
|
|
454
454
|
return input
|
|
455
455
|
.filter(function (e) { return e != null; })
|
|
456
456
|
.map(function (entry) {
|
|
457
|
-
if (entry === null) {
|
|
458
|
-
return null;
|
|
459
|
-
}
|
|
460
457
|
return entry;
|
|
461
458
|
});
|
|
462
459
|
};
|
|
@@ -472,9 +469,6 @@ var serializeAws_json1_1DimensionsMetricList = function (input, context) {
|
|
|
472
469
|
return input
|
|
473
470
|
.filter(function (e) { return e != null; })
|
|
474
471
|
.map(function (entry) {
|
|
475
|
-
if (entry === null) {
|
|
476
|
-
return null;
|
|
477
|
-
}
|
|
478
472
|
return entry;
|
|
479
473
|
});
|
|
480
474
|
};
|
|
@@ -514,9 +508,6 @@ var serializeAws_json1_1MetricQueryList = function (input, context) {
|
|
|
514
508
|
return input
|
|
515
509
|
.filter(function (e) { return e != null; })
|
|
516
510
|
.map(function (entry) {
|
|
517
|
-
if (entry === null) {
|
|
518
|
-
return null;
|
|
519
|
-
}
|
|
520
511
|
return serializeAws_json1_1MetricQuery(entry, context);
|
|
521
512
|
});
|
|
522
513
|
};
|
|
@@ -524,9 +515,6 @@ var serializeAws_json1_1MetricTypeList = function (input, context) {
|
|
|
524
515
|
return input
|
|
525
516
|
.filter(function (e) { return e != null; })
|
|
526
517
|
.map(function (entry) {
|
|
527
|
-
if (entry === null) {
|
|
528
|
-
return null;
|
|
529
|
-
}
|
|
530
518
|
return entry;
|
|
531
519
|
});
|
|
532
520
|
};
|
|
@@ -534,9 +522,6 @@ var serializeAws_json1_1RequestedDimensionList = function (input, context) {
|
|
|
534
522
|
return input
|
|
535
523
|
.filter(function (e) { return e != null; })
|
|
536
524
|
.map(function (entry) {
|
|
537
|
-
if (entry === null) {
|
|
538
|
-
return null;
|
|
539
|
-
}
|
|
540
525
|
return entry;
|
|
541
526
|
});
|
|
542
527
|
};
|
|
@@ -544,9 +529,6 @@ var serializeAws_json1_1RequestStringList = function (input, context) {
|
|
|
544
529
|
return input
|
|
545
530
|
.filter(function (e) { return e != null; })
|
|
546
531
|
.map(function (entry) {
|
|
547
|
-
if (entry === null) {
|
|
548
|
-
return null;
|
|
549
|
-
}
|
|
550
532
|
return entry;
|
|
551
533
|
});
|
|
552
534
|
};
|