@aws-sdk/client-bcm-data-exports 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
CHANGED
|
@@ -748,6 +748,12 @@ class UpdateExportCommand extends smithyClient.Command
|
|
|
748
748
|
.build() {
|
|
749
749
|
}
|
|
750
750
|
|
|
751
|
+
const paginateListExecutions = core.createPaginator(BCMDataExportsClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
752
|
+
|
|
753
|
+
const paginateListExports = core.createPaginator(BCMDataExportsClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
754
|
+
|
|
755
|
+
const paginateListTables = core.createPaginator(BCMDataExportsClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
756
|
+
|
|
751
757
|
const commands = {
|
|
752
758
|
CreateExportCommand,
|
|
753
759
|
DeleteExportCommand,
|
|
@@ -762,15 +768,14 @@ const commands = {
|
|
|
762
768
|
UntagResourceCommand,
|
|
763
769
|
UpdateExportCommand,
|
|
764
770
|
};
|
|
771
|
+
const paginators = {
|
|
772
|
+
paginateListExecutions,
|
|
773
|
+
paginateListExports,
|
|
774
|
+
paginateListTables,
|
|
775
|
+
};
|
|
765
776
|
class BCMDataExports extends BCMDataExportsClient {
|
|
766
777
|
}
|
|
767
|
-
smithyClient.createAggregatedClient(commands, BCMDataExports);
|
|
768
|
-
|
|
769
|
-
const paginateListExecutions = core.createPaginator(BCMDataExportsClient, ListExecutionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
770
|
-
|
|
771
|
-
const paginateListExports = core.createPaginator(BCMDataExportsClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
772
|
-
|
|
773
|
-
const paginateListTables = core.createPaginator(BCMDataExportsClient, ListTablesCommand, "NextToken", "NextToken", "MaxResults");
|
|
778
|
+
smithyClient.createAggregatedClient(commands, BCMDataExports, { paginators });
|
|
774
779
|
|
|
775
780
|
const CompressionOption = {
|
|
776
781
|
GZIP: "GZIP",
|
|
@@ -12,6 +12,9 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
12
12
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
13
13
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
14
14
|
import { UpdateExportCommand, } from "./commands/UpdateExportCommand";
|
|
15
|
+
import { paginateListExecutions } from "./pagination/ListExecutionsPaginator";
|
|
16
|
+
import { paginateListExports } from "./pagination/ListExportsPaginator";
|
|
17
|
+
import { paginateListTables } from "./pagination/ListTablesPaginator";
|
|
15
18
|
const commands = {
|
|
16
19
|
CreateExportCommand,
|
|
17
20
|
DeleteExportCommand,
|
|
@@ -26,6 +29,11 @@ const commands = {
|
|
|
26
29
|
UntagResourceCommand,
|
|
27
30
|
UpdateExportCommand,
|
|
28
31
|
};
|
|
32
|
+
const paginators = {
|
|
33
|
+
paginateListExecutions,
|
|
34
|
+
paginateListExports,
|
|
35
|
+
paginateListTables,
|
|
36
|
+
};
|
|
29
37
|
export class BCMDataExports extends BCMDataExportsClient {
|
|
30
38
|
}
|
|
31
|
-
createAggregatedClient(commands, BCMDataExports);
|
|
39
|
+
createAggregatedClient(commands, BCMDataExports, { paginators });
|
|
@@ -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 { BCMDataExportsClient } from "./BCMDataExportsClient";
|
|
3
3
|
import { CreateExportCommandInput, CreateExportCommandOutput } from "./commands/CreateExportCommand";
|
|
4
4
|
import { DeleteExportCommandInput, DeleteExportCommandOutput } from "./commands/DeleteExportCommand";
|
|
@@ -87,6 +87,27 @@ export interface BCMDataExports {
|
|
|
87
87
|
updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
|
|
88
88
|
updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
89
89
|
updateExport(args: UpdateExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link ListExecutionsCommand}
|
|
92
|
+
* @param args - command input.
|
|
93
|
+
* @param paginationConfig - optional pagination config.
|
|
94
|
+
* @returns AsyncIterable of {@link ListExecutionsCommandOutput}.
|
|
95
|
+
*/
|
|
96
|
+
paginateListExecutions(args: ListExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExecutionsCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListExportsCommand}
|
|
99
|
+
* @param args - command input.
|
|
100
|
+
* @param paginationConfig - optional pagination config.
|
|
101
|
+
* @returns AsyncIterable of {@link ListExportsCommandOutput}.
|
|
102
|
+
*/
|
|
103
|
+
paginateListExports(args?: ListExportsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExportsCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link ListTablesCommand}
|
|
106
|
+
* @param args - command input.
|
|
107
|
+
* @param paginationConfig - optional pagination config.
|
|
108
|
+
* @returns AsyncIterable of {@link ListTablesCommandOutput}.
|
|
109
|
+
*/
|
|
110
|
+
paginateListTables(args?: ListTablesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTablesCommandOutput>;
|
|
90
111
|
}
|
|
91
112
|
/**
|
|
92
113
|
* <p>You can use the Data Exports API to create customized exports from multiple Amazon Web Services cost management and billing datasets, such as cost and usage data and cost
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { BCMDataExportsClient } from "./BCMDataExportsClient";
|
|
3
7
|
import {
|
|
4
8
|
CreateExportCommandInput,
|
|
@@ -207,6 +211,27 @@ export interface BCMDataExports {
|
|
|
207
211
|
options: __HttpHandlerOptions,
|
|
208
212
|
cb: (err: any, data?: UpdateExportCommandOutput) => void
|
|
209
213
|
): void;
|
|
214
|
+
paginateListExecutions(
|
|
215
|
+
args: ListExecutionsCommandInput,
|
|
216
|
+
paginationConfig?: Pick<
|
|
217
|
+
PaginationConfiguration,
|
|
218
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
219
|
+
>
|
|
220
|
+
): Paginator<ListExecutionsCommandOutput>;
|
|
221
|
+
paginateListExports(
|
|
222
|
+
args?: ListExportsCommandInput,
|
|
223
|
+
paginationConfig?: Pick<
|
|
224
|
+
PaginationConfiguration,
|
|
225
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
226
|
+
>
|
|
227
|
+
): Paginator<ListExportsCommandOutput>;
|
|
228
|
+
paginateListTables(
|
|
229
|
+
args?: ListTablesCommandInput,
|
|
230
|
+
paginationConfig?: Pick<
|
|
231
|
+
PaginationConfiguration,
|
|
232
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
233
|
+
>
|
|
234
|
+
): Paginator<ListTablesCommandOutput>;
|
|
210
235
|
}
|
|
211
236
|
export declare class BCMDataExports
|
|
212
237
|
extends BCMDataExportsClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bcm-data-exports",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bcm Data Exports 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-bcm-data-exports",
|
|
@@ -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",
|