@aws-sdk/client-billing 3.1087.0 → 3.1089.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/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/Billing.d.ts +56 -62
- package/dist-types/ts3.4/BillingClient.d.ts +17 -33
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/AssociateSourceViewsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DisassociateSourceViewsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetBillingPreferencesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetCreditAllocationHistoryCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetCreditsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/RedeemCreditsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateBillingPreferencesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -12
- package/dist-types/ts3.4/models/errors.d.ts +7 -24
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
package/dist-cjs/index.js
CHANGED
|
@@ -32,10 +32,7 @@ import {
|
|
|
32
32
|
GetCreditAllocationHistoryCommandInput,
|
|
33
33
|
GetCreditAllocationHistoryCommandOutput,
|
|
34
34
|
} from "./commands/GetCreditAllocationHistoryCommand";
|
|
35
|
-
import {
|
|
36
|
-
GetCreditsCommandInput,
|
|
37
|
-
GetCreditsCommandOutput,
|
|
38
|
-
} from "./commands/GetCreditsCommand";
|
|
35
|
+
import { GetCreditsCommandInput, GetCreditsCommandOutput } from "./commands/GetCreditsCommand";
|
|
39
36
|
import {
|
|
40
37
|
GetResourcePolicyCommandInput,
|
|
41
38
|
GetResourcePolicyCommandOutput,
|
|
@@ -56,10 +53,7 @@ import {
|
|
|
56
53
|
RedeemCreditsCommandInput,
|
|
57
54
|
RedeemCreditsCommandOutput,
|
|
58
55
|
} from "./commands/RedeemCreditsCommand";
|
|
59
|
-
import {
|
|
60
|
-
TagResourceCommandInput,
|
|
61
|
-
TagResourceCommandOutput,
|
|
62
|
-
} from "./commands/TagResourceCommand";
|
|
56
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
63
57
|
import {
|
|
64
58
|
UntagResourceCommandInput,
|
|
65
59
|
UntagResourceCommandOutput,
|
|
@@ -75,246 +69,246 @@ import {
|
|
|
75
69
|
export interface Billing {
|
|
76
70
|
associateSourceViews(
|
|
77
71
|
args: AssociateSourceViewsCommandInput,
|
|
78
|
-
options?: __HttpHandlerOptions
|
|
72
|
+
options?: __HttpHandlerOptions,
|
|
79
73
|
): Promise<AssociateSourceViewsCommandOutput>;
|
|
80
74
|
associateSourceViews(
|
|
81
75
|
args: AssociateSourceViewsCommandInput,
|
|
82
|
-
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void
|
|
76
|
+
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void,
|
|
83
77
|
): void;
|
|
84
78
|
associateSourceViews(
|
|
85
79
|
args: AssociateSourceViewsCommandInput,
|
|
86
80
|
options: __HttpHandlerOptions,
|
|
87
|
-
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void
|
|
81
|
+
cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void,
|
|
88
82
|
): void;
|
|
89
83
|
createBillingView(
|
|
90
84
|
args: CreateBillingViewCommandInput,
|
|
91
|
-
options?: __HttpHandlerOptions
|
|
85
|
+
options?: __HttpHandlerOptions,
|
|
92
86
|
): Promise<CreateBillingViewCommandOutput>;
|
|
93
87
|
createBillingView(
|
|
94
88
|
args: CreateBillingViewCommandInput,
|
|
95
|
-
cb: (err: any, data?: CreateBillingViewCommandOutput) => void
|
|
89
|
+
cb: (err: any, data?: CreateBillingViewCommandOutput) => void,
|
|
96
90
|
): void;
|
|
97
91
|
createBillingView(
|
|
98
92
|
args: CreateBillingViewCommandInput,
|
|
99
93
|
options: __HttpHandlerOptions,
|
|
100
|
-
cb: (err: any, data?: CreateBillingViewCommandOutput) => void
|
|
94
|
+
cb: (err: any, data?: CreateBillingViewCommandOutput) => void,
|
|
101
95
|
): void;
|
|
102
96
|
deleteBillingView(
|
|
103
97
|
args: DeleteBillingViewCommandInput,
|
|
104
|
-
options?: __HttpHandlerOptions
|
|
98
|
+
options?: __HttpHandlerOptions,
|
|
105
99
|
): Promise<DeleteBillingViewCommandOutput>;
|
|
106
100
|
deleteBillingView(
|
|
107
101
|
args: DeleteBillingViewCommandInput,
|
|
108
|
-
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void
|
|
102
|
+
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void,
|
|
109
103
|
): void;
|
|
110
104
|
deleteBillingView(
|
|
111
105
|
args: DeleteBillingViewCommandInput,
|
|
112
106
|
options: __HttpHandlerOptions,
|
|
113
|
-
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void
|
|
107
|
+
cb: (err: any, data?: DeleteBillingViewCommandOutput) => void,
|
|
114
108
|
): void;
|
|
115
109
|
disassociateSourceViews(
|
|
116
110
|
args: DisassociateSourceViewsCommandInput,
|
|
117
|
-
options?: __HttpHandlerOptions
|
|
111
|
+
options?: __HttpHandlerOptions,
|
|
118
112
|
): Promise<DisassociateSourceViewsCommandOutput>;
|
|
119
113
|
disassociateSourceViews(
|
|
120
114
|
args: DisassociateSourceViewsCommandInput,
|
|
121
|
-
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void
|
|
115
|
+
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void,
|
|
122
116
|
): void;
|
|
123
117
|
disassociateSourceViews(
|
|
124
118
|
args: DisassociateSourceViewsCommandInput,
|
|
125
119
|
options: __HttpHandlerOptions,
|
|
126
|
-
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void
|
|
120
|
+
cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void,
|
|
127
121
|
): void;
|
|
128
122
|
getBillingPreferences(
|
|
129
123
|
args: GetBillingPreferencesCommandInput,
|
|
130
|
-
options?: __HttpHandlerOptions
|
|
124
|
+
options?: __HttpHandlerOptions,
|
|
131
125
|
): Promise<GetBillingPreferencesCommandOutput>;
|
|
132
126
|
getBillingPreferences(
|
|
133
127
|
args: GetBillingPreferencesCommandInput,
|
|
134
|
-
cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void
|
|
128
|
+
cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void,
|
|
135
129
|
): void;
|
|
136
130
|
getBillingPreferences(
|
|
137
131
|
args: GetBillingPreferencesCommandInput,
|
|
138
132
|
options: __HttpHandlerOptions,
|
|
139
|
-
cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void
|
|
133
|
+
cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void,
|
|
140
134
|
): void;
|
|
141
135
|
getBillingView(
|
|
142
136
|
args: GetBillingViewCommandInput,
|
|
143
|
-
options?: __HttpHandlerOptions
|
|
137
|
+
options?: __HttpHandlerOptions,
|
|
144
138
|
): Promise<GetBillingViewCommandOutput>;
|
|
145
139
|
getBillingView(
|
|
146
140
|
args: GetBillingViewCommandInput,
|
|
147
|
-
cb: (err: any, data?: GetBillingViewCommandOutput) => void
|
|
141
|
+
cb: (err: any, data?: GetBillingViewCommandOutput) => void,
|
|
148
142
|
): void;
|
|
149
143
|
getBillingView(
|
|
150
144
|
args: GetBillingViewCommandInput,
|
|
151
145
|
options: __HttpHandlerOptions,
|
|
152
|
-
cb: (err: any, data?: GetBillingViewCommandOutput) => void
|
|
146
|
+
cb: (err: any, data?: GetBillingViewCommandOutput) => void,
|
|
153
147
|
): void;
|
|
154
148
|
getCreditAllocationHistory(
|
|
155
149
|
args: GetCreditAllocationHistoryCommandInput,
|
|
156
|
-
options?: __HttpHandlerOptions
|
|
150
|
+
options?: __HttpHandlerOptions,
|
|
157
151
|
): Promise<GetCreditAllocationHistoryCommandOutput>;
|
|
158
152
|
getCreditAllocationHistory(
|
|
159
153
|
args: GetCreditAllocationHistoryCommandInput,
|
|
160
|
-
cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void
|
|
154
|
+
cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void,
|
|
161
155
|
): void;
|
|
162
156
|
getCreditAllocationHistory(
|
|
163
157
|
args: GetCreditAllocationHistoryCommandInput,
|
|
164
158
|
options: __HttpHandlerOptions,
|
|
165
|
-
cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void
|
|
159
|
+
cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void,
|
|
166
160
|
): void;
|
|
167
161
|
getCredits(
|
|
168
162
|
args: GetCreditsCommandInput,
|
|
169
|
-
options?: __HttpHandlerOptions
|
|
163
|
+
options?: __HttpHandlerOptions,
|
|
170
164
|
): Promise<GetCreditsCommandOutput>;
|
|
171
165
|
getCredits(
|
|
172
166
|
args: GetCreditsCommandInput,
|
|
173
|
-
cb: (err: any, data?: GetCreditsCommandOutput) => void
|
|
167
|
+
cb: (err: any, data?: GetCreditsCommandOutput) => void,
|
|
174
168
|
): void;
|
|
175
169
|
getCredits(
|
|
176
170
|
args: GetCreditsCommandInput,
|
|
177
171
|
options: __HttpHandlerOptions,
|
|
178
|
-
cb: (err: any, data?: GetCreditsCommandOutput) => void
|
|
172
|
+
cb: (err: any, data?: GetCreditsCommandOutput) => void,
|
|
179
173
|
): void;
|
|
180
174
|
getResourcePolicy(
|
|
181
175
|
args: GetResourcePolicyCommandInput,
|
|
182
|
-
options?: __HttpHandlerOptions
|
|
176
|
+
options?: __HttpHandlerOptions,
|
|
183
177
|
): Promise<GetResourcePolicyCommandOutput>;
|
|
184
178
|
getResourcePolicy(
|
|
185
179
|
args: GetResourcePolicyCommandInput,
|
|
186
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
180
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
187
181
|
): void;
|
|
188
182
|
getResourcePolicy(
|
|
189
183
|
args: GetResourcePolicyCommandInput,
|
|
190
184
|
options: __HttpHandlerOptions,
|
|
191
|
-
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
185
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
|
|
192
186
|
): void;
|
|
193
187
|
listBillingViews(): Promise<ListBillingViewsCommandOutput>;
|
|
194
188
|
listBillingViews(
|
|
195
189
|
args: ListBillingViewsCommandInput,
|
|
196
|
-
options?: __HttpHandlerOptions
|
|
190
|
+
options?: __HttpHandlerOptions,
|
|
197
191
|
): Promise<ListBillingViewsCommandOutput>;
|
|
198
192
|
listBillingViews(
|
|
199
193
|
args: ListBillingViewsCommandInput,
|
|
200
|
-
cb: (err: any, data?: ListBillingViewsCommandOutput) => void
|
|
194
|
+
cb: (err: any, data?: ListBillingViewsCommandOutput) => void,
|
|
201
195
|
): void;
|
|
202
196
|
listBillingViews(
|
|
203
197
|
args: ListBillingViewsCommandInput,
|
|
204
198
|
options: __HttpHandlerOptions,
|
|
205
|
-
cb: (err: any, data?: ListBillingViewsCommandOutput) => void
|
|
199
|
+
cb: (err: any, data?: ListBillingViewsCommandOutput) => void,
|
|
206
200
|
): void;
|
|
207
201
|
listSourceViewsForBillingView(
|
|
208
202
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
209
|
-
options?: __HttpHandlerOptions
|
|
203
|
+
options?: __HttpHandlerOptions,
|
|
210
204
|
): Promise<ListSourceViewsForBillingViewCommandOutput>;
|
|
211
205
|
listSourceViewsForBillingView(
|
|
212
206
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
213
|
-
cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void
|
|
207
|
+
cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void,
|
|
214
208
|
): void;
|
|
215
209
|
listSourceViewsForBillingView(
|
|
216
210
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
217
211
|
options: __HttpHandlerOptions,
|
|
218
|
-
cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void
|
|
212
|
+
cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void,
|
|
219
213
|
): void;
|
|
220
214
|
listTagsForResource(
|
|
221
215
|
args: ListTagsForResourceCommandInput,
|
|
222
|
-
options?: __HttpHandlerOptions
|
|
216
|
+
options?: __HttpHandlerOptions,
|
|
223
217
|
): Promise<ListTagsForResourceCommandOutput>;
|
|
224
218
|
listTagsForResource(
|
|
225
219
|
args: ListTagsForResourceCommandInput,
|
|
226
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
220
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
227
221
|
): void;
|
|
228
222
|
listTagsForResource(
|
|
229
223
|
args: ListTagsForResourceCommandInput,
|
|
230
224
|
options: __HttpHandlerOptions,
|
|
231
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
225
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
|
|
232
226
|
): void;
|
|
233
227
|
redeemCredits(
|
|
234
228
|
args: RedeemCreditsCommandInput,
|
|
235
|
-
options?: __HttpHandlerOptions
|
|
229
|
+
options?: __HttpHandlerOptions,
|
|
236
230
|
): Promise<RedeemCreditsCommandOutput>;
|
|
237
231
|
redeemCredits(
|
|
238
232
|
args: RedeemCreditsCommandInput,
|
|
239
|
-
cb: (err: any, data?: RedeemCreditsCommandOutput) => void
|
|
233
|
+
cb: (err: any, data?: RedeemCreditsCommandOutput) => void,
|
|
240
234
|
): void;
|
|
241
235
|
redeemCredits(
|
|
242
236
|
args: RedeemCreditsCommandInput,
|
|
243
237
|
options: __HttpHandlerOptions,
|
|
244
|
-
cb: (err: any, data?: RedeemCreditsCommandOutput) => void
|
|
238
|
+
cb: (err: any, data?: RedeemCreditsCommandOutput) => void,
|
|
245
239
|
): void;
|
|
246
240
|
tagResource(
|
|
247
241
|
args: TagResourceCommandInput,
|
|
248
|
-
options?: __HttpHandlerOptions
|
|
242
|
+
options?: __HttpHandlerOptions,
|
|
249
243
|
): Promise<TagResourceCommandOutput>;
|
|
250
244
|
tagResource(
|
|
251
245
|
args: TagResourceCommandInput,
|
|
252
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
246
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
253
247
|
): void;
|
|
254
248
|
tagResource(
|
|
255
249
|
args: TagResourceCommandInput,
|
|
256
250
|
options: __HttpHandlerOptions,
|
|
257
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
251
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
258
252
|
): void;
|
|
259
253
|
untagResource(
|
|
260
254
|
args: UntagResourceCommandInput,
|
|
261
|
-
options?: __HttpHandlerOptions
|
|
255
|
+
options?: __HttpHandlerOptions,
|
|
262
256
|
): Promise<UntagResourceCommandOutput>;
|
|
263
257
|
untagResource(
|
|
264
258
|
args: UntagResourceCommandInput,
|
|
265
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
259
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
266
260
|
): void;
|
|
267
261
|
untagResource(
|
|
268
262
|
args: UntagResourceCommandInput,
|
|
269
263
|
options: __HttpHandlerOptions,
|
|
270
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
264
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void,
|
|
271
265
|
): void;
|
|
272
266
|
updateBillingPreferences(
|
|
273
267
|
args: UpdateBillingPreferencesCommandInput,
|
|
274
|
-
options?: __HttpHandlerOptions
|
|
268
|
+
options?: __HttpHandlerOptions,
|
|
275
269
|
): Promise<UpdateBillingPreferencesCommandOutput>;
|
|
276
270
|
updateBillingPreferences(
|
|
277
271
|
args: UpdateBillingPreferencesCommandInput,
|
|
278
|
-
cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void
|
|
272
|
+
cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void,
|
|
279
273
|
): void;
|
|
280
274
|
updateBillingPreferences(
|
|
281
275
|
args: UpdateBillingPreferencesCommandInput,
|
|
282
276
|
options: __HttpHandlerOptions,
|
|
283
|
-
cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void
|
|
277
|
+
cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void,
|
|
284
278
|
): void;
|
|
285
279
|
updateBillingView(
|
|
286
280
|
args: UpdateBillingViewCommandInput,
|
|
287
|
-
options?: __HttpHandlerOptions
|
|
281
|
+
options?: __HttpHandlerOptions,
|
|
288
282
|
): Promise<UpdateBillingViewCommandOutput>;
|
|
289
283
|
updateBillingView(
|
|
290
284
|
args: UpdateBillingViewCommandInput,
|
|
291
|
-
cb: (err: any, data?: UpdateBillingViewCommandOutput) => void
|
|
285
|
+
cb: (err: any, data?: UpdateBillingViewCommandOutput) => void,
|
|
292
286
|
): void;
|
|
293
287
|
updateBillingView(
|
|
294
288
|
args: UpdateBillingViewCommandInput,
|
|
295
289
|
options: __HttpHandlerOptions,
|
|
296
|
-
cb: (err: any, data?: UpdateBillingViewCommandOutput) => void
|
|
290
|
+
cb: (err: any, data?: UpdateBillingViewCommandOutput) => void,
|
|
297
291
|
): void;
|
|
298
292
|
paginateGetCreditAllocationHistory(
|
|
299
293
|
args: GetCreditAllocationHistoryCommandInput,
|
|
300
294
|
paginationConfig?: Pick<
|
|
301
295
|
PaginationConfiguration,
|
|
302
296
|
Exclude<keyof PaginationConfiguration, "client">
|
|
303
|
-
|
|
297
|
+
>,
|
|
304
298
|
): Paginator<GetCreditAllocationHistoryCommandOutput>;
|
|
305
299
|
paginateListBillingViews(
|
|
306
300
|
args?: ListBillingViewsCommandInput,
|
|
307
301
|
paginationConfig?: Pick<
|
|
308
302
|
PaginationConfiguration,
|
|
309
303
|
Exclude<keyof PaginationConfiguration, "client">
|
|
310
|
-
|
|
304
|
+
>,
|
|
311
305
|
): Paginator<ListBillingViewsCommandOutput>;
|
|
312
306
|
paginateListSourceViewsForBillingView(
|
|
313
307
|
args: ListSourceViewsForBillingViewCommandInput,
|
|
314
308
|
paginationConfig?: Pick<
|
|
315
309
|
PaginationConfiguration,
|
|
316
310
|
Exclude<keyof PaginationConfiguration, "client">
|
|
317
|
-
|
|
311
|
+
>,
|
|
318
312
|
): Paginator<ListSourceViewsForBillingViewCommandOutput>;
|
|
319
313
|
}
|
|
320
314
|
export declare class Billing extends BillingClient implements Billing {}
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -64,10 +61,7 @@ import {
|
|
|
64
61
|
GetCreditAllocationHistoryCommandInput,
|
|
65
62
|
GetCreditAllocationHistoryCommandOutput,
|
|
66
63
|
} from "./commands/GetCreditAllocationHistoryCommand";
|
|
67
|
-
import {
|
|
68
|
-
GetCreditsCommandInput,
|
|
69
|
-
GetCreditsCommandOutput,
|
|
70
|
-
} from "./commands/GetCreditsCommand";
|
|
64
|
+
import { GetCreditsCommandInput, GetCreditsCommandOutput } from "./commands/GetCreditsCommand";
|
|
71
65
|
import {
|
|
72
66
|
GetResourcePolicyCommandInput,
|
|
73
67
|
GetResourcePolicyCommandOutput,
|
|
@@ -88,10 +82,7 @@ import {
|
|
|
88
82
|
RedeemCreditsCommandInput,
|
|
89
83
|
RedeemCreditsCommandOutput,
|
|
90
84
|
} from "./commands/RedeemCreditsCommand";
|
|
91
|
-
import {
|
|
92
|
-
TagResourceCommandInput,
|
|
93
|
-
TagResourceCommandOutput,
|
|
94
|
-
} from "./commands/TagResourceCommand";
|
|
85
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
95
86
|
import {
|
|
96
87
|
UntagResourceCommandInput,
|
|
97
88
|
UntagResourceCommandOutput,
|
|
@@ -147,8 +138,7 @@ export type ServiceOutputTypes =
|
|
|
147
138
|
| UntagResourceCommandOutput
|
|
148
139
|
| UpdateBillingPreferencesCommandOutput
|
|
149
140
|
| UpdateBillingViewCommandOutput;
|
|
150
|
-
export interface ClientDefaults
|
|
151
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
141
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
152
142
|
requestHandler?: __HttpHandlerUserInput;
|
|
153
143
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
154
144
|
urlParser?: __UrlParser;
|
|
@@ -173,9 +163,7 @@ export interface ClientDefaults
|
|
|
173
163
|
extensions?: RuntimeExtension[];
|
|
174
164
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
175
165
|
}
|
|
176
|
-
export type BillingClientConfigType = Partial<
|
|
177
|
-
__SmithyConfiguration<__HttpHandlerOptions>
|
|
178
|
-
> &
|
|
166
|
+
export type BillingClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
179
167
|
ClientDefaults &
|
|
180
168
|
UserAgentInputConfig &
|
|
181
169
|
RetryInputConfig &
|
|
@@ -185,19 +173,17 @@ export type BillingClientConfigType = Partial<
|
|
|
185
173
|
HttpAuthSchemeInputConfig &
|
|
186
174
|
ClientInputEndpointParameters;
|
|
187
175
|
export interface BillingClientConfig extends BillingClientConfigType {}
|
|
188
|
-
export type BillingClientResolvedConfigType =
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
export interface BillingClientResolvedConfig
|
|
200
|
-
extends BillingClientResolvedConfigType {}
|
|
176
|
+
export type BillingClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
177
|
+
Required<ClientDefaults> &
|
|
178
|
+
RuntimeExtensionsConfig &
|
|
179
|
+
UserAgentResolvedConfig &
|
|
180
|
+
RetryResolvedConfig &
|
|
181
|
+
RegionResolvedConfig &
|
|
182
|
+
HostHeaderResolvedConfig &
|
|
183
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
184
|
+
HttpAuthSchemeResolvedConfig &
|
|
185
|
+
ClientResolvedEndpointParameters;
|
|
186
|
+
export interface BillingClientResolvedConfig extends BillingClientResolvedConfigType {}
|
|
201
187
|
export declare class BillingClient extends __Client<
|
|
202
188
|
__HttpHandlerOptions,
|
|
203
189
|
ServiceInputTypes,
|
|
@@ -205,8 +191,6 @@ export declare class BillingClient extends __Client<
|
|
|
205
191
|
BillingClientResolvedConfig
|
|
206
192
|
> {
|
|
207
193
|
readonly config: BillingClientResolvedConfig;
|
|
208
|
-
constructor(
|
|
209
|
-
...[configuration]: __CheckOptionalClientConfig<BillingClientConfig>
|
|
210
|
-
);
|
|
194
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<BillingClientConfig>);
|
|
211
195
|
destroy(): void;
|
|
212
196
|
}
|
|
@@ -7,17 +7,10 @@ import { BillingHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: BillingHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: BillingHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): BillingHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
12
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
13
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
14
|
}
|
|
22
15
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
16
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
18
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
19
|
}>;
|
|
27
20
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
21
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
22
|
) => HttpAuthExtensionConfiguration;
|
|
30
23
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
24
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
25
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { BillingClientResolvedConfig } from "../BillingClient";
|
|
15
|
-
export interface BillingHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface BillingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface BillingHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface BillingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
BillingClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
BillingHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultBillingHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: BillingClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<BillingHttpAuthSchemeParameters>;
|
|
31
|
-
export interface BillingHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<BillingHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface BillingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BillingHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultBillingHttpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: BillingHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: BillingHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./BillingClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
BillingClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
AssociateSourceViewsRequest,
|
|
4
|
-
AssociateSourceViewsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { AssociateSourceViewsRequest, AssociateSourceViewsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface AssociateSourceViewsCommandInput
|
|
8
|
-
extends AssociateSourceViewsRequest {}
|
|
4
|
+
export interface AssociateSourceViewsCommandInput extends AssociateSourceViewsRequest {}
|
|
9
5
|
export interface AssociateSourceViewsCommandOutput
|
|
10
|
-
extends AssociateSourceViewsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends AssociateSourceViewsResponse, __MetadataBearer {}
|
|
12
7
|
declare const AssociateSourceViewsCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: AssociateSourceViewsCommandInput
|
|
9
|
+
input: AssociateSourceViewsCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
AssociateSourceViewsCommandInput,
|
|
17
12
|
AssociateSourceViewsCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const AssociateSourceViewsCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: AssociateSourceViewsCommandInput
|
|
18
|
+
input: AssociateSourceViewsCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
AssociateSourceViewsCommandInput,
|
|
26
21
|
AssociateSourceViewsCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
CreateBillingViewRequest,
|
|
4
|
-
CreateBillingViewResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { CreateBillingViewRequest, CreateBillingViewResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface CreateBillingViewCommandInput
|
|
8
|
-
extends CreateBillingViewRequest {}
|
|
4
|
+
export interface CreateBillingViewCommandInput extends CreateBillingViewRequest {}
|
|
9
5
|
export interface CreateBillingViewCommandOutput
|
|
10
|
-
extends CreateBillingViewResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends CreateBillingViewResponse, __MetadataBearer {}
|
|
12
7
|
declare const CreateBillingViewCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: CreateBillingViewCommandInput
|
|
9
|
+
input: CreateBillingViewCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
CreateBillingViewCommandInput,
|
|
17
12
|
CreateBillingViewCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const CreateBillingViewCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: CreateBillingViewCommandInput
|
|
18
|
+
input: CreateBillingViewCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
CreateBillingViewCommandInput,
|
|
26
21
|
CreateBillingViewCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
DeleteBillingViewRequest,
|
|
4
|
-
DeleteBillingViewResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { DeleteBillingViewRequest, DeleteBillingViewResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface DeleteBillingViewCommandInput
|
|
8
|
-
extends DeleteBillingViewRequest {}
|
|
4
|
+
export interface DeleteBillingViewCommandInput extends DeleteBillingViewRequest {}
|
|
9
5
|
export interface DeleteBillingViewCommandOutput
|
|
10
|
-
extends DeleteBillingViewResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends DeleteBillingViewResponse, __MetadataBearer {}
|
|
12
7
|
declare const DeleteBillingViewCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: DeleteBillingViewCommandInput
|
|
9
|
+
input: DeleteBillingViewCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
DeleteBillingViewCommandInput,
|
|
17
12
|
DeleteBillingViewCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const DeleteBillingViewCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: DeleteBillingViewCommandInput
|
|
18
|
+
input: DeleteBillingViewCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
DeleteBillingViewCommandInput,
|
|
26
21
|
DeleteBillingViewCommandOutput,
|