aws-sdk-bcmdashboards 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,665 @@
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 BCMDashboards
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _CreateDashboardResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDashboardResponse]
84
+ def arn: () -> ::String
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#create_dashboard-instance_method
87
+ def create_dashboard: (
88
+ name: ::String,
89
+ ?description: ::String,
90
+ widgets: Array[
91
+ {
92
+ title: ::String,
93
+ description: ::String?,
94
+ width: ::Integer?,
95
+ height: ::Integer?,
96
+ horizontal_offset: ::Integer?,
97
+ configs: Array[
98
+ {
99
+ query_parameters: {
100
+ cost_and_usage: {
101
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")],
102
+ time_range: {
103
+ start_time: {
104
+ type: ("ABSOLUTE" | "RELATIVE"),
105
+ value: ::String
106
+ },
107
+ end_time: {
108
+ type: ("ABSOLUTE" | "RELATIVE"),
109
+ value: ::String
110
+ }
111
+ },
112
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY"),
113
+ group_by: Array[
114
+ {
115
+ key: ::String,
116
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
117
+ },
118
+ ]?,
119
+ filter: {
120
+ or: Array[
121
+ untyped,
122
+ ]?,
123
+ and: Array[
124
+ untyped,
125
+ ]?,
126
+ not: untyped?,
127
+ dimensions: {
128
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
129
+ values: Array[::String],
130
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
131
+ }?,
132
+ tags: {
133
+ key: ::String?,
134
+ values: Array[::String]?,
135
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
136
+ }?,
137
+ cost_categories: {
138
+ key: ::String?,
139
+ values: Array[::String]?,
140
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
141
+ }?
142
+ }?
143
+ }?,
144
+ savings_plans_coverage: {
145
+ time_range: {
146
+ start_time: {
147
+ type: ("ABSOLUTE" | "RELATIVE"),
148
+ value: ::String
149
+ },
150
+ end_time: {
151
+ type: ("ABSOLUTE" | "RELATIVE"),
152
+ value: ::String
153
+ }
154
+ },
155
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]?,
156
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
157
+ group_by: Array[
158
+ {
159
+ key: ::String,
160
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
161
+ },
162
+ ]?,
163
+ filter: {
164
+ or: Array[
165
+ untyped,
166
+ ]?,
167
+ and: Array[
168
+ untyped,
169
+ ]?,
170
+ not: untyped?,
171
+ dimensions: {
172
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
173
+ values: Array[::String],
174
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
175
+ }?,
176
+ tags: {
177
+ key: ::String?,
178
+ values: Array[::String]?,
179
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
180
+ }?,
181
+ cost_categories: {
182
+ key: ::String?,
183
+ values: Array[::String]?,
184
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
185
+ }?
186
+ }?
187
+ }?,
188
+ savings_plans_utilization: {
189
+ time_range: {
190
+ start_time: {
191
+ type: ("ABSOLUTE" | "RELATIVE"),
192
+ value: ::String
193
+ },
194
+ end_time: {
195
+ type: ("ABSOLUTE" | "RELATIVE"),
196
+ value: ::String
197
+ }
198
+ },
199
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
200
+ filter: {
201
+ or: Array[
202
+ untyped,
203
+ ]?,
204
+ and: Array[
205
+ untyped,
206
+ ]?,
207
+ not: untyped?,
208
+ dimensions: {
209
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
210
+ values: Array[::String],
211
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
212
+ }?,
213
+ tags: {
214
+ key: ::String?,
215
+ values: Array[::String]?,
216
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
217
+ }?,
218
+ cost_categories: {
219
+ key: ::String?,
220
+ values: Array[::String]?,
221
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
222
+ }?
223
+ }?
224
+ }?,
225
+ reservation_coverage: {
226
+ time_range: {
227
+ start_time: {
228
+ type: ("ABSOLUTE" | "RELATIVE"),
229
+ value: ::String
230
+ },
231
+ end_time: {
232
+ type: ("ABSOLUTE" | "RELATIVE"),
233
+ value: ::String
234
+ }
235
+ },
236
+ group_by: Array[
237
+ {
238
+ key: ::String,
239
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
240
+ },
241
+ ]?,
242
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
243
+ filter: {
244
+ or: Array[
245
+ untyped,
246
+ ]?,
247
+ and: Array[
248
+ untyped,
249
+ ]?,
250
+ not: untyped?,
251
+ dimensions: {
252
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
253
+ values: Array[::String],
254
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
255
+ }?,
256
+ tags: {
257
+ key: ::String?,
258
+ values: Array[::String]?,
259
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
260
+ }?,
261
+ cost_categories: {
262
+ key: ::String?,
263
+ values: Array[::String]?,
264
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
265
+ }?
266
+ }?,
267
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]?
268
+ }?,
269
+ reservation_utilization: {
270
+ time_range: {
271
+ start_time: {
272
+ type: ("ABSOLUTE" | "RELATIVE"),
273
+ value: ::String
274
+ },
275
+ end_time: {
276
+ type: ("ABSOLUTE" | "RELATIVE"),
277
+ value: ::String
278
+ }
279
+ },
280
+ group_by: Array[
281
+ {
282
+ key: ::String,
283
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
284
+ },
285
+ ]?,
286
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
287
+ filter: {
288
+ or: Array[
289
+ untyped,
290
+ ]?,
291
+ and: Array[
292
+ untyped,
293
+ ]?,
294
+ not: untyped?,
295
+ dimensions: {
296
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
297
+ values: Array[::String],
298
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
299
+ }?,
300
+ tags: {
301
+ key: ::String?,
302
+ values: Array[::String]?,
303
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
304
+ }?,
305
+ cost_categories: {
306
+ key: ::String?,
307
+ values: Array[::String]?,
308
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
309
+ }?
310
+ }?
311
+ }?
312
+ },
313
+ display_config: {
314
+ graph: Hash[::String, {
315
+ visual_type: ("LINE" | "BAR" | "STACK")
316
+ }]?,
317
+ table: {
318
+ }?
319
+ }
320
+ },
321
+ ]
322
+ },
323
+ ],
324
+ ?resource_tags: Array[
325
+ {
326
+ key: ::String,
327
+ value: ::String
328
+ },
329
+ ]
330
+ ) -> _CreateDashboardResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDashboardResponseSuccess
332
+
333
+ interface _DeleteDashboardResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDashboardResponse]
335
+ def arn: () -> ::String
336
+ end
337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#delete_dashboard-instance_method
338
+ def delete_dashboard: (
339
+ arn: ::String
340
+ ) -> _DeleteDashboardResponseSuccess
341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDashboardResponseSuccess
342
+
343
+ interface _GetDashboardResponseSuccess
344
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDashboardResponse]
345
+ def arn: () -> ::String
346
+ def name: () -> ::String
347
+ def description: () -> ::String
348
+ def type: () -> ("CUSTOM")
349
+ def widgets: () -> ::Array[Types::Widget]
350
+ def created_at: () -> ::Time
351
+ def updated_at: () -> ::Time
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#get_dashboard-instance_method
354
+ def get_dashboard: (
355
+ arn: ::String
356
+ ) -> _GetDashboardResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDashboardResponseSuccess
358
+
359
+ interface _GetResourcePolicyResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
361
+ def resource_arn: () -> ::String
362
+ def policy_document: () -> ::String
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#get_resource_policy-instance_method
365
+ def get_resource_policy: (
366
+ resource_arn: ::String
367
+ ) -> _GetResourcePolicyResponseSuccess
368
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
369
+
370
+ interface _ListDashboardsResponseSuccess
371
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDashboardsResponse]
372
+ def dashboards: () -> ::Array[Types::DashboardReference]
373
+ def next_token: () -> ::String
374
+ end
375
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#list_dashboards-instance_method
376
+ def list_dashboards: (
377
+ ?max_results: ::Integer,
378
+ ?next_token: ::String
379
+ ) -> _ListDashboardsResponseSuccess
380
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDashboardsResponseSuccess
381
+
382
+ interface _ListTagsForResourceResponseSuccess
383
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
384
+ def resource_tags: () -> ::Array[Types::ResourceTag]
385
+ end
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#list_tags_for_resource-instance_method
387
+ def list_tags_for_resource: (
388
+ resource_arn: ::String
389
+ ) -> _ListTagsForResourceResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
391
+
392
+ interface _TagResourceResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#tag_resource-instance_method
396
+ def tag_resource: (
397
+ resource_arn: ::String,
398
+ resource_tags: Array[
399
+ {
400
+ key: ::String,
401
+ value: ::String
402
+ },
403
+ ]
404
+ ) -> _TagResourceResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
406
+
407
+ interface _UntagResourceResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#untag_resource-instance_method
411
+ def untag_resource: (
412
+ resource_arn: ::String,
413
+ resource_tag_keys: Array[::String]
414
+ ) -> _UntagResourceResponseSuccess
415
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
416
+
417
+ interface _UpdateDashboardResponseSuccess
418
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDashboardResponse]
419
+ def arn: () -> ::String
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMDashboards/Client.html#update_dashboard-instance_method
422
+ def update_dashboard: (
423
+ arn: ::String,
424
+ ?name: ::String,
425
+ ?description: ::String,
426
+ ?widgets: Array[
427
+ {
428
+ title: ::String,
429
+ description: ::String?,
430
+ width: ::Integer?,
431
+ height: ::Integer?,
432
+ horizontal_offset: ::Integer?,
433
+ configs: Array[
434
+ {
435
+ query_parameters: {
436
+ cost_and_usage: {
437
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")],
438
+ time_range: {
439
+ start_time: {
440
+ type: ("ABSOLUTE" | "RELATIVE"),
441
+ value: ::String
442
+ },
443
+ end_time: {
444
+ type: ("ABSOLUTE" | "RELATIVE"),
445
+ value: ::String
446
+ }
447
+ },
448
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY"),
449
+ group_by: Array[
450
+ {
451
+ key: ::String,
452
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
453
+ },
454
+ ]?,
455
+ filter: {
456
+ or: Array[
457
+ untyped,
458
+ ]?,
459
+ and: Array[
460
+ untyped,
461
+ ]?,
462
+ not: untyped?,
463
+ dimensions: {
464
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
465
+ values: Array[::String],
466
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
467
+ }?,
468
+ tags: {
469
+ key: ::String?,
470
+ values: Array[::String]?,
471
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
472
+ }?,
473
+ cost_categories: {
474
+ key: ::String?,
475
+ values: Array[::String]?,
476
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
477
+ }?
478
+ }?
479
+ }?,
480
+ savings_plans_coverage: {
481
+ time_range: {
482
+ start_time: {
483
+ type: ("ABSOLUTE" | "RELATIVE"),
484
+ value: ::String
485
+ },
486
+ end_time: {
487
+ type: ("ABSOLUTE" | "RELATIVE"),
488
+ value: ::String
489
+ }
490
+ },
491
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]?,
492
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
493
+ group_by: Array[
494
+ {
495
+ key: ::String,
496
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
497
+ },
498
+ ]?,
499
+ filter: {
500
+ or: Array[
501
+ untyped,
502
+ ]?,
503
+ and: Array[
504
+ untyped,
505
+ ]?,
506
+ not: untyped?,
507
+ dimensions: {
508
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
509
+ values: Array[::String],
510
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
511
+ }?,
512
+ tags: {
513
+ key: ::String?,
514
+ values: Array[::String]?,
515
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
516
+ }?,
517
+ cost_categories: {
518
+ key: ::String?,
519
+ values: Array[::String]?,
520
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
521
+ }?
522
+ }?
523
+ }?,
524
+ savings_plans_utilization: {
525
+ time_range: {
526
+ start_time: {
527
+ type: ("ABSOLUTE" | "RELATIVE"),
528
+ value: ::String
529
+ },
530
+ end_time: {
531
+ type: ("ABSOLUTE" | "RELATIVE"),
532
+ value: ::String
533
+ }
534
+ },
535
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
536
+ filter: {
537
+ or: Array[
538
+ untyped,
539
+ ]?,
540
+ and: Array[
541
+ untyped,
542
+ ]?,
543
+ not: untyped?,
544
+ dimensions: {
545
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
546
+ values: Array[::String],
547
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
548
+ }?,
549
+ tags: {
550
+ key: ::String?,
551
+ values: Array[::String]?,
552
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
553
+ }?,
554
+ cost_categories: {
555
+ key: ::String?,
556
+ values: Array[::String]?,
557
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
558
+ }?
559
+ }?
560
+ }?,
561
+ reservation_coverage: {
562
+ time_range: {
563
+ start_time: {
564
+ type: ("ABSOLUTE" | "RELATIVE"),
565
+ value: ::String
566
+ },
567
+ end_time: {
568
+ type: ("ABSOLUTE" | "RELATIVE"),
569
+ value: ::String
570
+ }
571
+ },
572
+ group_by: Array[
573
+ {
574
+ key: ::String,
575
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
576
+ },
577
+ ]?,
578
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
579
+ filter: {
580
+ or: Array[
581
+ untyped,
582
+ ]?,
583
+ and: Array[
584
+ untyped,
585
+ ]?,
586
+ not: untyped?,
587
+ dimensions: {
588
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
589
+ values: Array[::String],
590
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
591
+ }?,
592
+ tags: {
593
+ key: ::String?,
594
+ values: Array[::String]?,
595
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
596
+ }?,
597
+ cost_categories: {
598
+ key: ::String?,
599
+ values: Array[::String]?,
600
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
601
+ }?
602
+ }?,
603
+ metrics: Array[("AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost")]?
604
+ }?,
605
+ reservation_utilization: {
606
+ time_range: {
607
+ start_time: {
608
+ type: ("ABSOLUTE" | "RELATIVE"),
609
+ value: ::String
610
+ },
611
+ end_time: {
612
+ type: ("ABSOLUTE" | "RELATIVE"),
613
+ value: ::String
614
+ }
615
+ },
616
+ group_by: Array[
617
+ {
618
+ key: ::String,
619
+ type: ("DIMENSION" | "TAG" | "COST_CATEGORY")?
620
+ },
621
+ ]?,
622
+ granularity: ("HOURLY" | "DAILY" | "MONTHLY")?,
623
+ filter: {
624
+ or: Array[
625
+ untyped,
626
+ ]?,
627
+ and: Array[
628
+ untyped,
629
+ ]?,
630
+ not: untyped?,
631
+ dimensions: {
632
+ key: ("AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"),
633
+ values: Array[::String],
634
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
635
+ }?,
636
+ tags: {
637
+ key: ::String?,
638
+ values: Array[::String]?,
639
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
640
+ }?,
641
+ cost_categories: {
642
+ key: ::String?,
643
+ values: Array[::String]?,
644
+ match_options: Array[("EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE")]?
645
+ }?
646
+ }?
647
+ }?
648
+ },
649
+ display_config: {
650
+ graph: Hash[::String, {
651
+ visual_type: ("LINE" | "BAR" | "STACK")
652
+ }]?,
653
+ table: {
654
+ }?
655
+ }
656
+ },
657
+ ]
658
+ },
659
+ ]
660
+ ) -> _UpdateDashboardResponseSuccess
661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDashboardResponseSuccess
662
+ end
663
+ end
664
+ end
665
+