aws-sdk-computeoptimizer 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +44 -24
- data/lib/aws-sdk-computeoptimizer/types.rb +67 -15
- 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: a042d1d21d78c7eb97fd2c31f0d86c00be46bc95443fecea92a6cc86e49e7034
|
|
4
|
+
data.tar.gz: 9035f1b212b39050ce0eeb5617c3e23455065a9e8f23d2322724b28d62d9d4ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4451078e1a405d32dd6ead11edeb2ba8729d8d81e4f569c9ebbf056bc474c501fc21f3989efede993ee41ab9a17681eed9a271c0bd22ff78d6a2a3f3e28d0150
|
|
7
|
+
data.tar.gz: da8b5aa2668b8b45c74265a235e994060ed56587096c05f5bbe6b4b52987ea9c328cce4885c65ecc9f7be775c3f85b92951add89540c87d235ff18f4588d678e
|
|
@@ -445,7 +445,13 @@ module Aws::ComputeOptimizer
|
|
|
445
445
|
# set of Auto Scaling group recommendations.
|
|
446
446
|
#
|
|
447
447
|
# @option params [Array<String>] :fields_to_export
|
|
448
|
-
# The recommendations data to include in the export file.
|
|
448
|
+
# The recommendations data to include in the export file. For more
|
|
449
|
+
# information about the fields that can be exported, see [Exported
|
|
450
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
|
451
|
+
#
|
|
452
|
+
#
|
|
453
|
+
#
|
|
454
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
|
449
455
|
#
|
|
450
456
|
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
|
451
457
|
# An object to specify the destination Amazon Simple Storage Service
|
|
@@ -501,7 +507,7 @@ module Aws::ComputeOptimizer
|
|
|
501
507
|
# values: ["FilterValue"],
|
|
502
508
|
# },
|
|
503
509
|
# ],
|
|
504
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, 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
|
|
510
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, 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
|
|
505
511
|
# s3_destination_config: { # required
|
|
506
512
|
# bucket: "DestinationBucket",
|
|
507
513
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -562,7 +568,13 @@ module Aws::ComputeOptimizer
|
|
|
562
568
|
# set of instance recommendations.
|
|
563
569
|
#
|
|
564
570
|
# @option params [Array<String>] :fields_to_export
|
|
565
|
-
# The recommendations data to include in the export file.
|
|
571
|
+
# The recommendations data to include in the export file. For more
|
|
572
|
+
# information about the fields that can be exported, see [Exported
|
|
573
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
|
574
|
+
#
|
|
575
|
+
#
|
|
576
|
+
#
|
|
577
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
|
566
578
|
#
|
|
567
579
|
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
|
568
580
|
# An object to specify the destination Amazon Simple Storage Service
|
|
@@ -615,7 +627,7 @@ module Aws::ComputeOptimizer
|
|
|
615
627
|
# values: ["FilterValue"],
|
|
616
628
|
# },
|
|
617
629
|
# ],
|
|
618
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
630
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
619
631
|
# s3_destination_config: { # required
|
|
620
632
|
# bucket: "DestinationBucket",
|
|
621
633
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -642,18 +654,14 @@ module Aws::ComputeOptimizer
|
|
|
642
654
|
|
|
643
655
|
# Returns Auto Scaling group recommendations.
|
|
644
656
|
#
|
|
645
|
-
# AWS Compute Optimizer
|
|
646
|
-
# Scaling groups that
|
|
647
|
-
#
|
|
648
|
-
#
|
|
649
|
-
# or that do not have the same values for desired, minimum, and maximum
|
|
650
|
-
# capacity. In order for Compute Optimizer to analyze your Auto Scaling
|
|
651
|
-
# groups, they must be of a fixed size. For more information, see the
|
|
652
|
-
# [AWS Compute Optimizer User Guide][1].
|
|
657
|
+
# AWS Compute Optimizer generates recommendations for Amazon EC2 Auto
|
|
658
|
+
# Scaling groups that meet a specific set of requirements. For more
|
|
659
|
+
# information, see the [Supported resources and requirements][1] in the
|
|
660
|
+
# *AWS Compute Optimizer User Guide*.
|
|
653
661
|
#
|
|
654
662
|
#
|
|
655
663
|
#
|
|
656
|
-
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/
|
|
664
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
657
665
|
#
|
|
658
666
|
# @option params [Array<String>] :account_ids
|
|
659
667
|
# The IDs of the AWS accounts for which to return Auto Scaling group
|
|
@@ -714,7 +722,7 @@ module Aws::ComputeOptimizer
|
|
|
714
722
|
# resp.auto_scaling_group_recommendations[0].auto_scaling_group_name #=> String
|
|
715
723
|
# resp.auto_scaling_group_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
716
724
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics #=> Array
|
|
717
|
-
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory"
|
|
725
|
+
# resp.auto_scaling_group_recommendations[0].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"
|
|
718
726
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
719
727
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].value #=> Float
|
|
720
728
|
# resp.auto_scaling_group_recommendations[0].look_back_period_in_days #=> Float
|
|
@@ -728,7 +736,7 @@ module Aws::ComputeOptimizer
|
|
|
728
736
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
|
|
729
737
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
|
|
730
738
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
731
|
-
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory"
|
|
739
|
+
# 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"
|
|
732
740
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
733
741
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
734
742
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
@@ -750,14 +758,14 @@ module Aws::ComputeOptimizer
|
|
|
750
758
|
|
|
751
759
|
# Returns Amazon EC2 instance recommendations.
|
|
752
760
|
#
|
|
753
|
-
# AWS Compute Optimizer
|
|
754
|
-
#
|
|
755
|
-
#
|
|
756
|
-
#
|
|
761
|
+
# AWS Compute Optimizer generates recommendations for Amazon Elastic
|
|
762
|
+
# Compute Cloud (Amazon EC2) instances that meet a specific set of
|
|
763
|
+
# requirements. For more information, see the [Supported resources and
|
|
764
|
+
# requirements][1] in the *AWS Compute Optimizer User Guide*.
|
|
757
765
|
#
|
|
758
766
|
#
|
|
759
767
|
#
|
|
760
|
-
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/
|
|
768
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
761
769
|
#
|
|
762
770
|
# @option params [Array<String>] :instance_arns
|
|
763
771
|
# The Amazon Resource Name (ARN) of the instances for which to return
|
|
@@ -818,14 +826,14 @@ module Aws::ComputeOptimizer
|
|
|
818
826
|
# resp.instance_recommendations[0].current_instance_type #=> String
|
|
819
827
|
# resp.instance_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
820
828
|
# resp.instance_recommendations[0].utilization_metrics #=> Array
|
|
821
|
-
# resp.instance_recommendations[0].utilization_metrics[0].name #=> String, one of "Cpu", "Memory"
|
|
829
|
+
# resp.instance_recommendations[0].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"
|
|
822
830
|
# resp.instance_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
823
831
|
# resp.instance_recommendations[0].utilization_metrics[0].value #=> Float
|
|
824
832
|
# resp.instance_recommendations[0].look_back_period_in_days #=> Float
|
|
825
833
|
# resp.instance_recommendations[0].recommendation_options #=> Array
|
|
826
834
|
# resp.instance_recommendations[0].recommendation_options[0].instance_type #=> String
|
|
827
835
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
828
|
-
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory"
|
|
836
|
+
# 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"
|
|
829
837
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
830
838
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
831
839
|
# resp.instance_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
@@ -851,6 +859,18 @@ module Aws::ComputeOptimizer
|
|
|
851
859
|
# Returns the projected utilization metrics of Amazon EC2 instance
|
|
852
860
|
# recommendations.
|
|
853
861
|
#
|
|
862
|
+
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
863
|
+
# metrics returned when you run this action. Additionally, the `Memory`
|
|
864
|
+
# metric is returned only for resources that have the unified CloudWatch
|
|
865
|
+
# agent installed on them. For more information, see [Enabling Memory
|
|
866
|
+
# Utilization with the CloudWatch Agent][1].
|
|
867
|
+
#
|
|
868
|
+
# </note>
|
|
869
|
+
#
|
|
870
|
+
#
|
|
871
|
+
#
|
|
872
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
873
|
+
#
|
|
854
874
|
# @option params [required, String] :instance_arn
|
|
855
875
|
# The Amazon Resource Name (ARN) of the instances for which to return
|
|
856
876
|
# recommendation projected metrics.
|
|
@@ -887,7 +907,7 @@ module Aws::ComputeOptimizer
|
|
|
887
907
|
# resp.recommended_option_projected_metrics[0].recommended_instance_type #=> String
|
|
888
908
|
# resp.recommended_option_projected_metrics[0].rank #=> Integer
|
|
889
909
|
# resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
|
|
890
|
-
# resp.recommended_option_projected_metrics[0].projected_metrics[0].name #=> String, one of "Cpu", "Memory"
|
|
910
|
+
# resp.recommended_option_projected_metrics[0].projected_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"
|
|
891
911
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
|
|
892
912
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
|
|
893
913
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
|
|
@@ -1044,7 +1064,7 @@ module Aws::ComputeOptimizer
|
|
|
1044
1064
|
params: params,
|
|
1045
1065
|
config: config)
|
|
1046
1066
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
1047
|
-
context[:gem_version] = '1.
|
|
1067
|
+
context[:gem_version] = '1.9.0'
|
|
1048
1068
|
Seahorse::Client::Request.new(handlers, context)
|
|
1049
1069
|
end
|
|
1050
1070
|
|
|
@@ -142,6 +142,18 @@ module Aws::ComputeOptimizer
|
|
|
142
142
|
# @!attribute [rw] projected_utilization_metrics
|
|
143
143
|
# An array of objects that describe the projected utilization metrics
|
|
144
144
|
# of the Auto Scaling group recommendation option.
|
|
145
|
+
#
|
|
146
|
+
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
147
|
+
# metrics returned. Additionally, the `Memory` metric is returned only
|
|
148
|
+
# for resources that have the unified CloudWatch agent installed on
|
|
149
|
+
# them. For more information, see [Enabling Memory Utilization with
|
|
150
|
+
# the CloudWatch Agent][1].
|
|
151
|
+
#
|
|
152
|
+
# </note>
|
|
153
|
+
#
|
|
154
|
+
#
|
|
155
|
+
#
|
|
156
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
145
157
|
# @return [Array<Types::UtilizationMetric>]
|
|
146
158
|
#
|
|
147
159
|
# @!attribute [rw] performance_risk
|
|
@@ -256,7 +268,7 @@ module Aws::ComputeOptimizer
|
|
|
256
268
|
# values: ["FilterValue"],
|
|
257
269
|
# },
|
|
258
270
|
# ],
|
|
259
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, 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
|
|
271
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, 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
|
|
260
272
|
# s3_destination_config: { # required
|
|
261
273
|
# bucket: "DestinationBucket",
|
|
262
274
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -289,7 +301,13 @@ module Aws::ComputeOptimizer
|
|
|
289
301
|
# @return [Array<Types::Filter>]
|
|
290
302
|
#
|
|
291
303
|
# @!attribute [rw] fields_to_export
|
|
292
|
-
# The recommendations data to include in the export file.
|
|
304
|
+
# The recommendations data to include in the export file. For more
|
|
305
|
+
# information about the fields that can be exported, see [Exported
|
|
306
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
|
307
|
+
#
|
|
308
|
+
#
|
|
309
|
+
#
|
|
310
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
|
293
311
|
# @return [Array<String>]
|
|
294
312
|
#
|
|
295
313
|
# @!attribute [rw] s3_destination_config
|
|
@@ -396,7 +414,7 @@ module Aws::ComputeOptimizer
|
|
|
396
414
|
# values: ["FilterValue"],
|
|
397
415
|
# },
|
|
398
416
|
# ],
|
|
399
|
-
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
417
|
+
# fields_to_export: ["AccountId"], # accepts AccountId, InstanceArn, InstanceName, Finding, LookbackPeriodInDays, CurrentInstanceType, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsInstanceType, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationsSourcesRecommendationSourceArn, RecommendationsSourcesRecommendationSourceType, LastRefreshTimestamp
|
|
400
418
|
# s3_destination_config: { # required
|
|
401
419
|
# bucket: "DestinationBucket",
|
|
402
420
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -429,7 +447,13 @@ module Aws::ComputeOptimizer
|
|
|
429
447
|
# @return [Array<Types::Filter>]
|
|
430
448
|
#
|
|
431
449
|
# @!attribute [rw] fields_to_export
|
|
432
|
-
# The recommendations data to include in the export file.
|
|
450
|
+
# The recommendations data to include in the export file. For more
|
|
451
|
+
# information about the fields that can be exported, see [Exported
|
|
452
|
+
# files][1] in the *Compute Optimizer User Guide*.
|
|
453
|
+
#
|
|
454
|
+
#
|
|
455
|
+
#
|
|
456
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
|
|
433
457
|
# @return [Array<String>]
|
|
434
458
|
#
|
|
435
459
|
# @!attribute [rw] s3_destination_config
|
|
@@ -1014,6 +1038,18 @@ module Aws::ComputeOptimizer
|
|
|
1014
1038
|
# @!attribute [rw] projected_utilization_metrics
|
|
1015
1039
|
# An array of objects that describe the projected utilization metrics
|
|
1016
1040
|
# of the instance recommendation option.
|
|
1041
|
+
#
|
|
1042
|
+
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
1043
|
+
# metrics returned. Additionally, the `Memory` metric is returned only
|
|
1044
|
+
# for resources that have the unified CloudWatch agent installed on
|
|
1045
|
+
# them. For more information, see [Enabling Memory Utilization with
|
|
1046
|
+
# the CloudWatch Agent][1].
|
|
1047
|
+
#
|
|
1048
|
+
# </note>
|
|
1049
|
+
#
|
|
1050
|
+
#
|
|
1051
|
+
#
|
|
1052
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1017
1053
|
# @return [Array<Types::UtilizationMetric>]
|
|
1018
1054
|
#
|
|
1019
1055
|
# @!attribute [rw] performance_risk
|
|
@@ -1155,18 +1191,21 @@ module Aws::ComputeOptimizer
|
|
|
1155
1191
|
# Describes a projected utilization metric of a recommendation option,
|
|
1156
1192
|
# such as an Amazon EC2 instance.
|
|
1157
1193
|
#
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1194
|
+
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
1195
|
+
# metrics returned when you run the
|
|
1196
|
+
# `GetEC2RecommendationProjectedMetrics` action. Additionally, the
|
|
1197
|
+
# `Memory` metric is returned only for resources that have the unified
|
|
1198
|
+
# CloudWatch agent installed on them. For more information, see
|
|
1199
|
+
# [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1160
1200
|
#
|
|
1161
|
-
#
|
|
1162
|
-
# CloudWatch agent installed on them. For more information, see
|
|
1163
|
-
# [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1201
|
+
# </note>
|
|
1164
1202
|
#
|
|
1165
|
-
# </note>
|
|
1166
1203
|
#
|
|
1167
1204
|
#
|
|
1205
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1168
1206
|
#
|
|
1169
|
-
#
|
|
1207
|
+
# @!attribute [rw] name
|
|
1208
|
+
# The name of the projected utilization metric.
|
|
1170
1209
|
# @return [String]
|
|
1171
1210
|
#
|
|
1172
1211
|
# @!attribute [rw] timestamps
|
|
@@ -1284,6 +1323,19 @@ module Aws::ComputeOptimizer
|
|
|
1284
1323
|
|
|
1285
1324
|
# Describes a projected utilization metric of a recommendation option.
|
|
1286
1325
|
#
|
|
1326
|
+
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
1327
|
+
# metrics returned when you run the
|
|
1328
|
+
# `GetEC2RecommendationProjectedMetrics` action. Additionally, the
|
|
1329
|
+
# `Memory` metric is returned only for resources that have the unified
|
|
1330
|
+
# CloudWatch agent installed on them. For more information, see
|
|
1331
|
+
# [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1332
|
+
#
|
|
1333
|
+
# </note>
|
|
1334
|
+
#
|
|
1335
|
+
#
|
|
1336
|
+
#
|
|
1337
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1338
|
+
#
|
|
1287
1339
|
# @!attribute [rw] recommended_instance_type
|
|
1288
1340
|
# The recommended instance type.
|
|
1289
1341
|
# @return [String]
|
|
@@ -1501,15 +1553,15 @@ module Aws::ComputeOptimizer
|
|
|
1501
1553
|
# @!attribute [rw] name
|
|
1502
1554
|
# The name of the utilization metric.
|
|
1503
1555
|
#
|
|
1504
|
-
# <note markdown="1"> Memory
|
|
1505
|
-
# CloudWatch agent installed on them. For more information,
|
|
1506
|
-
# [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1556
|
+
# <note markdown="1"> The `Memory` metric is returned only for resources that have the
|
|
1557
|
+
# unified CloudWatch agent installed on them. For more information,
|
|
1558
|
+
# see [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1507
1559
|
#
|
|
1508
1560
|
# </note>
|
|
1509
1561
|
#
|
|
1510
1562
|
#
|
|
1511
1563
|
#
|
|
1512
|
-
# [1]: https://docs.aws.amazon.com/
|
|
1564
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1513
1565
|
# @return [String]
|
|
1514
1566
|
#
|
|
1515
1567
|
# @!attribute [rw] statistic
|
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.9.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: 2020-
|
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|