aws-sdk-billingconductor 1.19.0 → 1.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-billingconductor/client.rb +70 -46
- data/lib/aws-sdk-billingconductor/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-billingconductor.rb +1 -1
- data/sig/client.rbs +627 -0
- data/sig/errors.rbs +50 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +835 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,627 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module BillingConductor
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _AssociateAccountsResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateAccountsOutput]
|
77
|
+
def arn: () -> ::String
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#associate_accounts-instance_method
|
80
|
+
def associate_accounts: (
|
81
|
+
arn: ::String,
|
82
|
+
account_ids: Array[::String]
|
83
|
+
) -> _AssociateAccountsResponseSuccess
|
84
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateAccountsResponseSuccess
|
85
|
+
|
86
|
+
interface _AssociatePricingRulesResponseSuccess
|
87
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociatePricingRulesOutput]
|
88
|
+
def arn: () -> ::String
|
89
|
+
end
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#associate_pricing_rules-instance_method
|
91
|
+
def associate_pricing_rules: (
|
92
|
+
arn: ::String,
|
93
|
+
pricing_rule_arns: Array[::String]
|
94
|
+
) -> _AssociatePricingRulesResponseSuccess
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociatePricingRulesResponseSuccess
|
96
|
+
|
97
|
+
interface _BatchAssociateResourcesToCustomLineItemResponseSuccess
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAssociateResourcesToCustomLineItemOutput]
|
99
|
+
def successfully_associated_resources: () -> ::Array[Types::AssociateResourceResponseElement]
|
100
|
+
def failed_associated_resources: () -> ::Array[Types::AssociateResourceResponseElement]
|
101
|
+
end
|
102
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#batch_associate_resources_to_custom_line_item-instance_method
|
103
|
+
def batch_associate_resources_to_custom_line_item: (
|
104
|
+
target_arn: ::String,
|
105
|
+
resource_arns: Array[::String],
|
106
|
+
?billing_period_range: {
|
107
|
+
inclusive_start_billing_period: ::String,
|
108
|
+
exclusive_end_billing_period: ::String?
|
109
|
+
}
|
110
|
+
) -> _BatchAssociateResourcesToCustomLineItemResponseSuccess
|
111
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAssociateResourcesToCustomLineItemResponseSuccess
|
112
|
+
|
113
|
+
interface _BatchDisassociateResourcesFromCustomLineItemResponseSuccess
|
114
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateResourcesFromCustomLineItemOutput]
|
115
|
+
def successfully_disassociated_resources: () -> ::Array[Types::DisassociateResourceResponseElement]
|
116
|
+
def failed_disassociated_resources: () -> ::Array[Types::DisassociateResourceResponseElement]
|
117
|
+
end
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#batch_disassociate_resources_from_custom_line_item-instance_method
|
119
|
+
def batch_disassociate_resources_from_custom_line_item: (
|
120
|
+
target_arn: ::String,
|
121
|
+
resource_arns: Array[::String],
|
122
|
+
?billing_period_range: {
|
123
|
+
inclusive_start_billing_period: ::String,
|
124
|
+
exclusive_end_billing_period: ::String?
|
125
|
+
}
|
126
|
+
) -> _BatchDisassociateResourcesFromCustomLineItemResponseSuccess
|
127
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateResourcesFromCustomLineItemResponseSuccess
|
128
|
+
|
129
|
+
interface _CreateBillingGroupResponseSuccess
|
130
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBillingGroupOutput]
|
131
|
+
def arn: () -> ::String
|
132
|
+
end
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#create_billing_group-instance_method
|
134
|
+
def create_billing_group: (
|
135
|
+
?client_token: ::String,
|
136
|
+
name: ::String,
|
137
|
+
account_grouping: {
|
138
|
+
linked_account_ids: Array[::String],
|
139
|
+
auto_associate: bool?
|
140
|
+
},
|
141
|
+
computation_preference: {
|
142
|
+
pricing_plan_arn: ::String
|
143
|
+
},
|
144
|
+
?primary_account_id: ::String,
|
145
|
+
?description: ::String,
|
146
|
+
?tags: Hash[::String, ::String]
|
147
|
+
) -> _CreateBillingGroupResponseSuccess
|
148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillingGroupResponseSuccess
|
149
|
+
|
150
|
+
interface _CreateCustomLineItemResponseSuccess
|
151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomLineItemOutput]
|
152
|
+
def arn: () -> ::String
|
153
|
+
end
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#create_custom_line_item-instance_method
|
155
|
+
def create_custom_line_item: (
|
156
|
+
?client_token: ::String,
|
157
|
+
name: ::String,
|
158
|
+
description: ::String,
|
159
|
+
billing_group_arn: ::String,
|
160
|
+
?billing_period_range: {
|
161
|
+
inclusive_start_billing_period: ::String,
|
162
|
+
exclusive_end_billing_period: ::String?
|
163
|
+
},
|
164
|
+
?tags: Hash[::String, ::String],
|
165
|
+
charge_details: {
|
166
|
+
flat: {
|
167
|
+
charge_value: ::Float
|
168
|
+
}?,
|
169
|
+
percentage: {
|
170
|
+
percentage_value: ::Float,
|
171
|
+
associated_values: Array[::String]?
|
172
|
+
}?,
|
173
|
+
type: ("CREDIT" | "FEE"),
|
174
|
+
line_item_filters: Array[
|
175
|
+
{
|
176
|
+
attribute: ("LINE_ITEM_TYPE"),
|
177
|
+
match_option: ("NOT_EQUAL"),
|
178
|
+
values: Array[("SAVINGS_PLAN_NEGATION")]
|
179
|
+
},
|
180
|
+
]?
|
181
|
+
},
|
182
|
+
?account_id: ::String
|
183
|
+
) -> _CreateCustomLineItemResponseSuccess
|
184
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomLineItemResponseSuccess
|
185
|
+
|
186
|
+
interface _CreatePricingPlanResponseSuccess
|
187
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePricingPlanOutput]
|
188
|
+
def arn: () -> ::String
|
189
|
+
end
|
190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#create_pricing_plan-instance_method
|
191
|
+
def create_pricing_plan: (
|
192
|
+
?client_token: ::String,
|
193
|
+
name: ::String,
|
194
|
+
?description: ::String,
|
195
|
+
?pricing_rule_arns: Array[::String],
|
196
|
+
?tags: Hash[::String, ::String]
|
197
|
+
) -> _CreatePricingPlanResponseSuccess
|
198
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePricingPlanResponseSuccess
|
199
|
+
|
200
|
+
interface _CreatePricingRuleResponseSuccess
|
201
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePricingRuleOutput]
|
202
|
+
def arn: () -> ::String
|
203
|
+
end
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#create_pricing_rule-instance_method
|
205
|
+
def create_pricing_rule: (
|
206
|
+
?client_token: ::String,
|
207
|
+
name: ::String,
|
208
|
+
?description: ::String,
|
209
|
+
scope: ("GLOBAL" | "SERVICE" | "BILLING_ENTITY" | "SKU"),
|
210
|
+
type: ("MARKUP" | "DISCOUNT" | "TIERING"),
|
211
|
+
?modifier_percentage: ::Float,
|
212
|
+
?service: ::String,
|
213
|
+
?tags: Hash[::String, ::String],
|
214
|
+
?billing_entity: ::String,
|
215
|
+
?tiering: {
|
216
|
+
free_tier: {
|
217
|
+
activated: bool
|
218
|
+
}
|
219
|
+
},
|
220
|
+
?usage_type: ::String,
|
221
|
+
?operation: ::String
|
222
|
+
) -> _CreatePricingRuleResponseSuccess
|
223
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePricingRuleResponseSuccess
|
224
|
+
|
225
|
+
interface _DeleteBillingGroupResponseSuccess
|
226
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBillingGroupOutput]
|
227
|
+
def arn: () -> ::String
|
228
|
+
end
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#delete_billing_group-instance_method
|
230
|
+
def delete_billing_group: (
|
231
|
+
arn: ::String
|
232
|
+
) -> _DeleteBillingGroupResponseSuccess
|
233
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBillingGroupResponseSuccess
|
234
|
+
|
235
|
+
interface _DeleteCustomLineItemResponseSuccess
|
236
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomLineItemOutput]
|
237
|
+
def arn: () -> ::String
|
238
|
+
end
|
239
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#delete_custom_line_item-instance_method
|
240
|
+
def delete_custom_line_item: (
|
241
|
+
arn: ::String,
|
242
|
+
?billing_period_range: {
|
243
|
+
inclusive_start_billing_period: ::String,
|
244
|
+
exclusive_end_billing_period: ::String?
|
245
|
+
}
|
246
|
+
) -> _DeleteCustomLineItemResponseSuccess
|
247
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomLineItemResponseSuccess
|
248
|
+
|
249
|
+
interface _DeletePricingPlanResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePricingPlanOutput]
|
251
|
+
def arn: () -> ::String
|
252
|
+
end
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#delete_pricing_plan-instance_method
|
254
|
+
def delete_pricing_plan: (
|
255
|
+
arn: ::String
|
256
|
+
) -> _DeletePricingPlanResponseSuccess
|
257
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePricingPlanResponseSuccess
|
258
|
+
|
259
|
+
interface _DeletePricingRuleResponseSuccess
|
260
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePricingRuleOutput]
|
261
|
+
def arn: () -> ::String
|
262
|
+
end
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#delete_pricing_rule-instance_method
|
264
|
+
def delete_pricing_rule: (
|
265
|
+
arn: ::String
|
266
|
+
) -> _DeletePricingRuleResponseSuccess
|
267
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePricingRuleResponseSuccess
|
268
|
+
|
269
|
+
interface _DisassociateAccountsResponseSuccess
|
270
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAccountsOutput]
|
271
|
+
def arn: () -> ::String
|
272
|
+
end
|
273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#disassociate_accounts-instance_method
|
274
|
+
def disassociate_accounts: (
|
275
|
+
arn: ::String,
|
276
|
+
account_ids: Array[::String]
|
277
|
+
) -> _DisassociateAccountsResponseSuccess
|
278
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateAccountsResponseSuccess
|
279
|
+
|
280
|
+
interface _DisassociatePricingRulesResponseSuccess
|
281
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociatePricingRulesOutput]
|
282
|
+
def arn: () -> ::String
|
283
|
+
end
|
284
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#disassociate_pricing_rules-instance_method
|
285
|
+
def disassociate_pricing_rules: (
|
286
|
+
arn: ::String,
|
287
|
+
pricing_rule_arns: Array[::String]
|
288
|
+
) -> _DisassociatePricingRulesResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociatePricingRulesResponseSuccess
|
290
|
+
|
291
|
+
interface _GetBillingGroupCostReportResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBillingGroupCostReportOutput]
|
293
|
+
def billing_group_cost_report_results: () -> ::Array[Types::BillingGroupCostReportResultElement]
|
294
|
+
def next_token: () -> ::String
|
295
|
+
end
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#get_billing_group_cost_report-instance_method
|
297
|
+
def get_billing_group_cost_report: (
|
298
|
+
arn: ::String,
|
299
|
+
?billing_period_range: {
|
300
|
+
inclusive_start_billing_period: ::String,
|
301
|
+
exclusive_end_billing_period: ::String
|
302
|
+
},
|
303
|
+
?group_by: Array[("PRODUCT_NAME" | "BILLING_PERIOD")],
|
304
|
+
?max_results: ::Integer,
|
305
|
+
?next_token: ::String
|
306
|
+
) -> _GetBillingGroupCostReportResponseSuccess
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillingGroupCostReportResponseSuccess
|
308
|
+
|
309
|
+
interface _ListAccountAssociationsResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAccountAssociationsOutput]
|
311
|
+
def linked_accounts: () -> ::Array[Types::AccountAssociationsListElement]
|
312
|
+
def next_token: () -> ::String
|
313
|
+
end
|
314
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_account_associations-instance_method
|
315
|
+
def list_account_associations: (
|
316
|
+
?billing_period: ::String,
|
317
|
+
?filters: {
|
318
|
+
association: ::String?,
|
319
|
+
account_id: ::String?,
|
320
|
+
account_ids: Array[::String]?
|
321
|
+
},
|
322
|
+
?next_token: ::String
|
323
|
+
) -> _ListAccountAssociationsResponseSuccess
|
324
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccountAssociationsResponseSuccess
|
325
|
+
|
326
|
+
interface _ListBillingGroupCostReportsResponseSuccess
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillingGroupCostReportsOutput]
|
328
|
+
def billing_group_cost_reports: () -> ::Array[Types::BillingGroupCostReportElement]
|
329
|
+
def next_token: () -> ::String
|
330
|
+
end
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_billing_group_cost_reports-instance_method
|
332
|
+
def list_billing_group_cost_reports: (
|
333
|
+
?billing_period: ::String,
|
334
|
+
?max_results: ::Integer,
|
335
|
+
?next_token: ::String,
|
336
|
+
?filters: {
|
337
|
+
billing_group_arns: Array[::String]?
|
338
|
+
}
|
339
|
+
) -> _ListBillingGroupCostReportsResponseSuccess
|
340
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillingGroupCostReportsResponseSuccess
|
341
|
+
|
342
|
+
interface _ListBillingGroupsResponseSuccess
|
343
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillingGroupsOutput]
|
344
|
+
def billing_groups: () -> ::Array[Types::BillingGroupListElement]
|
345
|
+
def next_token: () -> ::String
|
346
|
+
end
|
347
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_billing_groups-instance_method
|
348
|
+
def list_billing_groups: (
|
349
|
+
?billing_period: ::String,
|
350
|
+
?max_results: ::Integer,
|
351
|
+
?next_token: ::String,
|
352
|
+
?filters: {
|
353
|
+
arns: Array[::String]?,
|
354
|
+
pricing_plan: ::String?,
|
355
|
+
statuses: Array[("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")]?,
|
356
|
+
auto_associate: bool?
|
357
|
+
}
|
358
|
+
) -> _ListBillingGroupsResponseSuccess
|
359
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillingGroupsResponseSuccess
|
360
|
+
|
361
|
+
interface _ListCustomLineItemVersionsResponseSuccess
|
362
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomLineItemVersionsOutput]
|
363
|
+
def custom_line_item_versions: () -> ::Array[Types::CustomLineItemVersionListElement]
|
364
|
+
def next_token: () -> ::String
|
365
|
+
end
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_custom_line_item_versions-instance_method
|
367
|
+
def list_custom_line_item_versions: (
|
368
|
+
arn: ::String,
|
369
|
+
?max_results: ::Integer,
|
370
|
+
?next_token: ::String,
|
371
|
+
?filters: {
|
372
|
+
billing_period_range: {
|
373
|
+
start_billing_period: ::String?,
|
374
|
+
end_billing_period: ::String?
|
375
|
+
}?
|
376
|
+
}
|
377
|
+
) -> _ListCustomLineItemVersionsResponseSuccess
|
378
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomLineItemVersionsResponseSuccess
|
379
|
+
|
380
|
+
interface _ListCustomLineItemsResponseSuccess
|
381
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomLineItemsOutput]
|
382
|
+
def custom_line_items: () -> ::Array[Types::CustomLineItemListElement]
|
383
|
+
def next_token: () -> ::String
|
384
|
+
end
|
385
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_custom_line_items-instance_method
|
386
|
+
def list_custom_line_items: (
|
387
|
+
?billing_period: ::String,
|
388
|
+
?max_results: ::Integer,
|
389
|
+
?next_token: ::String,
|
390
|
+
?filters: {
|
391
|
+
names: Array[::String]?,
|
392
|
+
billing_groups: Array[::String]?,
|
393
|
+
arns: Array[::String]?,
|
394
|
+
account_ids: Array[::String]?
|
395
|
+
}
|
396
|
+
) -> _ListCustomLineItemsResponseSuccess
|
397
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomLineItemsResponseSuccess
|
398
|
+
|
399
|
+
interface _ListPricingPlansResponseSuccess
|
400
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPricingPlansOutput]
|
401
|
+
def billing_period: () -> ::String
|
402
|
+
def pricing_plans: () -> ::Array[Types::PricingPlanListElement]
|
403
|
+
def next_token: () -> ::String
|
404
|
+
end
|
405
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_pricing_plans-instance_method
|
406
|
+
def list_pricing_plans: (
|
407
|
+
?billing_period: ::String,
|
408
|
+
?filters: {
|
409
|
+
arns: Array[::String]?
|
410
|
+
},
|
411
|
+
?max_results: ::Integer,
|
412
|
+
?next_token: ::String
|
413
|
+
) -> _ListPricingPlansResponseSuccess
|
414
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPricingPlansResponseSuccess
|
415
|
+
|
416
|
+
interface _ListPricingPlansAssociatedWithPricingRuleResponseSuccess
|
417
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPricingPlansAssociatedWithPricingRuleOutput]
|
418
|
+
def billing_period: () -> ::String
|
419
|
+
def pricing_rule_arn: () -> ::String
|
420
|
+
def pricing_plan_arns: () -> ::Array[::String]
|
421
|
+
def next_token: () -> ::String
|
422
|
+
end
|
423
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_pricing_plans_associated_with_pricing_rule-instance_method
|
424
|
+
def list_pricing_plans_associated_with_pricing_rule: (
|
425
|
+
?billing_period: ::String,
|
426
|
+
pricing_rule_arn: ::String,
|
427
|
+
?max_results: ::Integer,
|
428
|
+
?next_token: ::String
|
429
|
+
) -> _ListPricingPlansAssociatedWithPricingRuleResponseSuccess
|
430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPricingPlansAssociatedWithPricingRuleResponseSuccess
|
431
|
+
|
432
|
+
interface _ListPricingRulesResponseSuccess
|
433
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPricingRulesOutput]
|
434
|
+
def billing_period: () -> ::String
|
435
|
+
def pricing_rules: () -> ::Array[Types::PricingRuleListElement]
|
436
|
+
def next_token: () -> ::String
|
437
|
+
end
|
438
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_pricing_rules-instance_method
|
439
|
+
def list_pricing_rules: (
|
440
|
+
?billing_period: ::String,
|
441
|
+
?filters: {
|
442
|
+
arns: Array[::String]?
|
443
|
+
},
|
444
|
+
?max_results: ::Integer,
|
445
|
+
?next_token: ::String
|
446
|
+
) -> _ListPricingRulesResponseSuccess
|
447
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPricingRulesResponseSuccess
|
448
|
+
|
449
|
+
interface _ListPricingRulesAssociatedToPricingPlanResponseSuccess
|
450
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPricingRulesAssociatedToPricingPlanOutput]
|
451
|
+
def billing_period: () -> ::String
|
452
|
+
def pricing_plan_arn: () -> ::String
|
453
|
+
def pricing_rule_arns: () -> ::Array[::String]
|
454
|
+
def next_token: () -> ::String
|
455
|
+
end
|
456
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_pricing_rules_associated_to_pricing_plan-instance_method
|
457
|
+
def list_pricing_rules_associated_to_pricing_plan: (
|
458
|
+
?billing_period: ::String,
|
459
|
+
pricing_plan_arn: ::String,
|
460
|
+
?max_results: ::Integer,
|
461
|
+
?next_token: ::String
|
462
|
+
) -> _ListPricingRulesAssociatedToPricingPlanResponseSuccess
|
463
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPricingRulesAssociatedToPricingPlanResponseSuccess
|
464
|
+
|
465
|
+
interface _ListResourcesAssociatedToCustomLineItemResponseSuccess
|
466
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourcesAssociatedToCustomLineItemOutput]
|
467
|
+
def arn: () -> ::String
|
468
|
+
def associated_resources: () -> ::Array[Types::ListResourcesAssociatedToCustomLineItemResponseElement]
|
469
|
+
def next_token: () -> ::String
|
470
|
+
end
|
471
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_resources_associated_to_custom_line_item-instance_method
|
472
|
+
def list_resources_associated_to_custom_line_item: (
|
473
|
+
?billing_period: ::String,
|
474
|
+
arn: ::String,
|
475
|
+
?max_results: ::Integer,
|
476
|
+
?next_token: ::String,
|
477
|
+
?filters: {
|
478
|
+
relationship: ("PARENT" | "CHILD")?
|
479
|
+
}
|
480
|
+
) -> _ListResourcesAssociatedToCustomLineItemResponseSuccess
|
481
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourcesAssociatedToCustomLineItemResponseSuccess
|
482
|
+
|
483
|
+
interface _ListTagsForResourceResponseSuccess
|
484
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
485
|
+
def tags: () -> ::Hash[::String, ::String]
|
486
|
+
end
|
487
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#list_tags_for_resource-instance_method
|
488
|
+
def list_tags_for_resource: (
|
489
|
+
resource_arn: ::String
|
490
|
+
) -> _ListTagsForResourceResponseSuccess
|
491
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
492
|
+
|
493
|
+
interface _TagResourceResponseSuccess
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
495
|
+
end
|
496
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#tag_resource-instance_method
|
497
|
+
def tag_resource: (
|
498
|
+
resource_arn: ::String,
|
499
|
+
tags: Hash[::String, ::String]
|
500
|
+
) -> _TagResourceResponseSuccess
|
501
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
502
|
+
|
503
|
+
interface _UntagResourceResponseSuccess
|
504
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
505
|
+
end
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#untag_resource-instance_method
|
507
|
+
def untag_resource: (
|
508
|
+
resource_arn: ::String,
|
509
|
+
tag_keys: Array[::String]
|
510
|
+
) -> _UntagResourceResponseSuccess
|
511
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
512
|
+
|
513
|
+
interface _UpdateBillingGroupResponseSuccess
|
514
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBillingGroupOutput]
|
515
|
+
def arn: () -> ::String
|
516
|
+
def name: () -> ::String
|
517
|
+
def description: () -> ::String
|
518
|
+
def primary_account_id: () -> ::String
|
519
|
+
def pricing_plan_arn: () -> ::String
|
520
|
+
def size: () -> ::Integer
|
521
|
+
def last_modified_time: () -> ::Integer
|
522
|
+
def status: () -> ("ACTIVE" | "PRIMARY_ACCOUNT_MISSING")
|
523
|
+
def status_reason: () -> ::String
|
524
|
+
def account_grouping: () -> Types::UpdateBillingGroupAccountGrouping
|
525
|
+
end
|
526
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#update_billing_group-instance_method
|
527
|
+
def update_billing_group: (
|
528
|
+
arn: ::String,
|
529
|
+
?name: ::String,
|
530
|
+
?status: ("ACTIVE" | "PRIMARY_ACCOUNT_MISSING"),
|
531
|
+
?computation_preference: {
|
532
|
+
pricing_plan_arn: ::String
|
533
|
+
},
|
534
|
+
?description: ::String,
|
535
|
+
?account_grouping: {
|
536
|
+
auto_associate: bool?
|
537
|
+
}
|
538
|
+
) -> _UpdateBillingGroupResponseSuccess
|
539
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillingGroupResponseSuccess
|
540
|
+
|
541
|
+
interface _UpdateCustomLineItemResponseSuccess
|
542
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCustomLineItemOutput]
|
543
|
+
def arn: () -> ::String
|
544
|
+
def billing_group_arn: () -> ::String
|
545
|
+
def name: () -> ::String
|
546
|
+
def description: () -> ::String
|
547
|
+
def charge_details: () -> Types::ListCustomLineItemChargeDetails
|
548
|
+
def last_modified_time: () -> ::Integer
|
549
|
+
def association_size: () -> ::Integer
|
550
|
+
end
|
551
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#update_custom_line_item-instance_method
|
552
|
+
def update_custom_line_item: (
|
553
|
+
arn: ::String,
|
554
|
+
?name: ::String,
|
555
|
+
?description: ::String,
|
556
|
+
?charge_details: {
|
557
|
+
flat: {
|
558
|
+
charge_value: ::Float
|
559
|
+
}?,
|
560
|
+
percentage: {
|
561
|
+
percentage_value: ::Float
|
562
|
+
}?,
|
563
|
+
line_item_filters: Array[
|
564
|
+
{
|
565
|
+
attribute: ("LINE_ITEM_TYPE"),
|
566
|
+
match_option: ("NOT_EQUAL"),
|
567
|
+
values: Array[("SAVINGS_PLAN_NEGATION")]
|
568
|
+
},
|
569
|
+
]?
|
570
|
+
},
|
571
|
+
?billing_period_range: {
|
572
|
+
inclusive_start_billing_period: ::String,
|
573
|
+
exclusive_end_billing_period: ::String?
|
574
|
+
}
|
575
|
+
) -> _UpdateCustomLineItemResponseSuccess
|
576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCustomLineItemResponseSuccess
|
577
|
+
|
578
|
+
interface _UpdatePricingPlanResponseSuccess
|
579
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePricingPlanOutput]
|
580
|
+
def arn: () -> ::String
|
581
|
+
def name: () -> ::String
|
582
|
+
def description: () -> ::String
|
583
|
+
def size: () -> ::Integer
|
584
|
+
def last_modified_time: () -> ::Integer
|
585
|
+
end
|
586
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#update_pricing_plan-instance_method
|
587
|
+
def update_pricing_plan: (
|
588
|
+
arn: ::String,
|
589
|
+
?name: ::String,
|
590
|
+
?description: ::String
|
591
|
+
) -> _UpdatePricingPlanResponseSuccess
|
592
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePricingPlanResponseSuccess
|
593
|
+
|
594
|
+
interface _UpdatePricingRuleResponseSuccess
|
595
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePricingRuleOutput]
|
596
|
+
def arn: () -> ::String
|
597
|
+
def name: () -> ::String
|
598
|
+
def description: () -> ::String
|
599
|
+
def scope: () -> ("GLOBAL" | "SERVICE" | "BILLING_ENTITY" | "SKU")
|
600
|
+
def type: () -> ("MARKUP" | "DISCOUNT" | "TIERING")
|
601
|
+
def modifier_percentage: () -> ::Float
|
602
|
+
def service: () -> ::String
|
603
|
+
def associated_pricing_plan_count: () -> ::Integer
|
604
|
+
def last_modified_time: () -> ::Integer
|
605
|
+
def billing_entity: () -> ::String
|
606
|
+
def tiering: () -> Types::UpdateTieringInput
|
607
|
+
def usage_type: () -> ::String
|
608
|
+
def operation: () -> ::String
|
609
|
+
end
|
610
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BillingConductor/Client.html#update_pricing_rule-instance_method
|
611
|
+
def update_pricing_rule: (
|
612
|
+
arn: ::String,
|
613
|
+
?name: ::String,
|
614
|
+
?description: ::String,
|
615
|
+
?type: ("MARKUP" | "DISCOUNT" | "TIERING"),
|
616
|
+
?modifier_percentage: ::Float,
|
617
|
+
?tiering: {
|
618
|
+
free_tier: {
|
619
|
+
activated: bool
|
620
|
+
}
|
621
|
+
}
|
622
|
+
) -> _UpdatePricingRuleResponseSuccess
|
623
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePricingRuleResponseSuccess
|
624
|
+
end
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|