@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **codegen:** general data mapping function ([#3830](https://github.com/aws/aws-sdk-js-v3/issues/3830)) ([9417eae](https://github.com/aws/aws-sdk-js-v3/commit/9417eae722806799fb4c15c07921574268c1165c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.141.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.140.0...v3.141.0) (2022-08-01)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update client endpoints as of 2022-08-01 ([aaf49f2](https://github.com/aws/aws-sdk-js-v3/commit/aaf49f21b371412e6ea7e00890b71a7b31991b66))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.137.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.136.1...v3.137.0) (2022-07-26)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **namespaces:** remove namespaces with only a log filter ([#3823](https://github.com/aws/aws-sdk-js-v3/issues/3823)) ([33e6822](https://github.com/aws/aws-sdk-js-v3/commit/33e68228fb64c53dd8f89e6be76dd5f46edc3cfd))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @aws-sdk/client-pi
|
package/README.md
CHANGED
|
@@ -190,7 +190,7 @@ try {
|
|
|
190
190
|
const data = await client.send(command);
|
|
191
191
|
// process data.
|
|
192
192
|
} catch (error) {
|
|
193
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
193
|
+
const { requestId, cfId, extendedRequestId } = error.$$metadata;
|
|
194
194
|
console.log({ requestId, cfId, extendedRequestId });
|
|
195
195
|
/**
|
|
196
196
|
* The keys within exceptions are also parsed.
|
|
@@ -20,8 +20,8 @@ class DescribeDimensionKeysCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeDimensionKeysRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeDimensionKeysResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class GetDimensionKeyDetailsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetDimensionKeyDetailsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetDimensionKeyDetailsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class GetResourceMetadataCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetResourceMetadataRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetResourceMetadataResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class GetResourceMetricsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetResourceMetricsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetResourceMetricsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListAvailableResourceDimensionsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListAvailableResourceDimensionsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListAvailableResourceDimensionsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -20,8 +20,8 @@ class ListAvailableResourceMetricsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog: models_0_1.
|
|
24
|
-
outputFilterSensitiveLog: models_0_1.
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListAvailableResourceMetricsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListAvailableResourceMetricsResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,48 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListAvailableResourceMetricsResponseFilterSensitiveLog = exports.ResponseResourceMetricFilterSensitiveLog = exports.ListAvailableResourceMetricsRequestFilterSensitiveLog = exports.ListAvailableResourceDimensionsResponseFilterSensitiveLog = exports.MetricDimensionGroupsFilterSensitiveLog = exports.ListAvailableResourceDimensionsRequestFilterSensitiveLog = exports.GetResourceMetricsResponseFilterSensitiveLog = exports.MetricKeyDataPointsFilterSensitiveLog = exports.ResponseResourceMetricKeyFilterSensitiveLog = exports.GetResourceMetricsRequestFilterSensitiveLog = exports.MetricQueryFilterSensitiveLog = exports.GetResourceMetadataResponseFilterSensitiveLog = exports.GetResourceMetadataRequestFilterSensitiveLog = exports.GetDimensionKeyDetailsResponseFilterSensitiveLog = exports.GetDimensionKeyDetailsRequestFilterSensitiveLog = exports.FeatureMetadataFilterSensitiveLog = exports.DimensionKeyDetailFilterSensitiveLog = exports.DimensionGroupDetailFilterSensitiveLog = exports.DimensionDetailFilterSensitiveLog = exports.DescribeDimensionKeysResponseFilterSensitiveLog = exports.ResponsePartitionKeyFilterSensitiveLog = exports.DimensionKeyDescriptionFilterSensitiveLog = exports.DescribeDimensionKeysRequestFilterSensitiveLog = exports.DimensionGroupFilterSensitiveLog = exports.DataPointFilterSensitiveLog = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.ServiceType = void 0;
|
|
4
4
|
const PIServiceException_1 = require("./PIServiceException");
|
|
5
|
-
var DataPoint;
|
|
6
|
-
(function (DataPoint) {
|
|
7
|
-
DataPoint.filterSensitiveLog = (obj) => ({
|
|
8
|
-
...obj,
|
|
9
|
-
});
|
|
10
|
-
})(DataPoint = exports.DataPoint || (exports.DataPoint = {}));
|
|
11
|
-
var DimensionGroup;
|
|
12
|
-
(function (DimensionGroup) {
|
|
13
|
-
DimensionGroup.filterSensitiveLog = (obj) => ({
|
|
14
|
-
...obj,
|
|
15
|
-
});
|
|
16
|
-
})(DimensionGroup = exports.DimensionGroup || (exports.DimensionGroup = {}));
|
|
17
5
|
var ServiceType;
|
|
18
6
|
(function (ServiceType) {
|
|
19
7
|
ServiceType["DOCDB"] = "DOCDB";
|
|
20
8
|
ServiceType["RDS"] = "RDS";
|
|
21
9
|
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
22
|
-
var DescribeDimensionKeysRequest;
|
|
23
|
-
(function (DescribeDimensionKeysRequest) {
|
|
24
|
-
DescribeDimensionKeysRequest.filterSensitiveLog = (obj) => ({
|
|
25
|
-
...obj,
|
|
26
|
-
});
|
|
27
|
-
})(DescribeDimensionKeysRequest = exports.DescribeDimensionKeysRequest || (exports.DescribeDimensionKeysRequest = {}));
|
|
28
|
-
var DimensionKeyDescription;
|
|
29
|
-
(function (DimensionKeyDescription) {
|
|
30
|
-
DimensionKeyDescription.filterSensitiveLog = (obj) => ({
|
|
31
|
-
...obj,
|
|
32
|
-
});
|
|
33
|
-
})(DimensionKeyDescription = exports.DimensionKeyDescription || (exports.DimensionKeyDescription = {}));
|
|
34
|
-
var ResponsePartitionKey;
|
|
35
|
-
(function (ResponsePartitionKey) {
|
|
36
|
-
ResponsePartitionKey.filterSensitiveLog = (obj) => ({
|
|
37
|
-
...obj,
|
|
38
|
-
});
|
|
39
|
-
})(ResponsePartitionKey = exports.ResponsePartitionKey || (exports.ResponsePartitionKey = {}));
|
|
40
|
-
var DescribeDimensionKeysResponse;
|
|
41
|
-
(function (DescribeDimensionKeysResponse) {
|
|
42
|
-
DescribeDimensionKeysResponse.filterSensitiveLog = (obj) => ({
|
|
43
|
-
...obj,
|
|
44
|
-
});
|
|
45
|
-
})(DescribeDimensionKeysResponse = exports.DescribeDimensionKeysResponse || (exports.DescribeDimensionKeysResponse = {}));
|
|
46
10
|
class InternalServiceError extends PIServiceException_1.PIServiceException {
|
|
47
11
|
constructor(opts) {
|
|
48
12
|
super({
|
|
@@ -91,24 +55,6 @@ var DetailStatus;
|
|
|
91
55
|
DetailStatus["PROCESSING"] = "PROCESSING";
|
|
92
56
|
DetailStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
93
57
|
})(DetailStatus = exports.DetailStatus || (exports.DetailStatus = {}));
|
|
94
|
-
var DimensionDetail;
|
|
95
|
-
(function (DimensionDetail) {
|
|
96
|
-
DimensionDetail.filterSensitiveLog = (obj) => ({
|
|
97
|
-
...obj,
|
|
98
|
-
});
|
|
99
|
-
})(DimensionDetail = exports.DimensionDetail || (exports.DimensionDetail = {}));
|
|
100
|
-
var DimensionGroupDetail;
|
|
101
|
-
(function (DimensionGroupDetail) {
|
|
102
|
-
DimensionGroupDetail.filterSensitiveLog = (obj) => ({
|
|
103
|
-
...obj,
|
|
104
|
-
});
|
|
105
|
-
})(DimensionGroupDetail = exports.DimensionGroupDetail || (exports.DimensionGroupDetail = {}));
|
|
106
|
-
var DimensionKeyDetail;
|
|
107
|
-
(function (DimensionKeyDetail) {
|
|
108
|
-
DimensionKeyDetail.filterSensitiveLog = (obj) => ({
|
|
109
|
-
...obj,
|
|
110
|
-
});
|
|
111
|
-
})(DimensionKeyDetail = exports.DimensionKeyDetail || (exports.DimensionKeyDetail = {}));
|
|
112
58
|
var FeatureStatus;
|
|
113
59
|
(function (FeatureStatus) {
|
|
114
60
|
FeatureStatus["DISABLED"] = "DISABLED";
|
|
@@ -118,99 +64,103 @@ var FeatureStatus;
|
|
|
118
64
|
FeatureStatus["UNKNOWN"] = "UNKNOWN";
|
|
119
65
|
FeatureStatus["UNSUPPORTED"] = "UNSUPPORTED";
|
|
120
66
|
})(FeatureStatus = exports.FeatureStatus || (exports.FeatureStatus = {}));
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
67
|
+
const DataPointFilterSensitiveLog = (obj) => ({
|
|
68
|
+
...obj,
|
|
69
|
+
});
|
|
70
|
+
exports.DataPointFilterSensitiveLog = DataPointFilterSensitiveLog;
|
|
71
|
+
const DimensionGroupFilterSensitiveLog = (obj) => ({
|
|
72
|
+
...obj,
|
|
73
|
+
});
|
|
74
|
+
exports.DimensionGroupFilterSensitiveLog = DimensionGroupFilterSensitiveLog;
|
|
75
|
+
const DescribeDimensionKeysRequestFilterSensitiveLog = (obj) => ({
|
|
76
|
+
...obj,
|
|
77
|
+
});
|
|
78
|
+
exports.DescribeDimensionKeysRequestFilterSensitiveLog = DescribeDimensionKeysRequestFilterSensitiveLog;
|
|
79
|
+
const DimensionKeyDescriptionFilterSensitiveLog = (obj) => ({
|
|
80
|
+
...obj,
|
|
81
|
+
});
|
|
82
|
+
exports.DimensionKeyDescriptionFilterSensitiveLog = DimensionKeyDescriptionFilterSensitiveLog;
|
|
83
|
+
const ResponsePartitionKeyFilterSensitiveLog = (obj) => ({
|
|
84
|
+
...obj,
|
|
85
|
+
});
|
|
86
|
+
exports.ResponsePartitionKeyFilterSensitiveLog = ResponsePartitionKeyFilterSensitiveLog;
|
|
87
|
+
const DescribeDimensionKeysResponseFilterSensitiveLog = (obj) => ({
|
|
88
|
+
...obj,
|
|
89
|
+
});
|
|
90
|
+
exports.DescribeDimensionKeysResponseFilterSensitiveLog = DescribeDimensionKeysResponseFilterSensitiveLog;
|
|
91
|
+
const DimensionDetailFilterSensitiveLog = (obj) => ({
|
|
92
|
+
...obj,
|
|
93
|
+
});
|
|
94
|
+
exports.DimensionDetailFilterSensitiveLog = DimensionDetailFilterSensitiveLog;
|
|
95
|
+
const DimensionGroupDetailFilterSensitiveLog = (obj) => ({
|
|
96
|
+
...obj,
|
|
97
|
+
});
|
|
98
|
+
exports.DimensionGroupDetailFilterSensitiveLog = DimensionGroupDetailFilterSensitiveLog;
|
|
99
|
+
const DimensionKeyDetailFilterSensitiveLog = (obj) => ({
|
|
100
|
+
...obj,
|
|
101
|
+
});
|
|
102
|
+
exports.DimensionKeyDetailFilterSensitiveLog = DimensionKeyDetailFilterSensitiveLog;
|
|
103
|
+
const FeatureMetadataFilterSensitiveLog = (obj) => ({
|
|
104
|
+
...obj,
|
|
105
|
+
});
|
|
106
|
+
exports.FeatureMetadataFilterSensitiveLog = FeatureMetadataFilterSensitiveLog;
|
|
107
|
+
const GetDimensionKeyDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
});
|
|
110
|
+
exports.GetDimensionKeyDetailsRequestFilterSensitiveLog = GetDimensionKeyDetailsRequestFilterSensitiveLog;
|
|
111
|
+
const GetDimensionKeyDetailsResponseFilterSensitiveLog = (obj) => ({
|
|
112
|
+
...obj,
|
|
113
|
+
});
|
|
114
|
+
exports.GetDimensionKeyDetailsResponseFilterSensitiveLog = GetDimensionKeyDetailsResponseFilterSensitiveLog;
|
|
115
|
+
const GetResourceMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
116
|
+
...obj,
|
|
117
|
+
});
|
|
118
|
+
exports.GetResourceMetadataRequestFilterSensitiveLog = GetResourceMetadataRequestFilterSensitiveLog;
|
|
119
|
+
const GetResourceMetadataResponseFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
122
|
+
exports.GetResourceMetadataResponseFilterSensitiveLog = GetResourceMetadataResponseFilterSensitiveLog;
|
|
123
|
+
const MetricQueryFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
126
|
+
exports.MetricQueryFilterSensitiveLog = MetricQueryFilterSensitiveLog;
|
|
127
|
+
const GetResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
128
|
+
...obj,
|
|
129
|
+
});
|
|
130
|
+
exports.GetResourceMetricsRequestFilterSensitiveLog = GetResourceMetricsRequestFilterSensitiveLog;
|
|
131
|
+
const ResponseResourceMetricKeyFilterSensitiveLog = (obj) => ({
|
|
132
|
+
...obj,
|
|
133
|
+
});
|
|
134
|
+
exports.ResponseResourceMetricKeyFilterSensitiveLog = ResponseResourceMetricKeyFilterSensitiveLog;
|
|
135
|
+
const MetricKeyDataPointsFilterSensitiveLog = (obj) => ({
|
|
136
|
+
...obj,
|
|
137
|
+
});
|
|
138
|
+
exports.MetricKeyDataPointsFilterSensitiveLog = MetricKeyDataPointsFilterSensitiveLog;
|
|
139
|
+
const GetResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
exports.GetResourceMetricsResponseFilterSensitiveLog = GetResourceMetricsResponseFilterSensitiveLog;
|
|
143
|
+
const ListAvailableResourceDimensionsRequestFilterSensitiveLog = (obj) => ({
|
|
144
|
+
...obj,
|
|
145
|
+
});
|
|
146
|
+
exports.ListAvailableResourceDimensionsRequestFilterSensitiveLog = ListAvailableResourceDimensionsRequestFilterSensitiveLog;
|
|
147
|
+
const MetricDimensionGroupsFilterSensitiveLog = (obj) => ({
|
|
148
|
+
...obj,
|
|
149
|
+
});
|
|
150
|
+
exports.MetricDimensionGroupsFilterSensitiveLog = MetricDimensionGroupsFilterSensitiveLog;
|
|
151
|
+
const ListAvailableResourceDimensionsResponseFilterSensitiveLog = (obj) => ({
|
|
152
|
+
...obj,
|
|
153
|
+
});
|
|
154
|
+
exports.ListAvailableResourceDimensionsResponseFilterSensitiveLog = ListAvailableResourceDimensionsResponseFilterSensitiveLog;
|
|
155
|
+
const ListAvailableResourceMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
+
...obj,
|
|
157
|
+
});
|
|
158
|
+
exports.ListAvailableResourceMetricsRequestFilterSensitiveLog = ListAvailableResourceMetricsRequestFilterSensitiveLog;
|
|
159
|
+
const ResponseResourceMetricFilterSensitiveLog = (obj) => ({
|
|
160
|
+
...obj,
|
|
161
|
+
});
|
|
162
|
+
exports.ResponseResourceMetricFilterSensitiveLog = ResponseResourceMetricFilterSensitiveLog;
|
|
163
|
+
const ListAvailableResourceMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
164
|
+
...obj,
|
|
165
|
+
});
|
|
166
|
+
exports.ListAvailableResourceMetricsResponseFilterSensitiveLog = ListAvailableResourceMetricsResponseFilterSensitiveLog;
|
|
@@ -84,7 +84,6 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
84
84
|
...output,
|
|
85
85
|
body: await parseBody(output.body, context),
|
|
86
86
|
};
|
|
87
|
-
let response;
|
|
88
87
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
89
88
|
switch (errorCode) {
|
|
90
89
|
case "InternalServiceError":
|
|
@@ -98,14 +97,12 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
98
97
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
99
98
|
default:
|
|
100
99
|
const parsedBody = parsedOutput.body;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
$metadata,
|
|
100
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
101
|
+
output,
|
|
102
|
+
parsedBody,
|
|
103
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
104
|
+
errorCode,
|
|
107
105
|
});
|
|
108
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
109
106
|
}
|
|
110
107
|
};
|
|
111
108
|
const deserializeAws_json1_1GetDimensionKeyDetailsCommand = async (output, context) => {
|
|
@@ -127,7 +124,6 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
127
124
|
...output,
|
|
128
125
|
body: await parseBody(output.body, context),
|
|
129
126
|
};
|
|
130
|
-
let response;
|
|
131
127
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
132
128
|
switch (errorCode) {
|
|
133
129
|
case "InternalServiceError":
|
|
@@ -141,14 +137,12 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
141
137
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
142
138
|
default:
|
|
143
139
|
const parsedBody = parsedOutput.body;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
$metadata,
|
|
140
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
141
|
+
output,
|
|
142
|
+
parsedBody,
|
|
143
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
144
|
+
errorCode,
|
|
150
145
|
});
|
|
151
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
152
146
|
}
|
|
153
147
|
};
|
|
154
148
|
const deserializeAws_json1_1GetResourceMetadataCommand = async (output, context) => {
|
|
@@ -170,7 +164,6 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
170
164
|
...output,
|
|
171
165
|
body: await parseBody(output.body, context),
|
|
172
166
|
};
|
|
173
|
-
let response;
|
|
174
167
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
175
168
|
switch (errorCode) {
|
|
176
169
|
case "InternalServiceError":
|
|
@@ -184,14 +177,12 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
184
177
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
185
178
|
default:
|
|
186
179
|
const parsedBody = parsedOutput.body;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
$metadata,
|
|
180
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
181
|
+
output,
|
|
182
|
+
parsedBody,
|
|
183
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
184
|
+
errorCode,
|
|
193
185
|
});
|
|
194
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
195
186
|
}
|
|
196
187
|
};
|
|
197
188
|
const deserializeAws_json1_1GetResourceMetricsCommand = async (output, context) => {
|
|
@@ -213,7 +204,6 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
213
204
|
...output,
|
|
214
205
|
body: await parseBody(output.body, context),
|
|
215
206
|
};
|
|
216
|
-
let response;
|
|
217
207
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
218
208
|
switch (errorCode) {
|
|
219
209
|
case "InternalServiceError":
|
|
@@ -227,14 +217,12 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
227
217
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
228
218
|
default:
|
|
229
219
|
const parsedBody = parsedOutput.body;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
$metadata,
|
|
220
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
221
|
+
output,
|
|
222
|
+
parsedBody,
|
|
223
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
224
|
+
errorCode,
|
|
236
225
|
});
|
|
237
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
238
226
|
}
|
|
239
227
|
};
|
|
240
228
|
const deserializeAws_json1_1ListAvailableResourceDimensionsCommand = async (output, context) => {
|
|
@@ -256,7 +244,6 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
256
244
|
...output,
|
|
257
245
|
body: await parseBody(output.body, context),
|
|
258
246
|
};
|
|
259
|
-
let response;
|
|
260
247
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
261
248
|
switch (errorCode) {
|
|
262
249
|
case "InternalServiceError":
|
|
@@ -270,14 +257,12 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
270
257
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
271
258
|
default:
|
|
272
259
|
const parsedBody = parsedOutput.body;
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
$metadata,
|
|
260
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
261
|
+
output,
|
|
262
|
+
parsedBody,
|
|
263
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
264
|
+
errorCode,
|
|
279
265
|
});
|
|
280
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
281
266
|
}
|
|
282
267
|
};
|
|
283
268
|
const deserializeAws_json1_1ListAvailableResourceMetricsCommand = async (output, context) => {
|
|
@@ -299,7 +284,6 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
299
284
|
...output,
|
|
300
285
|
body: await parseBody(output.body, context),
|
|
301
286
|
};
|
|
302
|
-
let response;
|
|
303
287
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
304
288
|
switch (errorCode) {
|
|
305
289
|
case "InternalServiceError":
|
|
@@ -313,14 +297,12 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
313
297
|
throw await deserializeAws_json1_1NotAuthorizedExceptionResponse(parsedOutput, context);
|
|
314
298
|
default:
|
|
315
299
|
const parsedBody = parsedOutput.body;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
$metadata,
|
|
300
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
301
|
+
output,
|
|
302
|
+
parsedBody,
|
|
303
|
+
exceptionCtor: PIServiceException_1.PIServiceException,
|
|
304
|
+
errorCode,
|
|
322
305
|
});
|
|
323
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
324
306
|
}
|
|
325
307
|
};
|
|
326
308
|
const deserializeAws_json1_1InternalServiceErrorResponse = async (parsedOutput, context) => {
|
|
@@ -354,9 +336,6 @@ const serializeAws_json1_1AdditionalMetricsList = (input, context) => {
|
|
|
354
336
|
return input
|
|
355
337
|
.filter((e) => e != null)
|
|
356
338
|
.map((entry) => {
|
|
357
|
-
if (entry === null) {
|
|
358
|
-
return null;
|
|
359
|
-
}
|
|
360
339
|
return entry;
|
|
361
340
|
});
|
|
362
341
|
};
|
|
@@ -389,9 +368,6 @@ const serializeAws_json1_1DimensionsMetricList = (input, context) => {
|
|
|
389
368
|
return input
|
|
390
369
|
.filter((e) => e != null)
|
|
391
370
|
.map((entry) => {
|
|
392
|
-
if (entry === null) {
|
|
393
|
-
return null;
|
|
394
|
-
}
|
|
395
371
|
return entry;
|
|
396
372
|
});
|
|
397
373
|
};
|
|
@@ -466,9 +442,6 @@ const serializeAws_json1_1MetricQueryList = (input, context) => {
|
|
|
466
442
|
return input
|
|
467
443
|
.filter((e) => e != null)
|
|
468
444
|
.map((entry) => {
|
|
469
|
-
if (entry === null) {
|
|
470
|
-
return null;
|
|
471
|
-
}
|
|
472
445
|
return serializeAws_json1_1MetricQuery(entry, context);
|
|
473
446
|
});
|
|
474
447
|
};
|
|
@@ -476,9 +449,6 @@ const serializeAws_json1_1MetricTypeList = (input, context) => {
|
|
|
476
449
|
return input
|
|
477
450
|
.filter((e) => e != null)
|
|
478
451
|
.map((entry) => {
|
|
479
|
-
if (entry === null) {
|
|
480
|
-
return null;
|
|
481
|
-
}
|
|
482
452
|
return entry;
|
|
483
453
|
});
|
|
484
454
|
};
|
|
@@ -486,9 +456,6 @@ const serializeAws_json1_1RequestedDimensionList = (input, context) => {
|
|
|
486
456
|
return input
|
|
487
457
|
.filter((e) => e != null)
|
|
488
458
|
.map((entry) => {
|
|
489
|
-
if (entry === null) {
|
|
490
|
-
return null;
|
|
491
|
-
}
|
|
492
459
|
return entry;
|
|
493
460
|
});
|
|
494
461
|
};
|
|
@@ -496,9 +463,6 @@ const serializeAws_json1_1RequestStringList = (input, context) => {
|
|
|
496
463
|
return input
|
|
497
464
|
.filter((e) => e != null)
|
|
498
465
|
.map((entry) => {
|
|
499
|
-
if (entry === null) {
|
|
500
|
-
return null;
|
|
501
|
-
}
|
|
502
466
|
return entry;
|
|
503
467
|
});
|
|
504
468
|
};
|
|
@@ -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 { DescribeDimensionKeysRequestFilterSensitiveLog, DescribeDimensionKeysResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeDimensionKeysCommand, serializeAws_json1_1DescribeDimensionKeysCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeDimensionKeysCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeDimensionKeysCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeDimensionKeysCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeDimensionKeysRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeDimensionKeysResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|