@aws-sdk/client-billing 3.1137.0 → 3.1138.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -526,10 +526,10 @@ const _vDLUA = "viewDefinitionLastUpdatedAt";
526
526
  const _va = "values";
527
527
  const _y = "year";
528
528
  const n0 = "com.amazonaws.billing";
529
- const _s_registry = TypeRegistry.for(_s);
529
+ const _s_registry = new TypeRegistry(_s);
530
530
  var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
531
531
  _s_registry.registerError(BillingServiceException$, BillingServiceException);
532
- const n0_registry = TypeRegistry.for(n0);
532
+ const n0_registry = new TypeRegistry(n0);
533
533
  var AccessDeniedException$ = [-3, n0, _ADE,
534
534
  { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
535
535
  [_m],
@@ -269,10 +269,10 @@ const n0 = "com.amazonaws.billing";
269
269
  import { TypeRegistry } from "@smithy/core/schema";
270
270
  import { BillingServiceException } from "../models/BillingServiceException";
271
271
  import { AccessDeniedException, BillingViewHealthStatusException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
272
- const _s_registry = TypeRegistry.for(_s);
272
+ const _s_registry = new TypeRegistry(_s);
273
273
  export var BillingServiceException$ = [-3, _s, "BillingServiceException", 0, [], []];
274
274
  _s_registry.registerError(BillingServiceException$, BillingServiceException);
275
- const n0_registry = TypeRegistry.for(n0);
275
+ const n0_registry = new TypeRegistry(n0);
276
276
  export var AccessDeniedException$ = [-3, n0, _ADE,
277
277
  { [_aQE]: [`BillingAccessDenied`, 403], [_e]: _c, [_hE]: 403 },
278
278
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { BillingClient } from "./BillingClient";
3
3
  import { type AssociateSourceViewsCommandInput, type AssociateSourceViewsCommandOutput } from "./commands/AssociateSourceViewsCommand";
4
4
  import { type CreateBillingViewCommandInput, type CreateBillingViewCommandOutput } from "./commands/CreateBillingViewCommand";
@@ -20,128 +20,134 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
20
20
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
21
  import { type UpdateBillingPreferencesCommandInput, type UpdateBillingPreferencesCommandOutput } from "./commands/UpdateBillingPreferencesCommand";
22
22
  import { type UpdateBillingViewCommandInput, type UpdateBillingViewCommandOutput } from "./commands/UpdateBillingViewCommand";
23
+ /**
24
+ * @public
25
+ */
26
+ export interface BillingRequestOptions extends __HttpHandlerOptions {
27
+ metricsRecorder?: __MetricsRecorder<unknown>;
28
+ }
23
29
  export interface Billing {
24
30
  /**
25
31
  * @see {@link AssociateSourceViewsCommand}
26
32
  */
27
- associateSourceViews(args: AssociateSourceViewsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateSourceViewsCommandOutput>;
33
+ associateSourceViews(args: AssociateSourceViewsCommandInput, options?: BillingRequestOptions): Promise<AssociateSourceViewsCommandOutput>;
28
34
  associateSourceViews(args: AssociateSourceViewsCommandInput, cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void): void;
29
- associateSourceViews(args: AssociateSourceViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void): void;
35
+ associateSourceViews(args: AssociateSourceViewsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void): void;
30
36
  /**
31
37
  * @see {@link CreateBillingViewCommand}
32
38
  */
33
- createBillingView(args: CreateBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillingViewCommandOutput>;
39
+ createBillingView(args: CreateBillingViewCommandInput, options?: BillingRequestOptions): Promise<CreateBillingViewCommandOutput>;
34
40
  createBillingView(args: CreateBillingViewCommandInput, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
35
- createBillingView(args: CreateBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
41
+ createBillingView(args: CreateBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: CreateBillingViewCommandOutput) => void): void;
36
42
  /**
37
43
  * @see {@link DeleteBillingViewCommand}
38
44
  */
39
- deleteBillingView(args: DeleteBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillingViewCommandOutput>;
45
+ deleteBillingView(args: DeleteBillingViewCommandInput, options?: BillingRequestOptions): Promise<DeleteBillingViewCommandOutput>;
40
46
  deleteBillingView(args: DeleteBillingViewCommandInput, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
41
- deleteBillingView(args: DeleteBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
47
+ deleteBillingView(args: DeleteBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: DeleteBillingViewCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link DisassociateSourceViewsCommand}
44
50
  */
45
- disassociateSourceViews(args: DisassociateSourceViewsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateSourceViewsCommandOutput>;
51
+ disassociateSourceViews(args: DisassociateSourceViewsCommandInput, options?: BillingRequestOptions): Promise<DisassociateSourceViewsCommandOutput>;
46
52
  disassociateSourceViews(args: DisassociateSourceViewsCommandInput, cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void): void;
47
- disassociateSourceViews(args: DisassociateSourceViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void): void;
53
+ disassociateSourceViews(args: DisassociateSourceViewsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void): void;
48
54
  /**
49
55
  * @see {@link GetBillingPreferencesCommand}
50
56
  */
51
- getBillingPreferences(args: GetBillingPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetBillingPreferencesCommandOutput>;
57
+ getBillingPreferences(args: GetBillingPreferencesCommandInput, options?: BillingRequestOptions): Promise<GetBillingPreferencesCommandOutput>;
52
58
  getBillingPreferences(args: GetBillingPreferencesCommandInput, cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void): void;
53
- getBillingPreferences(args: GetBillingPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void): void;
59
+ getBillingPreferences(args: GetBillingPreferencesCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void): void;
54
60
  /**
55
61
  * @see {@link GetBillingViewCommand}
56
62
  */
57
- getBillingView(args: GetBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<GetBillingViewCommandOutput>;
63
+ getBillingView(args: GetBillingViewCommandInput, options?: BillingRequestOptions): Promise<GetBillingViewCommandOutput>;
58
64
  getBillingView(args: GetBillingViewCommandInput, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
59
- getBillingView(args: GetBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
65
+ getBillingView(args: GetBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetBillingViewCommandOutput) => void): void;
60
66
  /**
61
67
  * @see {@link GetCreditAllocationHistoryCommand}
62
68
  */
63
- getCreditAllocationHistory(args: GetCreditAllocationHistoryCommandInput, options?: __HttpHandlerOptions): Promise<GetCreditAllocationHistoryCommandOutput>;
69
+ getCreditAllocationHistory(args: GetCreditAllocationHistoryCommandInput, options?: BillingRequestOptions): Promise<GetCreditAllocationHistoryCommandOutput>;
64
70
  getCreditAllocationHistory(args: GetCreditAllocationHistoryCommandInput, cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void): void;
65
- getCreditAllocationHistory(args: GetCreditAllocationHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void): void;
71
+ getCreditAllocationHistory(args: GetCreditAllocationHistoryCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void): void;
66
72
  /**
67
73
  * @see {@link GetCreditsCommand}
68
74
  */
69
- getCredits(args: GetCreditsCommandInput, options?: __HttpHandlerOptions): Promise<GetCreditsCommandOutput>;
75
+ getCredits(args: GetCreditsCommandInput, options?: BillingRequestOptions): Promise<GetCreditsCommandOutput>;
70
76
  getCredits(args: GetCreditsCommandInput, cb: (err: any, data?: GetCreditsCommandOutput) => void): void;
71
- getCredits(args: GetCreditsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCreditsCommandOutput) => void): void;
77
+ getCredits(args: GetCreditsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetCreditsCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link GetEnterpriseSupportChargeSummaryCommand}
74
80
  */
75
- getEnterpriseSupportChargeSummary(args: GetEnterpriseSupportChargeSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetEnterpriseSupportChargeSummaryCommandOutput>;
81
+ getEnterpriseSupportChargeSummary(args: GetEnterpriseSupportChargeSummaryCommandInput, options?: BillingRequestOptions): Promise<GetEnterpriseSupportChargeSummaryCommandOutput>;
76
82
  getEnterpriseSupportChargeSummary(args: GetEnterpriseSupportChargeSummaryCommandInput, cb: (err: any, data?: GetEnterpriseSupportChargeSummaryCommandOutput) => void): void;
77
- getEnterpriseSupportChargeSummary(args: GetEnterpriseSupportChargeSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnterpriseSupportChargeSummaryCommandOutput) => void): void;
83
+ getEnterpriseSupportChargeSummary(args: GetEnterpriseSupportChargeSummaryCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetEnterpriseSupportChargeSummaryCommandOutput) => void): void;
78
84
  /**
79
85
  * @see {@link GetEnterpriseSupportContractDetailsCommand}
80
86
  */
81
- getEnterpriseSupportContractDetails(args: GetEnterpriseSupportContractDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetEnterpriseSupportContractDetailsCommandOutput>;
87
+ getEnterpriseSupportContractDetails(args: GetEnterpriseSupportContractDetailsCommandInput, options?: BillingRequestOptions): Promise<GetEnterpriseSupportContractDetailsCommandOutput>;
82
88
  getEnterpriseSupportContractDetails(args: GetEnterpriseSupportContractDetailsCommandInput, cb: (err: any, data?: GetEnterpriseSupportContractDetailsCommandOutput) => void): void;
83
- getEnterpriseSupportContractDetails(args: GetEnterpriseSupportContractDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEnterpriseSupportContractDetailsCommandOutput) => void): void;
89
+ getEnterpriseSupportContractDetails(args: GetEnterpriseSupportContractDetailsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetEnterpriseSupportContractDetailsCommandOutput) => void): void;
84
90
  /**
85
91
  * @see {@link GetResourcePolicyCommand}
86
92
  */
87
- getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetResourcePolicyCommandOutput>;
93
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options?: BillingRequestOptions): Promise<GetResourcePolicyCommandOutput>;
88
94
  getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
89
- getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
95
+ getResourcePolicy(args: GetResourcePolicyCommandInput, options: BillingRequestOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void;
90
96
  /**
91
97
  * @see {@link ListBillingViewsCommand}
92
98
  */
93
99
  listBillingViews(): Promise<ListBillingViewsCommandOutput>;
94
- listBillingViews(args: ListBillingViewsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingViewsCommandOutput>;
100
+ listBillingViews(args: ListBillingViewsCommandInput, options?: BillingRequestOptions): Promise<ListBillingViewsCommandOutput>;
95
101
  listBillingViews(args: ListBillingViewsCommandInput, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
96
- listBillingViews(args: ListBillingViewsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
102
+ listBillingViews(args: ListBillingViewsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListBillingViewsCommandOutput) => void): void;
97
103
  /**
98
104
  * @see {@link ListEnterpriseSupportLinkedAccountChargesCommand}
99
105
  */
100
- listEnterpriseSupportLinkedAccountCharges(args: ListEnterpriseSupportLinkedAccountChargesCommandInput, options?: __HttpHandlerOptions): Promise<ListEnterpriseSupportLinkedAccountChargesCommandOutput>;
106
+ listEnterpriseSupportLinkedAccountCharges(args: ListEnterpriseSupportLinkedAccountChargesCommandInput, options?: BillingRequestOptions): Promise<ListEnterpriseSupportLinkedAccountChargesCommandOutput>;
101
107
  listEnterpriseSupportLinkedAccountCharges(args: ListEnterpriseSupportLinkedAccountChargesCommandInput, cb: (err: any, data?: ListEnterpriseSupportLinkedAccountChargesCommandOutput) => void): void;
102
- listEnterpriseSupportLinkedAccountCharges(args: ListEnterpriseSupportLinkedAccountChargesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnterpriseSupportLinkedAccountChargesCommandOutput) => void): void;
108
+ listEnterpriseSupportLinkedAccountCharges(args: ListEnterpriseSupportLinkedAccountChargesCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListEnterpriseSupportLinkedAccountChargesCommandOutput) => void): void;
103
109
  /**
104
110
  * @see {@link ListSourceViewsForBillingViewCommand}
105
111
  */
106
- listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<ListSourceViewsForBillingViewCommandOutput>;
112
+ listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options?: BillingRequestOptions): Promise<ListSourceViewsForBillingViewCommandOutput>;
107
113
  listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void): void;
108
- listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void): void;
114
+ listSourceViewsForBillingView(args: ListSourceViewsForBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link ListTagsForResourceCommand}
111
117
  */
112
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
118
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: BillingRequestOptions): Promise<ListTagsForResourceCommandOutput>;
113
119
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
114
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
120
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: BillingRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link RedeemCreditsCommand}
117
123
  */
118
- redeemCredits(args: RedeemCreditsCommandInput, options?: __HttpHandlerOptions): Promise<RedeemCreditsCommandOutput>;
124
+ redeemCredits(args: RedeemCreditsCommandInput, options?: BillingRequestOptions): Promise<RedeemCreditsCommandOutput>;
119
125
  redeemCredits(args: RedeemCreditsCommandInput, cb: (err: any, data?: RedeemCreditsCommandOutput) => void): void;
120
- redeemCredits(args: RedeemCreditsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RedeemCreditsCommandOutput) => void): void;
126
+ redeemCredits(args: RedeemCreditsCommandInput, options: BillingRequestOptions, cb: (err: any, data?: RedeemCreditsCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link TagResourceCommand}
123
129
  */
124
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
130
+ tagResource(args: TagResourceCommandInput, options?: BillingRequestOptions): Promise<TagResourceCommandOutput>;
125
131
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
126
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
132
+ tagResource(args: TagResourceCommandInput, options: BillingRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
127
133
  /**
128
134
  * @see {@link UntagResourceCommand}
129
135
  */
130
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
136
+ untagResource(args: UntagResourceCommandInput, options?: BillingRequestOptions): Promise<UntagResourceCommandOutput>;
131
137
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
132
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
138
+ untagResource(args: UntagResourceCommandInput, options: BillingRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
133
139
  /**
134
140
  * @see {@link UpdateBillingPreferencesCommand}
135
141
  */
136
- updateBillingPreferences(args: UpdateBillingPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillingPreferencesCommandOutput>;
142
+ updateBillingPreferences(args: UpdateBillingPreferencesCommandInput, options?: BillingRequestOptions): Promise<UpdateBillingPreferencesCommandOutput>;
137
143
  updateBillingPreferences(args: UpdateBillingPreferencesCommandInput, cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void): void;
138
- updateBillingPreferences(args: UpdateBillingPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void): void;
144
+ updateBillingPreferences(args: UpdateBillingPreferencesCommandInput, options: BillingRequestOptions, cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void): void;
139
145
  /**
140
146
  * @see {@link UpdateBillingViewCommand}
141
147
  */
142
- updateBillingView(args: UpdateBillingViewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillingViewCommandOutput>;
148
+ updateBillingView(args: UpdateBillingViewCommandInput, options?: BillingRequestOptions): Promise<UpdateBillingViewCommandOutput>;
143
149
  updateBillingView(args: UpdateBillingViewCommandInput, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
144
- updateBillingView(args: UpdateBillingViewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
150
+ updateBillingView(args: UpdateBillingViewCommandInput, options: BillingRequestOptions, cb: (err: any, data?: UpdateBillingViewCommandOutput) => void): void;
145
151
  /**
146
152
  * @see {@link GetCreditAllocationHistoryCommand}
147
153
  * @param args - command input.
@@ -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";
@@ -78,10 +79,13 @@ import {
78
79
  UpdateBillingViewCommandInput,
79
80
  UpdateBillingViewCommandOutput,
80
81
  } from "./commands/UpdateBillingViewCommand";
82
+ export interface BillingRequestOptions extends __HttpHandlerOptions {
83
+ metricsRecorder?: __MetricsRecorder<unknown>;
84
+ }
81
85
  export interface Billing {
82
86
  associateSourceViews(
83
87
  args: AssociateSourceViewsCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: BillingRequestOptions,
85
89
  ): Promise<AssociateSourceViewsCommandOutput>;
86
90
  associateSourceViews(
87
91
  args: AssociateSourceViewsCommandInput,
@@ -89,12 +93,12 @@ export interface Billing {
89
93
  ): void;
90
94
  associateSourceViews(
91
95
  args: AssociateSourceViewsCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: BillingRequestOptions,
93
97
  cb: (err: any, data?: AssociateSourceViewsCommandOutput) => void,
94
98
  ): void;
95
99
  createBillingView(
96
100
  args: CreateBillingViewCommandInput,
97
- options?: __HttpHandlerOptions,
101
+ options?: BillingRequestOptions,
98
102
  ): Promise<CreateBillingViewCommandOutput>;
99
103
  createBillingView(
100
104
  args: CreateBillingViewCommandInput,
@@ -102,12 +106,12 @@ export interface Billing {
102
106
  ): void;
103
107
  createBillingView(
104
108
  args: CreateBillingViewCommandInput,
105
- options: __HttpHandlerOptions,
109
+ options: BillingRequestOptions,
106
110
  cb: (err: any, data?: CreateBillingViewCommandOutput) => void,
107
111
  ): void;
108
112
  deleteBillingView(
109
113
  args: DeleteBillingViewCommandInput,
110
- options?: __HttpHandlerOptions,
114
+ options?: BillingRequestOptions,
111
115
  ): Promise<DeleteBillingViewCommandOutput>;
112
116
  deleteBillingView(
113
117
  args: DeleteBillingViewCommandInput,
@@ -115,12 +119,12 @@ export interface Billing {
115
119
  ): void;
116
120
  deleteBillingView(
117
121
  args: DeleteBillingViewCommandInput,
118
- options: __HttpHandlerOptions,
122
+ options: BillingRequestOptions,
119
123
  cb: (err: any, data?: DeleteBillingViewCommandOutput) => void,
120
124
  ): void;
121
125
  disassociateSourceViews(
122
126
  args: DisassociateSourceViewsCommandInput,
123
- options?: __HttpHandlerOptions,
127
+ options?: BillingRequestOptions,
124
128
  ): Promise<DisassociateSourceViewsCommandOutput>;
125
129
  disassociateSourceViews(
126
130
  args: DisassociateSourceViewsCommandInput,
@@ -128,12 +132,12 @@ export interface Billing {
128
132
  ): void;
129
133
  disassociateSourceViews(
130
134
  args: DisassociateSourceViewsCommandInput,
131
- options: __HttpHandlerOptions,
135
+ options: BillingRequestOptions,
132
136
  cb: (err: any, data?: DisassociateSourceViewsCommandOutput) => void,
133
137
  ): void;
134
138
  getBillingPreferences(
135
139
  args: GetBillingPreferencesCommandInput,
136
- options?: __HttpHandlerOptions,
140
+ options?: BillingRequestOptions,
137
141
  ): Promise<GetBillingPreferencesCommandOutput>;
138
142
  getBillingPreferences(
139
143
  args: GetBillingPreferencesCommandInput,
@@ -141,12 +145,12 @@ export interface Billing {
141
145
  ): void;
142
146
  getBillingPreferences(
143
147
  args: GetBillingPreferencesCommandInput,
144
- options: __HttpHandlerOptions,
148
+ options: BillingRequestOptions,
145
149
  cb: (err: any, data?: GetBillingPreferencesCommandOutput) => void,
146
150
  ): void;
147
151
  getBillingView(
148
152
  args: GetBillingViewCommandInput,
149
- options?: __HttpHandlerOptions,
153
+ options?: BillingRequestOptions,
150
154
  ): Promise<GetBillingViewCommandOutput>;
151
155
  getBillingView(
152
156
  args: GetBillingViewCommandInput,
@@ -154,12 +158,12 @@ export interface Billing {
154
158
  ): void;
155
159
  getBillingView(
156
160
  args: GetBillingViewCommandInput,
157
- options: __HttpHandlerOptions,
161
+ options: BillingRequestOptions,
158
162
  cb: (err: any, data?: GetBillingViewCommandOutput) => void,
159
163
  ): void;
160
164
  getCreditAllocationHistory(
161
165
  args: GetCreditAllocationHistoryCommandInput,
162
- options?: __HttpHandlerOptions,
166
+ options?: BillingRequestOptions,
163
167
  ): Promise<GetCreditAllocationHistoryCommandOutput>;
164
168
  getCreditAllocationHistory(
165
169
  args: GetCreditAllocationHistoryCommandInput,
@@ -167,12 +171,12 @@ export interface Billing {
167
171
  ): void;
168
172
  getCreditAllocationHistory(
169
173
  args: GetCreditAllocationHistoryCommandInput,
170
- options: __HttpHandlerOptions,
174
+ options: BillingRequestOptions,
171
175
  cb: (err: any, data?: GetCreditAllocationHistoryCommandOutput) => void,
172
176
  ): void;
173
177
  getCredits(
174
178
  args: GetCreditsCommandInput,
175
- options?: __HttpHandlerOptions,
179
+ options?: BillingRequestOptions,
176
180
  ): Promise<GetCreditsCommandOutput>;
177
181
  getCredits(
178
182
  args: GetCreditsCommandInput,
@@ -180,12 +184,12 @@ export interface Billing {
180
184
  ): void;
181
185
  getCredits(
182
186
  args: GetCreditsCommandInput,
183
- options: __HttpHandlerOptions,
187
+ options: BillingRequestOptions,
184
188
  cb: (err: any, data?: GetCreditsCommandOutput) => void,
185
189
  ): void;
186
190
  getEnterpriseSupportChargeSummary(
187
191
  args: GetEnterpriseSupportChargeSummaryCommandInput,
188
- options?: __HttpHandlerOptions,
192
+ options?: BillingRequestOptions,
189
193
  ): Promise<GetEnterpriseSupportChargeSummaryCommandOutput>;
190
194
  getEnterpriseSupportChargeSummary(
191
195
  args: GetEnterpriseSupportChargeSummaryCommandInput,
@@ -193,12 +197,12 @@ export interface Billing {
193
197
  ): void;
194
198
  getEnterpriseSupportChargeSummary(
195
199
  args: GetEnterpriseSupportChargeSummaryCommandInput,
196
- options: __HttpHandlerOptions,
200
+ options: BillingRequestOptions,
197
201
  cb: (err: any, data?: GetEnterpriseSupportChargeSummaryCommandOutput) => void,
198
202
  ): void;
199
203
  getEnterpriseSupportContractDetails(
200
204
  args: GetEnterpriseSupportContractDetailsCommandInput,
201
- options?: __HttpHandlerOptions,
205
+ options?: BillingRequestOptions,
202
206
  ): Promise<GetEnterpriseSupportContractDetailsCommandOutput>;
203
207
  getEnterpriseSupportContractDetails(
204
208
  args: GetEnterpriseSupportContractDetailsCommandInput,
@@ -206,12 +210,12 @@ export interface Billing {
206
210
  ): void;
207
211
  getEnterpriseSupportContractDetails(
208
212
  args: GetEnterpriseSupportContractDetailsCommandInput,
209
- options: __HttpHandlerOptions,
213
+ options: BillingRequestOptions,
210
214
  cb: (err: any, data?: GetEnterpriseSupportContractDetailsCommandOutput) => void,
211
215
  ): void;
212
216
  getResourcePolicy(
213
217
  args: GetResourcePolicyCommandInput,
214
- options?: __HttpHandlerOptions,
218
+ options?: BillingRequestOptions,
215
219
  ): Promise<GetResourcePolicyCommandOutput>;
216
220
  getResourcePolicy(
217
221
  args: GetResourcePolicyCommandInput,
@@ -219,13 +223,13 @@ export interface Billing {
219
223
  ): void;
220
224
  getResourcePolicy(
221
225
  args: GetResourcePolicyCommandInput,
222
- options: __HttpHandlerOptions,
226
+ options: BillingRequestOptions,
223
227
  cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
224
228
  ): void;
225
229
  listBillingViews(): Promise<ListBillingViewsCommandOutput>;
226
230
  listBillingViews(
227
231
  args: ListBillingViewsCommandInput,
228
- options?: __HttpHandlerOptions,
232
+ options?: BillingRequestOptions,
229
233
  ): Promise<ListBillingViewsCommandOutput>;
230
234
  listBillingViews(
231
235
  args: ListBillingViewsCommandInput,
@@ -233,12 +237,12 @@ export interface Billing {
233
237
  ): void;
234
238
  listBillingViews(
235
239
  args: ListBillingViewsCommandInput,
236
- options: __HttpHandlerOptions,
240
+ options: BillingRequestOptions,
237
241
  cb: (err: any, data?: ListBillingViewsCommandOutput) => void,
238
242
  ): void;
239
243
  listEnterpriseSupportLinkedAccountCharges(
240
244
  args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
241
- options?: __HttpHandlerOptions,
245
+ options?: BillingRequestOptions,
242
246
  ): Promise<ListEnterpriseSupportLinkedAccountChargesCommandOutput>;
243
247
  listEnterpriseSupportLinkedAccountCharges(
244
248
  args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
@@ -246,12 +250,12 @@ export interface Billing {
246
250
  ): void;
247
251
  listEnterpriseSupportLinkedAccountCharges(
248
252
  args: ListEnterpriseSupportLinkedAccountChargesCommandInput,
249
- options: __HttpHandlerOptions,
253
+ options: BillingRequestOptions,
250
254
  cb: (err: any, data?: ListEnterpriseSupportLinkedAccountChargesCommandOutput) => void,
251
255
  ): void;
252
256
  listSourceViewsForBillingView(
253
257
  args: ListSourceViewsForBillingViewCommandInput,
254
- options?: __HttpHandlerOptions,
258
+ options?: BillingRequestOptions,
255
259
  ): Promise<ListSourceViewsForBillingViewCommandOutput>;
256
260
  listSourceViewsForBillingView(
257
261
  args: ListSourceViewsForBillingViewCommandInput,
@@ -259,12 +263,12 @@ export interface Billing {
259
263
  ): void;
260
264
  listSourceViewsForBillingView(
261
265
  args: ListSourceViewsForBillingViewCommandInput,
262
- options: __HttpHandlerOptions,
266
+ options: BillingRequestOptions,
263
267
  cb: (err: any, data?: ListSourceViewsForBillingViewCommandOutput) => void,
264
268
  ): void;
265
269
  listTagsForResource(
266
270
  args: ListTagsForResourceCommandInput,
267
- options?: __HttpHandlerOptions,
271
+ options?: BillingRequestOptions,
268
272
  ): Promise<ListTagsForResourceCommandOutput>;
269
273
  listTagsForResource(
270
274
  args: ListTagsForResourceCommandInput,
@@ -272,12 +276,12 @@ export interface Billing {
272
276
  ): void;
273
277
  listTagsForResource(
274
278
  args: ListTagsForResourceCommandInput,
275
- options: __HttpHandlerOptions,
279
+ options: BillingRequestOptions,
276
280
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
277
281
  ): void;
278
282
  redeemCredits(
279
283
  args: RedeemCreditsCommandInput,
280
- options?: __HttpHandlerOptions,
284
+ options?: BillingRequestOptions,
281
285
  ): Promise<RedeemCreditsCommandOutput>;
282
286
  redeemCredits(
283
287
  args: RedeemCreditsCommandInput,
@@ -285,12 +289,12 @@ export interface Billing {
285
289
  ): void;
286
290
  redeemCredits(
287
291
  args: RedeemCreditsCommandInput,
288
- options: __HttpHandlerOptions,
292
+ options: BillingRequestOptions,
289
293
  cb: (err: any, data?: RedeemCreditsCommandOutput) => void,
290
294
  ): void;
291
295
  tagResource(
292
296
  args: TagResourceCommandInput,
293
- options?: __HttpHandlerOptions,
297
+ options?: BillingRequestOptions,
294
298
  ): Promise<TagResourceCommandOutput>;
295
299
  tagResource(
296
300
  args: TagResourceCommandInput,
@@ -298,12 +302,12 @@ export interface Billing {
298
302
  ): void;
299
303
  tagResource(
300
304
  args: TagResourceCommandInput,
301
- options: __HttpHandlerOptions,
305
+ options: BillingRequestOptions,
302
306
  cb: (err: any, data?: TagResourceCommandOutput) => void,
303
307
  ): void;
304
308
  untagResource(
305
309
  args: UntagResourceCommandInput,
306
- options?: __HttpHandlerOptions,
310
+ options?: BillingRequestOptions,
307
311
  ): Promise<UntagResourceCommandOutput>;
308
312
  untagResource(
309
313
  args: UntagResourceCommandInput,
@@ -311,12 +315,12 @@ export interface Billing {
311
315
  ): void;
312
316
  untagResource(
313
317
  args: UntagResourceCommandInput,
314
- options: __HttpHandlerOptions,
318
+ options: BillingRequestOptions,
315
319
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
316
320
  ): void;
317
321
  updateBillingPreferences(
318
322
  args: UpdateBillingPreferencesCommandInput,
319
- options?: __HttpHandlerOptions,
323
+ options?: BillingRequestOptions,
320
324
  ): Promise<UpdateBillingPreferencesCommandOutput>;
321
325
  updateBillingPreferences(
322
326
  args: UpdateBillingPreferencesCommandInput,
@@ -324,12 +328,12 @@ export interface Billing {
324
328
  ): void;
325
329
  updateBillingPreferences(
326
330
  args: UpdateBillingPreferencesCommandInput,
327
- options: __HttpHandlerOptions,
331
+ options: BillingRequestOptions,
328
332
  cb: (err: any, data?: UpdateBillingPreferencesCommandOutput) => void,
329
333
  ): void;
330
334
  updateBillingView(
331
335
  args: UpdateBillingViewCommandInput,
332
- options?: __HttpHandlerOptions,
336
+ options?: BillingRequestOptions,
333
337
  ): Promise<UpdateBillingViewCommandOutput>;
334
338
  updateBillingView(
335
339
  args: UpdateBillingViewCommandInput,
@@ -337,7 +341,7 @@ export interface Billing {
337
341
  ): void;
338
342
  updateBillingView(
339
343
  args: UpdateBillingViewCommandInput,
340
- options: __HttpHandlerOptions,
344
+ options: BillingRequestOptions,
341
345
  cb: (err: any, data?: UpdateBillingViewCommandOutput) => void,
342
346
  ): void;
343
347
  paginateGetCreditAllocationHistory(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billing",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.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.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
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": {