@aws-sdk/client-cost-and-usage-report-service 3.975.0 → 3.978.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
|
@@ -476,6 +476,8 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
476
476
|
.build() {
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
+
const paginateDescribeReportDefinitions = core.createPaginator(CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
480
|
+
|
|
479
481
|
const commands = {
|
|
480
482
|
DeleteReportDefinitionCommand,
|
|
481
483
|
DescribeReportDefinitionsCommand,
|
|
@@ -485,11 +487,12 @@ const commands = {
|
|
|
485
487
|
TagResourceCommand,
|
|
486
488
|
UntagResourceCommand,
|
|
487
489
|
};
|
|
490
|
+
const paginators = {
|
|
491
|
+
paginateDescribeReportDefinitions,
|
|
492
|
+
};
|
|
488
493
|
class CostAndUsageReportService extends CostAndUsageReportServiceClient {
|
|
489
494
|
}
|
|
490
|
-
smithyClient.createAggregatedClient(commands, CostAndUsageReportService);
|
|
491
|
-
|
|
492
|
-
const paginateDescribeReportDefinitions = core.createPaginator(CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
495
|
+
smithyClient.createAggregatedClient(commands, CostAndUsageReportService, { paginators });
|
|
493
496
|
|
|
494
497
|
const AdditionalArtifact = {
|
|
495
498
|
ATHENA: "ATHENA",
|
|
@@ -7,6 +7,7 @@ import { PutReportDefinitionCommand, } from "./commands/PutReportDefinitionComma
|
|
|
7
7
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
8
8
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
9
9
|
import { CostAndUsageReportServiceClient } from "./CostAndUsageReportServiceClient";
|
|
10
|
+
import { paginateDescribeReportDefinitions } from "./pagination/DescribeReportDefinitionsPaginator";
|
|
10
11
|
const commands = {
|
|
11
12
|
DeleteReportDefinitionCommand,
|
|
12
13
|
DescribeReportDefinitionsCommand,
|
|
@@ -16,6 +17,9 @@ const commands = {
|
|
|
16
17
|
TagResourceCommand,
|
|
17
18
|
UntagResourceCommand,
|
|
18
19
|
};
|
|
20
|
+
const paginators = {
|
|
21
|
+
paginateDescribeReportDefinitions,
|
|
22
|
+
};
|
|
19
23
|
export class CostAndUsageReportService extends CostAndUsageReportServiceClient {
|
|
20
24
|
}
|
|
21
|
-
createAggregatedClient(commands, CostAndUsageReportService);
|
|
25
|
+
createAggregatedClient(commands, CostAndUsageReportService, { 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 { DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
|
|
3
3
|
import { DescribeReportDefinitionsCommandInput, DescribeReportDefinitionsCommandOutput } from "./commands/DescribeReportDefinitionsCommand";
|
|
4
4
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -51,6 +51,13 @@ export interface CostAndUsageReportService {
|
|
|
51
51
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
52
52
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
53
53
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link DescribeReportDefinitionsCommand}
|
|
56
|
+
* @param args - command input.
|
|
57
|
+
* @param paginationConfig - optional pagination config.
|
|
58
|
+
* @returns AsyncIterable of {@link DescribeReportDefinitionsCommandOutput}.
|
|
59
|
+
*/
|
|
60
|
+
paginateDescribeReportDefinitions(args?: DescribeReportDefinitionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<DescribeReportDefinitionsCommandOutput>;
|
|
54
61
|
}
|
|
55
62
|
/**
|
|
56
63
|
* <p>You can use the Amazon Web Services Cost and Usage Report API to programmatically create, query, and delete
|
|
@@ -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
|
DeleteReportDefinitionCommandInput,
|
|
4
8
|
DeleteReportDefinitionCommandOutput,
|
|
@@ -121,6 +125,13 @@ export interface CostAndUsageReportService {
|
|
|
121
125
|
options: __HttpHandlerOptions,
|
|
122
126
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
123
127
|
): void;
|
|
128
|
+
paginateDescribeReportDefinitions(
|
|
129
|
+
args?: DescribeReportDefinitionsCommandInput,
|
|
130
|
+
paginationConfig?: Pick<
|
|
131
|
+
PaginationConfiguration,
|
|
132
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
133
|
+
>
|
|
134
|
+
): Paginator<DescribeReportDefinitionsCommandOutput>;
|
|
124
135
|
}
|
|
125
136
|
export declare class CostAndUsageReportService
|
|
126
137
|
extends CostAndUsageReportServiceClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-and-usage-report-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost And Usage Report Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.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-cost-and-usage-report-service",
|
|
@@ -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.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
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",
|