@aws-sdk/client-pi 3.298.0 → 3.300.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.
@@ -31,6 +31,36 @@ 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 = {
35
+ * ServiceType: "RDS" || "DOCDB", // required
36
+ * Identifier: "STRING_VALUE", // required
37
+ * StartTime: new Date("TIMESTAMP"), // required
38
+ * EndTime: new Date("TIMESTAMP"), // required
39
+ * Metric: "STRING_VALUE", // required
40
+ * PeriodInSeconds: Number("int"),
41
+ * GroupBy: {
42
+ * Group: "STRING_VALUE", // required
43
+ * Dimensions: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * Limit: Number("int"),
47
+ * },
48
+ * AdditionalMetrics: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * PartitionBy: {
52
+ * Group: "STRING_VALUE", // required
53
+ * Dimensions: [
54
+ * "STRING_VALUE",
55
+ * ],
56
+ * Limit: Number("int"),
57
+ * },
58
+ * Filter: {
59
+ * "<keys>": "STRING_VALUE",
60
+ * },
61
+ * MaxResults: Number("int"),
62
+ * NextToken: "STRING_VALUE",
63
+ * };
34
64
  * const command = new DescribeDimensionKeysCommand(input);
35
65
  * const response = await client.send(command);
36
66
  * ```
@@ -29,6 +29,15 @@ 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 = {
33
+ * ServiceType: "RDS" || "DOCDB", // required
34
+ * Identifier: "STRING_VALUE", // required
35
+ * Group: "STRING_VALUE", // required
36
+ * GroupIdentifier: "STRING_VALUE", // required
37
+ * RequestedDimensions: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * };
32
41
  * const command = new GetDimensionKeyDetailsCommand(input);
33
42
  * const response = await client.send(command);
34
43
  * ```
@@ -28,6 +28,10 @@ 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 = {
32
+ * ServiceType: "RDS" || "DOCDB", // required
33
+ * Identifier: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new GetResourceMetadataCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -32,6 +32,31 @@ 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 = {
36
+ * ServiceType: "RDS" || "DOCDB", // required
37
+ * Identifier: "STRING_VALUE", // required
38
+ * MetricQueries: [ // required
39
+ * {
40
+ * Metric: "STRING_VALUE", // required
41
+ * GroupBy: {
42
+ * Group: "STRING_VALUE", // required
43
+ * Dimensions: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * Limit: Number("int"),
47
+ * },
48
+ * Filter: {
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * },
52
+ * ],
53
+ * StartTime: new Date("TIMESTAMP"), // required
54
+ * EndTime: new Date("TIMESTAMP"), // required
55
+ * PeriodInSeconds: Number("int"),
56
+ * MaxResults: Number("int"),
57
+ * NextToken: "STRING_VALUE",
58
+ * PeriodAlignment: "END_TIME" || "START_TIME",
59
+ * };
35
60
  * const command = new GetResourceMetricsCommand(input);
36
61
  * const response = await client.send(command);
37
62
  * ```
@@ -26,6 +26,15 @@ 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 = {
30
+ * ServiceType: "RDS" || "DOCDB", // required
31
+ * Identifier: "STRING_VALUE", // required
32
+ * Metrics: [ // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * MaxResults: Number("int"),
36
+ * NextToken: "STRING_VALUE",
37
+ * };
29
38
  * const command = new ListAvailableResourceDimensionsCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -27,6 +27,15 @@ 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 = {
31
+ * ServiceType: "RDS" || "DOCDB", // required
32
+ * Identifier: "STRING_VALUE", // required
33
+ * MetricTypes: [ // required
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
30
39
  * const command = new ListAvailableResourceMetricsCommand(input);
31
40
  * const response = await client.send(command);
32
41
  * ```
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.298.0",
4
+ "version": "3.300.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,23 +21,23 @@
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.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.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",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },