@aws-sdk/client-cost-and-usage-report-service 3.529.1 → 3.535.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.
Files changed (27) hide show
  1. package/dist-types/CostAndUsageReportService.d.ts +2 -1
  2. package/dist-types/CostAndUsageReportServiceClient.d.ts +1 -1
  3. package/dist-types/commands/DeleteReportDefinitionCommand.d.ts +2 -1
  4. package/dist-types/commands/DescribeReportDefinitionsCommand.d.ts +2 -1
  5. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  6. package/dist-types/commands/ModifyReportDefinitionCommand.d.ts +2 -1
  7. package/dist-types/commands/PutReportDefinitionCommand.d.ts +2 -1
  8. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  9. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  10. package/dist-types/models/models_0.d.ts +52 -52
  11. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  12. package/dist-types/runtimeConfig.d.ts +2 -2
  13. package/dist-types/runtimeConfig.native.d.ts +2 -2
  14. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  15. package/dist-types/ts3.4/CostAndUsageReportService.d.ts +1 -0
  16. package/dist-types/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +9 -0
  17. package/dist-types/ts3.4/commands/DescribeReportDefinitionsCommand.d.ts +9 -0
  18. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  19. package/dist-types/ts3.4/commands/ModifyReportDefinitionCommand.d.ts +9 -0
  20. package/dist-types/ts3.4/commands/PutReportDefinitionCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  23. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  24. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  25. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  26. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  27. package/package.json +40 -40
@@ -17,6 +17,7 @@ export interface CostAndUsageReportService {
17
17
  /**
18
18
  * @see {@link DescribeReportDefinitionsCommand}
19
19
  */
20
+ describeReportDefinitions(): Promise<DescribeReportDefinitionsCommandOutput>;
20
21
  describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReportDefinitionsCommandOutput>;
21
22
  describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, cb: (err: any, data?: DescribeReportDefinitionsCommandOutput) => void): void;
22
23
  describeReportDefinitions(args: DescribeReportDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReportDefinitionsCommandOutput) => void): void;
@@ -52,7 +53,6 @@ export interface CostAndUsageReportService {
52
53
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
53
54
  }
54
55
  /**
55
- * @public
56
56
  * <p>You can use the Amazon Web Services Cost and Usage Report API to programmatically create, query, and delete
57
57
  * Amazon Web Services Cost and Usage Report definitions.</p>
58
58
  * <p>Amazon Web Services Cost and Usage Report track the monthly Amazon Web Services costs and usage
@@ -70,6 +70,7 @@ export interface CostAndUsageReportService {
70
70
  * <p>cur.us-east-1.amazonaws.com</p>
71
71
  * </li>
72
72
  * </ul>
73
+ * @public
73
74
  */
74
75
  export declare class CostAndUsageReportService extends CostAndUsageReportServiceClient implements CostAndUsageReportService {
75
76
  }
@@ -158,7 +158,6 @@ export type CostAndUsageReportServiceClientResolvedConfigType = __SmithyResolved
158
158
  export interface CostAndUsageReportServiceClientResolvedConfig extends CostAndUsageReportServiceClientResolvedConfigType {
159
159
  }
160
160
  /**
161
- * @public
162
161
  * <p>You can use the Amazon Web Services Cost and Usage Report API to programmatically create, query, and delete
163
162
  * Amazon Web Services Cost and Usage Report definitions.</p>
164
163
  * <p>Amazon Web Services Cost and Usage Report track the monthly Amazon Web Services costs and usage
@@ -176,6 +175,7 @@ export interface CostAndUsageReportServiceClientResolvedConfig extends CostAndUs
176
175
  * <p>cur.us-east-1.amazonaws.com</p>
177
176
  * </li>
178
177
  * </ul>
178
+ * @public
179
179
  */
180
180
  export declare class CostAndUsageReportServiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CostAndUsageReportServiceClientResolvedConfig> {
181
181
  /**
@@ -22,10 +22,10 @@ export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinit
22
22
  }
23
23
  declare const DeleteReportDefinitionCommand_base: {
24
24
  new (input: DeleteReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes the specified report. Any tags associated with the report are also
30
30
  * deleted.</p>
31
31
  * @example
@@ -60,6 +60,7 @@ declare const DeleteReportDefinitionCommand_base: {
60
60
  * @throws {@link CostAndUsageReportServiceServiceException}
61
61
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
62
62
  *
63
+ * @public
63
64
  * @example To delete the AWS Cost and Usage report named ExampleReport.
64
65
  * ```javascript
65
66
  * // The following example deletes the AWS Cost and Usage report named ExampleReport.
@@ -22,10 +22,10 @@ export interface DescribeReportDefinitionsCommandOutput extends DescribeReportDe
22
22
  }
23
23
  declare const DescribeReportDefinitionsCommand_base: {
24
24
  new (input: DescribeReportDefinitionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeReportDefinitionsCommandInput, DescribeReportDefinitionsCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeReportDefinitionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeReportDefinitionsCommandInput, DescribeReportDefinitionsCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists the Amazon Web Services Cost and Usage Report available to this account.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -81,6 +81,7 @@ declare const DescribeReportDefinitionsCommand_base: {
81
81
  * @throws {@link CostAndUsageReportServiceServiceException}
82
82
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
83
83
  *
84
+ * @public
84
85
  * @example To list the AWS Cost and Usage reports for the account.
85
86
  * ```javascript
86
87
  * // The following example lists the AWS Cost and Usage reports for the account.
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
22
22
  }
23
23
  declare const ListTagsForResourceCommand_base: {
24
24
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists the tags associated with the specified report definition.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -67,6 +67,7 @@ declare const ListTagsForResourceCommand_base: {
67
67
  * @throws {@link CostAndUsageReportServiceServiceException}
68
68
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
69
69
  *
70
+ * @public
70
71
  */
71
72
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
72
73
  }
@@ -22,10 +22,10 @@ export interface ModifyReportDefinitionCommandOutput extends ModifyReportDefinit
22
22
  }
23
23
  declare const ModifyReportDefinitionCommand_base: {
24
24
  new (input: ModifyReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyReportDefinitionCommandInput, ModifyReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ModifyReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyReportDefinitionCommandInput, ModifyReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Allows you to programmatically update your report preferences.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -79,6 +79,7 @@ declare const ModifyReportDefinitionCommand_base: {
79
79
  * @throws {@link CostAndUsageReportServiceServiceException}
80
80
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
81
81
  *
82
+ * @public
82
83
  */
83
84
  export declare class ModifyReportDefinitionCommand extends ModifyReportDefinitionCommand_base {
84
85
  }
@@ -22,10 +22,10 @@ export interface PutReportDefinitionCommandOutput extends PutReportDefinitionRes
22
22
  }
23
23
  declare const PutReportDefinitionCommand_base: {
24
24
  new (input: PutReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PutReportDefinitionCommandInput): import("@smithy/smithy-client").CommandImpl<PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a new report using the description that you provide.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -93,6 +93,7 @@ declare const PutReportDefinitionCommand_base: {
93
93
  * @throws {@link CostAndUsageReportServiceServiceException}
94
94
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
95
95
  *
96
+ * @public
96
97
  * @example To create a report named ExampleReport.
97
98
  * ```javascript
98
99
  * // The following example creates a AWS Cost and Usage report named ExampleReport.
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
22
22
  }
23
23
  declare const TagResourceCommand_base: {
24
24
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Associates a set of tags with a report definition.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -66,6 +66,7 @@ declare const TagResourceCommand_base: {
66
66
  * @throws {@link CostAndUsageReportServiceServiceException}
67
67
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
68
68
  *
69
+ * @public
69
70
  */
70
71
  export declare class TagResourceCommand extends TagResourceCommand_base {
71
72
  }
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
22
22
  }
23
23
  declare const UntagResourceCommand_base: {
24
24
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, CostAndUsageReportServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Disassociates a set of tags from a report definition.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -63,6 +63,7 @@ declare const UntagResourceCommand_base: {
63
63
  * @throws {@link CostAndUsageReportServiceServiceException}
64
64
  * <p>Base exception class for all service exceptions from CostAndUsageReportService service.</p>
65
65
  *
66
+ * @public
66
67
  */
67
68
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
68
69
  }
@@ -14,37 +14,37 @@ export declare const AdditionalArtifact: {
14
14
  */
15
15
  export type AdditionalArtifact = (typeof AdditionalArtifact)[keyof typeof AdditionalArtifact];
16
16
  /**
17
- * @public
18
17
  * <p>Deletes the specified report.</p>
18
+ * @public
19
19
  */
20
20
  export interface DeleteReportDefinitionRequest {
21
21
  /**
22
- * @public
23
22
  * <p>The name of the report that you want to delete. The name must be unique, is case sensitive, and can't include spaces.</p>
23
+ * @public
24
24
  */
25
25
  ReportName: string | undefined;
26
26
  }
27
27
  /**
28
- * @public
29
28
  * <p>If the action is successful, the service sends back an HTTP 200 response.</p>
29
+ * @public
30
30
  */
31
31
  export interface DeleteReportDefinitionResponse {
32
32
  /**
33
- * @public
34
33
  * <p>Whether the deletion was successful or not.</p>
34
+ * @public
35
35
  */
36
36
  ResponseMessage?: string;
37
37
  }
38
38
  /**
39
- * @public
40
39
  * <p>An error on the server occurred during the processing of your request. Try again later.</p>
40
+ * @public
41
41
  */
42
42
  export declare class InternalErrorException extends __BaseException {
43
43
  readonly name: "InternalErrorException";
44
44
  readonly $fault: "server";
45
45
  /**
46
- * @public
47
46
  * <p>A message to show the detail of the exception.</p>
47
+ * @public
48
48
  */
49
49
  Message?: string;
50
50
  /**
@@ -53,15 +53,15 @@ export declare class InternalErrorException extends __BaseException {
53
53
  constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
54
54
  }
55
55
  /**
56
- * @public
57
56
  * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
57
+ * @public
58
58
  */
59
59
  export declare class ValidationException extends __BaseException {
60
60
  readonly name: "ValidationException";
61
61
  readonly $fault: "client";
62
62
  /**
63
- * @public
64
63
  * <p>A message to show the detail of the exception.</p>
64
+ * @public
65
65
  */
66
66
  Message?: string;
67
67
  /**
@@ -70,18 +70,18 @@ export declare class ValidationException extends __BaseException {
70
70
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
71
71
  }
72
72
  /**
73
- * @public
74
73
  * <p>Requests a Amazon Web Services Cost and Usage Report list owned by the account.</p>
74
+ * @public
75
75
  */
76
76
  export interface DescribeReportDefinitionsRequest {
77
77
  /**
78
- * @public
79
78
  * <p>The maximum number of results that Amazon Web Services returns for the operation.</p>
79
+ * @public
80
80
  */
81
81
  MaxResults?: number;
82
82
  /**
83
- * @public
84
83
  * <p>A generic string.</p>
84
+ * @public
85
85
  */
86
86
  NextToken?: string;
87
87
  }
@@ -137,20 +137,20 @@ export declare const LastStatus: {
137
137
  */
138
138
  export type LastStatus = (typeof LastStatus)[keyof typeof LastStatus];
139
139
  /**
140
- * @public
141
140
  * <p>A two element dictionary with a <code>lastDelivery</code> and <code>lastStatus</code> key
142
141
  * whose values describe the date and status of the last delivered report for a particular report
143
142
  * definition.</p>
143
+ * @public
144
144
  */
145
145
  export interface ReportStatus {
146
146
  /**
147
- * @public
148
147
  * <p>A timestamp that gives the date of a report delivery.</p>
148
+ * @public
149
149
  */
150
150
  lastDelivery?: string;
151
151
  /**
152
- * @public
153
152
  * <p>An enum that gives the status of a report delivery.</p>
153
+ * @public
154
154
  */
155
155
  lastStatus?: LastStatus;
156
156
  }
@@ -218,98 +218,98 @@ export declare const TimeUnit: {
218
218
  */
219
219
  export type TimeUnit = (typeof TimeUnit)[keyof typeof TimeUnit];
220
220
  /**
221
- * @public
222
221
  * <p>The definition of Amazon Web Services Cost and Usage Report. You can specify the report name,
223
222
  * time unit, report format, compression format, S3 bucket, additional artifacts, and schema
224
223
  * elements in the definition.
225
224
  * </p>
225
+ * @public
226
226
  */
227
227
  export interface ReportDefinition {
228
228
  /**
229
- * @public
230
229
  * <p>The name of the report that you want to create. The name must be unique,
231
230
  * is case sensitive, and can't include spaces. </p>
231
+ * @public
232
232
  */
233
233
  ReportName: string | undefined;
234
234
  /**
235
- * @public
236
235
  * <p>The length of time covered by the report. </p>
236
+ * @public
237
237
  */
238
238
  TimeUnit: TimeUnit | undefined;
239
239
  /**
240
- * @public
241
240
  * <p>The format that Amazon Web Services saves the report in.</p>
241
+ * @public
242
242
  */
243
243
  Format: ReportFormat | undefined;
244
244
  /**
245
- * @public
246
245
  * <p>The compression format that Amazon Web Services uses for the report.</p>
246
+ * @public
247
247
  */
248
248
  Compression: CompressionFormat | undefined;
249
249
  /**
250
- * @public
251
250
  * <p>A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs. </p>
251
+ * @public
252
252
  */
253
253
  AdditionalSchemaElements: SchemaElement[] | undefined;
254
254
  /**
255
- * @public
256
255
  * <p>The S3 bucket where Amazon Web Services delivers the report.</p>
256
+ * @public
257
257
  */
258
258
  S3Bucket: string | undefined;
259
259
  /**
260
- * @public
261
260
  * <p>The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. Your prefix
262
261
  * can't include spaces.</p>
262
+ * @public
263
263
  */
264
264
  S3Prefix: string | undefined;
265
265
  /**
266
- * @public
267
266
  * <p>The region of the S3 bucket that Amazon Web Services delivers the report into.</p>
267
+ * @public
268
268
  */
269
269
  S3Region: AWSRegion | undefined;
270
270
  /**
271
- * @public
272
271
  * <p>A list of manifests that you want Amazon Web Services to create for this report.</p>
272
+ * @public
273
273
  */
274
274
  AdditionalArtifacts?: AdditionalArtifact[];
275
275
  /**
276
- * @public
277
276
  * <p>Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to
278
277
  * previous months. These charges can include refunds, credits, or support fees.</p>
278
+ * @public
279
279
  */
280
280
  RefreshClosedReports?: boolean;
281
281
  /**
282
- * @public
283
282
  * <p>Whether you want Amazon Web Services to overwrite the previous version of each report or
284
283
  * to deliver the report in addition to the previous versions.</p>
284
+ * @public
285
285
  */
286
286
  ReportVersioning?: ReportVersioning;
287
287
  /**
288
- * @public
289
288
  * <p>
290
289
  * The Amazon resource name of the billing view. The <code>BillingViewArn</code> is needed to create Amazon Web Services Cost and Usage Report for each billing group maintained in the Amazon Web Services Billing Conductor service. The <code>BillingViewArn</code> for a billing group can be constructed as: <code>arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id</code>
291
290
  * </p>
291
+ * @public
292
292
  */
293
293
  BillingViewArn?: string;
294
294
  /**
295
- * @public
296
295
  * <p>The status of the report.</p>
296
+ * @public
297
297
  */
298
298
  ReportStatus?: ReportStatus;
299
299
  }
300
300
  /**
301
- * @public
302
301
  * <p>If the action is successful, the service sends back an HTTP 200 response.</p>
302
+ * @public
303
303
  */
304
304
  export interface DescribeReportDefinitionsResponse {
305
305
  /**
306
- * @public
307
306
  * <p>An Amazon Web Services Cost and Usage Report list owned by the account.</p>
307
+ * @public
308
308
  */
309
309
  ReportDefinitions?: ReportDefinition[];
310
310
  /**
311
- * @public
312
311
  * <p>A generic string.</p>
312
+ * @public
313
313
  */
314
314
  NextToken?: string;
315
315
  }
@@ -318,27 +318,27 @@ export interface DescribeReportDefinitionsResponse {
318
318
  */
319
319
  export interface ListTagsForResourceRequest {
320
320
  /**
321
- * @public
322
321
  * <p>The report name of the report definition that tags are to be returned for.</p>
322
+ * @public
323
323
  */
324
324
  ReportName: string | undefined;
325
325
  }
326
326
  /**
327
- * @public
328
327
  * <p>Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a report
329
328
  * definition.</p>
329
+ * @public
330
330
  */
331
331
  export interface Tag {
332
332
  /**
333
- * @public
334
333
  * <p>The key of the tag. Tag keys are case sensitive. Each report definition can only have up
335
334
  * to one tag with the same key. If you try to add an existing tag with the same key, the
336
335
  * existing tag value will be updated to the new value.</p>
336
+ * @public
337
337
  */
338
338
  Key: string | undefined;
339
339
  /**
340
- * @public
341
340
  * <p>The value of the tag. Tag values are case-sensitive. This can be an empty string.</p>
341
+ * @public
342
342
  */
343
343
  Value: string | undefined;
344
344
  }
@@ -347,21 +347,21 @@ export interface Tag {
347
347
  */
348
348
  export interface ListTagsForResourceResponse {
349
349
  /**
350
- * @public
351
350
  * <p>The tags assigned to the report definition resource.</p>
351
+ * @public
352
352
  */
353
353
  Tags?: Tag[];
354
354
  }
355
355
  /**
356
- * @public
357
356
  * <p>The specified report (<code>ReportName</code>) in the request doesn't exist.</p>
357
+ * @public
358
358
  */
359
359
  export declare class ResourceNotFoundException extends __BaseException {
360
360
  readonly name: "ResourceNotFoundException";
361
361
  readonly $fault: "client";
362
362
  /**
363
- * @public
364
363
  * <p>A message to show the detail of the exception.</p>
364
+ * @public
365
365
  */
366
366
  Message?: string;
367
367
  /**
@@ -374,17 +374,17 @@ export declare class ResourceNotFoundException extends __BaseException {
374
374
  */
375
375
  export interface ModifyReportDefinitionRequest {
376
376
  /**
377
- * @public
378
377
  * <p>The name of the report that you want to create. The name must be unique,
379
378
  * is case sensitive, and can't include spaces. </p>
379
+ * @public
380
380
  */
381
381
  ReportName: string | undefined;
382
382
  /**
383
- * @public
384
383
  * <p>The definition of Amazon Web Services Cost and Usage Report. You can specify the report name,
385
384
  * time unit, report format, compression format, S3 bucket, additional artifacts, and schema
386
385
  * elements in the definition.
387
386
  * </p>
387
+ * @public
388
388
  */
389
389
  ReportDefinition: ReportDefinition | undefined;
390
390
  }
@@ -394,15 +394,15 @@ export interface ModifyReportDefinitionRequest {
394
394
  export interface ModifyReportDefinitionResponse {
395
395
  }
396
396
  /**
397
- * @public
398
397
  * <p>A report with the specified name already exists in the account. Specify a different report name.</p>
398
+ * @public
399
399
  */
400
400
  export declare class DuplicateReportNameException extends __BaseException {
401
401
  readonly name: "DuplicateReportNameException";
402
402
  readonly $fault: "client";
403
403
  /**
404
- * @public
405
404
  * <p>A message to show the detail of the exception.</p>
405
+ * @public
406
406
  */
407
407
  Message?: string;
408
408
  /**
@@ -411,38 +411,38 @@ export declare class DuplicateReportNameException extends __BaseException {
411
411
  constructor(opts: __ExceptionOptionType<DuplicateReportNameException, __BaseException>);
412
412
  }
413
413
  /**
414
- * @public
415
414
  * <p>Creates a Cost and Usage Report.</p>
415
+ * @public
416
416
  */
417
417
  export interface PutReportDefinitionRequest {
418
418
  /**
419
- * @public
420
419
  * <p>Represents the output of the PutReportDefinition operation. The content consists of the detailed
421
420
  * metadata and data file information. </p>
421
+ * @public
422
422
  */
423
423
  ReportDefinition: ReportDefinition | undefined;
424
424
  /**
425
- * @public
426
425
  * <p>The tags to be assigned to the report definition resource.</p>
426
+ * @public
427
427
  */
428
428
  Tags?: Tag[];
429
429
  }
430
430
  /**
431
- * @public
432
431
  * <p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>
432
+ * @public
433
433
  */
434
434
  export interface PutReportDefinitionResponse {
435
435
  }
436
436
  /**
437
- * @public
438
437
  * <p>This account already has five reports defined. To define a new report, you must delete an existing report.</p>
438
+ * @public
439
439
  */
440
440
  export declare class ReportLimitReachedException extends __BaseException {
441
441
  readonly name: "ReportLimitReachedException";
442
442
  readonly $fault: "client";
443
443
  /**
444
- * @public
445
444
  * <p>A message to show the detail of the exception.</p>
445
+ * @public
446
446
  */
447
447
  Message?: string;
448
448
  /**
@@ -455,13 +455,13 @@ export declare class ReportLimitReachedException extends __BaseException {
455
455
  */
456
456
  export interface TagResourceRequest {
457
457
  /**
458
- * @public
459
458
  * <p>The report name of the report definition that tags are to be associated with.</p>
459
+ * @public
460
460
  */
461
461
  ReportName: string | undefined;
462
462
  /**
463
- * @public
464
463
  * <p>The tags to be assigned to the report definition resource.</p>
464
+ * @public
465
465
  */
466
466
  Tags: Tag[] | undefined;
467
467
  }
@@ -475,14 +475,14 @@ export interface TagResourceResponse {
475
475
  */
476
476
  export interface UntagResourceRequest {
477
477
  /**
478
- * @public
479
478
  * <p>The report name of the report definition that tags are to be disassociated
480
479
  * from.</p>
480
+ * @public
481
481
  */
482
482
  ReportName: string | undefined;
483
483
  /**
484
- * @public
485
484
  * <p>The tags to be disassociated from the report definition resource.</p>
485
+ * @public
486
486
  */
487
487
  TagKeys: string[] | undefined;
488
488
  }
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientC
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientC
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientC
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { CostAndUsageReportServiceClientConfig } from "./CostAndUsageReportServi
5
5
  export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: CostAndUsageReportServiceClientC
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -42,6 +42,7 @@ export interface CostAndUsageReportService {
42
42
  options: __HttpHandlerOptions,
43
43
  cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void
44
44
  ): void;
45
+ describeReportDefinitions(): Promise<DescribeReportDefinitionsCommandOutput>;
45
46
  describeReportDefinitions(
46
47
  args: DescribeReportDefinitionsCommandInput,
47
48
  options?: __HttpHandlerOptions
@@ -25,6 +25,15 @@ declare const DeleteReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: DeleteReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteReportDefinitionCommandInput,
32
+ DeleteReportDefinitionCommandOutput,
33
+ CostAndUsageReportServiceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DeleteReportDefinitionCommand extends DeleteReportDefinitionCommand_base {}
@@ -25,6 +25,15 @@ declare const DescribeReportDefinitionsCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ ...[input]: [] | [DescribeReportDefinitionsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeReportDefinitionsCommandInput,
32
+ DescribeReportDefinitionsCommandOutput,
33
+ CostAndUsageReportServiceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class DescribeReportDefinitionsCommand extends DescribeReportDefinitionsCommand_base {}
@@ -25,6 +25,15 @@ declare const ListTagsForResourceCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ListTagsForResourceCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ CostAndUsageReportServiceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {}
@@ -25,6 +25,15 @@ declare const ModifyReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: ModifyReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ModifyReportDefinitionCommandInput,
32
+ ModifyReportDefinitionCommandOutput,
33
+ CostAndUsageReportServiceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class ModifyReportDefinitionCommand extends ModifyReportDefinitionCommand_base {}
@@ -25,6 +25,15 @@ declare const PutReportDefinitionCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: PutReportDefinitionCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ PutReportDefinitionCommandInput,
32
+ PutReportDefinitionCommandOutput,
33
+ CostAndUsageReportServiceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class PutReportDefinitionCommand extends PutReportDefinitionCommand_base {}
@@ -21,6 +21,15 @@ declare const TagResourceCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: TagResourceCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ TagResourceCommandInput,
28
+ TagResourceCommandOutput,
29
+ CostAndUsageReportServiceClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -24,6 +24,15 @@ declare const UntagResourceCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: UntagResourceCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ UntagResourceCommandInput,
31
+ UntagResourceCommandOutput,
32
+ CostAndUsageReportServiceClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (
27
27
  apiVersion: string;
28
28
  urlParser: import("@smithy/types").UrlParser;
29
29
  base64Decoder: import("@smithy/types").Decoder;
30
- base64Encoder: import("@smithy/types").Encoder;
30
+ base64Encoder: (_input: string | Uint8Array) => string;
31
31
  utf8Decoder: import("@smithy/types").Decoder;
32
- utf8Encoder: import("@smithy/types").Encoder;
32
+ utf8Encoder: (input: string | Uint8Array) => string;
33
33
  disableHostPrefix: boolean;
34
34
  serviceId: string;
35
35
  logger: import("@smithy/types").Logger;
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (
31
31
  apiVersion: string;
32
32
  urlParser: import("@smithy/types").UrlParser;
33
33
  base64Decoder: import("@smithy/types").Decoder;
34
- base64Encoder: import("@smithy/types").Encoder;
34
+ base64Encoder: (_input: string | Uint8Array) => string;
35
35
  utf8Decoder: import("@smithy/types").Decoder;
36
- utf8Encoder: import("@smithy/types").Encoder;
36
+ utf8Encoder: (input: string | Uint8Array) => string;
37
37
  disableHostPrefix: boolean;
38
38
  serviceId: string;
39
39
  logger: import("@smithy/types").Logger;
@@ -15,9 +15,9 @@ export declare const getRuntimeConfig: (
15
15
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
16
  streamCollector: import("@smithy/types").StreamCollector;
17
17
  base64Decoder: import("@smithy/types").Decoder;
18
- base64Encoder: import("@smithy/types").Encoder;
18
+ base64Encoder: (_input: string | Uint8Array) => string;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -4,7 +4,7 @@ export declare const getRuntimeConfig: (
4
4
  ) => {
5
5
  apiVersion: string;
6
6
  base64Decoder: import("@smithy/types").Decoder;
7
- base64Encoder: import("@smithy/types").Encoder;
7
+ base64Encoder: (_input: string | Uint8Array) => string;
8
8
  disableHostPrefix: boolean;
9
9
  endpointProvider: (
10
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
19
19
  serviceId: string;
20
20
  urlParser: import("@smithy/types").UrlParser;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: import("@smithy/types").Encoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
23
  };
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.529.1",
4
+ "version": "3.535.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",
@@ -20,47 +20,47 @@
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.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",