@aws-sdk/client-cost-and-usage-report-service 3.775.0 → 3.782.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-types/commands/DeleteReportDefinitionCommand.d.ts +7 -4
- package/dist-types/commands/DescribeReportDefinitionsCommand.d.ts +23 -23
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ModifyReportDefinitionCommand.d.ts +1 -0
- package/dist-types/commands/PutReportDefinitionCommand.d.ts +16 -13
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/package.json +5 -5
|
@@ -61,18 +61,21 @@ declare const DeleteReportDefinitionCommand_base: {
|
|
|
61
61
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
63
63
|
*
|
|
64
|
-
*
|
|
64
|
+
*
|
|
65
65
|
* @example To delete the AWS Cost and Usage report named ExampleReport.
|
|
66
66
|
* ```javascript
|
|
67
67
|
* // The following example deletes the AWS Cost and Usage report named ExampleReport.
|
|
68
68
|
* const input = {
|
|
69
|
-
*
|
|
69
|
+
* ReportName: "ExampleReport"
|
|
70
70
|
* };
|
|
71
71
|
* const command = new DeleteReportDefinitionCommand(input);
|
|
72
|
-
* await client.send(command);
|
|
73
|
-
*
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* metadata only *\/ }
|
|
75
|
+
* *\/
|
|
74
76
|
* ```
|
|
75
77
|
*
|
|
78
|
+
* @public
|
|
76
79
|
*/
|
|
77
80
|
export declare class DeleteReportDefinitionCommand extends DeleteReportDefinitionCommand_base {
|
|
78
81
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,54 +82,54 @@ declare const DescribeReportDefinitionsCommand_base: {
|
|
|
82
82
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To list the AWS Cost and Usage reports for the account.
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following example lists the AWS Cost and Usage reports for the account.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
90
|
+
* MaxResults: 5
|
|
91
91
|
* };
|
|
92
92
|
* const command = new DescribeReportDefinitionsCommand(input);
|
|
93
93
|
* const response = await client.send(command);
|
|
94
|
-
* /* response
|
|
94
|
+
* /* response is
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* ReportDefinitions: [
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
98
|
+
* AdditionalArtifacts: [
|
|
99
99
|
* "QUICKSIGHT"
|
|
100
100
|
* ],
|
|
101
|
-
*
|
|
101
|
+
* AdditionalSchemaElements: [
|
|
102
102
|
* "RESOURCES"
|
|
103
103
|
* ],
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
104
|
+
* Compression: "GZIP",
|
|
105
|
+
* Format: "textORcsv",
|
|
106
|
+
* ReportName: "ExampleReport",
|
|
107
|
+
* S3Bucket: "example-s3-bucket",
|
|
108
|
+
* S3Prefix: "exampleprefix",
|
|
109
|
+
* S3Region: "us-east-1",
|
|
110
|
+
* TimeUnit: "HOURLY"
|
|
111
111
|
* },
|
|
112
112
|
* {
|
|
113
|
-
*
|
|
113
|
+
* AdditionalArtifacts: [
|
|
114
114
|
* "QUICKSIGHT"
|
|
115
115
|
* ],
|
|
116
|
-
*
|
|
116
|
+
* AdditionalSchemaElements: [
|
|
117
117
|
* "RESOURCES"
|
|
118
118
|
* ],
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
119
|
+
* Compression: "GZIP",
|
|
120
|
+
* Format: "textORcsv",
|
|
121
|
+
* ReportName: "ExampleReport2",
|
|
122
|
+
* S3Bucket: "example-s3-bucket",
|
|
123
|
+
* S3Prefix: "exampleprefix",
|
|
124
|
+
* S3Region: "us-east-1",
|
|
125
|
+
* TimeUnit: "HOURLY"
|
|
126
126
|
* }
|
|
127
127
|
* ]
|
|
128
128
|
* }
|
|
129
129
|
* *\/
|
|
130
|
-
* // example id: to-retrieve-report-definitions
|
|
131
130
|
* ```
|
|
132
131
|
*
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class DescribeReportDefinitionsCommand extends DescribeReportDefinitionsCommand_base {
|
|
135
135
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -68,6 +68,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
68
68
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -80,6 +80,7 @@ declare const ModifyReportDefinitionCommand_base: {
|
|
|
80
80
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class ModifyReportDefinitionCommand extends ModifyReportDefinitionCommand_base {
|
|
@@ -94,33 +94,36 @@ declare const PutReportDefinitionCommand_base: {
|
|
|
94
94
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
95
95
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
96
96
|
*
|
|
97
|
-
*
|
|
97
|
+
*
|
|
98
98
|
* @example To create a report named ExampleReport.
|
|
99
99
|
* ```javascript
|
|
100
100
|
* // The following example creates a AWS Cost and Usage report named ExampleReport.
|
|
101
101
|
* const input = {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* ReportDefinition: {
|
|
103
|
+
* AdditionalArtifacts: [
|
|
104
104
|
* "REDSHIFT",
|
|
105
105
|
* "QUICKSIGHT"
|
|
106
106
|
* ],
|
|
107
|
-
*
|
|
107
|
+
* AdditionalSchemaElements: [
|
|
108
108
|
* "RESOURCES"
|
|
109
109
|
* ],
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
110
|
+
* Compression: "ZIP",
|
|
111
|
+
* Format: "textORcsv",
|
|
112
|
+
* ReportName: "ExampleReport",
|
|
113
|
+
* S3Bucket: "example-s3-bucket",
|
|
114
|
+
* S3Prefix: "exampleprefix",
|
|
115
|
+
* S3Region: "us-east-1",
|
|
116
|
+
* TimeUnit: "DAILY"
|
|
117
117
|
* }
|
|
118
118
|
* };
|
|
119
119
|
* const command = new PutReportDefinitionCommand(input);
|
|
120
|
-
* await client.send(command);
|
|
121
|
-
*
|
|
120
|
+
* const response = await client.send(command);
|
|
121
|
+
* /* response is
|
|
122
|
+
* { /* metadata only *\/ }
|
|
123
|
+
* *\/
|
|
122
124
|
* ```
|
|
123
125
|
*
|
|
126
|
+
* @public
|
|
124
127
|
*/
|
|
125
128
|
export declare class PutReportDefinitionCommand extends PutReportDefinitionCommand_base {
|
|
126
129
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,6 +67,7 @@ declare const TagResourceCommand_base: {
|
|
|
67
67
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
69
69
|
*
|
|
70
|
+
*
|
|
70
71
|
* @public
|
|
71
72
|
*/
|
|
72
73
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const UntagResourceCommand_base: {
|
|
|
64
64
|
* @throws {@link CostAndUsageReportServiceServiceException}
|
|
65
65
|
* <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
|
|
66
66
|
*
|
|
67
|
+
*
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
70
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
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.782.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-and-usage-report-service",
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.782.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.782.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.782.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.782.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
|
35
35
|
"@smithy/core": "^3.2.0",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|