@aws-sdk/client-cost-and-usage-report-service 3.1136.0 → 3.1138.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
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1137.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -268,10 +268,10 @@ const _lS = "lastStatus";
|
|
|
268
268
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.costandusagereportservice";
|
|
269
269
|
const _se = "server";
|
|
270
270
|
const n0 = "com.amazonaws.costandusagereportservice";
|
|
271
|
-
const _s_registry = TypeRegistry
|
|
271
|
+
const _s_registry = new TypeRegistry(_s);
|
|
272
272
|
var CostAndUsageReportServiceServiceException$ = [-3, _s, "CostAndUsageReportServiceServiceException", 0, [], []];
|
|
273
273
|
_s_registry.registerError(CostAndUsageReportServiceServiceException$, CostAndUsageReportServiceServiceException);
|
|
274
|
-
const n0_registry = TypeRegistry
|
|
274
|
+
const n0_registry = new TypeRegistry(n0);
|
|
275
275
|
var DuplicateReportNameException$ = [-3, n0, _DRNE,
|
|
276
276
|
{ [_e]: _c },
|
|
277
277
|
[_M],
|
|
@@ -60,10 +60,10 @@ const n0 = "com.amazonaws.costandusagereportservice";
|
|
|
60
60
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
61
61
|
import { CostAndUsageReportServiceServiceException } from "../models/CostAndUsageReportServiceServiceException";
|
|
62
62
|
import { DuplicateReportNameException, InternalErrorException, ReportLimitReachedException, ResourceNotFoundException, ValidationException, } from "../models/errors";
|
|
63
|
-
const _s_registry = TypeRegistry
|
|
63
|
+
const _s_registry = new TypeRegistry(_s);
|
|
64
64
|
export var CostAndUsageReportServiceServiceException$ = [-3, _s, "CostAndUsageReportServiceServiceException", 0, [], []];
|
|
65
65
|
_s_registry.registerError(CostAndUsageReportServiceServiceException$, CostAndUsageReportServiceServiceException);
|
|
66
|
-
const n0_registry = TypeRegistry
|
|
66
|
+
const n0_registry = new TypeRegistry(n0);
|
|
67
67
|
export var DuplicateReportNameException$ = [-3, n0, _DRNE,
|
|
68
68
|
{ [_e]: _c },
|
|
69
69
|
[_M],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { type DeleteReportDefinitionCommandInput, type DeleteReportDefinitionCommandOutput } from "./commands/DeleteReportDefinitionCommand";
|
|
3
3
|
import { type DescribeReportDefinitionsCommandInput, type DescribeReportDefinitionsCommandOutput } from "./commands/DescribeReportDefinitionsCommand";
|
|
4
4
|
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
@@ -7,50 +7,56 @@ import { type PutReportDefinitionCommandInput, type PutReportDefinitionCommandOu
|
|
|
7
7
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
8
8
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
9
9
|
import { CostAndUsageReportServiceClient } from "./CostAndUsageReportServiceClient";
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export interface CostAndUsageReportServiceRequestOptions extends __HttpHandlerOptions {
|
|
14
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
15
|
+
}
|
|
10
16
|
export interface CostAndUsageReportService {
|
|
11
17
|
/**
|
|
12
18
|
* @see {@link DeleteReportDefinitionCommand}
|
|
13
19
|
*/
|
|
14
|
-
deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options?:
|
|
20
|
+
deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<DeleteReportDefinitionCommandOutput>;
|
|
15
21
|
deleteReportDefinition(args: DeleteReportDefinitionCommandInput, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
|
|
16
|
-
deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options:
|
|
22
|
+
deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
|
|
17
23
|
/**
|
|
18
24
|
* @see {@link DescribeReportDefinitionsCommand}
|
|
19
25
|
*/
|
|
20
26
|
describeReportDefinitions(): Promise<DescribeReportDefinitionsCommandOutput>;
|
|
21
|
-
describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options?:
|
|
27
|
+
describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<DescribeReportDefinitionsCommandOutput>;
|
|
22
28
|
describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, cb: (err: any, data?: DescribeReportDefinitionsCommandOutput) => void): void;
|
|
23
|
-
describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options:
|
|
29
|
+
describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: DescribeReportDefinitionsCommandOutput) => void): void;
|
|
24
30
|
/**
|
|
25
31
|
* @see {@link ListTagsForResourceCommand}
|
|
26
32
|
*/
|
|
27
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?:
|
|
33
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
28
34
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
29
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options:
|
|
35
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
30
36
|
/**
|
|
31
37
|
* @see {@link ModifyReportDefinitionCommand}
|
|
32
38
|
*/
|
|
33
|
-
modifyReportDefinition(args: ModifyReportDefinitionCommandInput, options?:
|
|
39
|
+
modifyReportDefinition(args: ModifyReportDefinitionCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<ModifyReportDefinitionCommandOutput>;
|
|
34
40
|
modifyReportDefinition(args: ModifyReportDefinitionCommandInput, cb: (err: any, data?: ModifyReportDefinitionCommandOutput) => void): void;
|
|
35
|
-
modifyReportDefinition(args: ModifyReportDefinitionCommandInput, options:
|
|
41
|
+
modifyReportDefinition(args: ModifyReportDefinitionCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: ModifyReportDefinitionCommandOutput) => void): void;
|
|
36
42
|
/**
|
|
37
43
|
* @see {@link PutReportDefinitionCommand}
|
|
38
44
|
*/
|
|
39
|
-
putReportDefinition(args: PutReportDefinitionCommandInput, options?:
|
|
45
|
+
putReportDefinition(args: PutReportDefinitionCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<PutReportDefinitionCommandOutput>;
|
|
40
46
|
putReportDefinition(args: PutReportDefinitionCommandInput, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
|
|
41
|
-
putReportDefinition(args: PutReportDefinitionCommandInput, options:
|
|
47
|
+
putReportDefinition(args: PutReportDefinitionCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
|
|
42
48
|
/**
|
|
43
49
|
* @see {@link TagResourceCommand}
|
|
44
50
|
*/
|
|
45
|
-
tagResource(args: TagResourceCommandInput, options?:
|
|
51
|
+
tagResource(args: TagResourceCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<TagResourceCommandOutput>;
|
|
46
52
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
47
|
-
tagResource(args: TagResourceCommandInput, options:
|
|
53
|
+
tagResource(args: TagResourceCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
48
54
|
/**
|
|
49
55
|
* @see {@link UntagResourceCommand}
|
|
50
56
|
*/
|
|
51
|
-
untagResource(args: UntagResourceCommandInput, options?:
|
|
57
|
+
untagResource(args: UntagResourceCommandInput, options?: CostAndUsageReportServiceRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
52
58
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
53
|
-
untagResource(args: UntagResourceCommandInput, options:
|
|
59
|
+
untagResource(args: UntagResourceCommandInput, options: CostAndUsageReportServiceRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
54
60
|
/**
|
|
55
61
|
* @see {@link DescribeReportDefinitionsCommand}
|
|
56
62
|
* @param args - command input.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -29,10 +30,13 @@ import {
|
|
|
29
30
|
UntagResourceCommandOutput,
|
|
30
31
|
} from "./commands/UntagResourceCommand";
|
|
31
32
|
import { CostAndUsageReportServiceClient } from "./CostAndUsageReportServiceClient";
|
|
33
|
+
export interface CostAndUsageReportServiceRequestOptions extends __HttpHandlerOptions {
|
|
34
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
35
|
+
}
|
|
32
36
|
export interface CostAndUsageReportService {
|
|
33
37
|
deleteReportDefinition(
|
|
34
38
|
args: DeleteReportDefinitionCommandInput,
|
|
35
|
-
options?:
|
|
39
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
36
40
|
): Promise<DeleteReportDefinitionCommandOutput>;
|
|
37
41
|
deleteReportDefinition(
|
|
38
42
|
args: DeleteReportDefinitionCommandInput,
|
|
@@ -40,13 +44,13 @@ export interface CostAndUsageReportService {
|
|
|
40
44
|
): void;
|
|
41
45
|
deleteReportDefinition(
|
|
42
46
|
args: DeleteReportDefinitionCommandInput,
|
|
43
|
-
options:
|
|
47
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
44
48
|
cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void,
|
|
45
49
|
): void;
|
|
46
50
|
describeReportDefinitions(): Promise<DescribeReportDefinitionsCommandOutput>;
|
|
47
51
|
describeReportDefinitions(
|
|
48
52
|
args: DescribeReportDefinitionsCommandInput,
|
|
49
|
-
options?:
|
|
53
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
50
54
|
): Promise<DescribeReportDefinitionsCommandOutput>;
|
|
51
55
|
describeReportDefinitions(
|
|
52
56
|
args: DescribeReportDefinitionsCommandInput,
|
|
@@ -54,12 +58,12 @@ export interface CostAndUsageReportService {
|
|
|
54
58
|
): void;
|
|
55
59
|
describeReportDefinitions(
|
|
56
60
|
args: DescribeReportDefinitionsCommandInput,
|
|
57
|
-
options:
|
|
61
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
58
62
|
cb: (err: any, data?: DescribeReportDefinitionsCommandOutput) => void,
|
|
59
63
|
): void;
|
|
60
64
|
listTagsForResource(
|
|
61
65
|
args: ListTagsForResourceCommandInput,
|
|
62
|
-
options?:
|
|
66
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
63
67
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
64
68
|
listTagsForResource(
|
|
65
69
|
args: ListTagsForResourceCommandInput,
|
|
@@ -67,12 +71,12 @@ export interface CostAndUsageReportService {
|
|
|
67
71
|
): void;
|
|
68
72
|
listTagsForResource(
|
|
69
73
|
args: ListTagsForResourceCommandInput,
|
|
70
|
-
options:
|
|
74
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
71
75
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
72
76
|
): void;
|
|
73
77
|
modifyReportDefinition(
|
|
74
78
|
args: ModifyReportDefinitionCommandInput,
|
|
75
|
-
options?:
|
|
79
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
76
80
|
): Promise<ModifyReportDefinitionCommandOutput>;
|
|
77
81
|
modifyReportDefinition(
|
|
78
82
|
args: ModifyReportDefinitionCommandInput,
|
|
@@ -80,12 +84,12 @@ export interface CostAndUsageReportService {
|
|
|
80
84
|
): void;
|
|
81
85
|
modifyReportDefinition(
|
|
82
86
|
args: ModifyReportDefinitionCommandInput,
|
|
83
|
-
options:
|
|
87
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
84
88
|
cb: (err: any, data?: ModifyReportDefinitionCommandOutput) => void,
|
|
85
89
|
): void;
|
|
86
90
|
putReportDefinition(
|
|
87
91
|
args: PutReportDefinitionCommandInput,
|
|
88
|
-
options?:
|
|
92
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
89
93
|
): Promise<PutReportDefinitionCommandOutput>;
|
|
90
94
|
putReportDefinition(
|
|
91
95
|
args: PutReportDefinitionCommandInput,
|
|
@@ -93,12 +97,12 @@ export interface CostAndUsageReportService {
|
|
|
93
97
|
): void;
|
|
94
98
|
putReportDefinition(
|
|
95
99
|
args: PutReportDefinitionCommandInput,
|
|
96
|
-
options:
|
|
100
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
97
101
|
cb: (err: any, data?: PutReportDefinitionCommandOutput) => void,
|
|
98
102
|
): void;
|
|
99
103
|
tagResource(
|
|
100
104
|
args: TagResourceCommandInput,
|
|
101
|
-
options?:
|
|
105
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
102
106
|
): Promise<TagResourceCommandOutput>;
|
|
103
107
|
tagResource(
|
|
104
108
|
args: TagResourceCommandInput,
|
|
@@ -106,12 +110,12 @@ export interface CostAndUsageReportService {
|
|
|
106
110
|
): void;
|
|
107
111
|
tagResource(
|
|
108
112
|
args: TagResourceCommandInput,
|
|
109
|
-
options:
|
|
113
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
110
114
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
111
115
|
): void;
|
|
112
116
|
untagResource(
|
|
113
117
|
args: UntagResourceCommandInput,
|
|
114
|
-
options?:
|
|
118
|
+
options?: CostAndUsageReportServiceRequestOptions,
|
|
115
119
|
): Promise<UntagResourceCommandOutput>;
|
|
116
120
|
untagResource(
|
|
117
121
|
args: UntagResourceCommandInput,
|
|
@@ -119,7 +123,7 @@ export interface CostAndUsageReportService {
|
|
|
119
123
|
): void;
|
|
120
124
|
untagResource(
|
|
121
125
|
args: UntagResourceCommandInput,
|
|
122
|
-
options:
|
|
126
|
+
options: CostAndUsageReportServiceRequestOptions,
|
|
123
127
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
124
128
|
): void;
|
|
125
129
|
paginateDescribeReportDefinitions(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-and-usage-report-service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cost And Usage Report Service Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cost-and-usage-report-service",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|