aws-sdk-costoptimizationhub 1.6.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +439 -378
- data/lib/aws-sdk-costoptimizationhub/client_api.rb +152 -121
- data/lib/aws-sdk-costoptimizationhub/errors.rb +5 -5
- data/lib/aws-sdk-costoptimizationhub/types.rb +644 -530
- data/lib/aws-sdk-costoptimizationhub/waiters.rb +15 -0
- data/lib/aws-sdk-costoptimizationhub.rb +2 -1
- data/sig/client.rbs +50 -50
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +163 -127
- metadata +5 -4
data/sig/types.rbs
CHANGED
@@ -15,9 +15,9 @@ module Aws::CostOptimizationHub
|
|
15
15
|
|
16
16
|
class AccountEnrollmentStatus
|
17
17
|
attr_accessor account_id: ::String
|
18
|
-
attr_accessor created_timestamp: ::Time
|
19
|
-
attr_accessor last_updated_timestamp: ::Time
|
20
18
|
attr_accessor status: ("Active" | "Inactive")
|
19
|
+
attr_accessor last_updated_timestamp: ::Time
|
20
|
+
attr_accessor created_timestamp: ::Time
|
21
21
|
SENSITIVE: []
|
22
22
|
end
|
23
23
|
|
@@ -28,10 +28,10 @@ module Aws::CostOptimizationHub
|
|
28
28
|
end
|
29
29
|
|
30
30
|
class ComputeConfiguration
|
31
|
-
attr_accessor
|
31
|
+
attr_accessor v_cpu: ::Float
|
32
32
|
attr_accessor memory_size_in_mb: ::Integer
|
33
|
+
attr_accessor architecture: ::String
|
33
34
|
attr_accessor platform: ::String
|
34
|
-
attr_accessor v_cpu: ::Float
|
35
35
|
SENSITIVE: []
|
36
36
|
end
|
37
37
|
|
@@ -43,9 +43,14 @@ module Aws::CostOptimizationHub
|
|
43
43
|
|
44
44
|
class ComputeSavingsPlansConfiguration
|
45
45
|
attr_accessor account_scope: ::String
|
46
|
-
attr_accessor hourly_commitment: ::String
|
47
|
-
attr_accessor payment_option: ::String
|
48
46
|
attr_accessor term: ::String
|
47
|
+
attr_accessor payment_option: ::String
|
48
|
+
attr_accessor hourly_commitment: ::String
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class DbInstanceConfiguration
|
53
|
+
attr_accessor db_instance_class: ::String
|
49
54
|
SENSITIVE: []
|
50
55
|
end
|
51
56
|
|
@@ -56,9 +61,9 @@ module Aws::CostOptimizationHub
|
|
56
61
|
end
|
57
62
|
|
58
63
|
class EbsVolumeConfiguration
|
59
|
-
attr_accessor attachment_state: ::String
|
60
|
-
attr_accessor performance: Types::BlockStoragePerformanceConfiguration
|
61
64
|
attr_accessor storage: Types::StorageConfiguration
|
65
|
+
attr_accessor performance: Types::BlockStoragePerformanceConfiguration
|
66
|
+
attr_accessor attachment_state: ::String
|
62
67
|
SENSITIVE: []
|
63
68
|
end
|
64
69
|
|
@@ -92,11 +97,11 @@ module Aws::CostOptimizationHub
|
|
92
97
|
|
93
98
|
class Ec2InstanceSavingsPlansConfiguration
|
94
99
|
attr_accessor account_scope: ::String
|
100
|
+
attr_accessor term: ::String
|
101
|
+
attr_accessor payment_option: ::String
|
95
102
|
attr_accessor hourly_commitment: ::String
|
96
103
|
attr_accessor instance_family: ::String
|
97
|
-
attr_accessor payment_option: ::String
|
98
104
|
attr_accessor savings_plans_region: ::String
|
99
|
-
attr_accessor term: ::String
|
100
105
|
SENSITIVE: []
|
101
106
|
end
|
102
107
|
|
@@ -108,21 +113,21 @@ module Aws::CostOptimizationHub
|
|
108
113
|
|
109
114
|
class Ec2ReservedInstancesConfiguration
|
110
115
|
attr_accessor account_scope: ::String
|
111
|
-
attr_accessor
|
112
|
-
attr_accessor instance_family: ::String
|
113
|
-
attr_accessor instance_type: ::String
|
114
|
-
attr_accessor monthly_recurring_cost: ::String
|
116
|
+
attr_accessor service: ::String
|
115
117
|
attr_accessor normalized_units_to_purchase: ::String
|
118
|
+
attr_accessor term: ::String
|
119
|
+
attr_accessor payment_option: ::String
|
116
120
|
attr_accessor number_of_instances_to_purchase: ::String
|
117
121
|
attr_accessor offering_class: ::String
|
118
|
-
attr_accessor
|
119
|
-
attr_accessor
|
122
|
+
attr_accessor instance_family: ::String
|
123
|
+
attr_accessor instance_type: ::String
|
120
124
|
attr_accessor reserved_instances_region: ::String
|
121
|
-
attr_accessor
|
122
|
-
attr_accessor
|
125
|
+
attr_accessor current_generation: ::String
|
126
|
+
attr_accessor platform: ::String
|
123
127
|
attr_accessor tenancy: ::String
|
124
|
-
attr_accessor
|
128
|
+
attr_accessor size_flex_eligible: bool
|
125
129
|
attr_accessor upfront_cost: ::String
|
130
|
+
attr_accessor monthly_recurring_cost: ::String
|
126
131
|
SENSITIVE: []
|
127
132
|
end
|
128
133
|
|
@@ -145,40 +150,40 @@ module Aws::CostOptimizationHub
|
|
145
150
|
|
146
151
|
class ElastiCacheReservedInstancesConfiguration
|
147
152
|
attr_accessor account_scope: ::String
|
148
|
-
attr_accessor
|
149
|
-
attr_accessor instance_family: ::String
|
150
|
-
attr_accessor instance_type: ::String
|
151
|
-
attr_accessor monthly_recurring_cost: ::String
|
153
|
+
attr_accessor service: ::String
|
152
154
|
attr_accessor normalized_units_to_purchase: ::String
|
153
|
-
attr_accessor
|
155
|
+
attr_accessor term: ::String
|
154
156
|
attr_accessor payment_option: ::String
|
157
|
+
attr_accessor number_of_instances_to_purchase: ::String
|
158
|
+
attr_accessor instance_family: ::String
|
159
|
+
attr_accessor instance_type: ::String
|
155
160
|
attr_accessor reserved_instances_region: ::String
|
156
|
-
attr_accessor
|
161
|
+
attr_accessor current_generation: ::String
|
157
162
|
attr_accessor size_flex_eligible: bool
|
158
|
-
attr_accessor term: ::String
|
159
163
|
attr_accessor upfront_cost: ::String
|
164
|
+
attr_accessor monthly_recurring_cost: ::String
|
160
165
|
SENSITIVE: []
|
161
166
|
end
|
162
167
|
|
163
168
|
class EstimatedDiscounts
|
164
|
-
attr_accessor other_discount: ::Float
|
165
|
-
attr_accessor reserved_instances_discount: ::Float
|
166
169
|
attr_accessor savings_plans_discount: ::Float
|
170
|
+
attr_accessor reserved_instances_discount: ::Float
|
171
|
+
attr_accessor other_discount: ::Float
|
167
172
|
SENSITIVE: []
|
168
173
|
end
|
169
174
|
|
170
175
|
class Filter
|
171
|
-
attr_accessor account_ids: ::Array[::String]
|
172
|
-
attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")]
|
173
|
-
attr_accessor implementation_efforts: ::Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]
|
174
|
-
attr_accessor recommendation_ids: ::Array[::String]
|
175
|
-
attr_accessor regions: ::Array[::String]
|
176
|
-
attr_accessor resource_arns: ::Array[::String]
|
177
|
-
attr_accessor resource_ids: ::Array[::String]
|
178
|
-
attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances")]
|
179
176
|
attr_accessor restart_needed: bool
|
180
177
|
attr_accessor rollback_possible: bool
|
178
|
+
attr_accessor implementation_efforts: ::Array[("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")]
|
179
|
+
attr_accessor account_ids: ::Array[::String]
|
180
|
+
attr_accessor regions: ::Array[::String]
|
181
|
+
attr_accessor resource_types: ::Array[("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")]
|
182
|
+
attr_accessor action_types: ::Array[("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")]
|
181
183
|
attr_accessor tags: ::Array[Types::Tag]
|
184
|
+
attr_accessor resource_ids: ::Array[::String]
|
185
|
+
attr_accessor resource_arns: ::Array[::String]
|
186
|
+
attr_accessor recommendation_ids: ::Array[::String]
|
182
187
|
SENSITIVE: []
|
183
188
|
end
|
184
189
|
|
@@ -186,8 +191,8 @@ module Aws::CostOptimizationHub
|
|
186
191
|
end
|
187
192
|
|
188
193
|
class GetPreferencesResponse
|
189
|
-
attr_accessor member_account_discount_visibility: ("All" | "None")
|
190
194
|
attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
|
195
|
+
attr_accessor member_account_discount_visibility: ("All" | "None")
|
191
196
|
SENSITIVE: []
|
192
197
|
end
|
193
198
|
|
@@ -197,28 +202,28 @@ module Aws::CostOptimizationHub
|
|
197
202
|
end
|
198
203
|
|
199
204
|
class GetRecommendationResponse
|
205
|
+
attr_accessor recommendation_id: ::String
|
206
|
+
attr_accessor resource_id: ::String
|
207
|
+
attr_accessor resource_arn: ::String
|
200
208
|
attr_accessor account_id: ::String
|
201
|
-
attr_accessor action_type: ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")
|
202
|
-
attr_accessor cost_calculation_lookback_period_in_days: ::Integer
|
203
209
|
attr_accessor currency_code: ::String
|
204
|
-
attr_accessor current_resource_details: Types::ResourceDetails
|
205
|
-
attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances")
|
206
|
-
attr_accessor estimated_monthly_cost: ::Float
|
207
|
-
attr_accessor estimated_monthly_savings: ::Float
|
208
|
-
attr_accessor estimated_savings_over_cost_calculation_lookback_period: ::Float
|
209
|
-
attr_accessor estimated_savings_percentage: ::Float
|
210
|
-
attr_accessor implementation_effort: ("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")
|
211
|
-
attr_accessor last_refresh_timestamp: ::Time
|
212
|
-
attr_accessor recommendation_id: ::String
|
213
210
|
attr_accessor recommendation_lookback_period_in_days: ::Integer
|
214
|
-
attr_accessor
|
215
|
-
attr_accessor
|
211
|
+
attr_accessor cost_calculation_lookback_period_in_days: ::Integer
|
212
|
+
attr_accessor estimated_savings_percentage: ::Float
|
213
|
+
attr_accessor estimated_savings_over_cost_calculation_lookback_period: ::Float
|
214
|
+
attr_accessor current_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")
|
215
|
+
attr_accessor recommended_resource_type: ("Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance")
|
216
216
|
attr_accessor region: ::String
|
217
|
-
attr_accessor
|
218
|
-
attr_accessor
|
217
|
+
attr_accessor source: ("ComputeOptimizer" | "CostExplorer")
|
218
|
+
attr_accessor last_refresh_timestamp: ::Time
|
219
|
+
attr_accessor estimated_monthly_savings: ::Float
|
220
|
+
attr_accessor estimated_monthly_cost: ::Float
|
221
|
+
attr_accessor implementation_effort: ("VeryLow" | "Low" | "Medium" | "High" | "VeryHigh")
|
219
222
|
attr_accessor restart_needed: bool
|
223
|
+
attr_accessor action_type: ("Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton")
|
220
224
|
attr_accessor rollback_possible: bool
|
221
|
-
attr_accessor
|
225
|
+
attr_accessor current_resource_details: Types::ResourceDetails
|
226
|
+
attr_accessor recommended_resource_details: Types::ResourceDetails
|
222
227
|
attr_accessor tags: ::Array[Types::Tag]
|
223
228
|
SENSITIVE: []
|
224
229
|
end
|
@@ -245,16 +250,16 @@ module Aws::CostOptimizationHub
|
|
245
250
|
end
|
246
251
|
|
247
252
|
class ListEnrollmentStatusesRequest
|
248
|
-
attr_accessor account_id: ::String
|
249
253
|
attr_accessor include_organization_info: bool
|
250
|
-
attr_accessor
|
254
|
+
attr_accessor account_id: ::String
|
251
255
|
attr_accessor next_token: ::String
|
256
|
+
attr_accessor max_results: ::Integer
|
252
257
|
SENSITIVE: []
|
253
258
|
end
|
254
259
|
|
255
260
|
class ListEnrollmentStatusesResponse
|
256
|
-
attr_accessor include_member_accounts: bool
|
257
261
|
attr_accessor items: ::Array[Types::AccountEnrollmentStatus]
|
262
|
+
attr_accessor include_member_accounts: bool
|
258
263
|
attr_accessor next_token: ::String
|
259
264
|
SENSITIVE: []
|
260
265
|
end
|
@@ -268,20 +273,20 @@ module Aws::CostOptimizationHub
|
|
268
273
|
end
|
269
274
|
|
270
275
|
class ListRecommendationSummariesResponse
|
271
|
-
attr_accessor currency_code: ::String
|
272
276
|
attr_accessor estimated_total_deduped_savings: ::Float
|
273
|
-
attr_accessor group_by: ::String
|
274
277
|
attr_accessor items: ::Array[Types::RecommendationSummary]
|
278
|
+
attr_accessor group_by: ::String
|
279
|
+
attr_accessor currency_code: ::String
|
275
280
|
attr_accessor next_token: ::String
|
276
281
|
SENSITIVE: []
|
277
282
|
end
|
278
283
|
|
279
284
|
class ListRecommendationsRequest
|
280
285
|
attr_accessor filter: Types::Filter
|
286
|
+
attr_accessor order_by: Types::OrderBy
|
281
287
|
attr_accessor include_all_recommendations: bool
|
282
288
|
attr_accessor max_results: ::Integer
|
283
289
|
attr_accessor next_token: ::String
|
284
|
-
attr_accessor order_by: Types::OrderBy
|
285
290
|
SENSITIVE: []
|
286
291
|
end
|
287
292
|
|
@@ -299,17 +304,17 @@ module Aws::CostOptimizationHub
|
|
299
304
|
|
300
305
|
class OpenSearchReservedInstancesConfiguration
|
301
306
|
attr_accessor account_scope: ::String
|
302
|
-
attr_accessor
|
303
|
-
attr_accessor instance_type: ::String
|
304
|
-
attr_accessor monthly_recurring_cost: ::String
|
307
|
+
attr_accessor service: ::String
|
305
308
|
attr_accessor normalized_units_to_purchase: ::String
|
306
|
-
attr_accessor
|
309
|
+
attr_accessor term: ::String
|
307
310
|
attr_accessor payment_option: ::String
|
311
|
+
attr_accessor number_of_instances_to_purchase: ::String
|
312
|
+
attr_accessor instance_type: ::String
|
308
313
|
attr_accessor reserved_instances_region: ::String
|
309
|
-
attr_accessor
|
314
|
+
attr_accessor current_generation: ::String
|
310
315
|
attr_accessor size_flex_eligible: bool
|
311
|
-
attr_accessor term: ::String
|
312
316
|
attr_accessor upfront_cost: ::String
|
317
|
+
attr_accessor monthly_recurring_cost: ::String
|
313
318
|
SENSITIVE: []
|
314
319
|
end
|
315
320
|
|
@@ -319,6 +324,31 @@ module Aws::CostOptimizationHub
|
|
319
324
|
SENSITIVE: []
|
320
325
|
end
|
321
326
|
|
327
|
+
class RdsDbInstance
|
328
|
+
attr_accessor configuration: Types::RdsDbInstanceConfiguration
|
329
|
+
attr_accessor cost_calculation: Types::ResourceCostCalculation
|
330
|
+
SENSITIVE: []
|
331
|
+
end
|
332
|
+
|
333
|
+
class RdsDbInstanceConfiguration
|
334
|
+
attr_accessor instance: Types::DbInstanceConfiguration
|
335
|
+
SENSITIVE: []
|
336
|
+
end
|
337
|
+
|
338
|
+
class RdsDbInstanceStorage
|
339
|
+
attr_accessor configuration: Types::RdsDbInstanceStorageConfiguration
|
340
|
+
attr_accessor cost_calculation: Types::ResourceCostCalculation
|
341
|
+
SENSITIVE: []
|
342
|
+
end
|
343
|
+
|
344
|
+
class RdsDbInstanceStorageConfiguration
|
345
|
+
attr_accessor storage_type: ::String
|
346
|
+
attr_accessor allocated_storage_in_gb: ::Float
|
347
|
+
attr_accessor iops: ::Float
|
348
|
+
attr_accessor storage_throughput: ::Float
|
349
|
+
SENSITIVE: []
|
350
|
+
end
|
351
|
+
|
322
352
|
class RdsReservedInstances
|
323
353
|
attr_accessor configuration: Types::RdsReservedInstancesConfiguration
|
324
354
|
attr_accessor cost_calculation: Types::ReservedInstancesCostCalculation
|
@@ -327,53 +357,53 @@ module Aws::CostOptimizationHub
|
|
327
357
|
|
328
358
|
class RdsReservedInstancesConfiguration
|
329
359
|
attr_accessor account_scope: ::String
|
330
|
-
attr_accessor
|
331
|
-
attr_accessor database_edition: ::String
|
332
|
-
attr_accessor database_engine: ::String
|
333
|
-
attr_accessor deployment_option: ::String
|
334
|
-
attr_accessor instance_family: ::String
|
335
|
-
attr_accessor instance_type: ::String
|
336
|
-
attr_accessor license_model: ::String
|
337
|
-
attr_accessor monthly_recurring_cost: ::String
|
360
|
+
attr_accessor service: ::String
|
338
361
|
attr_accessor normalized_units_to_purchase: ::String
|
339
|
-
attr_accessor
|
362
|
+
attr_accessor term: ::String
|
340
363
|
attr_accessor payment_option: ::String
|
364
|
+
attr_accessor number_of_instances_to_purchase: ::String
|
365
|
+
attr_accessor instance_family: ::String
|
366
|
+
attr_accessor instance_type: ::String
|
341
367
|
attr_accessor reserved_instances_region: ::String
|
342
|
-
attr_accessor service: ::String
|
343
368
|
attr_accessor size_flex_eligible: bool
|
344
|
-
attr_accessor
|
369
|
+
attr_accessor current_generation: ::String
|
345
370
|
attr_accessor upfront_cost: ::String
|
371
|
+
attr_accessor monthly_recurring_cost: ::String
|
372
|
+
attr_accessor license_model: ::String
|
373
|
+
attr_accessor database_edition: ::String
|
374
|
+
attr_accessor database_engine: ::String
|
375
|
+
attr_accessor deployment_option: ::String
|
346
376
|
SENSITIVE: []
|
347
377
|
end
|
348
378
|
|
349
379
|
class Recommendation
|
380
|
+
attr_accessor recommendation_id: ::String
|
350
381
|
attr_accessor account_id: ::String
|
351
|
-
attr_accessor
|
352
|
-
attr_accessor
|
353
|
-
attr_accessor
|
382
|
+
attr_accessor region: ::String
|
383
|
+
attr_accessor resource_id: ::String
|
384
|
+
attr_accessor resource_arn: ::String
|
354
385
|
attr_accessor current_resource_type: ::String
|
355
|
-
attr_accessor
|
386
|
+
attr_accessor recommended_resource_type: ::String
|
356
387
|
attr_accessor estimated_monthly_savings: ::Float
|
357
388
|
attr_accessor estimated_savings_percentage: ::Float
|
389
|
+
attr_accessor estimated_monthly_cost: ::Float
|
390
|
+
attr_accessor currency_code: ::String
|
358
391
|
attr_accessor implementation_effort: ::String
|
359
|
-
attr_accessor last_refresh_timestamp: ::Time
|
360
|
-
attr_accessor recommendation_id: ::String
|
361
|
-
attr_accessor recommendation_lookback_period_in_days: ::Integer
|
362
|
-
attr_accessor recommended_resource_summary: ::String
|
363
|
-
attr_accessor recommended_resource_type: ::String
|
364
|
-
attr_accessor region: ::String
|
365
|
-
attr_accessor resource_arn: ::String
|
366
|
-
attr_accessor resource_id: ::String
|
367
392
|
attr_accessor restart_needed: bool
|
393
|
+
attr_accessor action_type: ::String
|
368
394
|
attr_accessor rollback_possible: bool
|
395
|
+
attr_accessor current_resource_summary: ::String
|
396
|
+
attr_accessor recommended_resource_summary: ::String
|
397
|
+
attr_accessor last_refresh_timestamp: ::Time
|
398
|
+
attr_accessor recommendation_lookback_period_in_days: ::Integer
|
369
399
|
attr_accessor source: ("ComputeOptimizer" | "CostExplorer")
|
370
400
|
attr_accessor tags: ::Array[Types::Tag]
|
371
401
|
SENSITIVE: []
|
372
402
|
end
|
373
403
|
|
374
404
|
class RecommendationSummary
|
375
|
-
attr_accessor estimated_monthly_savings: ::Float
|
376
405
|
attr_accessor group: ::String
|
406
|
+
attr_accessor estimated_monthly_savings: ::Float
|
377
407
|
attr_accessor recommendation_count: ::Integer
|
378
408
|
SENSITIVE: []
|
379
409
|
end
|
@@ -386,18 +416,18 @@ module Aws::CostOptimizationHub
|
|
386
416
|
|
387
417
|
class RedshiftReservedInstancesConfiguration
|
388
418
|
attr_accessor account_scope: ::String
|
389
|
-
attr_accessor
|
390
|
-
attr_accessor instance_family: ::String
|
391
|
-
attr_accessor instance_type: ::String
|
392
|
-
attr_accessor monthly_recurring_cost: ::String
|
419
|
+
attr_accessor service: ::String
|
393
420
|
attr_accessor normalized_units_to_purchase: ::String
|
394
|
-
attr_accessor
|
421
|
+
attr_accessor term: ::String
|
395
422
|
attr_accessor payment_option: ::String
|
423
|
+
attr_accessor number_of_instances_to_purchase: ::String
|
424
|
+
attr_accessor instance_family: ::String
|
425
|
+
attr_accessor instance_type: ::String
|
396
426
|
attr_accessor reserved_instances_region: ::String
|
397
|
-
attr_accessor service: ::String
|
398
427
|
attr_accessor size_flex_eligible: bool
|
399
|
-
attr_accessor
|
428
|
+
attr_accessor current_generation: ::String
|
400
429
|
attr_accessor upfront_cost: ::String
|
430
|
+
attr_accessor monthly_recurring_cost: ::String
|
401
431
|
SENSITIVE: []
|
402
432
|
end
|
403
433
|
|
@@ -407,62 +437,68 @@ module Aws::CostOptimizationHub
|
|
407
437
|
end
|
408
438
|
|
409
439
|
class ReservedInstancesPricing
|
410
|
-
attr_accessor estimated_monthly_amortized_reservation_cost: ::Float
|
411
440
|
attr_accessor estimated_on_demand_cost: ::Float
|
412
441
|
attr_accessor monthly_reservation_eligible_cost: ::Float
|
413
442
|
attr_accessor savings_percentage: ::Float
|
443
|
+
attr_accessor estimated_monthly_amortized_reservation_cost: ::Float
|
414
444
|
SENSITIVE: []
|
415
445
|
end
|
416
446
|
|
417
447
|
class ResourceCostCalculation
|
418
|
-
attr_accessor pricing: Types::ResourcePricing
|
419
448
|
attr_accessor usages: ::Array[Types::Usage]
|
449
|
+
attr_accessor pricing: Types::ResourcePricing
|
420
450
|
SENSITIVE: []
|
421
451
|
end
|
422
452
|
|
423
453
|
class ResourceDetails
|
424
|
-
attr_accessor
|
454
|
+
attr_accessor lambda_function: Types::LambdaFunction
|
455
|
+
attr_accessor ecs_service: Types::EcsService
|
456
|
+
attr_accessor ec2_instance: Types::Ec2Instance
|
425
457
|
attr_accessor ebs_volume: Types::EbsVolume
|
426
458
|
attr_accessor ec2_auto_scaling_group: Types::Ec2AutoScalingGroup
|
427
|
-
attr_accessor ec2_instance: Types::Ec2Instance
|
428
|
-
attr_accessor ec2_instance_savings_plans: Types::Ec2InstanceSavingsPlans
|
429
459
|
attr_accessor ec2_reserved_instances: Types::Ec2ReservedInstances
|
430
|
-
attr_accessor
|
460
|
+
attr_accessor rds_reserved_instances: Types::RdsReservedInstances
|
431
461
|
attr_accessor elasti_cache_reserved_instances: Types::ElastiCacheReservedInstances
|
432
|
-
attr_accessor lambda_function: Types::LambdaFunction
|
433
462
|
attr_accessor open_search_reserved_instances: Types::OpenSearchReservedInstances
|
434
|
-
attr_accessor rds_reserved_instances: Types::RdsReservedInstances
|
435
463
|
attr_accessor redshift_reserved_instances: Types::RedshiftReservedInstances
|
464
|
+
attr_accessor ec2_instance_savings_plans: Types::Ec2InstanceSavingsPlans
|
465
|
+
attr_accessor compute_savings_plans: Types::ComputeSavingsPlans
|
436
466
|
attr_accessor sage_maker_savings_plans: Types::SageMakerSavingsPlans
|
467
|
+
attr_accessor rds_db_instance: Types::RdsDbInstance
|
468
|
+
attr_accessor rds_db_instance_storage: Types::RdsDbInstanceStorage
|
437
469
|
attr_accessor unknown: untyped
|
438
470
|
SENSITIVE: []
|
439
471
|
|
440
|
-
class
|
441
|
-
end
|
442
|
-
class EbsVolume < ResourceDetails
|
472
|
+
class LambdaFunction < ResourceDetails
|
443
473
|
end
|
444
|
-
class
|
474
|
+
class EcsService < ResourceDetails
|
445
475
|
end
|
446
476
|
class Ec2Instance < ResourceDetails
|
447
477
|
end
|
448
|
-
class
|
478
|
+
class EbsVolume < ResourceDetails
|
479
|
+
end
|
480
|
+
class Ec2AutoScalingGroup < ResourceDetails
|
449
481
|
end
|
450
482
|
class Ec2ReservedInstances < ResourceDetails
|
451
483
|
end
|
452
|
-
class
|
484
|
+
class RdsReservedInstances < ResourceDetails
|
453
485
|
end
|
454
486
|
class ElastiCacheReservedInstances < ResourceDetails
|
455
487
|
end
|
456
|
-
class LambdaFunction < ResourceDetails
|
457
|
-
end
|
458
488
|
class OpenSearchReservedInstances < ResourceDetails
|
459
489
|
end
|
460
|
-
class RdsReservedInstances < ResourceDetails
|
461
|
-
end
|
462
490
|
class RedshiftReservedInstances < ResourceDetails
|
463
491
|
end
|
492
|
+
class Ec2InstanceSavingsPlans < ResourceDetails
|
493
|
+
end
|
494
|
+
class ComputeSavingsPlans < ResourceDetails
|
495
|
+
end
|
464
496
|
class SageMakerSavingsPlans < ResourceDetails
|
465
497
|
end
|
498
|
+
class RdsDbInstance < ResourceDetails
|
499
|
+
end
|
500
|
+
class RdsDbInstanceStorage < ResourceDetails
|
501
|
+
end
|
466
502
|
class Unknown < ResourceDetails
|
467
503
|
end
|
468
504
|
end
|
@@ -474,10 +510,10 @@ module Aws::CostOptimizationHub
|
|
474
510
|
end
|
475
511
|
|
476
512
|
class ResourcePricing
|
477
|
-
attr_accessor estimated_cost_after_discounts: ::Float
|
478
513
|
attr_accessor estimated_cost_before_discounts: ::Float
|
479
|
-
attr_accessor estimated_discounts: Types::EstimatedDiscounts
|
480
514
|
attr_accessor estimated_net_unused_amortized_commitments: ::Float
|
515
|
+
attr_accessor estimated_discounts: Types::EstimatedDiscounts
|
516
|
+
attr_accessor estimated_cost_after_discounts: ::Float
|
481
517
|
SENSITIVE: []
|
482
518
|
end
|
483
519
|
|
@@ -489,9 +525,9 @@ module Aws::CostOptimizationHub
|
|
489
525
|
|
490
526
|
class SageMakerSavingsPlansConfiguration
|
491
527
|
attr_accessor account_scope: ::String
|
492
|
-
attr_accessor hourly_commitment: ::String
|
493
|
-
attr_accessor payment_option: ::String
|
494
528
|
attr_accessor term: ::String
|
529
|
+
attr_accessor payment_option: ::String
|
530
|
+
attr_accessor hourly_commitment: ::String
|
495
531
|
SENSITIVE: []
|
496
532
|
end
|
497
533
|
|
@@ -501,16 +537,16 @@ module Aws::CostOptimizationHub
|
|
501
537
|
end
|
502
538
|
|
503
539
|
class SavingsPlansPricing
|
504
|
-
attr_accessor estimated_monthly_commitment: ::Float
|
505
|
-
attr_accessor estimated_on_demand_cost: ::Float
|
506
540
|
attr_accessor monthly_savings_plans_eligible_cost: ::Float
|
541
|
+
attr_accessor estimated_monthly_commitment: ::Float
|
507
542
|
attr_accessor savings_percentage: ::Float
|
543
|
+
attr_accessor estimated_on_demand_cost: ::Float
|
508
544
|
SENSITIVE: []
|
509
545
|
end
|
510
546
|
|
511
547
|
class StorageConfiguration
|
512
|
-
attr_accessor size_in_gb: ::Float
|
513
548
|
attr_accessor type: ::String
|
549
|
+
attr_accessor size_in_gb: ::Float
|
514
550
|
SENSITIVE: []
|
515
551
|
end
|
516
552
|
|
@@ -526,8 +562,8 @@ module Aws::CostOptimizationHub
|
|
526
562
|
end
|
527
563
|
|
528
564
|
class UpdateEnrollmentStatusRequest
|
529
|
-
attr_accessor include_member_accounts: bool
|
530
565
|
attr_accessor status: ("Active" | "Inactive")
|
566
|
+
attr_accessor include_member_accounts: bool
|
531
567
|
SENSITIVE: []
|
532
568
|
end
|
533
569
|
|
@@ -537,30 +573,30 @@ module Aws::CostOptimizationHub
|
|
537
573
|
end
|
538
574
|
|
539
575
|
class UpdatePreferencesRequest
|
540
|
-
attr_accessor member_account_discount_visibility: ("All" | "None")
|
541
576
|
attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
|
577
|
+
attr_accessor member_account_discount_visibility: ("All" | "None")
|
542
578
|
SENSITIVE: []
|
543
579
|
end
|
544
580
|
|
545
581
|
class UpdatePreferencesResponse
|
546
|
-
attr_accessor member_account_discount_visibility: ("All" | "None")
|
547
582
|
attr_accessor savings_estimation_mode: ("BeforeDiscounts" | "AfterDiscounts")
|
583
|
+
attr_accessor member_account_discount_visibility: ("All" | "None")
|
548
584
|
SENSITIVE: []
|
549
585
|
end
|
550
586
|
|
551
587
|
class Usage
|
588
|
+
attr_accessor usage_type: ::String
|
589
|
+
attr_accessor usage_amount: ::Float
|
552
590
|
attr_accessor operation: ::String
|
553
591
|
attr_accessor product_code: ::String
|
554
592
|
attr_accessor unit: ::String
|
555
|
-
attr_accessor usage_amount: ::Float
|
556
|
-
attr_accessor usage_type: ::String
|
557
593
|
SENSITIVE: []
|
558
594
|
end
|
559
595
|
|
560
596
|
class ValidationException
|
561
|
-
attr_accessor fields: ::Array[Types::ValidationExceptionDetail]
|
562
597
|
attr_accessor message: ::String
|
563
598
|
attr_accessor reason: ("FieldValidationFailed" | "Other")
|
599
|
+
attr_accessor fields: ::Array[Types::ValidationExceptionDetail]
|
564
600
|
SENSITIVE: []
|
565
601
|
end
|
566
602
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-costoptimizationhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.198.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.198.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- lib/aws-sdk-costoptimizationhub/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-costoptimizationhub/resource.rb
|
68
68
|
- lib/aws-sdk-costoptimizationhub/types.rb
|
69
|
+
- lib/aws-sdk-costoptimizationhub/waiters.rb
|
69
70
|
- sig/client.rbs
|
70
71
|
- sig/errors.rbs
|
71
72
|
- sig/resource.rbs
|