@aws-sdk/client-cost-and-usage-report-service 3.287.0 → 3.289.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.
@@ -29,6 +29,17 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
29
29
  * @see {@link DeleteReportDefinitionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for CostAndUsageReportServiceClient's `config` shape.
31
31
  *
32
+ * @example To delete the AWS Cost and Usage report named ExampleReport.
33
+ * ```javascript
34
+ * // The following example deletes the AWS Cost and Usage report named ExampleReport.
35
+ * const input = {
36
+ * "ReportName": "ExampleReport"
37
+ * };
38
+ * const command = new DeleteReportDefinitionCommand(input);
39
+ * await client.send(command);
40
+ * // example id: to-delete-a-report
41
+ * ```
42
+ *
32
43
  */
33
44
  export declare class DeleteReportDefinitionCommand extends $Command<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig> {
34
45
  readonly input: DeleteReportDefinitionCommandInput;
@@ -29,6 +29,53 @@ export interface DescribeReportDefinitionsCommandOutput extends DescribeReportDe
29
29
  * @see {@link DescribeReportDefinitionsCommandOutput} for command's `response` shape.
30
30
  * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for CostAndUsageReportServiceClient's `config` shape.
31
31
  *
32
+ * @example To list the AWS Cost and Usage reports for the account.
33
+ * ```javascript
34
+ * // The following example lists the AWS Cost and Usage reports for the account.
35
+ * const input = {
36
+ * "MaxResults": 5
37
+ * };
38
+ * const command = new DescribeReportDefinitionsCommand(input);
39
+ * const response = await client.send(command);
40
+ * /* response ==
41
+ * {
42
+ * "ReportDefinitions": [
43
+ * {
44
+ * "AdditionalArtifacts": [
45
+ * "QUICKSIGHT"
46
+ * ],
47
+ * "AdditionalSchemaElements": [
48
+ * "RESOURCES"
49
+ * ],
50
+ * "Compression": "GZIP",
51
+ * "Format": "textORcsv",
52
+ * "ReportName": "ExampleReport",
53
+ * "S3Bucket": "example-s3-bucket",
54
+ * "S3Prefix": "exampleprefix",
55
+ * "S3Region": "us-east-1",
56
+ * "TimeUnit": "HOURLY"
57
+ * },
58
+ * {
59
+ * "AdditionalArtifacts": [
60
+ * "QUICKSIGHT"
61
+ * ],
62
+ * "AdditionalSchemaElements": [
63
+ * "RESOURCES"
64
+ * ],
65
+ * "Compression": "GZIP",
66
+ * "Format": "textORcsv",
67
+ * "ReportName": "ExampleReport2",
68
+ * "S3Bucket": "example-s3-bucket",
69
+ * "S3Prefix": "exampleprefix",
70
+ * "S3Region": "us-east-1",
71
+ * "TimeUnit": "HOURLY"
72
+ * }
73
+ * ]
74
+ * }
75
+ * *\/
76
+ * // example id: to-retrieve-report-definitions
77
+ * ```
78
+ *
32
79
  */
33
80
  export declare class DescribeReportDefinitionsCommand extends $Command<DescribeReportDefinitionsCommandInput, DescribeReportDefinitionsCommandOutput, CostAndUsageReportServiceClientResolvedConfig> {
34
81
  readonly input: DescribeReportDefinitionsCommandInput;
@@ -29,6 +29,32 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
29
29
  * @see {@link PutReportDefinitionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for CostAndUsageReportServiceClient's `config` shape.
31
31
  *
32
+ * @example To create a report named ExampleReport.
33
+ * ```javascript
34
+ * // The following example creates a AWS Cost and Usage report named ExampleReport.
35
+ * const input = {
36
+ * "ReportDefinition": {
37
+ * "AdditionalArtifacts": [
38
+ * "REDSHIFT",
39
+ * "QUICKSIGHT"
40
+ * ],
41
+ * "AdditionalSchemaElements": [
42
+ * "RESOURCES"
43
+ * ],
44
+ * "Compression": "ZIP",
45
+ * "Format": "textORcsv",
46
+ * "ReportName": "ExampleReport",
47
+ * "S3Bucket": "example-s3-bucket",
48
+ * "S3Prefix": "exampleprefix",
49
+ * "S3Region": "us-east-1",
50
+ * "TimeUnit": "DAILY"
51
+ * }
52
+ * };
53
+ * const command = new PutReportDefinitionCommand(input);
54
+ * await client.send(command);
55
+ * // example id: to-create-a-report-definitions
56
+ * ```
57
+ *
32
58
  */
33
59
  export declare class PutReportDefinitionCommand extends $Command<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig> {
34
60
  readonly input: PutReportDefinitionCommandInput;
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.287.0",
4
+ "version": "3.289.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",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.287.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.287.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.287.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.289.0",
24
+ "@aws-sdk/config-resolver": "3.289.0",
25
+ "@aws-sdk/credential-provider-node": "3.289.0",
26
+ "@aws-sdk/fetch-http-handler": "3.289.0",
27
+ "@aws-sdk/hash-node": "3.289.0",
28
+ "@aws-sdk/invalid-dependency": "3.289.0",
29
+ "@aws-sdk/middleware-content-length": "3.289.0",
30
+ "@aws-sdk/middleware-endpoint": "3.289.0",
31
+ "@aws-sdk/middleware-host-header": "3.289.0",
32
+ "@aws-sdk/middleware-logger": "3.289.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
+ "@aws-sdk/middleware-retry": "3.289.0",
35
+ "@aws-sdk/middleware-serde": "3.289.0",
36
+ "@aws-sdk/middleware-signing": "3.289.0",
37
+ "@aws-sdk/middleware-stack": "3.289.0",
38
+ "@aws-sdk/middleware-user-agent": "3.289.0",
39
+ "@aws-sdk/node-config-provider": "3.289.0",
40
+ "@aws-sdk/node-http-handler": "3.289.0",
41
+ "@aws-sdk/protocol-http": "3.289.0",
42
+ "@aws-sdk/smithy-client": "3.289.0",
43
+ "@aws-sdk/types": "3.289.0",
44
+ "@aws-sdk/url-parser": "3.289.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
+ "@aws-sdk/util-endpoints": "3.289.0",
51
+ "@aws-sdk/util-retry": "3.289.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.289.0",
53
+ "@aws-sdk/util-user-agent-node": "3.289.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },