aws-sdk-costexplorer 1.94.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1293 @@
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 CostExplorer
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _CreateAnomalyMonitorResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnomalyMonitorResponse]
78
+ def monitor_arn: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#create_anomaly_monitor-instance_method
81
+ def create_anomaly_monitor: (
82
+ anomaly_monitor: {
83
+ monitor_arn: ::String?,
84
+ monitor_name: ::String,
85
+ creation_date: ::String?,
86
+ last_updated_date: ::String?,
87
+ last_evaluated_date: ::String?,
88
+ monitor_type: ("DIMENSIONAL" | "CUSTOM"),
89
+ monitor_dimension: ("SERVICE")?,
90
+ monitor_specification: {
91
+ or: Array[
92
+ untyped,
93
+ ]?,
94
+ and: Array[
95
+ untyped,
96
+ ]?,
97
+ not: untyped?,
98
+ dimensions: {
99
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
100
+ values: Array[::String]?,
101
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
102
+ }?,
103
+ tags: {
104
+ key: ::String?,
105
+ values: Array[::String]?,
106
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
107
+ }?,
108
+ cost_categories: {
109
+ key: ::String?,
110
+ values: Array[::String]?,
111
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
112
+ }?
113
+ }?,
114
+ dimensional_value_count: ::Integer?
115
+ },
116
+ ?resource_tags: Array[
117
+ {
118
+ key: ::String,
119
+ value: ::String
120
+ },
121
+ ]
122
+ ) -> _CreateAnomalyMonitorResponseSuccess
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnomalyMonitorResponseSuccess
124
+
125
+ interface _CreateAnomalySubscriptionResponseSuccess
126
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnomalySubscriptionResponse]
127
+ def subscription_arn: () -> ::String
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#create_anomaly_subscription-instance_method
130
+ def create_anomaly_subscription: (
131
+ anomaly_subscription: {
132
+ subscription_arn: ::String?,
133
+ account_id: ::String?,
134
+ monitor_arn_list: Array[::String],
135
+ subscribers: Array[
136
+ {
137
+ address: ::String?,
138
+ type: ("EMAIL" | "SNS")?,
139
+ status: ("CONFIRMED" | "DECLINED")?
140
+ },
141
+ ],
142
+ threshold: ::Float?,
143
+ frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY"),
144
+ subscription_name: ::String,
145
+ threshold_expression: {
146
+ or: Array[
147
+ untyped,
148
+ ]?,
149
+ and: Array[
150
+ untyped,
151
+ ]?,
152
+ not: untyped?,
153
+ dimensions: {
154
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
155
+ values: Array[::String]?,
156
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
157
+ }?,
158
+ tags: {
159
+ key: ::String?,
160
+ values: Array[::String]?,
161
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
162
+ }?,
163
+ cost_categories: {
164
+ key: ::String?,
165
+ values: Array[::String]?,
166
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
167
+ }?
168
+ }?
169
+ },
170
+ ?resource_tags: Array[
171
+ {
172
+ key: ::String,
173
+ value: ::String
174
+ },
175
+ ]
176
+ ) -> _CreateAnomalySubscriptionResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnomalySubscriptionResponseSuccess
178
+
179
+ interface _CreateCostCategoryDefinitionResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCostCategoryDefinitionResponse]
181
+ def cost_category_arn: () -> ::String
182
+ def effective_start: () -> ::String
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#create_cost_category_definition-instance_method
185
+ def create_cost_category_definition: (
186
+ name: ::String,
187
+ ?effective_start: ::String,
188
+ rule_version: ("CostCategoryExpression.v1"),
189
+ rules: Array[
190
+ {
191
+ value: ::String?,
192
+ rule: {
193
+ or: Array[
194
+ untyped,
195
+ ]?,
196
+ and: Array[
197
+ untyped,
198
+ ]?,
199
+ not: untyped?,
200
+ dimensions: {
201
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
202
+ values: Array[::String]?,
203
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
204
+ }?,
205
+ tags: {
206
+ key: ::String?,
207
+ values: Array[::String]?,
208
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
209
+ }?,
210
+ cost_categories: {
211
+ key: ::String?,
212
+ values: Array[::String]?,
213
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
214
+ }?
215
+ }?,
216
+ inherited_value: {
217
+ dimension_name: ("LINKED_ACCOUNT_NAME" | "TAG")?,
218
+ dimension_key: ::String?
219
+ }?,
220
+ type: ("REGULAR" | "INHERITED_VALUE")?
221
+ },
222
+ ],
223
+ ?default_value: ::String,
224
+ ?split_charge_rules: Array[
225
+ {
226
+ source: ::String,
227
+ targets: Array[::String],
228
+ method: ("FIXED" | "PROPORTIONAL" | "EVEN"),
229
+ parameters: Array[
230
+ {
231
+ type: ("ALLOCATION_PERCENTAGES"),
232
+ values: Array[::String]
233
+ },
234
+ ]?
235
+ },
236
+ ],
237
+ ?resource_tags: Array[
238
+ {
239
+ key: ::String,
240
+ value: ::String
241
+ },
242
+ ]
243
+ ) -> _CreateCostCategoryDefinitionResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCostCategoryDefinitionResponseSuccess
245
+
246
+ interface _DeleteAnomalyMonitorResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAnomalyMonitorResponse]
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#delete_anomaly_monitor-instance_method
250
+ def delete_anomaly_monitor: (
251
+ monitor_arn: ::String
252
+ ) -> _DeleteAnomalyMonitorResponseSuccess
253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAnomalyMonitorResponseSuccess
254
+
255
+ interface _DeleteAnomalySubscriptionResponseSuccess
256
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAnomalySubscriptionResponse]
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#delete_anomaly_subscription-instance_method
259
+ def delete_anomaly_subscription: (
260
+ subscription_arn: ::String
261
+ ) -> _DeleteAnomalySubscriptionResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAnomalySubscriptionResponseSuccess
263
+
264
+ interface _DeleteCostCategoryDefinitionResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCostCategoryDefinitionResponse]
266
+ def cost_category_arn: () -> ::String
267
+ def effective_end: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#delete_cost_category_definition-instance_method
270
+ def delete_cost_category_definition: (
271
+ cost_category_arn: ::String
272
+ ) -> _DeleteCostCategoryDefinitionResponseSuccess
273
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCostCategoryDefinitionResponseSuccess
274
+
275
+ interface _DescribeCostCategoryDefinitionResponseSuccess
276
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCostCategoryDefinitionResponse]
277
+ def cost_category: () -> Types::CostCategory
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#describe_cost_category_definition-instance_method
280
+ def describe_cost_category_definition: (
281
+ cost_category_arn: ::String,
282
+ ?effective_on: ::String
283
+ ) -> _DescribeCostCategoryDefinitionResponseSuccess
284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCostCategoryDefinitionResponseSuccess
285
+
286
+ interface _GetAnomaliesResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnomaliesResponse]
288
+ def anomalies: () -> ::Array[Types::Anomaly]
289
+ def next_page_token: () -> ::String
290
+ end
291
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_anomalies-instance_method
292
+ def get_anomalies: (
293
+ ?monitor_arn: ::String,
294
+ date_interval: {
295
+ start_date: ::String,
296
+ end_date: ::String?
297
+ },
298
+ ?feedback: ("YES" | "NO" | "PLANNED_ACTIVITY"),
299
+ ?total_impact: {
300
+ numeric_operator: ("EQUAL" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "BETWEEN"),
301
+ start_value: ::Float,
302
+ end_value: ::Float?
303
+ },
304
+ ?next_page_token: ::String,
305
+ ?max_results: ::Integer
306
+ ) -> _GetAnomaliesResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnomaliesResponseSuccess
308
+
309
+ interface _GetAnomalyMonitorsResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnomalyMonitorsResponse]
311
+ def anomaly_monitors: () -> ::Array[Types::AnomalyMonitor]
312
+ def next_page_token: () -> ::String
313
+ end
314
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_anomaly_monitors-instance_method
315
+ def get_anomaly_monitors: (
316
+ ?monitor_arn_list: Array[::String],
317
+ ?next_page_token: ::String,
318
+ ?max_results: ::Integer
319
+ ) -> _GetAnomalyMonitorsResponseSuccess
320
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnomalyMonitorsResponseSuccess
321
+
322
+ interface _GetAnomalySubscriptionsResponseSuccess
323
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAnomalySubscriptionsResponse]
324
+ def anomaly_subscriptions: () -> ::Array[Types::AnomalySubscription]
325
+ def next_page_token: () -> ::String
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_anomaly_subscriptions-instance_method
328
+ def get_anomaly_subscriptions: (
329
+ ?subscription_arn_list: Array[::String],
330
+ ?monitor_arn: ::String,
331
+ ?next_page_token: ::String,
332
+ ?max_results: ::Integer
333
+ ) -> _GetAnomalySubscriptionsResponseSuccess
334
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAnomalySubscriptionsResponseSuccess
335
+
336
+ interface _GetCostAndUsageResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostAndUsageResponse]
338
+ def next_page_token: () -> ::String
339
+ def group_definitions: () -> ::Array[Types::GroupDefinition]
340
+ def results_by_time: () -> ::Array[Types::ResultByTime]
341
+ def dimension_value_attributes: () -> ::Array[Types::DimensionValuesWithAttributes]
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_and_usage-instance_method
344
+ def get_cost_and_usage: (
345
+ time_period: {
346
+ start: ::String,
347
+ end: ::String
348
+ },
349
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
350
+ ?filter: {
351
+ or: Array[
352
+ untyped,
353
+ ]?,
354
+ and: Array[
355
+ untyped,
356
+ ]?,
357
+ not: untyped?,
358
+ dimensions: {
359
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
360
+ values: Array[::String]?,
361
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
362
+ }?,
363
+ tags: {
364
+ key: ::String?,
365
+ values: Array[::String]?,
366
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
367
+ }?,
368
+ cost_categories: {
369
+ key: ::String?,
370
+ values: Array[::String]?,
371
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
372
+ }?
373
+ },
374
+ metrics: Array[::String],
375
+ ?group_by: Array[
376
+ {
377
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
378
+ key: ::String?
379
+ },
380
+ ],
381
+ ?next_page_token: ::String
382
+ ) -> _GetCostAndUsageResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageResponseSuccess
384
+
385
+ interface _GetCostAndUsageWithResourcesResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostAndUsageWithResourcesResponse]
387
+ def next_page_token: () -> ::String
388
+ def group_definitions: () -> ::Array[Types::GroupDefinition]
389
+ def results_by_time: () -> ::Array[Types::ResultByTime]
390
+ def dimension_value_attributes: () -> ::Array[Types::DimensionValuesWithAttributes]
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_and_usage_with_resources-instance_method
393
+ def get_cost_and_usage_with_resources: (
394
+ time_period: {
395
+ start: ::String,
396
+ end: ::String
397
+ },
398
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
399
+ filter: {
400
+ or: Array[
401
+ untyped,
402
+ ]?,
403
+ and: Array[
404
+ untyped,
405
+ ]?,
406
+ not: untyped?,
407
+ dimensions: {
408
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
409
+ values: Array[::String]?,
410
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
411
+ }?,
412
+ tags: {
413
+ key: ::String?,
414
+ values: Array[::String]?,
415
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
416
+ }?,
417
+ cost_categories: {
418
+ key: ::String?,
419
+ values: Array[::String]?,
420
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
421
+ }?
422
+ },
423
+ ?metrics: Array[::String],
424
+ ?group_by: Array[
425
+ {
426
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
427
+ key: ::String?
428
+ },
429
+ ],
430
+ ?next_page_token: ::String
431
+ ) -> _GetCostAndUsageWithResourcesResponseSuccess
432
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageWithResourcesResponseSuccess
433
+
434
+ interface _GetCostCategoriesResponseSuccess
435
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostCategoriesResponse]
436
+ def next_page_token: () -> ::String
437
+ def cost_category_names: () -> ::Array[::String]
438
+ def cost_category_values: () -> ::Array[::String]
439
+ def return_size: () -> ::Integer
440
+ def total_size: () -> ::Integer
441
+ end
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_categories-instance_method
443
+ def get_cost_categories: (
444
+ ?search_string: ::String,
445
+ time_period: {
446
+ start: ::String,
447
+ end: ::String
448
+ },
449
+ ?cost_category_name: ::String,
450
+ ?filter: {
451
+ or: Array[
452
+ untyped,
453
+ ]?,
454
+ and: Array[
455
+ untyped,
456
+ ]?,
457
+ not: untyped?,
458
+ dimensions: {
459
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
460
+ values: Array[::String]?,
461
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
462
+ }?,
463
+ tags: {
464
+ key: ::String?,
465
+ values: Array[::String]?,
466
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
467
+ }?,
468
+ cost_categories: {
469
+ key: ::String?,
470
+ values: Array[::String]?,
471
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
472
+ }?
473
+ },
474
+ ?sort_by: Array[
475
+ {
476
+ key: ::String,
477
+ sort_order: ("ASCENDING" | "DESCENDING")?
478
+ },
479
+ ],
480
+ ?max_results: ::Integer,
481
+ ?next_page_token: ::String
482
+ ) -> _GetCostCategoriesResponseSuccess
483
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostCategoriesResponseSuccess
484
+
485
+ interface _GetCostForecastResponseSuccess
486
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostForecastResponse]
487
+ def total: () -> Types::MetricValue
488
+ def forecast_results_by_time: () -> ::Array[Types::ForecastResult]
489
+ end
490
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_forecast-instance_method
491
+ def get_cost_forecast: (
492
+ time_period: {
493
+ start: ::String,
494
+ end: ::String
495
+ },
496
+ metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
497
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
498
+ ?filter: {
499
+ or: Array[
500
+ untyped,
501
+ ]?,
502
+ and: Array[
503
+ untyped,
504
+ ]?,
505
+ not: untyped?,
506
+ dimensions: {
507
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
508
+ values: Array[::String]?,
509
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
510
+ }?,
511
+ tags: {
512
+ key: ::String?,
513
+ values: Array[::String]?,
514
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
515
+ }?,
516
+ cost_categories: {
517
+ key: ::String?,
518
+ values: Array[::String]?,
519
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
520
+ }?
521
+ },
522
+ ?prediction_interval_level: ::Integer
523
+ ) -> _GetCostForecastResponseSuccess
524
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostForecastResponseSuccess
525
+
526
+ interface _GetDimensionValuesResponseSuccess
527
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDimensionValuesResponse]
528
+ def dimension_values: () -> ::Array[Types::DimensionValuesWithAttributes]
529
+ def return_size: () -> ::Integer
530
+ def total_size: () -> ::Integer
531
+ def next_page_token: () -> ::String
532
+ end
533
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_dimension_values-instance_method
534
+ def get_dimension_values: (
535
+ ?search_string: ::String,
536
+ time_period: {
537
+ start: ::String,
538
+ end: ::String
539
+ },
540
+ dimension: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE"),
541
+ ?context: ("COST_AND_USAGE" | "RESERVATIONS" | "SAVINGS_PLANS"),
542
+ ?filter: {
543
+ or: Array[
544
+ untyped,
545
+ ]?,
546
+ and: Array[
547
+ untyped,
548
+ ]?,
549
+ not: untyped?,
550
+ dimensions: {
551
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
552
+ values: Array[::String]?,
553
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
554
+ }?,
555
+ tags: {
556
+ key: ::String?,
557
+ values: Array[::String]?,
558
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
559
+ }?,
560
+ cost_categories: {
561
+ key: ::String?,
562
+ values: Array[::String]?,
563
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
564
+ }?
565
+ },
566
+ ?sort_by: Array[
567
+ {
568
+ key: ::String,
569
+ sort_order: ("ASCENDING" | "DESCENDING")?
570
+ },
571
+ ],
572
+ ?max_results: ::Integer,
573
+ ?next_page_token: ::String
574
+ ) -> _GetDimensionValuesResponseSuccess
575
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDimensionValuesResponseSuccess
576
+
577
+ interface _GetReservationCoverageResponseSuccess
578
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationCoverageResponse]
579
+ def coverages_by_time: () -> ::Array[Types::CoverageByTime]
580
+ def total: () -> Types::Coverage
581
+ def next_page_token: () -> ::String
582
+ end
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_coverage-instance_method
584
+ def get_reservation_coverage: (
585
+ time_period: {
586
+ start: ::String,
587
+ end: ::String
588
+ },
589
+ ?group_by: Array[
590
+ {
591
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
592
+ key: ::String?
593
+ },
594
+ ],
595
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
596
+ ?filter: {
597
+ or: Array[
598
+ untyped,
599
+ ]?,
600
+ and: Array[
601
+ untyped,
602
+ ]?,
603
+ not: untyped?,
604
+ dimensions: {
605
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
606
+ values: Array[::String]?,
607
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
608
+ }?,
609
+ tags: {
610
+ key: ::String?,
611
+ values: Array[::String]?,
612
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
613
+ }?,
614
+ cost_categories: {
615
+ key: ::String?,
616
+ values: Array[::String]?,
617
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
618
+ }?
619
+ },
620
+ ?metrics: Array[::String],
621
+ ?next_page_token: ::String,
622
+ ?sort_by: {
623
+ key: ::String,
624
+ sort_order: ("ASCENDING" | "DESCENDING")?
625
+ },
626
+ ?max_results: ::Integer
627
+ ) -> _GetReservationCoverageResponseSuccess
628
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationCoverageResponseSuccess
629
+
630
+ interface _GetReservationPurchaseRecommendationResponseSuccess
631
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationPurchaseRecommendationResponse]
632
+ def metadata: () -> Types::ReservationPurchaseRecommendationMetadata
633
+ def recommendations: () -> ::Array[Types::ReservationPurchaseRecommendation]
634
+ def next_page_token: () -> ::String
635
+ end
636
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_purchase_recommendation-instance_method
637
+ def get_reservation_purchase_recommendation: (
638
+ ?account_id: ::String,
639
+ service: ::String,
640
+ ?filter: {
641
+ or: Array[
642
+ untyped,
643
+ ]?,
644
+ and: Array[
645
+ untyped,
646
+ ]?,
647
+ not: untyped?,
648
+ dimensions: {
649
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
650
+ values: Array[::String]?,
651
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
652
+ }?,
653
+ tags: {
654
+ key: ::String?,
655
+ values: Array[::String]?,
656
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
657
+ }?,
658
+ cost_categories: {
659
+ key: ::String?,
660
+ values: Array[::String]?,
661
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
662
+ }?
663
+ },
664
+ ?account_scope: ("PAYER" | "LINKED"),
665
+ ?lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS"),
666
+ ?term_in_years: ("ONE_YEAR" | "THREE_YEARS"),
667
+ ?payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"),
668
+ ?service_specification: {
669
+ ec2_specification: {
670
+ offering_class: ("STANDARD" | "CONVERTIBLE")?
671
+ }?
672
+ },
673
+ ?page_size: ::Integer,
674
+ ?next_page_token: ::String
675
+ ) -> _GetReservationPurchaseRecommendationResponseSuccess
676
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationPurchaseRecommendationResponseSuccess
677
+
678
+ interface _GetReservationUtilizationResponseSuccess
679
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationUtilizationResponse]
680
+ def utilizations_by_time: () -> ::Array[Types::UtilizationByTime]
681
+ def total: () -> Types::ReservationAggregates
682
+ def next_page_token: () -> ::String
683
+ end
684
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_utilization-instance_method
685
+ def get_reservation_utilization: (
686
+ time_period: {
687
+ start: ::String,
688
+ end: ::String
689
+ },
690
+ ?group_by: Array[
691
+ {
692
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
693
+ key: ::String?
694
+ },
695
+ ],
696
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
697
+ ?filter: {
698
+ or: Array[
699
+ untyped,
700
+ ]?,
701
+ and: Array[
702
+ untyped,
703
+ ]?,
704
+ not: untyped?,
705
+ dimensions: {
706
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
707
+ values: Array[::String]?,
708
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
709
+ }?,
710
+ tags: {
711
+ key: ::String?,
712
+ values: Array[::String]?,
713
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
714
+ }?,
715
+ cost_categories: {
716
+ key: ::String?,
717
+ values: Array[::String]?,
718
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
719
+ }?
720
+ },
721
+ ?sort_by: {
722
+ key: ::String,
723
+ sort_order: ("ASCENDING" | "DESCENDING")?
724
+ },
725
+ ?next_page_token: ::String,
726
+ ?max_results: ::Integer
727
+ ) -> _GetReservationUtilizationResponseSuccess
728
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationUtilizationResponseSuccess
729
+
730
+ interface _GetRightsizingRecommendationResponseSuccess
731
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRightsizingRecommendationResponse]
732
+ def metadata: () -> Types::RightsizingRecommendationMetadata
733
+ def summary: () -> Types::RightsizingRecommendationSummary
734
+ def rightsizing_recommendations: () -> ::Array[Types::RightsizingRecommendation]
735
+ def next_page_token: () -> ::String
736
+ def configuration: () -> Types::RightsizingRecommendationConfiguration
737
+ end
738
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_rightsizing_recommendation-instance_method
739
+ def get_rightsizing_recommendation: (
740
+ ?filter: {
741
+ or: Array[
742
+ untyped,
743
+ ]?,
744
+ and: Array[
745
+ untyped,
746
+ ]?,
747
+ not: untyped?,
748
+ dimensions: {
749
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
750
+ values: Array[::String]?,
751
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
752
+ }?,
753
+ tags: {
754
+ key: ::String?,
755
+ values: Array[::String]?,
756
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
757
+ }?,
758
+ cost_categories: {
759
+ key: ::String?,
760
+ values: Array[::String]?,
761
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
762
+ }?
763
+ },
764
+ ?configuration: {
765
+ recommendation_target: ("SAME_INSTANCE_FAMILY" | "CROSS_INSTANCE_FAMILY"),
766
+ benefits_considered: bool
767
+ },
768
+ service: ::String,
769
+ ?page_size: ::Integer,
770
+ ?next_page_token: ::String
771
+ ) -> _GetRightsizingRecommendationResponseSuccess
772
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRightsizingRecommendationResponseSuccess
773
+
774
+ interface _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
775
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlanPurchaseRecommendationDetailsResponse]
776
+ def recommendation_detail_id: () -> ::String
777
+ def recommendation_detail_data: () -> Types::RecommendationDetailData
778
+ end
779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plan_purchase_recommendation_details-instance_method
780
+ def get_savings_plan_purchase_recommendation_details: (
781
+ recommendation_detail_id: ::String
782
+ ) -> _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
783
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
784
+
785
+ interface _GetSavingsPlansCoverageResponseSuccess
786
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansCoverageResponse]
787
+ def savings_plans_coverages: () -> ::Array[Types::SavingsPlansCoverage]
788
+ def next_token: () -> ::String
789
+ end
790
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_coverage-instance_method
791
+ def get_savings_plans_coverage: (
792
+ time_period: {
793
+ start: ::String,
794
+ end: ::String
795
+ },
796
+ ?group_by: Array[
797
+ {
798
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
799
+ key: ::String?
800
+ },
801
+ ],
802
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
803
+ ?filter: {
804
+ or: Array[
805
+ untyped,
806
+ ]?,
807
+ and: Array[
808
+ untyped,
809
+ ]?,
810
+ not: untyped?,
811
+ dimensions: {
812
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
813
+ values: Array[::String]?,
814
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
815
+ }?,
816
+ tags: {
817
+ key: ::String?,
818
+ values: Array[::String]?,
819
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
820
+ }?,
821
+ cost_categories: {
822
+ key: ::String?,
823
+ values: Array[::String]?,
824
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
825
+ }?
826
+ },
827
+ ?metrics: Array[::String],
828
+ ?next_token: ::String,
829
+ ?max_results: ::Integer,
830
+ ?sort_by: {
831
+ key: ::String,
832
+ sort_order: ("ASCENDING" | "DESCENDING")?
833
+ }
834
+ ) -> _GetSavingsPlansCoverageResponseSuccess
835
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansCoverageResponseSuccess
836
+
837
+ interface _GetSavingsPlansPurchaseRecommendationResponseSuccess
838
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansPurchaseRecommendationResponse]
839
+ def metadata: () -> Types::SavingsPlansPurchaseRecommendationMetadata
840
+ def savings_plans_purchase_recommendation: () -> Types::SavingsPlansPurchaseRecommendation
841
+ def next_page_token: () -> ::String
842
+ end
843
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_purchase_recommendation-instance_method
844
+ def get_savings_plans_purchase_recommendation: (
845
+ savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP"),
846
+ term_in_years: ("ONE_YEAR" | "THREE_YEARS"),
847
+ payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"),
848
+ ?account_scope: ("PAYER" | "LINKED"),
849
+ ?next_page_token: ::String,
850
+ ?page_size: ::Integer,
851
+ lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS"),
852
+ ?filter: {
853
+ or: Array[
854
+ untyped,
855
+ ]?,
856
+ and: Array[
857
+ untyped,
858
+ ]?,
859
+ not: untyped?,
860
+ dimensions: {
861
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
862
+ values: Array[::String]?,
863
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
864
+ }?,
865
+ tags: {
866
+ key: ::String?,
867
+ values: Array[::String]?,
868
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
869
+ }?,
870
+ cost_categories: {
871
+ key: ::String?,
872
+ values: Array[::String]?,
873
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
874
+ }?
875
+ }
876
+ ) -> _GetSavingsPlansPurchaseRecommendationResponseSuccess
877
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansPurchaseRecommendationResponseSuccess
878
+
879
+ interface _GetSavingsPlansUtilizationResponseSuccess
880
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansUtilizationResponse]
881
+ def savings_plans_utilizations_by_time: () -> ::Array[Types::SavingsPlansUtilizationByTime]
882
+ def total: () -> Types::SavingsPlansUtilizationAggregates
883
+ end
884
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_utilization-instance_method
885
+ def get_savings_plans_utilization: (
886
+ time_period: {
887
+ start: ::String,
888
+ end: ::String
889
+ },
890
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
891
+ ?filter: {
892
+ or: Array[
893
+ untyped,
894
+ ]?,
895
+ and: Array[
896
+ untyped,
897
+ ]?,
898
+ not: untyped?,
899
+ dimensions: {
900
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
901
+ values: Array[::String]?,
902
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
903
+ }?,
904
+ tags: {
905
+ key: ::String?,
906
+ values: Array[::String]?,
907
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
908
+ }?,
909
+ cost_categories: {
910
+ key: ::String?,
911
+ values: Array[::String]?,
912
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
913
+ }?
914
+ },
915
+ ?sort_by: {
916
+ key: ::String,
917
+ sort_order: ("ASCENDING" | "DESCENDING")?
918
+ }
919
+ ) -> _GetSavingsPlansUtilizationResponseSuccess
920
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansUtilizationResponseSuccess
921
+
922
+ interface _GetSavingsPlansUtilizationDetailsResponseSuccess
923
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansUtilizationDetailsResponse]
924
+ def savings_plans_utilization_details: () -> ::Array[Types::SavingsPlansUtilizationDetail]
925
+ def total: () -> Types::SavingsPlansUtilizationAggregates
926
+ def time_period: () -> Types::DateInterval
927
+ def next_token: () -> ::String
928
+ end
929
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_utilization_details-instance_method
930
+ def get_savings_plans_utilization_details: (
931
+ time_period: {
932
+ start: ::String,
933
+ end: ::String
934
+ },
935
+ ?filter: {
936
+ or: Array[
937
+ untyped,
938
+ ]?,
939
+ and: Array[
940
+ untyped,
941
+ ]?,
942
+ not: untyped?,
943
+ dimensions: {
944
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
945
+ values: Array[::String]?,
946
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
947
+ }?,
948
+ tags: {
949
+ key: ::String?,
950
+ values: Array[::String]?,
951
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
952
+ }?,
953
+ cost_categories: {
954
+ key: ::String?,
955
+ values: Array[::String]?,
956
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
957
+ }?
958
+ },
959
+ ?data_type: Array[("ATTRIBUTES" | "UTILIZATION" | "AMORTIZED_COMMITMENT" | "SAVINGS")],
960
+ ?next_token: ::String,
961
+ ?max_results: ::Integer,
962
+ ?sort_by: {
963
+ key: ::String,
964
+ sort_order: ("ASCENDING" | "DESCENDING")?
965
+ }
966
+ ) -> _GetSavingsPlansUtilizationDetailsResponseSuccess
967
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansUtilizationDetailsResponseSuccess
968
+
969
+ interface _GetTagsResponseSuccess
970
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTagsResponse]
971
+ def next_page_token: () -> ::String
972
+ def tags: () -> ::Array[::String]
973
+ def return_size: () -> ::Integer
974
+ def total_size: () -> ::Integer
975
+ end
976
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_tags-instance_method
977
+ def get_tags: (
978
+ ?search_string: ::String,
979
+ time_period: {
980
+ start: ::String,
981
+ end: ::String
982
+ },
983
+ ?tag_key: ::String,
984
+ ?filter: {
985
+ or: Array[
986
+ untyped,
987
+ ]?,
988
+ and: Array[
989
+ untyped,
990
+ ]?,
991
+ not: untyped?,
992
+ dimensions: {
993
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
994
+ values: Array[::String]?,
995
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
996
+ }?,
997
+ tags: {
998
+ key: ::String?,
999
+ values: Array[::String]?,
1000
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1001
+ }?,
1002
+ cost_categories: {
1003
+ key: ::String?,
1004
+ values: Array[::String]?,
1005
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1006
+ }?
1007
+ },
1008
+ ?sort_by: Array[
1009
+ {
1010
+ key: ::String,
1011
+ sort_order: ("ASCENDING" | "DESCENDING")?
1012
+ },
1013
+ ],
1014
+ ?max_results: ::Integer,
1015
+ ?next_page_token: ::String
1016
+ ) -> _GetTagsResponseSuccess
1017
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTagsResponseSuccess
1018
+
1019
+ interface _GetUsageForecastResponseSuccess
1020
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageForecastResponse]
1021
+ def total: () -> Types::MetricValue
1022
+ def forecast_results_by_time: () -> ::Array[Types::ForecastResult]
1023
+ end
1024
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_usage_forecast-instance_method
1025
+ def get_usage_forecast: (
1026
+ time_period: {
1027
+ start: ::String,
1028
+ end: ::String
1029
+ },
1030
+ metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
1031
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
1032
+ ?filter: {
1033
+ or: Array[
1034
+ untyped,
1035
+ ]?,
1036
+ and: Array[
1037
+ untyped,
1038
+ ]?,
1039
+ not: untyped?,
1040
+ dimensions: {
1041
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
1042
+ values: Array[::String]?,
1043
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1044
+ }?,
1045
+ tags: {
1046
+ key: ::String?,
1047
+ values: Array[::String]?,
1048
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1049
+ }?,
1050
+ cost_categories: {
1051
+ key: ::String?,
1052
+ values: Array[::String]?,
1053
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1054
+ }?
1055
+ },
1056
+ ?prediction_interval_level: ::Integer
1057
+ ) -> _GetUsageForecastResponseSuccess
1058
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageForecastResponseSuccess
1059
+
1060
+ interface _ListCostAllocationTagsResponseSuccess
1061
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCostAllocationTagsResponse]
1062
+ def cost_allocation_tags: () -> ::Array[Types::CostAllocationTag]
1063
+ def next_token: () -> ::String
1064
+ end
1065
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_cost_allocation_tags-instance_method
1066
+ def list_cost_allocation_tags: (
1067
+ ?status: ("Active" | "Inactive"),
1068
+ ?tag_keys: Array[::String],
1069
+ ?type: ("AWSGenerated" | "UserDefined"),
1070
+ ?next_token: ::String,
1071
+ ?max_results: ::Integer
1072
+ ) -> _ListCostAllocationTagsResponseSuccess
1073
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostAllocationTagsResponseSuccess
1074
+
1075
+ interface _ListCostCategoryDefinitionsResponseSuccess
1076
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCostCategoryDefinitionsResponse]
1077
+ def cost_category_references: () -> ::Array[Types::CostCategoryReference]
1078
+ def next_token: () -> ::String
1079
+ end
1080
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_cost_category_definitions-instance_method
1081
+ def list_cost_category_definitions: (
1082
+ ?effective_on: ::String,
1083
+ ?next_token: ::String,
1084
+ ?max_results: ::Integer
1085
+ ) -> _ListCostCategoryDefinitionsResponseSuccess
1086
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostCategoryDefinitionsResponseSuccess
1087
+
1088
+ interface _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1089
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSavingsPlansPurchaseRecommendationGenerationResponse]
1090
+ def generation_summary_list: () -> ::Array[Types::GenerationSummary]
1091
+ def next_page_token: () -> ::String
1092
+ end
1093
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_savings_plans_purchase_recommendation_generation-instance_method
1094
+ def list_savings_plans_purchase_recommendation_generation: (
1095
+ ?generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED"),
1096
+ ?recommendation_ids: Array[::String],
1097
+ ?page_size: ::Integer,
1098
+ ?next_page_token: ::String
1099
+ ) -> _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1100
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1101
+
1102
+ interface _ListTagsForResourceResponseSuccess
1103
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1104
+ def resource_tags: () -> ::Array[Types::ResourceTag]
1105
+ end
1106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_tags_for_resource-instance_method
1107
+ def list_tags_for_resource: (
1108
+ resource_arn: ::String
1109
+ ) -> _ListTagsForResourceResponseSuccess
1110
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1111
+
1112
+ interface _ProvideAnomalyFeedbackResponseSuccess
1113
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProvideAnomalyFeedbackResponse]
1114
+ def anomaly_id: () -> ::String
1115
+ end
1116
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#provide_anomaly_feedback-instance_method
1117
+ def provide_anomaly_feedback: (
1118
+ anomaly_id: ::String,
1119
+ feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
1120
+ ) -> _ProvideAnomalyFeedbackResponseSuccess
1121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ProvideAnomalyFeedbackResponseSuccess
1122
+
1123
+ interface _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1124
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSavingsPlansPurchaseRecommendationGenerationResponse]
1125
+ def recommendation_id: () -> ::String
1126
+ def generation_started_time: () -> ::String
1127
+ def estimated_completion_time: () -> ::String
1128
+ end
1129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#start_savings_plans_purchase_recommendation_generation-instance_method
1130
+ def start_savings_plans_purchase_recommendation_generation: (
1131
+ ) -> _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1132
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1133
+
1134
+ interface _TagResourceResponseSuccess
1135
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1136
+ end
1137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#tag_resource-instance_method
1138
+ def tag_resource: (
1139
+ resource_arn: ::String,
1140
+ resource_tags: Array[
1141
+ {
1142
+ key: ::String,
1143
+ value: ::String
1144
+ },
1145
+ ]
1146
+ ) -> _TagResourceResponseSuccess
1147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1148
+
1149
+ interface _UntagResourceResponseSuccess
1150
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1151
+ end
1152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#untag_resource-instance_method
1153
+ def untag_resource: (
1154
+ resource_arn: ::String,
1155
+ resource_tag_keys: Array[::String]
1156
+ ) -> _UntagResourceResponseSuccess
1157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1158
+
1159
+ interface _UpdateAnomalyMonitorResponseSuccess
1160
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnomalyMonitorResponse]
1161
+ def monitor_arn: () -> ::String
1162
+ end
1163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_anomaly_monitor-instance_method
1164
+ def update_anomaly_monitor: (
1165
+ monitor_arn: ::String,
1166
+ ?monitor_name: ::String
1167
+ ) -> _UpdateAnomalyMonitorResponseSuccess
1168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnomalyMonitorResponseSuccess
1169
+
1170
+ interface _UpdateAnomalySubscriptionResponseSuccess
1171
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnomalySubscriptionResponse]
1172
+ def subscription_arn: () -> ::String
1173
+ end
1174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_anomaly_subscription-instance_method
1175
+ def update_anomaly_subscription: (
1176
+ subscription_arn: ::String,
1177
+ ?threshold: ::Float,
1178
+ ?frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY"),
1179
+ ?monitor_arn_list: Array[::String],
1180
+ ?subscribers: Array[
1181
+ {
1182
+ address: ::String?,
1183
+ type: ("EMAIL" | "SNS")?,
1184
+ status: ("CONFIRMED" | "DECLINED")?
1185
+ },
1186
+ ],
1187
+ ?subscription_name: ::String,
1188
+ ?threshold_expression: {
1189
+ or: Array[
1190
+ untyped,
1191
+ ]?,
1192
+ and: Array[
1193
+ untyped,
1194
+ ]?,
1195
+ not: untyped?,
1196
+ dimensions: {
1197
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
1198
+ values: Array[::String]?,
1199
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1200
+ }?,
1201
+ tags: {
1202
+ key: ::String?,
1203
+ values: Array[::String]?,
1204
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1205
+ }?,
1206
+ cost_categories: {
1207
+ key: ::String?,
1208
+ values: Array[::String]?,
1209
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1210
+ }?
1211
+ }
1212
+ ) -> _UpdateAnomalySubscriptionResponseSuccess
1213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnomalySubscriptionResponseSuccess
1214
+
1215
+ interface _UpdateCostAllocationTagsStatusResponseSuccess
1216
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCostAllocationTagsStatusResponse]
1217
+ def errors: () -> ::Array[Types::UpdateCostAllocationTagsStatusError]
1218
+ end
1219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_cost_allocation_tags_status-instance_method
1220
+ def update_cost_allocation_tags_status: (
1221
+ cost_allocation_tags_status: Array[
1222
+ {
1223
+ tag_key: ::String,
1224
+ status: ("Active" | "Inactive")
1225
+ },
1226
+ ]
1227
+ ) -> _UpdateCostAllocationTagsStatusResponseSuccess
1228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCostAllocationTagsStatusResponseSuccess
1229
+
1230
+ interface _UpdateCostCategoryDefinitionResponseSuccess
1231
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCostCategoryDefinitionResponse]
1232
+ def cost_category_arn: () -> ::String
1233
+ def effective_start: () -> ::String
1234
+ end
1235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_cost_category_definition-instance_method
1236
+ def update_cost_category_definition: (
1237
+ cost_category_arn: ::String,
1238
+ ?effective_start: ::String,
1239
+ rule_version: ("CostCategoryExpression.v1"),
1240
+ rules: Array[
1241
+ {
1242
+ value: ::String?,
1243
+ rule: {
1244
+ or: Array[
1245
+ untyped,
1246
+ ]?,
1247
+ and: Array[
1248
+ untyped,
1249
+ ]?,
1250
+ not: untyped?,
1251
+ dimensions: {
1252
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE")?,
1253
+ values: Array[::String]?,
1254
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1255
+ }?,
1256
+ tags: {
1257
+ key: ::String?,
1258
+ values: Array[::String]?,
1259
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1260
+ }?,
1261
+ cost_categories: {
1262
+ key: ::String?,
1263
+ values: Array[::String]?,
1264
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1265
+ }?
1266
+ }?,
1267
+ inherited_value: {
1268
+ dimension_name: ("LINKED_ACCOUNT_NAME" | "TAG")?,
1269
+ dimension_key: ::String?
1270
+ }?,
1271
+ type: ("REGULAR" | "INHERITED_VALUE")?
1272
+ },
1273
+ ],
1274
+ ?default_value: ::String,
1275
+ ?split_charge_rules: Array[
1276
+ {
1277
+ source: ::String,
1278
+ targets: Array[::String],
1279
+ method: ("FIXED" | "PROPORTIONAL" | "EVEN"),
1280
+ parameters: Array[
1281
+ {
1282
+ type: ("ALLOCATION_PERCENTAGES"),
1283
+ values: Array[::String]
1284
+ },
1285
+ ]?
1286
+ },
1287
+ ]
1288
+ ) -> _UpdateCostCategoryDefinitionResponseSuccess
1289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCostCategoryDefinitionResponseSuccess
1290
+ end
1291
+ end
1292
+ end
1293
+