aws-sdk-computeoptimizer 1.56.0 → 1.58.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-computeoptimizer/client.rb +384 -43
- data/lib/aws-sdk-computeoptimizer/client_api.rb +254 -9
- data/lib/aws-sdk-computeoptimizer/endpoints.rb +42 -0
- data/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +1029 -175
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +74 -6
- data/sig/types.rbs +181 -19
- metadata +4 -4
@@ -441,11 +441,6 @@ module Aws::ComputeOptimizer
|
|
441
441
|
# option encompasses only instances that are part of an Auto Scaling
|
442
442
|
# group.
|
443
443
|
#
|
444
|
-
# <note markdown="1"> The valid values for this parameter are `Ec2Instance` and
|
445
|
-
# `AutoScalingGroup`.
|
446
|
-
#
|
447
|
-
# </note>
|
448
|
-
#
|
449
444
|
# @option params [Types::Scope] :scope
|
450
445
|
# An object that describes the scope of the recommendation preference to
|
451
446
|
# delete.
|
@@ -468,7 +463,7 @@ module Aws::ComputeOptimizer
|
|
468
463
|
# @example Request syntax with placeholder values
|
469
464
|
#
|
470
465
|
# resp = client.delete_recommendation_preferences({
|
471
|
-
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License
|
466
|
+
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
|
472
467
|
# scope: {
|
473
468
|
# name: "Organization", # accepts Organization, AccountId, ResourceArn
|
474
469
|
# value: "ScopeValue",
|
@@ -543,7 +538,7 @@ module Aws::ComputeOptimizer
|
|
543
538
|
# resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
|
544
539
|
# resp.recommendation_export_jobs[0].destination.s3.key #=> String
|
545
540
|
# resp.recommendation_export_jobs[0].destination.s3.metadata_key #=> String
|
546
|
-
# resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License"
|
541
|
+
# resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance"
|
547
542
|
# resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
|
548
543
|
# resp.recommendation_export_jobs[0].creation_timestamp #=> Time
|
549
544
|
# resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
|
@@ -669,7 +664,7 @@ module Aws::ComputeOptimizer
|
|
669
664
|
# values: ["FilterValue"],
|
670
665
|
# },
|
671
666
|
# ],
|
672
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
667
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, EffectiveRecommendationPreferencesPreferredResources, EffectiveRecommendationPreferencesLookBackPeriod, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
673
668
|
# s3_destination_config: { # required
|
674
669
|
# bucket: "DestinationBucket",
|
675
670
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -803,7 +798,7 @@ module Aws::ComputeOptimizer
|
|
803
798
|
# values: ["FilterValue"],
|
804
799
|
# },
|
805
800
|
# ],
|
806
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue,
|
801
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, VolumeArn, Finding, UtilizationMetricsVolumeReadOpsPerSecondMaximum, UtilizationMetricsVolumeWriteOpsPerSecondMaximum, UtilizationMetricsVolumeReadBytesPerSecondMaximum, UtilizationMetricsVolumeWriteBytesPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationVolumeType, CurrentConfigurationVolumeBaselineIOPS, CurrentConfigurationVolumeBaselineThroughput, CurrentConfigurationVolumeBurstIOPS, CurrentConfigurationVolumeBurstThroughput, CurrentConfigurationVolumeSize, CurrentMonthlyPrice, RecommendationOptionsConfigurationVolumeType, RecommendationOptionsConfigurationVolumeBaselineIOPS, RecommendationOptionsConfigurationVolumeBaselineThroughput, RecommendationOptionsConfigurationVolumeBurstIOPS, RecommendationOptionsConfigurationVolumeBurstThroughput, RecommendationOptionsConfigurationVolumeSize, RecommendationOptionsMonthlyPrice, RecommendationOptionsPerformanceRisk, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, Tags, RootVolume, CurrentConfigurationRootVolume, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
807
802
|
# s3_destination_config: { # required
|
808
803
|
# bucket: "DestinationBucket",
|
809
804
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -935,7 +930,7 @@ module Aws::ComputeOptimizer
|
|
935
930
|
# values: ["FilterValue"],
|
936
931
|
# },
|
937
932
|
# ],
|
938
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource,
|
933
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, FindingReasonCodes, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPlatformDifferences, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp, CurrentPerformanceRisk, RecommendationOptionsSavingsOpportunityPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrency, RecommendationOptionsEstimatedMonthlySavingsValue, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesInferredWorkloadTypes, InferredWorkloadTypes, RecommendationOptionsMigrationEffort, EffectiveRecommendationPreferencesExternalMetricsSource, Tags, InstanceState, ExternalMetricStatusCode, ExternalMetricStatusReason, CurrentInstanceGpuInfo, RecommendationOptionsInstanceGpuInfo, UtilizationMetricsGpuPercentageMaximum, UtilizationMetricsGpuMemoryPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum, RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum, Idle, EffectiveRecommendationPreferencesPreferredResources, EffectiveRecommendationPreferencesLookBackPeriod, EffectiveRecommendationPreferencesUtilizationPreferences, EffectiveRecommendationPreferencesSavingsEstimationMode, RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts
|
939
934
|
# s3_destination_config: { # required
|
940
935
|
# bucket: "DestinationBucket",
|
941
936
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -1352,6 +1347,146 @@ module Aws::ComputeOptimizer
|
|
1352
1347
|
req.send_request(options)
|
1353
1348
|
end
|
1354
1349
|
|
1350
|
+
# Export optimization recommendations for your Amazon Relational
|
1351
|
+
# Database Service (Amazon RDS).
|
1352
|
+
#
|
1353
|
+
# Recommendations are exported in a comma-separated values (CSV) file,
|
1354
|
+
# and its metadata in a JavaScript Object Notation (JSON) file, to an
|
1355
|
+
# existing Amazon Simple Storage Service (Amazon S3) bucket that you
|
1356
|
+
# specify. For more information, see [Exporting Recommendations][1] in
|
1357
|
+
# the *Compute Optimizer User Guide*.
|
1358
|
+
#
|
1359
|
+
# You can have only one Amazon RDS export job in progress per Amazon Web
|
1360
|
+
# Services Region.
|
1361
|
+
#
|
1362
|
+
#
|
1363
|
+
#
|
1364
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
1365
|
+
#
|
1366
|
+
# @option params [Array<String>] :account_ids
|
1367
|
+
# The Amazon Web Services account IDs for the export Amazon RDS
|
1368
|
+
# recommendations.
|
1369
|
+
#
|
1370
|
+
# If your account is the management account or the delegated
|
1371
|
+
# administrator of an organization, use this parameter to specify the
|
1372
|
+
# member account you want to export recommendations to.
|
1373
|
+
#
|
1374
|
+
# This parameter can't be specified together with the include member
|
1375
|
+
# accounts parameter. The parameters are mutually exclusive.
|
1376
|
+
#
|
1377
|
+
# If this parameter or the include member accounts parameter is omitted,
|
1378
|
+
# the recommendations for member accounts aren't included in the
|
1379
|
+
# export.
|
1380
|
+
#
|
1381
|
+
# You can specify multiple account IDs per request.
|
1382
|
+
#
|
1383
|
+
# @option params [Array<Types::RDSDBRecommendationFilter>] :filters
|
1384
|
+
# An array of objects to specify a filter that exports a more specific
|
1385
|
+
# set of Amazon RDS recommendations.
|
1386
|
+
#
|
1387
|
+
# @option params [Array<String>] :fields_to_export
|
1388
|
+
# The recommendations data to include in the export file. For more
|
1389
|
+
# information about the fields that can be exported, see [Exported
|
1390
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
1391
|
+
#
|
1392
|
+
#
|
1393
|
+
#
|
1394
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
1395
|
+
#
|
1396
|
+
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
1397
|
+
# Describes the destination Amazon Simple Storage Service (Amazon S3)
|
1398
|
+
# bucket name and key prefix for a recommendations export job.
|
1399
|
+
#
|
1400
|
+
# You must create the destination Amazon S3 bucket for your
|
1401
|
+
# recommendations export before you create the export job. Compute
|
1402
|
+
# Optimizer does not create the S3 bucket for you. After you create the
|
1403
|
+
# S3 bucket, ensure that it has the required permission policy to allow
|
1404
|
+
# Compute Optimizer to write the export file to it. If you plan to
|
1405
|
+
# specify an object prefix when you create the export job, you must
|
1406
|
+
# include the object prefix in the policy that you add to the S3 bucket.
|
1407
|
+
# For more information, see [Amazon S3 Bucket Policy for Compute
|
1408
|
+
# Optimizer][1] in the *Compute Optimizer User Guide*.
|
1409
|
+
#
|
1410
|
+
#
|
1411
|
+
#
|
1412
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
|
1413
|
+
#
|
1414
|
+
# @option params [String] :file_format
|
1415
|
+
# The format of the export file.
|
1416
|
+
#
|
1417
|
+
# The CSV file is the only export file format currently supported.
|
1418
|
+
#
|
1419
|
+
# @option params [Boolean] :include_member_accounts
|
1420
|
+
# If your account is the management account or the delegated
|
1421
|
+
# administrator of an organization, this parameter indicates whether to
|
1422
|
+
# include recommendations for resources in all member accounts of the
|
1423
|
+
# organization.
|
1424
|
+
#
|
1425
|
+
# The member accounts must also be opted in to Compute Optimizer, and
|
1426
|
+
# trusted access for Compute Optimizer must be enabled in the
|
1427
|
+
# organization account. For more information, see [Compute Optimizer and
|
1428
|
+
# Amazon Web Services Organizations trusted access][1] in the *Compute
|
1429
|
+
# Optimizer User Guide*.
|
1430
|
+
#
|
1431
|
+
# If this parameter is omitted, recommendations for member accounts of
|
1432
|
+
# the organization aren't included in the export file.
|
1433
|
+
#
|
1434
|
+
# If this parameter or the account ID parameter is omitted,
|
1435
|
+
# recommendations for member accounts aren't included in the export.
|
1436
|
+
#
|
1437
|
+
#
|
1438
|
+
#
|
1439
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
|
1440
|
+
#
|
1441
|
+
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
1442
|
+
# Describes the recommendation preferences to return in the response of
|
1443
|
+
# a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
1444
|
+
# GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations,
|
1445
|
+
# and GetRDSDatabaseRecommendationProjectedMetrics request.
|
1446
|
+
#
|
1447
|
+
# @return [Types::ExportRDSDatabaseRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1448
|
+
#
|
1449
|
+
# * {Types::ExportRDSDatabaseRecommendationsResponse#job_id #job_id} => String
|
1450
|
+
# * {Types::ExportRDSDatabaseRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
|
1451
|
+
#
|
1452
|
+
# @example Request syntax with placeholder values
|
1453
|
+
#
|
1454
|
+
# resp = client.export_rds_database_recommendations({
|
1455
|
+
# account_ids: ["AccountId"],
|
1456
|
+
# filters: [
|
1457
|
+
# {
|
1458
|
+
# name: "InstanceFinding", # accepts InstanceFinding, InstanceFindingReasonCode, StorageFinding, StorageFindingReasonCode, Idle
|
1459
|
+
# values: ["FilterValue"],
|
1460
|
+
# },
|
1461
|
+
# ],
|
1462
|
+
# fields_to_export: ["ResourceArn"], # accepts ResourceArn, AccountId, Engine, EngineVersion, Idle, MultiAZDBInstance, CurrentDBInstanceClass, CurrentStorageConfigurationStorageType, CurrentStorageConfigurationAllocatedStorage, CurrentStorageConfigurationMaxAllocatedStorage, CurrentStorageConfigurationIOPS, CurrentStorageConfigurationStorageThroughput, CurrentInstanceOnDemandHourlyPrice, CurrentStorageOnDemandMonthlyPrice, LookbackPeriodInDays, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum, UtilizationMetricsNetworkReceiveThroughputMaximum, UtilizationMetricsNetworkTransmitThroughputMaximum, UtilizationMetricsEBSVolumeReadIOPSMaximum, UtilizationMetricsEBSVolumeWriteIOPSMaximum, UtilizationMetricsEBSVolumeReadThroughputMaximum, UtilizationMetricsEBSVolumeWriteThroughputMaximum, UtilizationMetricsDatabaseConnectionsMaximum, InstanceFinding, InstanceFindingReasonCodes, StorageFinding, StorageFindingReasonCodes, InstanceRecommendationOptionsDBInstanceClass, InstanceRecommendationOptionsRank, InstanceRecommendationOptionsPerformanceRisk, InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum, StorageRecommendationOptionsStorageType, StorageRecommendationOptionsAllocatedStorage, StorageRecommendationOptionsMaxAllocatedStorage, StorageRecommendationOptionsIOPS, StorageRecommendationOptionsStorageThroughput, StorageRecommendationOptionsRank, InstanceRecommendationOptionsInstanceOnDemandHourlyPrice, InstanceRecommendationOptionsSavingsOpportunityPercentage, InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency, InstanceRecommendationOptionsEstimatedMonthlySavingsValue, InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, StorageRecommendationOptionsOnDemandMonthlyPrice, StorageRecommendationOptionsSavingsOpportunityPercentage, StorageRecommendationOptionsEstimatedMonthlySavingsCurrency, StorageRecommendationOptionsEstimatedMonthlySavingsValue, StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage, StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts, StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts, EffectiveRecommendationPreferencesCpuVendorArchitectures, EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics, EffectiveRecommendationPreferencesLookBackPeriod, EffectiveRecommendationPreferencesSavingsEstimationMode, LastRefreshTimestamp, Tags
|
1463
|
+
# s3_destination_config: { # required
|
1464
|
+
# bucket: "DestinationBucket",
|
1465
|
+
# key_prefix: "DestinationKeyPrefix",
|
1466
|
+
# },
|
1467
|
+
# file_format: "Csv", # accepts Csv
|
1468
|
+
# include_member_accounts: false,
|
1469
|
+
# recommendation_preferences: {
|
1470
|
+
# cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
|
1471
|
+
# },
|
1472
|
+
# })
|
1473
|
+
#
|
1474
|
+
# @example Response structure
|
1475
|
+
#
|
1476
|
+
# resp.job_id #=> String
|
1477
|
+
# resp.s3_destination.bucket #=> String
|
1478
|
+
# resp.s3_destination.key #=> String
|
1479
|
+
# resp.s3_destination.metadata_key #=> String
|
1480
|
+
#
|
1481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportRDSDatabaseRecommendations AWS API Documentation
|
1482
|
+
#
|
1483
|
+
# @overload export_rds_database_recommendations(params = {})
|
1484
|
+
# @param [Hash] params ({})
|
1485
|
+
def export_rds_database_recommendations(params = {}, options = {})
|
1486
|
+
req = build_request(:export_rds_database_recommendations, params)
|
1487
|
+
req.send_request(options)
|
1488
|
+
end
|
1489
|
+
|
1355
1490
|
# Returns Auto Scaling group recommendations.
|
1356
1491
|
#
|
1357
1492
|
# Compute Optimizer generates recommendations for Amazon EC2 Auto
|
@@ -1437,11 +1572,17 @@ module Aws::ComputeOptimizer
|
|
1437
1572
|
# resp.auto_scaling_group_recommendations[0].current_configuration.min_size #=> Integer
|
1438
1573
|
# resp.auto_scaling_group_recommendations[0].current_configuration.max_size #=> Integer
|
1439
1574
|
# resp.auto_scaling_group_recommendations[0].current_configuration.instance_type #=> String
|
1575
|
+
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus #=> Array
|
1576
|
+
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1577
|
+
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1440
1578
|
# resp.auto_scaling_group_recommendations[0].recommendation_options #=> Array
|
1441
1579
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.desired_capacity #=> Integer
|
1442
1580
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.min_size #=> Integer
|
1443
1581
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
|
1444
1582
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
|
1583
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1584
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1585
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1445
1586
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
1446
1587
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND", "GPU_PERCENTAGE", "GPU_MEMORY_PERCENTAGE"
|
1447
1588
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
@@ -1451,13 +1592,10 @@ module Aws::ComputeOptimizer
|
|
1451
1592
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
1452
1593
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1453
1594
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
1454
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1455
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1456
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1457
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1458
1595
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1459
1596
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1460
1597
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1598
|
+
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1461
1599
|
# resp.auto_scaling_group_recommendations[0].last_refresh_timestamp #=> Time
|
1462
1600
|
# resp.auto_scaling_group_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1463
1601
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
@@ -1481,9 +1619,6 @@ module Aws::ComputeOptimizer
|
|
1481
1619
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1482
1620
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
|
1483
1621
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka", "SQLServer"
|
1484
|
-
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus #=> Array
|
1485
|
-
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1486
|
-
# resp.auto_scaling_group_recommendations[0].current_instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1487
1622
|
# resp.errors #=> Array
|
1488
1623
|
# resp.errors[0].identifier #=> String
|
1489
1624
|
# resp.errors[0].code #=> String
|
@@ -1596,10 +1731,10 @@ module Aws::ComputeOptimizer
|
|
1596
1731
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1597
1732
|
# resp.volume_recommendations[0].last_refresh_timestamp #=> Time
|
1598
1733
|
# resp.volume_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1734
|
+
# resp.volume_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1599
1735
|
# resp.volume_recommendations[0].tags #=> Array
|
1600
1736
|
# resp.volume_recommendations[0].tags[0].key #=> String
|
1601
1737
|
# resp.volume_recommendations[0].tags[0].value #=> String
|
1602
|
-
# resp.volume_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
1603
1738
|
# resp.errors #=> Array
|
1604
1739
|
# resp.errors[0].identifier #=> String
|
1605
1740
|
# resp.errors[0].code #=> String
|
@@ -1699,6 +1834,9 @@ module Aws::ComputeOptimizer
|
|
1699
1834
|
# resp.instance_recommendations[0].look_back_period_in_days #=> Float
|
1700
1835
|
# resp.instance_recommendations[0].recommendation_options #=> Array
|
1701
1836
|
# resp.instance_recommendations[0].recommendation_options[0].instance_type #=> String
|
1837
|
+
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1838
|
+
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1839
|
+
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1702
1840
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
1703
1841
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND", "GPU_PERCENTAGE", "GPU_MEMORY_PERCENTAGE"
|
1704
1842
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
@@ -1710,16 +1848,13 @@ module Aws::ComputeOptimizer
|
|
1710
1848
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
1711
1849
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1712
1850
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
1713
|
-
# resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1714
|
-
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus #=> Array
|
1715
|
-
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_count #=> Integer
|
1716
|
-
# resp.instance_recommendations[0].recommendation_options[0].instance_gpu_info.gpus[0].gpu_memory_size_in_mi_b #=> Integer
|
1717
1851
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
1718
1852
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1719
1853
|
# resp.instance_recommendations[0].recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1854
|
+
# resp.instance_recommendations[0].recommendation_options[0].migration_effort #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1720
1855
|
# resp.instance_recommendations[0].recommendation_sources #=> Array
|
1721
1856
|
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_arn #=> String
|
1722
|
-
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License"
|
1857
|
+
# resp.instance_recommendations[0].recommendation_sources[0].recommendation_source_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage"
|
1723
1858
|
# resp.instance_recommendations[0].last_refresh_timestamp #=> Time
|
1724
1859
|
# resp.instance_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
1725
1860
|
# resp.instance_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
@@ -1993,6 +2128,9 @@ module Aws::ComputeOptimizer
|
|
1993
2128
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
1994
2129
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
1995
2130
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2131
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
2132
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2133
|
+
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
1996
2134
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].projected_utilization_metrics #=> Array
|
1997
2135
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory"
|
1998
2136
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
@@ -2003,14 +2141,11 @@ module Aws::ComputeOptimizer
|
|
2003
2141
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory #=> Integer
|
2004
2142
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].memory_size_configuration.memory_reservation #=> Integer
|
2005
2143
|
# resp.ecs_service_recommendations[0].service_recommendation_options[0].container_recommendations[0].cpu #=> Integer
|
2006
|
-
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
2007
|
-
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2008
|
-
# resp.ecs_service_recommendations[0].service_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
2009
2144
|
# resp.ecs_service_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
2145
|
+
# resp.ecs_service_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2010
2146
|
# resp.ecs_service_recommendations[0].tags #=> Array
|
2011
2147
|
# resp.ecs_service_recommendations[0].tags[0].key #=> String
|
2012
2148
|
# resp.ecs_service_recommendations[0].tags[0].value #=> String
|
2013
|
-
# resp.ecs_service_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2014
2149
|
# resp.errors #=> Array
|
2015
2150
|
# resp.errors[0].identifier #=> String
|
2016
2151
|
# resp.errors[0].code #=> String
|
@@ -2278,10 +2413,10 @@ module Aws::ComputeOptimizer
|
|
2278
2413
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2279
2414
|
# resp.lambda_function_recommendations[0].memory_size_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
2280
2415
|
# resp.lambda_function_recommendations[0].current_performance_risk #=> String, one of "VeryLow", "Low", "Medium", "High"
|
2416
|
+
# resp.lambda_function_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2281
2417
|
# resp.lambda_function_recommendations[0].tags #=> Array
|
2282
2418
|
# resp.lambda_function_recommendations[0].tags[0].key #=> String
|
2283
2419
|
# resp.lambda_function_recommendations[0].tags[0].value #=> String
|
2284
|
-
# resp.lambda_function_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2285
2420
|
#
|
2286
2421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations AWS API Documentation
|
2287
2422
|
#
|
@@ -2401,6 +2536,222 @@ module Aws::ComputeOptimizer
|
|
2401
2536
|
req.send_request(options)
|
2402
2537
|
end
|
2403
2538
|
|
2539
|
+
# Returns the projected metrics of Amazon RDS recommendations.
|
2540
|
+
#
|
2541
|
+
# @option params [required, String] :resource_arn
|
2542
|
+
# The ARN that identifies the Amazon RDS.
|
2543
|
+
#
|
2544
|
+
# The following is the format of the ARN:
|
2545
|
+
#
|
2546
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:db:\{resourceName\}`
|
2547
|
+
#
|
2548
|
+
# @option params [required, String] :stat
|
2549
|
+
# The statistic of the projected metrics.
|
2550
|
+
#
|
2551
|
+
# @option params [required, Integer] :period
|
2552
|
+
# The granularity, in seconds, of the projected metrics data points.
|
2553
|
+
#
|
2554
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
2555
|
+
# The timestamp of the first projected metrics data point to return.
|
2556
|
+
#
|
2557
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
2558
|
+
# The timestamp of the last projected metrics data point to return.
|
2559
|
+
#
|
2560
|
+
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
2561
|
+
# Describes the recommendation preferences to return in the response of
|
2562
|
+
# a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
2563
|
+
# GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations,
|
2564
|
+
# and GetRDSDatabaseRecommendationProjectedMetrics request.
|
2565
|
+
#
|
2566
|
+
# @return [Types::GetRDSDatabaseRecommendationProjectedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2567
|
+
#
|
2568
|
+
# * {Types::GetRDSDatabaseRecommendationProjectedMetricsResponse#recommended_option_projected_metrics #recommended_option_projected_metrics} => Array<Types::RDSDatabaseRecommendedOptionProjectedMetric>
|
2569
|
+
#
|
2570
|
+
# @example Request syntax with placeholder values
|
2571
|
+
#
|
2572
|
+
# resp = client.get_rds_database_recommendation_projected_metrics({
|
2573
|
+
# resource_arn: "ResourceArn", # required
|
2574
|
+
# stat: "Maximum", # required, accepts Maximum, Average
|
2575
|
+
# period: 1, # required
|
2576
|
+
# start_time: Time.now, # required
|
2577
|
+
# end_time: Time.now, # required
|
2578
|
+
# recommendation_preferences: {
|
2579
|
+
# cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
|
2580
|
+
# },
|
2581
|
+
# })
|
2582
|
+
#
|
2583
|
+
# @example Response structure
|
2584
|
+
#
|
2585
|
+
# resp.recommended_option_projected_metrics #=> Array
|
2586
|
+
# resp.recommended_option_projected_metrics[0].recommended_db_instance_class #=> String
|
2587
|
+
# resp.recommended_option_projected_metrics[0].rank #=> Integer
|
2588
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
|
2589
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
|
2590
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
|
2591
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
|
2592
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
|
2593
|
+
# resp.recommended_option_projected_metrics[0].projected_metrics[0].values[0] #=> Float
|
2594
|
+
#
|
2595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendationProjectedMetrics AWS API Documentation
|
2596
|
+
#
|
2597
|
+
# @overload get_rds_database_recommendation_projected_metrics(params = {})
|
2598
|
+
# @param [Hash] params ({})
|
2599
|
+
def get_rds_database_recommendation_projected_metrics(params = {}, options = {})
|
2600
|
+
req = build_request(:get_rds_database_recommendation_projected_metrics, params)
|
2601
|
+
req.send_request(options)
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
# Returns Amazon RDS recommendations.
|
2605
|
+
#
|
2606
|
+
# Compute Optimizer generates recommendations for Amazon RDS that meet a
|
2607
|
+
# specific set of requirements. For more information, see the [Supported
|
2608
|
+
# resources and requirements][1] in the *Compute Optimizer User Guide*.
|
2609
|
+
#
|
2610
|
+
#
|
2611
|
+
#
|
2612
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
2613
|
+
#
|
2614
|
+
# @option params [Array<String>] :resource_arns
|
2615
|
+
# The ARN that identifies the Amazon RDS.
|
2616
|
+
#
|
2617
|
+
# The following is the format of the ARN:
|
2618
|
+
#
|
2619
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:db:\{resourceName\}`
|
2620
|
+
#
|
2621
|
+
# The following is the format of a DB Cluster ARN:
|
2622
|
+
#
|
2623
|
+
# `arn:aws:rds:\{region\}:\{accountId\}:cluster:\{resourceName\}`
|
2624
|
+
#
|
2625
|
+
# @option params [String] :next_token
|
2626
|
+
# The token to advance to the next page of Amazon RDS recommendations.
|
2627
|
+
#
|
2628
|
+
# @option params [Integer] :max_results
|
2629
|
+
# The maximum number of Amazon RDS recommendations to return with a
|
2630
|
+
# single request.
|
2631
|
+
#
|
2632
|
+
# To retrieve the remaining results, make another request with the
|
2633
|
+
# returned `nextToken` value.
|
2634
|
+
#
|
2635
|
+
# @option params [Array<Types::RDSDBRecommendationFilter>] :filters
|
2636
|
+
# An array of objects to specify a filter that returns a more specific
|
2637
|
+
# list of Amazon RDS recommendations.
|
2638
|
+
#
|
2639
|
+
# @option params [Array<String>] :account_ids
|
2640
|
+
# Return the Amazon RDS recommendations to the specified Amazon Web
|
2641
|
+
# Services account IDs.
|
2642
|
+
#
|
2643
|
+
# If your account is the management account or the delegated
|
2644
|
+
# administrator of an organization, use this parameter to return the
|
2645
|
+
# Amazon RDS recommendations to specific member accounts.
|
2646
|
+
#
|
2647
|
+
# You can only specify one account ID per request.
|
2648
|
+
#
|
2649
|
+
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
2650
|
+
# Describes the recommendation preferences to return in the response of
|
2651
|
+
# a GetAutoScalingGroupRecommendations, GetEC2InstanceRecommendations,
|
2652
|
+
# GetEC2RecommendationProjectedMetrics, GetRDSDatabaseRecommendations,
|
2653
|
+
# and GetRDSDatabaseRecommendationProjectedMetrics request.
|
2654
|
+
#
|
2655
|
+
# @return [Types::GetRDSDatabaseRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2656
|
+
#
|
2657
|
+
# * {Types::GetRDSDatabaseRecommendationsResponse#next_token #next_token} => String
|
2658
|
+
# * {Types::GetRDSDatabaseRecommendationsResponse#rds_db_recommendations #rds_db_recommendations} => Array<Types::RDSDBRecommendation>
|
2659
|
+
# * {Types::GetRDSDatabaseRecommendationsResponse#errors #errors} => Array<Types::GetRecommendationError>
|
2660
|
+
#
|
2661
|
+
# @example Request syntax with placeholder values
|
2662
|
+
#
|
2663
|
+
# resp = client.get_rds_database_recommendations({
|
2664
|
+
# resource_arns: ["ResourceArn"],
|
2665
|
+
# next_token: "NextToken",
|
2666
|
+
# max_results: 1,
|
2667
|
+
# filters: [
|
2668
|
+
# {
|
2669
|
+
# name: "InstanceFinding", # accepts InstanceFinding, InstanceFindingReasonCode, StorageFinding, StorageFindingReasonCode, Idle
|
2670
|
+
# values: ["FilterValue"],
|
2671
|
+
# },
|
2672
|
+
# ],
|
2673
|
+
# account_ids: ["AccountId"],
|
2674
|
+
# recommendation_preferences: {
|
2675
|
+
# cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
|
2676
|
+
# },
|
2677
|
+
# })
|
2678
|
+
#
|
2679
|
+
# @example Response structure
|
2680
|
+
#
|
2681
|
+
# resp.next_token #=> String
|
2682
|
+
# resp.rds_db_recommendations #=> Array
|
2683
|
+
# resp.rds_db_recommendations[0].resource_arn #=> String
|
2684
|
+
# resp.rds_db_recommendations[0].account_id #=> String
|
2685
|
+
# resp.rds_db_recommendations[0].engine #=> String
|
2686
|
+
# resp.rds_db_recommendations[0].engine_version #=> String
|
2687
|
+
# resp.rds_db_recommendations[0].current_db_instance_class #=> String
|
2688
|
+
# resp.rds_db_recommendations[0].current_storage_configuration.storage_type #=> String
|
2689
|
+
# resp.rds_db_recommendations[0].current_storage_configuration.allocated_storage #=> Integer
|
2690
|
+
# resp.rds_db_recommendations[0].current_storage_configuration.iops #=> Integer
|
2691
|
+
# resp.rds_db_recommendations[0].current_storage_configuration.max_allocated_storage #=> Integer
|
2692
|
+
# resp.rds_db_recommendations[0].current_storage_configuration.storage_throughput #=> Integer
|
2693
|
+
# resp.rds_db_recommendations[0].idle #=> String, one of "True", "False"
|
2694
|
+
# resp.rds_db_recommendations[0].instance_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
|
2695
|
+
# resp.rds_db_recommendations[0].storage_finding #=> String, one of "Optimized", "Underprovisioned", "Overprovisioned"
|
2696
|
+
# resp.rds_db_recommendations[0].instance_finding_reason_codes #=> Array
|
2697
|
+
# resp.rds_db_recommendations[0].instance_finding_reason_codes[0] #=> String, one of "CPUOverprovisioned", "NetworkBandwidthOverprovisioned", "EBSIOPSOverprovisioned", "EBSThroughputOverprovisioned", "CPUUnderprovisioned", "NetworkBandwidthUnderprovisioned", "EBSThroughputUnderprovisioned", "NewGenerationDBInstanceClassAvailable", "NewEngineVersionAvailable"
|
2698
|
+
# resp.rds_db_recommendations[0].storage_finding_reason_codes #=> Array
|
2699
|
+
# resp.rds_db_recommendations[0].storage_finding_reason_codes[0] #=> String, one of "EBSVolumeAllocatedStorageUnderprovisioned", "EBSVolumeThroughputUnderprovisioned", "EBSVolumeIOPSOverprovisioned", "EBSVolumeThroughputOverprovisioned", "NewGenerationStorageTypeAvailable"
|
2700
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options #=> Array
|
2701
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].db_instance_class #=> String
|
2702
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics #=> Array
|
2703
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
|
2704
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
|
2705
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
2706
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].performance_risk #=> Float
|
2707
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].rank #=> Integer
|
2708
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
2709
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2710
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2711
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
2712
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2713
|
+
# resp.rds_db_recommendations[0].instance_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
2714
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options #=> Array
|
2715
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].storage_configuration.storage_type #=> String
|
2716
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].storage_configuration.allocated_storage #=> Integer
|
2717
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].storage_configuration.iops #=> Integer
|
2718
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].storage_configuration.max_allocated_storage #=> Integer
|
2719
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].storage_configuration.storage_throughput #=> Integer
|
2720
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].rank #=> Integer
|
2721
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
2722
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2723
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity.estimated_monthly_savings.value #=> Float
|
2724
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.savings_opportunity_percentage #=> Float
|
2725
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
2726
|
+
# resp.rds_db_recommendations[0].storage_recommendation_options[0].savings_opportunity_after_discounts.estimated_monthly_savings.value #=> Float
|
2727
|
+
# resp.rds_db_recommendations[0].utilization_metrics #=> Array
|
2728
|
+
# resp.rds_db_recommendations[0].utilization_metrics[0].name #=> String, one of "CPU", "Memory", "EBSVolumeStorageSpaceUtilization", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "EBSVolumeReadIOPS", "EBSVolumeWriteIOPS", "EBSVolumeReadThroughput", "EBSVolumeWriteThroughput", "DatabaseConnections"
|
2729
|
+
# resp.rds_db_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Minimum", "Average"
|
2730
|
+
# resp.rds_db_recommendations[0].utilization_metrics[0].value #=> Float
|
2731
|
+
# resp.rds_db_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures #=> Array
|
2732
|
+
# resp.rds_db_recommendations[0].effective_recommendation_preferences.cpu_vendor_architectures[0] #=> String, one of "AWS_ARM64", "CURRENT"
|
2733
|
+
# resp.rds_db_recommendations[0].effective_recommendation_preferences.enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
2734
|
+
# resp.rds_db_recommendations[0].effective_recommendation_preferences.look_back_period #=> String, one of "DAYS_14", "DAYS_32", "DAYS_93"
|
2735
|
+
# resp.rds_db_recommendations[0].effective_recommendation_preferences.savings_estimation_mode.source #=> String, one of "PublicPricing", "CostExplorerRightsizing", "CostOptimizationHub"
|
2736
|
+
# resp.rds_db_recommendations[0].lookback_period_in_days #=> Float
|
2737
|
+
# resp.rds_db_recommendations[0].last_refresh_timestamp #=> Time
|
2738
|
+
# resp.rds_db_recommendations[0].tags #=> Array
|
2739
|
+
# resp.rds_db_recommendations[0].tags[0].key #=> String
|
2740
|
+
# resp.rds_db_recommendations[0].tags[0].value #=> String
|
2741
|
+
# resp.errors #=> Array
|
2742
|
+
# resp.errors[0].identifier #=> String
|
2743
|
+
# resp.errors[0].code #=> String
|
2744
|
+
# resp.errors[0].message #=> String
|
2745
|
+
#
|
2746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRDSDatabaseRecommendations AWS API Documentation
|
2747
|
+
#
|
2748
|
+
# @overload get_rds_database_recommendations(params = {})
|
2749
|
+
# @param [Hash] params ({})
|
2750
|
+
def get_rds_database_recommendations(params = {}, options = {})
|
2751
|
+
req = build_request(:get_rds_database_recommendations, params)
|
2752
|
+
req.send_request(options)
|
2753
|
+
end
|
2754
|
+
|
2404
2755
|
# Returns existing recommendation preferences, such as enhanced
|
2405
2756
|
# infrastructure metrics.
|
2406
2757
|
#
|
@@ -2425,11 +2776,6 @@ module Aws::ComputeOptimizer
|
|
2425
2776
|
# option encompasses only instances that are part of an Auto Scaling
|
2426
2777
|
# group.
|
2427
2778
|
#
|
2428
|
-
# <note markdown="1"> The valid values for this parameter are `Ec2Instance` and
|
2429
|
-
# `AutoScalingGroup`.
|
2430
|
-
#
|
2431
|
-
# </note>
|
2432
|
-
#
|
2433
2779
|
# @option params [Types::Scope] :scope
|
2434
2780
|
# An object that describes the scope of the recommendation preference to
|
2435
2781
|
# return.
|
@@ -2464,7 +2810,7 @@ module Aws::ComputeOptimizer
|
|
2464
2810
|
# @example Request syntax with placeholder values
|
2465
2811
|
#
|
2466
2812
|
# resp = client.get_recommendation_preferences({
|
2467
|
-
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License
|
2813
|
+
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
|
2468
2814
|
# scope: {
|
2469
2815
|
# name: "Organization", # accepts Organization, AccountId, ResourceArn
|
2470
2816
|
# value: "ScopeValue",
|
@@ -2479,7 +2825,7 @@ module Aws::ComputeOptimizer
|
|
2479
2825
|
# resp.recommendation_preferences_details #=> Array
|
2480
2826
|
# resp.recommendation_preferences_details[0].scope.name #=> String, one of "Organization", "AccountId", "ResourceArn"
|
2481
2827
|
# resp.recommendation_preferences_details[0].scope.value #=> String
|
2482
|
-
# resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License"
|
2828
|
+
# resp.recommendation_preferences_details[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "NotApplicable", "EcsService", "License", "RdsDBInstance"
|
2483
2829
|
# resp.recommendation_preferences_details[0].enhanced_infrastructure_metrics #=> String, one of "Active", "Inactive"
|
2484
2830
|
# resp.recommendation_preferences_details[0].inferred_workload_types #=> String, one of "Active", "Inactive"
|
2485
2831
|
# resp.recommendation_preferences_details[0].external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
@@ -2571,7 +2917,7 @@ module Aws::ComputeOptimizer
|
|
2571
2917
|
# resp.recommendation_summaries[0].summaries[0].reason_code_summaries #=> Array
|
2572
2918
|
# resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].name #=> String, one of "MemoryOverprovisioned", "MemoryUnderprovisioned"
|
2573
2919
|
# resp.recommendation_summaries[0].summaries[0].reason_code_summaries[0].value #=> Float
|
2574
|
-
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License"
|
2920
|
+
# resp.recommendation_summaries[0].recommendation_resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction", "EcsService", "License", "RdsDBInstance", "RdsDBInstanceStorage"
|
2575
2921
|
# resp.recommendation_summaries[0].account_id #=> String
|
2576
2922
|
# resp.recommendation_summaries[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
2577
2923
|
# resp.recommendation_summaries[0].savings_opportunity.estimated_monthly_savings.currency #=> String, one of "USD", "CNY"
|
@@ -2613,11 +2959,6 @@ module Aws::ComputeOptimizer
|
|
2613
2959
|
# option encompasses only instances that are part of an Auto Scaling
|
2614
2960
|
# group.
|
2615
2961
|
#
|
2616
|
-
# <note markdown="1"> The valid values for this parameter are `Ec2Instance` and
|
2617
|
-
# `AutoScalingGroup`.
|
2618
|
-
#
|
2619
|
-
# </note>
|
2620
|
-
#
|
2621
2962
|
# @option params [Types::Scope] :scope
|
2622
2963
|
# An object that describes the scope of the recommendation preference to
|
2623
2964
|
# create.
|
@@ -2762,7 +3103,7 @@ module Aws::ComputeOptimizer
|
|
2762
3103
|
# @example Request syntax with placeholder values
|
2763
3104
|
#
|
2764
3105
|
# resp = client.put_recommendation_preferences({
|
2765
|
-
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License
|
3106
|
+
# resource_type: "Ec2Instance", # required, accepts Ec2Instance, AutoScalingGroup, EbsVolume, LambdaFunction, NotApplicable, EcsService, License, RdsDBInstance
|
2766
3107
|
# scope: {
|
2767
3108
|
# name: "Organization", # accepts Organization, AccountId, ResourceArn
|
2768
3109
|
# value: "ScopeValue",
|
@@ -2890,7 +3231,7 @@ module Aws::ComputeOptimizer
|
|
2890
3231
|
params: params,
|
2891
3232
|
config: config)
|
2892
3233
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2893
|
-
context[:gem_version] = '1.
|
3234
|
+
context[:gem_version] = '1.58.0'
|
2894
3235
|
Seahorse::Client::Request.new(handlers, context)
|
2895
3236
|
end
|
2896
3237
|
|