@aws-sdk/client-billing 3.895.0 → 3.898.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 (28) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +214 -48
  3. package/dist-es/Billing.js +4 -0
  4. package/dist-es/commands/AssociateSourceViewsCommand.js +22 -0
  5. package/dist-es/commands/DisassociateSourceViewsCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +47 -19
  8. package/dist-es/protocols/Aws_json1_0.js +99 -9
  9. package/dist-types/Billing.d.ts +14 -0
  10. package/dist-types/BillingClient.d.ts +4 -2
  11. package/dist-types/commands/AssociateSourceViewsCommand.d.ts +120 -0
  12. package/dist-types/commands/CreateBillingViewCommand.d.ts +10 -0
  13. package/dist-types/commands/DeleteBillingViewCommand.d.ts +1 -0
  14. package/dist-types/commands/DisassociateSourceViewsCommand.d.ts +117 -0
  15. package/dist-types/commands/GetBillingViewCommand.d.ts +14 -0
  16. package/dist-types/commands/ListBillingViewsCommand.d.ts +8 -0
  17. package/dist-types/commands/UpdateBillingViewCommand.d.ts +7 -0
  18. package/dist-types/commands/index.d.ts +2 -0
  19. package/dist-types/models/models_0.d.ts +290 -114
  20. package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
  21. package/dist-types/ts3.4/Billing.d.ts +34 -0
  22. package/dist-types/ts3.4/BillingClient.d.ts +12 -0
  23. package/dist-types/ts3.4/commands/AssociateSourceViewsCommand.d.ts +51 -0
  24. package/dist-types/ts3.4/commands/DisassociateSourceViewsCommand.d.ts +51 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +103 -41
  27. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
  28. package/package.json +13 -14
@@ -48,6 +48,7 @@ declare const GetBillingViewCommand_base: {
48
48
  * // description: "STRING_VALUE",
49
49
  * // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
50
50
  * // ownerAccountId: "STRING_VALUE",
51
+ * // sourceAccountId: "STRING_VALUE",
51
52
  * // dataFilterExpression: { // Expression
52
53
  * // dimensions: { // DimensionValues
53
54
  * // key: "LINKED_ACCOUNT", // required
@@ -61,9 +62,22 @@ declare const GetBillingViewCommand_base: {
61
62
  * // "STRING_VALUE",
62
63
  * // ],
63
64
  * // },
65
+ * // timeRange: { // TimeRange
66
+ * // beginDateInclusive: new Date("TIMESTAMP"),
67
+ * // endDateInclusive: new Date("TIMESTAMP"),
68
+ * // },
64
69
  * // },
65
70
  * // createdAt: new Date("TIMESTAMP"),
66
71
  * // updatedAt: new Date("TIMESTAMP"),
72
+ * // derivedViewCount: Number("int"),
73
+ * // sourceViewCount: Number("int"),
74
+ * // viewDefinitionLastUpdatedAt: new Date("TIMESTAMP"),
75
+ * // healthStatus: { // BillingViewHealthStatus
76
+ * // statusCode: "HEALTHY" || "UNHEALTHY" || "CREATING" || "UPDATING",
77
+ * // statusReasons: [ // BillingViewStatusReasons
78
+ * // "SOURCE_VIEW_UNHEALTHY" || "SOURCE_VIEW_UPDATING" || "SOURCE_VIEW_ACCESS_DENIED" || "SOURCE_VIEW_NOT_FOUND" || "CYCLIC_DEPENDENCY" || "SOURCE_VIEW_DEPTH_EXCEEDED" || "AGGREGATE_SOURCE" || "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
79
+ * // ],
80
+ * // },
67
81
  * // },
68
82
  * // };
69
83
  *
@@ -48,6 +48,7 @@ declare const ListBillingViewsCommand_base: {
48
48
  * "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
49
49
  * ],
50
50
  * ownerAccountId: "STRING_VALUE",
51
+ * sourceAccountId: "STRING_VALUE",
51
52
  * maxResults: Number("int"),
52
53
  * nextToken: "STRING_VALUE",
53
54
  * };
@@ -60,7 +61,14 @@ declare const ListBillingViewsCommand_base: {
60
61
  * // name: "STRING_VALUE",
61
62
  * // description: "STRING_VALUE",
62
63
  * // ownerAccountId: "STRING_VALUE",
64
+ * // sourceAccountId: "STRING_VALUE",
63
65
  * // billingViewType: "PRIMARY" || "BILLING_GROUP" || "CUSTOM",
66
+ * // healthStatus: { // BillingViewHealthStatus
67
+ * // statusCode: "HEALTHY" || "UNHEALTHY" || "CREATING" || "UPDATING",
68
+ * // statusReasons: [ // BillingViewStatusReasons
69
+ * // "SOURCE_VIEW_UNHEALTHY" || "SOURCE_VIEW_UPDATING" || "SOURCE_VIEW_ACCESS_DENIED" || "SOURCE_VIEW_NOT_FOUND" || "CYCLIC_DEPENDENCY" || "SOURCE_VIEW_DEPTH_EXCEEDED" || "AGGREGATE_SOURCE" || "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
70
+ * // ],
71
+ * // },
64
72
  * // },
65
73
  * // ],
66
74
  * // nextToken: "STRING_VALUE",
@@ -53,6 +53,10 @@ declare const UpdateBillingViewCommand_base: {
53
53
  * "STRING_VALUE",
54
54
  * ],
55
55
  * },
56
+ * timeRange: { // TimeRange
57
+ * beginDateInclusive: new Date("TIMESTAMP"),
58
+ * endDateInclusive: new Date("TIMESTAMP"),
59
+ * },
56
60
  * },
57
61
  * };
58
62
  * const command = new UpdateBillingViewCommand(input);
@@ -73,6 +77,9 @@ declare const UpdateBillingViewCommand_base: {
73
77
  * @throws {@link AccessDeniedException} (client fault)
74
78
  * <p>You don't have sufficient access to perform this action.</p>
75
79
  *
80
+ * @throws {@link BillingViewHealthStatusException} (client fault)
81
+ * <p> Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than <code>HEALTHY</code>.</p>
82
+ *
76
83
  * @throws {@link ConflictException} (client fault)
77
84
  * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
78
85
  *
@@ -1,5 +1,7 @@
1
+ export * from "./AssociateSourceViewsCommand";
1
2
  export * from "./CreateBillingViewCommand";
2
3
  export * from "./DeleteBillingViewCommand";
4
+ export * from "./DisassociateSourceViewsCommand";
3
5
  export * from "./GetBillingViewCommand";
4
6
  export * from "./GetResourcePolicyCommand";
5
7
  export * from "./ListBillingViewsCommand";
@@ -28,6 +28,43 @@ export interface ActiveTimeRange {
28
28
  */
29
29
  activeBeforeInclusive: Date | undefined;
30
30
  }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface AssociateSourceViewsRequest {
35
+ /**
36
+ * <p> The Amazon Resource Name (ARN) of the billing view to associate source views with. </p>
37
+ * @public
38
+ */
39
+ arn: string | undefined;
40
+ /**
41
+ * <p> A list of ARNs of the source billing views to associate. </p>
42
+ * @public
43
+ */
44
+ sourceViews: string[] | undefined;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface AssociateSourceViewsResponse {
50
+ /**
51
+ * <p> The ARN of the billing view that the source views were associated with. </p>
52
+ * @public
53
+ */
54
+ arn: string | undefined;
55
+ }
56
+ /**
57
+ * <p> Exception thrown when a billing view's health status prevents an operation from being performed. This may occur if the billing view is in a state other than <code>HEALTHY</code>.</p>
58
+ * @public
59
+ */
60
+ export declare class BillingViewHealthStatusException extends __BaseException {
61
+ readonly name: "BillingViewHealthStatusException";
62
+ readonly $fault: "client";
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<BillingViewHealthStatusException, __BaseException>);
67
+ }
31
68
  /**
32
69
  * <p> The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. </p>
33
70
  * @public
@@ -50,6 +87,136 @@ export declare class ConflictException extends __BaseException {
50
87
  */
51
88
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
52
89
  }
90
+ /**
91
+ * <p>The request processing failed because of an unknown error, exception, or failure. </p>
92
+ * @public
93
+ */
94
+ export declare class InternalServerException extends __BaseException {
95
+ readonly name: "InternalServerException";
96
+ readonly $fault: "server";
97
+ /**
98
+ * @internal
99
+ */
100
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
101
+ }
102
+ /**
103
+ * <p> The specified ARN in the request doesn't exist. </p>
104
+ * @public
105
+ */
106
+ export declare class ResourceNotFoundException extends __BaseException {
107
+ readonly name: "ResourceNotFoundException";
108
+ readonly $fault: "client";
109
+ /**
110
+ * <p> Value is a list of resource IDs that were not found. </p>
111
+ * @public
112
+ */
113
+ resourceId: string | undefined;
114
+ /**
115
+ * <p> Value is the type of resource that was not found. </p>
116
+ * @public
117
+ */
118
+ resourceType: string | undefined;
119
+ /**
120
+ * @internal
121
+ */
122
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
123
+ }
124
+ /**
125
+ * <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
126
+ * @public
127
+ */
128
+ export declare class ServiceQuotaExceededException extends __BaseException {
129
+ readonly name: "ServiceQuotaExceededException";
130
+ readonly $fault: "client";
131
+ /**
132
+ * <p> The ID of the resource. </p>
133
+ * @public
134
+ */
135
+ resourceId: string | undefined;
136
+ /**
137
+ * <p> The type of Amazon Web Services resource. </p>
138
+ * @public
139
+ */
140
+ resourceType: string | undefined;
141
+ /**
142
+ * <p> The container for the <code>serviceCode</code>. </p>
143
+ * @public
144
+ */
145
+ serviceCode: string | undefined;
146
+ /**
147
+ * <p> The container for the <code>quotaCode</code>. </p>
148
+ * @public
149
+ */
150
+ quotaCode: string | undefined;
151
+ /**
152
+ * @internal
153
+ */
154
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
155
+ }
156
+ /**
157
+ * <p>The request was denied due to request throttling. </p>
158
+ * @public
159
+ */
160
+ export declare class ThrottlingException extends __BaseException {
161
+ readonly name: "ThrottlingException";
162
+ readonly $fault: "client";
163
+ /**
164
+ * @internal
165
+ */
166
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
167
+ }
168
+ /**
169
+ * <p>The field's information of a request that resulted in an exception. </p>
170
+ * @public
171
+ */
172
+ export interface ValidationExceptionField {
173
+ /**
174
+ * <p>The name of the field.</p>
175
+ * @public
176
+ */
177
+ name: string | undefined;
178
+ /**
179
+ * <p>The message describing why the field failed validation.</p>
180
+ * @public
181
+ */
182
+ message: string | undefined;
183
+ }
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const ValidationExceptionReason: {
189
+ readonly CANNOT_PARSE: "cannotParse";
190
+ readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
191
+ readonly OTHER: "other";
192
+ readonly UNKNOWN_OPERATION: "unknownOperation";
193
+ };
194
+ /**
195
+ * @public
196
+ */
197
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
198
+ /**
199
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
200
+ * @public
201
+ */
202
+ export declare class ValidationException extends __BaseException {
203
+ readonly name: "ValidationException";
204
+ readonly $fault: "client";
205
+ /**
206
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
207
+ * @public
208
+ */
209
+ reason: ValidationExceptionReason | undefined;
210
+ /**
211
+ * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
212
+ * @public
213
+ */
214
+ fieldList?: ValidationExceptionField[] | undefined;
215
+ /**
216
+ * @internal
217
+ */
218
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
219
+ }
53
220
  /**
54
221
  * @public
55
222
  * @enum
@@ -93,6 +260,22 @@ export interface TagValues {
93
260
  */
94
261
  values: string[] | undefined;
95
262
  }
263
+ /**
264
+ * <p> Specifies a time range with inclusive begin and end dates. </p>
265
+ * @public
266
+ */
267
+ export interface TimeRange {
268
+ /**
269
+ * <p> The inclusive start date of the time range. </p>
270
+ * @public
271
+ */
272
+ beginDateInclusive?: Date | undefined;
273
+ /**
274
+ * <p> The inclusive end date of the time range. </p>
275
+ * @public
276
+ */
277
+ endDateInclusive?: Date | undefined;
278
+ }
96
279
  /**
97
280
  * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
98
281
  * @public
@@ -108,6 +291,11 @@ export interface Expression {
108
291
  * @public
109
292
  */
110
293
  tags?: TagValues | undefined;
294
+ /**
295
+ * <p> Specifies a time range filter for the billing view data. </p>
296
+ * @public
297
+ */
298
+ timeRange?: TimeRange | undefined;
111
299
  }
112
300
  /**
113
301
  * <p> The tag structure that contains a tag key and value. </p>
@@ -176,129 +364,51 @@ export interface CreateBillingViewResponse {
176
364
  createdAt?: Date | undefined;
177
365
  }
178
366
  /**
179
- * <p>The request processing failed because of an unknown error, exception, or failure. </p>
180
- * @public
181
- */
182
- export declare class InternalServerException extends __BaseException {
183
- readonly name: "InternalServerException";
184
- readonly $fault: "server";
185
- /**
186
- * @internal
187
- */
188
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
189
- }
190
- /**
191
- * <p> You've reached the limit of resources you can create, or exceeded the size of an individual resource. </p>
192
367
  * @public
193
368
  */
194
- export declare class ServiceQuotaExceededException extends __BaseException {
195
- readonly name: "ServiceQuotaExceededException";
196
- readonly $fault: "client";
197
- /**
198
- * <p> The ID of the resource. </p>
199
- * @public
200
- */
201
- resourceId: string | undefined;
202
- /**
203
- * <p> The type of Amazon Web Services resource. </p>
204
- * @public
205
- */
206
- resourceType: string | undefined;
369
+ export interface DeleteBillingViewRequest {
207
370
  /**
208
- * <p> The container for the <code>serviceCode</code>. </p>
371
+ * <p> The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. </p>
209
372
  * @public
210
373
  */
211
- serviceCode: string | undefined;
374
+ arn: string | undefined;
212
375
  /**
213
- * <p> The container for the <code>quotaCode</code>. </p>
376
+ * <p> If set to true, forces deletion of the billing view even if it has derived resources (e.g. other billing views or budgets). Use with caution as this may break dependent resources. </p>
214
377
  * @public
215
378
  */
216
- quotaCode: string | undefined;
217
- /**
218
- * @internal
219
- */
220
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
221
- }
222
- /**
223
- * <p>The request was denied due to request throttling. </p>
224
- * @public
225
- */
226
- export declare class ThrottlingException extends __BaseException {
227
- readonly name: "ThrottlingException";
228
- readonly $fault: "client";
229
- /**
230
- * @internal
231
- */
232
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
379
+ force?: boolean | undefined;
233
380
  }
234
381
  /**
235
- * <p>The field's information of a request that resulted in an exception. </p>
236
382
  * @public
237
383
  */
238
- export interface ValidationExceptionField {
239
- /**
240
- * <p>The name of the field.</p>
241
- * @public
242
- */
243
- name: string | undefined;
384
+ export interface DeleteBillingViewResponse {
244
385
  /**
245
- * <p>The message describing why the field failed validation.</p>
386
+ * <p> The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. </p>
246
387
  * @public
247
388
  */
248
- message: string | undefined;
389
+ arn: string | undefined;
249
390
  }
250
391
  /**
251
392
  * @public
252
- * @enum
253
393
  */
254
- export declare const ValidationExceptionReason: {
255
- readonly CANNOT_PARSE: "cannotParse";
256
- readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
257
- readonly OTHER: "other";
258
- readonly UNKNOWN_OPERATION: "unknownOperation";
259
- };
260
- /**
261
- * @public
262
- */
263
- export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
264
- /**
265
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
266
- * @public
267
- */
268
- export declare class ValidationException extends __BaseException {
269
- readonly name: "ValidationException";
270
- readonly $fault: "client";
271
- /**
272
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
273
- * @public
274
- */
275
- reason: ValidationExceptionReason | undefined;
394
+ export interface DisassociateSourceViewsRequest {
276
395
  /**
277
- * <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
396
+ * <p> The Amazon Resource Name (ARN) of the billing view to disassociate source views from. </p>
278
397
  * @public
279
398
  */
280
- fieldList?: ValidationExceptionField[] | undefined;
281
- /**
282
- * @internal
283
- */
284
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
285
- }
286
- /**
287
- * @public
288
- */
289
- export interface DeleteBillingViewRequest {
399
+ arn: string | undefined;
290
400
  /**
291
- * <p> The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. </p>
401
+ * <p> A list of ARNs of the source billing views to disassociate. </p>
292
402
  * @public
293
403
  */
294
- arn: string | undefined;
404
+ sourceViews: string[] | undefined;
295
405
  }
296
406
  /**
297
407
  * @public
298
408
  */
299
- export interface DeleteBillingViewResponse {
409
+ export interface DisassociateSourceViewsResponse {
300
410
  /**
301
- * <p> The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view. </p>
411
+ * <p> The ARN of the billing view that the source views were disassociated from. </p>
302
412
  * @public
303
413
  */
304
414
  arn: string | undefined;
@@ -326,6 +436,54 @@ export declare const BillingViewType: {
326
436
  * @public
327
437
  */
328
438
  export type BillingViewType = (typeof BillingViewType)[keyof typeof BillingViewType];
439
+ /**
440
+ * @public
441
+ * @enum
442
+ */
443
+ export declare const BillingViewStatus: {
444
+ readonly CREATING: "CREATING";
445
+ readonly HEALTHY: "HEALTHY";
446
+ readonly UNHEALTHY: "UNHEALTHY";
447
+ readonly UPDATING: "UPDATING";
448
+ };
449
+ /**
450
+ * @public
451
+ */
452
+ export type BillingViewStatus = (typeof BillingViewStatus)[keyof typeof BillingViewStatus];
453
+ /**
454
+ * @public
455
+ * @enum
456
+ */
457
+ export declare const BillingViewStatusReason: {
458
+ readonly AGGREGATE_SOURCE: "AGGREGATE_SOURCE";
459
+ readonly CYCLIC_DEPENDENCY: "CYCLIC_DEPENDENCY";
460
+ readonly SOURCE_VIEW_ACCESS_DENIED: "SOURCE_VIEW_ACCESS_DENIED";
461
+ readonly SOURCE_VIEW_DEPTH_EXCEEDED: "SOURCE_VIEW_DEPTH_EXCEEDED";
462
+ readonly SOURCE_VIEW_NOT_FOUND: "SOURCE_VIEW_NOT_FOUND";
463
+ readonly SOURCE_VIEW_UNHEALTHY: "SOURCE_VIEW_UNHEALTHY";
464
+ readonly SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING";
465
+ readonly VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT";
466
+ };
467
+ /**
468
+ * @public
469
+ */
470
+ export type BillingViewStatusReason = (typeof BillingViewStatusReason)[keyof typeof BillingViewStatusReason];
471
+ /**
472
+ * <p> Represents the health status of a billing view, including a status code and optional reasons for the status. </p>
473
+ * @public
474
+ */
475
+ export interface BillingViewHealthStatus {
476
+ /**
477
+ * <p>The current health status code of the billing view.</p>
478
+ * @public
479
+ */
480
+ statusCode?: BillingViewStatus | undefined;
481
+ /**
482
+ * <p>A list of reasons explaining the current health status, if applicable.</p>
483
+ * @public
484
+ */
485
+ statusReasons?: BillingViewStatusReason[] | undefined;
486
+ }
329
487
  /**
330
488
  * <p>The metadata associated to the billing view. </p>
331
489
  * @public
@@ -356,6 +514,11 @@ export interface BillingViewElement {
356
514
  * @public
357
515
  */
358
516
  ownerAccountId?: string | undefined;
517
+ /**
518
+ * <p> The Amazon Web Services account ID that owns the source billing view, if this is a derived billing view. </p>
519
+ * @public
520
+ */
521
+ sourceAccountId?: string | undefined;
359
522
  /**
360
523
  * <p> See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_billing_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>. </p>
361
524
  * @public
@@ -371,38 +534,36 @@ export interface BillingViewElement {
371
534
  * @public
372
535
  */
373
536
  updatedAt?: Date | undefined;
374
- }
375
- /**
376
- * @public
377
- */
378
- export interface GetBillingViewResponse {
379
537
  /**
380
- * <p>The billing view element associated with the specified ARN. </p>
538
+ * <p> The number of billing views that use this billing view as a source. </p>
381
539
  * @public
382
540
  */
383
- billingView: BillingViewElement | undefined;
384
- }
385
- /**
386
- * <p> The specified ARN in the request doesn't exist. </p>
387
- * @public
388
- */
389
- export declare class ResourceNotFoundException extends __BaseException {
390
- readonly name: "ResourceNotFoundException";
391
- readonly $fault: "client";
541
+ derivedViewCount?: number | undefined;
392
542
  /**
393
- * <p> Value is a list of resource IDs that were not found. </p>
543
+ * <p> The number of source views associated with this billing view. </p>
394
544
  * @public
395
545
  */
396
- resourceId: string | undefined;
546
+ sourceViewCount?: number | undefined;
397
547
  /**
398
- * <p> Value is the type of resource that was not found. </p>
548
+ * <p> The timestamp of when the billing view definition was last updated. </p>
399
549
  * @public
400
550
  */
401
- resourceType: string | undefined;
551
+ viewDefinitionLastUpdatedAt?: Date | undefined;
402
552
  /**
403
- * @internal
553
+ * <p> The current health status of the billing view. </p>
554
+ * @public
404
555
  */
405
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
556
+ healthStatus?: BillingViewHealthStatus | undefined;
557
+ }
558
+ /**
559
+ * @public
560
+ */
561
+ export interface GetBillingViewResponse {
562
+ /**
563
+ * <p>The billing view element associated with the specified ARN. </p>
564
+ * @public
565
+ */
566
+ billingView: BillingViewElement | undefined;
406
567
  }
407
568
  /**
408
569
  * @public
@@ -453,6 +614,11 @@ export interface ListBillingViewsRequest {
453
614
  * @public
454
615
  */
455
616
  ownerAccountId?: string | undefined;
617
+ /**
618
+ * <p> Filters the results to include only billing views that use the specified account as a source. </p>
619
+ * @public
620
+ */
621
+ sourceAccountId?: string | undefined;
456
622
  /**
457
623
  * <p>The maximum number of billing views to retrieve. Default is 100. </p>
458
624
  * @public
@@ -489,11 +655,21 @@ export interface BillingViewListElement {
489
655
  * @public
490
656
  */
491
657
  ownerAccountId?: string | undefined;
658
+ /**
659
+ * <p> The Amazon Web Services account ID that owns the source billing view, if this is a derived billing view. </p>
660
+ * @public
661
+ */
662
+ sourceAccountId?: string | undefined;
492
663
  /**
493
664
  * <p>The type of billing view.</p>
494
665
  * @public
495
666
  */
496
667
  billingViewType?: BillingViewType | undefined;
668
+ /**
669
+ * <p> The current health status of the billing view. </p>
670
+ * @public
671
+ */
672
+ healthStatus?: BillingViewHealthStatus | undefined;
497
673
  }
498
674
  /**
499
675
  * @public
@@ -1,7 +1,9 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput } from "../commands/AssociateSourceViewsCommand";
3
4
  import { CreateBillingViewCommandInput, CreateBillingViewCommandOutput } from "../commands/CreateBillingViewCommand";
4
5
  import { DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput } from "../commands/DeleteBillingViewCommand";
6
+ import { DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput } from "../commands/DisassociateSourceViewsCommand";
5
7
  import { GetBillingViewCommandInput, GetBillingViewCommandOutput } from "../commands/GetBillingViewCommand";
6
8
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
7
9
  import { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "../commands/ListBillingViewsCommand";
@@ -10,6 +12,10 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
10
12
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
11
13
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
12
14
  import { UpdateBillingViewCommandInput, UpdateBillingViewCommandOutput } from "../commands/UpdateBillingViewCommand";
15
+ /**
16
+ * serializeAws_json1_0AssociateSourceViewsCommand
17
+ */
18
+ export declare const se_AssociateSourceViewsCommand: (input: AssociateSourceViewsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
19
  /**
14
20
  * serializeAws_json1_0CreateBillingViewCommand
15
21
  */
@@ -18,6 +24,10 @@ export declare const se_CreateBillingViewCommand: (input: CreateBillingViewComma
18
24
  * serializeAws_json1_0DeleteBillingViewCommand
19
25
  */
20
26
  export declare const se_DeleteBillingViewCommand: (input: DeleteBillingViewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_json1_0DisassociateSourceViewsCommand
29
+ */
30
+ export declare const se_DisassociateSourceViewsCommand: (input: DisassociateSourceViewsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
31
  /**
22
32
  * serializeAws_json1_0GetBillingViewCommand
23
33
  */
@@ -50,6 +60,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
50
60
  * serializeAws_json1_0UpdateBillingViewCommand
51
61
  */
52
62
  export declare const se_UpdateBillingViewCommand: (input: UpdateBillingViewCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ /**
64
+ * deserializeAws_json1_0AssociateSourceViewsCommand
65
+ */
66
+ export declare const de_AssociateSourceViewsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSourceViewsCommandOutput>;
53
67
  /**
54
68
  * deserializeAws_json1_0CreateBillingViewCommand
55
69
  */
@@ -58,6 +72,10 @@ export declare const de_CreateBillingViewCommand: (output: __HttpResponse, conte
58
72
  * deserializeAws_json1_0DeleteBillingViewCommand
59
73
  */
60
74
  export declare const de_DeleteBillingViewCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBillingViewCommandOutput>;
75
+ /**
76
+ * deserializeAws_json1_0DisassociateSourceViewsCommand
77
+ */
78
+ export declare const de_DisassociateSourceViewsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSourceViewsCommandOutput>;
61
79
  /**
62
80
  * deserializeAws_json1_0GetBillingViewCommand
63
81
  */