@aws-sdk/client-pi 3.489.0 → 3.495.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/PI.js +1 -37
- package/dist-cjs/PIClient.js +1 -43
- package/dist-cjs/commands/CreatePerformanceAnalysisReportCommand.js +1 -28
- package/dist-cjs/commands/DeletePerformanceAnalysisReportCommand.js +1 -28
- package/dist-cjs/commands/DescribeDimensionKeysCommand.js +1 -28
- package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +1 -28
- package/dist-cjs/commands/GetPerformanceAnalysisReportCommand.js +1 -29
- package/dist-cjs/commands/GetResourceMetadataCommand.js +1 -28
- package/dist-cjs/commands/GetResourceMetricsCommand.js +1 -28
- package/dist-cjs/commands/ListAvailableResourceDimensionsCommand.js +1 -28
- package/dist-cjs/commands/ListAvailableResourceMetricsCommand.js +1 -28
- package/dist-cjs/commands/ListPerformanceAnalysisReportsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -16
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1462 -11
- package/dist-cjs/models/PIServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -115
- package/dist-cjs/pagination/DescribeDimensionKeysPaginator.js +1 -7
- package/dist-cjs/pagination/GetResourceMetricsPaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAvailableResourceDimensionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAvailableResourceMetricsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPerformanceAnalysisReportsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_json1_1.js +1 -906
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1463 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AcceptLanguage: () => AcceptLanguage,
|
|
25
|
+
AnalysisReportFilterSensitiveLog: () => AnalysisReportFilterSensitiveLog,
|
|
26
|
+
AnalysisStatus: () => AnalysisStatus,
|
|
27
|
+
ContextType: () => ContextType,
|
|
28
|
+
CreatePerformanceAnalysisReportCommand: () => CreatePerformanceAnalysisReportCommand,
|
|
29
|
+
DeletePerformanceAnalysisReportCommand: () => DeletePerformanceAnalysisReportCommand,
|
|
30
|
+
DescribeDimensionKeysCommand: () => DescribeDimensionKeysCommand,
|
|
31
|
+
DetailStatus: () => DetailStatus,
|
|
32
|
+
FeatureStatus: () => FeatureStatus,
|
|
33
|
+
GetDimensionKeyDetailsCommand: () => GetDimensionKeyDetailsCommand,
|
|
34
|
+
GetPerformanceAnalysisReportCommand: () => GetPerformanceAnalysisReportCommand,
|
|
35
|
+
GetPerformanceAnalysisReportResponseFilterSensitiveLog: () => GetPerformanceAnalysisReportResponseFilterSensitiveLog,
|
|
36
|
+
GetResourceMetadataCommand: () => GetResourceMetadataCommand,
|
|
37
|
+
GetResourceMetricsCommand: () => GetResourceMetricsCommand,
|
|
38
|
+
InsightFilterSensitiveLog: () => InsightFilterSensitiveLog,
|
|
39
|
+
InternalServiceError: () => InternalServiceError,
|
|
40
|
+
InvalidArgumentException: () => InvalidArgumentException,
|
|
41
|
+
ListAvailableResourceDimensionsCommand: () => ListAvailableResourceDimensionsCommand,
|
|
42
|
+
ListAvailableResourceMetricsCommand: () => ListAvailableResourceMetricsCommand,
|
|
43
|
+
ListPerformanceAnalysisReportsCommand: () => ListPerformanceAnalysisReportsCommand,
|
|
44
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
45
|
+
NotAuthorizedException: () => NotAuthorizedException,
|
|
46
|
+
PI: () => PI,
|
|
47
|
+
PIClient: () => PIClient,
|
|
48
|
+
PIServiceException: () => PIServiceException,
|
|
49
|
+
PeriodAlignment: () => PeriodAlignment,
|
|
50
|
+
RecommendationFilterSensitiveLog: () => RecommendationFilterSensitiveLog,
|
|
51
|
+
ServiceType: () => ServiceType,
|
|
52
|
+
Severity: () => Severity,
|
|
53
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
54
|
+
TextFormat: () => TextFormat,
|
|
55
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
56
|
+
__Client: () => import_smithy_client.Client,
|
|
57
|
+
paginateDescribeDimensionKeys: () => paginateDescribeDimensionKeys,
|
|
58
|
+
paginateGetResourceMetrics: () => paginateGetResourceMetrics,
|
|
59
|
+
paginateListAvailableResourceDimensions: () => paginateListAvailableResourceDimensions,
|
|
60
|
+
paginateListAvailableResourceMetrics: () => paginateListAvailableResourceMetrics,
|
|
61
|
+
paginateListPerformanceAnalysisReports: () => paginateListPerformanceAnalysisReports
|
|
62
|
+
});
|
|
63
|
+
module.exports = __toCommonJS(src_exports);
|
|
64
|
+
|
|
65
|
+
// src/PIClient.ts
|
|
66
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
67
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
68
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
69
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
70
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
71
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
72
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
73
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
74
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
// src/endpoint/EndpointParameters.ts
|
|
78
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
79
|
+
return {
|
|
80
|
+
...options,
|
|
81
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
82
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
83
|
+
defaultSigningName: "pi"
|
|
84
|
+
};
|
|
85
|
+
}, "resolveClientEndpointParameters");
|
|
86
|
+
var commonParams = {
|
|
87
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
88
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
89
|
+
Region: { type: "builtInParams", name: "region" },
|
|
90
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
// src/PIClient.ts
|
|
94
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
95
|
+
|
|
96
|
+
// src/runtimeExtensions.ts
|
|
97
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
98
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
99
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
100
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
101
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
102
|
+
const extensionConfiguration = {
|
|
103
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
104
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
105
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
106
|
+
};
|
|
107
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
108
|
+
return {
|
|
109
|
+
...runtimeConfig,
|
|
110
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
111
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
112
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
113
|
+
};
|
|
114
|
+
}, "resolveRuntimeExtensions");
|
|
115
|
+
|
|
116
|
+
// src/PIClient.ts
|
|
117
|
+
var _PIClient = class _PIClient extends import_smithy_client.Client {
|
|
118
|
+
constructor(...[configuration]) {
|
|
119
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
120
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
121
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
122
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
123
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
124
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
125
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
126
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
127
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
128
|
+
super(_config_8);
|
|
129
|
+
this.config = _config_8;
|
|
130
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
131
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
132
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
133
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
134
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
135
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
136
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
140
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
141
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
142
|
+
*/
|
|
143
|
+
destroy() {
|
|
144
|
+
super.destroy();
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
__name(_PIClient, "PIClient");
|
|
148
|
+
var PIClient = _PIClient;
|
|
149
|
+
|
|
150
|
+
// src/PI.ts
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
// src/commands/CreatePerformanceAnalysisReportCommand.ts
|
|
154
|
+
|
|
155
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
156
|
+
|
|
157
|
+
var import_types = require("@smithy/types");
|
|
158
|
+
|
|
159
|
+
// src/protocols/Aws_json1_1.ts
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
// src/models/models_0.ts
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
// src/models/PIServiceException.ts
|
|
167
|
+
|
|
168
|
+
var _PIServiceException = class _PIServiceException extends import_smithy_client.ServiceException {
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
constructor(options) {
|
|
173
|
+
super(options);
|
|
174
|
+
Object.setPrototypeOf(this, _PIServiceException.prototype);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
__name(_PIServiceException, "PIServiceException");
|
|
178
|
+
var PIServiceException = _PIServiceException;
|
|
179
|
+
|
|
180
|
+
// src/models/models_0.ts
|
|
181
|
+
var AcceptLanguage = {
|
|
182
|
+
EN_US: "EN_US"
|
|
183
|
+
};
|
|
184
|
+
var ContextType = {
|
|
185
|
+
CAUSAL: "CAUSAL",
|
|
186
|
+
CONTEXTUAL: "CONTEXTUAL"
|
|
187
|
+
};
|
|
188
|
+
var Severity = {
|
|
189
|
+
HIGH: "HIGH",
|
|
190
|
+
LOW: "LOW",
|
|
191
|
+
MEDIUM: "MEDIUM"
|
|
192
|
+
};
|
|
193
|
+
var ServiceType = {
|
|
194
|
+
DOCDB: "DOCDB",
|
|
195
|
+
RDS: "RDS"
|
|
196
|
+
};
|
|
197
|
+
var AnalysisStatus = {
|
|
198
|
+
FAILED: "FAILED",
|
|
199
|
+
RUNNING: "RUNNING",
|
|
200
|
+
SUCCEEDED: "SUCCEEDED"
|
|
201
|
+
};
|
|
202
|
+
var _InternalServiceError = class _InternalServiceError extends PIServiceException {
|
|
203
|
+
/**
|
|
204
|
+
* @internal
|
|
205
|
+
*/
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "InternalServiceError",
|
|
209
|
+
$fault: "server",
|
|
210
|
+
...opts
|
|
211
|
+
});
|
|
212
|
+
this.name = "InternalServiceError";
|
|
213
|
+
this.$fault = "server";
|
|
214
|
+
Object.setPrototypeOf(this, _InternalServiceError.prototype);
|
|
215
|
+
this.Message = opts.Message;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
__name(_InternalServiceError, "InternalServiceError");
|
|
219
|
+
var InternalServiceError = _InternalServiceError;
|
|
220
|
+
var _InvalidArgumentException = class _InvalidArgumentException extends PIServiceException {
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
*/
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "InvalidArgumentException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts
|
|
229
|
+
});
|
|
230
|
+
this.name = "InvalidArgumentException";
|
|
231
|
+
this.$fault = "client";
|
|
232
|
+
Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
|
|
233
|
+
this.Message = opts.Message;
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
__name(_InvalidArgumentException, "InvalidArgumentException");
|
|
237
|
+
var InvalidArgumentException = _InvalidArgumentException;
|
|
238
|
+
var _NotAuthorizedException = class _NotAuthorizedException extends PIServiceException {
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "NotAuthorizedException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts
|
|
247
|
+
});
|
|
248
|
+
this.name = "NotAuthorizedException";
|
|
249
|
+
this.$fault = "client";
|
|
250
|
+
Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
|
|
251
|
+
this.Message = opts.Message;
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
__name(_NotAuthorizedException, "NotAuthorizedException");
|
|
255
|
+
var NotAuthorizedException = _NotAuthorizedException;
|
|
256
|
+
var DetailStatus = {
|
|
257
|
+
AVAILABLE: "AVAILABLE",
|
|
258
|
+
PROCESSING: "PROCESSING",
|
|
259
|
+
UNAVAILABLE: "UNAVAILABLE"
|
|
260
|
+
};
|
|
261
|
+
var FeatureStatus = {
|
|
262
|
+
DISABLED: "DISABLED",
|
|
263
|
+
DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT",
|
|
264
|
+
ENABLED: "ENABLED",
|
|
265
|
+
ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT",
|
|
266
|
+
UNKNOWN: "UNKNOWN",
|
|
267
|
+
UNSUPPORTED: "UNSUPPORTED"
|
|
268
|
+
};
|
|
269
|
+
var TextFormat = {
|
|
270
|
+
MARKDOWN: "MARKDOWN",
|
|
271
|
+
PLAIN_TEXT: "PLAIN_TEXT"
|
|
272
|
+
};
|
|
273
|
+
var PeriodAlignment = {
|
|
274
|
+
END_TIME: "END_TIME",
|
|
275
|
+
START_TIME: "START_TIME"
|
|
276
|
+
};
|
|
277
|
+
var RecommendationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
...obj.RecommendationDescription && { RecommendationDescription: import_smithy_client.SENSITIVE_STRING }
|
|
280
|
+
}), "RecommendationFilterSensitiveLog");
|
|
281
|
+
var InsightFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
...obj.SupportingInsights && {
|
|
284
|
+
SupportingInsights: obj.SupportingInsights.map((item) => InsightFilterSensitiveLog(item))
|
|
285
|
+
},
|
|
286
|
+
...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING },
|
|
287
|
+
...obj.Recommendations && {
|
|
288
|
+
Recommendations: obj.Recommendations.map((item) => RecommendationFilterSensitiveLog(item))
|
|
289
|
+
}
|
|
290
|
+
}), "InsightFilterSensitiveLog");
|
|
291
|
+
var AnalysisReportFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
292
|
+
...obj,
|
|
293
|
+
...obj.Insights && { Insights: obj.Insights.map((item) => InsightFilterSensitiveLog(item)) }
|
|
294
|
+
}), "AnalysisReportFilterSensitiveLog");
|
|
295
|
+
var GetPerformanceAnalysisReportResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
...obj.AnalysisReport && { AnalysisReport: AnalysisReportFilterSensitiveLog(obj.AnalysisReport) }
|
|
298
|
+
}), "GetPerformanceAnalysisReportResponseFilterSensitiveLog");
|
|
299
|
+
|
|
300
|
+
// src/protocols/Aws_json1_1.ts
|
|
301
|
+
var se_CreatePerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
302
|
+
const headers = sharedHeaders("CreatePerformanceAnalysisReport");
|
|
303
|
+
let body;
|
|
304
|
+
body = JSON.stringify(se_CreatePerformanceAnalysisReportRequest(input, context));
|
|
305
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
306
|
+
}, "se_CreatePerformanceAnalysisReportCommand");
|
|
307
|
+
var se_DeletePerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
308
|
+
const headers = sharedHeaders("DeletePerformanceAnalysisReport");
|
|
309
|
+
let body;
|
|
310
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
311
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
312
|
+
}, "se_DeletePerformanceAnalysisReportCommand");
|
|
313
|
+
var se_DescribeDimensionKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
314
|
+
const headers = sharedHeaders("DescribeDimensionKeys");
|
|
315
|
+
let body;
|
|
316
|
+
body = JSON.stringify(se_DescribeDimensionKeysRequest(input, context));
|
|
317
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
318
|
+
}, "se_DescribeDimensionKeysCommand");
|
|
319
|
+
var se_GetDimensionKeyDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
320
|
+
const headers = sharedHeaders("GetDimensionKeyDetails");
|
|
321
|
+
let body;
|
|
322
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
323
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
324
|
+
}, "se_GetDimensionKeyDetailsCommand");
|
|
325
|
+
var se_GetPerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
326
|
+
const headers = sharedHeaders("GetPerformanceAnalysisReport");
|
|
327
|
+
let body;
|
|
328
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
329
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
330
|
+
}, "se_GetPerformanceAnalysisReportCommand");
|
|
331
|
+
var se_GetResourceMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
332
|
+
const headers = sharedHeaders("GetResourceMetadata");
|
|
333
|
+
let body;
|
|
334
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
335
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
336
|
+
}, "se_GetResourceMetadataCommand");
|
|
337
|
+
var se_GetResourceMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
338
|
+
const headers = sharedHeaders("GetResourceMetrics");
|
|
339
|
+
let body;
|
|
340
|
+
body = JSON.stringify(se_GetResourceMetricsRequest(input, context));
|
|
341
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
342
|
+
}, "se_GetResourceMetricsCommand");
|
|
343
|
+
var se_ListAvailableResourceDimensionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
344
|
+
const headers = sharedHeaders("ListAvailableResourceDimensions");
|
|
345
|
+
let body;
|
|
346
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
347
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
348
|
+
}, "se_ListAvailableResourceDimensionsCommand");
|
|
349
|
+
var se_ListAvailableResourceMetricsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
350
|
+
const headers = sharedHeaders("ListAvailableResourceMetrics");
|
|
351
|
+
let body;
|
|
352
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
353
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
354
|
+
}, "se_ListAvailableResourceMetricsCommand");
|
|
355
|
+
var se_ListPerformanceAnalysisReportsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
356
|
+
const headers = sharedHeaders("ListPerformanceAnalysisReports");
|
|
357
|
+
let body;
|
|
358
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
359
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
360
|
+
}, "se_ListPerformanceAnalysisReportsCommand");
|
|
361
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
362
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
363
|
+
let body;
|
|
364
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
365
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
366
|
+
}, "se_ListTagsForResourceCommand");
|
|
367
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
368
|
+
const headers = sharedHeaders("TagResource");
|
|
369
|
+
let body;
|
|
370
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
371
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
372
|
+
}, "se_TagResourceCommand");
|
|
373
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
374
|
+
const headers = sharedHeaders("UntagResource");
|
|
375
|
+
let body;
|
|
376
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
377
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
378
|
+
}, "se_UntagResourceCommand");
|
|
379
|
+
var de_CreatePerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
380
|
+
if (output.statusCode >= 300) {
|
|
381
|
+
return de_CreatePerformanceAnalysisReportCommandError(output, context);
|
|
382
|
+
}
|
|
383
|
+
const data = await parseBody(output.body, context);
|
|
384
|
+
let contents = {};
|
|
385
|
+
contents = (0, import_smithy_client._json)(data);
|
|
386
|
+
const response = {
|
|
387
|
+
$metadata: deserializeMetadata(output),
|
|
388
|
+
...contents
|
|
389
|
+
};
|
|
390
|
+
return response;
|
|
391
|
+
}, "de_CreatePerformanceAnalysisReportCommand");
|
|
392
|
+
var de_CreatePerformanceAnalysisReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
393
|
+
const parsedOutput = {
|
|
394
|
+
...output,
|
|
395
|
+
body: await parseErrorBody(output.body, context)
|
|
396
|
+
};
|
|
397
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
398
|
+
switch (errorCode) {
|
|
399
|
+
case "InternalServiceError":
|
|
400
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
401
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
402
|
+
case "InvalidArgumentException":
|
|
403
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
404
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
405
|
+
case "NotAuthorizedException":
|
|
406
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
407
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
408
|
+
default:
|
|
409
|
+
const parsedBody = parsedOutput.body;
|
|
410
|
+
return throwDefaultError({
|
|
411
|
+
output,
|
|
412
|
+
parsedBody,
|
|
413
|
+
errorCode
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
}, "de_CreatePerformanceAnalysisReportCommandError");
|
|
417
|
+
var de_DeletePerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
418
|
+
if (output.statusCode >= 300) {
|
|
419
|
+
return de_DeletePerformanceAnalysisReportCommandError(output, context);
|
|
420
|
+
}
|
|
421
|
+
const data = await parseBody(output.body, context);
|
|
422
|
+
let contents = {};
|
|
423
|
+
contents = (0, import_smithy_client._json)(data);
|
|
424
|
+
const response = {
|
|
425
|
+
$metadata: deserializeMetadata(output),
|
|
426
|
+
...contents
|
|
427
|
+
};
|
|
428
|
+
return response;
|
|
429
|
+
}, "de_DeletePerformanceAnalysisReportCommand");
|
|
430
|
+
var de_DeletePerformanceAnalysisReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
431
|
+
const parsedOutput = {
|
|
432
|
+
...output,
|
|
433
|
+
body: await parseErrorBody(output.body, context)
|
|
434
|
+
};
|
|
435
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
436
|
+
switch (errorCode) {
|
|
437
|
+
case "InternalServiceError":
|
|
438
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
439
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
440
|
+
case "InvalidArgumentException":
|
|
441
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
442
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
443
|
+
case "NotAuthorizedException":
|
|
444
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
445
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
446
|
+
default:
|
|
447
|
+
const parsedBody = parsedOutput.body;
|
|
448
|
+
return throwDefaultError({
|
|
449
|
+
output,
|
|
450
|
+
parsedBody,
|
|
451
|
+
errorCode
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
}, "de_DeletePerformanceAnalysisReportCommandError");
|
|
455
|
+
var de_DescribeDimensionKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
456
|
+
if (output.statusCode >= 300) {
|
|
457
|
+
return de_DescribeDimensionKeysCommandError(output, context);
|
|
458
|
+
}
|
|
459
|
+
const data = await parseBody(output.body, context);
|
|
460
|
+
let contents = {};
|
|
461
|
+
contents = de_DescribeDimensionKeysResponse(data, context);
|
|
462
|
+
const response = {
|
|
463
|
+
$metadata: deserializeMetadata(output),
|
|
464
|
+
...contents
|
|
465
|
+
};
|
|
466
|
+
return response;
|
|
467
|
+
}, "de_DescribeDimensionKeysCommand");
|
|
468
|
+
var de_DescribeDimensionKeysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
469
|
+
const parsedOutput = {
|
|
470
|
+
...output,
|
|
471
|
+
body: await parseErrorBody(output.body, context)
|
|
472
|
+
};
|
|
473
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
474
|
+
switch (errorCode) {
|
|
475
|
+
case "InternalServiceError":
|
|
476
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
477
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
478
|
+
case "InvalidArgumentException":
|
|
479
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
480
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
481
|
+
case "NotAuthorizedException":
|
|
482
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
483
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
484
|
+
default:
|
|
485
|
+
const parsedBody = parsedOutput.body;
|
|
486
|
+
return throwDefaultError({
|
|
487
|
+
output,
|
|
488
|
+
parsedBody,
|
|
489
|
+
errorCode
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
}, "de_DescribeDimensionKeysCommandError");
|
|
493
|
+
var de_GetDimensionKeyDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
494
|
+
if (output.statusCode >= 300) {
|
|
495
|
+
return de_GetDimensionKeyDetailsCommandError(output, context);
|
|
496
|
+
}
|
|
497
|
+
const data = await parseBody(output.body, context);
|
|
498
|
+
let contents = {};
|
|
499
|
+
contents = (0, import_smithy_client._json)(data);
|
|
500
|
+
const response = {
|
|
501
|
+
$metadata: deserializeMetadata(output),
|
|
502
|
+
...contents
|
|
503
|
+
};
|
|
504
|
+
return response;
|
|
505
|
+
}, "de_GetDimensionKeyDetailsCommand");
|
|
506
|
+
var de_GetDimensionKeyDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
507
|
+
const parsedOutput = {
|
|
508
|
+
...output,
|
|
509
|
+
body: await parseErrorBody(output.body, context)
|
|
510
|
+
};
|
|
511
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
512
|
+
switch (errorCode) {
|
|
513
|
+
case "InternalServiceError":
|
|
514
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
515
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
516
|
+
case "InvalidArgumentException":
|
|
517
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
518
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
519
|
+
case "NotAuthorizedException":
|
|
520
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
521
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
522
|
+
default:
|
|
523
|
+
const parsedBody = parsedOutput.body;
|
|
524
|
+
return throwDefaultError({
|
|
525
|
+
output,
|
|
526
|
+
parsedBody,
|
|
527
|
+
errorCode
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
}, "de_GetDimensionKeyDetailsCommandError");
|
|
531
|
+
var de_GetPerformanceAnalysisReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
532
|
+
if (output.statusCode >= 300) {
|
|
533
|
+
return de_GetPerformanceAnalysisReportCommandError(output, context);
|
|
534
|
+
}
|
|
535
|
+
const data = await parseBody(output.body, context);
|
|
536
|
+
let contents = {};
|
|
537
|
+
contents = de_GetPerformanceAnalysisReportResponse(data, context);
|
|
538
|
+
const response = {
|
|
539
|
+
$metadata: deserializeMetadata(output),
|
|
540
|
+
...contents
|
|
541
|
+
};
|
|
542
|
+
return response;
|
|
543
|
+
}, "de_GetPerformanceAnalysisReportCommand");
|
|
544
|
+
var de_GetPerformanceAnalysisReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
545
|
+
const parsedOutput = {
|
|
546
|
+
...output,
|
|
547
|
+
body: await parseErrorBody(output.body, context)
|
|
548
|
+
};
|
|
549
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
550
|
+
switch (errorCode) {
|
|
551
|
+
case "InternalServiceError":
|
|
552
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
553
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
554
|
+
case "InvalidArgumentException":
|
|
555
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
556
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
557
|
+
case "NotAuthorizedException":
|
|
558
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
559
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
560
|
+
default:
|
|
561
|
+
const parsedBody = parsedOutput.body;
|
|
562
|
+
return throwDefaultError({
|
|
563
|
+
output,
|
|
564
|
+
parsedBody,
|
|
565
|
+
errorCode
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
}, "de_GetPerformanceAnalysisReportCommandError");
|
|
569
|
+
var de_GetResourceMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
570
|
+
if (output.statusCode >= 300) {
|
|
571
|
+
return de_GetResourceMetadataCommandError(output, context);
|
|
572
|
+
}
|
|
573
|
+
const data = await parseBody(output.body, context);
|
|
574
|
+
let contents = {};
|
|
575
|
+
contents = (0, import_smithy_client._json)(data);
|
|
576
|
+
const response = {
|
|
577
|
+
$metadata: deserializeMetadata(output),
|
|
578
|
+
...contents
|
|
579
|
+
};
|
|
580
|
+
return response;
|
|
581
|
+
}, "de_GetResourceMetadataCommand");
|
|
582
|
+
var de_GetResourceMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
583
|
+
const parsedOutput = {
|
|
584
|
+
...output,
|
|
585
|
+
body: await parseErrorBody(output.body, context)
|
|
586
|
+
};
|
|
587
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
588
|
+
switch (errorCode) {
|
|
589
|
+
case "InternalServiceError":
|
|
590
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
591
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
592
|
+
case "InvalidArgumentException":
|
|
593
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
594
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
595
|
+
case "NotAuthorizedException":
|
|
596
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
597
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
598
|
+
default:
|
|
599
|
+
const parsedBody = parsedOutput.body;
|
|
600
|
+
return throwDefaultError({
|
|
601
|
+
output,
|
|
602
|
+
parsedBody,
|
|
603
|
+
errorCode
|
|
604
|
+
});
|
|
605
|
+
}
|
|
606
|
+
}, "de_GetResourceMetadataCommandError");
|
|
607
|
+
var de_GetResourceMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
608
|
+
if (output.statusCode >= 300) {
|
|
609
|
+
return de_GetResourceMetricsCommandError(output, context);
|
|
610
|
+
}
|
|
611
|
+
const data = await parseBody(output.body, context);
|
|
612
|
+
let contents = {};
|
|
613
|
+
contents = de_GetResourceMetricsResponse(data, context);
|
|
614
|
+
const response = {
|
|
615
|
+
$metadata: deserializeMetadata(output),
|
|
616
|
+
...contents
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
}, "de_GetResourceMetricsCommand");
|
|
620
|
+
var de_GetResourceMetricsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
621
|
+
const parsedOutput = {
|
|
622
|
+
...output,
|
|
623
|
+
body: await parseErrorBody(output.body, context)
|
|
624
|
+
};
|
|
625
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
626
|
+
switch (errorCode) {
|
|
627
|
+
case "InternalServiceError":
|
|
628
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
629
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
630
|
+
case "InvalidArgumentException":
|
|
631
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
632
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
633
|
+
case "NotAuthorizedException":
|
|
634
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
635
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
636
|
+
default:
|
|
637
|
+
const parsedBody = parsedOutput.body;
|
|
638
|
+
return throwDefaultError({
|
|
639
|
+
output,
|
|
640
|
+
parsedBody,
|
|
641
|
+
errorCode
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
}, "de_GetResourceMetricsCommandError");
|
|
645
|
+
var de_ListAvailableResourceDimensionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
646
|
+
if (output.statusCode >= 300) {
|
|
647
|
+
return de_ListAvailableResourceDimensionsCommandError(output, context);
|
|
648
|
+
}
|
|
649
|
+
const data = await parseBody(output.body, context);
|
|
650
|
+
let contents = {};
|
|
651
|
+
contents = (0, import_smithy_client._json)(data);
|
|
652
|
+
const response = {
|
|
653
|
+
$metadata: deserializeMetadata(output),
|
|
654
|
+
...contents
|
|
655
|
+
};
|
|
656
|
+
return response;
|
|
657
|
+
}, "de_ListAvailableResourceDimensionsCommand");
|
|
658
|
+
var de_ListAvailableResourceDimensionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
659
|
+
const parsedOutput = {
|
|
660
|
+
...output,
|
|
661
|
+
body: await parseErrorBody(output.body, context)
|
|
662
|
+
};
|
|
663
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
664
|
+
switch (errorCode) {
|
|
665
|
+
case "InternalServiceError":
|
|
666
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
667
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
668
|
+
case "InvalidArgumentException":
|
|
669
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
670
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
671
|
+
case "NotAuthorizedException":
|
|
672
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
673
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
674
|
+
default:
|
|
675
|
+
const parsedBody = parsedOutput.body;
|
|
676
|
+
return throwDefaultError({
|
|
677
|
+
output,
|
|
678
|
+
parsedBody,
|
|
679
|
+
errorCode
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
}, "de_ListAvailableResourceDimensionsCommandError");
|
|
683
|
+
var de_ListAvailableResourceMetricsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
684
|
+
if (output.statusCode >= 300) {
|
|
685
|
+
return de_ListAvailableResourceMetricsCommandError(output, context);
|
|
686
|
+
}
|
|
687
|
+
const data = await parseBody(output.body, context);
|
|
688
|
+
let contents = {};
|
|
689
|
+
contents = (0, import_smithy_client._json)(data);
|
|
690
|
+
const response = {
|
|
691
|
+
$metadata: deserializeMetadata(output),
|
|
692
|
+
...contents
|
|
693
|
+
};
|
|
694
|
+
return response;
|
|
695
|
+
}, "de_ListAvailableResourceMetricsCommand");
|
|
696
|
+
var de_ListAvailableResourceMetricsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
697
|
+
const parsedOutput = {
|
|
698
|
+
...output,
|
|
699
|
+
body: await parseErrorBody(output.body, context)
|
|
700
|
+
};
|
|
701
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
702
|
+
switch (errorCode) {
|
|
703
|
+
case "InternalServiceError":
|
|
704
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
705
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
706
|
+
case "InvalidArgumentException":
|
|
707
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
708
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
709
|
+
case "NotAuthorizedException":
|
|
710
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
711
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
712
|
+
default:
|
|
713
|
+
const parsedBody = parsedOutput.body;
|
|
714
|
+
return throwDefaultError({
|
|
715
|
+
output,
|
|
716
|
+
parsedBody,
|
|
717
|
+
errorCode
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
}, "de_ListAvailableResourceMetricsCommandError");
|
|
721
|
+
var de_ListPerformanceAnalysisReportsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
722
|
+
if (output.statusCode >= 300) {
|
|
723
|
+
return de_ListPerformanceAnalysisReportsCommandError(output, context);
|
|
724
|
+
}
|
|
725
|
+
const data = await parseBody(output.body, context);
|
|
726
|
+
let contents = {};
|
|
727
|
+
contents = de_ListPerformanceAnalysisReportsResponse(data, context);
|
|
728
|
+
const response = {
|
|
729
|
+
$metadata: deserializeMetadata(output),
|
|
730
|
+
...contents
|
|
731
|
+
};
|
|
732
|
+
return response;
|
|
733
|
+
}, "de_ListPerformanceAnalysisReportsCommand");
|
|
734
|
+
var de_ListPerformanceAnalysisReportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
735
|
+
const parsedOutput = {
|
|
736
|
+
...output,
|
|
737
|
+
body: await parseErrorBody(output.body, context)
|
|
738
|
+
};
|
|
739
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
740
|
+
switch (errorCode) {
|
|
741
|
+
case "InternalServiceError":
|
|
742
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
743
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
744
|
+
case "InvalidArgumentException":
|
|
745
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
746
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
747
|
+
case "NotAuthorizedException":
|
|
748
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
749
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
750
|
+
default:
|
|
751
|
+
const parsedBody = parsedOutput.body;
|
|
752
|
+
return throwDefaultError({
|
|
753
|
+
output,
|
|
754
|
+
parsedBody,
|
|
755
|
+
errorCode
|
|
756
|
+
});
|
|
757
|
+
}
|
|
758
|
+
}, "de_ListPerformanceAnalysisReportsCommandError");
|
|
759
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
760
|
+
if (output.statusCode >= 300) {
|
|
761
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
762
|
+
}
|
|
763
|
+
const data = await parseBody(output.body, context);
|
|
764
|
+
let contents = {};
|
|
765
|
+
contents = (0, import_smithy_client._json)(data);
|
|
766
|
+
const response = {
|
|
767
|
+
$metadata: deserializeMetadata(output),
|
|
768
|
+
...contents
|
|
769
|
+
};
|
|
770
|
+
return response;
|
|
771
|
+
}, "de_ListTagsForResourceCommand");
|
|
772
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
773
|
+
const parsedOutput = {
|
|
774
|
+
...output,
|
|
775
|
+
body: await parseErrorBody(output.body, context)
|
|
776
|
+
};
|
|
777
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
778
|
+
switch (errorCode) {
|
|
779
|
+
case "InternalServiceError":
|
|
780
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
781
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
782
|
+
case "InvalidArgumentException":
|
|
783
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
784
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
785
|
+
case "NotAuthorizedException":
|
|
786
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
787
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
788
|
+
default:
|
|
789
|
+
const parsedBody = parsedOutput.body;
|
|
790
|
+
return throwDefaultError({
|
|
791
|
+
output,
|
|
792
|
+
parsedBody,
|
|
793
|
+
errorCode
|
|
794
|
+
});
|
|
795
|
+
}
|
|
796
|
+
}, "de_ListTagsForResourceCommandError");
|
|
797
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
798
|
+
if (output.statusCode >= 300) {
|
|
799
|
+
return de_TagResourceCommandError(output, context);
|
|
800
|
+
}
|
|
801
|
+
const data = await parseBody(output.body, context);
|
|
802
|
+
let contents = {};
|
|
803
|
+
contents = (0, import_smithy_client._json)(data);
|
|
804
|
+
const response = {
|
|
805
|
+
$metadata: deserializeMetadata(output),
|
|
806
|
+
...contents
|
|
807
|
+
};
|
|
808
|
+
return response;
|
|
809
|
+
}, "de_TagResourceCommand");
|
|
810
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
811
|
+
const parsedOutput = {
|
|
812
|
+
...output,
|
|
813
|
+
body: await parseErrorBody(output.body, context)
|
|
814
|
+
};
|
|
815
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
816
|
+
switch (errorCode) {
|
|
817
|
+
case "InternalServiceError":
|
|
818
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
819
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
820
|
+
case "InvalidArgumentException":
|
|
821
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
822
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
823
|
+
case "NotAuthorizedException":
|
|
824
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
825
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
826
|
+
default:
|
|
827
|
+
const parsedBody = parsedOutput.body;
|
|
828
|
+
return throwDefaultError({
|
|
829
|
+
output,
|
|
830
|
+
parsedBody,
|
|
831
|
+
errorCode
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
}, "de_TagResourceCommandError");
|
|
835
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
836
|
+
if (output.statusCode >= 300) {
|
|
837
|
+
return de_UntagResourceCommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const data = await parseBody(output.body, context);
|
|
840
|
+
let contents = {};
|
|
841
|
+
contents = (0, import_smithy_client._json)(data);
|
|
842
|
+
const response = {
|
|
843
|
+
$metadata: deserializeMetadata(output),
|
|
844
|
+
...contents
|
|
845
|
+
};
|
|
846
|
+
return response;
|
|
847
|
+
}, "de_UntagResourceCommand");
|
|
848
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
849
|
+
const parsedOutput = {
|
|
850
|
+
...output,
|
|
851
|
+
body: await parseErrorBody(output.body, context)
|
|
852
|
+
};
|
|
853
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
854
|
+
switch (errorCode) {
|
|
855
|
+
case "InternalServiceError":
|
|
856
|
+
case "com.amazonaws.pi#InternalServiceError":
|
|
857
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
858
|
+
case "InvalidArgumentException":
|
|
859
|
+
case "com.amazonaws.pi#InvalidArgumentException":
|
|
860
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
861
|
+
case "NotAuthorizedException":
|
|
862
|
+
case "com.amazonaws.pi#NotAuthorizedException":
|
|
863
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
864
|
+
default:
|
|
865
|
+
const parsedBody = parsedOutput.body;
|
|
866
|
+
return throwDefaultError({
|
|
867
|
+
output,
|
|
868
|
+
parsedBody,
|
|
869
|
+
errorCode
|
|
870
|
+
});
|
|
871
|
+
}
|
|
872
|
+
}, "de_UntagResourceCommandError");
|
|
873
|
+
var de_InternalServiceErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
874
|
+
const body = parsedOutput.body;
|
|
875
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
876
|
+
const exception = new InternalServiceError({
|
|
877
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
878
|
+
...deserialized
|
|
879
|
+
});
|
|
880
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
881
|
+
}, "de_InternalServiceErrorRes");
|
|
882
|
+
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
883
|
+
const body = parsedOutput.body;
|
|
884
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
885
|
+
const exception = new InvalidArgumentException({
|
|
886
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
887
|
+
...deserialized
|
|
888
|
+
});
|
|
889
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
890
|
+
}, "de_InvalidArgumentExceptionRes");
|
|
891
|
+
var de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
892
|
+
const body = parsedOutput.body;
|
|
893
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
894
|
+
const exception = new NotAuthorizedException({
|
|
895
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
896
|
+
...deserialized
|
|
897
|
+
});
|
|
898
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
899
|
+
}, "de_NotAuthorizedExceptionRes");
|
|
900
|
+
var se_CreatePerformanceAnalysisReportRequest = /* @__PURE__ */ __name((input, context) => {
|
|
901
|
+
return (0, import_smithy_client.take)(input, {
|
|
902
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
903
|
+
Identifier: [],
|
|
904
|
+
ServiceType: [],
|
|
905
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
906
|
+
Tags: import_smithy_client._json
|
|
907
|
+
});
|
|
908
|
+
}, "se_CreatePerformanceAnalysisReportRequest");
|
|
909
|
+
var se_DescribeDimensionKeysRequest = /* @__PURE__ */ __name((input, context) => {
|
|
910
|
+
return (0, import_smithy_client.take)(input, {
|
|
911
|
+
AdditionalMetrics: import_smithy_client._json,
|
|
912
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
913
|
+
Filter: import_smithy_client._json,
|
|
914
|
+
GroupBy: import_smithy_client._json,
|
|
915
|
+
Identifier: [],
|
|
916
|
+
MaxResults: [],
|
|
917
|
+
Metric: [],
|
|
918
|
+
NextToken: [],
|
|
919
|
+
PartitionBy: import_smithy_client._json,
|
|
920
|
+
PeriodInSeconds: [],
|
|
921
|
+
ServiceType: [],
|
|
922
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
923
|
+
});
|
|
924
|
+
}, "se_DescribeDimensionKeysRequest");
|
|
925
|
+
var se_GetResourceMetricsRequest = /* @__PURE__ */ __name((input, context) => {
|
|
926
|
+
return (0, import_smithy_client.take)(input, {
|
|
927
|
+
EndTime: (_) => Math.round(_.getTime() / 1e3),
|
|
928
|
+
Identifier: [],
|
|
929
|
+
MaxResults: [],
|
|
930
|
+
MetricQueries: import_smithy_client._json,
|
|
931
|
+
NextToken: [],
|
|
932
|
+
PeriodAlignment: [],
|
|
933
|
+
PeriodInSeconds: [],
|
|
934
|
+
ServiceType: [],
|
|
935
|
+
StartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
936
|
+
});
|
|
937
|
+
}, "se_GetResourceMetricsRequest");
|
|
938
|
+
var de_AdditionalMetricsMap = /* @__PURE__ */ __name((output, context) => {
|
|
939
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
940
|
+
if (value === null) {
|
|
941
|
+
return acc;
|
|
942
|
+
}
|
|
943
|
+
acc[key] = (0, import_smithy_client.limitedParseDouble)(value);
|
|
944
|
+
return acc;
|
|
945
|
+
}, {});
|
|
946
|
+
}, "de_AdditionalMetricsMap");
|
|
947
|
+
var de_AnalysisReport = /* @__PURE__ */ __name((output, context) => {
|
|
948
|
+
return (0, import_smithy_client.take)(output, {
|
|
949
|
+
AnalysisReportId: import_smithy_client.expectString,
|
|
950
|
+
CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
951
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
952
|
+
Identifier: import_smithy_client.expectString,
|
|
953
|
+
Insights: (_) => de_InsightList(_, context),
|
|
954
|
+
ServiceType: import_smithy_client.expectString,
|
|
955
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
956
|
+
Status: import_smithy_client.expectString
|
|
957
|
+
});
|
|
958
|
+
}, "de_AnalysisReport");
|
|
959
|
+
var de_AnalysisReportSummary = /* @__PURE__ */ __name((output, context) => {
|
|
960
|
+
return (0, import_smithy_client.take)(output, {
|
|
961
|
+
AnalysisReportId: import_smithy_client.expectString,
|
|
962
|
+
CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
963
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
964
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
965
|
+
Status: import_smithy_client.expectString,
|
|
966
|
+
Tags: import_smithy_client._json
|
|
967
|
+
});
|
|
968
|
+
}, "de_AnalysisReportSummary");
|
|
969
|
+
var de_AnalysisReportSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
970
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
971
|
+
return de_AnalysisReportSummary(entry, context);
|
|
972
|
+
});
|
|
973
|
+
return retVal;
|
|
974
|
+
}, "de_AnalysisReportSummaryList");
|
|
975
|
+
var de_Data = /* @__PURE__ */ __name((output, context) => {
|
|
976
|
+
return (0, import_smithy_client.take)(output, {
|
|
977
|
+
PerformanceInsightsMetric: (_) => de_PerformanceInsightsMetric(_, context)
|
|
978
|
+
});
|
|
979
|
+
}, "de_Data");
|
|
980
|
+
var de_DataList = /* @__PURE__ */ __name((output, context) => {
|
|
981
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
982
|
+
return de_Data(entry, context);
|
|
983
|
+
});
|
|
984
|
+
return retVal;
|
|
985
|
+
}, "de_DataList");
|
|
986
|
+
var de_DataPoint = /* @__PURE__ */ __name((output, context) => {
|
|
987
|
+
return (0, import_smithy_client.take)(output, {
|
|
988
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
989
|
+
Value: import_smithy_client.limitedParseDouble
|
|
990
|
+
});
|
|
991
|
+
}, "de_DataPoint");
|
|
992
|
+
var de_DataPointsList = /* @__PURE__ */ __name((output, context) => {
|
|
993
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
994
|
+
return de_DataPoint(entry, context);
|
|
995
|
+
});
|
|
996
|
+
return retVal;
|
|
997
|
+
}, "de_DataPointsList");
|
|
998
|
+
var de_DescribeDimensionKeysResponse = /* @__PURE__ */ __name((output, context) => {
|
|
999
|
+
return (0, import_smithy_client.take)(output, {
|
|
1000
|
+
AlignedEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1001
|
+
AlignedStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1002
|
+
Keys: (_) => de_DimensionKeyDescriptionList(_, context),
|
|
1003
|
+
NextToken: import_smithy_client.expectString,
|
|
1004
|
+
PartitionKeys: import_smithy_client._json
|
|
1005
|
+
});
|
|
1006
|
+
}, "de_DescribeDimensionKeysResponse");
|
|
1007
|
+
var de_DimensionKeyDescription = /* @__PURE__ */ __name((output, context) => {
|
|
1008
|
+
return (0, import_smithy_client.take)(output, {
|
|
1009
|
+
AdditionalMetrics: (_) => de_AdditionalMetricsMap(_, context),
|
|
1010
|
+
Dimensions: import_smithy_client._json,
|
|
1011
|
+
Partitions: (_) => de_MetricValuesList(_, context),
|
|
1012
|
+
Total: import_smithy_client.limitedParseDouble
|
|
1013
|
+
});
|
|
1014
|
+
}, "de_DimensionKeyDescription");
|
|
1015
|
+
var de_DimensionKeyDescriptionList = /* @__PURE__ */ __name((output, context) => {
|
|
1016
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1017
|
+
return de_DimensionKeyDescription(entry, context);
|
|
1018
|
+
});
|
|
1019
|
+
return retVal;
|
|
1020
|
+
}, "de_DimensionKeyDescriptionList");
|
|
1021
|
+
var de_GetPerformanceAnalysisReportResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1022
|
+
return (0, import_smithy_client.take)(output, {
|
|
1023
|
+
AnalysisReport: (_) => de_AnalysisReport(_, context)
|
|
1024
|
+
});
|
|
1025
|
+
}, "de_GetPerformanceAnalysisReportResponse");
|
|
1026
|
+
var de_GetResourceMetricsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1027
|
+
return (0, import_smithy_client.take)(output, {
|
|
1028
|
+
AlignedEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1029
|
+
AlignedStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1030
|
+
Identifier: import_smithy_client.expectString,
|
|
1031
|
+
MetricList: (_) => de_MetricKeyDataPointsList(_, context),
|
|
1032
|
+
NextToken: import_smithy_client.expectString
|
|
1033
|
+
});
|
|
1034
|
+
}, "de_GetResourceMetricsResponse");
|
|
1035
|
+
var de_Insight = /* @__PURE__ */ __name((output, context) => {
|
|
1036
|
+
return (0, import_smithy_client.take)(output, {
|
|
1037
|
+
BaselineData: (_) => de_DataList(_, context),
|
|
1038
|
+
Context: import_smithy_client.expectString,
|
|
1039
|
+
Description: import_smithy_client.expectString,
|
|
1040
|
+
EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1041
|
+
InsightData: (_) => de_DataList(_, context),
|
|
1042
|
+
InsightId: import_smithy_client.expectString,
|
|
1043
|
+
InsightType: import_smithy_client.expectString,
|
|
1044
|
+
Recommendations: import_smithy_client._json,
|
|
1045
|
+
Severity: import_smithy_client.expectString,
|
|
1046
|
+
StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1047
|
+
SupportingInsights: (_) => de_InsightList(_, context)
|
|
1048
|
+
});
|
|
1049
|
+
}, "de_Insight");
|
|
1050
|
+
var de_InsightList = /* @__PURE__ */ __name((output, context) => {
|
|
1051
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1052
|
+
return de_Insight(entry, context);
|
|
1053
|
+
});
|
|
1054
|
+
return retVal;
|
|
1055
|
+
}, "de_InsightList");
|
|
1056
|
+
var de_ListPerformanceAnalysisReportsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1057
|
+
return (0, import_smithy_client.take)(output, {
|
|
1058
|
+
AnalysisReports: (_) => de_AnalysisReportSummaryList(_, context),
|
|
1059
|
+
NextToken: import_smithy_client.expectString
|
|
1060
|
+
});
|
|
1061
|
+
}, "de_ListPerformanceAnalysisReportsResponse");
|
|
1062
|
+
var de_MetricKeyDataPoints = /* @__PURE__ */ __name((output, context) => {
|
|
1063
|
+
return (0, import_smithy_client.take)(output, {
|
|
1064
|
+
DataPoints: (_) => de_DataPointsList(_, context),
|
|
1065
|
+
Key: import_smithy_client._json
|
|
1066
|
+
});
|
|
1067
|
+
}, "de_MetricKeyDataPoints");
|
|
1068
|
+
var de_MetricKeyDataPointsList = /* @__PURE__ */ __name((output, context) => {
|
|
1069
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1070
|
+
return de_MetricKeyDataPoints(entry, context);
|
|
1071
|
+
});
|
|
1072
|
+
return retVal;
|
|
1073
|
+
}, "de_MetricKeyDataPointsList");
|
|
1074
|
+
var de_MetricValuesList = /* @__PURE__ */ __name((output, context) => {
|
|
1075
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1076
|
+
return (0, import_smithy_client.limitedParseDouble)(entry);
|
|
1077
|
+
});
|
|
1078
|
+
return retVal;
|
|
1079
|
+
}, "de_MetricValuesList");
|
|
1080
|
+
var de_PerformanceInsightsMetric = /* @__PURE__ */ __name((output, context) => {
|
|
1081
|
+
return (0, import_smithy_client.take)(output, {
|
|
1082
|
+
Dimensions: import_smithy_client._json,
|
|
1083
|
+
DisplayName: import_smithy_client.expectString,
|
|
1084
|
+
Metric: import_smithy_client.expectString,
|
|
1085
|
+
Value: import_smithy_client.limitedParseDouble
|
|
1086
|
+
});
|
|
1087
|
+
}, "de_PerformanceInsightsMetric");
|
|
1088
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1089
|
+
httpStatusCode: output.statusCode,
|
|
1090
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1091
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1092
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1093
|
+
}), "deserializeMetadata");
|
|
1094
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1095
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(PIServiceException);
|
|
1096
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1097
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1098
|
+
const contents = {
|
|
1099
|
+
protocol,
|
|
1100
|
+
hostname,
|
|
1101
|
+
port,
|
|
1102
|
+
method: "POST",
|
|
1103
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1104
|
+
headers
|
|
1105
|
+
};
|
|
1106
|
+
if (resolvedHostname !== void 0) {
|
|
1107
|
+
contents.hostname = resolvedHostname;
|
|
1108
|
+
}
|
|
1109
|
+
if (body !== void 0) {
|
|
1110
|
+
contents.body = body;
|
|
1111
|
+
}
|
|
1112
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1113
|
+
}, "buildHttpRpcRequest");
|
|
1114
|
+
function sharedHeaders(operation) {
|
|
1115
|
+
return {
|
|
1116
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1117
|
+
"x-amz-target": `PerformanceInsightsv20180227.${operation}`
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1121
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1122
|
+
if (encoded.length) {
|
|
1123
|
+
return JSON.parse(encoded);
|
|
1124
|
+
}
|
|
1125
|
+
return {};
|
|
1126
|
+
}), "parseBody");
|
|
1127
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1128
|
+
const value = await parseBody(errorBody, context);
|
|
1129
|
+
value.message = value.message ?? value.Message;
|
|
1130
|
+
return value;
|
|
1131
|
+
}, "parseErrorBody");
|
|
1132
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1133
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1134
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1135
|
+
let cleanValue = rawValue;
|
|
1136
|
+
if (typeof cleanValue === "number") {
|
|
1137
|
+
cleanValue = cleanValue.toString();
|
|
1138
|
+
}
|
|
1139
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1140
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1141
|
+
}
|
|
1142
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1143
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1144
|
+
}
|
|
1145
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1146
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1147
|
+
}
|
|
1148
|
+
return cleanValue;
|
|
1149
|
+
}, "sanitizeErrorCode");
|
|
1150
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1151
|
+
if (headerKey !== void 0) {
|
|
1152
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1153
|
+
}
|
|
1154
|
+
if (data.code !== void 0) {
|
|
1155
|
+
return sanitizeErrorCode(data.code);
|
|
1156
|
+
}
|
|
1157
|
+
if (data["__type"] !== void 0) {
|
|
1158
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1159
|
+
}
|
|
1160
|
+
}, "loadRestJsonErrorCode");
|
|
1161
|
+
|
|
1162
|
+
// src/commands/CreatePerformanceAnalysisReportCommand.ts
|
|
1163
|
+
var _CreatePerformanceAnalysisReportCommand = class _CreatePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1164
|
+
...commonParams
|
|
1165
|
+
}).m(function(Command, cs, config, o) {
|
|
1166
|
+
return [
|
|
1167
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1168
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1169
|
+
];
|
|
1170
|
+
}).s("PerformanceInsightsv20180227", "CreatePerformanceAnalysisReport", {}).n("PIClient", "CreatePerformanceAnalysisReportCommand").f(void 0, void 0).ser(se_CreatePerformanceAnalysisReportCommand).de(de_CreatePerformanceAnalysisReportCommand).build() {
|
|
1171
|
+
};
|
|
1172
|
+
__name(_CreatePerformanceAnalysisReportCommand, "CreatePerformanceAnalysisReportCommand");
|
|
1173
|
+
var CreatePerformanceAnalysisReportCommand = _CreatePerformanceAnalysisReportCommand;
|
|
1174
|
+
|
|
1175
|
+
// src/commands/DeletePerformanceAnalysisReportCommand.ts
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
var _DeletePerformanceAnalysisReportCommand = class _DeletePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1181
|
+
...commonParams
|
|
1182
|
+
}).m(function(Command, cs, config, o) {
|
|
1183
|
+
return [
|
|
1184
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1185
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1186
|
+
];
|
|
1187
|
+
}).s("PerformanceInsightsv20180227", "DeletePerformanceAnalysisReport", {}).n("PIClient", "DeletePerformanceAnalysisReportCommand").f(void 0, void 0).ser(se_DeletePerformanceAnalysisReportCommand).de(de_DeletePerformanceAnalysisReportCommand).build() {
|
|
1188
|
+
};
|
|
1189
|
+
__name(_DeletePerformanceAnalysisReportCommand, "DeletePerformanceAnalysisReportCommand");
|
|
1190
|
+
var DeletePerformanceAnalysisReportCommand = _DeletePerformanceAnalysisReportCommand;
|
|
1191
|
+
|
|
1192
|
+
// src/commands/DescribeDimensionKeysCommand.ts
|
|
1193
|
+
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
var _DescribeDimensionKeysCommand = class _DescribeDimensionKeysCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1198
|
+
...commonParams
|
|
1199
|
+
}).m(function(Command, cs, config, o) {
|
|
1200
|
+
return [
|
|
1201
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1202
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1203
|
+
];
|
|
1204
|
+
}).s("PerformanceInsightsv20180227", "DescribeDimensionKeys", {}).n("PIClient", "DescribeDimensionKeysCommand").f(void 0, void 0).ser(se_DescribeDimensionKeysCommand).de(de_DescribeDimensionKeysCommand).build() {
|
|
1205
|
+
};
|
|
1206
|
+
__name(_DescribeDimensionKeysCommand, "DescribeDimensionKeysCommand");
|
|
1207
|
+
var DescribeDimensionKeysCommand = _DescribeDimensionKeysCommand;
|
|
1208
|
+
|
|
1209
|
+
// src/commands/GetDimensionKeyDetailsCommand.ts
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
var _GetDimensionKeyDetailsCommand = class _GetDimensionKeyDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1215
|
+
...commonParams
|
|
1216
|
+
}).m(function(Command, cs, config, o) {
|
|
1217
|
+
return [
|
|
1218
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1219
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1220
|
+
];
|
|
1221
|
+
}).s("PerformanceInsightsv20180227", "GetDimensionKeyDetails", {}).n("PIClient", "GetDimensionKeyDetailsCommand").f(void 0, void 0).ser(se_GetDimensionKeyDetailsCommand).de(de_GetDimensionKeyDetailsCommand).build() {
|
|
1222
|
+
};
|
|
1223
|
+
__name(_GetDimensionKeyDetailsCommand, "GetDimensionKeyDetailsCommand");
|
|
1224
|
+
var GetDimensionKeyDetailsCommand = _GetDimensionKeyDetailsCommand;
|
|
1225
|
+
|
|
1226
|
+
// src/commands/GetPerformanceAnalysisReportCommand.ts
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
var _GetPerformanceAnalysisReportCommand = class _GetPerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1232
|
+
...commonParams
|
|
1233
|
+
}).m(function(Command, cs, config, o) {
|
|
1234
|
+
return [
|
|
1235
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1236
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1237
|
+
];
|
|
1238
|
+
}).s("PerformanceInsightsv20180227", "GetPerformanceAnalysisReport", {}).n("PIClient", "GetPerformanceAnalysisReportCommand").f(void 0, GetPerformanceAnalysisReportResponseFilterSensitiveLog).ser(se_GetPerformanceAnalysisReportCommand).de(de_GetPerformanceAnalysisReportCommand).build() {
|
|
1239
|
+
};
|
|
1240
|
+
__name(_GetPerformanceAnalysisReportCommand, "GetPerformanceAnalysisReportCommand");
|
|
1241
|
+
var GetPerformanceAnalysisReportCommand = _GetPerformanceAnalysisReportCommand;
|
|
1242
|
+
|
|
1243
|
+
// src/commands/GetResourceMetadataCommand.ts
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
var _GetResourceMetadataCommand = class _GetResourceMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1249
|
+
...commonParams
|
|
1250
|
+
}).m(function(Command, cs, config, o) {
|
|
1251
|
+
return [
|
|
1252
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1253
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1254
|
+
];
|
|
1255
|
+
}).s("PerformanceInsightsv20180227", "GetResourceMetadata", {}).n("PIClient", "GetResourceMetadataCommand").f(void 0, void 0).ser(se_GetResourceMetadataCommand).de(de_GetResourceMetadataCommand).build() {
|
|
1256
|
+
};
|
|
1257
|
+
__name(_GetResourceMetadataCommand, "GetResourceMetadataCommand");
|
|
1258
|
+
var GetResourceMetadataCommand = _GetResourceMetadataCommand;
|
|
1259
|
+
|
|
1260
|
+
// src/commands/GetResourceMetricsCommand.ts
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
|
|
1265
|
+
var _GetResourceMetricsCommand = class _GetResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1266
|
+
...commonParams
|
|
1267
|
+
}).m(function(Command, cs, config, o) {
|
|
1268
|
+
return [
|
|
1269
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1270
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1271
|
+
];
|
|
1272
|
+
}).s("PerformanceInsightsv20180227", "GetResourceMetrics", {}).n("PIClient", "GetResourceMetricsCommand").f(void 0, void 0).ser(se_GetResourceMetricsCommand).de(de_GetResourceMetricsCommand).build() {
|
|
1273
|
+
};
|
|
1274
|
+
__name(_GetResourceMetricsCommand, "GetResourceMetricsCommand");
|
|
1275
|
+
var GetResourceMetricsCommand = _GetResourceMetricsCommand;
|
|
1276
|
+
|
|
1277
|
+
// src/commands/ListAvailableResourceDimensionsCommand.ts
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
var _ListAvailableResourceDimensionsCommand = class _ListAvailableResourceDimensionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1283
|
+
...commonParams
|
|
1284
|
+
}).m(function(Command, cs, config, o) {
|
|
1285
|
+
return [
|
|
1286
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1287
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1288
|
+
];
|
|
1289
|
+
}).s("PerformanceInsightsv20180227", "ListAvailableResourceDimensions", {}).n("PIClient", "ListAvailableResourceDimensionsCommand").f(void 0, void 0).ser(se_ListAvailableResourceDimensionsCommand).de(de_ListAvailableResourceDimensionsCommand).build() {
|
|
1290
|
+
};
|
|
1291
|
+
__name(_ListAvailableResourceDimensionsCommand, "ListAvailableResourceDimensionsCommand");
|
|
1292
|
+
var ListAvailableResourceDimensionsCommand = _ListAvailableResourceDimensionsCommand;
|
|
1293
|
+
|
|
1294
|
+
// src/commands/ListAvailableResourceMetricsCommand.ts
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
var _ListAvailableResourceMetricsCommand = class _ListAvailableResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1300
|
+
...commonParams
|
|
1301
|
+
}).m(function(Command, cs, config, o) {
|
|
1302
|
+
return [
|
|
1303
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1304
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1305
|
+
];
|
|
1306
|
+
}).s("PerformanceInsightsv20180227", "ListAvailableResourceMetrics", {}).n("PIClient", "ListAvailableResourceMetricsCommand").f(void 0, void 0).ser(se_ListAvailableResourceMetricsCommand).de(de_ListAvailableResourceMetricsCommand).build() {
|
|
1307
|
+
};
|
|
1308
|
+
__name(_ListAvailableResourceMetricsCommand, "ListAvailableResourceMetricsCommand");
|
|
1309
|
+
var ListAvailableResourceMetricsCommand = _ListAvailableResourceMetricsCommand;
|
|
1310
|
+
|
|
1311
|
+
// src/commands/ListPerformanceAnalysisReportsCommand.ts
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
var _ListPerformanceAnalysisReportsCommand = class _ListPerformanceAnalysisReportsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1317
|
+
...commonParams
|
|
1318
|
+
}).m(function(Command, cs, config, o) {
|
|
1319
|
+
return [
|
|
1320
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1321
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1322
|
+
];
|
|
1323
|
+
}).s("PerformanceInsightsv20180227", "ListPerformanceAnalysisReports", {}).n("PIClient", "ListPerformanceAnalysisReportsCommand").f(void 0, void 0).ser(se_ListPerformanceAnalysisReportsCommand).de(de_ListPerformanceAnalysisReportsCommand).build() {
|
|
1324
|
+
};
|
|
1325
|
+
__name(_ListPerformanceAnalysisReportsCommand, "ListPerformanceAnalysisReportsCommand");
|
|
1326
|
+
var ListPerformanceAnalysisReportsCommand = _ListPerformanceAnalysisReportsCommand;
|
|
1327
|
+
|
|
1328
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1334
|
+
...commonParams
|
|
1335
|
+
}).m(function(Command, cs, config, o) {
|
|
1336
|
+
return [
|
|
1337
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1338
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1339
|
+
];
|
|
1340
|
+
}).s("PerformanceInsightsv20180227", "ListTagsForResource", {}).n("PIClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1341
|
+
};
|
|
1342
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1343
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1344
|
+
|
|
1345
|
+
// src/commands/TagResourceCommand.ts
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1351
|
+
...commonParams
|
|
1352
|
+
}).m(function(Command, cs, config, o) {
|
|
1353
|
+
return [
|
|
1354
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1355
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1356
|
+
];
|
|
1357
|
+
}).s("PerformanceInsightsv20180227", "TagResource", {}).n("PIClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1358
|
+
};
|
|
1359
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1360
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
1361
|
+
|
|
1362
|
+
// src/commands/UntagResourceCommand.ts
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1368
|
+
...commonParams
|
|
1369
|
+
}).m(function(Command, cs, config, o) {
|
|
1370
|
+
return [
|
|
1371
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1372
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1373
|
+
];
|
|
1374
|
+
}).s("PerformanceInsightsv20180227", "UntagResource", {}).n("PIClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1375
|
+
};
|
|
1376
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1377
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
1378
|
+
|
|
1379
|
+
// src/PI.ts
|
|
1380
|
+
var commands = {
|
|
1381
|
+
CreatePerformanceAnalysisReportCommand,
|
|
1382
|
+
DeletePerformanceAnalysisReportCommand,
|
|
1383
|
+
DescribeDimensionKeysCommand,
|
|
1384
|
+
GetDimensionKeyDetailsCommand,
|
|
1385
|
+
GetPerformanceAnalysisReportCommand,
|
|
1386
|
+
GetResourceMetadataCommand,
|
|
1387
|
+
GetResourceMetricsCommand,
|
|
1388
|
+
ListAvailableResourceDimensionsCommand,
|
|
1389
|
+
ListAvailableResourceMetricsCommand,
|
|
1390
|
+
ListPerformanceAnalysisReportsCommand,
|
|
1391
|
+
ListTagsForResourceCommand,
|
|
1392
|
+
TagResourceCommand,
|
|
1393
|
+
UntagResourceCommand
|
|
1394
|
+
};
|
|
1395
|
+
var _PI = class _PI extends PIClient {
|
|
1396
|
+
};
|
|
1397
|
+
__name(_PI, "PI");
|
|
1398
|
+
var PI = _PI;
|
|
1399
|
+
(0, import_smithy_client.createAggregatedClient)(commands, PI);
|
|
1400
|
+
|
|
1401
|
+
// src/pagination/DescribeDimensionKeysPaginator.ts
|
|
1402
|
+
var import_core = require("@smithy/core");
|
|
1403
|
+
var paginateDescribeDimensionKeys = (0, import_core.createPaginator)(PIClient, DescribeDimensionKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
1404
|
+
|
|
1405
|
+
// src/pagination/GetResourceMetricsPaginator.ts
|
|
1406
|
+
|
|
1407
|
+
var paginateGetResourceMetrics = (0, import_core.createPaginator)(PIClient, GetResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1408
|
+
|
|
1409
|
+
// src/pagination/ListAvailableResourceDimensionsPaginator.ts
|
|
1410
|
+
|
|
1411
|
+
var paginateListAvailableResourceDimensions = (0, import_core.createPaginator)(PIClient, ListAvailableResourceDimensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1412
|
+
|
|
1413
|
+
// src/pagination/ListAvailableResourceMetricsPaginator.ts
|
|
1414
|
+
|
|
1415
|
+
var paginateListAvailableResourceMetrics = (0, import_core.createPaginator)(PIClient, ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1416
|
+
|
|
1417
|
+
// src/pagination/ListPerformanceAnalysisReportsPaginator.ts
|
|
1418
|
+
|
|
1419
|
+
var paginateListPerformanceAnalysisReports = (0, import_core.createPaginator)(PIClient, ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1420
|
+
|
|
1421
|
+
// src/index.ts
|
|
1422
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1423
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1424
|
+
0 && (module.exports = {
|
|
1425
|
+
AcceptLanguage,
|
|
1426
|
+
AnalysisReportFilterSensitiveLog,
|
|
1427
|
+
AnalysisStatus,
|
|
1428
|
+
ContextType,
|
|
1429
|
+
CreatePerformanceAnalysisReportCommand,
|
|
1430
|
+
DeletePerformanceAnalysisReportCommand,
|
|
1431
|
+
DescribeDimensionKeysCommand,
|
|
1432
|
+
DetailStatus,
|
|
1433
|
+
FeatureStatus,
|
|
1434
|
+
GetDimensionKeyDetailsCommand,
|
|
1435
|
+
GetPerformanceAnalysisReportCommand,
|
|
1436
|
+
GetPerformanceAnalysisReportResponseFilterSensitiveLog,
|
|
1437
|
+
GetResourceMetadataCommand,
|
|
1438
|
+
GetResourceMetricsCommand,
|
|
1439
|
+
InsightFilterSensitiveLog,
|
|
1440
|
+
InternalServiceError,
|
|
1441
|
+
InvalidArgumentException,
|
|
1442
|
+
ListAvailableResourceDimensionsCommand,
|
|
1443
|
+
ListAvailableResourceMetricsCommand,
|
|
1444
|
+
ListPerformanceAnalysisReportsCommand,
|
|
1445
|
+
ListTagsForResourceCommand,
|
|
1446
|
+
NotAuthorizedException,
|
|
1447
|
+
PI,
|
|
1448
|
+
PIClient,
|
|
1449
|
+
PIServiceException,
|
|
1450
|
+
PeriodAlignment,
|
|
1451
|
+
RecommendationFilterSensitiveLog,
|
|
1452
|
+
ServiceType,
|
|
1453
|
+
Severity,
|
|
1454
|
+
TagResourceCommand,
|
|
1455
|
+
TextFormat,
|
|
1456
|
+
UntagResourceCommand,
|
|
1457
|
+
__Client,
|
|
1458
|
+
paginateDescribeDimensionKeys,
|
|
1459
|
+
paginateGetResourceMetrics,
|
|
1460
|
+
paginateListAvailableResourceDimensions,
|
|
1461
|
+
paginateListAvailableResourceMetrics,
|
|
1462
|
+
paginateListPerformanceAnalysisReports
|
|
1463
|
+
});
|