@aws-sdk/client-pi 3.987.0 → 3.988.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.
@@ -84,7 +84,7 @@ const _LT = "ListTags";
84
84
  const _LTFR = "ListTagsForResource";
85
85
  const _LTFRR = "ListTagsForResourceRequest";
86
86
  const _LTFRRi = "ListTagsForResourceResponse";
87
- const _M = "Metric";
87
+ const _M = "Message";
88
88
  const _MD = "MetricDimensions";
89
89
  const _MDG = "MetricDimensionGroups";
90
90
  const _MDL = "MetricDimensionsList";
@@ -97,7 +97,7 @@ const _MQe = "MetricQuery";
97
97
  const _MR = "MaxResults";
98
98
  const _MS = "MarkdownString";
99
99
  const _MT = "MetricTypes";
100
- const _Me = "Message";
100
+ const _Me = "Metric";
101
101
  const _Met = "Metrics";
102
102
  const _NAE = "NotAuthorizedException";
103
103
  const _NT = "NextToken";
@@ -141,12 +141,38 @@ const _URRn = "UntagResourceResponse";
141
141
  const _V = "Value";
142
142
  const _c = "client";
143
143
  const _e = "error";
144
- const _s = "server";
145
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pi";
144
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pi";
145
+ const _se = "server";
146
146
  const n0 = "com.amazonaws.pi";
147
147
  import { TypeRegistry } from "@smithy/core/schema";
148
148
  import { InternalServiceError, InvalidArgumentException, NotAuthorizedException } from "../models/errors";
149
149
  import { PIServiceException } from "../models/PIServiceException";
150
+ const _s_registry = TypeRegistry.for(_s);
151
+ export var PIServiceException$ = [-3, _s, "PIServiceException", 0, [], []];
152
+ _s_registry.registerError(PIServiceException$, PIServiceException);
153
+ const n0_registry = TypeRegistry.for(n0);
154
+ export var InternalServiceError$ = [-3, n0, _ISE,
155
+ { [_e]: _se },
156
+ [_M],
157
+ [0]
158
+ ];
159
+ n0_registry.registerError(InternalServiceError$, InternalServiceError);
160
+ export var InvalidArgumentException$ = [-3, n0, _IAE,
161
+ { [_e]: _c },
162
+ [_M],
163
+ [0]
164
+ ];
165
+ n0_registry.registerError(InvalidArgumentException$, InvalidArgumentException);
166
+ export var NotAuthorizedException$ = [-3, n0, _NAE,
167
+ { [_e]: _c },
168
+ [_M],
169
+ [0]
170
+ ];
171
+ n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException);
172
+ export const errorTypeRegistries = [
173
+ _s_registry,
174
+ n0_registry,
175
+ ];
150
176
  var MarkdownString = [0, n0, _MS, 8, 0];
151
177
  export var AnalysisReport$ = [3, n0, _AR,
152
178
  0,
@@ -190,7 +216,7 @@ export var DeletePerformanceAnalysisReportResponse$ = [3, n0, _DPARRe,
190
216
  ];
191
217
  export var DescribeDimensionKeysRequest$ = [3, n0, _DDKR,
192
218
  0,
193
- [_ST, _I, _STt, _ET, _M, _GB, _PIS, _AM, _PB, _F, _MR, _NT],
219
+ [_ST, _I, _STt, _ET, _Me, _GB, _PIS, _AM, _PB, _F, _MR, _NT],
194
220
  [0, 0, 4, 4, 0, () => DimensionGroup$, 1, 64 | 0, () => DimensionGroup$, 128 | 0, 1, 0], 6
195
221
  ];
196
222
  export var DescribeDimensionKeysResponse$ = [3, n0, _DDKRe,
@@ -273,18 +299,6 @@ export var Insight$ = [3, n0, _Ins,
273
299
  [_II, _IT, _C, _STt, _ET, _Se, _SI, _De, _R, _ID, _BD],
274
300
  [0, 0, 0, 4, 4, 0, [() => InsightList, 0], [() => MarkdownString, 0], [() => RecommendationList, 0], () => DataList, () => DataList], 1
275
301
  ];
276
- export var InternalServiceError$ = [-3, n0, _ISE,
277
- { [_e]: _s },
278
- [_Me],
279
- [0]
280
- ];
281
- TypeRegistry.for(n0).registerError(InternalServiceError$, InternalServiceError);
282
- export var InvalidArgumentException$ = [-3, n0, _IAE,
283
- { [_e]: _c },
284
- [_Me],
285
- [0]
286
- ];
287
- TypeRegistry.for(n0).registerError(InvalidArgumentException$, InvalidArgumentException);
288
302
  export var ListAvailableResourceDimensionsRequest$ = [3, n0, _LARDR,
289
303
  0,
290
304
  [_ST, _I, _Met, _MR, _NT, _AA],
@@ -327,7 +341,7 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
327
341
  ];
328
342
  export var MetricDimensionGroups$ = [3, n0, _MDG,
329
343
  0,
330
- [_M, _Gr],
344
+ [_Me, _Gr],
331
345
  [0, () => DimensionGroupDetailList]
332
346
  ];
333
347
  export var MetricKeyDataPoints$ = [3, n0, _MKDP,
@@ -337,18 +351,12 @@ export var MetricKeyDataPoints$ = [3, n0, _MKDP,
337
351
  ];
338
352
  export var MetricQuery$ = [3, n0, _MQe,
339
353
  0,
340
- [_M, _GB, _F],
354
+ [_Me, _GB, _F],
341
355
  [0, () => DimensionGroup$, 128 | 0], 1
342
356
  ];
343
- export var NotAuthorizedException$ = [-3, n0, _NAE,
344
- { [_e]: _c },
345
- [_Me],
346
- [0]
347
- ];
348
- TypeRegistry.for(n0).registerError(NotAuthorizedException$, NotAuthorizedException);
349
357
  export var PerformanceInsightsMetric$ = [3, n0, _PIM,
350
358
  0,
351
- [_M, _DN, _Di, _F, _V],
359
+ [_Me, _DN, _Di, _F, _V],
352
360
  [0, 0, 128 | 0, 128 | 0, 1]
353
361
  ];
354
362
  export var Recommendation$ = [3, n0, _Re,
@@ -363,12 +371,12 @@ export var ResponsePartitionKey$ = [3, n0, _RPK,
363
371
  ];
364
372
  export var ResponseResourceMetric$ = [3, n0, _RRM,
365
373
  0,
366
- [_M, _De, _U],
374
+ [_Me, _De, _U],
367
375
  [0, 0, 0]
368
376
  ];
369
377
  export var ResponseResourceMetricKey$ = [3, n0, _RRMK,
370
378
  0,
371
- [_M, _Di],
379
+ [_Me, _Di],
372
380
  [0, 128 | 0], 1
373
381
  ];
374
382
  export var Tag$ = [3, n0, _Ta,
@@ -396,8 +404,6 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
396
404
  [],
397
405
  []
398
406
  ];
399
- export var PIServiceException$ = [-3, _sm, "PIServiceException", 0, [], []];
400
- TypeRegistry.for(_sm).registerError(PIServiceException$, PIServiceException);
401
407
  var AdditionalMetricsList = 64 | 0;
402
408
  var AnalysisReportSummaryList = [1, n0, _ARSL,
403
409
  0, () => AnalysisReportSummary$
@@ -1,4 +1,15 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var PIServiceException$: StaticErrorSchema;
4
+ export declare var InternalServiceError$: StaticErrorSchema;
5
+ export declare var InvalidArgumentException$: StaticErrorSchema;
6
+ export declare var NotAuthorizedException$: StaticErrorSchema;
7
+ /**
8
+ * TypeRegistry instances containing modeled errors.
9
+ * @internal
10
+ *
11
+ */
12
+ export declare const errorTypeRegistries: TypeRegistry[];
2
13
  export declare var AnalysisReport$: StaticStructureSchema;
3
14
  export declare var AnalysisReportSummary$: StaticStructureSchema;
4
15
  export declare var CreatePerformanceAnalysisReportRequest$: StaticStructureSchema;
@@ -24,8 +35,6 @@ export declare var GetResourceMetadataResponse$: StaticStructureSchema;
24
35
  export declare var GetResourceMetricsRequest$: StaticStructureSchema;
25
36
  export declare var GetResourceMetricsResponse$: StaticStructureSchema;
26
37
  export declare var Insight$: StaticStructureSchema;
27
- export declare var InternalServiceError$: StaticErrorSchema;
28
- export declare var InvalidArgumentException$: StaticErrorSchema;
29
38
  export declare var ListAvailableResourceDimensionsRequest$: StaticStructureSchema;
30
39
  export declare var ListAvailableResourceDimensionsResponse$: StaticStructureSchema;
31
40
  export declare var ListAvailableResourceMetricsRequest$: StaticStructureSchema;
@@ -37,7 +46,6 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
37
46
  export declare var MetricDimensionGroups$: StaticStructureSchema;
38
47
  export declare var MetricKeyDataPoints$: StaticStructureSchema;
39
48
  export declare var MetricQuery$: StaticStructureSchema;
40
- export declare var NotAuthorizedException$: StaticErrorSchema;
41
49
  export declare var PerformanceInsightsMetric$: StaticStructureSchema;
42
50
  export declare var Recommendation$: StaticStructureSchema;
43
51
  export declare var ResponsePartitionKey$: StaticStructureSchema;
@@ -48,7 +56,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
48
56
  export declare var TagResourceResponse$: StaticStructureSchema;
49
57
  export declare var UntagResourceRequest$: StaticStructureSchema;
50
58
  export declare var UntagResourceResponse$: StaticStructureSchema;
51
- export declare var PIServiceException$: StaticErrorSchema;
52
59
  export declare var CreatePerformanceAnalysisReport$: StaticOperationSchema;
53
60
  export declare var DeletePerformanceAnalysisReport$: StaticOperationSchema;
54
61
  export declare var DescribeDimensionKeys$: StaticOperationSchema;
@@ -1,8 +1,14 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var PIServiceException$: StaticErrorSchema;
8
+ export declare var InternalServiceError$: StaticErrorSchema;
9
+ export declare var InvalidArgumentException$: StaticErrorSchema;
10
+ export declare var NotAuthorizedException$: StaticErrorSchema;
11
+ export declare const errorTypeRegistries: TypeRegistry[];
6
12
  export declare var AnalysisReport$: StaticStructureSchema;
7
13
  export declare var AnalysisReportSummary$: StaticStructureSchema;
8
14
  export declare var CreatePerformanceAnalysisReportRequest$: StaticStructureSchema;
@@ -28,8 +34,6 @@ export declare var GetResourceMetadataResponse$: StaticStructureSchema;
28
34
  export declare var GetResourceMetricsRequest$: StaticStructureSchema;
29
35
  export declare var GetResourceMetricsResponse$: StaticStructureSchema;
30
36
  export declare var Insight$: StaticStructureSchema;
31
- export declare var InternalServiceError$: StaticErrorSchema;
32
- export declare var InvalidArgumentException$: StaticErrorSchema;
33
37
  export declare var ListAvailableResourceDimensionsRequest$: StaticStructureSchema;
34
38
  export declare var ListAvailableResourceDimensionsResponse$: StaticStructureSchema;
35
39
  export declare var ListAvailableResourceMetricsRequest$: StaticStructureSchema;
@@ -41,7 +45,6 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
41
45
  export declare var MetricDimensionGroups$: StaticStructureSchema;
42
46
  export declare var MetricKeyDataPoints$: StaticStructureSchema;
43
47
  export declare var MetricQuery$: StaticStructureSchema;
44
- export declare var NotAuthorizedException$: StaticErrorSchema;
45
48
  export declare var PerformanceInsightsMetric$: StaticStructureSchema;
46
49
  export declare var Recommendation$: StaticStructureSchema;
47
50
  export declare var ResponsePartitionKey$: StaticStructureSchema;
@@ -52,7 +55,6 @@ export declare var TagResourceRequest$: StaticStructureSchema;
52
55
  export declare var TagResourceResponse$: StaticStructureSchema;
53
56
  export declare var UntagResourceRequest$: StaticStructureSchema;
54
57
  export declare var UntagResourceResponse$: StaticStructureSchema;
55
- export declare var PIServiceException$: StaticErrorSchema;
56
58
  export declare var CreatePerformanceAnalysisReport$: StaticOperationSchema;
57
59
  export declare var DeletePerformanceAnalysisReport$: StaticOperationSchema;
58
60
  export declare var DescribeDimensionKeys$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pi",
3
3
  "description": "AWS SDK for JavaScript Pi Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pi",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.8",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.988.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.6",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",