aws-sdk-bcmpricingcalculator 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-bcmpricingcalculator/client.rb +2649 -0
- data/lib/aws-sdk-bcmpricingcalculator/client_api.rb +1677 -0
- data/lib/aws-sdk-bcmpricingcalculator/customizations.rb +0 -0
- data/lib/aws-sdk-bcmpricingcalculator/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-bcmpricingcalculator/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-bcmpricingcalculator/endpoints.rb +20 -0
- data/lib/aws-sdk-bcmpricingcalculator/errors.rb +236 -0
- data/lib/aws-sdk-bcmpricingcalculator/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-bcmpricingcalculator/resource.rb +26 -0
- data/lib/aws-sdk-bcmpricingcalculator/types.rb +3550 -0
- data/lib/aws-sdk-bcmpricingcalculator/waiters.rb +15 -0
- data/lib/aws-sdk-bcmpricingcalculator.rb +62 -0
- data/sig/client.rbs +778 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +83 -0
- data/sig/types.rbs +1006 -0
- data/sig/waiters.rbs +13 -0
- metadata +100 -0
data/sig/client.rbs
ADDED
@@ -0,0 +1,778 @@
|
|
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 BCMPricingCalculator
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?sigv4a_signing_region_set: Array[String],
|
53
|
+
?simple_json: bool,
|
54
|
+
?stub_responses: untyped,
|
55
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
56
|
+
?token_provider: untyped,
|
57
|
+
?use_dualstack_endpoint: bool,
|
58
|
+
?use_fips_endpoint: bool,
|
59
|
+
?validate_params: bool,
|
60
|
+
?endpoint_provider: untyped,
|
61
|
+
?http_proxy: String,
|
62
|
+
?http_open_timeout: (Float | Integer),
|
63
|
+
?http_read_timeout: (Float | Integer),
|
64
|
+
?http_idle_timeout: (Float | Integer),
|
65
|
+
?http_continue_timeout: (Float | Integer),
|
66
|
+
?ssl_timeout: (Float | Integer | nil),
|
67
|
+
?http_wire_trace: bool,
|
68
|
+
?ssl_verify_peer: bool,
|
69
|
+
?ssl_ca_bundle: String,
|
70
|
+
?ssl_ca_directory: String,
|
71
|
+
?ssl_ca_store: String,
|
72
|
+
?on_chunk_received: Proc,
|
73
|
+
?on_chunk_sent: Proc,
|
74
|
+
?raise_response_errors: bool
|
75
|
+
) -> instance
|
76
|
+
| (?Hash[Symbol, untyped]) -> instance
|
77
|
+
|
78
|
+
|
79
|
+
interface _BatchCreateBillScenarioCommitmentModificationResponseSuccess
|
80
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateBillScenarioCommitmentModificationResponse]
|
81
|
+
def items: () -> ::Array[Types::BatchCreateBillScenarioCommitmentModificationItem]
|
82
|
+
def errors: () -> ::Array[Types::BatchCreateBillScenarioCommitmentModificationError]
|
83
|
+
end
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_create_bill_scenario_commitment_modification-instance_method
|
85
|
+
def batch_create_bill_scenario_commitment_modification: (
|
86
|
+
bill_scenario_id: ::String,
|
87
|
+
commitment_modifications: Array[
|
88
|
+
{
|
89
|
+
key: ::String,
|
90
|
+
group: ::String?,
|
91
|
+
usage_account_id: ::String,
|
92
|
+
commitment_action: {
|
93
|
+
add_reserved_instance_action: {
|
94
|
+
reserved_instances_offering_id: ::String?,
|
95
|
+
instance_count: ::Integer?
|
96
|
+
}?,
|
97
|
+
add_savings_plan_action: {
|
98
|
+
savings_plan_offering_id: ::String?,
|
99
|
+
commitment: ::Float?
|
100
|
+
}?,
|
101
|
+
negate_reserved_instance_action: {
|
102
|
+
reserved_instances_id: ::String?
|
103
|
+
}?,
|
104
|
+
negate_savings_plan_action: {
|
105
|
+
savings_plan_id: ::String?
|
106
|
+
}?
|
107
|
+
}
|
108
|
+
},
|
109
|
+
],
|
110
|
+
?client_token: ::String
|
111
|
+
) -> _BatchCreateBillScenarioCommitmentModificationResponseSuccess
|
112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateBillScenarioCommitmentModificationResponseSuccess
|
113
|
+
|
114
|
+
interface _BatchCreateBillScenarioUsageModificationResponseSuccess
|
115
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateBillScenarioUsageModificationResponse]
|
116
|
+
def items: () -> ::Array[Types::BatchCreateBillScenarioUsageModificationItem]
|
117
|
+
def errors: () -> ::Array[Types::BatchCreateBillScenarioUsageModificationError]
|
118
|
+
end
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_create_bill_scenario_usage_modification-instance_method
|
120
|
+
def batch_create_bill_scenario_usage_modification: (
|
121
|
+
bill_scenario_id: ::String,
|
122
|
+
usage_modifications: Array[
|
123
|
+
{
|
124
|
+
service_code: ::String,
|
125
|
+
usage_type: ::String,
|
126
|
+
operation: ::String,
|
127
|
+
availability_zone: ::String?,
|
128
|
+
key: ::String,
|
129
|
+
group: ::String?,
|
130
|
+
usage_account_id: ::String,
|
131
|
+
amounts: Array[
|
132
|
+
{
|
133
|
+
start_hour: ::Time,
|
134
|
+
amount: ::Float
|
135
|
+
},
|
136
|
+
]?,
|
137
|
+
historical_usage: {
|
138
|
+
service_code: ::String,
|
139
|
+
usage_type: ::String,
|
140
|
+
operation: ::String,
|
141
|
+
location: ::String?,
|
142
|
+
usage_account_id: ::String,
|
143
|
+
bill_interval: {
|
144
|
+
start: ::Time?,
|
145
|
+
end: ::Time?
|
146
|
+
},
|
147
|
+
filter_expression: {
|
148
|
+
and: Array[
|
149
|
+
untyped,
|
150
|
+
]?,
|
151
|
+
or: Array[
|
152
|
+
untyped,
|
153
|
+
]?,
|
154
|
+
not: untyped?,
|
155
|
+
cost_categories: {
|
156
|
+
key: ::String?,
|
157
|
+
match_options: Array[::String]?,
|
158
|
+
values: Array[::String]?
|
159
|
+
}?,
|
160
|
+
dimensions: {
|
161
|
+
key: ::String?,
|
162
|
+
match_options: Array[::String]?,
|
163
|
+
values: Array[::String]?
|
164
|
+
}?,
|
165
|
+
tags: {
|
166
|
+
key: ::String?,
|
167
|
+
match_options: Array[::String]?,
|
168
|
+
values: Array[::String]?
|
169
|
+
}?
|
170
|
+
}
|
171
|
+
}?
|
172
|
+
},
|
173
|
+
],
|
174
|
+
?client_token: ::String
|
175
|
+
) -> _BatchCreateBillScenarioUsageModificationResponseSuccess
|
176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateBillScenarioUsageModificationResponseSuccess
|
177
|
+
|
178
|
+
interface _BatchCreateWorkloadEstimateUsageResponseSuccess
|
179
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateWorkloadEstimateUsageResponse]
|
180
|
+
def items: () -> ::Array[Types::BatchCreateWorkloadEstimateUsageItem]
|
181
|
+
def errors: () -> ::Array[Types::BatchCreateWorkloadEstimateUsageError]
|
182
|
+
end
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_create_workload_estimate_usage-instance_method
|
184
|
+
def batch_create_workload_estimate_usage: (
|
185
|
+
workload_estimate_id: ::String,
|
186
|
+
usage: Array[
|
187
|
+
{
|
188
|
+
service_code: ::String,
|
189
|
+
usage_type: ::String,
|
190
|
+
operation: ::String,
|
191
|
+
key: ::String,
|
192
|
+
group: ::String?,
|
193
|
+
usage_account_id: ::String,
|
194
|
+
amount: ::Float,
|
195
|
+
historical_usage: {
|
196
|
+
service_code: ::String,
|
197
|
+
usage_type: ::String,
|
198
|
+
operation: ::String,
|
199
|
+
location: ::String?,
|
200
|
+
usage_account_id: ::String,
|
201
|
+
bill_interval: {
|
202
|
+
start: ::Time?,
|
203
|
+
end: ::Time?
|
204
|
+
},
|
205
|
+
filter_expression: {
|
206
|
+
and: Array[
|
207
|
+
untyped,
|
208
|
+
]?,
|
209
|
+
or: Array[
|
210
|
+
untyped,
|
211
|
+
]?,
|
212
|
+
not: untyped?,
|
213
|
+
cost_categories: {
|
214
|
+
key: ::String?,
|
215
|
+
match_options: Array[::String]?,
|
216
|
+
values: Array[::String]?
|
217
|
+
}?,
|
218
|
+
dimensions: {
|
219
|
+
key: ::String?,
|
220
|
+
match_options: Array[::String]?,
|
221
|
+
values: Array[::String]?
|
222
|
+
}?,
|
223
|
+
tags: {
|
224
|
+
key: ::String?,
|
225
|
+
match_options: Array[::String]?,
|
226
|
+
values: Array[::String]?
|
227
|
+
}?
|
228
|
+
}
|
229
|
+
}?
|
230
|
+
},
|
231
|
+
],
|
232
|
+
?client_token: ::String
|
233
|
+
) -> _BatchCreateWorkloadEstimateUsageResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateWorkloadEstimateUsageResponseSuccess
|
235
|
+
|
236
|
+
interface _BatchDeleteBillScenarioCommitmentModificationResponseSuccess
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteBillScenarioCommitmentModificationResponse]
|
238
|
+
def errors: () -> ::Array[Types::BatchDeleteBillScenarioCommitmentModificationError]
|
239
|
+
end
|
240
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_delete_bill_scenario_commitment_modification-instance_method
|
241
|
+
def batch_delete_bill_scenario_commitment_modification: (
|
242
|
+
bill_scenario_id: ::String,
|
243
|
+
ids: Array[::String]
|
244
|
+
) -> _BatchDeleteBillScenarioCommitmentModificationResponseSuccess
|
245
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteBillScenarioCommitmentModificationResponseSuccess
|
246
|
+
|
247
|
+
interface _BatchDeleteBillScenarioUsageModificationResponseSuccess
|
248
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteBillScenarioUsageModificationResponse]
|
249
|
+
def errors: () -> ::Array[Types::BatchDeleteBillScenarioUsageModificationError]
|
250
|
+
end
|
251
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_delete_bill_scenario_usage_modification-instance_method
|
252
|
+
def batch_delete_bill_scenario_usage_modification: (
|
253
|
+
bill_scenario_id: ::String,
|
254
|
+
ids: Array[::String]
|
255
|
+
) -> _BatchDeleteBillScenarioUsageModificationResponseSuccess
|
256
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteBillScenarioUsageModificationResponseSuccess
|
257
|
+
|
258
|
+
interface _BatchDeleteWorkloadEstimateUsageResponseSuccess
|
259
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteWorkloadEstimateUsageResponse]
|
260
|
+
def errors: () -> ::Array[Types::BatchDeleteWorkloadEstimateUsageError]
|
261
|
+
end
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_delete_workload_estimate_usage-instance_method
|
263
|
+
def batch_delete_workload_estimate_usage: (
|
264
|
+
workload_estimate_id: ::String,
|
265
|
+
ids: Array[::String]
|
266
|
+
) -> _BatchDeleteWorkloadEstimateUsageResponseSuccess
|
267
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteWorkloadEstimateUsageResponseSuccess
|
268
|
+
|
269
|
+
interface _BatchUpdateBillScenarioCommitmentModificationResponseSuccess
|
270
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateBillScenarioCommitmentModificationResponse]
|
271
|
+
def items: () -> ::Array[Types::BillScenarioCommitmentModificationItem]
|
272
|
+
def errors: () -> ::Array[Types::BatchUpdateBillScenarioCommitmentModificationError]
|
273
|
+
end
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_update_bill_scenario_commitment_modification-instance_method
|
275
|
+
def batch_update_bill_scenario_commitment_modification: (
|
276
|
+
bill_scenario_id: ::String,
|
277
|
+
commitment_modifications: Array[
|
278
|
+
{
|
279
|
+
id: ::String,
|
280
|
+
group: ::String?
|
281
|
+
},
|
282
|
+
]
|
283
|
+
) -> _BatchUpdateBillScenarioCommitmentModificationResponseSuccess
|
284
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateBillScenarioCommitmentModificationResponseSuccess
|
285
|
+
|
286
|
+
interface _BatchUpdateBillScenarioUsageModificationResponseSuccess
|
287
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateBillScenarioUsageModificationResponse]
|
288
|
+
def items: () -> ::Array[Types::BillScenarioUsageModificationItem]
|
289
|
+
def errors: () -> ::Array[Types::BatchUpdateBillScenarioUsageModificationError]
|
290
|
+
end
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_update_bill_scenario_usage_modification-instance_method
|
292
|
+
def batch_update_bill_scenario_usage_modification: (
|
293
|
+
bill_scenario_id: ::String,
|
294
|
+
usage_modifications: Array[
|
295
|
+
{
|
296
|
+
id: ::String,
|
297
|
+
group: ::String?,
|
298
|
+
amounts: Array[
|
299
|
+
{
|
300
|
+
start_hour: ::Time,
|
301
|
+
amount: ::Float
|
302
|
+
},
|
303
|
+
]?
|
304
|
+
},
|
305
|
+
]
|
306
|
+
) -> _BatchUpdateBillScenarioUsageModificationResponseSuccess
|
307
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateBillScenarioUsageModificationResponseSuccess
|
308
|
+
|
309
|
+
interface _BatchUpdateWorkloadEstimateUsageResponseSuccess
|
310
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateWorkloadEstimateUsageResponse]
|
311
|
+
def items: () -> ::Array[Types::WorkloadEstimateUsageItem]
|
312
|
+
def errors: () -> ::Array[Types::BatchUpdateWorkloadEstimateUsageError]
|
313
|
+
end
|
314
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#batch_update_workload_estimate_usage-instance_method
|
315
|
+
def batch_update_workload_estimate_usage: (
|
316
|
+
workload_estimate_id: ::String,
|
317
|
+
usage: Array[
|
318
|
+
{
|
319
|
+
id: ::String,
|
320
|
+
group: ::String?,
|
321
|
+
amount: ::Float?
|
322
|
+
},
|
323
|
+
]
|
324
|
+
) -> _BatchUpdateWorkloadEstimateUsageResponseSuccess
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateWorkloadEstimateUsageResponseSuccess
|
326
|
+
|
327
|
+
interface _CreateBillEstimateResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBillEstimateResponse]
|
329
|
+
def id: () -> ::String
|
330
|
+
def name: () -> ::String
|
331
|
+
def status: () -> ("IN_PROGRESS" | "COMPLETE" | "FAILED")
|
332
|
+
def failure_message: () -> ::String
|
333
|
+
def bill_interval: () -> Types::BillInterval
|
334
|
+
def cost_summary: () -> Types::BillEstimateCostSummary
|
335
|
+
def created_at: () -> ::Time
|
336
|
+
def expires_at: () -> ::Time
|
337
|
+
end
|
338
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#create_bill_estimate-instance_method
|
339
|
+
def create_bill_estimate: (
|
340
|
+
bill_scenario_id: ::String,
|
341
|
+
name: ::String,
|
342
|
+
?client_token: ::String,
|
343
|
+
?tags: Hash[::String, ::String]
|
344
|
+
) -> _CreateBillEstimateResponseSuccess
|
345
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillEstimateResponseSuccess
|
346
|
+
|
347
|
+
interface _CreateBillScenarioResponseSuccess
|
348
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBillScenarioResponse]
|
349
|
+
def id: () -> ::String
|
350
|
+
def name: () -> ::String
|
351
|
+
def bill_interval: () -> Types::BillInterval
|
352
|
+
def status: () -> ("READY" | "LOCKED" | "FAILED")
|
353
|
+
def created_at: () -> ::Time
|
354
|
+
def expires_at: () -> ::Time
|
355
|
+
def failure_message: () -> ::String
|
356
|
+
end
|
357
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#create_bill_scenario-instance_method
|
358
|
+
def create_bill_scenario: (
|
359
|
+
name: ::String,
|
360
|
+
?client_token: ::String,
|
361
|
+
?tags: Hash[::String, ::String]
|
362
|
+
) -> _CreateBillScenarioResponseSuccess
|
363
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBillScenarioResponseSuccess
|
364
|
+
|
365
|
+
interface _CreateWorkloadEstimateResponseSuccess
|
366
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkloadEstimateResponse]
|
367
|
+
def id: () -> ::String
|
368
|
+
def name: () -> ::String
|
369
|
+
def created_at: () -> ::Time
|
370
|
+
def expires_at: () -> ::Time
|
371
|
+
def rate_type: () -> ("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")
|
372
|
+
def rate_timestamp: () -> ::Time
|
373
|
+
def status: () -> ("UPDATING" | "VALID" | "INVALID" | "ACTION_NEEDED")
|
374
|
+
def total_cost: () -> ::Float
|
375
|
+
def cost_currency: () -> ("USD")
|
376
|
+
def failure_message: () -> ::String
|
377
|
+
end
|
378
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#create_workload_estimate-instance_method
|
379
|
+
def create_workload_estimate: (
|
380
|
+
name: ::String,
|
381
|
+
?client_token: ::String,
|
382
|
+
?rate_type: ("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS"),
|
383
|
+
?tags: Hash[::String, ::String]
|
384
|
+
) -> _CreateWorkloadEstimateResponseSuccess
|
385
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkloadEstimateResponseSuccess
|
386
|
+
|
387
|
+
interface _DeleteBillEstimateResponseSuccess
|
388
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBillEstimateResponse]
|
389
|
+
end
|
390
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#delete_bill_estimate-instance_method
|
391
|
+
def delete_bill_estimate: (
|
392
|
+
identifier: ::String
|
393
|
+
) -> _DeleteBillEstimateResponseSuccess
|
394
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBillEstimateResponseSuccess
|
395
|
+
|
396
|
+
interface _DeleteBillScenarioResponseSuccess
|
397
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBillScenarioResponse]
|
398
|
+
end
|
399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#delete_bill_scenario-instance_method
|
400
|
+
def delete_bill_scenario: (
|
401
|
+
identifier: ::String
|
402
|
+
) -> _DeleteBillScenarioResponseSuccess
|
403
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBillScenarioResponseSuccess
|
404
|
+
|
405
|
+
interface _DeleteWorkloadEstimateResponseSuccess
|
406
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkloadEstimateResponse]
|
407
|
+
end
|
408
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#delete_workload_estimate-instance_method
|
409
|
+
def delete_workload_estimate: (
|
410
|
+
identifier: ::String
|
411
|
+
) -> _DeleteWorkloadEstimateResponseSuccess
|
412
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkloadEstimateResponseSuccess
|
413
|
+
|
414
|
+
interface _GetBillEstimateResponseSuccess
|
415
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBillEstimateResponse]
|
416
|
+
def id: () -> ::String
|
417
|
+
def name: () -> ::String
|
418
|
+
def status: () -> ("IN_PROGRESS" | "COMPLETE" | "FAILED")
|
419
|
+
def failure_message: () -> ::String
|
420
|
+
def bill_interval: () -> Types::BillInterval
|
421
|
+
def cost_summary: () -> Types::BillEstimateCostSummary
|
422
|
+
def created_at: () -> ::Time
|
423
|
+
def expires_at: () -> ::Time
|
424
|
+
end
|
425
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#get_bill_estimate-instance_method
|
426
|
+
def get_bill_estimate: (
|
427
|
+
identifier: ::String
|
428
|
+
) -> _GetBillEstimateResponseSuccess
|
429
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillEstimateResponseSuccess
|
430
|
+
|
431
|
+
interface _GetBillScenarioResponseSuccess
|
432
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBillScenarioResponse]
|
433
|
+
def id: () -> ::String
|
434
|
+
def name: () -> ::String
|
435
|
+
def bill_interval: () -> Types::BillInterval
|
436
|
+
def status: () -> ("READY" | "LOCKED" | "FAILED")
|
437
|
+
def created_at: () -> ::Time
|
438
|
+
def expires_at: () -> ::Time
|
439
|
+
def failure_message: () -> ::String
|
440
|
+
end
|
441
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#get_bill_scenario-instance_method
|
442
|
+
def get_bill_scenario: (
|
443
|
+
identifier: ::String
|
444
|
+
) -> _GetBillScenarioResponseSuccess
|
445
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBillScenarioResponseSuccess
|
446
|
+
|
447
|
+
interface _GetPreferencesResponseSuccess
|
448
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPreferencesResponse]
|
449
|
+
def management_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
|
450
|
+
def member_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
|
451
|
+
end
|
452
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#get_preferences-instance_method
|
453
|
+
def get_preferences: (
|
454
|
+
) -> _GetPreferencesResponseSuccess
|
455
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPreferencesResponseSuccess
|
456
|
+
|
457
|
+
interface _GetWorkloadEstimateResponseSuccess
|
458
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkloadEstimateResponse]
|
459
|
+
def id: () -> ::String
|
460
|
+
def name: () -> ::String
|
461
|
+
def created_at: () -> ::Time
|
462
|
+
def expires_at: () -> ::Time
|
463
|
+
def rate_type: () -> ("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")
|
464
|
+
def rate_timestamp: () -> ::Time
|
465
|
+
def status: () -> ("UPDATING" | "VALID" | "INVALID" | "ACTION_NEEDED")
|
466
|
+
def total_cost: () -> ::Float
|
467
|
+
def cost_currency: () -> ("USD")
|
468
|
+
def failure_message: () -> ::String
|
469
|
+
end
|
470
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#get_workload_estimate-instance_method
|
471
|
+
def get_workload_estimate: (
|
472
|
+
identifier: ::String
|
473
|
+
) -> _GetWorkloadEstimateResponseSuccess
|
474
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkloadEstimateResponseSuccess
|
475
|
+
|
476
|
+
interface _ListBillEstimateCommitmentsResponseSuccess
|
477
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillEstimateCommitmentsResponse]
|
478
|
+
def items: () -> ::Array[Types::BillEstimateCommitmentSummary]
|
479
|
+
def next_token: () -> ::String
|
480
|
+
end
|
481
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_estimate_commitments-instance_method
|
482
|
+
def list_bill_estimate_commitments: (
|
483
|
+
bill_estimate_id: ::String,
|
484
|
+
?next_token: ::String,
|
485
|
+
?max_results: ::Integer
|
486
|
+
) -> _ListBillEstimateCommitmentsResponseSuccess
|
487
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillEstimateCommitmentsResponseSuccess
|
488
|
+
|
489
|
+
interface _ListBillEstimateInputCommitmentModificationsResponseSuccess
|
490
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillEstimateInputCommitmentModificationsResponse]
|
491
|
+
def items: () -> ::Array[Types::BillEstimateInputCommitmentModificationSummary]
|
492
|
+
def next_token: () -> ::String
|
493
|
+
end
|
494
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_estimate_input_commitment_modifications-instance_method
|
495
|
+
def list_bill_estimate_input_commitment_modifications: (
|
496
|
+
bill_estimate_id: ::String,
|
497
|
+
?next_token: ::String,
|
498
|
+
?max_results: ::Integer
|
499
|
+
) -> _ListBillEstimateInputCommitmentModificationsResponseSuccess
|
500
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillEstimateInputCommitmentModificationsResponseSuccess
|
501
|
+
|
502
|
+
interface _ListBillEstimateInputUsageModificationsResponseSuccess
|
503
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillEstimateInputUsageModificationsResponse]
|
504
|
+
def items: () -> ::Array[Types::BillEstimateInputUsageModificationSummary]
|
505
|
+
def next_token: () -> ::String
|
506
|
+
end
|
507
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_estimate_input_usage_modifications-instance_method
|
508
|
+
def list_bill_estimate_input_usage_modifications: (
|
509
|
+
bill_estimate_id: ::String,
|
510
|
+
?filters: Array[
|
511
|
+
{
|
512
|
+
name: ("USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "USAGE_GROUP" | "HISTORICAL_USAGE_ACCOUNT_ID" | "HISTORICAL_SERVICE_CODE" | "HISTORICAL_USAGE_TYPE" | "HISTORICAL_OPERATION" | "HISTORICAL_LOCATION"),
|
513
|
+
values: Array[::String],
|
514
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
515
|
+
},
|
516
|
+
],
|
517
|
+
?next_token: ::String,
|
518
|
+
?max_results: ::Integer
|
519
|
+
) -> _ListBillEstimateInputUsageModificationsResponseSuccess
|
520
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillEstimateInputUsageModificationsResponseSuccess
|
521
|
+
|
522
|
+
interface _ListBillEstimateLineItemsResponseSuccess
|
523
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillEstimateLineItemsResponse]
|
524
|
+
def items: () -> ::Array[Types::BillEstimateLineItemSummary]
|
525
|
+
def next_token: () -> ::String
|
526
|
+
end
|
527
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_estimate_line_items-instance_method
|
528
|
+
def list_bill_estimate_line_items: (
|
529
|
+
bill_estimate_id: ::String,
|
530
|
+
?filters: Array[
|
531
|
+
{
|
532
|
+
name: ("USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "LINE_ITEM_TYPE"),
|
533
|
+
values: Array[::String],
|
534
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
535
|
+
},
|
536
|
+
],
|
537
|
+
?next_token: ::String,
|
538
|
+
?max_results: ::Integer
|
539
|
+
) -> _ListBillEstimateLineItemsResponseSuccess
|
540
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillEstimateLineItemsResponseSuccess
|
541
|
+
|
542
|
+
interface _ListBillEstimatesResponseSuccess
|
543
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillEstimatesResponse]
|
544
|
+
def items: () -> ::Array[Types::BillEstimateSummary]
|
545
|
+
def next_token: () -> ::String
|
546
|
+
end
|
547
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_estimates-instance_method
|
548
|
+
def list_bill_estimates: (
|
549
|
+
?filters: Array[
|
550
|
+
{
|
551
|
+
name: ("STATUS" | "NAME"),
|
552
|
+
values: Array[::String],
|
553
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
554
|
+
},
|
555
|
+
],
|
556
|
+
?created_at_filter: {
|
557
|
+
after_timestamp: ::Time?,
|
558
|
+
before_timestamp: ::Time?
|
559
|
+
},
|
560
|
+
?expires_at_filter: {
|
561
|
+
after_timestamp: ::Time?,
|
562
|
+
before_timestamp: ::Time?
|
563
|
+
},
|
564
|
+
?next_token: ::String,
|
565
|
+
?max_results: ::Integer
|
566
|
+
) -> _ListBillEstimatesResponseSuccess
|
567
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillEstimatesResponseSuccess
|
568
|
+
|
569
|
+
interface _ListBillScenarioCommitmentModificationsResponseSuccess
|
570
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillScenarioCommitmentModificationsResponse]
|
571
|
+
def items: () -> ::Array[Types::BillScenarioCommitmentModificationItem]
|
572
|
+
def next_token: () -> ::String
|
573
|
+
end
|
574
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_scenario_commitment_modifications-instance_method
|
575
|
+
def list_bill_scenario_commitment_modifications: (
|
576
|
+
bill_scenario_id: ::String,
|
577
|
+
?next_token: ::String,
|
578
|
+
?max_results: ::Integer
|
579
|
+
) -> _ListBillScenarioCommitmentModificationsResponseSuccess
|
580
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillScenarioCommitmentModificationsResponseSuccess
|
581
|
+
|
582
|
+
interface _ListBillScenarioUsageModificationsResponseSuccess
|
583
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillScenarioUsageModificationsResponse]
|
584
|
+
def items: () -> ::Array[Types::BillScenarioUsageModificationItem]
|
585
|
+
def next_token: () -> ::String
|
586
|
+
end
|
587
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_scenario_usage_modifications-instance_method
|
588
|
+
def list_bill_scenario_usage_modifications: (
|
589
|
+
bill_scenario_id: ::String,
|
590
|
+
?filters: Array[
|
591
|
+
{
|
592
|
+
name: ("USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "USAGE_GROUP" | "HISTORICAL_USAGE_ACCOUNT_ID" | "HISTORICAL_SERVICE_CODE" | "HISTORICAL_USAGE_TYPE" | "HISTORICAL_OPERATION" | "HISTORICAL_LOCATION"),
|
593
|
+
values: Array[::String],
|
594
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
595
|
+
},
|
596
|
+
],
|
597
|
+
?next_token: ::String,
|
598
|
+
?max_results: ::Integer
|
599
|
+
) -> _ListBillScenarioUsageModificationsResponseSuccess
|
600
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillScenarioUsageModificationsResponseSuccess
|
601
|
+
|
602
|
+
interface _ListBillScenariosResponseSuccess
|
603
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBillScenariosResponse]
|
604
|
+
def items: () -> ::Array[Types::BillScenarioSummary]
|
605
|
+
def next_token: () -> ::String
|
606
|
+
end
|
607
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_bill_scenarios-instance_method
|
608
|
+
def list_bill_scenarios: (
|
609
|
+
?filters: Array[
|
610
|
+
{
|
611
|
+
name: ("STATUS" | "NAME"),
|
612
|
+
values: Array[::String],
|
613
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
614
|
+
},
|
615
|
+
],
|
616
|
+
?created_at_filter: {
|
617
|
+
after_timestamp: ::Time?,
|
618
|
+
before_timestamp: ::Time?
|
619
|
+
},
|
620
|
+
?expires_at_filter: {
|
621
|
+
after_timestamp: ::Time?,
|
622
|
+
before_timestamp: ::Time?
|
623
|
+
},
|
624
|
+
?next_token: ::String,
|
625
|
+
?max_results: ::Integer
|
626
|
+
) -> _ListBillScenariosResponseSuccess
|
627
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBillScenariosResponseSuccess
|
628
|
+
|
629
|
+
interface _ListTagsForResourceResponseSuccess
|
630
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
631
|
+
def tags: () -> ::Hash[::String, ::String]
|
632
|
+
end
|
633
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_tags_for_resource-instance_method
|
634
|
+
def list_tags_for_resource: (
|
635
|
+
arn: ::String
|
636
|
+
) -> _ListTagsForResourceResponseSuccess
|
637
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
638
|
+
|
639
|
+
interface _ListWorkloadEstimateUsageResponseSuccess
|
640
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkloadEstimateUsageResponse]
|
641
|
+
def items: () -> ::Array[Types::WorkloadEstimateUsageItem]
|
642
|
+
def next_token: () -> ::String
|
643
|
+
end
|
644
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_workload_estimate_usage-instance_method
|
645
|
+
def list_workload_estimate_usage: (
|
646
|
+
workload_estimate_id: ::String,
|
647
|
+
?filters: Array[
|
648
|
+
{
|
649
|
+
name: ("USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "USAGE_GROUP" | "HISTORICAL_USAGE_ACCOUNT_ID" | "HISTORICAL_SERVICE_CODE" | "HISTORICAL_USAGE_TYPE" | "HISTORICAL_OPERATION" | "HISTORICAL_LOCATION"),
|
650
|
+
values: Array[::String],
|
651
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
652
|
+
},
|
653
|
+
],
|
654
|
+
?next_token: ::String,
|
655
|
+
?max_results: ::Integer
|
656
|
+
) -> _ListWorkloadEstimateUsageResponseSuccess
|
657
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadEstimateUsageResponseSuccess
|
658
|
+
|
659
|
+
interface _ListWorkloadEstimatesResponseSuccess
|
660
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkloadEstimatesResponse]
|
661
|
+
def items: () -> ::Array[Types::WorkloadEstimateSummary]
|
662
|
+
def next_token: () -> ::String
|
663
|
+
end
|
664
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#list_workload_estimates-instance_method
|
665
|
+
def list_workload_estimates: (
|
666
|
+
?created_at_filter: {
|
667
|
+
after_timestamp: ::Time?,
|
668
|
+
before_timestamp: ::Time?
|
669
|
+
},
|
670
|
+
?expires_at_filter: {
|
671
|
+
after_timestamp: ::Time?,
|
672
|
+
before_timestamp: ::Time?
|
673
|
+
},
|
674
|
+
?filters: Array[
|
675
|
+
{
|
676
|
+
name: ("STATUS" | "NAME"),
|
677
|
+
values: Array[::String],
|
678
|
+
match_option: ("EQUALS" | "STARTS_WITH" | "CONTAINS")?
|
679
|
+
},
|
680
|
+
],
|
681
|
+
?next_token: ::String,
|
682
|
+
?max_results: ::Integer
|
683
|
+
) -> _ListWorkloadEstimatesResponseSuccess
|
684
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWorkloadEstimatesResponseSuccess
|
685
|
+
|
686
|
+
interface _TagResourceResponseSuccess
|
687
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
688
|
+
end
|
689
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#tag_resource-instance_method
|
690
|
+
def tag_resource: (
|
691
|
+
arn: ::String,
|
692
|
+
tags: Hash[::String, ::String]
|
693
|
+
) -> _TagResourceResponseSuccess
|
694
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
695
|
+
|
696
|
+
interface _UntagResourceResponseSuccess
|
697
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
698
|
+
end
|
699
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#untag_resource-instance_method
|
700
|
+
def untag_resource: (
|
701
|
+
arn: ::String,
|
702
|
+
tag_keys: Array[::String]
|
703
|
+
) -> _UntagResourceResponseSuccess
|
704
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
705
|
+
|
706
|
+
interface _UpdateBillEstimateResponseSuccess
|
707
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBillEstimateResponse]
|
708
|
+
def id: () -> ::String
|
709
|
+
def name: () -> ::String
|
710
|
+
def status: () -> ("IN_PROGRESS" | "COMPLETE" | "FAILED")
|
711
|
+
def failure_message: () -> ::String
|
712
|
+
def bill_interval: () -> Types::BillInterval
|
713
|
+
def cost_summary: () -> Types::BillEstimateCostSummary
|
714
|
+
def created_at: () -> ::Time
|
715
|
+
def expires_at: () -> ::Time
|
716
|
+
end
|
717
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#update_bill_estimate-instance_method
|
718
|
+
def update_bill_estimate: (
|
719
|
+
identifier: ::String,
|
720
|
+
?name: ::String,
|
721
|
+
?expires_at: ::Time
|
722
|
+
) -> _UpdateBillEstimateResponseSuccess
|
723
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillEstimateResponseSuccess
|
724
|
+
|
725
|
+
interface _UpdateBillScenarioResponseSuccess
|
726
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBillScenarioResponse]
|
727
|
+
def id: () -> ::String
|
728
|
+
def name: () -> ::String
|
729
|
+
def bill_interval: () -> Types::BillInterval
|
730
|
+
def status: () -> ("READY" | "LOCKED" | "FAILED")
|
731
|
+
def created_at: () -> ::Time
|
732
|
+
def expires_at: () -> ::Time
|
733
|
+
def failure_message: () -> ::String
|
734
|
+
end
|
735
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#update_bill_scenario-instance_method
|
736
|
+
def update_bill_scenario: (
|
737
|
+
identifier: ::String,
|
738
|
+
?name: ::String,
|
739
|
+
?expires_at: ::Time
|
740
|
+
) -> _UpdateBillScenarioResponseSuccess
|
741
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBillScenarioResponseSuccess
|
742
|
+
|
743
|
+
interface _UpdatePreferencesResponseSuccess
|
744
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePreferencesResponse]
|
745
|
+
def management_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
|
746
|
+
def member_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
|
747
|
+
end
|
748
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#update_preferences-instance_method
|
749
|
+
def update_preferences: (
|
750
|
+
?management_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")],
|
751
|
+
?member_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
|
752
|
+
) -> _UpdatePreferencesResponseSuccess
|
753
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePreferencesResponseSuccess
|
754
|
+
|
755
|
+
interface _UpdateWorkloadEstimateResponseSuccess
|
756
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateWorkloadEstimateResponse]
|
757
|
+
def id: () -> ::String
|
758
|
+
def name: () -> ::String
|
759
|
+
def created_at: () -> ::Time
|
760
|
+
def expires_at: () -> ::Time
|
761
|
+
def rate_type: () -> ("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")
|
762
|
+
def rate_timestamp: () -> ::Time
|
763
|
+
def status: () -> ("UPDATING" | "VALID" | "INVALID" | "ACTION_NEEDED")
|
764
|
+
def total_cost: () -> ::Float
|
765
|
+
def cost_currency: () -> ("USD")
|
766
|
+
def failure_message: () -> ::String
|
767
|
+
end
|
768
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#update_workload_estimate-instance_method
|
769
|
+
def update_workload_estimate: (
|
770
|
+
identifier: ::String,
|
771
|
+
?name: ::String,
|
772
|
+
?expires_at: ::Time
|
773
|
+
) -> _UpdateWorkloadEstimateResponseSuccess
|
774
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkloadEstimateResponseSuccess
|
775
|
+
end
|
776
|
+
end
|
777
|
+
end
|
778
|
+
|