aws-sdk-computeoptimizer 1.37.0 → 1.39.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 +21 -17
- data/lib/aws-sdk-computeoptimizer/client_api.rb +4 -0
- data/lib/aws-sdk-computeoptimizer/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-computeoptimizer/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-computeoptimizer/types.rb +105 -93
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc37673e8bbff255da26ea03f56d5383f045cb05877404565a0d9e2ae73f8a31
|
4
|
+
data.tar.gz: 7a08ce204b27a51e3cb3765afa824ffe0d2adc060119d7d9b0fb06ec7ccaea9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffe4544b135c41c075b3ca3f1ab3f7f7bee7d51c399a9f69d8f091460d23f94c675e859a94a1393311f24813be1615fd1e37170c9e9030ca792459baea20ab11
|
7
|
+
data.tar.gz: f8862a9fe7f2e27a13151b5332a21b4d04788af2706f061f414bff4f45dd1c73affe5c4d2faf66d5fab41424942b6e412c06e0a239417d2d53cfe90eb45e6b9c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2023-03-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for HDD EBS volume types and io2 Block Express. We are also adding support for 61 new instance types and instances that have non consecutive runtime.
|
8
|
+
|
9
|
+
1.38.0 (2023-02-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS Compute optimizer can now infer if Kafka is running on an instance.
|
13
|
+
|
4
14
|
1.37.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -758,7 +758,7 @@ module Aws::ComputeOptimizer
|
|
758
758
|
# values: ["FilterValue"],
|
759
759
|
# },
|
760
760
|
# ],
|
761
|
-
# 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
|
761
|
+
# 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, RootVolume
|
762
762
|
# s3_destination_config: { # required
|
763
763
|
# bucket: "DestinationBucket",
|
764
764
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -890,7 +890,7 @@ module Aws::ComputeOptimizer
|
|
890
890
|
# values: ["FilterValue"],
|
891
891
|
# },
|
892
892
|
# ],
|
893
|
-
# 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
|
893
|
+
# 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, InstanceState
|
894
894
|
# s3_destination_config: { # required
|
895
895
|
# bucket: "DestinationBucket",
|
896
896
|
# key_prefix: "DestinationKeyPrefix",
|
@@ -934,7 +934,7 @@ module Aws::ComputeOptimizer
|
|
934
934
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
935
935
|
#
|
936
936
|
# @option params [Array<String>] :account_ids
|
937
|
-
# The Amazon Web Services account IDs for the export ECS service
|
937
|
+
# The Amazon Web Services account IDs for the export Amazon ECS service
|
938
938
|
# recommendations.
|
939
939
|
#
|
940
940
|
# If your account is the management account or the delegated
|
@@ -952,7 +952,7 @@ module Aws::ComputeOptimizer
|
|
952
952
|
#
|
953
953
|
# @option params [Array<Types::ECSServiceRecommendationFilter>] :filters
|
954
954
|
# An array of objects to specify a filter that exports a more specific
|
955
|
-
# set of ECS service recommendations.
|
955
|
+
# set of Amazon ECS service recommendations.
|
956
956
|
#
|
957
957
|
# @option params [Array<String>] :fields_to_export
|
958
958
|
# The recommendations data to include in the export file. For more
|
@@ -1287,7 +1287,7 @@ module Aws::ComputeOptimizer
|
|
1287
1287
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1288
1288
|
# resp.auto_scaling_group_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1289
1289
|
# resp.auto_scaling_group_recommendations[0].inferred_workload_types #=> Array
|
1290
|
-
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
|
1290
|
+
# resp.auto_scaling_group_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka"
|
1291
1291
|
# resp.errors #=> Array
|
1292
1292
|
# resp.errors[0].identifier #=> String
|
1293
1293
|
# resp.errors[0].code #=> String
|
@@ -1375,6 +1375,7 @@ module Aws::ComputeOptimizer
|
|
1375
1375
|
# resp.volume_recommendations[0].current_configuration.volume_burst_iops #=> Integer
|
1376
1376
|
# resp.volume_recommendations[0].current_configuration.volume_baseline_throughput #=> Integer
|
1377
1377
|
# resp.volume_recommendations[0].current_configuration.volume_burst_throughput #=> Integer
|
1378
|
+
# resp.volume_recommendations[0].current_configuration.root_volume #=> Boolean
|
1378
1379
|
# resp.volume_recommendations[0].finding #=> String, one of "Optimized", "NotOptimized"
|
1379
1380
|
# resp.volume_recommendations[0].utilization_metrics #=> Array
|
1380
1381
|
# resp.volume_recommendations[0].utilization_metrics[0].name #=> String, one of "VolumeReadOpsPerSecond", "VolumeWriteOpsPerSecond", "VolumeReadBytesPerSecond", "VolumeWriteBytesPerSecond"
|
@@ -1388,6 +1389,7 @@ module Aws::ComputeOptimizer
|
|
1388
1389
|
# resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_burst_iops #=> Integer
|
1389
1390
|
# resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_baseline_throughput #=> Integer
|
1390
1391
|
# resp.volume_recommendations[0].volume_recommendation_options[0].configuration.volume_burst_throughput #=> Integer
|
1392
|
+
# resp.volume_recommendations[0].volume_recommendation_options[0].configuration.root_volume #=> Boolean
|
1391
1393
|
# resp.volume_recommendations[0].volume_recommendation_options[0].performance_risk #=> Float
|
1392
1394
|
# resp.volume_recommendations[0].volume_recommendation_options[0].rank #=> Integer
|
1393
1395
|
# resp.volume_recommendations[0].volume_recommendation_options[0].savings_opportunity.savings_opportunity_percentage #=> Float
|
@@ -1517,7 +1519,8 @@ module Aws::ComputeOptimizer
|
|
1517
1519
|
# resp.instance_recommendations[0].effective_recommendation_preferences.inferred_workload_types #=> String, one of "Active", "Inactive"
|
1518
1520
|
# resp.instance_recommendations[0].effective_recommendation_preferences.external_metrics_preference.source #=> String, one of "Datadog", "Dynatrace", "NewRelic", "Instana"
|
1519
1521
|
# resp.instance_recommendations[0].inferred_workload_types #=> Array
|
1520
|
-
# resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis"
|
1522
|
+
# resp.instance_recommendations[0].inferred_workload_types[0] #=> String, one of "AmazonEmr", "ApacheCassandra", "ApacheHadoop", "Memcached", "Nginx", "PostgreSql", "Redis", "Kafka"
|
1523
|
+
# resp.instance_recommendations[0].instance_state #=> String, one of "pending", "running", "shutting-down", "terminated", "stopping", "stopped"
|
1521
1524
|
# resp.errors #=> Array
|
1522
1525
|
# resp.errors[0].identifier #=> String
|
1523
1526
|
# resp.errors[0].code #=> String
|
@@ -1608,7 +1611,7 @@ module Aws::ComputeOptimizer
|
|
1608
1611
|
# Returns the projected metrics of Amazon ECS service recommendations.
|
1609
1612
|
#
|
1610
1613
|
# @option params [required, String] :service_arn
|
1611
|
-
# The ARN that identifies the ECS service.
|
1614
|
+
# The ARN that identifies the Amazon ECS service.
|
1612
1615
|
#
|
1613
1616
|
# The following is the format of the ARN:
|
1614
1617
|
#
|
@@ -1675,33 +1678,34 @@ module Aws::ComputeOptimizer
|
|
1675
1678
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
1676
1679
|
#
|
1677
1680
|
# @option params [Array<String>] :service_arns
|
1678
|
-
# The ARN that identifies the ECS service.
|
1681
|
+
# The ARN that identifies the Amazon ECS service.
|
1679
1682
|
#
|
1680
1683
|
# The following is the format of the ARN:
|
1681
1684
|
#
|
1682
1685
|
# `arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name`
|
1683
1686
|
#
|
1684
1687
|
# @option params [String] :next_token
|
1685
|
-
# The token to advance to the next page of ECS service
|
1688
|
+
# The token to advance to the next page of Amazon ECS service
|
1689
|
+
# recommendations.
|
1686
1690
|
#
|
1687
1691
|
# @option params [Integer] :max_results
|
1688
|
-
# The maximum number of ECS service recommendations to return
|
1689
|
-
# single request.
|
1692
|
+
# The maximum number of Amazon ECS service recommendations to return
|
1693
|
+
# with a single request.
|
1690
1694
|
#
|
1691
1695
|
# To retrieve the remaining results, make another request with the
|
1692
1696
|
# returned `nextToken` value.
|
1693
1697
|
#
|
1694
1698
|
# @option params [Array<Types::ECSServiceRecommendationFilter>] :filters
|
1695
1699
|
# An array of objects to specify a filter that returns a more specific
|
1696
|
-
# list of ECS service recommendations.
|
1700
|
+
# list of Amazon ECS service recommendations.
|
1697
1701
|
#
|
1698
1702
|
# @option params [Array<String>] :account_ids
|
1699
|
-
# Return the ECS service recommendations to the specified Amazon
|
1700
|
-
# Services account IDs.
|
1703
|
+
# Return the Amazon ECS service recommendations to the specified Amazon
|
1704
|
+
# Web Services account IDs.
|
1701
1705
|
#
|
1702
1706
|
# If your account is the management account or the delegated
|
1703
|
-
# administrator of an organization, use this parameter to return the
|
1704
|
-
# service recommendations to specific member accounts.
|
1707
|
+
# administrator of an organization, use this parameter to return the
|
1708
|
+
# Amazon ECS service recommendations to specific member accounts.
|
1705
1709
|
#
|
1706
1710
|
# You can only specify one account ID per request.
|
1707
1711
|
#
|
@@ -2415,7 +2419,7 @@ module Aws::ComputeOptimizer
|
|
2415
2419
|
params: params,
|
2416
2420
|
config: config)
|
2417
2421
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
2418
|
-
context[:gem_version] = '1.
|
2422
|
+
context[:gem_version] = '1.39.0'
|
2419
2423
|
Seahorse::Client::Request.new(handlers, context)
|
2420
2424
|
end
|
2421
2425
|
|
@@ -159,6 +159,7 @@ module Aws::ComputeOptimizer
|
|
159
159
|
InstanceRecommendationFindingReasonCodes = Shapes::ListShape.new(name: 'InstanceRecommendationFindingReasonCodes')
|
160
160
|
InstanceRecommendationOption = Shapes::StructureShape.new(name: 'InstanceRecommendationOption')
|
161
161
|
InstanceRecommendations = Shapes::ListShape.new(name: 'InstanceRecommendations')
|
162
|
+
InstanceState = Shapes::StringShape.new(name: 'InstanceState')
|
162
163
|
InstanceType = Shapes::StringShape.new(name: 'InstanceType')
|
163
164
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
164
165
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
@@ -246,6 +247,7 @@ module Aws::ComputeOptimizer
|
|
246
247
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
247
248
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
248
249
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
250
|
+
RootVolume = Shapes::BooleanShape.new(name: 'RootVolume')
|
249
251
|
S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
|
250
252
|
S3DestinationConfig = Shapes::StructureShape.new(name: 'S3DestinationConfig')
|
251
253
|
SavingsOpportunity = Shapes::StructureShape.new(name: 'SavingsOpportunity')
|
@@ -703,6 +705,7 @@ module Aws::ComputeOptimizer
|
|
703
705
|
InstanceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
704
706
|
InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
|
705
707
|
InstanceRecommendation.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
708
|
+
InstanceRecommendation.add_member(:instance_state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "instanceState"))
|
706
709
|
InstanceRecommendation.struct_class = Types::InstanceRecommendation
|
707
710
|
|
708
711
|
InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
|
@@ -935,6 +938,7 @@ module Aws::ComputeOptimizer
|
|
935
938
|
VolumeConfiguration.add_member(:volume_burst_iops, Shapes::ShapeRef.new(shape: VolumeBurstIOPS, location_name: "volumeBurstIOPS"))
|
936
939
|
VolumeConfiguration.add_member(:volume_baseline_throughput, Shapes::ShapeRef.new(shape: VolumeBaselineThroughput, location_name: "volumeBaselineThroughput"))
|
937
940
|
VolumeConfiguration.add_member(:volume_burst_throughput, Shapes::ShapeRef.new(shape: VolumeBurstThroughput, location_name: "volumeBurstThroughput"))
|
941
|
+
VolumeConfiguration.add_member(:root_volume, Shapes::ShapeRef.new(shape: RootVolume, location_name: "rootVolume"))
|
938
942
|
VolumeConfiguration.struct_class = Types::VolumeConfiguration
|
939
943
|
|
940
944
|
VolumeRecommendation.add_member(:volume_arn, Shapes::ShapeRef.new(shape: VolumeArn, location_name: "volumeArn"))
|
@@ -50,9 +50,6 @@ module Aws::ComputeOptimizer
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::ComputeOptimizer
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://compute-optimizer.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -581,20 +581,20 @@ module Aws::ComputeOptimizer
|
|
581
581
|
# Describes the projected metrics of an Amazon ECS service
|
582
582
|
# recommendation option.
|
583
583
|
#
|
584
|
-
# To determine the performance difference between your current
|
585
|
-
# service and the recommended option, compare the metric data of
|
586
|
-
# service against its projected metric data.
|
584
|
+
# To determine the performance difference between your current Amazon
|
585
|
+
# ECS service and the recommended option, compare the metric data of
|
586
|
+
# your service against its projected metric data.
|
587
587
|
#
|
588
588
|
# @!attribute [rw] name
|
589
589
|
# The name of the projected metric.
|
590
590
|
#
|
591
591
|
# The following metrics are available:
|
592
592
|
#
|
593
|
-
# * `
|
594
|
-
# currently in use on the
|
593
|
+
# * `Cpu` — The percentage of allocated compute units that are
|
594
|
+
# currently in use on the service tasks.
|
595
595
|
#
|
596
|
-
# * `Memory` — The percentage of memory that
|
597
|
-
# the
|
596
|
+
# * `Memory` — The percentage of memory that's currently in use on
|
597
|
+
# the service tasks.
|
598
598
|
# @return [String]
|
599
599
|
#
|
600
600
|
# @!attribute [rw] timestamps
|
@@ -623,8 +623,8 @@ module Aws::ComputeOptimizer
|
|
623
623
|
# Describes the projected utilization metrics of an Amazon ECS service
|
624
624
|
# recommendation option.
|
625
625
|
#
|
626
|
-
# To determine the performance difference between your current
|
627
|
-
# service and the recommended option, compare the utilization metric
|
626
|
+
# To determine the performance difference between your current Amazon
|
627
|
+
# ECS service and the recommended option, compare the utilization metric
|
628
628
|
# data of your service against its projected utilization metric data.
|
629
629
|
#
|
630
630
|
# @!attribute [rw] name
|
@@ -632,11 +632,11 @@ module Aws::ComputeOptimizer
|
|
632
632
|
#
|
633
633
|
# The following utilization metrics are available:
|
634
634
|
#
|
635
|
-
# * `
|
636
|
-
# currently in use on the
|
635
|
+
# * `Cpu` — The percentage of allocated compute units that are
|
636
|
+
# currently in use on the service tasks.
|
637
637
|
#
|
638
|
-
# * `Memory` — The percentage of memory that
|
639
|
-
# the
|
638
|
+
# * `Memory` — The percentage of memory that's currently in use on
|
639
|
+
# the service tasks.
|
640
640
|
# @return [String]
|
641
641
|
#
|
642
642
|
# @!attribute [rw] statistic
|
@@ -682,7 +682,7 @@ module Aws::ComputeOptimizer
|
|
682
682
|
# Describes an Amazon ECS service recommendation.
|
683
683
|
#
|
684
684
|
# @!attribute [rw] service_arn
|
685
|
-
# The Amazon Resource Name (ARN) of the current ECS service.
|
685
|
+
# The Amazon Resource Name (ARN) of the current Amazon ECS service.
|
686
686
|
#
|
687
687
|
# The following is the format of the ARN:
|
688
688
|
#
|
@@ -690,25 +690,25 @@ module Aws::ComputeOptimizer
|
|
690
690
|
# @return [String]
|
691
691
|
#
|
692
692
|
# @!attribute [rw] account_id
|
693
|
-
# The Amazon Web Services account ID of the ECS service.
|
693
|
+
# The Amazon Web Services account ID of the Amazon ECS service.
|
694
694
|
# @return [String]
|
695
695
|
#
|
696
696
|
# @!attribute [rw] current_service_configuration
|
697
|
-
# The configuration of the current ECS service.
|
697
|
+
# The configuration of the current Amazon ECS service.
|
698
698
|
# @return [Types::ServiceConfiguration]
|
699
699
|
#
|
700
700
|
# @!attribute [rw] utilization_metrics
|
701
|
-
# An array of objects that describe the utilization metrics of the
|
702
|
-
# service.
|
701
|
+
# An array of objects that describe the utilization metrics of the
|
702
|
+
# Amazon ECS service.
|
703
703
|
# @return [Array<Types::ECSServiceUtilizationMetric>]
|
704
704
|
#
|
705
705
|
# @!attribute [rw] lookback_period_in_days
|
706
|
-
# The number of days the ECS service utilization metrics were
|
706
|
+
# The number of days the Amazon ECS service utilization metrics were
|
707
707
|
# analyzed.
|
708
708
|
# @return [Float]
|
709
709
|
#
|
710
710
|
# @!attribute [rw] launch_type
|
711
|
-
# The launch type the ECS service is using.
|
711
|
+
# The launch type the Amazon ECS service is using.
|
712
712
|
#
|
713
713
|
# <note markdown="1"> Compute Optimizer only supports the Fargate launch type.
|
714
714
|
#
|
@@ -716,54 +716,53 @@ module Aws::ComputeOptimizer
|
|
716
716
|
# @return [String]
|
717
717
|
#
|
718
718
|
# @!attribute [rw] last_refresh_timestamp
|
719
|
-
# The timestamp of when the ECS service recommendation was last
|
719
|
+
# The timestamp of when the Amazon ECS service recommendation was last
|
720
720
|
# generated.
|
721
721
|
# @return [Time]
|
722
722
|
#
|
723
723
|
# @!attribute [rw] finding
|
724
|
-
# The finding classification of an ECS service.
|
724
|
+
# The finding classification of an Amazon ECS service.
|
725
725
|
#
|
726
|
-
# Findings for ECS services include:
|
726
|
+
# Findings for Amazon ECS services include:
|
727
727
|
#
|
728
728
|
# * <b> <code>Underprovisioned</code> </b> — When Compute Optimizer
|
729
|
-
# detects that there’s not enough memory or CPU, an ECS
|
730
|
-
# considered under-provisioned. An under-provisioned
|
731
|
-
# might result in poor application performance.
|
729
|
+
# detects that there’s not enough memory or CPU, an Amazon ECS
|
730
|
+
# service is considered under-provisioned. An under-provisioned
|
731
|
+
# service might result in poor application performance.
|
732
732
|
#
|
733
733
|
# * <b> <code>Overprovisioned</code> </b> — When Compute Optimizer
|
734
|
-
# detects that there’s excessive memory or CPU, an ECS
|
735
|
-
# considered over-provisioned. An over-provisioned
|
736
|
-
# result in additional infrastructure costs.
|
734
|
+
# detects that there’s excessive memory or CPU, an Amazon ECS
|
735
|
+
# service is considered over-provisioned. An over-provisioned
|
736
|
+
# service might result in additional infrastructure costs.
|
737
737
|
#
|
738
738
|
# * <b> <code>Optimized</code> </b> — When both the CPU and memory of
|
739
|
-
# your ECS service meet the performance requirements of your
|
739
|
+
# your Amazon ECS service meet the performance requirements of your
|
740
740
|
# workload, the service is considered optimized.
|
741
741
|
# @return [String]
|
742
742
|
#
|
743
743
|
# @!attribute [rw] finding_reason_codes
|
744
|
-
# The reason for the finding classification of an ECS service.
|
744
|
+
# The reason for the finding classification of an Amazon ECS service.
|
745
745
|
#
|
746
|
-
# Finding reason codes for ECS services include:
|
746
|
+
# Finding reason codes for Amazon ECS services include:
|
747
747
|
#
|
748
|
-
# * <b> <code>CPUUnderprovisioned</code> </b> — The
|
748
|
+
# * <b> <code>CPUUnderprovisioned</code> </b> — The service CPU
|
749
749
|
# configuration can be sized up to enhance the performance of your
|
750
750
|
# workload. This is identified by analyzing the `CPUUtilization`
|
751
751
|
# metric of the current service during the look-back period.
|
752
752
|
#
|
753
|
-
# * <b> <code>CPUOverprovisioned</code> </b> — The
|
753
|
+
# * <b> <code>CPUOverprovisioned</code> </b> — The service CPU
|
754
754
|
# configuration can be sized down while still meeting the
|
755
755
|
# performance requirements of your workload. This is identified by
|
756
756
|
# analyzing the `CPUUtilization` metric of the current service
|
757
757
|
# during the look-back period.
|
758
758
|
#
|
759
|
-
# * <b> <code>MemoryUnderprovisioned</code> </b> — The
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
# look-back period.
|
759
|
+
# * <b> <code>MemoryUnderprovisioned</code> </b> — The service memory
|
760
|
+
# configuration can be sized up to enhance the performance of your
|
761
|
+
# workload. This is identified by analyzing the `MemoryUtilization`
|
762
|
+
# metric of the current service during the look-back period.
|
764
763
|
#
|
765
|
-
# * <b> <code>MemoryOverprovisioned</code> </b> — The
|
766
|
-
#
|
764
|
+
# * <b> <code>MemoryOverprovisioned</code> </b> — The service memory
|
765
|
+
# configuration can be sized down while still meeting the
|
767
766
|
# performance requirements of your workload. This is identified by
|
768
767
|
# analyzing the `MemoryUtilization` metric of the current service
|
769
768
|
# during the look-back period.
|
@@ -771,14 +770,14 @@ module Aws::ComputeOptimizer
|
|
771
770
|
#
|
772
771
|
# @!attribute [rw] service_recommendation_options
|
773
772
|
# An array of objects that describe the recommendation options for the
|
774
|
-
# ECS service.
|
773
|
+
# Amazon ECS service.
|
775
774
|
# @return [Array<Types::ECSServiceRecommendationOption>]
|
776
775
|
#
|
777
776
|
# @!attribute [rw] current_performance_risk
|
778
|
-
# The risk of the current ECS service not meeting the
|
779
|
-
# needs of its workloads. The higher the risk, the more
|
780
|
-
# current service can't meet the performance requirements
|
781
|
-
# workload.
|
777
|
+
# The risk of the current Amazon ECS service not meeting the
|
778
|
+
# performance needs of its workloads. The higher the risk, the more
|
779
|
+
# likely the current service can't meet the performance requirements
|
780
|
+
# of its workload.
|
782
781
|
# @return [String]
|
783
782
|
#
|
784
783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSServiceRecommendation AWS API Documentation
|
@@ -838,11 +837,11 @@ module Aws::ComputeOptimizer
|
|
838
837
|
# Describes the recommendation options for an Amazon ECS service.
|
839
838
|
#
|
840
839
|
# @!attribute [rw] memory
|
841
|
-
# The memory size of the ECS service recommendation option.
|
840
|
+
# The memory size of the Amazon ECS service recommendation option.
|
842
841
|
# @return [Integer]
|
843
842
|
#
|
844
843
|
# @!attribute [rw] cpu
|
845
|
-
# The CPU size of the ECS service recommendation option.
|
844
|
+
# The CPU size of the Amazon ECS service recommendation option.
|
846
845
|
# @return [Integer]
|
847
846
|
#
|
848
847
|
# @!attribute [rw] savings_opportunity
|
@@ -873,12 +872,12 @@ module Aws::ComputeOptimizer
|
|
873
872
|
#
|
874
873
|
# @!attribute [rw] projected_utilization_metrics
|
875
874
|
# An array of objects that describe the projected utilization metrics
|
876
|
-
# of the ECS service recommendation option.
|
875
|
+
# of the Amazon ECS service recommendation option.
|
877
876
|
# @return [Array<Types::ECSServiceProjectedUtilizationMetric>]
|
878
877
|
#
|
879
878
|
# @!attribute [rw] container_recommendations
|
880
879
|
# The CPU and memory size recommendations for the containers within
|
881
|
-
# the task of your ECS service.
|
880
|
+
# the task of your Amazon ECS service.
|
882
881
|
# @return [Array<Types::ContainerRecommendation>]
|
883
882
|
#
|
884
883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ECSServiceRecommendationOption AWS API Documentation
|
@@ -896,16 +895,16 @@ module Aws::ComputeOptimizer
|
|
896
895
|
# Describes the projected metrics of an Amazon ECS service
|
897
896
|
# recommendation option.
|
898
897
|
#
|
899
|
-
# To determine the performance difference between your current
|
900
|
-
# service and the recommended option, compare the metric data of
|
901
|
-
# service against its projected metric data.
|
898
|
+
# To determine the performance difference between your current Amazon
|
899
|
+
# ECS service and the recommended option, compare the metric data of
|
900
|
+
# your service against its projected metric data.
|
902
901
|
#
|
903
902
|
# @!attribute [rw] recommended_cpu_units
|
904
|
-
# The recommended CPU size for the ECS service.
|
903
|
+
# The recommended CPU size for the Amazon ECS service.
|
905
904
|
# @return [Integer]
|
906
905
|
#
|
907
906
|
# @!attribute [rw] recommended_memory_size
|
908
|
-
# The recommended memory size for the ECS service.
|
907
|
+
# The recommended memory size for the Amazon ECS service.
|
909
908
|
# @return [Integer]
|
910
909
|
#
|
911
910
|
# @!attribute [rw] projected_metrics
|
@@ -924,8 +923,8 @@ module Aws::ComputeOptimizer
|
|
924
923
|
|
925
924
|
# Describes the utilization metric of an Amazon ECS service.
|
926
925
|
#
|
927
|
-
# To determine the performance difference between your current
|
928
|
-
# service and the recommended option, compare the utilization metric
|
926
|
+
# To determine the performance difference between your current Amazon
|
927
|
+
# ECS service and the recommended option, compare the utilization metric
|
929
928
|
# data of your service against its projected utilization metric data.
|
930
929
|
#
|
931
930
|
# @!attribute [rw] name
|
@@ -933,9 +932,9 @@ module Aws::ComputeOptimizer
|
|
933
932
|
#
|
934
933
|
# The following utilization metrics are available:
|
935
934
|
#
|
936
|
-
# * `Cpu` — The amount of CPU
|
935
|
+
# * `Cpu` — The amount of CPU capacity that's used in the service.
|
937
936
|
#
|
938
|
-
# * `Memory` — The amount of memory that
|
937
|
+
# * `Memory` — The amount of memory that's used in the service.
|
939
938
|
# @return [String]
|
940
939
|
#
|
941
940
|
# @!attribute [rw] statistic
|
@@ -1475,8 +1474,8 @@ module Aws::ComputeOptimizer
|
|
1475
1474
|
end
|
1476
1475
|
|
1477
1476
|
# @!attribute [rw] account_ids
|
1478
|
-
# The Amazon Web Services account IDs for the export ECS
|
1479
|
-
# recommendations.
|
1477
|
+
# The Amazon Web Services account IDs for the export Amazon ECS
|
1478
|
+
# service recommendations.
|
1480
1479
|
#
|
1481
1480
|
# If your account is the management account or the delegated
|
1482
1481
|
# administrator of an organization, use this parameter to specify the
|
@@ -1494,7 +1493,7 @@ module Aws::ComputeOptimizer
|
|
1494
1493
|
#
|
1495
1494
|
# @!attribute [rw] filters
|
1496
1495
|
# An array of objects to specify a filter that exports a more specific
|
1497
|
-
# set of ECS service recommendations.
|
1496
|
+
# set of Amazon ECS service recommendations.
|
1498
1497
|
# @return [Array<Types::ECSServiceRecommendationFilter>]
|
1499
1498
|
#
|
1500
1499
|
# @!attribute [rw] fields_to_export
|
@@ -1765,7 +1764,7 @@ module Aws::ComputeOptimizer
|
|
1765
1764
|
# `name` parameter as `RecommendationSourceType`.
|
1766
1765
|
#
|
1767
1766
|
# * Specify one of the following options if you specify the `name`
|
1768
|
-
# parameter as `FindingReasonCodes
|
1767
|
+
# parameter as `FindingReasonCodes`:
|
1769
1768
|
#
|
1770
1769
|
# * <b> <code>CPUOverprovisioned</code> </b> — The instance’s CPU
|
1771
1770
|
# configuration can be sized down while still meeting the
|
@@ -2144,7 +2143,7 @@ module Aws::ComputeOptimizer
|
|
2144
2143
|
end
|
2145
2144
|
|
2146
2145
|
# @!attribute [rw] service_arn
|
2147
|
-
# The ARN that identifies the ECS service.
|
2146
|
+
# The ARN that identifies the Amazon ECS service.
|
2148
2147
|
#
|
2149
2148
|
# The following is the format of the ARN:
|
2150
2149
|
#
|
@@ -2192,7 +2191,7 @@ module Aws::ComputeOptimizer
|
|
2192
2191
|
end
|
2193
2192
|
|
2194
2193
|
# @!attribute [rw] service_arns
|
2195
|
-
# The ARN that identifies the ECS service.
|
2194
|
+
# The ARN that identifies the Amazon ECS service.
|
2196
2195
|
#
|
2197
2196
|
# The following is the format of the ARN:
|
2198
2197
|
#
|
@@ -2200,13 +2199,13 @@ module Aws::ComputeOptimizer
|
|
2200
2199
|
# @return [Array<String>]
|
2201
2200
|
#
|
2202
2201
|
# @!attribute [rw] next_token
|
2203
|
-
# The token to advance to the next page of ECS service
|
2202
|
+
# The token to advance to the next page of Amazon ECS service
|
2204
2203
|
# recommendations.
|
2205
2204
|
# @return [String]
|
2206
2205
|
#
|
2207
2206
|
# @!attribute [rw] max_results
|
2208
|
-
# The maximum number of ECS service recommendations to return
|
2209
|
-
# single request.
|
2207
|
+
# The maximum number of Amazon ECS service recommendations to return
|
2208
|
+
# with a single request.
|
2210
2209
|
#
|
2211
2210
|
# To retrieve the remaining results, make another request with the
|
2212
2211
|
# returned `nextToken` value.
|
@@ -2214,16 +2213,16 @@ module Aws::ComputeOptimizer
|
|
2214
2213
|
#
|
2215
2214
|
# @!attribute [rw] filters
|
2216
2215
|
# An array of objects to specify a filter that returns a more specific
|
2217
|
-
# list of ECS service recommendations.
|
2216
|
+
# list of Amazon ECS service recommendations.
|
2218
2217
|
# @return [Array<Types::ECSServiceRecommendationFilter>]
|
2219
2218
|
#
|
2220
2219
|
# @!attribute [rw] account_ids
|
2221
|
-
# Return the ECS service recommendations to the specified
|
2222
|
-
# Services account IDs.
|
2220
|
+
# Return the Amazon ECS service recommendations to the specified
|
2221
|
+
# Amazon Web Services account IDs.
|
2223
2222
|
#
|
2224
2223
|
# If your account is the management account or the delegated
|
2225
2224
|
# administrator of an organization, use this parameter to return the
|
2226
|
-
# ECS service recommendations to specific member accounts.
|
2225
|
+
# Amazon ECS service recommendations to specific member accounts.
|
2227
2226
|
#
|
2228
2227
|
# You can only specify one account ID per request.
|
2229
2228
|
# @return [Array<String>]
|
@@ -2241,12 +2240,13 @@ module Aws::ComputeOptimizer
|
|
2241
2240
|
end
|
2242
2241
|
|
2243
2242
|
# @!attribute [rw] next_token
|
2244
|
-
# The token to advance to the next page of ECS service
|
2243
|
+
# The token to advance to the next page of Amazon ECS service
|
2245
2244
|
# recommendations.
|
2246
2245
|
# @return [String]
|
2247
2246
|
#
|
2248
2247
|
# @!attribute [rw] ecs_service_recommendations
|
2249
|
-
# An array of objects that describe the ECS service
|
2248
|
+
# An array of objects that describe the Amazon ECS service
|
2249
|
+
# recommendations.
|
2250
2250
|
# @return [Array<Types::ECSServiceRecommendation>]
|
2251
2251
|
#
|
2252
2252
|
# @!attribute [rw] errors
|
@@ -2752,31 +2752,31 @@ module Aws::ComputeOptimizer
|
|
2752
2752
|
# * <b> <code>EBSThroughputOverprovisioned</code> </b> — The
|
2753
2753
|
# instance’s EBS throughput configuration can be sized down while
|
2754
2754
|
# still meeting the performance requirements of your workload. This
|
2755
|
-
# is identified by analyzing the `
|
2756
|
-
# `
|
2755
|
+
# is identified by analyzing the `VolumeReadBytes` and
|
2756
|
+
# `VolumeWriteBytes` metrics of EBS volumes attached to the current
|
2757
2757
|
# instance during the look-back period.
|
2758
2758
|
#
|
2759
2759
|
# * <b> <code>EBSThroughputUnderprovisioned</code> </b> — The
|
2760
2760
|
# instance’s EBS throughput configuration doesn't meet the
|
2761
2761
|
# performance requirements of your workload and there is an
|
2762
2762
|
# alternative instance type that provides better EBS throughput
|
2763
|
-
# performance. This is identified by analyzing the `
|
2764
|
-
# and `
|
2763
|
+
# performance. This is identified by analyzing the `VolumeReadBytes`
|
2764
|
+
# and `VolumeWriteBytes`> metrics of EBS volumes attached to the
|
2765
2765
|
# current instance during the look-back period.
|
2766
2766
|
#
|
2767
2767
|
# * <b> <code>EBSIOPSOverprovisioned</code> </b> — The instance’s EBS
|
2768
2768
|
# IOPS configuration can be sized down while still meeting the
|
2769
2769
|
# performance requirements of your workload. This is identified by
|
2770
|
-
# analyzing the `
|
2771
|
-
#
|
2770
|
+
# analyzing the `VolumeReadOps` and `VolumeWriteOps` metric of EBS
|
2771
|
+
# volumes attached to the current instance during the look-back
|
2772
2772
|
# period.
|
2773
2773
|
#
|
2774
2774
|
# * <b> <code>EBSIOPSUnderprovisioned</code> </b> — The instance’s EBS
|
2775
2775
|
# IOPS configuration doesn't meet the performance requirements of
|
2776
2776
|
# your workload and there is an alternative instance type that
|
2777
2777
|
# provides better EBS IOPS performance. This is identified by
|
2778
|
-
# analyzing the `
|
2779
|
-
#
|
2778
|
+
# analyzing the `VolumeReadOps` and `VolumeWriteOps` metric of EBS
|
2779
|
+
# volumes attached to the current instance during the look-back
|
2780
2780
|
# period.
|
2781
2781
|
#
|
2782
2782
|
# * <b> <code>NetworkBandwidthOverprovisioned</code> </b> — The
|
@@ -2913,8 +2913,14 @@ module Aws::ComputeOptimizer
|
|
2913
2913
|
# instance.
|
2914
2914
|
#
|
2915
2915
|
# * `Redis` - Infers that Redis might be running on the instance.
|
2916
|
+
#
|
2917
|
+
# * `Kafka` - Infers that Kafka might be running on the instance.
|
2916
2918
|
# @return [Array<String>]
|
2917
2919
|
#
|
2920
|
+
# @!attribute [rw] instance_state
|
2921
|
+
# The state of the instance when the recommendation was generated.
|
2922
|
+
# @return [String]
|
2923
|
+
#
|
2918
2924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/InstanceRecommendation AWS API Documentation
|
2919
2925
|
#
|
2920
2926
|
class InstanceRecommendation < Struct.new(
|
@@ -2931,7 +2937,8 @@ module Aws::ComputeOptimizer
|
|
2931
2937
|
:last_refresh_timestamp,
|
2932
2938
|
:current_performance_risk,
|
2933
2939
|
:effective_recommendation_preferences,
|
2934
|
-
:inferred_workload_types
|
2940
|
+
:inferred_workload_types,
|
2941
|
+
:instance_state)
|
2935
2942
|
SENSITIVE = []
|
2936
2943
|
include Aws::Structure
|
2937
2944
|
end
|
@@ -4196,30 +4203,30 @@ module Aws::ComputeOptimizer
|
|
4196
4203
|
# The Amazon ECS service configurations used for recommendations.
|
4197
4204
|
#
|
4198
4205
|
# @!attribute [rw] memory
|
4199
|
-
# The amount of memory used by the tasks in the ECS service.
|
4206
|
+
# The amount of memory used by the tasks in the Amazon ECS service.
|
4200
4207
|
# @return [Integer]
|
4201
4208
|
#
|
4202
4209
|
# @!attribute [rw] cpu
|
4203
|
-
# The number of CPU units used by the tasks in the ECS service.
|
4210
|
+
# The number of CPU units used by the tasks in the Amazon ECS service.
|
4204
4211
|
# @return [Integer]
|
4205
4212
|
#
|
4206
4213
|
# @!attribute [rw] container_configurations
|
4207
|
-
# The container configurations within a task of an ECS service.
|
4214
|
+
# The container configurations within a task of an Amazon ECS service.
|
4208
4215
|
# @return [Array<Types::ContainerConfiguration>]
|
4209
4216
|
#
|
4210
4217
|
# @!attribute [rw] auto_scaling_configuration
|
4211
4218
|
# Describes the Auto Scaling configuration methods for an Amazon ECS
|
4212
4219
|
# service. This affects the generated recommendations. For example, if
|
4213
|
-
# Auto Scaling is configured on a
|
4220
|
+
# Auto Scaling is configured on a service’s CPU, then Compute
|
4214
4221
|
# Optimizer doesn’t generate CPU size recommendations.
|
4215
4222
|
#
|
4216
4223
|
# The Auto Scaling configuration methods include:
|
4217
4224
|
#
|
4218
|
-
# * `TARGET_TRACKING_SCALING_CPU` — If the ECS service is
|
4219
|
-
# to use target scaling on CPU, Compute Optimizer
|
4220
|
-
# CPU recommendations.
|
4225
|
+
# * `TARGET_TRACKING_SCALING_CPU` — If the Amazon ECS service is
|
4226
|
+
# configured to use target scaling on CPU, Compute Optimizer
|
4227
|
+
# doesn't generate CPU recommendations.
|
4221
4228
|
#
|
4222
|
-
# * `TARGET_TRACKING_SCALING_MEMORY` — If the ECS service is
|
4229
|
+
# * `TARGET_TRACKING_SCALING_MEMORY` — If the Amazon ECS service is
|
4223
4230
|
# configured to use target scaling on memory, Compute Optimizer
|
4224
4231
|
# doesn't generate memory recommendations.
|
4225
4232
|
#
|
@@ -4235,7 +4242,7 @@ module Aws::ComputeOptimizer
|
|
4235
4242
|
# @return [String]
|
4236
4243
|
#
|
4237
4244
|
# @!attribute [rw] task_definition_arn
|
4238
|
-
# The task definition ARN used by the tasks in the ECS service.
|
4245
|
+
# The task definition ARN used by the tasks in the Amazon ECS service.
|
4239
4246
|
# @return [String]
|
4240
4247
|
#
|
4241
4248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ServiceConfiguration AWS API Documentation
|
@@ -4536,6 +4543,10 @@ module Aws::ComputeOptimizer
|
|
4536
4543
|
# The burst throughput of the volume.
|
4537
4544
|
# @return [Integer]
|
4538
4545
|
#
|
4546
|
+
# @!attribute [rw] root_volume
|
4547
|
+
# Contains the image used to boot the instance during launch.
|
4548
|
+
# @return [Boolean]
|
4549
|
+
#
|
4539
4550
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/VolumeConfiguration AWS API Documentation
|
4540
4551
|
#
|
4541
4552
|
class VolumeConfiguration < Struct.new(
|
@@ -4544,7 +4555,8 @@ module Aws::ComputeOptimizer
|
|
4544
4555
|
:volume_baseline_iops,
|
4545
4556
|
:volume_burst_iops,
|
4546
4557
|
:volume_baseline_throughput,
|
4547
|
-
:volume_burst_throughput
|
4558
|
+
:volume_burst_throughput,
|
4559
|
+
:root_volume)
|
4548
4560
|
SENSITIVE = []
|
4549
4561
|
include Aws::Structure
|
4550
4562
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-computeoptimizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|