@aws-sdk/client-cost-and-usage-report-service 3.321.1 → 3.326.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.
@@ -31,6 +31,10 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
31
31
  * };
32
32
  * const command = new DeleteReportDefinitionCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DeleteReportDefinitionResponse
35
+ * // ResponseMessage: "STRING_VALUE",
36
+ * // };
37
+ *
34
38
  * ```
35
39
  *
36
40
  * @param DeleteReportDefinitionCommandInput - {@link DeleteReportDefinitionCommandInput}
@@ -45,6 +49,8 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
45
49
  * @throws {@link ValidationException} (client fault)
46
50
  * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
47
51
  *
52
+ * @throws {@link CostAndUsageReportServiceServiceException}
53
+ * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
48
54
  *
49
55
  * @example To delete the AWS Cost and Usage report named ExampleReport.
50
56
  * ```javascript
@@ -32,6 +32,30 @@ export interface DescribeReportDefinitionsCommandOutput extends DescribeReportDe
32
32
  * };
33
33
  * const command = new DescribeReportDefinitionsCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DescribeReportDefinitionsResponse
36
+ * // ReportDefinitions: [ // ReportDefinitionList
37
+ * // { // ReportDefinition
38
+ * // ReportName: "STRING_VALUE", // required
39
+ * // TimeUnit: "HOURLY" || "DAILY" || "MONTHLY", // required
40
+ * // Format: "textORcsv" || "Parquet", // required
41
+ * // Compression: "ZIP" || "GZIP" || "Parquet", // required
42
+ * // AdditionalSchemaElements: [ // SchemaElementList // required
43
+ * // "RESOURCES",
44
+ * // ],
45
+ * // S3Bucket: "STRING_VALUE", // required
46
+ * // S3Prefix: "STRING_VALUE", // required
47
+ * // 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
48
+ * // AdditionalArtifacts: [ // AdditionalArtifactList
49
+ * // "REDSHIFT" || "QUICKSIGHT" || "ATHENA",
50
+ * // ],
51
+ * // RefreshClosedReports: true || false,
52
+ * // ReportVersioning: "CREATE_NEW_REPORT" || "OVERWRITE_REPORT",
53
+ * // BillingViewArn: "STRING_VALUE",
54
+ * // },
55
+ * // ],
56
+ * // NextToken: "STRING_VALUE",
57
+ * // };
58
+ *
35
59
  * ```
36
60
  *
37
61
  * @param DescribeReportDefinitionsCommandInput - {@link DescribeReportDefinitionsCommandInput}
@@ -43,6 +67,8 @@ export interface DescribeReportDefinitionsCommandOutput extends DescribeReportDe
43
67
  * @throws {@link InternalErrorException} (server fault)
44
68
  * <p>An error on the server occurred during the processing of your request. Try again later.</p>
45
69
  *
70
+ * @throws {@link CostAndUsageReportServiceServiceException}
71
+ * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
46
72
  *
47
73
  * @example To list the AWS Cost and Usage reports for the account.
48
74
  * ```javascript
@@ -49,6 +49,8 @@ export interface ModifyReportDefinitionCommandOutput extends ModifyReportDefinit
49
49
  * };
50
50
  * const command = new ModifyReportDefinitionCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // {};
53
+ *
52
54
  * ```
53
55
  *
54
56
  * @param ModifyReportDefinitionCommandInput - {@link ModifyReportDefinitionCommandInput}
@@ -63,6 +65,8 @@ export interface ModifyReportDefinitionCommandOutput extends ModifyReportDefinit
63
65
  * @throws {@link ValidationException} (client fault)
64
66
  * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
65
67
  *
68
+ * @throws {@link CostAndUsageReportServiceServiceException}
69
+ * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
66
70
  *
67
71
  */
68
72
  export declare class ModifyReportDefinitionCommand extends $Command<ModifyReportDefinitionCommandInput, ModifyReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
48
48
  * };
49
49
  * const command = new PutReportDefinitionCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param PutReportDefinitionCommandInput - {@link PutReportDefinitionCommandInput}
@@ -68,6 +70,8 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
68
70
  * @throws {@link ValidationException} (client fault)
69
71
  * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
70
72
  *
73
+ * @throws {@link CostAndUsageReportServiceServiceException}
74
+ * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
71
75
  *
72
76
  * @example To create a report named ExampleReport.
73
77
  * ```javascript
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",