@aws-sdk/client-pi 3.300.0 → 3.301.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-types/commands/DescribeDimensionKeysCommand.d.ts +5 -5
- package/dist-types/commands/GetDimensionKeyDetailsCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceMetadataCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceMetricsCommand.d.ts +6 -6
- package/dist-types/commands/ListAvailableResourceDimensionsCommand.d.ts +2 -2
- package/dist-types/commands/ListAvailableResourceMetricsCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -31,21 +31,21 @@ export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKey
|
|
|
31
31
|
* import { PIClient, DescribeDimensionKeysCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
32
32
|
* // const { PIClient, DescribeDimensionKeysCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
33
33
|
* const client = new PIClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DescribeDimensionKeysRequest
|
|
35
35
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
36
36
|
* Identifier: "STRING_VALUE", // required
|
|
37
37
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
38
38
|
* EndTime: new Date("TIMESTAMP"), // required
|
|
39
39
|
* Metric: "STRING_VALUE", // required
|
|
40
40
|
* PeriodInSeconds: Number("int"),
|
|
41
|
-
* GroupBy: {
|
|
41
|
+
* GroupBy: { // DimensionGroup
|
|
42
42
|
* Group: "STRING_VALUE", // required
|
|
43
|
-
* Dimensions: [
|
|
43
|
+
* Dimensions: [ // RequestStringList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* Limit: Number("int"),
|
|
47
47
|
* },
|
|
48
|
-
* AdditionalMetrics: [
|
|
48
|
+
* AdditionalMetrics: [ // AdditionalMetricsList
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
51
|
* PartitionBy: {
|
|
@@ -55,7 +55,7 @@ export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKey
|
|
|
55
55
|
* ],
|
|
56
56
|
* Limit: Number("int"),
|
|
57
57
|
* },
|
|
58
|
-
* Filter: {
|
|
58
|
+
* Filter: { // MetricQueryFilterMap
|
|
59
59
|
* "<keys>": "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
61
|
* MaxResults: Number("int"),
|
|
@@ -29,12 +29,12 @@ export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDeta
|
|
|
29
29
|
* import { PIClient, GetDimensionKeyDetailsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
30
30
|
* // const { PIClient, GetDimensionKeyDetailsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
31
31
|
* const client = new PIClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // GetDimensionKeyDetailsRequest
|
|
33
33
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
34
34
|
* Identifier: "STRING_VALUE", // required
|
|
35
35
|
* Group: "STRING_VALUE", // required
|
|
36
36
|
* GroupIdentifier: "STRING_VALUE", // required
|
|
37
|
-
* RequestedDimensions: [
|
|
37
|
+
* RequestedDimensions: [ // RequestedDimensionList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -28,7 +28,7 @@ export interface GetResourceMetadataCommandOutput extends GetResourceMetadataRes
|
|
|
28
28
|
* import { PIClient, GetResourceMetadataCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
29
29
|
* // const { PIClient, GetResourceMetadataCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
30
30
|
* const client = new PIClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // GetResourceMetadataRequest
|
|
32
32
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
33
33
|
* Identifier: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -32,20 +32,20 @@ export interface GetResourceMetricsCommandOutput extends GetResourceMetricsRespo
|
|
|
32
32
|
* import { PIClient, GetResourceMetricsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
33
33
|
* // const { PIClient, GetResourceMetricsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
34
34
|
* const client = new PIClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // GetResourceMetricsRequest
|
|
36
36
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
37
37
|
* Identifier: "STRING_VALUE", // required
|
|
38
|
-
* MetricQueries: [ // required
|
|
39
|
-
* {
|
|
38
|
+
* MetricQueries: [ // MetricQueryList // required
|
|
39
|
+
* { // MetricQuery
|
|
40
40
|
* Metric: "STRING_VALUE", // required
|
|
41
|
-
* GroupBy: {
|
|
41
|
+
* GroupBy: { // DimensionGroup
|
|
42
42
|
* Group: "STRING_VALUE", // required
|
|
43
|
-
* Dimensions: [
|
|
43
|
+
* Dimensions: [ // RequestStringList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
46
|
* Limit: Number("int"),
|
|
47
47
|
* },
|
|
48
|
-
* Filter: {
|
|
48
|
+
* Filter: { // MetricQueryFilterMap
|
|
49
49
|
* "<keys>": "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* },
|
|
@@ -26,10 +26,10 @@ export interface ListAvailableResourceDimensionsCommandOutput extends ListAvaila
|
|
|
26
26
|
* import { PIClient, ListAvailableResourceDimensionsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
27
27
|
* // const { PIClient, ListAvailableResourceDimensionsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
28
28
|
* const client = new PIClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListAvailableResourceDimensionsRequest
|
|
30
30
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
31
31
|
* Identifier: "STRING_VALUE", // required
|
|
32
|
-
* Metrics: [ // required
|
|
32
|
+
* Metrics: [ // DimensionsMetricList // required
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* MaxResults: Number("int"),
|
|
@@ -27,10 +27,10 @@ export interface ListAvailableResourceMetricsCommandOutput extends ListAvailable
|
|
|
27
27
|
* import { PIClient, ListAvailableResourceMetricsCommand } from "@aws-sdk/client-pi"; // ES Modules import
|
|
28
28
|
* // const { PIClient, ListAvailableResourceMetricsCommand } = require("@aws-sdk/client-pi"); // CommonJS import
|
|
29
29
|
* const client = new PIClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListAvailableResourceMetricsRequest
|
|
31
31
|
* ServiceType: "RDS" || "DOCDB", // required
|
|
32
32
|
* Identifier: "STRING_VALUE", // required
|
|
33
|
-
* MetricTypes: [ // required
|
|
33
|
+
* MetricTypes: [ // MetricTypeList // required
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* NextToken: "STRING_VALUE",
|
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.301.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|