@aws-sdk/client-billing 3.1079.0 → 3.1081.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 (40) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +289 -20
  3. package/dist-es/Billing.js +12 -0
  4. package/dist-es/commands/GetBillingPreferencesCommand.js +4 -0
  5. package/dist-es/commands/GetCreditAllocationHistoryCommand.js +4 -0
  6. package/dist-es/commands/GetCreditsCommand.js +4 -0
  7. package/dist-es/commands/RedeemCreditsCommand.js +4 -0
  8. package/dist-es/commands/UpdateBillingPreferencesCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +30 -0
  11. package/dist-es/pagination/GetCreditAllocationHistoryPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +207 -19
  14. package/dist-types/Billing.d.ts +42 -0
  15. package/dist-types/BillingClient.d.ts +7 -2
  16. package/dist-types/commands/GetBillingPreferencesCommand.d.ts +108 -0
  17. package/dist-types/commands/GetCreditAllocationHistoryCommand.d.ts +106 -0
  18. package/dist-types/commands/GetCreditsCommand.d.ts +124 -0
  19. package/dist-types/commands/RedeemCreditsCommand.d.ts +81 -0
  20. package/dist-types/commands/UpdateBillingPreferencesCommand.d.ts +87 -0
  21. package/dist-types/commands/index.d.ts +5 -0
  22. package/dist-types/models/enums.d.ts +78 -0
  23. package/dist-types/models/models_0.d.ts +418 -1
  24. package/dist-types/pagination/GetCreditAllocationHistoryPaginator.d.ts +7 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/schemas/schemas_0.d.ts +22 -0
  27. package/dist-types/ts3.4/Billing.d.ts +92 -0
  28. package/dist-types/ts3.4/BillingClient.d.ts +30 -0
  29. package/dist-types/ts3.4/commands/GetBillingPreferencesCommand.d.ts +44 -0
  30. package/dist-types/ts3.4/commands/GetCreditAllocationHistoryCommand.d.ts +44 -0
  31. package/dist-types/ts3.4/commands/GetCreditsCommand.d.ts +40 -0
  32. package/dist-types/ts3.4/commands/RedeemCreditsCommand.d.ts +43 -0
  33. package/dist-types/ts3.4/commands/UpdateBillingPreferencesCommand.d.ts +44 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +41 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +103 -0
  37. package/dist-types/ts3.4/pagination/GetCreditAllocationHistoryPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
  40. package/package.json +3 -3
@@ -4,14 +4,20 @@ import { AssociateSourceViewsCommand, } from "./commands/AssociateSourceViewsCom
4
4
  import { CreateBillingViewCommand, } from "./commands/CreateBillingViewCommand";
5
5
  import { DeleteBillingViewCommand, } from "./commands/DeleteBillingViewCommand";
6
6
  import { DisassociateSourceViewsCommand, } from "./commands/DisassociateSourceViewsCommand";
7
+ import { GetBillingPreferencesCommand, } from "./commands/GetBillingPreferencesCommand";
7
8
  import { GetBillingViewCommand, } from "./commands/GetBillingViewCommand";
9
+ import { GetCreditAllocationHistoryCommand, } from "./commands/GetCreditAllocationHistoryCommand";
10
+ import { GetCreditsCommand, } from "./commands/GetCreditsCommand";
8
11
  import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
9
12
  import { ListBillingViewsCommand, } from "./commands/ListBillingViewsCommand";
10
13
  import { ListSourceViewsForBillingViewCommand, } from "./commands/ListSourceViewsForBillingViewCommand";
11
14
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
15
+ import { RedeemCreditsCommand, } from "./commands/RedeemCreditsCommand";
12
16
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
13
17
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
18
+ import { UpdateBillingPreferencesCommand, } from "./commands/UpdateBillingPreferencesCommand";
14
19
  import { UpdateBillingViewCommand, } from "./commands/UpdateBillingViewCommand";
20
+ import { paginateGetCreditAllocationHistory } from "./pagination/GetCreditAllocationHistoryPaginator";
15
21
  import { paginateListBillingViews } from "./pagination/ListBillingViewsPaginator";
16
22
  import { paginateListSourceViewsForBillingView } from "./pagination/ListSourceViewsForBillingViewPaginator";
17
23
  const commands = {
@@ -19,16 +25,22 @@ const commands = {
19
25
  CreateBillingViewCommand,
20
26
  DeleteBillingViewCommand,
21
27
  DisassociateSourceViewsCommand,
28
+ GetBillingPreferencesCommand,
22
29
  GetBillingViewCommand,
30
+ GetCreditAllocationHistoryCommand,
31
+ GetCreditsCommand,
23
32
  GetResourcePolicyCommand,
24
33
  ListBillingViewsCommand,
25
34
  ListSourceViewsForBillingViewCommand,
26
35
  ListTagsForResourceCommand,
36
+ RedeemCreditsCommand,
27
37
  TagResourceCommand,
28
38
  UntagResourceCommand,
39
+ UpdateBillingPreferencesCommand,
29
40
  UpdateBillingViewCommand,
30
41
  };
31
42
  const paginators = {
43
+ paginateGetCreditAllocationHistory,
32
44
  paginateListBillingViews,
33
45
  paginateListSourceViewsForBillingView,
34
46
  };
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetBillingPreferences$ } from "../schemas/schemas_0";
3
+ export class GetBillingPreferencesCommand extends command(_ep0, _mw0, "GetBillingPreferences", GetBillingPreferences$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCreditAllocationHistory$ } from "../schemas/schemas_0";
3
+ export class GetCreditAllocationHistoryCommand extends command(_ep0, _mw0, "GetCreditAllocationHistory", GetCreditAllocationHistory$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetCredits$ } from "../schemas/schemas_0";
3
+ export class GetCreditsCommand extends command(_ep0, _mw0, "GetCredits", GetCredits$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { RedeemCredits$ } from "../schemas/schemas_0";
3
+ export class RedeemCreditsCommand extends command(_ep0, _mw0, "RedeemCredits", RedeemCredits$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateBillingPreferences$ } from "../schemas/schemas_0";
3
+ export class UpdateBillingPreferencesCommand extends command(_ep0, _mw0, "UpdateBillingPreferences", UpdateBillingPreferences$) {
4
+ }
@@ -2,11 +2,16 @@ export * from "./AssociateSourceViewsCommand";
2
2
  export * from "./CreateBillingViewCommand";
3
3
  export * from "./DeleteBillingViewCommand";
4
4
  export * from "./DisassociateSourceViewsCommand";
5
+ export * from "./GetBillingPreferencesCommand";
5
6
  export * from "./GetBillingViewCommand";
7
+ export * from "./GetCreditAllocationHistoryCommand";
8
+ export * from "./GetCreditsCommand";
6
9
  export * from "./GetResourcePolicyCommand";
7
10
  export * from "./ListBillingViewsCommand";
8
11
  export * from "./ListSourceViewsForBillingViewCommand";
9
12
  export * from "./ListTagsForResourceCommand";
13
+ export * from "./RedeemCreditsCommand";
10
14
  export * from "./TagResourceCommand";
11
15
  export * from "./UntagResourceCommand";
16
+ export * from "./UpdateBillingPreferencesCommand";
12
17
  export * from "./UpdateBillingViewCommand";
@@ -1,3 +1,7 @@
1
+ export const ApplicationType = {
2
+ AFTER_DISCOUNTS: "AFTER_DISCOUNTS",
3
+ BEFORE_CROSS_SERVICE_DISCOUNTS: "BEFORE_CROSS_SERVICE_DISCOUNTS",
4
+ };
1
5
  export const ValidationExceptionReason = {
2
6
  CANNOT_PARSE: "cannotParse",
3
7
  FIELD_VALIDATION_FAILED: "fieldValidationFailed",
@@ -7,6 +11,22 @@ export const ValidationExceptionReason = {
7
11
  export const Dimension = {
8
12
  LINKED_ACCOUNT: "LINKED_ACCOUNT",
9
13
  };
14
+ export const BillingFeature = {
15
+ BILLING_ALERTS: "BILLING_ALERTS",
16
+ CREDIT_LEVEL_SHARING: "CREDIT_LEVEL_SHARING",
17
+ CREDIT_PREFERENCE_OPTIONS: "CREDIT_PREFERENCE_OPTIONS",
18
+ CREDIT_SHARING: "CREDIT_SHARING",
19
+ CREDIT_SHARING_HISTORY: "CREDIT_SHARING_HISTORY",
20
+ RI_SHARING: "RI_SHARING",
21
+ RI_SHARING_HISTORY: "RI_SHARING_HISTORY",
22
+ };
23
+ export const BillingFeatureFilterName = {
24
+ PREFERENCE_KEY: "PREFERENCE_KEY",
25
+ };
26
+ export const PreferenceValue = {
27
+ DISABLED: "DISABLED",
28
+ ENABLED: "ENABLED",
29
+ };
10
30
  export const BillingViewType = {
11
31
  BILLING_GROUP: "BILLING_GROUP",
12
32
  BILLING_TRANSFER: "BILLING_TRANSFER",
@@ -30,6 +50,16 @@ export const BillingViewStatusReason = {
30
50
  SOURCE_VIEW_UPDATING: "SOURCE_VIEW_UPDATING",
31
51
  VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT: "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT",
32
52
  };
53
+ export const CreditSharingType = {
54
+ COST_CATEGORY_RULE: "COST_CATEGORY_RULE",
55
+ CUSTOM: "CUSTOM",
56
+ DEFAULT: "DEFAULT",
57
+ DISABLED: "DISABLED",
58
+ };
59
+ export const CreditStatus = {
60
+ DISABLED: "DISABLED",
61
+ ENABLED: "ENABLED",
62
+ };
33
63
  export const SearchOption = {
34
64
  STARTS_WITH: "STARTS_WITH",
35
65
  };
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { BillingClient } from "../BillingClient";
3
+ import { GetCreditAllocationHistoryCommand, } from "../commands/GetCreditAllocationHistoryCommand";
4
+ export const paginateGetCreditAllocationHistory = createPaginator(BillingClient, GetCreditAllocationHistoryCommand, "nextToken", "nextToken", "maxResults");
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./GetCreditAllocationHistoryPaginator";
2
3
  export * from "./ListBillingViewsPaginator";
3
4
  export * from "./ListSourceViewsForBillingViewPaginator";
@@ -1,8 +1,16 @@
1
+ const _A = "Amount";
1
2
  const _ADE = "AccessDeniedException";
2
3
  const _ASV = "AssociateSourceViews";
3
4
  const _ASVR = "AssociateSourceViewsRequest";
4
5
  const _ASVRs = "AssociateSourceViewsResponse";
5
6
  const _ATR = "ActiveTimeRange";
7
+ const _BFF = "BillingFeatureFilter";
8
+ const _BFFi = "BillingFeatureFilters";
9
+ const _BP = "BillingPeriod";
10
+ const _BPFK = "BillingPreferenceForKey";
11
+ const _BPPK = "BillingPreferencesPerKey";
12
+ const _BPS = "BillingPreferenceSummary";
13
+ const _BPi = "BillingPreferences";
6
14
  const _BVD = "BillingViewDescription";
7
15
  const _BVE = "BillingViewElement";
8
16
  const _BVHS = "BillingViewHealthStatus";
@@ -10,10 +18,14 @@ const _BVHSE = "BillingViewHealthStatusException";
10
18
  const _BVL = "BillingViewList";
11
19
  const _BVLE = "BillingViewListElement";
12
20
  const _BVN = "BillingViewName";
21
+ const _CAHE = "CreditAllocationHistoryEntry";
22
+ const _CAHL = "CreditAllocationHistoryList";
13
23
  const _CBV = "CreateBillingView";
14
24
  const _CBVR = "CreateBillingViewRequest";
15
25
  const _CBVRr = "CreateBillingViewResponse";
16
26
  const _CCV = "CostCategoryValues";
27
+ const _CD = "CreditData";
28
+ const _CDL = "CreditDataList";
17
29
  const _CE = "ConflictException";
18
30
  const _DBV = "DeleteBillingView";
19
31
  const _DBVR = "DeleteBillingViewRequest";
@@ -23,9 +35,18 @@ const _DSVR = "DisassociateSourceViewsRequest";
23
35
  const _DSVRi = "DisassociateSourceViewsResponse";
24
36
  const _DV = "DimensionValues";
25
37
  const _E = "Expression";
38
+ const _GBP = "GetBillingPreferences";
39
+ const _GBPR = "GetBillingPreferencesRequest";
40
+ const _GBPRe = "GetBillingPreferencesResponse";
26
41
  const _GBV = "GetBillingView";
27
42
  const _GBVR = "GetBillingViewRequest";
28
43
  const _GBVRe = "GetBillingViewResponse";
44
+ const _GC = "GetCredits";
45
+ const _GCAH = "GetCreditAllocationHistory";
46
+ const _GCAHR = "GetCreditAllocationHistoryRequest";
47
+ const _GCAHRe = "GetCreditAllocationHistoryResponse";
48
+ const _GCR = "GetCreditsRequest";
49
+ const _GCRe = "GetCreditsResponse";
29
50
  const _GRP = "GetResourcePolicy";
30
51
  const _GRPR = "GetResourcePolicyRequest";
31
52
  const _GRPRe = "GetResourcePolicyResponse";
@@ -39,6 +60,9 @@ const _LSVFBVRi = "ListSourceViewsForBillingViewResponse";
39
60
  const _LTFR = "ListTagsForResource";
40
61
  const _LTFRR = "ListTagsForResourceRequest";
41
62
  const _LTFRRi = "ListTagsForResourceResponse";
63
+ const _RC = "RedeemCredits";
64
+ const _RCR = "RedeemCreditsRequest";
65
+ const _RCRe = "RedeemCreditsResponse";
42
66
  const _RNFE = "ResourceNotFoundException";
43
67
  const _RT = "ResourceTag";
44
68
  const _RTL = "ResourceTagList";
@@ -51,6 +75,9 @@ const _TRR = "TagResourceRequest";
51
75
  const _TRRa = "TagResourceResponse";
52
76
  const _TRa = "TagResource";
53
77
  const _TV = "TagValues";
78
+ const _UBP = "UpdateBillingPreferences";
79
+ const _UBPR = "UpdateBillingPreferencesRequest";
80
+ const _UBPRp = "UpdateBillingPreferencesResponse";
54
81
  const _UBV = "UpdateBillingView";
55
82
  const _UBVR = "UpdateBillingViewRequest";
56
83
  const _UBVRp = "UpdateBillingViewResponse";
@@ -64,50 +91,89 @@ const _XACT = "X-Amzn-Client-Token";
64
91
  const _a = "arn";
65
92
  const _aAI = "activeAfterInclusive";
66
93
  const _aBI = "activeBeforeInclusive";
94
+ const _aHCSE = "accountHasCreditSharingEnabled";
95
+ const _aI = "accountId";
96
+ const _aN = "accountName";
97
+ const _aPN = "applicableProductNames";
67
98
  const _aQE = "awsQueryError";
99
+ const _aSN = "appliedServiceName";
100
+ const _aT = "applicationType";
68
101
  const _aTR = "activeTimeRange";
69
102
  const _ar = "arns";
70
103
  const _bDI = "beginDateInclusive";
104
+ const _bM = "billingMonth";
105
+ const _bP = "billingPeriod";
106
+ const _bPPK = "billingPreferencesPerKey";
107
+ const _bPi = "billingPreferences";
71
108
  const _bV = "billingView";
72
109
  const _bVT = "billingViewType";
73
110
  const _bVTi = "billingViewTypes";
74
111
  const _bVi = "billingViews";
75
112
  const _c = "client";
76
- const _cA = "createdAt";
77
- const _cC = "costCategories";
113
+ const _cA = "currencyAmount";
114
+ const _cAHL = "creditAllocationHistoryList";
115
+ const _cAr = "createdAt";
116
+ const _cAre = "creditAmount";
117
+ const _cC = "currencyCode";
118
+ const _cCA = "costCategoryArn";
119
+ const _cCV = "creditConsoleVisibility";
120
+ const _cCo = "costCategories";
121
+ const _cI = "creditId";
122
+ const _cS = "creditStatus";
123
+ const _cST = "creditSharingType";
78
124
  const _cT = "clientToken";
125
+ const _cTr = "creditType";
126
+ const _cr = "credits";
79
127
  const _d = "description";
80
128
  const _dFE = "dataFilterExpression";
81
129
  const _dVC = "derivedViewCount";
82
130
  const _di = "dimensions";
83
131
  const _e = "error";
132
+ const _eA = "estimatedAmount";
133
+ const _eD = "endDate";
84
134
  const _eDI = "endDateInclusive";
85
- const _f = "force";
135
+ const _eDx = "exhaustDate";
136
+ const _f = "feature";
86
137
  const _fL = "fieldList";
138
+ const _fM = "failedMonths";
139
+ const _fe = "features";
140
+ const _fi = "filters";
141
+ const _fo = "force";
87
142
  const _h = "http";
88
143
  const _hE = "httpError";
89
144
  const _hH = "httpHeader";
90
145
  const _hS = "healthStatus";
146
+ const _iA = "initialAmount";
147
+ const _iEB = "isEstimatedBill";
91
148
  const _iT = "idempotencyToken";
92
149
  const _k = "key";
93
150
  const _m = "message";
94
151
  const _mR = "maxResults";
152
+ const _mo = "month";
95
153
  const _n = "name";
96
154
  const _nT = "nextToken";
97
155
  const _na = "names";
98
156
  const _oAI = "ownerAccountId";
99
157
  const _p = "policy";
158
+ const _pAF = "payerAccountFlag";
159
+ const _pC = "promoCode";
160
+ const _pR = "partialResults";
161
+ const _pTA = "purchaseTypeApplications";
100
162
  const _qC = "quotaCode";
101
163
  const _r = "reason";
102
- const _rA = "resourceArn";
164
+ const _rA = "remainingAmount";
165
+ const _rAe = "resourceArn";
103
166
  const _rI = "resourceId";
167
+ const _rN = "ruleName";
104
168
  const _rT = "resourceType";
105
169
  const _rTK = "resourceTagKeys";
106
170
  const _rTe = "resourceTags";
107
171
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.billing";
172
+ const _sA = "shareableAccounts";
108
173
  const _sAI = "sourceAccountId";
109
174
  const _sC = "serviceCode";
110
175
  const _sCt = "statusCode";
176
+ const _sD = "startDate";
111
177
  const _sO = "searchOption";
112
178
  const _sR = "statusReasons";
113
179
  const _sV = "sourceViews";
@@ -117,9 +183,10 @@ const _se = "server";
117
183
  const _t = "tags";
118
184
  const _tR = "timeRange";
119
185
  const _uA = "updatedAt";
120
- const _v = "values";
186
+ const _v = "value";
121
187
  const _vDLUA = "viewDefinitionLastUpdatedAt";
122
- const _va = "value";
188
+ const _va = "values";
189
+ const _y = "year";
123
190
  const n0 = "com.amazonaws.billing";
124
191
  import { TypeRegistry } from "@smithy/core/schema";
125
192
  import { BillingServiceException } from "../models/BillingServiceException";
@@ -187,6 +254,11 @@ export var ActiveTimeRange$ = [3, n0, _ATR,
187
254
  [_aAI, _aBI],
188
255
  [4, 4], 2
189
256
  ];
257
+ export var Amount$ = [3, n0, _A,
258
+ 0,
259
+ [_cC, _cA],
260
+ [0, 0], 2
261
+ ];
190
262
  export var AssociateSourceViewsRequest$ = [3, n0, _ASVR,
191
263
  0,
192
264
  [_a, _sV],
@@ -197,9 +269,29 @@ export var AssociateSourceViewsResponse$ = [3, n0, _ASVRs,
197
269
  [_a],
198
270
  [0], 1
199
271
  ];
272
+ export var BillingFeatureFilter$ = [3, n0, _BFF,
273
+ 0,
274
+ [_n, _v],
275
+ [0, 64 | 0]
276
+ ];
277
+ export var BillingPeriod$ = [3, n0, _BP,
278
+ 0,
279
+ [_y, _mo],
280
+ [1, 1], 2
281
+ ];
282
+ export var BillingPreferenceForKey$ = [3, n0, _BPFK,
283
+ 0,
284
+ [_k, _v],
285
+ [0, 0], 2
286
+ ];
287
+ export var BillingPreferenceSummary$ = [3, n0, _BPS,
288
+ 0,
289
+ [_f, _k, _v, _aN, _aI, _bP],
290
+ [0, 0, 0, 0, 0, () => BillingPeriod$], 3
291
+ ];
200
292
  export var BillingViewElement$ = [3, n0, _BVE,
201
293
  0,
202
- [_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cA, _uA, _dVC, _sVC, _vDLUA, _hS],
294
+ [_a, _n, _d, _bVT, _oAI, _sAI, _dFE, _cAr, _uA, _dVC, _sVC, _vDLUA, _hS],
203
295
  [0, [() => BillingViewName, 0], [() => BillingViewDescription, 0], 0, 0, 0, () => Expression$, 4, 4, 1, 1, 4, () => BillingViewHealthStatus$]
204
296
  ];
205
297
  export var BillingViewHealthStatus$ = [3, n0, _BVHS,
@@ -214,7 +306,7 @@ export var BillingViewListElement$ = [3, n0, _BVLE,
214
306
  ];
215
307
  export var CostCategoryValues$ = [3, n0, _CCV,
216
308
  0,
217
- [_k, _v],
309
+ [_k, _va],
218
310
  [0, 64 | 0], 2
219
311
  ];
220
312
  export var CreateBillingViewRequest$ = [3, n0, _CBVR,
@@ -224,12 +316,22 @@ export var CreateBillingViewRequest$ = [3, n0, _CBVR,
224
316
  ];
225
317
  export var CreateBillingViewResponse$ = [3, n0, _CBVRr,
226
318
  0,
227
- [_a, _cA],
319
+ [_a, _cAr],
228
320
  [0, 4], 1
229
321
  ];
322
+ export var CreditAllocationHistoryEntry$ = [3, n0, _CAHE,
323
+ 0,
324
+ [_cI, _cAre, _aI, _aSN, _bM, _iEB, _d],
325
+ [0, () => Amount$, 0, 0, 0, 2, 0], 6
326
+ ];
327
+ export var CreditData$ = [3, n0, _CD,
328
+ 0,
329
+ [_cI, _aI, _cTr, _iA, _rA, _d, _sD, _eA, _aPN, _eD, _eDx, _aT, _sA, _aHCSE, _cCV, _cST, _cCA, _rN, _cS, _pTA],
330
+ [0, 0, 0, () => Amount$, () => Amount$, 0, 4, () => Amount$, 64 | 0, 4, 4, 0, 64 | 0, 2, 0, 0, 0, 0, 0, 64 | 0], 7
331
+ ];
230
332
  export var DeleteBillingViewRequest$ = [3, n0, _DBVR,
231
333
  0,
232
- [_a, _f],
334
+ [_a, _fo],
233
335
  [0, 2], 1
234
336
  ];
235
337
  export var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
@@ -239,7 +341,7 @@ export var DeleteBillingViewResponse$ = [3, n0, _DBVRe,
239
341
  ];
240
342
  export var DimensionValues$ = [3, n0, _DV,
241
343
  0,
242
- [_k, _v],
344
+ [_k, _va],
243
345
  [0, 64 | 0], 2
244
346
  ];
245
347
  export var DisassociateSourceViewsRequest$ = [3, n0, _DSVR,
@@ -254,9 +356,19 @@ export var DisassociateSourceViewsResponse$ = [3, n0, _DSVRi,
254
356
  ];
255
357
  export var Expression$ = [3, n0, _E,
256
358
  0,
257
- [_di, _t, _cC, _tR],
359
+ [_di, _t, _cCo, _tR],
258
360
  [() => DimensionValues$, () => TagValues$, () => CostCategoryValues$, () => TimeRange$]
259
361
  ];
362
+ export var GetBillingPreferencesRequest$ = [3, n0, _GBPR,
363
+ 0,
364
+ [_fe, _nT, _mR, _fi],
365
+ [64 | 0, 0, 1, () => BillingFeatureFilters], 1
366
+ ];
367
+ export var GetBillingPreferencesResponse$ = [3, n0, _GBPRe,
368
+ 0,
369
+ [_bPi, _nT],
370
+ [() => BillingPreferences, 0], 1
371
+ ];
260
372
  export var GetBillingViewRequest$ = [3, n0, _GBVR,
261
373
  0,
262
374
  [_a],
@@ -267,14 +379,34 @@ export var GetBillingViewResponse$ = [3, n0, _GBVRe,
267
379
  [_bV],
268
380
  [[() => BillingViewElement$, 0]], 1
269
381
  ];
382
+ export var GetCreditAllocationHistoryRequest$ = [3, n0, _GCAHR,
383
+ 0,
384
+ [_aI, _sD, _eD, _cI, _nT, _mR],
385
+ [0, 4, 4, 1, 0, 1], 3
386
+ ];
387
+ export var GetCreditAllocationHistoryResponse$ = [3, n0, _GCAHRe,
388
+ 0,
389
+ [_pR, _cAHL, _fM, _nT],
390
+ [2, () => CreditAllocationHistoryList, 64 | 0, 0], 1
391
+ ];
392
+ export var GetCreditsRequest$ = [3, n0, _GCR,
393
+ 0,
394
+ [_aI, _sD, _eD, _pAF],
395
+ [0, 4, 4, 2], 2
396
+ ];
397
+ export var GetCreditsResponse$ = [3, n0, _GCRe,
398
+ 0,
399
+ [_cr],
400
+ [() => CreditDataList]
401
+ ];
270
402
  export var GetResourcePolicyRequest$ = [3, n0, _GRPR,
271
403
  0,
272
- [_rA],
404
+ [_rAe],
273
405
  [0], 1
274
406
  ];
275
407
  export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
276
408
  0,
277
- [_rA, _p],
409
+ [_rAe, _p],
278
410
  [0, 0], 1
279
411
  ];
280
412
  export var ListBillingViewsRequest$ = [3, n0, _LBVR,
@@ -299,7 +431,7 @@ export var ListSourceViewsForBillingViewResponse$ = [3, n0, _LSVFBVRi,
299
431
  ];
300
432
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
301
433
  0,
302
- [_rA],
434
+ [_rAe],
303
435
  [0], 1
304
436
  ];
305
437
  export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
@@ -307,9 +439,19 @@ export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
307
439
  [_rTe],
308
440
  [() => ResourceTagList]
309
441
  ];
442
+ export var RedeemCreditsRequest$ = [3, n0, _RCR,
443
+ 0,
444
+ [_pC],
445
+ [0], 1
446
+ ];
447
+ export var RedeemCreditsResponse$ = [3, n0, _RCRe,
448
+ 0,
449
+ [],
450
+ []
451
+ ];
310
452
  export var ResourceTag$ = [3, n0, _RT,
311
453
  0,
312
- [_k, _va],
454
+ [_k, _v],
313
455
  [0, 0], 1
314
456
  ];
315
457
  export var StringSearch$ = [3, n0, _SS,
@@ -319,7 +461,7 @@ export var StringSearch$ = [3, n0, _SS,
319
461
  ];
320
462
  export var TagResourceRequest$ = [3, n0, _TRR,
321
463
  0,
322
- [_rA, _rTe],
464
+ [_rAe, _rTe],
323
465
  [0, () => ResourceTagList], 2
324
466
  ];
325
467
  export var TagResourceResponse$ = [3, n0, _TRRa,
@@ -329,7 +471,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
329
471
  ];
330
472
  export var TagValues$ = [3, n0, _TV,
331
473
  0,
332
- [_k, _v],
474
+ [_k, _va],
333
475
  [0, 64 | 0], 2
334
476
  ];
335
477
  export var TimeRange$ = [3, n0, _TR,
@@ -339,7 +481,7 @@ export var TimeRange$ = [3, n0, _TR,
339
481
  ];
340
482
  export var UntagResourceRequest$ = [3, n0, _URR,
341
483
  0,
342
- [_rA, _rTK],
484
+ [_rAe, _rTK],
343
485
  [0, 64 | 0], 2
344
486
  ];
345
487
  export var UntagResourceResponse$ = [3, n0, _URRn,
@@ -347,6 +489,16 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
347
489
  [],
348
490
  []
349
491
  ];
492
+ export var UpdateBillingPreferencesRequest$ = [3, n0, _UBPR,
493
+ 0,
494
+ [_f, _bPPK],
495
+ [0, () => BillingPreferencesPerKey], 2
496
+ ];
497
+ export var UpdateBillingPreferencesResponse$ = [3, n0, _UBPRp,
498
+ 0,
499
+ [],
500
+ []
501
+ ];
350
502
  export var UpdateBillingViewRequest$ = [3, n0, _UBVR,
351
503
  0,
352
504
  [_a, _n, _d, _dFE],
@@ -362,6 +514,17 @@ export var ValidationExceptionField$ = [3, n0, _VEF,
362
514
  [_n, _m],
363
515
  [0, 0], 2
364
516
  ];
517
+ var BillingFeatureFilters = [1, n0, _BFFi,
518
+ 0, () => BillingFeatureFilter$
519
+ ];
520
+ var BillingFeatureFilterValues = 64 | 0;
521
+ var BillingFeatures = 64 | 0;
522
+ var BillingPreferences = [1, n0, _BPi,
523
+ 0, () => BillingPreferenceSummary$
524
+ ];
525
+ var BillingPreferencesPerKey = [1, n0, _BPPK,
526
+ 0, () => BillingPreferenceForKey$
527
+ ];
365
528
  var BillingViewArnList = 64 | 0;
366
529
  var BillingViewList = [1, n0, _BVL,
367
530
  0, [() => BillingViewListElement$,
@@ -370,10 +533,20 @@ var BillingViewList = [1, n0, _BVL,
370
533
  var BillingViewSourceViewsList = 64 | 0;
371
534
  var BillingViewStatusReasons = 64 | 0;
372
535
  var BillingViewTypeList = 64 | 0;
536
+ var CreditAllocationHistoryList = [1, n0, _CAHL,
537
+ 0, () => CreditAllocationHistoryEntry$
538
+ ];
539
+ var CreditDataList = [1, n0, _CDL,
540
+ 0, () => CreditData$
541
+ ];
542
+ var FailedMonthsList = 64 | 0;
543
+ var ProductNames = 64 | 0;
544
+ var PurchaseTypeApplications = 64 | 0;
373
545
  var ResourceTagKeyList = 64 | 0;
374
546
  var ResourceTagList = [1, n0, _RTL,
375
547
  0, () => ResourceTag$
376
548
  ];
549
+ var ShareableAccountIds = 64 | 0;
377
550
  var StringSearches = [1, n0, _SSt,
378
551
  0, () => StringSearch$
379
552
  ];
@@ -393,9 +566,18 @@ export var DeleteBillingView$ = [9, n0, _DBV,
393
566
  export var DisassociateSourceViews$ = [9, n0, _DSV,
394
567
  2, () => DisassociateSourceViewsRequest$, () => DisassociateSourceViewsResponse$
395
568
  ];
569
+ export var GetBillingPreferences$ = [9, n0, _GBP,
570
+ 0, () => GetBillingPreferencesRequest$, () => GetBillingPreferencesResponse$
571
+ ];
396
572
  export var GetBillingView$ = [9, n0, _GBV,
397
573
  0, () => GetBillingViewRequest$, () => GetBillingViewResponse$
398
574
  ];
575
+ export var GetCreditAllocationHistory$ = [9, n0, _GCAH,
576
+ 0, () => GetCreditAllocationHistoryRequest$, () => GetCreditAllocationHistoryResponse$
577
+ ];
578
+ export var GetCredits$ = [9, n0, _GC,
579
+ 0, () => GetCreditsRequest$, () => GetCreditsResponse$
580
+ ];
399
581
  export var GetResourcePolicy$ = [9, n0, _GRP,
400
582
  0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
401
583
  ];
@@ -408,12 +590,18 @@ export var ListSourceViewsForBillingView$ = [9, n0, _LSVFBV,
408
590
  export var ListTagsForResource$ = [9, n0, _LTFR,
409
591
  0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
410
592
  ];
593
+ export var RedeemCredits$ = [9, n0, _RC,
594
+ 0, () => RedeemCreditsRequest$, () => RedeemCreditsResponse$
595
+ ];
411
596
  export var TagResource$ = [9, n0, _TRa,
412
597
  0, () => TagResourceRequest$, () => TagResourceResponse$
413
598
  ];
414
599
  export var UntagResource$ = [9, n0, _UR,
415
600
  0, () => UntagResourceRequest$, () => UntagResourceResponse$
416
601
  ];
602
+ export var UpdateBillingPreferences$ = [9, n0, _UBP,
603
+ 0, () => UpdateBillingPreferencesRequest$, () => UpdateBillingPreferencesResponse$
604
+ ];
417
605
  export var UpdateBillingView$ = [9, n0, _UBV,
418
606
  2, () => UpdateBillingViewRequest$, () => UpdateBillingViewResponse$
419
607
  ];