@aws-sdk/client-pi 3.303.0 → 3.309.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/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/protocols/Aws_json1_1.js +159 -167
- 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/protocols/Aws_json1_1.js +146 -154
- package/dist-types/protocols/Aws_json1_1.d.ts +48 -12
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -12
- package/package.json +29 -29
|
@@ -2,74 +2,74 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
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";
|
|
3
3
|
import { InternalServiceError, InvalidArgumentException, NotAuthorizedException, } from "../models/models_0";
|
|
4
4
|
import { PIServiceException as __BaseException } from "../models/PIServiceException";
|
|
5
|
-
export const
|
|
5
|
+
export const se_DescribeDimensionKeysCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "PerformanceInsightsv20180227.DescribeDimensionKeys",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_DescribeDimensionKeysRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_GetDimensionKeyDetailsCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "PerformanceInsightsv20180227.GetDimensionKeyDetails",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_GetDimensionKeyDetailsRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_GetResourceMetadataCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "PerformanceInsightsv20180227.GetResourceMetadata",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_GetResourceMetadataRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_GetResourceMetricsCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "PerformanceInsightsv20180227.GetResourceMetrics",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_GetResourceMetricsRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_ListAvailableResourceDimensionsCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "PerformanceInsightsv20180227.ListAvailableResourceDimensions",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_ListAvailableResourceDimensionsRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_ListAvailableResourceMetricsCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "PerformanceInsightsv20180227.ListAvailableResourceMetrics",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_ListAvailableResourceMetricsRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const de_DescribeDimensionKeysCommand = async (output, context) => {
|
|
60
60
|
if (output.statusCode >= 300) {
|
|
61
|
-
return
|
|
61
|
+
return de_DescribeDimensionKeysCommandError(output, context);
|
|
62
62
|
}
|
|
63
63
|
const data = await parseBody(output.body, context);
|
|
64
64
|
let contents = {};
|
|
65
|
-
contents =
|
|
65
|
+
contents = de_DescribeDimensionKeysResponse(data, context);
|
|
66
66
|
const response = {
|
|
67
67
|
$metadata: deserializeMetadata(output),
|
|
68
68
|
...contents,
|
|
69
69
|
};
|
|
70
70
|
return Promise.resolve(response);
|
|
71
71
|
};
|
|
72
|
-
const
|
|
72
|
+
const de_DescribeDimensionKeysCommandError = async (output, context) => {
|
|
73
73
|
const parsedOutput = {
|
|
74
74
|
...output,
|
|
75
75
|
body: await parseErrorBody(output.body, context),
|
|
@@ -78,13 +78,13 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
78
78
|
switch (errorCode) {
|
|
79
79
|
case "InternalServiceError":
|
|
80
80
|
case "com.amazonaws.pi#InternalServiceError":
|
|
81
|
-
throw await
|
|
81
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
82
82
|
case "InvalidArgumentException":
|
|
83
83
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
84
|
-
throw await
|
|
84
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
85
85
|
case "NotAuthorizedException":
|
|
86
86
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
87
|
-
throw await
|
|
87
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
88
88
|
default:
|
|
89
89
|
const parsedBody = parsedOutput.body;
|
|
90
90
|
throwDefaultError({
|
|
@@ -95,20 +95,20 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (output, c
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
export const
|
|
98
|
+
export const de_GetDimensionKeyDetailsCommand = async (output, context) => {
|
|
99
99
|
if (output.statusCode >= 300) {
|
|
100
|
-
return
|
|
100
|
+
return de_GetDimensionKeyDetailsCommandError(output, context);
|
|
101
101
|
}
|
|
102
102
|
const data = await parseBody(output.body, context);
|
|
103
103
|
let contents = {};
|
|
104
|
-
contents =
|
|
104
|
+
contents = de_GetDimensionKeyDetailsResponse(data, context);
|
|
105
105
|
const response = {
|
|
106
106
|
$metadata: deserializeMetadata(output),
|
|
107
107
|
...contents,
|
|
108
108
|
};
|
|
109
109
|
return Promise.resolve(response);
|
|
110
110
|
};
|
|
111
|
-
const
|
|
111
|
+
const de_GetDimensionKeyDetailsCommandError = async (output, context) => {
|
|
112
112
|
const parsedOutput = {
|
|
113
113
|
...output,
|
|
114
114
|
body: await parseErrorBody(output.body, context),
|
|
@@ -117,13 +117,13 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
117
117
|
switch (errorCode) {
|
|
118
118
|
case "InternalServiceError":
|
|
119
119
|
case "com.amazonaws.pi#InternalServiceError":
|
|
120
|
-
throw await
|
|
120
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
121
121
|
case "InvalidArgumentException":
|
|
122
122
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
123
|
-
throw await
|
|
123
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
124
124
|
case "NotAuthorizedException":
|
|
125
125
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
126
|
-
throw await
|
|
126
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
127
127
|
default:
|
|
128
128
|
const parsedBody = parsedOutput.body;
|
|
129
129
|
throwDefaultError({
|
|
@@ -134,20 +134,20 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (output,
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
|
-
export const
|
|
137
|
+
export const de_GetResourceMetadataCommand = async (output, context) => {
|
|
138
138
|
if (output.statusCode >= 300) {
|
|
139
|
-
return
|
|
139
|
+
return de_GetResourceMetadataCommandError(output, context);
|
|
140
140
|
}
|
|
141
141
|
const data = await parseBody(output.body, context);
|
|
142
142
|
let contents = {};
|
|
143
|
-
contents =
|
|
143
|
+
contents = de_GetResourceMetadataResponse(data, context);
|
|
144
144
|
const response = {
|
|
145
145
|
$metadata: deserializeMetadata(output),
|
|
146
146
|
...contents,
|
|
147
147
|
};
|
|
148
148
|
return Promise.resolve(response);
|
|
149
149
|
};
|
|
150
|
-
const
|
|
150
|
+
const de_GetResourceMetadataCommandError = async (output, context) => {
|
|
151
151
|
const parsedOutput = {
|
|
152
152
|
...output,
|
|
153
153
|
body: await parseErrorBody(output.body, context),
|
|
@@ -156,13 +156,13 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
156
156
|
switch (errorCode) {
|
|
157
157
|
case "InternalServiceError":
|
|
158
158
|
case "com.amazonaws.pi#InternalServiceError":
|
|
159
|
-
throw await
|
|
159
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
160
160
|
case "InvalidArgumentException":
|
|
161
161
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
162
|
-
throw await
|
|
162
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
163
163
|
case "NotAuthorizedException":
|
|
164
164
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
165
|
-
throw await
|
|
165
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
166
166
|
default:
|
|
167
167
|
const parsedBody = parsedOutput.body;
|
|
168
168
|
throwDefaultError({
|
|
@@ -173,20 +173,20 @@ const deserializeAws_json1_1GetResourceMetadataCommandError = async (output, con
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const de_GetResourceMetricsCommand = async (output, context) => {
|
|
177
177
|
if (output.statusCode >= 300) {
|
|
178
|
-
return
|
|
178
|
+
return de_GetResourceMetricsCommandError(output, context);
|
|
179
179
|
}
|
|
180
180
|
const data = await parseBody(output.body, context);
|
|
181
181
|
let contents = {};
|
|
182
|
-
contents =
|
|
182
|
+
contents = de_GetResourceMetricsResponse(data, context);
|
|
183
183
|
const response = {
|
|
184
184
|
$metadata: deserializeMetadata(output),
|
|
185
185
|
...contents,
|
|
186
186
|
};
|
|
187
187
|
return Promise.resolve(response);
|
|
188
188
|
};
|
|
189
|
-
const
|
|
189
|
+
const de_GetResourceMetricsCommandError = async (output, context) => {
|
|
190
190
|
const parsedOutput = {
|
|
191
191
|
...output,
|
|
192
192
|
body: await parseErrorBody(output.body, context),
|
|
@@ -195,13 +195,13 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
195
195
|
switch (errorCode) {
|
|
196
196
|
case "InternalServiceError":
|
|
197
197
|
case "com.amazonaws.pi#InternalServiceError":
|
|
198
|
-
throw await
|
|
198
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
199
199
|
case "InvalidArgumentException":
|
|
200
200
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
201
|
-
throw await
|
|
201
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
202
202
|
case "NotAuthorizedException":
|
|
203
203
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
204
|
-
throw await
|
|
204
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
205
205
|
default:
|
|
206
206
|
const parsedBody = parsedOutput.body;
|
|
207
207
|
throwDefaultError({
|
|
@@ -212,20 +212,20 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (output, cont
|
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
|
-
export const
|
|
215
|
+
export const de_ListAvailableResourceDimensionsCommand = async (output, context) => {
|
|
216
216
|
if (output.statusCode >= 300) {
|
|
217
|
-
return
|
|
217
|
+
return de_ListAvailableResourceDimensionsCommandError(output, context);
|
|
218
218
|
}
|
|
219
219
|
const data = await parseBody(output.body, context);
|
|
220
220
|
let contents = {};
|
|
221
|
-
contents =
|
|
221
|
+
contents = de_ListAvailableResourceDimensionsResponse(data, context);
|
|
222
222
|
const response = {
|
|
223
223
|
$metadata: deserializeMetadata(output),
|
|
224
224
|
...contents,
|
|
225
225
|
};
|
|
226
226
|
return Promise.resolve(response);
|
|
227
227
|
};
|
|
228
|
-
const
|
|
228
|
+
const de_ListAvailableResourceDimensionsCommandError = async (output, context) => {
|
|
229
229
|
const parsedOutput = {
|
|
230
230
|
...output,
|
|
231
231
|
body: await parseErrorBody(output.body, context),
|
|
@@ -234,13 +234,13 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
234
234
|
switch (errorCode) {
|
|
235
235
|
case "InternalServiceError":
|
|
236
236
|
case "com.amazonaws.pi#InternalServiceError":
|
|
237
|
-
throw await
|
|
237
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
238
238
|
case "InvalidArgumentException":
|
|
239
239
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
240
|
-
throw await
|
|
240
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
241
241
|
case "NotAuthorizedException":
|
|
242
242
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
243
|
-
throw await
|
|
243
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
244
244
|
default:
|
|
245
245
|
const parsedBody = parsedOutput.body;
|
|
246
246
|
throwDefaultError({
|
|
@@ -251,20 +251,20 @@ const deserializeAws_json1_1ListAvailableResourceDimensionsCommandError = async
|
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
|
-
export const
|
|
254
|
+
export const de_ListAvailableResourceMetricsCommand = async (output, context) => {
|
|
255
255
|
if (output.statusCode >= 300) {
|
|
256
|
-
return
|
|
256
|
+
return de_ListAvailableResourceMetricsCommandError(output, context);
|
|
257
257
|
}
|
|
258
258
|
const data = await parseBody(output.body, context);
|
|
259
259
|
let contents = {};
|
|
260
|
-
contents =
|
|
260
|
+
contents = de_ListAvailableResourceMetricsResponse(data, context);
|
|
261
261
|
const response = {
|
|
262
262
|
$metadata: deserializeMetadata(output),
|
|
263
263
|
...contents,
|
|
264
264
|
};
|
|
265
265
|
return Promise.resolve(response);
|
|
266
266
|
};
|
|
267
|
-
const
|
|
267
|
+
const de_ListAvailableResourceMetricsCommandError = async (output, context) => {
|
|
268
268
|
const parsedOutput = {
|
|
269
269
|
...output,
|
|
270
270
|
body: await parseErrorBody(output.body, context),
|
|
@@ -273,13 +273,13 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
273
273
|
switch (errorCode) {
|
|
274
274
|
case "InternalServiceError":
|
|
275
275
|
case "com.amazonaws.pi#InternalServiceError":
|
|
276
|
-
throw await
|
|
276
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
277
277
|
case "InvalidArgumentException":
|
|
278
278
|
case "com.amazonaws.pi#InvalidArgumentException":
|
|
279
|
-
throw await
|
|
279
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
280
280
|
case "NotAuthorizedException":
|
|
281
281
|
case "com.amazonaws.pi#NotAuthorizedException":
|
|
282
|
-
throw await
|
|
282
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
283
283
|
default:
|
|
284
284
|
const parsedBody = parsedOutput.body;
|
|
285
285
|
throwDefaultError({
|
|
@@ -290,97 +290,95 @@ const deserializeAws_json1_1ListAvailableResourceMetricsCommandError = async (ou
|
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
};
|
|
293
|
-
const
|
|
293
|
+
const de_InternalServiceErrorRes = async (parsedOutput, context) => {
|
|
294
294
|
const body = parsedOutput.body;
|
|
295
|
-
const deserialized =
|
|
295
|
+
const deserialized = de_InternalServiceError(body, context);
|
|
296
296
|
const exception = new InternalServiceError({
|
|
297
297
|
$metadata: deserializeMetadata(parsedOutput),
|
|
298
298
|
...deserialized,
|
|
299
299
|
});
|
|
300
300
|
return __decorateServiceException(exception, body);
|
|
301
301
|
};
|
|
302
|
-
const
|
|
302
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
303
303
|
const body = parsedOutput.body;
|
|
304
|
-
const deserialized =
|
|
304
|
+
const deserialized = de_InvalidArgumentException(body, context);
|
|
305
305
|
const exception = new InvalidArgumentException({
|
|
306
306
|
$metadata: deserializeMetadata(parsedOutput),
|
|
307
307
|
...deserialized,
|
|
308
308
|
});
|
|
309
309
|
return __decorateServiceException(exception, body);
|
|
310
310
|
};
|
|
311
|
-
const
|
|
311
|
+
const de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {
|
|
312
312
|
const body = parsedOutput.body;
|
|
313
|
-
const deserialized =
|
|
313
|
+
const deserialized = de_NotAuthorizedException(body, context);
|
|
314
314
|
const exception = new NotAuthorizedException({
|
|
315
315
|
$metadata: deserializeMetadata(parsedOutput),
|
|
316
316
|
...deserialized,
|
|
317
317
|
});
|
|
318
318
|
return __decorateServiceException(exception, body);
|
|
319
319
|
};
|
|
320
|
-
const
|
|
320
|
+
const se_AdditionalMetricsList = (input, context) => {
|
|
321
321
|
return input
|
|
322
322
|
.filter((e) => e != null)
|
|
323
323
|
.map((entry) => {
|
|
324
324
|
return entry;
|
|
325
325
|
});
|
|
326
326
|
};
|
|
327
|
-
const
|
|
327
|
+
const se_DescribeDimensionKeysRequest = (input, context) => {
|
|
328
328
|
return {
|
|
329
329
|
...(input.AdditionalMetrics != null && {
|
|
330
|
-
AdditionalMetrics:
|
|
330
|
+
AdditionalMetrics: se_AdditionalMetricsList(input.AdditionalMetrics, context),
|
|
331
331
|
}),
|
|
332
332
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
333
|
-
...(input.Filter != null && { Filter:
|
|
334
|
-
...(input.GroupBy != null && { GroupBy:
|
|
333
|
+
...(input.Filter != null && { Filter: se_MetricQueryFilterMap(input.Filter, context) }),
|
|
334
|
+
...(input.GroupBy != null && { GroupBy: se_DimensionGroup(input.GroupBy, context) }),
|
|
335
335
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
336
336
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
337
337
|
...(input.Metric != null && { Metric: input.Metric }),
|
|
338
338
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
339
|
-
...(input.PartitionBy != null && { PartitionBy:
|
|
339
|
+
...(input.PartitionBy != null && { PartitionBy: se_DimensionGroup(input.PartitionBy, context) }),
|
|
340
340
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
341
341
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
342
342
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
|
-
const
|
|
345
|
+
const se_DimensionGroup = (input, context) => {
|
|
346
346
|
return {
|
|
347
|
-
...(input.Dimensions != null && { Dimensions:
|
|
347
|
+
...(input.Dimensions != null && { Dimensions: se_RequestStringList(input.Dimensions, context) }),
|
|
348
348
|
...(input.Group != null && { Group: input.Group }),
|
|
349
349
|
...(input.Limit != null && { Limit: input.Limit }),
|
|
350
350
|
};
|
|
351
351
|
};
|
|
352
|
-
const
|
|
352
|
+
const se_DimensionsMetricList = (input, context) => {
|
|
353
353
|
return input
|
|
354
354
|
.filter((e) => e != null)
|
|
355
355
|
.map((entry) => {
|
|
356
356
|
return entry;
|
|
357
357
|
});
|
|
358
358
|
};
|
|
359
|
-
const
|
|
359
|
+
const se_GetDimensionKeyDetailsRequest = (input, context) => {
|
|
360
360
|
return {
|
|
361
361
|
...(input.Group != null && { Group: input.Group }),
|
|
362
362
|
...(input.GroupIdentifier != null && { GroupIdentifier: input.GroupIdentifier }),
|
|
363
363
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
364
364
|
...(input.RequestedDimensions != null && {
|
|
365
|
-
RequestedDimensions:
|
|
365
|
+
RequestedDimensions: se_RequestedDimensionList(input.RequestedDimensions, context),
|
|
366
366
|
}),
|
|
367
367
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
368
368
|
};
|
|
369
369
|
};
|
|
370
|
-
const
|
|
370
|
+
const se_GetResourceMetadataRequest = (input, context) => {
|
|
371
371
|
return {
|
|
372
372
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
373
373
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
374
374
|
};
|
|
375
375
|
};
|
|
376
|
-
const
|
|
376
|
+
const se_GetResourceMetricsRequest = (input, context) => {
|
|
377
377
|
return {
|
|
378
378
|
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
379
379
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
380
380
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
381
|
-
...(input.MetricQueries != null && {
|
|
382
|
-
MetricQueries: serializeAws_json1_1MetricQueryList(input.MetricQueries, context),
|
|
383
|
-
}),
|
|
381
|
+
...(input.MetricQueries != null && { MetricQueries: se_MetricQueryList(input.MetricQueries, context) }),
|
|
384
382
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
385
383
|
...(input.PeriodAlignment != null && { PeriodAlignment: input.PeriodAlignment }),
|
|
386
384
|
...(input.PeriodInSeconds != null && { PeriodInSeconds: input.PeriodInSeconds }),
|
|
@@ -388,32 +386,32 @@ const serializeAws_json1_1GetResourceMetricsRequest = (input, context) => {
|
|
|
388
386
|
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
389
387
|
};
|
|
390
388
|
};
|
|
391
|
-
const
|
|
389
|
+
const se_ListAvailableResourceDimensionsRequest = (input, context) => {
|
|
392
390
|
return {
|
|
393
391
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
394
392
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
395
|
-
...(input.Metrics != null && { Metrics:
|
|
393
|
+
...(input.Metrics != null && { Metrics: se_DimensionsMetricList(input.Metrics, context) }),
|
|
396
394
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
397
395
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
398
396
|
};
|
|
399
397
|
};
|
|
400
|
-
const
|
|
398
|
+
const se_ListAvailableResourceMetricsRequest = (input, context) => {
|
|
401
399
|
return {
|
|
402
400
|
...(input.Identifier != null && { Identifier: input.Identifier }),
|
|
403
401
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
404
|
-
...(input.MetricTypes != null && { MetricTypes:
|
|
402
|
+
...(input.MetricTypes != null && { MetricTypes: se_MetricTypeList(input.MetricTypes, context) }),
|
|
405
403
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
406
404
|
...(input.ServiceType != null && { ServiceType: input.ServiceType }),
|
|
407
405
|
};
|
|
408
406
|
};
|
|
409
|
-
const
|
|
407
|
+
const se_MetricQuery = (input, context) => {
|
|
410
408
|
return {
|
|
411
|
-
...(input.Filter != null && { Filter:
|
|
412
|
-
...(input.GroupBy != null && { GroupBy:
|
|
409
|
+
...(input.Filter != null && { Filter: se_MetricQueryFilterMap(input.Filter, context) }),
|
|
410
|
+
...(input.GroupBy != null && { GroupBy: se_DimensionGroup(input.GroupBy, context) }),
|
|
413
411
|
...(input.Metric != null && { Metric: input.Metric }),
|
|
414
412
|
};
|
|
415
413
|
};
|
|
416
|
-
const
|
|
414
|
+
const se_MetricQueryFilterMap = (input, context) => {
|
|
417
415
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
418
416
|
if (value === null) {
|
|
419
417
|
return acc;
|
|
@@ -422,35 +420,35 @@ const serializeAws_json1_1MetricQueryFilterMap = (input, context) => {
|
|
|
422
420
|
return acc;
|
|
423
421
|
}, {});
|
|
424
422
|
};
|
|
425
|
-
const
|
|
423
|
+
const se_MetricQueryList = (input, context) => {
|
|
426
424
|
return input
|
|
427
425
|
.filter((e) => e != null)
|
|
428
426
|
.map((entry) => {
|
|
429
|
-
return
|
|
427
|
+
return se_MetricQuery(entry, context);
|
|
430
428
|
});
|
|
431
429
|
};
|
|
432
|
-
const
|
|
430
|
+
const se_MetricTypeList = (input, context) => {
|
|
433
431
|
return input
|
|
434
432
|
.filter((e) => e != null)
|
|
435
433
|
.map((entry) => {
|
|
436
434
|
return entry;
|
|
437
435
|
});
|
|
438
436
|
};
|
|
439
|
-
const
|
|
437
|
+
const se_RequestedDimensionList = (input, context) => {
|
|
440
438
|
return input
|
|
441
439
|
.filter((e) => e != null)
|
|
442
440
|
.map((entry) => {
|
|
443
441
|
return entry;
|
|
444
442
|
});
|
|
445
443
|
};
|
|
446
|
-
const
|
|
444
|
+
const se_RequestStringList = (input, context) => {
|
|
447
445
|
return input
|
|
448
446
|
.filter((e) => e != null)
|
|
449
447
|
.map((entry) => {
|
|
450
448
|
return entry;
|
|
451
449
|
});
|
|
452
450
|
};
|
|
453
|
-
const
|
|
451
|
+
const de_AdditionalMetricsMap = (output, context) => {
|
|
454
452
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
455
453
|
if (value === null) {
|
|
456
454
|
return acc;
|
|
@@ -459,24 +457,24 @@ const deserializeAws_json1_1AdditionalMetricsMap = (output, context) => {
|
|
|
459
457
|
return acc;
|
|
460
458
|
}, {});
|
|
461
459
|
};
|
|
462
|
-
const
|
|
460
|
+
const de_DataPoint = (output, context) => {
|
|
463
461
|
return {
|
|
464
462
|
Timestamp: output.Timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.Timestamp))) : undefined,
|
|
465
463
|
Value: __limitedParseDouble(output.Value),
|
|
466
464
|
};
|
|
467
465
|
};
|
|
468
|
-
const
|
|
466
|
+
const de_DataPointsList = (output, context) => {
|
|
469
467
|
const retVal = (output || [])
|
|
470
468
|
.filter((e) => e != null)
|
|
471
469
|
.map((entry) => {
|
|
472
470
|
if (entry === null) {
|
|
473
471
|
return null;
|
|
474
472
|
}
|
|
475
|
-
return
|
|
473
|
+
return de_DataPoint(entry, context);
|
|
476
474
|
});
|
|
477
475
|
return retVal;
|
|
478
476
|
};
|
|
479
|
-
const
|
|
477
|
+
const de_DescribeDimensionKeysResponse = (output, context) => {
|
|
480
478
|
return {
|
|
481
479
|
AlignedEndTime: output.AlignedEndTime != null
|
|
482
480
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedEndTime)))
|
|
@@ -484,86 +482,82 @@ const deserializeAws_json1_1DescribeDimensionKeysResponse = (output, context) =>
|
|
|
484
482
|
AlignedStartTime: output.AlignedStartTime != null
|
|
485
483
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedStartTime)))
|
|
486
484
|
: undefined,
|
|
487
|
-
Keys: output.Keys != null ?
|
|
485
|
+
Keys: output.Keys != null ? de_DimensionKeyDescriptionList(output.Keys, context) : undefined,
|
|
488
486
|
NextToken: __expectString(output.NextToken),
|
|
489
|
-
PartitionKeys: output.PartitionKeys != null
|
|
490
|
-
? deserializeAws_json1_1ResponsePartitionKeyList(output.PartitionKeys, context)
|
|
491
|
-
: undefined,
|
|
487
|
+
PartitionKeys: output.PartitionKeys != null ? de_ResponsePartitionKeyList(output.PartitionKeys, context) : undefined,
|
|
492
488
|
};
|
|
493
489
|
};
|
|
494
|
-
const
|
|
490
|
+
const de_DimensionDetail = (output, context) => {
|
|
495
491
|
return {
|
|
496
492
|
Identifier: __expectString(output.Identifier),
|
|
497
493
|
};
|
|
498
494
|
};
|
|
499
|
-
const
|
|
495
|
+
const de_DimensionDetailList = (output, context) => {
|
|
500
496
|
const retVal = (output || [])
|
|
501
497
|
.filter((e) => e != null)
|
|
502
498
|
.map((entry) => {
|
|
503
499
|
if (entry === null) {
|
|
504
500
|
return null;
|
|
505
501
|
}
|
|
506
|
-
return
|
|
502
|
+
return de_DimensionDetail(entry, context);
|
|
507
503
|
});
|
|
508
504
|
return retVal;
|
|
509
505
|
};
|
|
510
|
-
const
|
|
506
|
+
const de_DimensionGroupDetail = (output, context) => {
|
|
511
507
|
return {
|
|
512
|
-
Dimensions: output.Dimensions != null ?
|
|
508
|
+
Dimensions: output.Dimensions != null ? de_DimensionDetailList(output.Dimensions, context) : undefined,
|
|
513
509
|
Group: __expectString(output.Group),
|
|
514
510
|
};
|
|
515
511
|
};
|
|
516
|
-
const
|
|
512
|
+
const de_DimensionGroupDetailList = (output, context) => {
|
|
517
513
|
const retVal = (output || [])
|
|
518
514
|
.filter((e) => e != null)
|
|
519
515
|
.map((entry) => {
|
|
520
516
|
if (entry === null) {
|
|
521
517
|
return null;
|
|
522
518
|
}
|
|
523
|
-
return
|
|
519
|
+
return de_DimensionGroupDetail(entry, context);
|
|
524
520
|
});
|
|
525
521
|
return retVal;
|
|
526
522
|
};
|
|
527
|
-
const
|
|
523
|
+
const de_DimensionKeyDescription = (output, context) => {
|
|
528
524
|
return {
|
|
529
|
-
AdditionalMetrics: output.AdditionalMetrics != null
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
Dimensions: output.Dimensions != null ? deserializeAws_json1_1DimensionMap(output.Dimensions, context) : undefined,
|
|
533
|
-
Partitions: output.Partitions != null ? deserializeAws_json1_1MetricValuesList(output.Partitions, context) : undefined,
|
|
525
|
+
AdditionalMetrics: output.AdditionalMetrics != null ? de_AdditionalMetricsMap(output.AdditionalMetrics, context) : undefined,
|
|
526
|
+
Dimensions: output.Dimensions != null ? de_DimensionMap(output.Dimensions, context) : undefined,
|
|
527
|
+
Partitions: output.Partitions != null ? de_MetricValuesList(output.Partitions, context) : undefined,
|
|
534
528
|
Total: __limitedParseDouble(output.Total),
|
|
535
529
|
};
|
|
536
530
|
};
|
|
537
|
-
const
|
|
531
|
+
const de_DimensionKeyDescriptionList = (output, context) => {
|
|
538
532
|
const retVal = (output || [])
|
|
539
533
|
.filter((e) => e != null)
|
|
540
534
|
.map((entry) => {
|
|
541
535
|
if (entry === null) {
|
|
542
536
|
return null;
|
|
543
537
|
}
|
|
544
|
-
return
|
|
538
|
+
return de_DimensionKeyDescription(entry, context);
|
|
545
539
|
});
|
|
546
540
|
return retVal;
|
|
547
541
|
};
|
|
548
|
-
const
|
|
542
|
+
const de_DimensionKeyDetail = (output, context) => {
|
|
549
543
|
return {
|
|
550
544
|
Dimension: __expectString(output.Dimension),
|
|
551
545
|
Status: __expectString(output.Status),
|
|
552
546
|
Value: __expectString(output.Value),
|
|
553
547
|
};
|
|
554
548
|
};
|
|
555
|
-
const
|
|
549
|
+
const de_DimensionKeyDetailList = (output, context) => {
|
|
556
550
|
const retVal = (output || [])
|
|
557
551
|
.filter((e) => e != null)
|
|
558
552
|
.map((entry) => {
|
|
559
553
|
if (entry === null) {
|
|
560
554
|
return null;
|
|
561
555
|
}
|
|
562
|
-
return
|
|
556
|
+
return de_DimensionKeyDetail(entry, context);
|
|
563
557
|
});
|
|
564
558
|
return retVal;
|
|
565
559
|
};
|
|
566
|
-
const
|
|
560
|
+
const de_DimensionMap = (output, context) => {
|
|
567
561
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
568
562
|
if (value === null) {
|
|
569
563
|
return acc;
|
|
@@ -572,32 +566,32 @@ const deserializeAws_json1_1DimensionMap = (output, context) => {
|
|
|
572
566
|
return acc;
|
|
573
567
|
}, {});
|
|
574
568
|
};
|
|
575
|
-
const
|
|
569
|
+
const de_FeatureMetadata = (output, context) => {
|
|
576
570
|
return {
|
|
577
571
|
Status: __expectString(output.Status),
|
|
578
572
|
};
|
|
579
573
|
};
|
|
580
|
-
const
|
|
574
|
+
const de_FeatureMetadataMap = (output, context) => {
|
|
581
575
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
582
576
|
if (value === null) {
|
|
583
577
|
return acc;
|
|
584
578
|
}
|
|
585
|
-
acc[key] =
|
|
579
|
+
acc[key] = de_FeatureMetadata(value, context);
|
|
586
580
|
return acc;
|
|
587
581
|
}, {});
|
|
588
582
|
};
|
|
589
|
-
const
|
|
583
|
+
const de_GetDimensionKeyDetailsResponse = (output, context) => {
|
|
590
584
|
return {
|
|
591
|
-
Dimensions: output.Dimensions != null ?
|
|
585
|
+
Dimensions: output.Dimensions != null ? de_DimensionKeyDetailList(output.Dimensions, context) : undefined,
|
|
592
586
|
};
|
|
593
587
|
};
|
|
594
|
-
const
|
|
588
|
+
const de_GetResourceMetadataResponse = (output, context) => {
|
|
595
589
|
return {
|
|
596
|
-
Features: output.Features != null ?
|
|
590
|
+
Features: output.Features != null ? de_FeatureMetadataMap(output.Features, context) : undefined,
|
|
597
591
|
Identifier: __expectString(output.Identifier),
|
|
598
592
|
};
|
|
599
593
|
};
|
|
600
|
-
const
|
|
594
|
+
const de_GetResourceMetricsResponse = (output, context) => {
|
|
601
595
|
return {
|
|
602
596
|
AlignedEndTime: output.AlignedEndTime != null
|
|
603
597
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedEndTime)))
|
|
@@ -606,69 +600,67 @@ const deserializeAws_json1_1GetResourceMetricsResponse = (output, context) => {
|
|
|
606
600
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AlignedStartTime)))
|
|
607
601
|
: undefined,
|
|
608
602
|
Identifier: __expectString(output.Identifier),
|
|
609
|
-
MetricList: output.MetricList != null ?
|
|
603
|
+
MetricList: output.MetricList != null ? de_MetricKeyDataPointsList(output.MetricList, context) : undefined,
|
|
610
604
|
NextToken: __expectString(output.NextToken),
|
|
611
605
|
};
|
|
612
606
|
};
|
|
613
|
-
const
|
|
607
|
+
const de_InternalServiceError = (output, context) => {
|
|
614
608
|
return {
|
|
615
609
|
Message: __expectString(output.Message),
|
|
616
610
|
};
|
|
617
611
|
};
|
|
618
|
-
const
|
|
612
|
+
const de_InvalidArgumentException = (output, context) => {
|
|
619
613
|
return {
|
|
620
614
|
Message: __expectString(output.Message),
|
|
621
615
|
};
|
|
622
616
|
};
|
|
623
|
-
const
|
|
617
|
+
const de_ListAvailableResourceDimensionsResponse = (output, context) => {
|
|
624
618
|
return {
|
|
625
|
-
MetricDimensions: output.MetricDimensions != null
|
|
626
|
-
? deserializeAws_json1_1MetricDimensionsList(output.MetricDimensions, context)
|
|
627
|
-
: undefined,
|
|
619
|
+
MetricDimensions: output.MetricDimensions != null ? de_MetricDimensionsList(output.MetricDimensions, context) : undefined,
|
|
628
620
|
NextToken: __expectString(output.NextToken),
|
|
629
621
|
};
|
|
630
622
|
};
|
|
631
|
-
const
|
|
623
|
+
const de_ListAvailableResourceMetricsResponse = (output, context) => {
|
|
632
624
|
return {
|
|
633
|
-
Metrics: output.Metrics != null ?
|
|
625
|
+
Metrics: output.Metrics != null ? de_ResponseResourceMetricList(output.Metrics, context) : undefined,
|
|
634
626
|
NextToken: __expectString(output.NextToken),
|
|
635
627
|
};
|
|
636
628
|
};
|
|
637
|
-
const
|
|
629
|
+
const de_MetricDimensionGroups = (output, context) => {
|
|
638
630
|
return {
|
|
639
|
-
Groups: output.Groups != null ?
|
|
631
|
+
Groups: output.Groups != null ? de_DimensionGroupDetailList(output.Groups, context) : undefined,
|
|
640
632
|
Metric: __expectString(output.Metric),
|
|
641
633
|
};
|
|
642
634
|
};
|
|
643
|
-
const
|
|
635
|
+
const de_MetricDimensionsList = (output, context) => {
|
|
644
636
|
const retVal = (output || [])
|
|
645
637
|
.filter((e) => e != null)
|
|
646
638
|
.map((entry) => {
|
|
647
639
|
if (entry === null) {
|
|
648
640
|
return null;
|
|
649
641
|
}
|
|
650
|
-
return
|
|
642
|
+
return de_MetricDimensionGroups(entry, context);
|
|
651
643
|
});
|
|
652
644
|
return retVal;
|
|
653
645
|
};
|
|
654
|
-
const
|
|
646
|
+
const de_MetricKeyDataPoints = (output, context) => {
|
|
655
647
|
return {
|
|
656
|
-
DataPoints: output.DataPoints != null ?
|
|
657
|
-
Key: output.Key != null ?
|
|
648
|
+
DataPoints: output.DataPoints != null ? de_DataPointsList(output.DataPoints, context) : undefined,
|
|
649
|
+
Key: output.Key != null ? de_ResponseResourceMetricKey(output.Key, context) : undefined,
|
|
658
650
|
};
|
|
659
651
|
};
|
|
660
|
-
const
|
|
652
|
+
const de_MetricKeyDataPointsList = (output, context) => {
|
|
661
653
|
const retVal = (output || [])
|
|
662
654
|
.filter((e) => e != null)
|
|
663
655
|
.map((entry) => {
|
|
664
656
|
if (entry === null) {
|
|
665
657
|
return null;
|
|
666
658
|
}
|
|
667
|
-
return
|
|
659
|
+
return de_MetricKeyDataPoints(entry, context);
|
|
668
660
|
});
|
|
669
661
|
return retVal;
|
|
670
662
|
};
|
|
671
|
-
const
|
|
663
|
+
const de_MetricValuesList = (output, context) => {
|
|
672
664
|
const retVal = (output || [])
|
|
673
665
|
.filter((e) => e != null)
|
|
674
666
|
.map((entry) => {
|
|
@@ -679,48 +671,48 @@ const deserializeAws_json1_1MetricValuesList = (output, context) => {
|
|
|
679
671
|
});
|
|
680
672
|
return retVal;
|
|
681
673
|
};
|
|
682
|
-
const
|
|
674
|
+
const de_NotAuthorizedException = (output, context) => {
|
|
683
675
|
return {
|
|
684
676
|
Message: __expectString(output.Message),
|
|
685
677
|
};
|
|
686
678
|
};
|
|
687
|
-
const
|
|
679
|
+
const de_ResponsePartitionKey = (output, context) => {
|
|
688
680
|
return {
|
|
689
|
-
Dimensions: output.Dimensions != null ?
|
|
681
|
+
Dimensions: output.Dimensions != null ? de_DimensionMap(output.Dimensions, context) : undefined,
|
|
690
682
|
};
|
|
691
683
|
};
|
|
692
|
-
const
|
|
684
|
+
const de_ResponsePartitionKeyList = (output, context) => {
|
|
693
685
|
const retVal = (output || [])
|
|
694
686
|
.filter((e) => e != null)
|
|
695
687
|
.map((entry) => {
|
|
696
688
|
if (entry === null) {
|
|
697
689
|
return null;
|
|
698
690
|
}
|
|
699
|
-
return
|
|
691
|
+
return de_ResponsePartitionKey(entry, context);
|
|
700
692
|
});
|
|
701
693
|
return retVal;
|
|
702
694
|
};
|
|
703
|
-
const
|
|
695
|
+
const de_ResponseResourceMetric = (output, context) => {
|
|
704
696
|
return {
|
|
705
697
|
Description: __expectString(output.Description),
|
|
706
698
|
Metric: __expectString(output.Metric),
|
|
707
699
|
Unit: __expectString(output.Unit),
|
|
708
700
|
};
|
|
709
701
|
};
|
|
710
|
-
const
|
|
702
|
+
const de_ResponseResourceMetricKey = (output, context) => {
|
|
711
703
|
return {
|
|
712
|
-
Dimensions: output.Dimensions != null ?
|
|
704
|
+
Dimensions: output.Dimensions != null ? de_DimensionMap(output.Dimensions, context) : undefined,
|
|
713
705
|
Metric: __expectString(output.Metric),
|
|
714
706
|
};
|
|
715
707
|
};
|
|
716
|
-
const
|
|
708
|
+
const de_ResponseResourceMetricList = (output, context) => {
|
|
717
709
|
const retVal = (output || [])
|
|
718
710
|
.filter((e) => e != null)
|
|
719
711
|
.map((entry) => {
|
|
720
712
|
if (entry === null) {
|
|
721
713
|
return null;
|
|
722
714
|
}
|
|
723
|
-
return
|
|
715
|
+
return de_ResponseResourceMetric(entry, context);
|
|
724
716
|
});
|
|
725
717
|
return retVal;
|
|
726
718
|
};
|