@aws-sdk/client-pi 3.100.0 → 3.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-pi
|
package/dist-cjs/PIClient.js
CHANGED
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class PIClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
package/dist-es/PIClient.js
CHANGED
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var PIClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -423,9 +423,7 @@ export interface DescribeDimensionKeysRequest {
|
|
|
423
423
|
* </li>
|
|
424
424
|
* </ul>
|
|
425
425
|
*/
|
|
426
|
-
Filter?:
|
|
427
|
-
[key: string]: string;
|
|
428
|
-
};
|
|
426
|
+
Filter?: Record<string, string>;
|
|
429
427
|
/**
|
|
430
428
|
* <p>The maximum number of items to return in the response. If more items exist than the specified <code>MaxRecords</code> value, a
|
|
431
429
|
* pagination token is included in the response so that the remaining results can be retrieved. </p>
|
|
@@ -451,9 +449,7 @@ export interface DimensionKeyDescription {
|
|
|
451
449
|
/**
|
|
452
450
|
* <p>A map of name-value pairs for the dimensions in the group.</p>
|
|
453
451
|
*/
|
|
454
|
-
Dimensions?:
|
|
455
|
-
[key: string]: string;
|
|
456
|
-
};
|
|
452
|
+
Dimensions?: Record<string, string>;
|
|
457
453
|
/**
|
|
458
454
|
* <p>The aggregated metric value for the dimensions, over the requested time range.</p>
|
|
459
455
|
*/
|
|
@@ -461,9 +457,7 @@ export interface DimensionKeyDescription {
|
|
|
461
457
|
/**
|
|
462
458
|
* <p>A map that contains the value for each additional metric.</p>
|
|
463
459
|
*/
|
|
464
|
-
AdditionalMetrics?:
|
|
465
|
-
[key: string]: number;
|
|
466
|
-
};
|
|
460
|
+
AdditionalMetrics?: Record<string, number>;
|
|
467
461
|
/**
|
|
468
462
|
* <p>If <code>PartitionBy</code> was specified, <code>PartitionKeys</code> contains the dimensions that were.</p>
|
|
469
463
|
*/
|
|
@@ -484,9 +478,7 @@ export interface ResponsePartitionKey {
|
|
|
484
478
|
/**
|
|
485
479
|
* <p>A dimension map that contains the dimensions for this partition.</p>
|
|
486
480
|
*/
|
|
487
|
-
Dimensions:
|
|
488
|
-
[key: string]: string;
|
|
489
|
-
} | undefined;
|
|
481
|
+
Dimensions: Record<string, string> | undefined;
|
|
490
482
|
}
|
|
491
483
|
export declare namespace ResponsePartitionKey {
|
|
492
484
|
/**
|
|
@@ -820,9 +812,7 @@ export interface GetResourceMetadataResponse {
|
|
|
820
812
|
* <p>The metadata for different features. For example, the metadata might indicate that a feature is
|
|
821
813
|
* turned on or off on a specific DB instance.</p>
|
|
822
814
|
*/
|
|
823
|
-
Features?:
|
|
824
|
-
[key: string]: FeatureMetadata;
|
|
825
|
-
};
|
|
815
|
+
Features?: Record<string, FeatureMetadata>;
|
|
826
816
|
}
|
|
827
817
|
export declare namespace GetResourceMetadataResponse {
|
|
828
818
|
/**
|
|
@@ -879,9 +869,7 @@ export interface MetricQuery {
|
|
|
879
869
|
* </li>
|
|
880
870
|
* </ul>
|
|
881
871
|
*/
|
|
882
|
-
Filter?:
|
|
883
|
-
[key: string]: string;
|
|
884
|
-
};
|
|
872
|
+
Filter?: Record<string, string>;
|
|
885
873
|
}
|
|
886
874
|
export declare namespace MetricQuery {
|
|
887
875
|
/**
|
|
@@ -1013,9 +1001,7 @@ export interface ResponseResourceMetricKey {
|
|
|
1013
1001
|
/**
|
|
1014
1002
|
* <p>The valid dimensions for the metric.</p>
|
|
1015
1003
|
*/
|
|
1016
|
-
Dimensions?:
|
|
1017
|
-
[key: string]: string;
|
|
1018
|
-
};
|
|
1004
|
+
Dimensions?: Record<string, string>;
|
|
1019
1005
|
}
|
|
1020
1006
|
export declare namespace ResponseResourceMetricKey {
|
|
1021
1007
|
/**
|
|
@@ -48,9 +48,7 @@ export interface DescribeDimensionKeysRequest {
|
|
|
48
48
|
|
|
49
49
|
PartitionBy?: DimensionGroup;
|
|
50
50
|
|
|
51
|
-
Filter?:
|
|
52
|
-
[key: string]: string;
|
|
53
|
-
};
|
|
51
|
+
Filter?: Record<string, string>;
|
|
54
52
|
|
|
55
53
|
MaxResults?: number;
|
|
56
54
|
|
|
@@ -63,15 +61,11 @@ export declare namespace DescribeDimensionKeysRequest {
|
|
|
63
61
|
|
|
64
62
|
export interface DimensionKeyDescription {
|
|
65
63
|
|
|
66
|
-
Dimensions?:
|
|
67
|
-
[key: string]: string;
|
|
68
|
-
};
|
|
64
|
+
Dimensions?: Record<string, string>;
|
|
69
65
|
|
|
70
66
|
Total?: number;
|
|
71
67
|
|
|
72
|
-
AdditionalMetrics?:
|
|
73
|
-
[key: string]: number;
|
|
74
|
-
};
|
|
68
|
+
AdditionalMetrics?: Record<string, number>;
|
|
75
69
|
|
|
76
70
|
Partitions?: number[];
|
|
77
71
|
}
|
|
@@ -82,9 +76,7 @@ export declare namespace DimensionKeyDescription {
|
|
|
82
76
|
|
|
83
77
|
export interface ResponsePartitionKey {
|
|
84
78
|
|
|
85
|
-
Dimensions:
|
|
86
|
-
[key: string]: string;
|
|
87
|
-
} | undefined;
|
|
79
|
+
Dimensions: Record<string, string> | undefined;
|
|
88
80
|
}
|
|
89
81
|
export declare namespace ResponsePartitionKey {
|
|
90
82
|
|
|
@@ -223,9 +215,7 @@ export interface GetResourceMetadataResponse {
|
|
|
223
215
|
|
|
224
216
|
Identifier?: string;
|
|
225
217
|
|
|
226
|
-
Features?:
|
|
227
|
-
[key: string]: FeatureMetadata;
|
|
228
|
-
};
|
|
218
|
+
Features?: Record<string, FeatureMetadata>;
|
|
229
219
|
}
|
|
230
220
|
export declare namespace GetResourceMetadataResponse {
|
|
231
221
|
|
|
@@ -238,9 +228,7 @@ export interface MetricQuery {
|
|
|
238
228
|
|
|
239
229
|
GroupBy?: DimensionGroup;
|
|
240
230
|
|
|
241
|
-
Filter?:
|
|
242
|
-
[key: string]: string;
|
|
243
|
-
};
|
|
231
|
+
Filter?: Record<string, string>;
|
|
244
232
|
}
|
|
245
233
|
export declare namespace MetricQuery {
|
|
246
234
|
|
|
@@ -273,9 +261,7 @@ export interface ResponseResourceMetricKey {
|
|
|
273
261
|
|
|
274
262
|
Metric: string | undefined;
|
|
275
263
|
|
|
276
|
-
Dimensions?:
|
|
277
|
-
[key: string]: string;
|
|
278
|
-
};
|
|
264
|
+
Dimensions?: Record<string, string>;
|
|
279
265
|
}
|
|
280
266
|
export declare namespace ResponseResourceMetricKey {
|
|
281
267
|
|
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.
|
|
4
|
+
"version": "3.105.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|