aws-sdk-costoptimizationhub 1.21.0 → 1.23.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costoptimizationhub/client.rb +133 -73
- data/lib/aws-sdk-costoptimizationhub/client_api.rb +62 -20
- data/lib/aws-sdk-costoptimizationhub/types.rb +326 -125
- data/lib/aws-sdk-costoptimizationhub.rb +1 -1
- data/sig/client.rbs +4 -4
- data/sig/types.rbs +71 -23
- metadata +2 -2
@@ -129,7 +129,7 @@ module Aws::CostOptimizationHub
|
|
129
129
|
# The Compute Savings Plans configuration used for recommendations.
|
130
130
|
#
|
131
131
|
# @!attribute [rw] account_scope
|
132
|
-
# The account scope
|
132
|
+
# The account scope for which you want recommendations. Amazon Web
|
133
133
|
# Services calculates recommendations including the management account
|
134
134
|
# and member accounts if the value is set to `PAYER`. If the value is
|
135
135
|
# `LINKED`, recommendations are calculated for individual member
|
@@ -173,6 +173,82 @@ module Aws::CostOptimizationHub
|
|
173
173
|
include Aws::Structure
|
174
174
|
end
|
175
175
|
|
176
|
+
# The DynamoDB reserved capacity recommendation details.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] configuration
|
179
|
+
# The DynamoDB reserved capacity configuration used for
|
180
|
+
# recommendations.
|
181
|
+
# @return [Types::DynamoDbReservedCapacityConfiguration]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] cost_calculation
|
184
|
+
# Cost impact of the purchase recommendation.
|
185
|
+
# @return [Types::ReservedInstancesCostCalculation]
|
186
|
+
#
|
187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/DynamoDbReservedCapacity AWS API Documentation
|
188
|
+
#
|
189
|
+
class DynamoDbReservedCapacity < Struct.new(
|
190
|
+
:configuration,
|
191
|
+
:cost_calculation)
|
192
|
+
SENSITIVE = []
|
193
|
+
include Aws::Structure
|
194
|
+
end
|
195
|
+
|
196
|
+
# The DynamoDB reserved capacity configuration used for recommendations.
|
197
|
+
#
|
198
|
+
# @!attribute [rw] account_scope
|
199
|
+
# The account scope for which you want recommendations.
|
200
|
+
# @return [String]
|
201
|
+
#
|
202
|
+
# @!attribute [rw] service
|
203
|
+
# The service for which you want recommendations.
|
204
|
+
# @return [String]
|
205
|
+
#
|
206
|
+
# @!attribute [rw] term
|
207
|
+
# The reserved capacity recommendation term in years.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @!attribute [rw] payment_option
|
211
|
+
# The payment option for the commitment.
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] reserved_instances_region
|
215
|
+
# The Amazon Web Services Region of the commitment.
|
216
|
+
# @return [String]
|
217
|
+
#
|
218
|
+
# @!attribute [rw] upfront_cost
|
219
|
+
# How much purchasing this reserved capacity costs you upfront.
|
220
|
+
# @return [String]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] monthly_recurring_cost
|
223
|
+
# How much purchasing this reserved capacity costs you on a monthly
|
224
|
+
# basis.
|
225
|
+
# @return [String]
|
226
|
+
#
|
227
|
+
# @!attribute [rw] number_of_capacity_units_to_purchase
|
228
|
+
# The number of reserved capacity units that Amazon Web Services
|
229
|
+
# recommends that you purchase.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] capacity_units
|
233
|
+
# The capacity unit of the recommended reservation.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/DynamoDbReservedCapacityConfiguration AWS API Documentation
|
237
|
+
#
|
238
|
+
class DynamoDbReservedCapacityConfiguration < Struct.new(
|
239
|
+
:account_scope,
|
240
|
+
:service,
|
241
|
+
:term,
|
242
|
+
:payment_option,
|
243
|
+
:reserved_instances_region,
|
244
|
+
:upfront_cost,
|
245
|
+
:monthly_recurring_cost,
|
246
|
+
:number_of_capacity_units_to_purchase,
|
247
|
+
:capacity_units)
|
248
|
+
SENSITIVE = []
|
249
|
+
include Aws::Structure
|
250
|
+
end
|
251
|
+
|
176
252
|
# Describes the Amazon Elastic Block Store volume configuration of the
|
177
253
|
# current and recommended resource configuration for a recommendation.
|
178
254
|
#
|
@@ -328,7 +404,7 @@ module Aws::CostOptimizationHub
|
|
328
404
|
# The EC2 instance Savings Plans configuration used for recommendations.
|
329
405
|
#
|
330
406
|
# @!attribute [rw] account_scope
|
331
|
-
# The account scope
|
407
|
+
# The account scope for which you want recommendations.
|
332
408
|
# @return [String]
|
333
409
|
#
|
334
410
|
# @!attribute [rw] term
|
@@ -386,16 +462,11 @@ module Aws::CostOptimizationHub
|
|
386
462
|
# The EC2 reserved instances configuration used for recommendations.
|
387
463
|
#
|
388
464
|
# @!attribute [rw] account_scope
|
389
|
-
# The account scope
|
465
|
+
# The account scope for which you want recommendations.
|
390
466
|
# @return [String]
|
391
467
|
#
|
392
468
|
# @!attribute [rw] service
|
393
|
-
# The service
|
394
|
-
# @return [String]
|
395
|
-
#
|
396
|
-
# @!attribute [rw] normalized_units_to_purchase
|
397
|
-
# The number of normalized units that Amazon Web Services recommends
|
398
|
-
# that you purchase.
|
469
|
+
# The service for which you want recommendations.
|
399
470
|
# @return [String]
|
400
471
|
#
|
401
472
|
# @!attribute [rw] term
|
@@ -406,6 +477,24 @@ module Aws::CostOptimizationHub
|
|
406
477
|
# The payment option for the commitment.
|
407
478
|
# @return [String]
|
408
479
|
#
|
480
|
+
# @!attribute [rw] reserved_instances_region
|
481
|
+
# The Amazon Web Services Region of the commitment.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] upfront_cost
|
485
|
+
# How much purchasing this instance costs you upfront.
|
486
|
+
# @return [String]
|
487
|
+
#
|
488
|
+
# @!attribute [rw] monthly_recurring_cost
|
489
|
+
# How much purchasing these reserved instances costs you on a monthly
|
490
|
+
# basis.
|
491
|
+
# @return [String]
|
492
|
+
#
|
493
|
+
# @!attribute [rw] normalized_units_to_purchase
|
494
|
+
# The number of normalized units that Amazon Web Services recommends
|
495
|
+
# that you purchase.
|
496
|
+
# @return [String]
|
497
|
+
#
|
409
498
|
# @!attribute [rw] number_of_instances_to_purchase
|
410
499
|
# The number of instances that Amazon Web Services recommends that you
|
411
500
|
# purchase.
|
@@ -424,10 +513,6 @@ module Aws::CostOptimizationHub
|
|
424
513
|
# The type of instance that Amazon Web Services recommends.
|
425
514
|
# @return [String]
|
426
515
|
#
|
427
|
-
# @!attribute [rw] reserved_instances_region
|
428
|
-
# The Amazon Web Services Region of the commitment.
|
429
|
-
# @return [String]
|
430
|
-
#
|
431
516
|
# @!attribute [rw] current_generation
|
432
517
|
# Determines whether the recommendation is for a current generation
|
433
518
|
# instance.
|
@@ -448,33 +533,25 @@ module Aws::CostOptimizationHub
|
|
448
533
|
# Determines whether the recommendation is size flexible.
|
449
534
|
# @return [Boolean]
|
450
535
|
#
|
451
|
-
# @!attribute [rw] upfront_cost
|
452
|
-
# How much purchasing this instance costs you upfront.
|
453
|
-
# @return [String]
|
454
|
-
#
|
455
|
-
# @!attribute [rw] monthly_recurring_cost
|
456
|
-
# How much purchasing reserved instances costs you on a monthly basis.
|
457
|
-
# @return [String]
|
458
|
-
#
|
459
536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/Ec2ReservedInstancesConfiguration AWS API Documentation
|
460
537
|
#
|
461
538
|
class Ec2ReservedInstancesConfiguration < Struct.new(
|
462
539
|
:account_scope,
|
463
540
|
:service,
|
464
|
-
:normalized_units_to_purchase,
|
465
541
|
:term,
|
466
542
|
:payment_option,
|
543
|
+
:reserved_instances_region,
|
544
|
+
:upfront_cost,
|
545
|
+
:monthly_recurring_cost,
|
546
|
+
:normalized_units_to_purchase,
|
467
547
|
:number_of_instances_to_purchase,
|
468
548
|
:offering_class,
|
469
549
|
:instance_family,
|
470
550
|
:instance_type,
|
471
|
-
:reserved_instances_region,
|
472
551
|
:current_generation,
|
473
552
|
:platform,
|
474
553
|
:tenancy,
|
475
|
-
:size_flex_eligible
|
476
|
-
:upfront_cost,
|
477
|
-
:monthly_recurring_cost)
|
554
|
+
:size_flex_eligible)
|
478
555
|
SENSITIVE = []
|
479
556
|
include Aws::Structure
|
480
557
|
end
|
@@ -536,16 +613,11 @@ module Aws::CostOptimizationHub
|
|
536
613
|
# recommendations.
|
537
614
|
#
|
538
615
|
# @!attribute [rw] account_scope
|
539
|
-
# The account scope
|
616
|
+
# The account scope for which you want recommendations.
|
540
617
|
# @return [String]
|
541
618
|
#
|
542
619
|
# @!attribute [rw] service
|
543
|
-
# The service
|
544
|
-
# @return [String]
|
545
|
-
#
|
546
|
-
# @!attribute [rw] normalized_units_to_purchase
|
547
|
-
# The number of normalized units that Amazon Web Services recommends
|
548
|
-
# that you purchase.
|
620
|
+
# The service for which you want recommendations.
|
549
621
|
# @return [String]
|
550
622
|
#
|
551
623
|
# @!attribute [rw] term
|
@@ -556,6 +628,24 @@ module Aws::CostOptimizationHub
|
|
556
628
|
# The payment option for the commitment.
|
557
629
|
# @return [String]
|
558
630
|
#
|
631
|
+
# @!attribute [rw] reserved_instances_region
|
632
|
+
# The Amazon Web Services Region of the commitment.
|
633
|
+
# @return [String]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] upfront_cost
|
636
|
+
# How much purchasing this instance costs you upfront.
|
637
|
+
# @return [String]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] monthly_recurring_cost
|
640
|
+
# How much purchasing these reserved instances costs you on a monthly
|
641
|
+
# basis.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] normalized_units_to_purchase
|
645
|
+
# The number of normalized units that Amazon Web Services recommends
|
646
|
+
# that you purchase.
|
647
|
+
# @return [String]
|
648
|
+
#
|
559
649
|
# @!attribute [rw] number_of_instances_to_purchase
|
560
650
|
# The number of instances that Amazon Web Services recommends that you
|
561
651
|
# purchase.
|
@@ -569,10 +659,6 @@ module Aws::CostOptimizationHub
|
|
569
659
|
# The type of instance that Amazon Web Services recommends.
|
570
660
|
# @return [String]
|
571
661
|
#
|
572
|
-
# @!attribute [rw] reserved_instances_region
|
573
|
-
# The Amazon Web Services Region of the commitment.
|
574
|
-
# @return [String]
|
575
|
-
#
|
576
662
|
# @!attribute [rw] current_generation
|
577
663
|
# Determines whether the recommendation is for a current generation
|
578
664
|
# instance.
|
@@ -582,30 +668,22 @@ module Aws::CostOptimizationHub
|
|
582
668
|
# Determines whether the recommendation is size flexible.
|
583
669
|
# @return [Boolean]
|
584
670
|
#
|
585
|
-
# @!attribute [rw] upfront_cost
|
586
|
-
# How much purchasing this instance costs you upfront.
|
587
|
-
# @return [String]
|
588
|
-
#
|
589
|
-
# @!attribute [rw] monthly_recurring_cost
|
590
|
-
# How much purchasing reserved instances costs you on a monthly basis.
|
591
|
-
# @return [String]
|
592
|
-
#
|
593
671
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ElastiCacheReservedInstancesConfiguration AWS API Documentation
|
594
672
|
#
|
595
673
|
class ElastiCacheReservedInstancesConfiguration < Struct.new(
|
596
674
|
:account_scope,
|
597
675
|
:service,
|
598
|
-
:normalized_units_to_purchase,
|
599
676
|
:term,
|
600
677
|
:payment_option,
|
678
|
+
:reserved_instances_region,
|
679
|
+
:upfront_cost,
|
680
|
+
:monthly_recurring_cost,
|
681
|
+
:normalized_units_to_purchase,
|
601
682
|
:number_of_instances_to_purchase,
|
602
683
|
:instance_family,
|
603
684
|
:instance_type,
|
604
|
-
:reserved_instances_region,
|
605
685
|
:current_generation,
|
606
|
-
:size_flex_eligible
|
607
|
-
:upfront_cost,
|
608
|
-
:monthly_recurring_cost)
|
686
|
+
:size_flex_eligible)
|
609
687
|
SENSITIVE = []
|
610
688
|
include Aws::Structure
|
611
689
|
end
|
@@ -653,7 +731,7 @@ module Aws::CostOptimizationHub
|
|
653
731
|
# @return [Array<String>]
|
654
732
|
#
|
655
733
|
# @!attribute [rw] account_ids
|
656
|
-
# The account
|
734
|
+
# The account to which the recommendation applies.
|
657
735
|
# @return [Array<String>]
|
658
736
|
#
|
659
737
|
# @!attribute [rw] regions
|
@@ -752,7 +830,7 @@ module Aws::CostOptimizationHub
|
|
752
830
|
# @return [String]
|
753
831
|
#
|
754
832
|
# @!attribute [rw] account_id
|
755
|
-
# The account
|
833
|
+
# The account to which the recommendation applies.
|
756
834
|
# @return [String]
|
757
835
|
#
|
758
836
|
# @!attribute [rw] currency_code
|
@@ -1104,6 +1182,115 @@ module Aws::CostOptimizationHub
|
|
1104
1182
|
include Aws::Structure
|
1105
1183
|
end
|
1106
1184
|
|
1185
|
+
# The MemoryDB reserved instances recommendation details.
|
1186
|
+
#
|
1187
|
+
# <note markdown="1"> MemoryDB reserved instances are referred to as "MemoryDB reserved
|
1188
|
+
# nodes" in customer-facing documentation.
|
1189
|
+
#
|
1190
|
+
# </note>
|
1191
|
+
#
|
1192
|
+
# @!attribute [rw] configuration
|
1193
|
+
# The MemoryDB reserved instances configuration used for
|
1194
|
+
# recommendations.
|
1195
|
+
# @return [Types::MemoryDbReservedInstancesConfiguration]
|
1196
|
+
#
|
1197
|
+
# @!attribute [rw] cost_calculation
|
1198
|
+
# Cost impact of the purchase recommendation.
|
1199
|
+
# @return [Types::ReservedInstancesCostCalculation]
|
1200
|
+
#
|
1201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/MemoryDbReservedInstances AWS API Documentation
|
1202
|
+
#
|
1203
|
+
class MemoryDbReservedInstances < Struct.new(
|
1204
|
+
:configuration,
|
1205
|
+
:cost_calculation)
|
1206
|
+
SENSITIVE = []
|
1207
|
+
include Aws::Structure
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
# The MemoryDB reserved instances configuration used for
|
1211
|
+
# recommendations.
|
1212
|
+
#
|
1213
|
+
# <note markdown="1"> MemoryDB reserved instances are referred to as "MemoryDB reserved
|
1214
|
+
# nodes" in customer-facing documentation.
|
1215
|
+
#
|
1216
|
+
# </note>
|
1217
|
+
#
|
1218
|
+
# @!attribute [rw] account_scope
|
1219
|
+
# The account scope for which you want recommendations.
|
1220
|
+
# @return [String]
|
1221
|
+
#
|
1222
|
+
# @!attribute [rw] service
|
1223
|
+
# The service for which you want recommendations.
|
1224
|
+
# @return [String]
|
1225
|
+
#
|
1226
|
+
# @!attribute [rw] term
|
1227
|
+
# The reserved instances recommendation term in years.
|
1228
|
+
# @return [String]
|
1229
|
+
#
|
1230
|
+
# @!attribute [rw] payment_option
|
1231
|
+
# The payment option for the commitment.
|
1232
|
+
# @return [String]
|
1233
|
+
#
|
1234
|
+
# @!attribute [rw] reserved_instances_region
|
1235
|
+
# The Amazon Web Services Region of the commitment.
|
1236
|
+
# @return [String]
|
1237
|
+
#
|
1238
|
+
# @!attribute [rw] upfront_cost
|
1239
|
+
# How much purchasing these reserved instances costs you upfront.
|
1240
|
+
# @return [String]
|
1241
|
+
#
|
1242
|
+
# @!attribute [rw] monthly_recurring_cost
|
1243
|
+
# How much purchasing these reserved instances costs you on a monthly
|
1244
|
+
# basis.
|
1245
|
+
# @return [String]
|
1246
|
+
#
|
1247
|
+
# @!attribute [rw] normalized_units_to_purchase
|
1248
|
+
# The number of normalized units that Amazon Web Services recommends
|
1249
|
+
# that you purchase.
|
1250
|
+
# @return [String]
|
1251
|
+
#
|
1252
|
+
# @!attribute [rw] number_of_instances_to_purchase
|
1253
|
+
# The number of instances that Amazon Web Services recommends that you
|
1254
|
+
# purchase.
|
1255
|
+
# @return [String]
|
1256
|
+
#
|
1257
|
+
# @!attribute [rw] instance_type
|
1258
|
+
# The type of instance that Amazon Web Services recommends.
|
1259
|
+
# @return [String]
|
1260
|
+
#
|
1261
|
+
# @!attribute [rw] instance_family
|
1262
|
+
# The instance family of the recommended reservation.
|
1263
|
+
# @return [String]
|
1264
|
+
#
|
1265
|
+
# @!attribute [rw] size_flex_eligible
|
1266
|
+
# Determines whether the recommendation is size flexible.
|
1267
|
+
# @return [Boolean]
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] current_generation
|
1270
|
+
# Determines whether the recommendation is for a current generation
|
1271
|
+
# instance.
|
1272
|
+
# @return [String]
|
1273
|
+
#
|
1274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/MemoryDbReservedInstancesConfiguration AWS API Documentation
|
1275
|
+
#
|
1276
|
+
class MemoryDbReservedInstancesConfiguration < Struct.new(
|
1277
|
+
:account_scope,
|
1278
|
+
:service,
|
1279
|
+
:term,
|
1280
|
+
:payment_option,
|
1281
|
+
:reserved_instances_region,
|
1282
|
+
:upfront_cost,
|
1283
|
+
:monthly_recurring_cost,
|
1284
|
+
:normalized_units_to_purchase,
|
1285
|
+
:number_of_instances_to_purchase,
|
1286
|
+
:instance_type,
|
1287
|
+
:instance_family,
|
1288
|
+
:size_flex_eligible,
|
1289
|
+
:current_generation)
|
1290
|
+
SENSITIVE = []
|
1291
|
+
include Aws::Structure
|
1292
|
+
end
|
1293
|
+
|
1107
1294
|
# The configuration for the EC2 Auto Scaling group with mixed instance
|
1108
1295
|
# types.
|
1109
1296
|
#
|
@@ -1143,16 +1330,11 @@ module Aws::CostOptimizationHub
|
|
1143
1330
|
# recommendations.
|
1144
1331
|
#
|
1145
1332
|
# @!attribute [rw] account_scope
|
1146
|
-
# The account scope
|
1333
|
+
# The account scope for which you want recommendations.
|
1147
1334
|
# @return [String]
|
1148
1335
|
#
|
1149
1336
|
# @!attribute [rw] service
|
1150
|
-
# The service
|
1151
|
-
# @return [String]
|
1152
|
-
#
|
1153
|
-
# @!attribute [rw] normalized_units_to_purchase
|
1154
|
-
# The number of normalized units that Amazon Web Services recommends
|
1155
|
-
# that you purchase.
|
1337
|
+
# The service for which you want recommendations.
|
1156
1338
|
# @return [String]
|
1157
1339
|
#
|
1158
1340
|
# @!attribute [rw] term
|
@@ -1163,6 +1345,24 @@ module Aws::CostOptimizationHub
|
|
1163
1345
|
# The payment option for the commitment.
|
1164
1346
|
# @return [String]
|
1165
1347
|
#
|
1348
|
+
# @!attribute [rw] reserved_instances_region
|
1349
|
+
# The Amazon Web Services Region of the commitment.
|
1350
|
+
# @return [String]
|
1351
|
+
#
|
1352
|
+
# @!attribute [rw] upfront_cost
|
1353
|
+
# How much purchasing this instance costs you upfront.
|
1354
|
+
# @return [String]
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] monthly_recurring_cost
|
1357
|
+
# How much purchasing these reserved instances costs you on a monthly
|
1358
|
+
# basis.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @!attribute [rw] normalized_units_to_purchase
|
1362
|
+
# The number of normalized units that Amazon Web Services recommends
|
1363
|
+
# that you purchase.
|
1364
|
+
# @return [String]
|
1365
|
+
#
|
1166
1366
|
# @!attribute [rw] number_of_instances_to_purchase
|
1167
1367
|
# The number of instances that Amazon Web Services recommends that you
|
1168
1368
|
# purchase.
|
@@ -1172,10 +1372,6 @@ module Aws::CostOptimizationHub
|
|
1172
1372
|
# The type of instance that Amazon Web Services recommends.
|
1173
1373
|
# @return [String]
|
1174
1374
|
#
|
1175
|
-
# @!attribute [rw] reserved_instances_region
|
1176
|
-
# The Amazon Web Services Region of the commitment.
|
1177
|
-
# @return [String]
|
1178
|
-
#
|
1179
1375
|
# @!attribute [rw] current_generation
|
1180
1376
|
# Determines whether the recommendation is for a current generation
|
1181
1377
|
# instance.
|
@@ -1185,29 +1381,21 @@ module Aws::CostOptimizationHub
|
|
1185
1381
|
# Determines whether the recommendation is size flexible.
|
1186
1382
|
# @return [Boolean]
|
1187
1383
|
#
|
1188
|
-
# @!attribute [rw] upfront_cost
|
1189
|
-
# How much purchasing this instance costs you upfront.
|
1190
|
-
# @return [String]
|
1191
|
-
#
|
1192
|
-
# @!attribute [rw] monthly_recurring_cost
|
1193
|
-
# How much purchasing reserved instances costs you on a monthly basis.
|
1194
|
-
# @return [String]
|
1195
|
-
#
|
1196
1384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/OpenSearchReservedInstancesConfiguration AWS API Documentation
|
1197
1385
|
#
|
1198
1386
|
class OpenSearchReservedInstancesConfiguration < Struct.new(
|
1199
1387
|
:account_scope,
|
1200
1388
|
:service,
|
1201
|
-
:normalized_units_to_purchase,
|
1202
1389
|
:term,
|
1203
1390
|
:payment_option,
|
1391
|
+
:reserved_instances_region,
|
1392
|
+
:upfront_cost,
|
1393
|
+
:monthly_recurring_cost,
|
1394
|
+
:normalized_units_to_purchase,
|
1204
1395
|
:number_of_instances_to_purchase,
|
1205
1396
|
:instance_type,
|
1206
|
-
:reserved_instances_region,
|
1207
1397
|
:current_generation,
|
1208
|
-
:size_flex_eligible
|
1209
|
-
:upfront_cost,
|
1210
|
-
:monthly_recurring_cost)
|
1398
|
+
:size_flex_eligible)
|
1211
1399
|
SENSITIVE = []
|
1212
1400
|
include Aws::Structure
|
1213
1401
|
end
|
@@ -1337,16 +1525,11 @@ module Aws::CostOptimizationHub
|
|
1337
1525
|
# The RDS reserved instances configuration used for recommendations.
|
1338
1526
|
#
|
1339
1527
|
# @!attribute [rw] account_scope
|
1340
|
-
# The account scope
|
1528
|
+
# The account scope for which you want recommendations.
|
1341
1529
|
# @return [String]
|
1342
1530
|
#
|
1343
1531
|
# @!attribute [rw] service
|
1344
|
-
# The service
|
1345
|
-
# @return [String]
|
1346
|
-
#
|
1347
|
-
# @!attribute [rw] normalized_units_to_purchase
|
1348
|
-
# The number of normalized units that Amazon Web Services recommends
|
1349
|
-
# that you purchase.
|
1532
|
+
# The service for which you want recommendations.
|
1350
1533
|
# @return [String]
|
1351
1534
|
#
|
1352
1535
|
# @!attribute [rw] term
|
@@ -1357,6 +1540,23 @@ module Aws::CostOptimizationHub
|
|
1357
1540
|
# The payment option for the commitment.
|
1358
1541
|
# @return [String]
|
1359
1542
|
#
|
1543
|
+
# @!attribute [rw] reserved_instances_region
|
1544
|
+
# The Amazon Web Services Region of the commitment.
|
1545
|
+
# @return [String]
|
1546
|
+
#
|
1547
|
+
# @!attribute [rw] upfront_cost
|
1548
|
+
# How much purchasing this instance costs you upfront.
|
1549
|
+
# @return [String]
|
1550
|
+
#
|
1551
|
+
# @!attribute [rw] monthly_recurring_cost
|
1552
|
+
# How much purchasing this instance costs you on a monthly basis.
|
1553
|
+
# @return [String]
|
1554
|
+
#
|
1555
|
+
# @!attribute [rw] normalized_units_to_purchase
|
1556
|
+
# The number of normalized units that Amazon Web Services recommends
|
1557
|
+
# that you purchase.
|
1558
|
+
# @return [String]
|
1559
|
+
#
|
1360
1560
|
# @!attribute [rw] number_of_instances_to_purchase
|
1361
1561
|
# The number of instances that Amazon Web Services recommends that you
|
1362
1562
|
# purchase.
|
@@ -1370,10 +1570,6 @@ module Aws::CostOptimizationHub
|
|
1370
1570
|
# The type of instance that Amazon Web Services recommends.
|
1371
1571
|
# @return [String]
|
1372
1572
|
#
|
1373
|
-
# @!attribute [rw] reserved_instances_region
|
1374
|
-
# The Amazon Web Services Region of the commitment.
|
1375
|
-
# @return [String]
|
1376
|
-
#
|
1377
1573
|
# @!attribute [rw] size_flex_eligible
|
1378
1574
|
# Determines whether the recommendation is size flexible.
|
1379
1575
|
# @return [Boolean]
|
@@ -1383,14 +1579,6 @@ module Aws::CostOptimizationHub
|
|
1383
1579
|
# instance.
|
1384
1580
|
# @return [String]
|
1385
1581
|
#
|
1386
|
-
# @!attribute [rw] upfront_cost
|
1387
|
-
# How much purchasing this instance costs you upfront.
|
1388
|
-
# @return [String]
|
1389
|
-
#
|
1390
|
-
# @!attribute [rw] monthly_recurring_cost
|
1391
|
-
# How much purchasing this instance costs you on a monthly basis.
|
1392
|
-
# @return [String]
|
1393
|
-
#
|
1394
1582
|
# @!attribute [rw] license_model
|
1395
1583
|
# The license model that the recommended reservation supports.
|
1396
1584
|
# @return [String]
|
@@ -1414,17 +1602,17 @@ module Aws::CostOptimizationHub
|
|
1414
1602
|
class RdsReservedInstancesConfiguration < Struct.new(
|
1415
1603
|
:account_scope,
|
1416
1604
|
:service,
|
1417
|
-
:normalized_units_to_purchase,
|
1418
1605
|
:term,
|
1419
1606
|
:payment_option,
|
1607
|
+
:reserved_instances_region,
|
1608
|
+
:upfront_cost,
|
1609
|
+
:monthly_recurring_cost,
|
1610
|
+
:normalized_units_to_purchase,
|
1420
1611
|
:number_of_instances_to_purchase,
|
1421
1612
|
:instance_family,
|
1422
1613
|
:instance_type,
|
1423
|
-
:reserved_instances_region,
|
1424
1614
|
:size_flex_eligible,
|
1425
1615
|
:current_generation,
|
1426
|
-
:upfront_cost,
|
1427
|
-
:monthly_recurring_cost,
|
1428
1616
|
:license_model,
|
1429
1617
|
:database_edition,
|
1430
1618
|
:database_engine,
|
@@ -1440,7 +1628,7 @@ module Aws::CostOptimizationHub
|
|
1440
1628
|
# @return [String]
|
1441
1629
|
#
|
1442
1630
|
# @!attribute [rw] account_id
|
1443
|
-
# The account
|
1631
|
+
# The account to which the recommendation applies.
|
1444
1632
|
# @return [String]
|
1445
1633
|
#
|
1446
1634
|
# @!attribute [rw] region
|
@@ -1600,16 +1788,11 @@ module Aws::CostOptimizationHub
|
|
1600
1788
|
# recommendations.
|
1601
1789
|
#
|
1602
1790
|
# @!attribute [rw] account_scope
|
1603
|
-
# The account scope
|
1791
|
+
# The account scope for which you want recommendations.
|
1604
1792
|
# @return [String]
|
1605
1793
|
#
|
1606
1794
|
# @!attribute [rw] service
|
1607
|
-
# The service
|
1608
|
-
# @return [String]
|
1609
|
-
#
|
1610
|
-
# @!attribute [rw] normalized_units_to_purchase
|
1611
|
-
# The number of normalized units that Amazon Web Services recommends
|
1612
|
-
# that you purchase.
|
1795
|
+
# The service for which you want recommendations.
|
1613
1796
|
# @return [String]
|
1614
1797
|
#
|
1615
1798
|
# @!attribute [rw] term
|
@@ -1620,6 +1803,24 @@ module Aws::CostOptimizationHub
|
|
1620
1803
|
# The payment option for the commitment.
|
1621
1804
|
# @return [String]
|
1622
1805
|
#
|
1806
|
+
# @!attribute [rw] reserved_instances_region
|
1807
|
+
# The Amazon Web Services Region of the commitment.
|
1808
|
+
# @return [String]
|
1809
|
+
#
|
1810
|
+
# @!attribute [rw] upfront_cost
|
1811
|
+
# How much purchasing this instance costs you upfront.
|
1812
|
+
# @return [String]
|
1813
|
+
#
|
1814
|
+
# @!attribute [rw] monthly_recurring_cost
|
1815
|
+
# How much purchasing these reserved instances costs you on a monthly
|
1816
|
+
# basis.
|
1817
|
+
# @return [String]
|
1818
|
+
#
|
1819
|
+
# @!attribute [rw] normalized_units_to_purchase
|
1820
|
+
# The number of normalized units that Amazon Web Services recommends
|
1821
|
+
# that you purchase.
|
1822
|
+
# @return [String]
|
1823
|
+
#
|
1623
1824
|
# @!attribute [rw] number_of_instances_to_purchase
|
1624
1825
|
# The number of instances that Amazon Web Services recommends that you
|
1625
1826
|
# purchase.
|
@@ -1633,10 +1834,6 @@ module Aws::CostOptimizationHub
|
|
1633
1834
|
# The type of instance that Amazon Web Services recommends.
|
1634
1835
|
# @return [String]
|
1635
1836
|
#
|
1636
|
-
# @!attribute [rw] reserved_instances_region
|
1637
|
-
# The Amazon Web Services Region of the commitment.
|
1638
|
-
# @return [String]
|
1639
|
-
#
|
1640
1837
|
# @!attribute [rw] size_flex_eligible
|
1641
1838
|
# Determines whether the recommendation is size flexible.
|
1642
1839
|
# @return [Boolean]
|
@@ -1646,30 +1843,22 @@ module Aws::CostOptimizationHub
|
|
1646
1843
|
# instance.
|
1647
1844
|
# @return [String]
|
1648
1845
|
#
|
1649
|
-
# @!attribute [rw] upfront_cost
|
1650
|
-
# How much purchasing this instance costs you upfront.
|
1651
|
-
# @return [String]
|
1652
|
-
#
|
1653
|
-
# @!attribute [rw] monthly_recurring_cost
|
1654
|
-
# How much purchasing reserved instances costs you on a monthly basis.
|
1655
|
-
# @return [String]
|
1656
|
-
#
|
1657
1846
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/RedshiftReservedInstancesConfiguration AWS API Documentation
|
1658
1847
|
#
|
1659
1848
|
class RedshiftReservedInstancesConfiguration < Struct.new(
|
1660
1849
|
:account_scope,
|
1661
1850
|
:service,
|
1662
|
-
:normalized_units_to_purchase,
|
1663
1851
|
:term,
|
1664
1852
|
:payment_option,
|
1853
|
+
:reserved_instances_region,
|
1854
|
+
:upfront_cost,
|
1855
|
+
:monthly_recurring_cost,
|
1856
|
+
:normalized_units_to_purchase,
|
1665
1857
|
:number_of_instances_to_purchase,
|
1666
1858
|
:instance_family,
|
1667
1859
|
:instance_type,
|
1668
|
-
:reserved_instances_region,
|
1669
1860
|
:size_flex_eligible,
|
1670
|
-
:current_generation
|
1671
|
-
:upfront_cost,
|
1672
|
-
:monthly_recurring_cost)
|
1861
|
+
:current_generation)
|
1673
1862
|
SENSITIVE = []
|
1674
1863
|
include Aws::Structure
|
1675
1864
|
end
|
@@ -1804,6 +1993,14 @@ module Aws::CostOptimizationHub
|
|
1804
1993
|
# The DB instance storage recommendation details.
|
1805
1994
|
# @return [Types::RdsDbInstanceStorage]
|
1806
1995
|
#
|
1996
|
+
# @!attribute [rw] dynamo_db_reserved_capacity
|
1997
|
+
# The DynamoDB reserved capacity recommendation details.
|
1998
|
+
# @return [Types::DynamoDbReservedCapacity]
|
1999
|
+
#
|
2000
|
+
# @!attribute [rw] memory_db_reserved_instances
|
2001
|
+
# The MemoryDB reserved instances recommendation details.
|
2002
|
+
# @return [Types::MemoryDbReservedInstances]
|
2003
|
+
#
|
1807
2004
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cost-optimization-hub-2022-07-26/ResourceDetails AWS API Documentation
|
1808
2005
|
#
|
1809
2006
|
class ResourceDetails < Struct.new(
|
@@ -1822,6 +2019,8 @@ module Aws::CostOptimizationHub
|
|
1822
2019
|
:sage_maker_savings_plans,
|
1823
2020
|
:rds_db_instance,
|
1824
2021
|
:rds_db_instance_storage,
|
2022
|
+
:dynamo_db_reserved_capacity,
|
2023
|
+
:memory_db_reserved_instances,
|
1825
2024
|
:unknown)
|
1826
2025
|
SENSITIVE = []
|
1827
2026
|
include Aws::Structure
|
@@ -1842,6 +2041,8 @@ module Aws::CostOptimizationHub
|
|
1842
2041
|
class SageMakerSavingsPlans < ResourceDetails; end
|
1843
2042
|
class RdsDbInstance < ResourceDetails; end
|
1844
2043
|
class RdsDbInstanceStorage < ResourceDetails; end
|
2044
|
+
class DynamoDbReservedCapacity < ResourceDetails; end
|
2045
|
+
class MemoryDbReservedInstances < ResourceDetails; end
|
1845
2046
|
class Unknown < ResourceDetails; end
|
1846
2047
|
end
|
1847
2048
|
|
@@ -1918,7 +2119,7 @@ module Aws::CostOptimizationHub
|
|
1918
2119
|
# The SageMaker Savings Plans configuration used for recommendations.
|
1919
2120
|
#
|
1920
2121
|
# @!attribute [rw] account_scope
|
1921
|
-
# The account scope
|
2122
|
+
# The account scope for which you want recommendations.
|
1922
2123
|
# @return [String]
|
1923
2124
|
#
|
1924
2125
|
# @!attribute [rw] term
|