@aws-sdk/client-billing 3.1137.0 → 3.1139.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 +7 -0
- package/dist-cjs/index.js +63 -6
- package/dist-es/Billing.js +4 -0
- package/dist-es/commands/ListBillingViewSegmentsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +4 -0
- package/dist-es/pagination/ListBillingViewSegmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +43 -5
- package/dist-types/Billing.d.ts +62 -41
- package/dist-types/BillingClient.d.ts +3 -2
- package/dist-types/commands/ListBillingViewSegmentsCommand.d.ts +152 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +88 -1
- package/dist-types/pagination/ListBillingViewSegmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/Billing.d.ts +69 -40
- package/dist-types/ts3.4/BillingClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListBillingViewSegmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/dist-types/ts3.4/pagination/ListBillingViewSegmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +8 -8
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
3
4
|
PaginationConfiguration,
|
|
4
5
|
Paginator,
|
|
5
6
|
} from "@smithy/types";
|
|
@@ -49,6 +50,10 @@ import {
|
|
|
49
50
|
ListBillingViewsCommandInput,
|
|
50
51
|
ListBillingViewsCommandOutput,
|
|
51
52
|
} from "./commands/ListBillingViewsCommand";
|
|
53
|
+
import {
|
|
54
|
+
ListBillingViewSegmentsCommandInput,
|
|
55
|
+
ListBillingViewSegmentsCommandOutput,
|
|
56
|
+
} from "./commands/ListBillingViewSegmentsCommand";
|
|
52
57
|
import {
|
|
53
58
|
ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
54
59
|
ListEnterpriseSupportLinkedAccountChargesCommandOutput,
|
|
@@ -78,10 +83,13 @@ import {
|
|
|
78
83
|
UpdateBillingViewCommandInput,
|
|
79
84
|
UpdateBillingViewCommandOutput,
|
|
80
85
|
} from "./commands/UpdateBillingViewCommand";
|
|
86
|
+
export interface BillingRequestOptions extends __HttpHandlerOptions {
|
|
87
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
88
|
+
}
|
|
81
89
|
export interface Billing {
|
|
82
90
|
associateSourceViews(
|
|
83
91
|
args: AssociateSourceViewsCommandInput,
|
|
84
|
-
options?:
|
|
92
|
+
options?: BillingRequestOptions,
|
|
85
93
|
): Promise<AssociateSourceViewsCommandOutput>;
|
|
86
94
|
associateSourceViews(
|
|
87
95
|
args: AssociateSourceViewsCommandInput,
|
|
@@ -89,12 +97,12 @@ export interface Billing {
|
|
|
89
97
|
): void;
|
|
90
98
|
associateSourceViews(
|
|
91
99
|
args: AssociateSourceViewsCommandInput,
|
|
92
|
-
options:
|
|
100
|
+
options: BillingRequestOptions,
|
|
93
101
|
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void,
|
|
94
102
|
): void;
|
|
95
103
|
createBillingView(
|
|
96
104
|
args: CreateBillingViewCommandInput,
|
|
97
|
-
options?:
|
|
105
|
+
options?: BillingRequestOptions,
|
|
98
106
|
): Promise<CreateBillingViewCommandOutput>;
|
|
99
107
|
createBillingView(
|
|
100
108
|
args: CreateBillingViewCommandInput,
|
|
@@ -102,12 +110,12 @@ export interface Billing {
|
|
|
102
110
|
): void;
|
|
103
111
|
createBillingView(
|
|
104
112
|
args: CreateBillingViewCommandInput,
|
|
105
|
-
options:
|
|
113
|
+
options: BillingRequestOptions,
|
|
106
114
|
cb: (err: any, data?: CreateBillingViewCommandOutput) => void,
|
|
107
115
|
): void;
|
|
108
116
|
deleteBillingView(
|
|
109
117
|
args: DeleteBillingViewCommandInput,
|
|
110
|
-
options?:
|
|
118
|
+
options?: BillingRequestOptions,
|
|
111
119
|
): Promise<DeleteBillingViewCommandOutput>;
|
|
112
120
|
deleteBillingView(
|
|
113
121
|
args: DeleteBillingViewCommandInput,
|
|
@@ -115,12 +123,12 @@ export interface Billing {
|
|
|
115
123
|
): void;
|
|
116
124
|
deleteBillingView(
|
|
117
125
|
args: DeleteBillingViewCommandInput,
|
|
118
|
-
options:
|
|
126
|
+
options: BillingRequestOptions,
|
|
119
127
|
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void,
|
|
120
128
|
): void;
|
|
121
129
|
disassociateSourceViews(
|
|
122
130
|
args: DisassociateSourceViewsCommandInput,
|
|
123
|
-
options?:
|
|
131
|
+
options?: BillingRequestOptions,
|
|
124
132
|
): Promise<DisassociateSourceViewsCommandOutput>;
|
|
125
133
|
disassociateSourceViews(
|
|
126
134
|
args: DisassociateSourceViewsCommandInput,
|
|
@@ -128,12 +136,12 @@ export interface Billing {
|
|
|
128
136
|
): void;
|
|
129
137
|
disassociateSourceViews(
|
|
130
138
|
args: DisassociateSourceViewsCommandInput,
|
|
131
|
-
options:
|
|
139
|
+
options: BillingRequestOptions,
|
|
132
140
|
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void,
|
|
133
141
|
): void;
|
|
134
142
|
getBillingPreferences(
|
|
135
143
|
args: GetBillingPreferencesCommandInput,
|
|
136
|
-
options?:
|
|
144
|
+
options?: BillingRequestOptions,
|
|
137
145
|
): Promise<GetBillingPreferencesCommandOutput>;
|
|
138
146
|
getBillingPreferences(
|
|
139
147
|
args: GetBillingPreferencesCommandInput,
|
|
@@ -141,12 +149,12 @@ export interface Billing {
|
|
|
141
149
|
): void;
|
|
142
150
|
getBillingPreferences(
|
|
143
151
|
args: GetBillingPreferencesCommandInput,
|
|
144
|
-
options:
|
|
152
|
+
options: BillingRequestOptions,
|
|
145
153
|
cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void,
|
|
146
154
|
): void;
|
|
147
155
|
getBillingView(
|
|
148
156
|
args: GetBillingViewCommandInput,
|
|
149
|
-
options?:
|
|
157
|
+
options?: BillingRequestOptions,
|
|
150
158
|
): Promise<GetBillingViewCommandOutput>;
|
|
151
159
|
getBillingView(
|
|
152
160
|
args: GetBillingViewCommandInput,
|
|
@@ -154,12 +162,12 @@ export interface Billing {
|
|
|
154
162
|
): void;
|
|
155
163
|
getBillingView(
|
|
156
164
|
args: GetBillingViewCommandInput,
|
|
157
|
-
options:
|
|
165
|
+
options: BillingRequestOptions,
|
|
158
166
|
cb: (err: any, data?: GetBillingViewCommandOutput) => void,
|
|
159
167
|
): void;
|
|
160
168
|
getCreditAllocationHistory(
|
|
161
169
|
args: GetCreditAllocationHistoryCommandInput,
|
|
162
|
-
options?:
|
|
170
|
+
options?: BillingRequestOptions,
|
|
163
171
|
): Promise<GetCreditAllocationHistoryCommandOutput>;
|
|
164
172
|
getCreditAllocationHistory(
|
|
165
173
|
args: GetCreditAllocationHistoryCommandInput,
|
|
@@ -167,12 +175,12 @@ export interface Billing {
|
|
|
167
175
|
): void;
|
|
168
176
|
getCreditAllocationHistory(
|
|
169
177
|
args: GetCreditAllocationHistoryCommandInput,
|
|
170
|
-
options:
|
|
178
|
+
options: BillingRequestOptions,
|
|
171
179
|
cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void,
|
|
172
180
|
): void;
|
|
173
181
|
getCredits(
|
|
174
182
|
args: GetCreditsCommandInput,
|
|
175
|
-
options?:
|
|
183
|
+
options?: BillingRequestOptions,
|
|
176
184
|
): Promise<GetCreditsCommandOutput>;
|
|
177
185
|
getCredits(
|
|
178
186
|
args: GetCreditsCommandInput,
|
|
@@ -180,12 +188,12 @@ export interface Billing {
|
|
|
180
188
|
): void;
|
|
181
189
|
getCredits(
|
|
182
190
|
args: GetCreditsCommandInput,
|
|
183
|
-
options:
|
|
191
|
+
options: BillingRequestOptions,
|
|
184
192
|
cb: (err: any, data?: GetCreditsCommandOutput) => void,
|
|
185
193
|
): void;
|
|
186
194
|
getEnterpriseSupportChargeSummary(
|
|
187
195
|
args: GetEnterpriseSupportChargeSummaryCommandInput,
|
|
188
|
-
options?:
|
|
196
|
+
options?: BillingRequestOptions,
|
|
189
197
|
): Promise<GetEnterpriseSupportChargeSummaryCommandOutput>;
|
|
190
198
|
getEnterpriseSupportChargeSummary(
|
|
191
199
|
args: GetEnterpriseSupportChargeSummaryCommandInput,
|
|
@@ -193,12 +201,12 @@ export interface Billing {
|
|
|
193
201
|
): void;
|
|
194
202
|
getEnterpriseSupportChargeSummary(
|
|
195
203
|
args: GetEnterpriseSupportChargeSummaryCommandInput,
|
|
196
|
-
options:
|
|
204
|
+
options: BillingRequestOptions,
|
|
197
205
|
cb: (err: any, data?: GetEnterpriseSupportChargeSummaryCommandOutput) => void,
|
|
198
206
|
): void;
|
|
199
207
|
getEnterpriseSupportContractDetails(
|
|
200
208
|
args: GetEnterpriseSupportContractDetailsCommandInput,
|
|
201
|
-
options?:
|
|
209
|
+
options?: BillingRequestOptions,
|
|
202
210
|
): Promise<GetEnterpriseSupportContractDetailsCommandOutput>;
|
|
203
211
|
getEnterpriseSupportContractDetails(
|
|
204
212
|
args: GetEnterpriseSupportContractDetailsCommandInput,
|
|
@@ -206,12 +214,12 @@ export interface Billing {
|
|
|
206
214
|
): void;
|
|
207
215
|
getEnterpriseSupportContractDetails(
|
|
208
216
|
args: GetEnterpriseSupportContractDetailsCommandInput,
|
|
209
|
-
options:
|
|
217
|
+
options: BillingRequestOptions,
|
|
210
218
|
cb: (err: any, data?: GetEnterpriseSupportContractDetailsCommandOutput) => void,
|
|
211
219
|
): void;
|
|
212
220
|
getResourcePolicy(
|
|
213
221
|
args: GetResourcePolicyCommandInput,
|
|
214
|
-
options?:
|
|
222
|
+
options?: BillingRequestOptions,
|
|
215
223
|
): Promise<GetResourcePolicyCommandOutput>;
|
|
216
224
|
getResourcePolicy(
|
|
217
225
|
args: GetResourcePolicyCommandInput,
|
|
@@ -219,13 +227,13 @@ export interface Billing {
|
|
|
219
227
|
): void;
|
|
220
228
|
getResourcePolicy(
|
|
221
229
|
args: GetResourcePolicyCommandInput,
|
|
222
|
-
options:
|
|
230
|
+
options: BillingRequestOptions,
|
|
223
231
|
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
224
232
|
): void;
|
|
225
233
|
listBillingViews(): Promise<ListBillingViewsCommandOutput>;
|
|
226
234
|
listBillingViews(
|
|
227
235
|
args: ListBillingViewsCommandInput,
|
|
228
|
-
options?:
|
|
236
|
+
options?: BillingRequestOptions,
|
|
229
237
|
): Promise<ListBillingViewsCommandOutput>;
|
|
230
238
|
listBillingViews(
|
|
231
239
|
args: ListBillingViewsCommandInput,
|
|
@@ -233,12 +241,26 @@ export interface Billing {
|
|
|
233
241
|
): void;
|
|
234
242
|
listBillingViews(
|
|
235
243
|
args: ListBillingViewsCommandInput,
|
|
236
|
-
options:
|
|
244
|
+
options: BillingRequestOptions,
|
|
237
245
|
cb: (err: any, data?: ListBillingViewsCommandOutput) => void,
|
|
238
246
|
): void;
|
|
247
|
+
listBillingViewSegments(): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
248
|
+
listBillingViewSegments(
|
|
249
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
250
|
+
options?: BillingRequestOptions,
|
|
251
|
+
): Promise<ListBillingViewSegmentsCommandOutput>;
|
|
252
|
+
listBillingViewSegments(
|
|
253
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
254
|
+
cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void,
|
|
255
|
+
): void;
|
|
256
|
+
listBillingViewSegments(
|
|
257
|
+
args: ListBillingViewSegmentsCommandInput,
|
|
258
|
+
options: BillingRequestOptions,
|
|
259
|
+
cb: (err: any, data?: ListBillingViewSegmentsCommandOutput) => void,
|
|
260
|
+
): void;
|
|
239
261
|
listEnterpriseSupportLinkedAccountCharges(
|
|
240
262
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
241
|
-
options?:
|
|
263
|
+
options?: BillingRequestOptions,
|
|
242
264
|
): Promise<ListEnterpriseSupportLinkedAccountChargesCommandOutput>;
|
|
243
265
|
listEnterpriseSupportLinkedAccountCharges(
|
|
244
266
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
@@ -246,12 +268,12 @@ export interface Billing {
|
|
|
246
268
|
): void;
|
|
247
269
|
listEnterpriseSupportLinkedAccountCharges(
|
|
248
270
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
249
|
-
options:
|
|
271
|
+
options: BillingRequestOptions,
|
|
250
272
|
cb: (err: any, data?: ListEnterpriseSupportLinkedAccountChargesCommandOutput) => void,
|
|
251
273
|
): void;
|
|
252
274
|
listSourceViewsForBillingView(
|
|
253
275
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
254
|
-
options?:
|
|
276
|
+
options?: BillingRequestOptions,
|
|
255
277
|
): Promise<ListSourceViewsForBillingViewCommandOutput>;
|
|
256
278
|
listSourceViewsForBillingView(
|
|
257
279
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
@@ -259,12 +281,12 @@ export interface Billing {
|
|
|
259
281
|
): void;
|
|
260
282
|
listSourceViewsForBillingView(
|
|
261
283
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
262
|
-
options:
|
|
284
|
+
options: BillingRequestOptions,
|
|
263
285
|
cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void,
|
|
264
286
|
): void;
|
|
265
287
|
listTagsForResource(
|
|
266
288
|
args: ListTagsForResourceCommandInput,
|
|
267
|
-
options?:
|
|
289
|
+
options?: BillingRequestOptions,
|
|
268
290
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
269
291
|
listTagsForResource(
|
|
270
292
|
args: ListTagsForResourceCommandInput,
|
|
@@ -272,12 +294,12 @@ export interface Billing {
|
|
|
272
294
|
): void;
|
|
273
295
|
listTagsForResource(
|
|
274
296
|
args: ListTagsForResourceCommandInput,
|
|
275
|
-
options:
|
|
297
|
+
options: BillingRequestOptions,
|
|
276
298
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
277
299
|
): void;
|
|
278
300
|
redeemCredits(
|
|
279
301
|
args: RedeemCreditsCommandInput,
|
|
280
|
-
options?:
|
|
302
|
+
options?: BillingRequestOptions,
|
|
281
303
|
): Promise<RedeemCreditsCommandOutput>;
|
|
282
304
|
redeemCredits(
|
|
283
305
|
args: RedeemCreditsCommandInput,
|
|
@@ -285,12 +307,12 @@ export interface Billing {
|
|
|
285
307
|
): void;
|
|
286
308
|
redeemCredits(
|
|
287
309
|
args: RedeemCreditsCommandInput,
|
|
288
|
-
options:
|
|
310
|
+
options: BillingRequestOptions,
|
|
289
311
|
cb: (err: any, data?: RedeemCreditsCommandOutput) => void,
|
|
290
312
|
): void;
|
|
291
313
|
tagResource(
|
|
292
314
|
args: TagResourceCommandInput,
|
|
293
|
-
options?:
|
|
315
|
+
options?: BillingRequestOptions,
|
|
294
316
|
): Promise<TagResourceCommandOutput>;
|
|
295
317
|
tagResource(
|
|
296
318
|
args: TagResourceCommandInput,
|
|
@@ -298,12 +320,12 @@ export interface Billing {
|
|
|
298
320
|
): void;
|
|
299
321
|
tagResource(
|
|
300
322
|
args: TagResourceCommandInput,
|
|
301
|
-
options:
|
|
323
|
+
options: BillingRequestOptions,
|
|
302
324
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
303
325
|
): void;
|
|
304
326
|
untagResource(
|
|
305
327
|
args: UntagResourceCommandInput,
|
|
306
|
-
options?:
|
|
328
|
+
options?: BillingRequestOptions,
|
|
307
329
|
): Promise<UntagResourceCommandOutput>;
|
|
308
330
|
untagResource(
|
|
309
331
|
args: UntagResourceCommandInput,
|
|
@@ -311,12 +333,12 @@ export interface Billing {
|
|
|
311
333
|
): void;
|
|
312
334
|
untagResource(
|
|
313
335
|
args: UntagResourceCommandInput,
|
|
314
|
-
options:
|
|
336
|
+
options: BillingRequestOptions,
|
|
315
337
|
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
316
338
|
): void;
|
|
317
339
|
updateBillingPreferences(
|
|
318
340
|
args: UpdateBillingPreferencesCommandInput,
|
|
319
|
-
options?:
|
|
341
|
+
options?: BillingRequestOptions,
|
|
320
342
|
): Promise<UpdateBillingPreferencesCommandOutput>;
|
|
321
343
|
updateBillingPreferences(
|
|
322
344
|
args: UpdateBillingPreferencesCommandInput,
|
|
@@ -324,12 +346,12 @@ export interface Billing {
|
|
|
324
346
|
): void;
|
|
325
347
|
updateBillingPreferences(
|
|
326
348
|
args: UpdateBillingPreferencesCommandInput,
|
|
327
|
-
options:
|
|
349
|
+
options: BillingRequestOptions,
|
|
328
350
|
cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void,
|
|
329
351
|
): void;
|
|
330
352
|
updateBillingView(
|
|
331
353
|
args: UpdateBillingViewCommandInput,
|
|
332
|
-
options?:
|
|
354
|
+
options?: BillingRequestOptions,
|
|
333
355
|
): Promise<UpdateBillingViewCommandOutput>;
|
|
334
356
|
updateBillingView(
|
|
335
357
|
args: UpdateBillingViewCommandInput,
|
|
@@ -337,7 +359,7 @@ export interface Billing {
|
|
|
337
359
|
): void;
|
|
338
360
|
updateBillingView(
|
|
339
361
|
args: UpdateBillingViewCommandInput,
|
|
340
|
-
options:
|
|
362
|
+
options: BillingRequestOptions,
|
|
341
363
|
cb: (err: any, data?: UpdateBillingViewCommandOutput) => void,
|
|
342
364
|
): void;
|
|
343
365
|
paginateGetCreditAllocationHistory(
|
|
@@ -354,6 +376,13 @@ export interface Billing {
|
|
|
354
376
|
Exclude<keyof PaginationConfiguration, "client">
|
|
355
377
|
>,
|
|
356
378
|
): Paginator<ListBillingViewsCommandOutput>;
|
|
379
|
+
paginateListBillingViewSegments(
|
|
380
|
+
args?: ListBillingViewSegmentsCommandInput,
|
|
381
|
+
paginationConfig?: Pick<
|
|
382
|
+
PaginationConfiguration,
|
|
383
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
384
|
+
>,
|
|
385
|
+
): Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
357
386
|
paginateListEnterpriseSupportLinkedAccountCharges(
|
|
358
387
|
args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
359
388
|
paginationConfig?: Pick<
|
|
@@ -78,6 +78,10 @@ import {
|
|
|
78
78
|
ListBillingViewsCommandInput,
|
|
79
79
|
ListBillingViewsCommandOutput,
|
|
80
80
|
} from "./commands/ListBillingViewsCommand";
|
|
81
|
+
import {
|
|
82
|
+
ListBillingViewSegmentsCommandInput,
|
|
83
|
+
ListBillingViewSegmentsCommandOutput,
|
|
84
|
+
} from "./commands/ListBillingViewSegmentsCommand";
|
|
81
85
|
import {
|
|
82
86
|
ListEnterpriseSupportLinkedAccountChargesCommandInput,
|
|
83
87
|
ListEnterpriseSupportLinkedAccountChargesCommandOutput,
|
|
@@ -126,6 +130,7 @@ export type ServiceInputTypes =
|
|
|
126
130
|
| GetEnterpriseSupportChargeSummaryCommandInput
|
|
127
131
|
| GetEnterpriseSupportContractDetailsCommandInput
|
|
128
132
|
| GetResourcePolicyCommandInput
|
|
133
|
+
| ListBillingViewSegmentsCommandInput
|
|
129
134
|
| ListBillingViewsCommandInput
|
|
130
135
|
| ListEnterpriseSupportLinkedAccountChargesCommandInput
|
|
131
136
|
| ListSourceViewsForBillingViewCommandInput
|
|
@@ -147,6 +152,7 @@ export type ServiceOutputTypes =
|
|
|
147
152
|
| GetEnterpriseSupportChargeSummaryCommandOutput
|
|
148
153
|
| GetEnterpriseSupportContractDetailsCommandOutput
|
|
149
154
|
| GetResourcePolicyCommandOutput
|
|
155
|
+
| ListBillingViewSegmentsCommandOutput
|
|
150
156
|
| ListBillingViewsCommandOutput
|
|
151
157
|
| ListEnterpriseSupportLinkedAccountChargesCommandOutput
|
|
152
158
|
| ListSourceViewsForBillingViewCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBillingViewSegmentsRequest,
|
|
4
|
+
ListBillingViewSegmentsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListBillingViewSegmentsCommandInput extends ListBillingViewSegmentsRequest {}
|
|
8
|
+
export interface ListBillingViewSegmentsCommandOutput
|
|
9
|
+
extends ListBillingViewSegmentsResponse, __MetadataBearer {}
|
|
10
|
+
declare const ListBillingViewSegmentsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListBillingViewSegmentsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListBillingViewSegmentsCommandInput,
|
|
15
|
+
ListBillingViewSegmentsCommandOutput,
|
|
16
|
+
import("..").BillingClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
...[input]: [] | [ListBillingViewSegmentsCommandInput]
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListBillingViewSegmentsCommandInput,
|
|
24
|
+
ListBillingViewSegmentsCommandOutput,
|
|
25
|
+
import("..").BillingClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListBillingViewSegmentsCommand extends ListBillingViewSegmentsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListBillingViewSegmentsRequest;
|
|
35
|
+
output: ListBillingViewSegmentsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListBillingViewSegmentsCommandInput;
|
|
39
|
+
output: ListBillingViewSegmentsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -9,6 +9,7 @@ export * from "./GetCreditsCommand";
|
|
|
9
9
|
export * from "./GetEnterpriseSupportChargeSummaryCommand";
|
|
10
10
|
export * from "./GetEnterpriseSupportContractDetailsCommand";
|
|
11
11
|
export * from "./GetResourcePolicyCommand";
|
|
12
|
+
export * from "./ListBillingViewSegmentsCommand";
|
|
12
13
|
export * from "./ListBillingViewsCommand";
|
|
13
14
|
export * from "./ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
14
15
|
export * from "./ListSourceViewsForBillingViewCommand";
|
|
@@ -78,3 +78,8 @@ export declare const SearchOption: {
|
|
|
78
78
|
readonly STARTS_WITH: "STARTS_WITH";
|
|
79
79
|
};
|
|
80
80
|
export type SearchOption = (typeof SearchOption)[keyof typeof SearchOption];
|
|
81
|
+
export declare const BillingDomain: {
|
|
82
|
+
readonly BILLABLE: "BILLABLE";
|
|
83
|
+
readonly PRO_FORMA: "PRO_FORMA";
|
|
84
|
+
};
|
|
85
|
+
export type BillingDomain = (typeof BillingDomain)[keyof typeof BillingDomain];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApplicationType,
|
|
3
|
+
BillingDomain,
|
|
3
4
|
BillingFeature,
|
|
4
5
|
BillingFeatureFilterName,
|
|
5
6
|
BillingViewStatus,
|
|
@@ -293,6 +294,27 @@ export interface ListBillingViewsResponse {
|
|
|
293
294
|
billingViews: BillingViewListElement[] | undefined;
|
|
294
295
|
nextToken?: string | undefined;
|
|
295
296
|
}
|
|
297
|
+
export interface BillingViewSegmentTimeRange {
|
|
298
|
+
beginDateInclusive?: Date | undefined;
|
|
299
|
+
endDateExclusive?: Date | undefined;
|
|
300
|
+
}
|
|
301
|
+
export interface ListBillingViewSegmentsRequest {
|
|
302
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
303
|
+
arn?: string | undefined;
|
|
304
|
+
maxResults?: number | undefined;
|
|
305
|
+
nextToken?: string | undefined;
|
|
306
|
+
}
|
|
307
|
+
export interface BillingViewSegmentsListElement {
|
|
308
|
+
domain?: BillingDomain | undefined;
|
|
309
|
+
timeRange?: BillingViewSegmentTimeRange | undefined;
|
|
310
|
+
billingTransferAccountId?: string | undefined;
|
|
311
|
+
managementAccountId?: string | undefined;
|
|
312
|
+
billingGroupPrimaryAccountId?: string | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface ListBillingViewSegmentsResponse {
|
|
315
|
+
items: BillingViewSegmentsListElement[] | undefined;
|
|
316
|
+
nextToken?: string | undefined;
|
|
317
|
+
}
|
|
296
318
|
export interface ListEnterpriseSupportLinkedAccountChargesRequest {
|
|
297
319
|
billingMonth: string | undefined;
|
|
298
320
|
accountId?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBillingViewSegmentsCommandInput,
|
|
4
|
+
ListBillingViewSegmentsCommandOutput,
|
|
5
|
+
} from "../commands/ListBillingViewSegmentsCommand";
|
|
6
|
+
import { BillingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListBillingViewSegments: (
|
|
8
|
+
config: BillingPaginationConfiguration,
|
|
9
|
+
input: ListBillingViewSegmentsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListBillingViewSegmentsCommandOutput>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./GetCreditAllocationHistoryPaginator";
|
|
3
3
|
export * from "./ListBillingViewsPaginator";
|
|
4
|
+
export * from "./ListBillingViewSegmentsPaginator";
|
|
4
5
|
export * from "./ListEnterpriseSupportLinkedAccountChargesPaginator";
|
|
5
6
|
export * from "./ListSourceViewsForBillingViewPaginator";
|
|
@@ -22,6 +22,8 @@ export declare var BillingPreferenceSummary$: StaticStructureSchema;
|
|
|
22
22
|
export declare var BillingViewElement$: StaticStructureSchema;
|
|
23
23
|
export declare var BillingViewHealthStatus$: StaticStructureSchema;
|
|
24
24
|
export declare var BillingViewListElement$: StaticStructureSchema;
|
|
25
|
+
export declare var BillingViewSegmentsListElement$: StaticStructureSchema;
|
|
26
|
+
export declare var BillingViewSegmentTimeRange$: StaticStructureSchema;
|
|
25
27
|
export declare var ChargeAccount$: StaticStructureSchema;
|
|
26
28
|
export declare var ContractAccount$: StaticStructureSchema;
|
|
27
29
|
export declare var CostCategoryValues$: StaticStructureSchema;
|
|
@@ -51,6 +53,8 @@ export declare var GetEnterpriseSupportContractDetailsResponse$: StaticStructure
|
|
|
51
53
|
export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
52
54
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
53
55
|
export declare var LinkedAccountCharge$: StaticStructureSchema;
|
|
56
|
+
export declare var ListBillingViewSegmentsRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var ListBillingViewSegmentsResponse$: StaticStructureSchema;
|
|
54
58
|
export declare var ListBillingViewsRequest$: StaticStructureSchema;
|
|
55
59
|
export declare var ListBillingViewsResponse$: StaticStructureSchema;
|
|
56
60
|
export declare var ListEnterpriseSupportLinkedAccountChargesRequest$: StaticStructureSchema;
|
|
@@ -89,6 +93,7 @@ export declare var GetEnterpriseSupportChargeSummary$: StaticOperationSchema;
|
|
|
89
93
|
export declare var GetEnterpriseSupportContractDetails$: StaticOperationSchema;
|
|
90
94
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
91
95
|
export declare var ListBillingViews$: StaticOperationSchema;
|
|
96
|
+
export declare var ListBillingViewSegments$: StaticOperationSchema;
|
|
92
97
|
export declare var ListEnterpriseSupportLinkedAccountCharges$: StaticOperationSchema;
|
|
93
98
|
export declare var ListSourceViewsForBillingView$: StaticOperationSchema;
|
|
94
99
|
export declare var ListTagsForResource$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Billing Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-billing",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|