@aws-sdk/client-billing 3.714.0 → 3.717.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/README.md +72 -0
- package/dist-cjs/Billing.js +18 -0
- package/dist-cjs/commands/CreateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/DeleteBillingViewCommand.js +26 -0
- package/dist-cjs/commands/GetBillingViewCommand.js +27 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
- package/dist-cjs/commands/ListSourceViewsForBillingViewCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateBillingViewCommand.js +27 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +80 -5
- package/dist-cjs/pagination/ListSourceViewsForBillingViewPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +269 -1
- package/dist-es/Billing.js +18 -0
- package/dist-es/commands/CreateBillingViewCommand.js +23 -0
- package/dist-es/commands/DeleteBillingViewCommand.js +22 -0
- package/dist-es/commands/GetBillingViewCommand.js +23 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateBillingViewCommand.js +23 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +72 -4
- package/dist-es/pagination/ListSourceViewsForBillingViewPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +252 -2
- package/dist-types/Billing.d.ts +64 -0
- package/dist-types/BillingClient.d.ts +11 -2
- package/dist-types/commands/CreateBillingViewCommand.d.ts +124 -0
- package/dist-types/commands/DeleteBillingViewCommand.d.ts +91 -0
- package/dist-types/commands/GetBillingViewCommand.d.ts +114 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/ListBillingViewsCommand.d.ts +12 -4
- package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +97 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +97 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateBillingViewCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +640 -37
- package/dist-types/pagination/ListSourceViewsForBillingViewPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +81 -0
- package/dist-types/ts3.4/Billing.d.ts +154 -0
- package/dist-types/ts3.4/BillingClient.d.ts +58 -2
- package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +10 -6
- package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -20
- package/dist-types/ts3.4/pagination/ListSourceViewsForBillingViewPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +108 -0
- package/package.json +15 -13
|
@@ -31,99 +31,248 @@ export interface ActiveTimeRange {
|
|
|
31
31
|
activeBeforeInclusive: Date | undefined;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* <p>
|
|
35
|
-
*
|
|
34
|
+
* <p>
|
|
35
|
+
* 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.
|
|
36
|
+
* </p>
|
|
36
37
|
* @public
|
|
37
38
|
*/
|
|
38
|
-
export declare class
|
|
39
|
-
readonly name: "
|
|
40
|
-
readonly $fault: "
|
|
39
|
+
export declare class ConflictException extends __BaseException {
|
|
40
|
+
readonly name: "ConflictException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
/**
|
|
43
|
+
* <p>
|
|
44
|
+
* The identifier for the service resource associated with the request.
|
|
45
|
+
* </p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
resourceId: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>
|
|
51
|
+
* The type of resource associated with the request.
|
|
52
|
+
* </p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
resourceType: string | undefined;
|
|
41
56
|
/**
|
|
42
57
|
* @internal
|
|
43
58
|
*/
|
|
44
|
-
constructor(opts: __ExceptionOptionType<
|
|
59
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
45
60
|
}
|
|
46
61
|
/**
|
|
47
62
|
* @public
|
|
63
|
+
* @enum
|
|
48
64
|
*/
|
|
49
|
-
export
|
|
65
|
+
export declare const Dimension: {
|
|
66
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
72
|
+
/**
|
|
73
|
+
* <p>
|
|
74
|
+
* The metadata that you can use to filter and group your results.
|
|
75
|
+
* </p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export interface DimensionValues {
|
|
50
79
|
/**
|
|
51
80
|
* <p>
|
|
52
|
-
* The
|
|
81
|
+
* The names of the metadata types that you can use to filter and group your results.
|
|
53
82
|
* </p>
|
|
54
83
|
* @public
|
|
55
84
|
*/
|
|
56
|
-
|
|
85
|
+
key: Dimension | undefined;
|
|
57
86
|
/**
|
|
58
|
-
* <p>
|
|
59
|
-
*
|
|
87
|
+
* <p>
|
|
88
|
+
* The metadata values that you can use to filter and group your results.
|
|
89
|
+
* </p>
|
|
60
90
|
* @public
|
|
61
91
|
*/
|
|
62
|
-
|
|
92
|
+
values: string[] | undefined;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* <p>
|
|
96
|
+
* The values that are available for a tag.
|
|
97
|
+
* </p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export interface TagValues {
|
|
63
101
|
/**
|
|
64
|
-
* <p>
|
|
102
|
+
* <p>
|
|
103
|
+
* The key for the tag.
|
|
104
|
+
* </p>
|
|
65
105
|
* @public
|
|
66
106
|
*/
|
|
67
|
-
|
|
107
|
+
key: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* <p>
|
|
110
|
+
* The specific value of the tag.
|
|
111
|
+
* </p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
values: string[] | undefined;
|
|
68
115
|
}
|
|
69
116
|
/**
|
|
117
|
+
* <p>
|
|
118
|
+
* See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>.
|
|
119
|
+
* </p>
|
|
70
120
|
* @public
|
|
71
|
-
* @enum
|
|
72
121
|
*/
|
|
73
|
-
export
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
122
|
+
export interface Expression {
|
|
123
|
+
/**
|
|
124
|
+
* <p>
|
|
125
|
+
* The specific <code>Dimension</code> to use for <code>Expression</code>.
|
|
126
|
+
* </p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
dimensions?: DimensionValues | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* <p>
|
|
132
|
+
* The specific <code>Tag</code> to use for <code>Expression</code>.
|
|
133
|
+
* </p>
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
tags?: TagValues | undefined;
|
|
137
|
+
}
|
|
77
138
|
/**
|
|
139
|
+
* <p>
|
|
140
|
+
* The tag structure that contains a tag key and value.
|
|
141
|
+
* </p>
|
|
78
142
|
* @public
|
|
79
143
|
*/
|
|
80
|
-
export
|
|
144
|
+
export interface ResourceTag {
|
|
145
|
+
/**
|
|
146
|
+
* <p>
|
|
147
|
+
* The key that's associated with the tag.
|
|
148
|
+
* </p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
key: string | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* <p>
|
|
154
|
+
* The value that's associated with the tag.
|
|
155
|
+
* </p>
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
value?: string | undefined;
|
|
159
|
+
}
|
|
81
160
|
/**
|
|
82
|
-
* <p>A representation of a billing view.</p>
|
|
83
161
|
* @public
|
|
84
162
|
*/
|
|
85
|
-
export interface
|
|
163
|
+
export interface CreateBillingViewRequest {
|
|
86
164
|
/**
|
|
87
|
-
* <p>
|
|
88
|
-
*
|
|
165
|
+
* <p>
|
|
166
|
+
* The name of the billing view.
|
|
167
|
+
* </p>
|
|
89
168
|
* @public
|
|
90
169
|
*/
|
|
91
|
-
|
|
170
|
+
name: string | undefined;
|
|
92
171
|
/**
|
|
93
172
|
* <p>
|
|
94
|
-
*
|
|
173
|
+
* The description of the billing view.
|
|
95
174
|
* </p>
|
|
96
175
|
* @public
|
|
97
176
|
*/
|
|
98
|
-
|
|
177
|
+
description?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* <p>A list of billing views used as the data source for the custom billing view.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
sourceViews: string[] | undefined;
|
|
99
183
|
/**
|
|
100
184
|
* <p>
|
|
101
|
-
*
|
|
185
|
+
* See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>.
|
|
102
186
|
* </p>
|
|
103
187
|
* @public
|
|
104
188
|
*/
|
|
105
|
-
|
|
189
|
+
dataFilterExpression?: Expression | undefined;
|
|
106
190
|
/**
|
|
107
|
-
* <p>
|
|
191
|
+
* <p>A unique, case-sensitive identifier you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. If the original request completes successfully, any subsequent retries complete successfully without performing any further actions with an idempotent request.
|
|
192
|
+
* </p>
|
|
108
193
|
* @public
|
|
109
194
|
*/
|
|
110
|
-
|
|
195
|
+
clientToken?: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>A list of key value map specifying tags associated to the billing view being created.
|
|
198
|
+
* </p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
resourceTags?: ResourceTag[] | undefined;
|
|
111
202
|
}
|
|
112
203
|
/**
|
|
113
204
|
* @public
|
|
114
205
|
*/
|
|
115
|
-
export interface
|
|
206
|
+
export interface CreateBillingViewResponse {
|
|
116
207
|
/**
|
|
117
|
-
* <p>
|
|
208
|
+
* <p>
|
|
209
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
210
|
+
* </p>
|
|
118
211
|
* @public
|
|
119
212
|
*/
|
|
120
|
-
|
|
213
|
+
arn: string | undefined;
|
|
121
214
|
/**
|
|
122
|
-
* <p>
|
|
123
|
-
*
|
|
215
|
+
* <p>
|
|
216
|
+
* The time when the billing view was created.
|
|
217
|
+
* </p>
|
|
124
218
|
* @public
|
|
125
219
|
*/
|
|
126
|
-
|
|
220
|
+
createdAt?: Date | undefined;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>The request processing failed because of an unknown error, exception, or failure.
|
|
224
|
+
* </p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export declare class InternalServerException extends __BaseException {
|
|
228
|
+
readonly name: "InternalServerException";
|
|
229
|
+
readonly $fault: "server";
|
|
230
|
+
/**
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* <p>
|
|
237
|
+
* You've reached the limit of resources you can create, or exceeded the size of an individual resource.
|
|
238
|
+
* </p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
242
|
+
readonly name: "ServiceQuotaExceededException";
|
|
243
|
+
readonly $fault: "client";
|
|
244
|
+
/**
|
|
245
|
+
* <p>
|
|
246
|
+
* The ID of the resource.
|
|
247
|
+
* </p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
resourceId: string | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* <p>
|
|
253
|
+
* The type of Amazon Web Services resource.
|
|
254
|
+
* </p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
resourceType: string | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* <p>
|
|
260
|
+
* The container for the <code>serviceCode</code>.
|
|
261
|
+
* </p>
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
serviceCode: string | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* <p>
|
|
267
|
+
* The container for the <code>quotaCode</code>.
|
|
268
|
+
* </p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
quotaCode: string | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
127
276
|
}
|
|
128
277
|
/**
|
|
129
278
|
* <p>The request was denied due to request throttling.
|
|
@@ -192,6 +341,456 @@ export declare class ValidationException extends __BaseException {
|
|
|
192
341
|
*/
|
|
193
342
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
194
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
export interface DeleteBillingViewRequest {
|
|
348
|
+
/**
|
|
349
|
+
* <p>
|
|
350
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
351
|
+
* </p>
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
arn: string | undefined;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
export interface DeleteBillingViewResponse {
|
|
360
|
+
/**
|
|
361
|
+
* <p>
|
|
362
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
363
|
+
* </p>
|
|
364
|
+
* @public
|
|
365
|
+
*/
|
|
366
|
+
arn: string | undefined;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
export interface GetBillingViewRequest {
|
|
372
|
+
/**
|
|
373
|
+
* <p>
|
|
374
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
375
|
+
* </p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
arn: string | undefined;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
* @enum
|
|
383
|
+
*/
|
|
384
|
+
export declare const BillingViewType: {
|
|
385
|
+
readonly BILLING_GROUP: "BILLING_GROUP";
|
|
386
|
+
readonly CUSTOM: "CUSTOM";
|
|
387
|
+
readonly PRIMARY: "PRIMARY";
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
export type BillingViewType = (typeof BillingViewType)[keyof typeof BillingViewType];
|
|
393
|
+
/**
|
|
394
|
+
* <p>The metadata associated to the billing view.
|
|
395
|
+
* </p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
export interface BillingViewElement {
|
|
399
|
+
/**
|
|
400
|
+
* <p>
|
|
401
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
402
|
+
* </p>
|
|
403
|
+
* @public
|
|
404
|
+
*/
|
|
405
|
+
arn?: string | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* <p>
|
|
408
|
+
* A list of names of the billing view.
|
|
409
|
+
* </p>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
name?: string | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* <p>
|
|
415
|
+
* The description of the billing view.
|
|
416
|
+
* </p>
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
description?: string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* <p>The type of billing group.
|
|
422
|
+
* </p>
|
|
423
|
+
* @public
|
|
424
|
+
*/
|
|
425
|
+
billingViewType?: BillingViewType | undefined;
|
|
426
|
+
/**
|
|
427
|
+
* <p>
|
|
428
|
+
* The list of owners of the billing view.
|
|
429
|
+
* </p>
|
|
430
|
+
* @public
|
|
431
|
+
*/
|
|
432
|
+
ownerAccountId?: string | undefined;
|
|
433
|
+
/**
|
|
434
|
+
* <p>
|
|
435
|
+
* See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>.
|
|
436
|
+
* </p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
dataFilterExpression?: Expression | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* <p>The time when the billing view was created.
|
|
442
|
+
* </p>
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
445
|
+
createdAt?: Date | undefined;
|
|
446
|
+
/**
|
|
447
|
+
* <p>The time when the billing view was last updated.
|
|
448
|
+
* </p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
updatedAt?: Date | undefined;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
export interface GetBillingViewResponse {
|
|
457
|
+
/**
|
|
458
|
+
* <p>The billing view element associated with the specified ARN.
|
|
459
|
+
* </p>
|
|
460
|
+
* @public
|
|
461
|
+
*/
|
|
462
|
+
billingView: BillingViewElement | undefined;
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* <p>
|
|
466
|
+
* The specified ARN in the request doesn't exist.
|
|
467
|
+
* </p>
|
|
468
|
+
* @public
|
|
469
|
+
*/
|
|
470
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
471
|
+
readonly name: "ResourceNotFoundException";
|
|
472
|
+
readonly $fault: "client";
|
|
473
|
+
/**
|
|
474
|
+
* <p>
|
|
475
|
+
* Value is a list of resource IDs that were not found.
|
|
476
|
+
* </p>
|
|
477
|
+
* @public
|
|
478
|
+
*/
|
|
479
|
+
resourceId: string | undefined;
|
|
480
|
+
/**
|
|
481
|
+
* <p>
|
|
482
|
+
* Value is the type of resource that was not found.
|
|
483
|
+
* </p>
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
resourceType: string | undefined;
|
|
487
|
+
/**
|
|
488
|
+
* @internal
|
|
489
|
+
*/
|
|
490
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
export interface GetResourcePolicyRequest {
|
|
496
|
+
/**
|
|
497
|
+
* <p>The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.
|
|
498
|
+
* </p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
resourceArn: string | undefined;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
export interface GetResourcePolicyResponse {
|
|
507
|
+
/**
|
|
508
|
+
* <p>The Amazon Resource Name (ARN) of the billing view resource to which the policy is attached to.
|
|
509
|
+
* </p>
|
|
510
|
+
* @public
|
|
511
|
+
*/
|
|
512
|
+
resourceArn: string | undefined;
|
|
513
|
+
/**
|
|
514
|
+
* <p>The resource-based policy document attached to the resource in <code>JSON</code> format.
|
|
515
|
+
* </p>
|
|
516
|
+
* @public
|
|
517
|
+
*/
|
|
518
|
+
policy?: string | undefined;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* @public
|
|
522
|
+
*/
|
|
523
|
+
export interface ListBillingViewsRequest {
|
|
524
|
+
/**
|
|
525
|
+
* <p>
|
|
526
|
+
* The time range for the billing views listed. <code>PRIMARY</code> billing view is always listed. <code>BILLING_GROUP</code> billing views are listed for time ranges when the associated billing group resource in Billing Conductor is active. The time range must be within one calendar month.
|
|
527
|
+
* </p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
activeTimeRange?: ActiveTimeRange | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* <p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
533
|
+
* </p>
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
arns?: string[] | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* <p>The type of billing view.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
billingViewTypes?: BillingViewType[] | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p>
|
|
544
|
+
* The list of owners of the billing view.
|
|
545
|
+
* </p>
|
|
546
|
+
* @public
|
|
547
|
+
*/
|
|
548
|
+
ownerAccountId?: string | undefined;
|
|
549
|
+
/**
|
|
550
|
+
* <p>The maximum number of billing views to retrieve. Default is 100.
|
|
551
|
+
* </p>
|
|
552
|
+
* @public
|
|
553
|
+
*/
|
|
554
|
+
maxResults?: number | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* <p>The pagination token that is used on subsequent calls to list billing views.</p>
|
|
557
|
+
* @public
|
|
558
|
+
*/
|
|
559
|
+
nextToken?: string | undefined;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
* <p>A representation of a billing view.</p>
|
|
563
|
+
* @public
|
|
564
|
+
*/
|
|
565
|
+
export interface BillingViewListElement {
|
|
566
|
+
/**
|
|
567
|
+
* <p>The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
568
|
+
* </p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
arn?: string | undefined;
|
|
572
|
+
/**
|
|
573
|
+
* <p>
|
|
574
|
+
* A list of names of the Billing view.
|
|
575
|
+
* </p>
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
name?: string | undefined;
|
|
579
|
+
/**
|
|
580
|
+
* <p>
|
|
581
|
+
* The description of the billing view.
|
|
582
|
+
* </p>
|
|
583
|
+
* @public
|
|
584
|
+
*/
|
|
585
|
+
description?: string | undefined;
|
|
586
|
+
/**
|
|
587
|
+
* <p>
|
|
588
|
+
* The list of owners of the Billing view.
|
|
589
|
+
* </p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
ownerAccountId?: string | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* <p>The type of billing view.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
billingViewType?: BillingViewType | undefined;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
export interface ListBillingViewsResponse {
|
|
603
|
+
/**
|
|
604
|
+
* <p>A list of <code>BillingViewListElement</code> retrieved.</p>
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
billingViews: BillingViewListElement[] | undefined;
|
|
608
|
+
/**
|
|
609
|
+
* <p>The pagination token to use on subsequent calls to list billing views.
|
|
610
|
+
* </p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
nextToken?: string | undefined;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
export interface ListSourceViewsForBillingViewRequest {
|
|
619
|
+
/**
|
|
620
|
+
* <p>
|
|
621
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
622
|
+
* </p>
|
|
623
|
+
* @public
|
|
624
|
+
*/
|
|
625
|
+
arn: string | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* <p>
|
|
628
|
+
* The number of entries a paginated response contains.
|
|
629
|
+
* </p>
|
|
630
|
+
* @public
|
|
631
|
+
*/
|
|
632
|
+
maxResults?: number | undefined;
|
|
633
|
+
/**
|
|
634
|
+
* <p>
|
|
635
|
+
* The pagination token that is used on subsequent calls to list billing views.
|
|
636
|
+
* </p>
|
|
637
|
+
* @public
|
|
638
|
+
*/
|
|
639
|
+
nextToken?: string | undefined;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* @public
|
|
643
|
+
*/
|
|
644
|
+
export interface ListSourceViewsForBillingViewResponse {
|
|
645
|
+
/**
|
|
646
|
+
* <p>A list of billing views used as the data source for the custom billing view.
|
|
647
|
+
* </p>
|
|
648
|
+
* @public
|
|
649
|
+
*/
|
|
650
|
+
sourceViews: string[] | undefined;
|
|
651
|
+
/**
|
|
652
|
+
* <p>
|
|
653
|
+
* The pagination token that is used on subsequent calls to list billing views.
|
|
654
|
+
* </p>
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
nextToken?: string | undefined;
|
|
658
|
+
}
|
|
659
|
+
/**
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
export interface ListTagsForResourceRequest {
|
|
663
|
+
/**
|
|
664
|
+
* <p>
|
|
665
|
+
* The Amazon Resource Name (ARN) of the resource.
|
|
666
|
+
* </p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
resourceArn: string | undefined;
|
|
670
|
+
}
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
export interface ListTagsForResourceResponse {
|
|
675
|
+
/**
|
|
676
|
+
* <p>
|
|
677
|
+
* A list of tag key value pairs that are associated with the resource.
|
|
678
|
+
* </p>
|
|
679
|
+
* @public
|
|
680
|
+
*/
|
|
681
|
+
resourceTags?: ResourceTag[] | undefined;
|
|
682
|
+
}
|
|
683
|
+
/**
|
|
684
|
+
* @public
|
|
685
|
+
*/
|
|
686
|
+
export interface TagResourceRequest {
|
|
687
|
+
/**
|
|
688
|
+
* <p>
|
|
689
|
+
* The Amazon Resource Name (ARN) of the resource.
|
|
690
|
+
* </p>
|
|
691
|
+
* @public
|
|
692
|
+
*/
|
|
693
|
+
resourceArn: string | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* <p>
|
|
696
|
+
* A list of tag key value pairs that are associated with the resource.
|
|
697
|
+
* </p>
|
|
698
|
+
* @public
|
|
699
|
+
*/
|
|
700
|
+
resourceTags: ResourceTag[] | undefined;
|
|
701
|
+
}
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
705
|
+
export interface TagResourceResponse {
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
710
|
+
export interface UntagResourceRequest {
|
|
711
|
+
/**
|
|
712
|
+
* <p>
|
|
713
|
+
* The Amazon Resource Name (ARN) of the resource.
|
|
714
|
+
* </p>
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
resourceArn: string | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* <p>
|
|
720
|
+
* A list of tag key value pairs that are associated with the resource.
|
|
721
|
+
* </p>
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
resourceTagKeys: string[] | undefined;
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
export interface UntagResourceResponse {
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
export interface UpdateBillingViewRequest {
|
|
735
|
+
/**
|
|
736
|
+
* <p>
|
|
737
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
738
|
+
* </p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
arn: string | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* <p>
|
|
744
|
+
* The name of the billing view.
|
|
745
|
+
* </p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
name?: string | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* <p>
|
|
751
|
+
* The description of the billing view.
|
|
752
|
+
* </p>
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
description?: string | undefined;
|
|
756
|
+
/**
|
|
757
|
+
* <p>See <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html">Expression</a>. Billing view only supports <code>LINKED_ACCOUNT</code> and <code>Tags</code>.
|
|
758
|
+
* </p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
dataFilterExpression?: Expression | undefined;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
export interface UpdateBillingViewResponse {
|
|
767
|
+
/**
|
|
768
|
+
* <p>
|
|
769
|
+
* The Amazon Resource Name (ARN) that can be used to uniquely identify the billing view.
|
|
770
|
+
* </p>
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
arn: string | undefined;
|
|
774
|
+
/**
|
|
775
|
+
* <p>
|
|
776
|
+
* The time when the billing view was last updated.
|
|
777
|
+
* </p>
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
updatedAt?: Date | undefined;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* @internal
|
|
784
|
+
*/
|
|
785
|
+
export declare const CreateBillingViewRequestFilterSensitiveLog: (obj: CreateBillingViewRequest) => any;
|
|
786
|
+
/**
|
|
787
|
+
* @internal
|
|
788
|
+
*/
|
|
789
|
+
export declare const BillingViewElementFilterSensitiveLog: (obj: BillingViewElement) => any;
|
|
790
|
+
/**
|
|
791
|
+
* @internal
|
|
792
|
+
*/
|
|
793
|
+
export declare const GetBillingViewResponseFilterSensitiveLog: (obj: GetBillingViewResponse) => any;
|
|
195
794
|
/**
|
|
196
795
|
* @internal
|
|
197
796
|
*/
|
|
@@ -200,3 +799,7 @@ export declare const BillingViewListElementFilterSensitiveLog: (obj: BillingView
|
|
|
200
799
|
* @internal
|
|
201
800
|
*/
|
|
202
801
|
export declare const ListBillingViewsResponseFilterSensitiveLog: (obj: ListBillingViewsResponse) => any;
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
*/
|
|
805
|
+
export declare const UpdateBillingViewRequestFilterSensitiveLog: (obj: UpdateBillingViewRequest) => any;
|