@aws-sdk/client-billingconductor 3.1136.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.
@@ -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 { BillingconductorClient } from "./BillingconductorClient";
3
3
  import { type AssociateAccountsCommandInput, type AssociateAccountsCommandOutput } from "./commands/AssociateAccountsCommand";
4
4
  import { type AssociatePricingRulesCommandInput, type AssociatePricingRulesCommandOutput } from "./commands/AssociatePricingRulesCommand";
@@ -15,6 +15,7 @@ import { type DeletePricingRuleCommandInput, type DeletePricingRuleCommandOutput
15
15
  import { type DisassociateAccountsCommandInput, type DisassociateAccountsCommandOutput } from "./commands/DisassociateAccountsCommand";
16
16
  import { type DisassociatePricingRulesCommandInput, type DisassociatePricingRulesCommandOutput } from "./commands/DisassociatePricingRulesCommand";
17
17
  import { type GetBillingGroupCostReportCommandInput, type GetBillingGroupCostReportCommandOutput } from "./commands/GetBillingGroupCostReportCommand";
18
+ import { type GetBillingTransferPreferenceCommandInput, type GetBillingTransferPreferenceCommandOutput } from "./commands/GetBillingTransferPreferenceCommand";
18
19
  import { type ListAccountAssociationsCommandInput, type ListAccountAssociationsCommandOutput } from "./commands/ListAccountAssociationsCommand";
19
20
  import { type ListBillingGroupCostReportsCommandInput, type ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
20
21
  import { type ListBillingGroupsCommandInput, type ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
@@ -29,208 +30,227 @@ import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOu
29
30
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
30
31
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
32
  import { type UpdateBillingGroupCommandInput, type UpdateBillingGroupCommandOutput } from "./commands/UpdateBillingGroupCommand";
33
+ import { type UpdateBillingTransferPreferenceCommandInput, type UpdateBillingTransferPreferenceCommandOutput } from "./commands/UpdateBillingTransferPreferenceCommand";
32
34
  import { type UpdateCustomLineItemCommandInput, type UpdateCustomLineItemCommandOutput } from "./commands/UpdateCustomLineItemCommand";
33
35
  import { type UpdatePricingPlanCommandInput, type UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
34
36
  import { type UpdatePricingRuleCommandInput, type UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
37
+ /**
38
+ * @public
39
+ */
40
+ export interface BillingconductorRequestOptions extends __HttpHandlerOptions {
41
+ metricsRecorder?: __MetricsRecorder<unknown>;
42
+ }
35
43
  export interface Billingconductor {
36
44
  /**
37
45
  * @see {@link AssociateAccountsCommand}
38
46
  */
39
- associateAccounts(args: AssociateAccountsCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAccountsCommandOutput>;
47
+ associateAccounts(args: AssociateAccountsCommandInput, options?: BillingconductorRequestOptions): Promise<AssociateAccountsCommandOutput>;
40
48
  associateAccounts(args: AssociateAccountsCommandInput, cb: (err: any, data?: AssociateAccountsCommandOutput) => void): void;
41
- associateAccounts(args: AssociateAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAccountsCommandOutput) => void): void;
49
+ associateAccounts(args: AssociateAccountsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: AssociateAccountsCommandOutput) => void): void;
42
50
  /**
43
51
  * @see {@link AssociatePricingRulesCommand}
44
52
  */
45
- associatePricingRules(args: AssociatePricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePricingRulesCommandOutput>;
53
+ associatePricingRules(args: AssociatePricingRulesCommandInput, options?: BillingconductorRequestOptions): Promise<AssociatePricingRulesCommandOutput>;
46
54
  associatePricingRules(args: AssociatePricingRulesCommandInput, cb: (err: any, data?: AssociatePricingRulesCommandOutput) => void): void;
47
- associatePricingRules(args: AssociatePricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePricingRulesCommandOutput) => void): void;
55
+ associatePricingRules(args: AssociatePricingRulesCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: AssociatePricingRulesCommandOutput) => void): void;
48
56
  /**
49
57
  * @see {@link BatchAssociateResourcesToCustomLineItemCommand}
50
58
  */
51
- batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateResourcesToCustomLineItemCommandOutput>;
59
+ batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<BatchAssociateResourcesToCustomLineItemCommandOutput>;
52
60
  batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, cb: (err: any, data?: BatchAssociateResourcesToCustomLineItemCommandOutput) => void): void;
53
- batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateResourcesToCustomLineItemCommandOutput) => void): void;
61
+ batchAssociateResourcesToCustomLineItem(args: BatchAssociateResourcesToCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: BatchAssociateResourcesToCustomLineItemCommandOutput) => void): void;
54
62
  /**
55
63
  * @see {@link BatchDisassociateResourcesFromCustomLineItemCommand}
56
64
  */
57
- batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateResourcesFromCustomLineItemCommandOutput>;
65
+ batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<BatchDisassociateResourcesFromCustomLineItemCommandOutput>;
58
66
  batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, cb: (err: any, data?: BatchDisassociateResourcesFromCustomLineItemCommandOutput) => void): void;
59
- batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateResourcesFromCustomLineItemCommandOutput) => void): void;
67
+ batchDisassociateResourcesFromCustomLineItem(args: BatchDisassociateResourcesFromCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: BatchDisassociateResourcesFromCustomLineItemCommandOutput) => void): void;
60
68
  /**
61
69
  * @see {@link CreateBillingGroupCommand}
62
70
  */
63
- createBillingGroup(args: CreateBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateBillingGroupCommandOutput>;
71
+ createBillingGroup(args: CreateBillingGroupCommandInput, options?: BillingconductorRequestOptions): Promise<CreateBillingGroupCommandOutput>;
64
72
  createBillingGroup(args: CreateBillingGroupCommandInput, cb: (err: any, data?: CreateBillingGroupCommandOutput) => void): void;
65
- createBillingGroup(args: CreateBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBillingGroupCommandOutput) => void): void;
73
+ createBillingGroup(args: CreateBillingGroupCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: CreateBillingGroupCommandOutput) => void): void;
66
74
  /**
67
75
  * @see {@link CreateCustomLineItemCommand}
68
76
  */
69
- createCustomLineItem(args: CreateCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<CreateCustomLineItemCommandOutput>;
77
+ createCustomLineItem(args: CreateCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<CreateCustomLineItemCommandOutput>;
70
78
  createCustomLineItem(args: CreateCustomLineItemCommandInput, cb: (err: any, data?: CreateCustomLineItemCommandOutput) => void): void;
71
- createCustomLineItem(args: CreateCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomLineItemCommandOutput) => void): void;
79
+ createCustomLineItem(args: CreateCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: CreateCustomLineItemCommandOutput) => void): void;
72
80
  /**
73
81
  * @see {@link CreatePricingPlanCommand}
74
82
  */
75
- createPricingPlan(args: CreatePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreatePricingPlanCommandOutput>;
83
+ createPricingPlan(args: CreatePricingPlanCommandInput, options?: BillingconductorRequestOptions): Promise<CreatePricingPlanCommandOutput>;
76
84
  createPricingPlan(args: CreatePricingPlanCommandInput, cb: (err: any, data?: CreatePricingPlanCommandOutput) => void): void;
77
- createPricingPlan(args: CreatePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePricingPlanCommandOutput) => void): void;
85
+ createPricingPlan(args: CreatePricingPlanCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: CreatePricingPlanCommandOutput) => void): void;
78
86
  /**
79
87
  * @see {@link CreatePricingRuleCommand}
80
88
  */
81
- createPricingRule(args: CreatePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePricingRuleCommandOutput>;
89
+ createPricingRule(args: CreatePricingRuleCommandInput, options?: BillingconductorRequestOptions): Promise<CreatePricingRuleCommandOutput>;
82
90
  createPricingRule(args: CreatePricingRuleCommandInput, cb: (err: any, data?: CreatePricingRuleCommandOutput) => void): void;
83
- createPricingRule(args: CreatePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePricingRuleCommandOutput) => void): void;
91
+ createPricingRule(args: CreatePricingRuleCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: CreatePricingRuleCommandOutput) => void): void;
84
92
  /**
85
93
  * @see {@link DeleteBillingGroupCommand}
86
94
  */
87
- deleteBillingGroup(args: DeleteBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBillingGroupCommandOutput>;
95
+ deleteBillingGroup(args: DeleteBillingGroupCommandInput, options?: BillingconductorRequestOptions): Promise<DeleteBillingGroupCommandOutput>;
88
96
  deleteBillingGroup(args: DeleteBillingGroupCommandInput, cb: (err: any, data?: DeleteBillingGroupCommandOutput) => void): void;
89
- deleteBillingGroup(args: DeleteBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBillingGroupCommandOutput) => void): void;
97
+ deleteBillingGroup(args: DeleteBillingGroupCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DeleteBillingGroupCommandOutput) => void): void;
90
98
  /**
91
99
  * @see {@link DeleteCustomLineItemCommand}
92
100
  */
93
- deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomLineItemCommandOutput>;
101
+ deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<DeleteCustomLineItemCommandOutput>;
94
102
  deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, cb: (err: any, data?: DeleteCustomLineItemCommandOutput) => void): void;
95
- deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomLineItemCommandOutput) => void): void;
103
+ deleteCustomLineItem(args: DeleteCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DeleteCustomLineItemCommandOutput) => void): void;
96
104
  /**
97
105
  * @see {@link DeletePricingPlanCommand}
98
106
  */
99
- deletePricingPlan(args: DeletePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<DeletePricingPlanCommandOutput>;
107
+ deletePricingPlan(args: DeletePricingPlanCommandInput, options?: BillingconductorRequestOptions): Promise<DeletePricingPlanCommandOutput>;
100
108
  deletePricingPlan(args: DeletePricingPlanCommandInput, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
101
- deletePricingPlan(args: DeletePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
109
+ deletePricingPlan(args: DeletePricingPlanCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DeletePricingPlanCommandOutput) => void): void;
102
110
  /**
103
111
  * @see {@link DeletePricingRuleCommand}
104
112
  */
105
- deletePricingRule(args: DeletePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePricingRuleCommandOutput>;
113
+ deletePricingRule(args: DeletePricingRuleCommandInput, options?: BillingconductorRequestOptions): Promise<DeletePricingRuleCommandOutput>;
106
114
  deletePricingRule(args: DeletePricingRuleCommandInput, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
107
- deletePricingRule(args: DeletePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
115
+ deletePricingRule(args: DeletePricingRuleCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DeletePricingRuleCommandOutput) => void): void;
108
116
  /**
109
117
  * @see {@link DisassociateAccountsCommand}
110
118
  */
111
- disassociateAccounts(args: DisassociateAccountsCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAccountsCommandOutput>;
119
+ disassociateAccounts(args: DisassociateAccountsCommandInput, options?: BillingconductorRequestOptions): Promise<DisassociateAccountsCommandOutput>;
112
120
  disassociateAccounts(args: DisassociateAccountsCommandInput, cb: (err: any, data?: DisassociateAccountsCommandOutput) => void): void;
113
- disassociateAccounts(args: DisassociateAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAccountsCommandOutput) => void): void;
121
+ disassociateAccounts(args: DisassociateAccountsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DisassociateAccountsCommandOutput) => void): void;
114
122
  /**
115
123
  * @see {@link DisassociatePricingRulesCommand}
116
124
  */
117
- disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociatePricingRulesCommandOutput>;
125
+ disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options?: BillingconductorRequestOptions): Promise<DisassociatePricingRulesCommandOutput>;
118
126
  disassociatePricingRules(args: DisassociatePricingRulesCommandInput, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
119
- disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
127
+ disassociatePricingRules(args: DisassociatePricingRulesCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: DisassociatePricingRulesCommandOutput) => void): void;
120
128
  /**
121
129
  * @see {@link GetBillingGroupCostReportCommand}
122
130
  */
123
- getBillingGroupCostReport(args: GetBillingGroupCostReportCommandInput, options?: __HttpHandlerOptions): Promise<GetBillingGroupCostReportCommandOutput>;
131
+ getBillingGroupCostReport(args: GetBillingGroupCostReportCommandInput, options?: BillingconductorRequestOptions): Promise<GetBillingGroupCostReportCommandOutput>;
124
132
  getBillingGroupCostReport(args: GetBillingGroupCostReportCommandInput, cb: (err: any, data?: GetBillingGroupCostReportCommandOutput) => void): void;
125
- getBillingGroupCostReport(args: GetBillingGroupCostReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBillingGroupCostReportCommandOutput) => void): void;
133
+ getBillingGroupCostReport(args: GetBillingGroupCostReportCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: GetBillingGroupCostReportCommandOutput) => void): void;
134
+ /**
135
+ * @see {@link GetBillingTransferPreferenceCommand}
136
+ */
137
+ getBillingTransferPreference(args: GetBillingTransferPreferenceCommandInput, options?: BillingconductorRequestOptions): Promise<GetBillingTransferPreferenceCommandOutput>;
138
+ getBillingTransferPreference(args: GetBillingTransferPreferenceCommandInput, cb: (err: any, data?: GetBillingTransferPreferenceCommandOutput) => void): void;
139
+ getBillingTransferPreference(args: GetBillingTransferPreferenceCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: GetBillingTransferPreferenceCommandOutput) => void): void;
126
140
  /**
127
141
  * @see {@link ListAccountAssociationsCommand}
128
142
  */
129
143
  listAccountAssociations(): Promise<ListAccountAssociationsCommandOutput>;
130
- listAccountAssociations(args: ListAccountAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListAccountAssociationsCommandOutput>;
144
+ listAccountAssociations(args: ListAccountAssociationsCommandInput, options?: BillingconductorRequestOptions): Promise<ListAccountAssociationsCommandOutput>;
131
145
  listAccountAssociations(args: ListAccountAssociationsCommandInput, cb: (err: any, data?: ListAccountAssociationsCommandOutput) => void): void;
132
- listAccountAssociations(args: ListAccountAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccountAssociationsCommandOutput) => void): void;
146
+ listAccountAssociations(args: ListAccountAssociationsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListAccountAssociationsCommandOutput) => void): void;
133
147
  /**
134
148
  * @see {@link ListBillingGroupCostReportsCommand}
135
149
  */
136
150
  listBillingGroupCostReports(): Promise<ListBillingGroupCostReportsCommandOutput>;
137
- listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingGroupCostReportsCommandOutput>;
151
+ listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options?: BillingconductorRequestOptions): Promise<ListBillingGroupCostReportsCommandOutput>;
138
152
  listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, cb: (err: any, data?: ListBillingGroupCostReportsCommandOutput) => void): void;
139
- listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingGroupCostReportsCommandOutput) => void): void;
153
+ listBillingGroupCostReports(args: ListBillingGroupCostReportsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListBillingGroupCostReportsCommandOutput) => void): void;
140
154
  /**
141
155
  * @see {@link ListBillingGroupsCommand}
142
156
  */
143
157
  listBillingGroups(): Promise<ListBillingGroupsCommandOutput>;
144
- listBillingGroups(args: ListBillingGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListBillingGroupsCommandOutput>;
158
+ listBillingGroups(args: ListBillingGroupsCommandInput, options?: BillingconductorRequestOptions): Promise<ListBillingGroupsCommandOutput>;
145
159
  listBillingGroups(args: ListBillingGroupsCommandInput, cb: (err: any, data?: ListBillingGroupsCommandOutput) => void): void;
146
- listBillingGroups(args: ListBillingGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBillingGroupsCommandOutput) => void): void;
160
+ listBillingGroups(args: ListBillingGroupsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListBillingGroupsCommandOutput) => void): void;
147
161
  /**
148
162
  * @see {@link ListCustomLineItemsCommand}
149
163
  */
150
164
  listCustomLineItems(): Promise<ListCustomLineItemsCommandOutput>;
151
- listCustomLineItems(args: ListCustomLineItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomLineItemsCommandOutput>;
165
+ listCustomLineItems(args: ListCustomLineItemsCommandInput, options?: BillingconductorRequestOptions): Promise<ListCustomLineItemsCommandOutput>;
152
166
  listCustomLineItems(args: ListCustomLineItemsCommandInput, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
153
- listCustomLineItems(args: ListCustomLineItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
167
+ listCustomLineItems(args: ListCustomLineItemsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListCustomLineItemsCommandOutput) => void): void;
154
168
  /**
155
169
  * @see {@link ListCustomLineItemVersionsCommand}
156
170
  */
157
- listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCustomLineItemVersionsCommandOutput>;
171
+ listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options?: BillingconductorRequestOptions): Promise<ListCustomLineItemVersionsCommandOutput>;
158
172
  listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, cb: (err: any, data?: ListCustomLineItemVersionsCommandOutput) => void): void;
159
- listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomLineItemVersionsCommandOutput) => void): void;
173
+ listCustomLineItemVersions(args: ListCustomLineItemVersionsCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListCustomLineItemVersionsCommandOutput) => void): void;
160
174
  /**
161
175
  * @see {@link ListPricingPlansCommand}
162
176
  */
163
177
  listPricingPlans(): Promise<ListPricingPlansCommandOutput>;
164
- listPricingPlans(args: ListPricingPlansCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingPlansCommandOutput>;
178
+ listPricingPlans(args: ListPricingPlansCommandInput, options?: BillingconductorRequestOptions): Promise<ListPricingPlansCommandOutput>;
165
179
  listPricingPlans(args: ListPricingPlansCommandInput, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
166
- listPricingPlans(args: ListPricingPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
180
+ listPricingPlans(args: ListPricingPlansCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListPricingPlansCommandOutput) => void): void;
167
181
  /**
168
182
  * @see {@link ListPricingPlansAssociatedWithPricingRuleCommand}
169
183
  */
170
- listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingPlansAssociatedWithPricingRuleCommandOutput>;
184
+ listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options?: BillingconductorRequestOptions): Promise<ListPricingPlansAssociatedWithPricingRuleCommandOutput>;
171
185
  listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, cb: (err: any, data?: ListPricingPlansAssociatedWithPricingRuleCommandOutput) => void): void;
172
- listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingPlansAssociatedWithPricingRuleCommandOutput) => void): void;
186
+ listPricingPlansAssociatedWithPricingRule(args: ListPricingPlansAssociatedWithPricingRuleCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListPricingPlansAssociatedWithPricingRuleCommandOutput) => void): void;
173
187
  /**
174
188
  * @see {@link ListPricingRulesCommand}
175
189
  */
176
190
  listPricingRules(): Promise<ListPricingRulesCommandOutput>;
177
- listPricingRules(args: ListPricingRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingRulesCommandOutput>;
191
+ listPricingRules(args: ListPricingRulesCommandInput, options?: BillingconductorRequestOptions): Promise<ListPricingRulesCommandOutput>;
178
192
  listPricingRules(args: ListPricingRulesCommandInput, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
179
- listPricingRules(args: ListPricingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
193
+ listPricingRules(args: ListPricingRulesCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListPricingRulesCommandOutput) => void): void;
180
194
  /**
181
195
  * @see {@link ListPricingRulesAssociatedToPricingPlanCommand}
182
196
  */
183
- listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<ListPricingRulesAssociatedToPricingPlanCommandOutput>;
197
+ listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options?: BillingconductorRequestOptions): Promise<ListPricingRulesAssociatedToPricingPlanCommandOutput>;
184
198
  listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
185
- listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
199
+ listPricingRulesAssociatedToPricingPlan(args: ListPricingRulesAssociatedToPricingPlanCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListPricingRulesAssociatedToPricingPlanCommandOutput) => void): void;
186
200
  /**
187
201
  * @see {@link ListResourcesAssociatedToCustomLineItemCommand}
188
202
  */
189
- listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<ListResourcesAssociatedToCustomLineItemCommandOutput>;
203
+ listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<ListResourcesAssociatedToCustomLineItemCommandOutput>;
190
204
  listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, cb: (err: any, data?: ListResourcesAssociatedToCustomLineItemCommandOutput) => void): void;
191
- listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourcesAssociatedToCustomLineItemCommandOutput) => void): void;
205
+ listResourcesAssociatedToCustomLineItem(args: ListResourcesAssociatedToCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListResourcesAssociatedToCustomLineItemCommandOutput) => void): void;
192
206
  /**
193
207
  * @see {@link ListTagsForResourceCommand}
194
208
  */
195
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
209
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: BillingconductorRequestOptions): Promise<ListTagsForResourceCommandOutput>;
196
210
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
197
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
211
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
198
212
  /**
199
213
  * @see {@link TagResourceCommand}
200
214
  */
201
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
215
+ tagResource(args: TagResourceCommandInput, options?: BillingconductorRequestOptions): Promise<TagResourceCommandOutput>;
202
216
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
203
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
217
+ tagResource(args: TagResourceCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
204
218
  /**
205
219
  * @see {@link UntagResourceCommand}
206
220
  */
207
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
221
+ untagResource(args: UntagResourceCommandInput, options?: BillingconductorRequestOptions): Promise<UntagResourceCommandOutput>;
208
222
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
209
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
223
+ untagResource(args: UntagResourceCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
210
224
  /**
211
225
  * @see {@link UpdateBillingGroupCommand}
212
226
  */
213
- updateBillingGroup(args: UpdateBillingGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBillingGroupCommandOutput>;
227
+ updateBillingGroup(args: UpdateBillingGroupCommandInput, options?: BillingconductorRequestOptions): Promise<UpdateBillingGroupCommandOutput>;
214
228
  updateBillingGroup(args: UpdateBillingGroupCommandInput, cb: (err: any, data?: UpdateBillingGroupCommandOutput) => void): void;
215
- updateBillingGroup(args: UpdateBillingGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBillingGroupCommandOutput) => void): void;
229
+ updateBillingGroup(args: UpdateBillingGroupCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UpdateBillingGroupCommandOutput) => void): void;
230
+ /**
231
+ * @see {@link UpdateBillingTransferPreferenceCommand}
232
+ */
233
+ updateBillingTransferPreference(args: UpdateBillingTransferPreferenceCommandInput, options?: BillingconductorRequestOptions): Promise<UpdateBillingTransferPreferenceCommandOutput>;
234
+ updateBillingTransferPreference(args: UpdateBillingTransferPreferenceCommandInput, cb: (err: any, data?: UpdateBillingTransferPreferenceCommandOutput) => void): void;
235
+ updateBillingTransferPreference(args: UpdateBillingTransferPreferenceCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UpdateBillingTransferPreferenceCommandOutput) => void): void;
216
236
  /**
217
237
  * @see {@link UpdateCustomLineItemCommand}
218
238
  */
219
- updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCustomLineItemCommandOutput>;
239
+ updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options?: BillingconductorRequestOptions): Promise<UpdateCustomLineItemCommandOutput>;
220
240
  updateCustomLineItem(args: UpdateCustomLineItemCommandInput, cb: (err: any, data?: UpdateCustomLineItemCommandOutput) => void): void;
221
- updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCustomLineItemCommandOutput) => void): void;
241
+ updateCustomLineItem(args: UpdateCustomLineItemCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UpdateCustomLineItemCommandOutput) => void): void;
222
242
  /**
223
243
  * @see {@link UpdatePricingPlanCommand}
224
244
  */
225
- updatePricingPlan(args: UpdatePricingPlanCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePricingPlanCommandOutput>;
245
+ updatePricingPlan(args: UpdatePricingPlanCommandInput, options?: BillingconductorRequestOptions): Promise<UpdatePricingPlanCommandOutput>;
226
246
  updatePricingPlan(args: UpdatePricingPlanCommandInput, cb: (err: any, data?: UpdatePricingPlanCommandOutput) => void): void;
227
- updatePricingPlan(args: UpdatePricingPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePricingPlanCommandOutput) => void): void;
247
+ updatePricingPlan(args: UpdatePricingPlanCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UpdatePricingPlanCommandOutput) => void): void;
228
248
  /**
229
249
  * @see {@link UpdatePricingRuleCommand}
230
250
  */
231
- updatePricingRule(args: UpdatePricingRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePricingRuleCommandOutput>;
251
+ updatePricingRule(args: UpdatePricingRuleCommandInput, options?: BillingconductorRequestOptions): Promise<UpdatePricingRuleCommandOutput>;
232
252
  updatePricingRule(args: UpdatePricingRuleCommandInput, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
233
- updatePricingRule(args: UpdatePricingRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
253
+ updatePricingRule(args: UpdatePricingRuleCommandInput, options: BillingconductorRequestOptions, cb: (err: any, data?: UpdatePricingRuleCommandOutput) => void): void;
234
254
  /**
235
255
  * @see {@link GetBillingGroupCostReportCommand}
236
256
  * @param args - command input.
@@ -21,6 +21,7 @@ import type { DeletePricingRuleCommandInput, DeletePricingRuleCommandOutput } fr
21
21
  import type { DisassociateAccountsCommandInput, DisassociateAccountsCommandOutput } from "./commands/DisassociateAccountsCommand";
22
22
  import type { DisassociatePricingRulesCommandInput, DisassociatePricingRulesCommandOutput } from "./commands/DisassociatePricingRulesCommand";
23
23
  import type { GetBillingGroupCostReportCommandInput, GetBillingGroupCostReportCommandOutput } from "./commands/GetBillingGroupCostReportCommand";
24
+ import type { GetBillingTransferPreferenceCommandInput, GetBillingTransferPreferenceCommandOutput } from "./commands/GetBillingTransferPreferenceCommand";
24
25
  import type { ListAccountAssociationsCommandInput, ListAccountAssociationsCommandOutput } from "./commands/ListAccountAssociationsCommand";
25
26
  import type { ListBillingGroupCostReportsCommandInput, ListBillingGroupCostReportsCommandOutput } from "./commands/ListBillingGroupCostReportsCommand";
26
27
  import type { ListBillingGroupsCommandInput, ListBillingGroupsCommandOutput } from "./commands/ListBillingGroupsCommand";
@@ -35,6 +36,7 @@ import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput
35
36
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
36
37
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
37
38
  import type { UpdateBillingGroupCommandInput, UpdateBillingGroupCommandOutput } from "./commands/UpdateBillingGroupCommand";
39
+ import type { UpdateBillingTransferPreferenceCommandInput, UpdateBillingTransferPreferenceCommandOutput } from "./commands/UpdateBillingTransferPreferenceCommand";
38
40
  import type { UpdateCustomLineItemCommandInput, UpdateCustomLineItemCommandOutput } from "./commands/UpdateCustomLineItemCommand";
39
41
  import type { UpdatePricingPlanCommandInput, UpdatePricingPlanCommandOutput } from "./commands/UpdatePricingPlanCommand";
40
42
  import type { UpdatePricingRuleCommandInput, UpdatePricingRuleCommandOutput } from "./commands/UpdatePricingRuleCommand";
@@ -44,11 +46,11 @@ export { __Client };
44
46
  /**
45
47
  * @public
46
48
  */
47
- export type ServiceInputTypes = AssociateAccountsCommandInput | AssociatePricingRulesCommandInput | BatchAssociateResourcesToCustomLineItemCommandInput | BatchDisassociateResourcesFromCustomLineItemCommandInput | CreateBillingGroupCommandInput | CreateCustomLineItemCommandInput | CreatePricingPlanCommandInput | CreatePricingRuleCommandInput | DeleteBillingGroupCommandInput | DeleteCustomLineItemCommandInput | DeletePricingPlanCommandInput | DeletePricingRuleCommandInput | DisassociateAccountsCommandInput | DisassociatePricingRulesCommandInput | GetBillingGroupCostReportCommandInput | ListAccountAssociationsCommandInput | ListBillingGroupCostReportsCommandInput | ListBillingGroupsCommandInput | ListCustomLineItemVersionsCommandInput | ListCustomLineItemsCommandInput | ListPricingPlansAssociatedWithPricingRuleCommandInput | ListPricingPlansCommandInput | ListPricingRulesAssociatedToPricingPlanCommandInput | ListPricingRulesCommandInput | ListResourcesAssociatedToCustomLineItemCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingGroupCommandInput | UpdateCustomLineItemCommandInput | UpdatePricingPlanCommandInput | UpdatePricingRuleCommandInput;
49
+ export type ServiceInputTypes = AssociateAccountsCommandInput | AssociatePricingRulesCommandInput | BatchAssociateResourcesToCustomLineItemCommandInput | BatchDisassociateResourcesFromCustomLineItemCommandInput | CreateBillingGroupCommandInput | CreateCustomLineItemCommandInput | CreatePricingPlanCommandInput | CreatePricingRuleCommandInput | DeleteBillingGroupCommandInput | DeleteCustomLineItemCommandInput | DeletePricingPlanCommandInput | DeletePricingRuleCommandInput | DisassociateAccountsCommandInput | DisassociatePricingRulesCommandInput | GetBillingGroupCostReportCommandInput | GetBillingTransferPreferenceCommandInput | ListAccountAssociationsCommandInput | ListBillingGroupCostReportsCommandInput | ListBillingGroupsCommandInput | ListCustomLineItemVersionsCommandInput | ListCustomLineItemsCommandInput | ListPricingPlansAssociatedWithPricingRuleCommandInput | ListPricingPlansCommandInput | ListPricingRulesAssociatedToPricingPlanCommandInput | ListPricingRulesCommandInput | ListResourcesAssociatedToCustomLineItemCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingGroupCommandInput | UpdateBillingTransferPreferenceCommandInput | UpdateCustomLineItemCommandInput | UpdatePricingPlanCommandInput | UpdatePricingRuleCommandInput;
48
50
  /**
49
51
  * @public
50
52
  */
51
- export type ServiceOutputTypes = AssociateAccountsCommandOutput | AssociatePricingRulesCommandOutput | BatchAssociateResourcesToCustomLineItemCommandOutput | BatchDisassociateResourcesFromCustomLineItemCommandOutput | CreateBillingGroupCommandOutput | CreateCustomLineItemCommandOutput | CreatePricingPlanCommandOutput | CreatePricingRuleCommandOutput | DeleteBillingGroupCommandOutput | DeleteCustomLineItemCommandOutput | DeletePricingPlanCommandOutput | DeletePricingRuleCommandOutput | DisassociateAccountsCommandOutput | DisassociatePricingRulesCommandOutput | GetBillingGroupCostReportCommandOutput | ListAccountAssociationsCommandOutput | ListBillingGroupCostReportsCommandOutput | ListBillingGroupsCommandOutput | ListCustomLineItemVersionsCommandOutput | ListCustomLineItemsCommandOutput | ListPricingPlansAssociatedWithPricingRuleCommandOutput | ListPricingPlansCommandOutput | ListPricingRulesAssociatedToPricingPlanCommandOutput | ListPricingRulesCommandOutput | ListResourcesAssociatedToCustomLineItemCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingGroupCommandOutput | UpdateCustomLineItemCommandOutput | UpdatePricingPlanCommandOutput | UpdatePricingRuleCommandOutput;
53
+ export type ServiceOutputTypes = AssociateAccountsCommandOutput | AssociatePricingRulesCommandOutput | BatchAssociateResourcesToCustomLineItemCommandOutput | BatchDisassociateResourcesFromCustomLineItemCommandOutput | CreateBillingGroupCommandOutput | CreateCustomLineItemCommandOutput | CreatePricingPlanCommandOutput | CreatePricingRuleCommandOutput | DeleteBillingGroupCommandOutput | DeleteCustomLineItemCommandOutput | DeletePricingPlanCommandOutput | DeletePricingRuleCommandOutput | DisassociateAccountsCommandOutput | DisassociatePricingRulesCommandOutput | GetBillingGroupCostReportCommandOutput | GetBillingTransferPreferenceCommandOutput | ListAccountAssociationsCommandOutput | ListBillingGroupCostReportsCommandOutput | ListBillingGroupsCommandOutput | ListCustomLineItemVersionsCommandOutput | ListCustomLineItemsCommandOutput | ListPricingPlansAssociatedWithPricingRuleCommandOutput | ListPricingPlansCommandOutput | ListPricingRulesAssociatedToPricingPlanCommandOutput | ListPricingRulesCommandOutput | ListResourcesAssociatedToCustomLineItemCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingGroupCommandOutput | UpdateBillingTransferPreferenceCommandOutput | UpdateCustomLineItemCommandOutput | UpdatePricingPlanCommandOutput | UpdatePricingRuleCommandOutput;
52
54
  /**
53
55
  * @public
54
56
  */
@@ -0,0 +1,91 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetBillingTransferPreferenceInput, GetBillingTransferPreferenceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetBillingTransferPreferenceCommand}.
11
+ */
12
+ export interface GetBillingTransferPreferenceCommandInput extends GetBillingTransferPreferenceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetBillingTransferPreferenceCommand}.
18
+ */
19
+ export interface GetBillingTransferPreferenceCommandOutput extends GetBillingTransferPreferenceOutput, __MetadataBearer {
20
+ }
21
+ declare const GetBillingTransferPreferenceCommand_base: {
22
+ new (input: GetBillingTransferPreferenceCommandInput): import("@smithy/core/client").CommandImpl<GetBillingTransferPreferenceCommandInput, GetBillingTransferPreferenceCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetBillingTransferPreferenceCommandInput): import("@smithy/core/client").CommandImpl<GetBillingTransferPreferenceCommandInput, GetBillingTransferPreferenceCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the auto billing group creation preference for a billing transfer.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingconductorClient, GetBillingTransferPreferenceCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
32
+ * // const { BillingconductorClient, GetBillingTransferPreferenceCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
33
+ * // import type { BillingconductorClientConfig } from "@aws-sdk/client-billingconductor";
34
+ * const config = {}; // type is BillingconductorClientConfig
35
+ * const client = new BillingconductorClient(config);
36
+ * const input = { // GetBillingTransferPreferenceInput
37
+ * ResponsibilityTransferArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetBillingTransferPreferenceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetBillingTransferPreferenceOutput
42
+ * // ResponsibilityTransferArn: "STRING_VALUE", // required
43
+ * // AutoBillingTransferBillingGroupCreation: { // AutoTransferBillingGroupCreationPreference
44
+ * // Enabled: true || false, // required
45
+ * // PricingPlanArn: "STRING_VALUE",
46
+ * // },
47
+ * // LastModifiedTime: Number("long"),
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetBillingTransferPreferenceCommandInput - {@link GetBillingTransferPreferenceCommandInput}
53
+ * @returns {@link GetBillingTransferPreferenceCommandOutput}
54
+ * @see {@link GetBillingTransferPreferenceCommandInput} for command's `input` shape.
55
+ * @see {@link GetBillingTransferPreferenceCommandOutput} for command's `response` shape.
56
+ * @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You do not have sufficient access to perform this action. </p>
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * <p>An unexpected error occurred while processing a request. </p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The request references a resource that doesn't exist. </p>
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * <p>The request was denied due to request throttling. </p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
72
+ *
73
+ * @throws {@link BillingconductorServiceException}
74
+ * <p>Base exception class for all service exceptions from Billingconductor service.</p>
75
+ *
76
+ *
77
+ * @public
78
+ */
79
+ export declare class GetBillingTransferPreferenceCommand extends GetBillingTransferPreferenceCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetBillingTransferPreferenceInput;
84
+ output: GetBillingTransferPreferenceOutput;
85
+ };
86
+ sdk: {
87
+ input: GetBillingTransferPreferenceCommandInput;
88
+ output: GetBillingTransferPreferenceCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,99 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateBillingTransferPreferenceInput, UpdateBillingTransferPreferenceOutput } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateBillingTransferPreferenceCommand}.
11
+ */
12
+ export interface UpdateBillingTransferPreferenceCommandInput extends UpdateBillingTransferPreferenceInput {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateBillingTransferPreferenceCommand}.
18
+ */
19
+ export interface UpdateBillingTransferPreferenceCommandOutput extends UpdateBillingTransferPreferenceOutput, __MetadataBearer {
20
+ }
21
+ declare const UpdateBillingTransferPreferenceCommand_base: {
22
+ new (input: UpdateBillingTransferPreferenceCommandInput): import("@smithy/core/client").CommandImpl<UpdateBillingTransferPreferenceCommandInput, UpdateBillingTransferPreferenceCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateBillingTransferPreferenceCommandInput): import("@smithy/core/client").CommandImpl<UpdateBillingTransferPreferenceCommandInput, UpdateBillingTransferPreferenceCommandOutput, import("..").BillingconductorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Sets the auto billing group creation preference for a billing transfer. When the preference is enabled, Billing Conductor automatically creates an indirect billing transfer billing group in your account, with the pricing plan that you specify, for each account that transfers its bill to the bill source account of this billing transfer. The preference applies only to billing groups that are created after you enable it.</p> <p>Enabling the preference requires the <code>iam:CreateServiceLinkedRole</code> permission. While a pricing plan is specified in an enabled preference, you can't delete that pricing plan.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { BillingconductorClient, UpdateBillingTransferPreferenceCommand } from "@aws-sdk/client-billingconductor"; // ES Modules import
32
+ * // const { BillingconductorClient, UpdateBillingTransferPreferenceCommand } = require("@aws-sdk/client-billingconductor"); // CommonJS import
33
+ * // import type { BillingconductorClientConfig } from "@aws-sdk/client-billingconductor";
34
+ * const config = {}; // type is BillingconductorClientConfig
35
+ * const client = new BillingconductorClient(config);
36
+ * const input = { // UpdateBillingTransferPreferenceInput
37
+ * ClientToken: "STRING_VALUE",
38
+ * ResponsibilityTransferArn: "STRING_VALUE", // required
39
+ * AutoBillingTransferBillingGroupCreation: { // AutoTransferBillingGroupCreationPreference
40
+ * Enabled: true || false, // required
41
+ * PricingPlanArn: "STRING_VALUE",
42
+ * },
43
+ * };
44
+ * const command = new UpdateBillingTransferPreferenceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // UpdateBillingTransferPreferenceOutput
47
+ * // ResponsibilityTransferArn: "STRING_VALUE", // required
48
+ * // AutoBillingTransferBillingGroupCreation: { // AutoTransferBillingGroupCreationPreference
49
+ * // Enabled: true || false, // required
50
+ * // PricingPlanArn: "STRING_VALUE",
51
+ * // },
52
+ * // LastModifiedTime: Number("long"), // required
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param UpdateBillingTransferPreferenceCommandInput - {@link UpdateBillingTransferPreferenceCommandInput}
58
+ * @returns {@link UpdateBillingTransferPreferenceCommandOutput}
59
+ * @see {@link UpdateBillingTransferPreferenceCommandInput} for command's `input` shape.
60
+ * @see {@link UpdateBillingTransferPreferenceCommandOutput} for command's `response` shape.
61
+ * @see {@link BillingconductorClientResolvedConfig | config} for BillingconductorClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action. </p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>You can cause an inconsistent state by updating or deleting a resource. </p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>An unexpected error occurred while processing a request. </p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The request references a resource that doesn't exist. </p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling. </p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input doesn't match with the constraints specified by Amazon Web Services services.</p>
80
+ *
81
+ * @throws {@link BillingconductorServiceException}
82
+ * <p>Base exception class for all service exceptions from Billingconductor service.</p>
83
+ *
84
+ *
85
+ * @public
86
+ */
87
+ export declare class UpdateBillingTransferPreferenceCommand extends UpdateBillingTransferPreferenceCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: UpdateBillingTransferPreferenceInput;
92
+ output: UpdateBillingTransferPreferenceOutput;
93
+ };
94
+ sdk: {
95
+ input: UpdateBillingTransferPreferenceCommandInput;
96
+ output: UpdateBillingTransferPreferenceCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -13,6 +13,7 @@ export * from "./DeletePricingRuleCommand";
13
13
  export * from "./DisassociateAccountsCommand";
14
14
  export * from "./DisassociatePricingRulesCommand";
15
15
  export * from "./GetBillingGroupCostReportCommand";
16
+ export * from "./GetBillingTransferPreferenceCommand";
16
17
  export * from "./ListAccountAssociationsCommand";
17
18
  export * from "./ListBillingGroupCostReportsCommand";
18
19
  export * from "./ListBillingGroupsCommand";
@@ -27,6 +28,7 @@ export * from "./ListTagsForResourceCommand";
27
28
  export * from "./TagResourceCommand";
28
29
  export * from "./UntagResourceCommand";
29
30
  export * from "./UpdateBillingGroupCommand";
31
+ export * from "./UpdateBillingTransferPreferenceCommand";
30
32
  export * from "./UpdateCustomLineItemCommand";
31
33
  export * from "./UpdatePricingPlanCommand";
32
34
  export * from "./UpdatePricingRuleCommand";
@@ -4,6 +4,7 @@
4
4
  */
5
5
  export declare const ConflictExceptionReason: {
6
6
  readonly PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT: "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT";
7
+ readonly PRICING_PLAN_REFERENCED_BY_PREFERENCE_DELETE_CONFLICT: "PRICING_PLAN_REFERENCED_BY_PREFERENCE_DELETE_CONFLICT";
7
8
  readonly PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT: "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT";
8
9
  readonly PRICING_RULE_IN_PRICING_PLAN_CONFLICT: "PRICING_RULE_IN_PRICING_PLAN_CONFLICT";
9
10
  readonly RESOURCE_NAME_CONFLICT: "RESOURCE_NAME_CONFLICT";