aws-sdk-costexplorer 1.94.0 → 1.96.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,1307 @@
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 _GetApproximateUsageRecordsResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApproximateUsageRecordsResponse]
338
+ def services: () -> ::Hash[::String, ::Integer]
339
+ def total_records: () -> ::Integer
340
+ def lookback_period: () -> Types::DateInterval
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_approximate_usage_records-instance_method
343
+ def get_approximate_usage_records: (
344
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
345
+ ?services: Array[::String],
346
+ approximation_dimension: ("SERVICE" | "RESOURCE")
347
+ ) -> _GetApproximateUsageRecordsResponseSuccess
348
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApproximateUsageRecordsResponseSuccess
349
+
350
+ interface _GetCostAndUsageResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostAndUsageResponse]
352
+ def next_page_token: () -> ::String
353
+ def group_definitions: () -> ::Array[Types::GroupDefinition]
354
+ def results_by_time: () -> ::Array[Types::ResultByTime]
355
+ def dimension_value_attributes: () -> ::Array[Types::DimensionValuesWithAttributes]
356
+ end
357
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_and_usage-instance_method
358
+ def get_cost_and_usage: (
359
+ time_period: {
360
+ start: ::String,
361
+ end: ::String
362
+ },
363
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
364
+ ?filter: {
365
+ or: Array[
366
+ untyped,
367
+ ]?,
368
+ and: Array[
369
+ untyped,
370
+ ]?,
371
+ not: untyped?,
372
+ dimensions: {
373
+ 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")?,
374
+ values: Array[::String]?,
375
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
376
+ }?,
377
+ tags: {
378
+ key: ::String?,
379
+ values: Array[::String]?,
380
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
381
+ }?,
382
+ cost_categories: {
383
+ key: ::String?,
384
+ values: Array[::String]?,
385
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
386
+ }?
387
+ },
388
+ metrics: Array[::String],
389
+ ?group_by: Array[
390
+ {
391
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
392
+ key: ::String?
393
+ },
394
+ ],
395
+ ?next_page_token: ::String
396
+ ) -> _GetCostAndUsageResponseSuccess
397
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageResponseSuccess
398
+
399
+ interface _GetCostAndUsageWithResourcesResponseSuccess
400
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostAndUsageWithResourcesResponse]
401
+ def next_page_token: () -> ::String
402
+ def group_definitions: () -> ::Array[Types::GroupDefinition]
403
+ def results_by_time: () -> ::Array[Types::ResultByTime]
404
+ def dimension_value_attributes: () -> ::Array[Types::DimensionValuesWithAttributes]
405
+ end
406
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_and_usage_with_resources-instance_method
407
+ def get_cost_and_usage_with_resources: (
408
+ time_period: {
409
+ start: ::String,
410
+ end: ::String
411
+ },
412
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
413
+ filter: {
414
+ or: Array[
415
+ untyped,
416
+ ]?,
417
+ and: Array[
418
+ untyped,
419
+ ]?,
420
+ not: untyped?,
421
+ dimensions: {
422
+ 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")?,
423
+ values: Array[::String]?,
424
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
425
+ }?,
426
+ tags: {
427
+ key: ::String?,
428
+ values: Array[::String]?,
429
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
430
+ }?,
431
+ cost_categories: {
432
+ key: ::String?,
433
+ values: Array[::String]?,
434
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
435
+ }?
436
+ },
437
+ ?metrics: Array[::String],
438
+ ?group_by: Array[
439
+ {
440
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
441
+ key: ::String?
442
+ },
443
+ ],
444
+ ?next_page_token: ::String
445
+ ) -> _GetCostAndUsageWithResourcesResponseSuccess
446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostAndUsageWithResourcesResponseSuccess
447
+
448
+ interface _GetCostCategoriesResponseSuccess
449
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostCategoriesResponse]
450
+ def next_page_token: () -> ::String
451
+ def cost_category_names: () -> ::Array[::String]
452
+ def cost_category_values: () -> ::Array[::String]
453
+ def return_size: () -> ::Integer
454
+ def total_size: () -> ::Integer
455
+ end
456
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_categories-instance_method
457
+ def get_cost_categories: (
458
+ ?search_string: ::String,
459
+ time_period: {
460
+ start: ::String,
461
+ end: ::String
462
+ },
463
+ ?cost_category_name: ::String,
464
+ ?filter: {
465
+ or: Array[
466
+ untyped,
467
+ ]?,
468
+ and: Array[
469
+ untyped,
470
+ ]?,
471
+ not: untyped?,
472
+ dimensions: {
473
+ 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")?,
474
+ values: Array[::String]?,
475
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
476
+ }?,
477
+ tags: {
478
+ key: ::String?,
479
+ values: Array[::String]?,
480
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
481
+ }?,
482
+ cost_categories: {
483
+ key: ::String?,
484
+ values: Array[::String]?,
485
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
486
+ }?
487
+ },
488
+ ?sort_by: Array[
489
+ {
490
+ key: ::String,
491
+ sort_order: ("ASCENDING" | "DESCENDING")?
492
+ },
493
+ ],
494
+ ?max_results: ::Integer,
495
+ ?next_page_token: ::String
496
+ ) -> _GetCostCategoriesResponseSuccess
497
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostCategoriesResponseSuccess
498
+
499
+ interface _GetCostForecastResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCostForecastResponse]
501
+ def total: () -> Types::MetricValue
502
+ def forecast_results_by_time: () -> ::Array[Types::ForecastResult]
503
+ end
504
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_cost_forecast-instance_method
505
+ def get_cost_forecast: (
506
+ time_period: {
507
+ start: ::String,
508
+ end: ::String
509
+ },
510
+ metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
511
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
512
+ ?filter: {
513
+ or: Array[
514
+ untyped,
515
+ ]?,
516
+ and: Array[
517
+ untyped,
518
+ ]?,
519
+ not: untyped?,
520
+ dimensions: {
521
+ 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")?,
522
+ values: Array[::String]?,
523
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
524
+ }?,
525
+ tags: {
526
+ key: ::String?,
527
+ values: Array[::String]?,
528
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
529
+ }?,
530
+ cost_categories: {
531
+ key: ::String?,
532
+ values: Array[::String]?,
533
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
534
+ }?
535
+ },
536
+ ?prediction_interval_level: ::Integer
537
+ ) -> _GetCostForecastResponseSuccess
538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCostForecastResponseSuccess
539
+
540
+ interface _GetDimensionValuesResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDimensionValuesResponse]
542
+ def dimension_values: () -> ::Array[Types::DimensionValuesWithAttributes]
543
+ def return_size: () -> ::Integer
544
+ def total_size: () -> ::Integer
545
+ def next_page_token: () -> ::String
546
+ end
547
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_dimension_values-instance_method
548
+ def get_dimension_values: (
549
+ ?search_string: ::String,
550
+ time_period: {
551
+ start: ::String,
552
+ end: ::String
553
+ },
554
+ 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"),
555
+ ?context: ("COST_AND_USAGE" | "RESERVATIONS" | "SAVINGS_PLANS"),
556
+ ?filter: {
557
+ or: Array[
558
+ untyped,
559
+ ]?,
560
+ and: Array[
561
+ untyped,
562
+ ]?,
563
+ not: untyped?,
564
+ dimensions: {
565
+ 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")?,
566
+ values: Array[::String]?,
567
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
568
+ }?,
569
+ tags: {
570
+ key: ::String?,
571
+ values: Array[::String]?,
572
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
573
+ }?,
574
+ cost_categories: {
575
+ key: ::String?,
576
+ values: Array[::String]?,
577
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
578
+ }?
579
+ },
580
+ ?sort_by: Array[
581
+ {
582
+ key: ::String,
583
+ sort_order: ("ASCENDING" | "DESCENDING")?
584
+ },
585
+ ],
586
+ ?max_results: ::Integer,
587
+ ?next_page_token: ::String
588
+ ) -> _GetDimensionValuesResponseSuccess
589
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDimensionValuesResponseSuccess
590
+
591
+ interface _GetReservationCoverageResponseSuccess
592
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationCoverageResponse]
593
+ def coverages_by_time: () -> ::Array[Types::CoverageByTime]
594
+ def total: () -> Types::Coverage
595
+ def next_page_token: () -> ::String
596
+ end
597
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_coverage-instance_method
598
+ def get_reservation_coverage: (
599
+ time_period: {
600
+ start: ::String,
601
+ end: ::String
602
+ },
603
+ ?group_by: Array[
604
+ {
605
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
606
+ key: ::String?
607
+ },
608
+ ],
609
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
610
+ ?filter: {
611
+ or: Array[
612
+ untyped,
613
+ ]?,
614
+ and: Array[
615
+ untyped,
616
+ ]?,
617
+ not: untyped?,
618
+ dimensions: {
619
+ 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")?,
620
+ values: Array[::String]?,
621
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
622
+ }?,
623
+ tags: {
624
+ key: ::String?,
625
+ values: Array[::String]?,
626
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
627
+ }?,
628
+ cost_categories: {
629
+ key: ::String?,
630
+ values: Array[::String]?,
631
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
632
+ }?
633
+ },
634
+ ?metrics: Array[::String],
635
+ ?next_page_token: ::String,
636
+ ?sort_by: {
637
+ key: ::String,
638
+ sort_order: ("ASCENDING" | "DESCENDING")?
639
+ },
640
+ ?max_results: ::Integer
641
+ ) -> _GetReservationCoverageResponseSuccess
642
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationCoverageResponseSuccess
643
+
644
+ interface _GetReservationPurchaseRecommendationResponseSuccess
645
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationPurchaseRecommendationResponse]
646
+ def metadata: () -> Types::ReservationPurchaseRecommendationMetadata
647
+ def recommendations: () -> ::Array[Types::ReservationPurchaseRecommendation]
648
+ def next_page_token: () -> ::String
649
+ end
650
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_purchase_recommendation-instance_method
651
+ def get_reservation_purchase_recommendation: (
652
+ ?account_id: ::String,
653
+ service: ::String,
654
+ ?filter: {
655
+ or: Array[
656
+ untyped,
657
+ ]?,
658
+ and: Array[
659
+ untyped,
660
+ ]?,
661
+ not: untyped?,
662
+ dimensions: {
663
+ 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")?,
664
+ values: Array[::String]?,
665
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
666
+ }?,
667
+ tags: {
668
+ key: ::String?,
669
+ values: Array[::String]?,
670
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
671
+ }?,
672
+ cost_categories: {
673
+ key: ::String?,
674
+ values: Array[::String]?,
675
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
676
+ }?
677
+ },
678
+ ?account_scope: ("PAYER" | "LINKED"),
679
+ ?lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS"),
680
+ ?term_in_years: ("ONE_YEAR" | "THREE_YEARS"),
681
+ ?payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"),
682
+ ?service_specification: {
683
+ ec2_specification: {
684
+ offering_class: ("STANDARD" | "CONVERTIBLE")?
685
+ }?
686
+ },
687
+ ?page_size: ::Integer,
688
+ ?next_page_token: ::String
689
+ ) -> _GetReservationPurchaseRecommendationResponseSuccess
690
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationPurchaseRecommendationResponseSuccess
691
+
692
+ interface _GetReservationUtilizationResponseSuccess
693
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReservationUtilizationResponse]
694
+ def utilizations_by_time: () -> ::Array[Types::UtilizationByTime]
695
+ def total: () -> Types::ReservationAggregates
696
+ def next_page_token: () -> ::String
697
+ end
698
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_reservation_utilization-instance_method
699
+ def get_reservation_utilization: (
700
+ time_period: {
701
+ start: ::String,
702
+ end: ::String
703
+ },
704
+ ?group_by: Array[
705
+ {
706
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
707
+ key: ::String?
708
+ },
709
+ ],
710
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
711
+ ?filter: {
712
+ or: Array[
713
+ untyped,
714
+ ]?,
715
+ and: Array[
716
+ untyped,
717
+ ]?,
718
+ not: untyped?,
719
+ dimensions: {
720
+ 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")?,
721
+ values: Array[::String]?,
722
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
723
+ }?,
724
+ tags: {
725
+ key: ::String?,
726
+ values: Array[::String]?,
727
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
728
+ }?,
729
+ cost_categories: {
730
+ key: ::String?,
731
+ values: Array[::String]?,
732
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
733
+ }?
734
+ },
735
+ ?sort_by: {
736
+ key: ::String,
737
+ sort_order: ("ASCENDING" | "DESCENDING")?
738
+ },
739
+ ?next_page_token: ::String,
740
+ ?max_results: ::Integer
741
+ ) -> _GetReservationUtilizationResponseSuccess
742
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReservationUtilizationResponseSuccess
743
+
744
+ interface _GetRightsizingRecommendationResponseSuccess
745
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRightsizingRecommendationResponse]
746
+ def metadata: () -> Types::RightsizingRecommendationMetadata
747
+ def summary: () -> Types::RightsizingRecommendationSummary
748
+ def rightsizing_recommendations: () -> ::Array[Types::RightsizingRecommendation]
749
+ def next_page_token: () -> ::String
750
+ def configuration: () -> Types::RightsizingRecommendationConfiguration
751
+ end
752
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_rightsizing_recommendation-instance_method
753
+ def get_rightsizing_recommendation: (
754
+ ?filter: {
755
+ or: Array[
756
+ untyped,
757
+ ]?,
758
+ and: Array[
759
+ untyped,
760
+ ]?,
761
+ not: untyped?,
762
+ dimensions: {
763
+ 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")?,
764
+ values: Array[::String]?,
765
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
766
+ }?,
767
+ tags: {
768
+ key: ::String?,
769
+ values: Array[::String]?,
770
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
771
+ }?,
772
+ cost_categories: {
773
+ key: ::String?,
774
+ values: Array[::String]?,
775
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
776
+ }?
777
+ },
778
+ ?configuration: {
779
+ recommendation_target: ("SAME_INSTANCE_FAMILY" | "CROSS_INSTANCE_FAMILY"),
780
+ benefits_considered: bool
781
+ },
782
+ service: ::String,
783
+ ?page_size: ::Integer,
784
+ ?next_page_token: ::String
785
+ ) -> _GetRightsizingRecommendationResponseSuccess
786
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRightsizingRecommendationResponseSuccess
787
+
788
+ interface _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
789
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlanPurchaseRecommendationDetailsResponse]
790
+ def recommendation_detail_id: () -> ::String
791
+ def recommendation_detail_data: () -> Types::RecommendationDetailData
792
+ end
793
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plan_purchase_recommendation_details-instance_method
794
+ def get_savings_plan_purchase_recommendation_details: (
795
+ recommendation_detail_id: ::String
796
+ ) -> _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
797
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlanPurchaseRecommendationDetailsResponseSuccess
798
+
799
+ interface _GetSavingsPlansCoverageResponseSuccess
800
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansCoverageResponse]
801
+ def savings_plans_coverages: () -> ::Array[Types::SavingsPlansCoverage]
802
+ def next_token: () -> ::String
803
+ end
804
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_coverage-instance_method
805
+ def get_savings_plans_coverage: (
806
+ time_period: {
807
+ start: ::String,
808
+ end: ::String
809
+ },
810
+ ?group_by: Array[
811
+ {
812
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?,
813
+ key: ::String?
814
+ },
815
+ ],
816
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
817
+ ?filter: {
818
+ or: Array[
819
+ untyped,
820
+ ]?,
821
+ and: Array[
822
+ untyped,
823
+ ]?,
824
+ not: untyped?,
825
+ dimensions: {
826
+ 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")?,
827
+ values: Array[::String]?,
828
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
829
+ }?,
830
+ tags: {
831
+ key: ::String?,
832
+ values: Array[::String]?,
833
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
834
+ }?,
835
+ cost_categories: {
836
+ key: ::String?,
837
+ values: Array[::String]?,
838
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
839
+ }?
840
+ },
841
+ ?metrics: Array[::String],
842
+ ?next_token: ::String,
843
+ ?max_results: ::Integer,
844
+ ?sort_by: {
845
+ key: ::String,
846
+ sort_order: ("ASCENDING" | "DESCENDING")?
847
+ }
848
+ ) -> _GetSavingsPlansCoverageResponseSuccess
849
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansCoverageResponseSuccess
850
+
851
+ interface _GetSavingsPlansPurchaseRecommendationResponseSuccess
852
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansPurchaseRecommendationResponse]
853
+ def metadata: () -> Types::SavingsPlansPurchaseRecommendationMetadata
854
+ def savings_plans_purchase_recommendation: () -> Types::SavingsPlansPurchaseRecommendation
855
+ def next_page_token: () -> ::String
856
+ end
857
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_purchase_recommendation-instance_method
858
+ def get_savings_plans_purchase_recommendation: (
859
+ savings_plans_type: ("COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP"),
860
+ term_in_years: ("ONE_YEAR" | "THREE_YEARS"),
861
+ payment_option: ("NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"),
862
+ ?account_scope: ("PAYER" | "LINKED"),
863
+ ?next_page_token: ::String,
864
+ ?page_size: ::Integer,
865
+ lookback_period_in_days: ("SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS"),
866
+ ?filter: {
867
+ or: Array[
868
+ untyped,
869
+ ]?,
870
+ and: Array[
871
+ untyped,
872
+ ]?,
873
+ not: untyped?,
874
+ dimensions: {
875
+ 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")?,
876
+ values: Array[::String]?,
877
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
878
+ }?,
879
+ tags: {
880
+ key: ::String?,
881
+ values: Array[::String]?,
882
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
883
+ }?,
884
+ cost_categories: {
885
+ key: ::String?,
886
+ values: Array[::String]?,
887
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
888
+ }?
889
+ }
890
+ ) -> _GetSavingsPlansPurchaseRecommendationResponseSuccess
891
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansPurchaseRecommendationResponseSuccess
892
+
893
+ interface _GetSavingsPlansUtilizationResponseSuccess
894
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansUtilizationResponse]
895
+ def savings_plans_utilizations_by_time: () -> ::Array[Types::SavingsPlansUtilizationByTime]
896
+ def total: () -> Types::SavingsPlansUtilizationAggregates
897
+ end
898
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_utilization-instance_method
899
+ def get_savings_plans_utilization: (
900
+ time_period: {
901
+ start: ::String,
902
+ end: ::String
903
+ },
904
+ ?granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
905
+ ?filter: {
906
+ or: Array[
907
+ untyped,
908
+ ]?,
909
+ and: Array[
910
+ untyped,
911
+ ]?,
912
+ not: untyped?,
913
+ dimensions: {
914
+ 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")?,
915
+ values: Array[::String]?,
916
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
917
+ }?,
918
+ tags: {
919
+ key: ::String?,
920
+ values: Array[::String]?,
921
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
922
+ }?,
923
+ cost_categories: {
924
+ key: ::String?,
925
+ values: Array[::String]?,
926
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
927
+ }?
928
+ },
929
+ ?sort_by: {
930
+ key: ::String,
931
+ sort_order: ("ASCENDING" | "DESCENDING")?
932
+ }
933
+ ) -> _GetSavingsPlansUtilizationResponseSuccess
934
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansUtilizationResponseSuccess
935
+
936
+ interface _GetSavingsPlansUtilizationDetailsResponseSuccess
937
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSavingsPlansUtilizationDetailsResponse]
938
+ def savings_plans_utilization_details: () -> ::Array[Types::SavingsPlansUtilizationDetail]
939
+ def total: () -> Types::SavingsPlansUtilizationAggregates
940
+ def time_period: () -> Types::DateInterval
941
+ def next_token: () -> ::String
942
+ end
943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_savings_plans_utilization_details-instance_method
944
+ def get_savings_plans_utilization_details: (
945
+ time_period: {
946
+ start: ::String,
947
+ end: ::String
948
+ },
949
+ ?filter: {
950
+ or: Array[
951
+ untyped,
952
+ ]?,
953
+ and: Array[
954
+ untyped,
955
+ ]?,
956
+ not: untyped?,
957
+ dimensions: {
958
+ 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")?,
959
+ values: Array[::String]?,
960
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
961
+ }?,
962
+ tags: {
963
+ key: ::String?,
964
+ values: Array[::String]?,
965
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
966
+ }?,
967
+ cost_categories: {
968
+ key: ::String?,
969
+ values: Array[::String]?,
970
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
971
+ }?
972
+ },
973
+ ?data_type: Array[("ATTRIBUTES" | "UTILIZATION" | "AMORTIZED_COMMITMENT" | "SAVINGS")],
974
+ ?next_token: ::String,
975
+ ?max_results: ::Integer,
976
+ ?sort_by: {
977
+ key: ::String,
978
+ sort_order: ("ASCENDING" | "DESCENDING")?
979
+ }
980
+ ) -> _GetSavingsPlansUtilizationDetailsResponseSuccess
981
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSavingsPlansUtilizationDetailsResponseSuccess
982
+
983
+ interface _GetTagsResponseSuccess
984
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTagsResponse]
985
+ def next_page_token: () -> ::String
986
+ def tags: () -> ::Array[::String]
987
+ def return_size: () -> ::Integer
988
+ def total_size: () -> ::Integer
989
+ end
990
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_tags-instance_method
991
+ def get_tags: (
992
+ ?search_string: ::String,
993
+ time_period: {
994
+ start: ::String,
995
+ end: ::String
996
+ },
997
+ ?tag_key: ::String,
998
+ ?filter: {
999
+ or: Array[
1000
+ untyped,
1001
+ ]?,
1002
+ and: Array[
1003
+ untyped,
1004
+ ]?,
1005
+ not: untyped?,
1006
+ dimensions: {
1007
+ 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")?,
1008
+ values: Array[::String]?,
1009
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1010
+ }?,
1011
+ tags: {
1012
+ key: ::String?,
1013
+ values: Array[::String]?,
1014
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1015
+ }?,
1016
+ cost_categories: {
1017
+ key: ::String?,
1018
+ values: Array[::String]?,
1019
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1020
+ }?
1021
+ },
1022
+ ?sort_by: Array[
1023
+ {
1024
+ key: ::String,
1025
+ sort_order: ("ASCENDING" | "DESCENDING")?
1026
+ },
1027
+ ],
1028
+ ?max_results: ::Integer,
1029
+ ?next_page_token: ::String
1030
+ ) -> _GetTagsResponseSuccess
1031
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTagsResponseSuccess
1032
+
1033
+ interface _GetUsageForecastResponseSuccess
1034
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageForecastResponse]
1035
+ def total: () -> Types::MetricValue
1036
+ def forecast_results_by_time: () -> ::Array[Types::ForecastResult]
1037
+ end
1038
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#get_usage_forecast-instance_method
1039
+ def get_usage_forecast: (
1040
+ time_period: {
1041
+ start: ::String,
1042
+ end: ::String
1043
+ },
1044
+ metric: ("BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"),
1045
+ granularity: ("DAILY" | "MONTHLY" | "HOURLY"),
1046
+ ?filter: {
1047
+ or: Array[
1048
+ untyped,
1049
+ ]?,
1050
+ and: Array[
1051
+ untyped,
1052
+ ]?,
1053
+ not: untyped?,
1054
+ dimensions: {
1055
+ 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")?,
1056
+ values: Array[::String]?,
1057
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1058
+ }?,
1059
+ tags: {
1060
+ key: ::String?,
1061
+ values: Array[::String]?,
1062
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1063
+ }?,
1064
+ cost_categories: {
1065
+ key: ::String?,
1066
+ values: Array[::String]?,
1067
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1068
+ }?
1069
+ },
1070
+ ?prediction_interval_level: ::Integer
1071
+ ) -> _GetUsageForecastResponseSuccess
1072
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageForecastResponseSuccess
1073
+
1074
+ interface _ListCostAllocationTagsResponseSuccess
1075
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCostAllocationTagsResponse]
1076
+ def cost_allocation_tags: () -> ::Array[Types::CostAllocationTag]
1077
+ def next_token: () -> ::String
1078
+ end
1079
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_cost_allocation_tags-instance_method
1080
+ def list_cost_allocation_tags: (
1081
+ ?status: ("Active" | "Inactive"),
1082
+ ?tag_keys: Array[::String],
1083
+ ?type: ("AWSGenerated" | "UserDefined"),
1084
+ ?next_token: ::String,
1085
+ ?max_results: ::Integer
1086
+ ) -> _ListCostAllocationTagsResponseSuccess
1087
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostAllocationTagsResponseSuccess
1088
+
1089
+ interface _ListCostCategoryDefinitionsResponseSuccess
1090
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCostCategoryDefinitionsResponse]
1091
+ def cost_category_references: () -> ::Array[Types::CostCategoryReference]
1092
+ def next_token: () -> ::String
1093
+ end
1094
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_cost_category_definitions-instance_method
1095
+ def list_cost_category_definitions: (
1096
+ ?effective_on: ::String,
1097
+ ?next_token: ::String,
1098
+ ?max_results: ::Integer
1099
+ ) -> _ListCostCategoryDefinitionsResponseSuccess
1100
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostCategoryDefinitionsResponseSuccess
1101
+
1102
+ interface _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1103
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSavingsPlansPurchaseRecommendationGenerationResponse]
1104
+ def generation_summary_list: () -> ::Array[Types::GenerationSummary]
1105
+ def next_page_token: () -> ::String
1106
+ end
1107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_savings_plans_purchase_recommendation_generation-instance_method
1108
+ def list_savings_plans_purchase_recommendation_generation: (
1109
+ ?generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED"),
1110
+ ?recommendation_ids: Array[::String],
1111
+ ?page_size: ::Integer,
1112
+ ?next_page_token: ::String
1113
+ ) -> _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1114
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1115
+
1116
+ interface _ListTagsForResourceResponseSuccess
1117
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1118
+ def resource_tags: () -> ::Array[Types::ResourceTag]
1119
+ end
1120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_tags_for_resource-instance_method
1121
+ def list_tags_for_resource: (
1122
+ resource_arn: ::String
1123
+ ) -> _ListTagsForResourceResponseSuccess
1124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1125
+
1126
+ interface _ProvideAnomalyFeedbackResponseSuccess
1127
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProvideAnomalyFeedbackResponse]
1128
+ def anomaly_id: () -> ::String
1129
+ end
1130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#provide_anomaly_feedback-instance_method
1131
+ def provide_anomaly_feedback: (
1132
+ anomaly_id: ::String,
1133
+ feedback: ("YES" | "NO" | "PLANNED_ACTIVITY")
1134
+ ) -> _ProvideAnomalyFeedbackResponseSuccess
1135
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ProvideAnomalyFeedbackResponseSuccess
1136
+
1137
+ interface _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1138
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSavingsPlansPurchaseRecommendationGenerationResponse]
1139
+ def recommendation_id: () -> ::String
1140
+ def generation_started_time: () -> ::String
1141
+ def estimated_completion_time: () -> ::String
1142
+ end
1143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#start_savings_plans_purchase_recommendation_generation-instance_method
1144
+ def start_savings_plans_purchase_recommendation_generation: (
1145
+ ) -> _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1146
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1147
+
1148
+ interface _TagResourceResponseSuccess
1149
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1150
+ end
1151
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#tag_resource-instance_method
1152
+ def tag_resource: (
1153
+ resource_arn: ::String,
1154
+ resource_tags: Array[
1155
+ {
1156
+ key: ::String,
1157
+ value: ::String
1158
+ },
1159
+ ]
1160
+ ) -> _TagResourceResponseSuccess
1161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1162
+
1163
+ interface _UntagResourceResponseSuccess
1164
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1165
+ end
1166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#untag_resource-instance_method
1167
+ def untag_resource: (
1168
+ resource_arn: ::String,
1169
+ resource_tag_keys: Array[::String]
1170
+ ) -> _UntagResourceResponseSuccess
1171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1172
+
1173
+ interface _UpdateAnomalyMonitorResponseSuccess
1174
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnomalyMonitorResponse]
1175
+ def monitor_arn: () -> ::String
1176
+ end
1177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_anomaly_monitor-instance_method
1178
+ def update_anomaly_monitor: (
1179
+ monitor_arn: ::String,
1180
+ ?monitor_name: ::String
1181
+ ) -> _UpdateAnomalyMonitorResponseSuccess
1182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnomalyMonitorResponseSuccess
1183
+
1184
+ interface _UpdateAnomalySubscriptionResponseSuccess
1185
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnomalySubscriptionResponse]
1186
+ def subscription_arn: () -> ::String
1187
+ end
1188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_anomaly_subscription-instance_method
1189
+ def update_anomaly_subscription: (
1190
+ subscription_arn: ::String,
1191
+ ?threshold: ::Float,
1192
+ ?frequency: ("DAILY" | "IMMEDIATE" | "WEEKLY"),
1193
+ ?monitor_arn_list: Array[::String],
1194
+ ?subscribers: Array[
1195
+ {
1196
+ address: ::String?,
1197
+ type: ("EMAIL" | "SNS")?,
1198
+ status: ("CONFIRMED" | "DECLINED")?
1199
+ },
1200
+ ],
1201
+ ?subscription_name: ::String,
1202
+ ?threshold_expression: {
1203
+ or: Array[
1204
+ untyped,
1205
+ ]?,
1206
+ and: Array[
1207
+ untyped,
1208
+ ]?,
1209
+ not: untyped?,
1210
+ dimensions: {
1211
+ 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")?,
1212
+ values: Array[::String]?,
1213
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1214
+ }?,
1215
+ tags: {
1216
+ key: ::String?,
1217
+ values: Array[::String]?,
1218
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1219
+ }?,
1220
+ cost_categories: {
1221
+ key: ::String?,
1222
+ values: Array[::String]?,
1223
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1224
+ }?
1225
+ }
1226
+ ) -> _UpdateAnomalySubscriptionResponseSuccess
1227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnomalySubscriptionResponseSuccess
1228
+
1229
+ interface _UpdateCostAllocationTagsStatusResponseSuccess
1230
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCostAllocationTagsStatusResponse]
1231
+ def errors: () -> ::Array[Types::UpdateCostAllocationTagsStatusError]
1232
+ end
1233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_cost_allocation_tags_status-instance_method
1234
+ def update_cost_allocation_tags_status: (
1235
+ cost_allocation_tags_status: Array[
1236
+ {
1237
+ tag_key: ::String,
1238
+ status: ("Active" | "Inactive")
1239
+ },
1240
+ ]
1241
+ ) -> _UpdateCostAllocationTagsStatusResponseSuccess
1242
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCostAllocationTagsStatusResponseSuccess
1243
+
1244
+ interface _UpdateCostCategoryDefinitionResponseSuccess
1245
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCostCategoryDefinitionResponse]
1246
+ def cost_category_arn: () -> ::String
1247
+ def effective_start: () -> ::String
1248
+ end
1249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#update_cost_category_definition-instance_method
1250
+ def update_cost_category_definition: (
1251
+ cost_category_arn: ::String,
1252
+ ?effective_start: ::String,
1253
+ rule_version: ("CostCategoryExpression.v1"),
1254
+ rules: Array[
1255
+ {
1256
+ value: ::String?,
1257
+ rule: {
1258
+ or: Array[
1259
+ untyped,
1260
+ ]?,
1261
+ and: Array[
1262
+ untyped,
1263
+ ]?,
1264
+ not: untyped?,
1265
+ dimensions: {
1266
+ 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")?,
1267
+ values: Array[::String]?,
1268
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1269
+ }?,
1270
+ tags: {
1271
+ key: ::String?,
1272
+ values: Array[::String]?,
1273
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1274
+ }?,
1275
+ cost_categories: {
1276
+ key: ::String?,
1277
+ values: Array[::String]?,
1278
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL")]?
1279
+ }?
1280
+ }?,
1281
+ inherited_value: {
1282
+ dimension_name: ("LINKED_ACCOUNT_NAME" | "TAG")?,
1283
+ dimension_key: ::String?
1284
+ }?,
1285
+ type: ("REGULAR" | "INHERITED_VALUE")?
1286
+ },
1287
+ ],
1288
+ ?default_value: ::String,
1289
+ ?split_charge_rules: Array[
1290
+ {
1291
+ source: ::String,
1292
+ targets: Array[::String],
1293
+ method: ("FIXED" | "PROPORTIONAL" | "EVEN"),
1294
+ parameters: Array[
1295
+ {
1296
+ type: ("ALLOCATION_PERCENTAGES"),
1297
+ values: Array[::String]
1298
+ },
1299
+ ]?
1300
+ },
1301
+ ]
1302
+ ) -> _UpdateCostCategoryDefinitionResponseSuccess
1303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCostCategoryDefinitionResponseSuccess
1304
+ end
1305
+ end
1306
+ end
1307
+