@aws-sdk/client-pi 3.975.0 → 3.980.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/index.js +18 -11
- package/dist-es/PI.js +13 -1
- package/dist-types/PI.d.ts +36 -1
- package/dist-types/ts3.4/PI.d.ts +40 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -803,6 +803,16 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
803
803
|
.build() {
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
+
const paginateDescribeDimensionKeys = core.createPaginator(PIClient, DescribeDimensionKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
807
|
+
|
|
808
|
+
const paginateGetResourceMetrics = core.createPaginator(PIClient, GetResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
809
|
+
|
|
810
|
+
const paginateListAvailableResourceDimensions = core.createPaginator(PIClient, ListAvailableResourceDimensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
811
|
+
|
|
812
|
+
const paginateListAvailableResourceMetrics = core.createPaginator(PIClient, ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
813
|
+
|
|
814
|
+
const paginateListPerformanceAnalysisReports = core.createPaginator(PIClient, ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
815
|
+
|
|
806
816
|
const commands = {
|
|
807
817
|
CreatePerformanceAnalysisReportCommand,
|
|
808
818
|
DeletePerformanceAnalysisReportCommand,
|
|
@@ -818,19 +828,16 @@ const commands = {
|
|
|
818
828
|
TagResourceCommand,
|
|
819
829
|
UntagResourceCommand,
|
|
820
830
|
};
|
|
831
|
+
const paginators = {
|
|
832
|
+
paginateDescribeDimensionKeys,
|
|
833
|
+
paginateGetResourceMetrics,
|
|
834
|
+
paginateListAvailableResourceDimensions,
|
|
835
|
+
paginateListAvailableResourceMetrics,
|
|
836
|
+
paginateListPerformanceAnalysisReports,
|
|
837
|
+
};
|
|
821
838
|
class PI extends PIClient {
|
|
822
839
|
}
|
|
823
|
-
smithyClient.createAggregatedClient(commands, PI);
|
|
824
|
-
|
|
825
|
-
const paginateDescribeDimensionKeys = core.createPaginator(PIClient, DescribeDimensionKeysCommand, "NextToken", "NextToken", "MaxResults");
|
|
826
|
-
|
|
827
|
-
const paginateGetResourceMetrics = core.createPaginator(PIClient, GetResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
828
|
-
|
|
829
|
-
const paginateListAvailableResourceDimensions = core.createPaginator(PIClient, ListAvailableResourceDimensionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
830
|
-
|
|
831
|
-
const paginateListAvailableResourceMetrics = core.createPaginator(PIClient, ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
|
|
832
|
-
|
|
833
|
-
const paginateListPerformanceAnalysisReports = core.createPaginator(PIClient, ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
840
|
+
smithyClient.createAggregatedClient(commands, PI, { paginators });
|
|
834
841
|
|
|
835
842
|
const AcceptLanguage = {
|
|
836
843
|
EN_US: "EN_US",
|
package/dist-es/PI.js
CHANGED
|
@@ -12,6 +12,11 @@ import { ListPerformanceAnalysisReportsCommand, } from "./commands/ListPerforman
|
|
|
12
12
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
13
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
14
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
15
|
+
import { paginateDescribeDimensionKeys } from "./pagination/DescribeDimensionKeysPaginator";
|
|
16
|
+
import { paginateGetResourceMetrics } from "./pagination/GetResourceMetricsPaginator";
|
|
17
|
+
import { paginateListAvailableResourceDimensions } from "./pagination/ListAvailableResourceDimensionsPaginator";
|
|
18
|
+
import { paginateListAvailableResourceMetrics } from "./pagination/ListAvailableResourceMetricsPaginator";
|
|
19
|
+
import { paginateListPerformanceAnalysisReports } from "./pagination/ListPerformanceAnalysisReportsPaginator";
|
|
15
20
|
import { PIClient } from "./PIClient";
|
|
16
21
|
const commands = {
|
|
17
22
|
CreatePerformanceAnalysisReportCommand,
|
|
@@ -28,6 +33,13 @@ const commands = {
|
|
|
28
33
|
TagResourceCommand,
|
|
29
34
|
UntagResourceCommand,
|
|
30
35
|
};
|
|
36
|
+
const paginators = {
|
|
37
|
+
paginateDescribeDimensionKeys,
|
|
38
|
+
paginateGetResourceMetrics,
|
|
39
|
+
paginateListAvailableResourceDimensions,
|
|
40
|
+
paginateListAvailableResourceMetrics,
|
|
41
|
+
paginateListPerformanceAnalysisReports,
|
|
42
|
+
};
|
|
31
43
|
export class PI extends PIClient {
|
|
32
44
|
}
|
|
33
|
-
createAggregatedClient(commands, PI);
|
|
45
|
+
createAggregatedClient(commands, PI, { paginators });
|
package/dist-types/PI.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreatePerformanceAnalysisReportCommandInput, CreatePerformanceAnalysisReportCommandOutput } from "./commands/CreatePerformanceAnalysisReportCommand";
|
|
3
3
|
import { DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput } from "./commands/DeletePerformanceAnalysisReportCommand";
|
|
4
4
|
import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
|
|
@@ -92,6 +92,41 @@ export interface PI {
|
|
|
92
92
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
93
93
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
94
94
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link DescribeDimensionKeysCommand}
|
|
97
|
+
* @param args - command input.
|
|
98
|
+
* @param paginationConfig - optional pagination config.
|
|
99
|
+
* @returns AsyncIterable of {@link DescribeDimensionKeysCommandOutput}.
|
|
100
|
+
*/
|
|
101
|
+
paginateDescribeDimensionKeys(args: DescribeDimensionKeysCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeDimensionKeysCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link GetResourceMetricsCommand}
|
|
104
|
+
* @param args - command input.
|
|
105
|
+
* @param paginationConfig - optional pagination config.
|
|
106
|
+
* @returns AsyncIterable of {@link GetResourceMetricsCommandOutput}.
|
|
107
|
+
*/
|
|
108
|
+
paginateGetResourceMetrics(args: GetResourceMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetResourceMetricsCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link ListAvailableResourceDimensionsCommand}
|
|
111
|
+
* @param args - command input.
|
|
112
|
+
* @param paginationConfig - optional pagination config.
|
|
113
|
+
* @returns AsyncIterable of {@link ListAvailableResourceDimensionsCommandOutput}.
|
|
114
|
+
*/
|
|
115
|
+
paginateListAvailableResourceDimensions(args: ListAvailableResourceDimensionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAvailableResourceDimensionsCommandOutput>;
|
|
116
|
+
/**
|
|
117
|
+
* @see {@link ListAvailableResourceMetricsCommand}
|
|
118
|
+
* @param args - command input.
|
|
119
|
+
* @param paginationConfig - optional pagination config.
|
|
120
|
+
* @returns AsyncIterable of {@link ListAvailableResourceMetricsCommandOutput}.
|
|
121
|
+
*/
|
|
122
|
+
paginateListAvailableResourceMetrics(args: ListAvailableResourceMetricsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAvailableResourceMetricsCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link ListPerformanceAnalysisReportsCommand}
|
|
125
|
+
* @param args - command input.
|
|
126
|
+
* @param paginationConfig - optional pagination config.
|
|
127
|
+
* @returns AsyncIterable of {@link ListPerformanceAnalysisReportsCommandOutput}.
|
|
128
|
+
*/
|
|
129
|
+
paginateListPerformanceAnalysisReports(args: ListPerformanceAnalysisReportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPerformanceAnalysisReportsCommandOutput>;
|
|
95
130
|
}
|
|
96
131
|
/**
|
|
97
132
|
* <fullname>Amazon RDS Performance Insights</fullname>
|
package/dist-types/ts3.4/PI.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreatePerformanceAnalysisReportCommandInput,
|
|
4
8
|
CreatePerformanceAnalysisReportCommandOutput,
|
|
@@ -222,5 +226,40 @@ export interface PI {
|
|
|
222
226
|
options: __HttpHandlerOptions,
|
|
223
227
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
224
228
|
): void;
|
|
229
|
+
paginateDescribeDimensionKeys(
|
|
230
|
+
args: DescribeDimensionKeysCommandInput,
|
|
231
|
+
paginationConfig?: Pick<
|
|
232
|
+
PaginationConfiguration,
|
|
233
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
234
|
+
>
|
|
235
|
+
): Paginator<DescribeDimensionKeysCommandOutput>;
|
|
236
|
+
paginateGetResourceMetrics(
|
|
237
|
+
args: GetResourceMetricsCommandInput,
|
|
238
|
+
paginationConfig?: Pick<
|
|
239
|
+
PaginationConfiguration,
|
|
240
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
241
|
+
>
|
|
242
|
+
): Paginator<GetResourceMetricsCommandOutput>;
|
|
243
|
+
paginateListAvailableResourceDimensions(
|
|
244
|
+
args: ListAvailableResourceDimensionsCommandInput,
|
|
245
|
+
paginationConfig?: Pick<
|
|
246
|
+
PaginationConfiguration,
|
|
247
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
248
|
+
>
|
|
249
|
+
): Paginator<ListAvailableResourceDimensionsCommandOutput>;
|
|
250
|
+
paginateListAvailableResourceMetrics(
|
|
251
|
+
args: ListAvailableResourceMetricsCommandInput,
|
|
252
|
+
paginationConfig?: Pick<
|
|
253
|
+
PaginationConfiguration,
|
|
254
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
255
|
+
>
|
|
256
|
+
): Paginator<ListAvailableResourceMetricsCommandOutput>;
|
|
257
|
+
paginateListPerformanceAnalysisReports(
|
|
258
|
+
args: ListPerformanceAnalysisReportsCommandInput,
|
|
259
|
+
paginationConfig?: Pick<
|
|
260
|
+
PaginationConfiguration,
|
|
261
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
262
|
+
>
|
|
263
|
+
): Paginator<ListPerformanceAnalysisReportsCommandOutput>;
|
|
225
264
|
}
|
|
226
265
|
export declare class PI extends PIClient implements PI {}
|
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.980.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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.5",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.4",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.5",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.980.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.3",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.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.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
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
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
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.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|