@aws-sdk/client-cost-and-usage-report-service 3.299.0 → 3.301.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 +3 -0
- package/dist-types/commands/DescribeReportDefinitionsCommand.d.ts +4 -0
- package/dist-types/commands/ModifyReportDefinitionCommand.d.ts +21 -0
- package/dist-types/commands/PutReportDefinitionCommand.d.ts +20 -0
- package/package.json +8 -8
|
@@ -26,6 +26,9 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
|
|
|
26
26
|
* import { CostAndUsageReportServiceClient, DeleteReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
|
|
27
27
|
* // const { CostAndUsageReportServiceClient, DeleteReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
|
|
28
28
|
* const client = new CostAndUsageReportServiceClient(config);
|
|
29
|
+
* const input = { // DeleteReportDefinitionRequest
|
|
30
|
+
* ReportName: "STRING_VALUE",
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteReportDefinitionCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeReportDefinitionsCommandOutput extends DescribeReportDe
|
|
|
26
26
|
* import { CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
|
|
27
27
|
* // const { CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
|
|
28
28
|
* const client = new CostAndUsageReportServiceClient(config);
|
|
29
|
+
* const input = { // DescribeReportDefinitionsRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeReportDefinitionsCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface ModifyReportDefinitionCommandOutput extends ModifyReportDefinit
|
|
|
26
26
|
* import { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
|
|
27
27
|
* // const { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
|
|
28
28
|
* const client = new CostAndUsageReportServiceClient(config);
|
|
29
|
+
* const input = { // ModifyReportDefinitionRequest
|
|
30
|
+
* ReportName: "STRING_VALUE", // required
|
|
31
|
+
* ReportDefinition: { // ReportDefinition
|
|
32
|
+
* ReportName: "STRING_VALUE", // required
|
|
33
|
+
* TimeUnit: "HOURLY" || "DAILY" || "MONTHLY", // required
|
|
34
|
+
* Format: "textORcsv" || "Parquet", // required
|
|
35
|
+
* Compression: "ZIP" || "GZIP" || "Parquet", // required
|
|
36
|
+
* AdditionalSchemaElements: [ // SchemaElementList // required
|
|
37
|
+
* "RESOURCES",
|
|
38
|
+
* ],
|
|
39
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
40
|
+
* S3Prefix: "STRING_VALUE", // required
|
|
41
|
+
* S3Region: "af-south-1" || "ap-east-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ca-central-1" || "eu-central-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "cn-north-1" || "cn-northwest-1", // required
|
|
42
|
+
* AdditionalArtifacts: [ // AdditionalArtifactList
|
|
43
|
+
* "REDSHIFT" || "QUICKSIGHT" || "ATHENA",
|
|
44
|
+
* ],
|
|
45
|
+
* RefreshClosedReports: true || false,
|
|
46
|
+
* ReportVersioning: "CREATE_NEW_REPORT" || "OVERWRITE_REPORT",
|
|
47
|
+
* BillingViewArn: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
29
50
|
* const command = new ModifyReportDefinitionCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|
|
@@ -26,6 +26,26 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
|
|
|
26
26
|
* import { CostAndUsageReportServiceClient, PutReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
|
|
27
27
|
* // const { CostAndUsageReportServiceClient, PutReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
|
|
28
28
|
* const client = new CostAndUsageReportServiceClient(config);
|
|
29
|
+
* const input = { // PutReportDefinitionRequest
|
|
30
|
+
* ReportDefinition: { // ReportDefinition
|
|
31
|
+
* ReportName: "STRING_VALUE", // required
|
|
32
|
+
* TimeUnit: "HOURLY" || "DAILY" || "MONTHLY", // required
|
|
33
|
+
* Format: "textORcsv" || "Parquet", // required
|
|
34
|
+
* Compression: "ZIP" || "GZIP" || "Parquet", // required
|
|
35
|
+
* AdditionalSchemaElements: [ // SchemaElementList // required
|
|
36
|
+
* "RESOURCES",
|
|
37
|
+
* ],
|
|
38
|
+
* S3Bucket: "STRING_VALUE", // required
|
|
39
|
+
* S3Prefix: "STRING_VALUE", // required
|
|
40
|
+
* S3Region: "af-south-1" || "ap-east-1" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ca-central-1" || "eu-central-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "eu-north-1" || "eu-south-1" || "eu-south-2" || "me-central-1" || "me-south-1" || "sa-east-1" || "us-east-1" || "us-east-2" || "us-west-1" || "us-west-2" || "cn-north-1" || "cn-northwest-1", // required
|
|
41
|
+
* AdditionalArtifacts: [ // AdditionalArtifactList
|
|
42
|
+
* "REDSHIFT" || "QUICKSIGHT" || "ATHENA",
|
|
43
|
+
* ],
|
|
44
|
+
* RefreshClosedReports: true || false,
|
|
45
|
+
* ReportVersioning: "CREATE_NEW_REPORT" || "OVERWRITE_REPORT",
|
|
46
|
+
* BillingViewArn: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
29
49
|
* const command = new PutReportDefinitionCommand(input);
|
|
30
50
|
* const response = await client.send(command);
|
|
31
51
|
* ```
|
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.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|