aws-sdk-computeoptimizer 1.4.1 → 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 +5 -2
- data/lib/aws-sdk-computeoptimizer/client.rb +68 -31
- data/lib/aws-sdk-computeoptimizer/client_api.rb +2 -0
- data/lib/aws-sdk-computeoptimizer/errors.rb +2 -0
- data/lib/aws-sdk-computeoptimizer/resource.rb +2 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +113 -15
- metadata +4 -4
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
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -5,6 +7,7 @@
|
|
|
5
7
|
#
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
|
7
9
|
|
|
10
|
+
|
|
8
11
|
require 'aws-sdk-core'
|
|
9
12
|
require 'aws-sigv4'
|
|
10
13
|
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
|
|
|
42
45
|
#
|
|
43
46
|
# See {Errors} for more information.
|
|
44
47
|
#
|
|
45
|
-
#
|
|
48
|
+
# @!group service
|
|
46
49
|
module Aws::ComputeOptimizer
|
|
47
50
|
|
|
48
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.9.0'
|
|
49
52
|
|
|
50
53
|
end
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -83,13 +85,28 @@ module Aws::ComputeOptimizer
|
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
84
86
|
# credentials.
|
|
85
87
|
#
|
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
89
|
+
# shared file, such as `~/.aws/config`.
|
|
90
|
+
#
|
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
92
|
+
#
|
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
94
|
+
# assume a role after providing credentials via the web.
|
|
95
|
+
#
|
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
97
|
+
# access token generated from `aws login`.
|
|
98
|
+
#
|
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
100
|
+
# process that outputs to stdout.
|
|
101
|
+
#
|
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
|
88
104
|
#
|
|
89
|
-
# * `Aws::
|
|
90
|
-
#
|
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
106
|
+
# instances running in ECS.
|
|
91
107
|
#
|
|
92
|
-
# * `Aws::
|
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
109
|
+
# from the Cognito Identity service.
|
|
93
110
|
#
|
|
94
111
|
# When `:credentials` are not configured directly, the following
|
|
95
112
|
# locations will be searched for credentials:
|
|
@@ -99,10 +116,10 @@ module Aws::ComputeOptimizer
|
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
|
100
117
|
# * `~/.aws/credentials`
|
|
101
118
|
# * `~/.aws/config`
|
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
|
103
|
-
# very aggressive. Construct and pass an instance of
|
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
|
105
|
-
# timeouts.
|
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
122
|
+
# enable retries and extended timeouts.
|
|
106
123
|
#
|
|
107
124
|
# @option options [required, String] :region
|
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -428,7 +445,13 @@ module Aws::ComputeOptimizer
|
|
|
428
445
|
# set of Auto Scaling group recommendations.
|
|
429
446
|
#
|
|
430
447
|
# @option params [Array<String>] :fields_to_export
|
|
431
|
-
# 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
|
|
432
455
|
#
|
|
433
456
|
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
|
434
457
|
# An object to specify the destination Amazon Simple Storage Service
|
|
@@ -484,7 +507,7 @@ module Aws::ComputeOptimizer
|
|
|
484
507
|
# values: ["FilterValue"],
|
|
485
508
|
# },
|
|
486
509
|
# ],
|
|
487
|
-
# 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
|
|
488
511
|
# s3_destination_config: { # required
|
|
489
512
|
# bucket: "DestinationBucket",
|
|
490
513
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -545,7 +568,13 @@ module Aws::ComputeOptimizer
|
|
|
545
568
|
# set of instance recommendations.
|
|
546
569
|
#
|
|
547
570
|
# @option params [Array<String>] :fields_to_export
|
|
548
|
-
# 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
|
|
549
578
|
#
|
|
550
579
|
# @option params [required, Types::S3DestinationConfig] :s3_destination_config
|
|
551
580
|
# An object to specify the destination Amazon Simple Storage Service
|
|
@@ -598,7 +627,7 @@ module Aws::ComputeOptimizer
|
|
|
598
627
|
# values: ["FilterValue"],
|
|
599
628
|
# },
|
|
600
629
|
# ],
|
|
601
|
-
# 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
|
|
602
631
|
# s3_destination_config: { # required
|
|
603
632
|
# bucket: "DestinationBucket",
|
|
604
633
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -625,18 +654,14 @@ module Aws::ComputeOptimizer
|
|
|
625
654
|
|
|
626
655
|
# Returns Auto Scaling group recommendations.
|
|
627
656
|
#
|
|
628
|
-
# AWS Compute Optimizer
|
|
629
|
-
# Scaling groups that
|
|
630
|
-
#
|
|
631
|
-
#
|
|
632
|
-
# or that do not have the same values for desired, minimum, and maximum
|
|
633
|
-
# capacity. In order for Compute Optimizer to analyze your Auto Scaling
|
|
634
|
-
# groups, they must be of a fixed size. For more information, see the
|
|
635
|
-
# [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*.
|
|
636
661
|
#
|
|
637
662
|
#
|
|
638
663
|
#
|
|
639
|
-
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/
|
|
664
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
640
665
|
#
|
|
641
666
|
# @option params [Array<String>] :account_ids
|
|
642
667
|
# The IDs of the AWS accounts for which to return Auto Scaling group
|
|
@@ -697,7 +722,7 @@ module Aws::ComputeOptimizer
|
|
|
697
722
|
# resp.auto_scaling_group_recommendations[0].auto_scaling_group_name #=> String
|
|
698
723
|
# resp.auto_scaling_group_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
699
724
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics #=> Array
|
|
700
|
-
# 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"
|
|
701
726
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
702
727
|
# resp.auto_scaling_group_recommendations[0].utilization_metrics[0].value #=> Float
|
|
703
728
|
# resp.auto_scaling_group_recommendations[0].look_back_period_in_days #=> Float
|
|
@@ -711,7 +736,7 @@ module Aws::ComputeOptimizer
|
|
|
711
736
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
|
|
712
737
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
|
|
713
738
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
714
|
-
# 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"
|
|
715
740
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
716
741
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
717
742
|
# resp.auto_scaling_group_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
@@ -733,14 +758,14 @@ module Aws::ComputeOptimizer
|
|
|
733
758
|
|
|
734
759
|
# Returns Amazon EC2 instance recommendations.
|
|
735
760
|
#
|
|
736
|
-
# AWS Compute Optimizer
|
|
737
|
-
#
|
|
738
|
-
#
|
|
739
|
-
#
|
|
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*.
|
|
740
765
|
#
|
|
741
766
|
#
|
|
742
767
|
#
|
|
743
|
-
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/
|
|
768
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
744
769
|
#
|
|
745
770
|
# @option params [Array<String>] :instance_arns
|
|
746
771
|
# The Amazon Resource Name (ARN) of the instances for which to return
|
|
@@ -801,14 +826,14 @@ module Aws::ComputeOptimizer
|
|
|
801
826
|
# resp.instance_recommendations[0].current_instance_type #=> String
|
|
802
827
|
# resp.instance_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
|
|
803
828
|
# resp.instance_recommendations[0].utilization_metrics #=> Array
|
|
804
|
-
# 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"
|
|
805
830
|
# resp.instance_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
806
831
|
# resp.instance_recommendations[0].utilization_metrics[0].value #=> Float
|
|
807
832
|
# resp.instance_recommendations[0].look_back_period_in_days #=> Float
|
|
808
833
|
# resp.instance_recommendations[0].recommendation_options #=> Array
|
|
809
834
|
# resp.instance_recommendations[0].recommendation_options[0].instance_type #=> String
|
|
810
835
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
|
|
811
|
-
# 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"
|
|
812
837
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
|
|
813
838
|
# resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
|
|
814
839
|
# resp.instance_recommendations[0].recommendation_options[0].performance_risk #=> Float
|
|
@@ -834,6 +859,18 @@ module Aws::ComputeOptimizer
|
|
|
834
859
|
# Returns the projected utilization metrics of Amazon EC2 instance
|
|
835
860
|
# recommendations.
|
|
836
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
|
+
#
|
|
837
874
|
# @option params [required, String] :instance_arn
|
|
838
875
|
# The Amazon Resource Name (ARN) of the instances for which to return
|
|
839
876
|
# recommendation projected metrics.
|
|
@@ -870,7 +907,7 @@ module Aws::ComputeOptimizer
|
|
|
870
907
|
# resp.recommended_option_projected_metrics[0].recommended_instance_type #=> String
|
|
871
908
|
# resp.recommended_option_projected_metrics[0].rank #=> Integer
|
|
872
909
|
# resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
|
|
873
|
-
# 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"
|
|
874
911
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
|
|
875
912
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
|
|
876
913
|
# resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
|
|
@@ -1027,7 +1064,7 @@ module Aws::ComputeOptimizer
|
|
|
1027
1064
|
params: params,
|
|
1028
1065
|
config: config)
|
|
1029
1066
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
1030
|
-
context[:gem_version] = '1.
|
|
1067
|
+
context[:gem_version] = '1.9.0'
|
|
1031
1068
|
Seahorse::Client::Request.new(handlers, context)
|
|
1032
1069
|
end
|
|
1033
1070
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
|
2
4
|
#
|
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
|
@@ -17,6 +19,7 @@ module Aws::ComputeOptimizer
|
|
|
17
19
|
#
|
|
18
20
|
class AccessDeniedException < Struct.new(
|
|
19
21
|
:message)
|
|
22
|
+
SENSITIVE = []
|
|
20
23
|
include Aws::Structure
|
|
21
24
|
end
|
|
22
25
|
|
|
@@ -48,6 +51,7 @@ module Aws::ComputeOptimizer
|
|
|
48
51
|
:min_size,
|
|
49
52
|
:max_size,
|
|
50
53
|
:instance_type)
|
|
54
|
+
SENSITIVE = []
|
|
51
55
|
include Aws::Structure
|
|
52
56
|
end
|
|
53
57
|
|
|
@@ -124,6 +128,7 @@ module Aws::ComputeOptimizer
|
|
|
124
128
|
:current_configuration,
|
|
125
129
|
:recommendation_options,
|
|
126
130
|
:last_refresh_timestamp)
|
|
131
|
+
SENSITIVE = []
|
|
127
132
|
include Aws::Structure
|
|
128
133
|
end
|
|
129
134
|
|
|
@@ -137,6 +142,18 @@ module Aws::ComputeOptimizer
|
|
|
137
142
|
# @!attribute [rw] projected_utilization_metrics
|
|
138
143
|
# An array of objects that describe the projected utilization metrics
|
|
139
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
|
|
140
157
|
# @return [Array<Types::UtilizationMetric>]
|
|
141
158
|
#
|
|
142
159
|
# @!attribute [rw] performance_risk
|
|
@@ -163,6 +180,7 @@ module Aws::ComputeOptimizer
|
|
|
163
180
|
:projected_utilization_metrics,
|
|
164
181
|
:performance_risk,
|
|
165
182
|
:rank)
|
|
183
|
+
SENSITIVE = []
|
|
166
184
|
include Aws::Structure
|
|
167
185
|
end
|
|
168
186
|
|
|
@@ -215,6 +233,7 @@ module Aws::ComputeOptimizer
|
|
|
215
233
|
:filters,
|
|
216
234
|
:next_token,
|
|
217
235
|
:max_results)
|
|
236
|
+
SENSITIVE = []
|
|
218
237
|
include Aws::Structure
|
|
219
238
|
end
|
|
220
239
|
|
|
@@ -234,6 +253,7 @@ module Aws::ComputeOptimizer
|
|
|
234
253
|
class DescribeRecommendationExportJobsResponse < Struct.new(
|
|
235
254
|
:recommendation_export_jobs,
|
|
236
255
|
:next_token)
|
|
256
|
+
SENSITIVE = []
|
|
237
257
|
include Aws::Structure
|
|
238
258
|
end
|
|
239
259
|
|
|
@@ -248,7 +268,7 @@ module Aws::ComputeOptimizer
|
|
|
248
268
|
# values: ["FilterValue"],
|
|
249
269
|
# },
|
|
250
270
|
# ],
|
|
251
|
-
# 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
|
|
252
272
|
# s3_destination_config: { # required
|
|
253
273
|
# bucket: "DestinationBucket",
|
|
254
274
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -281,7 +301,13 @@ module Aws::ComputeOptimizer
|
|
|
281
301
|
# @return [Array<Types::Filter>]
|
|
282
302
|
#
|
|
283
303
|
# @!attribute [rw] fields_to_export
|
|
284
|
-
# 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
|
|
285
311
|
# @return [Array<String>]
|
|
286
312
|
#
|
|
287
313
|
# @!attribute [rw] s3_destination_config
|
|
@@ -335,6 +361,7 @@ module Aws::ComputeOptimizer
|
|
|
335
361
|
:s3_destination_config,
|
|
336
362
|
:file_format,
|
|
337
363
|
:include_member_accounts)
|
|
364
|
+
SENSITIVE = []
|
|
338
365
|
include Aws::Structure
|
|
339
366
|
end
|
|
340
367
|
|
|
@@ -355,6 +382,7 @@ module Aws::ComputeOptimizer
|
|
|
355
382
|
class ExportAutoScalingGroupRecommendationsResponse < Struct.new(
|
|
356
383
|
:job_id,
|
|
357
384
|
:s3_destination)
|
|
385
|
+
SENSITIVE = []
|
|
358
386
|
include Aws::Structure
|
|
359
387
|
end
|
|
360
388
|
|
|
@@ -371,6 +399,7 @@ module Aws::ComputeOptimizer
|
|
|
371
399
|
#
|
|
372
400
|
class ExportDestination < Struct.new(
|
|
373
401
|
:s3)
|
|
402
|
+
SENSITIVE = []
|
|
374
403
|
include Aws::Structure
|
|
375
404
|
end
|
|
376
405
|
|
|
@@ -385,7 +414,7 @@ module Aws::ComputeOptimizer
|
|
|
385
414
|
# values: ["FilterValue"],
|
|
386
415
|
# },
|
|
387
416
|
# ],
|
|
388
|
-
# 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
|
|
389
418
|
# s3_destination_config: { # required
|
|
390
419
|
# bucket: "DestinationBucket",
|
|
391
420
|
# key_prefix: "DestinationKeyPrefix",
|
|
@@ -418,7 +447,13 @@ module Aws::ComputeOptimizer
|
|
|
418
447
|
# @return [Array<Types::Filter>]
|
|
419
448
|
#
|
|
420
449
|
# @!attribute [rw] fields_to_export
|
|
421
|
-
# 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
|
|
422
457
|
# @return [Array<String>]
|
|
423
458
|
#
|
|
424
459
|
# @!attribute [rw] s3_destination_config
|
|
@@ -469,6 +504,7 @@ module Aws::ComputeOptimizer
|
|
|
469
504
|
:s3_destination_config,
|
|
470
505
|
:file_format,
|
|
471
506
|
:include_member_accounts)
|
|
507
|
+
SENSITIVE = []
|
|
472
508
|
include Aws::Structure
|
|
473
509
|
end
|
|
474
510
|
|
|
@@ -489,6 +525,7 @@ module Aws::ComputeOptimizer
|
|
|
489
525
|
class ExportEC2InstanceRecommendationsResponse < Struct.new(
|
|
490
526
|
:job_id,
|
|
491
527
|
:s3_destination)
|
|
528
|
+
SENSITIVE = []
|
|
492
529
|
include Aws::Structure
|
|
493
530
|
end
|
|
494
531
|
|
|
@@ -534,6 +571,7 @@ module Aws::ComputeOptimizer
|
|
|
534
571
|
class Filter < Struct.new(
|
|
535
572
|
:name,
|
|
536
573
|
:values)
|
|
574
|
+
SENSITIVE = []
|
|
537
575
|
include Aws::Structure
|
|
538
576
|
end
|
|
539
577
|
|
|
@@ -595,6 +633,7 @@ module Aws::ComputeOptimizer
|
|
|
595
633
|
:next_token,
|
|
596
634
|
:max_results,
|
|
597
635
|
:filters)
|
|
636
|
+
SENSITIVE = []
|
|
598
637
|
include Aws::Structure
|
|
599
638
|
end
|
|
600
639
|
|
|
@@ -624,6 +663,7 @@ module Aws::ComputeOptimizer
|
|
|
624
663
|
:next_token,
|
|
625
664
|
:auto_scaling_group_recommendations,
|
|
626
665
|
:errors)
|
|
666
|
+
SENSITIVE = []
|
|
627
667
|
include Aws::Structure
|
|
628
668
|
end
|
|
629
669
|
|
|
@@ -684,6 +724,7 @@ module Aws::ComputeOptimizer
|
|
|
684
724
|
:max_results,
|
|
685
725
|
:filters,
|
|
686
726
|
:account_ids)
|
|
727
|
+
SENSITIVE = []
|
|
687
728
|
include Aws::Structure
|
|
688
729
|
end
|
|
689
730
|
|
|
@@ -712,6 +753,7 @@ module Aws::ComputeOptimizer
|
|
|
712
753
|
:next_token,
|
|
713
754
|
:instance_recommendations,
|
|
714
755
|
:errors)
|
|
756
|
+
SENSITIVE = []
|
|
715
757
|
include Aws::Structure
|
|
716
758
|
end
|
|
717
759
|
|
|
@@ -755,6 +797,7 @@ module Aws::ComputeOptimizer
|
|
|
755
797
|
:period,
|
|
756
798
|
:start_time,
|
|
757
799
|
:end_time)
|
|
800
|
+
SENSITIVE = []
|
|
758
801
|
include Aws::Structure
|
|
759
802
|
end
|
|
760
803
|
|
|
@@ -766,6 +809,7 @@ module Aws::ComputeOptimizer
|
|
|
766
809
|
#
|
|
767
810
|
class GetEC2RecommendationProjectedMetricsResponse < Struct.new(
|
|
768
811
|
:recommended_option_projected_metrics)
|
|
812
|
+
SENSITIVE = []
|
|
769
813
|
include Aws::Structure
|
|
770
814
|
end
|
|
771
815
|
|
|
@@ -798,6 +842,7 @@ module Aws::ComputeOptimizer
|
|
|
798
842
|
:status,
|
|
799
843
|
:status_reason,
|
|
800
844
|
:member_accounts_enrolled)
|
|
845
|
+
SENSITIVE = []
|
|
801
846
|
include Aws::Structure
|
|
802
847
|
end
|
|
803
848
|
|
|
@@ -825,6 +870,7 @@ module Aws::ComputeOptimizer
|
|
|
825
870
|
:identifier,
|
|
826
871
|
:code,
|
|
827
872
|
:message)
|
|
873
|
+
SENSITIVE = []
|
|
828
874
|
include Aws::Structure
|
|
829
875
|
end
|
|
830
876
|
|
|
@@ -866,6 +912,7 @@ module Aws::ComputeOptimizer
|
|
|
866
912
|
:account_ids,
|
|
867
913
|
:next_token,
|
|
868
914
|
:max_results)
|
|
915
|
+
SENSITIVE = []
|
|
869
916
|
include Aws::Structure
|
|
870
917
|
end
|
|
871
918
|
|
|
@@ -886,6 +933,7 @@ module Aws::ComputeOptimizer
|
|
|
886
933
|
class GetRecommendationSummariesResponse < Struct.new(
|
|
887
934
|
:next_token,
|
|
888
935
|
:recommendation_summaries)
|
|
936
|
+
SENSITIVE = []
|
|
889
937
|
include Aws::Structure
|
|
890
938
|
end
|
|
891
939
|
|
|
@@ -977,6 +1025,7 @@ module Aws::ComputeOptimizer
|
|
|
977
1025
|
:recommendation_options,
|
|
978
1026
|
:recommendation_sources,
|
|
979
1027
|
:last_refresh_timestamp)
|
|
1028
|
+
SENSITIVE = []
|
|
980
1029
|
include Aws::Structure
|
|
981
1030
|
end
|
|
982
1031
|
|
|
@@ -989,6 +1038,18 @@ module Aws::ComputeOptimizer
|
|
|
989
1038
|
# @!attribute [rw] projected_utilization_metrics
|
|
990
1039
|
# An array of objects that describe the projected utilization metrics
|
|
991
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
|
|
992
1053
|
# @return [Array<Types::UtilizationMetric>]
|
|
993
1054
|
#
|
|
994
1055
|
# @!attribute [rw] performance_risk
|
|
@@ -1014,6 +1075,7 @@ module Aws::ComputeOptimizer
|
|
|
1014
1075
|
:projected_utilization_metrics,
|
|
1015
1076
|
:performance_risk,
|
|
1016
1077
|
:rank)
|
|
1078
|
+
SENSITIVE = []
|
|
1017
1079
|
include Aws::Structure
|
|
1018
1080
|
end
|
|
1019
1081
|
|
|
@@ -1026,6 +1088,7 @@ module Aws::ComputeOptimizer
|
|
|
1026
1088
|
#
|
|
1027
1089
|
class InternalServerException < Struct.new(
|
|
1028
1090
|
:message)
|
|
1091
|
+
SENSITIVE = []
|
|
1029
1092
|
include Aws::Structure
|
|
1030
1093
|
end
|
|
1031
1094
|
|
|
@@ -1038,6 +1101,7 @@ module Aws::ComputeOptimizer
|
|
|
1038
1101
|
#
|
|
1039
1102
|
class InvalidParameterValueException < Struct.new(
|
|
1040
1103
|
:message)
|
|
1104
|
+
SENSITIVE = []
|
|
1041
1105
|
include Aws::Structure
|
|
1042
1106
|
end
|
|
1043
1107
|
|
|
@@ -1080,6 +1144,7 @@ module Aws::ComputeOptimizer
|
|
|
1080
1144
|
class JobFilter < Struct.new(
|
|
1081
1145
|
:name,
|
|
1082
1146
|
:values)
|
|
1147
|
+
SENSITIVE = []
|
|
1083
1148
|
include Aws::Structure
|
|
1084
1149
|
end
|
|
1085
1150
|
|
|
@@ -1092,6 +1157,7 @@ module Aws::ComputeOptimizer
|
|
|
1092
1157
|
#
|
|
1093
1158
|
class LimitExceededException < Struct.new(
|
|
1094
1159
|
:message)
|
|
1160
|
+
SENSITIVE = []
|
|
1095
1161
|
include Aws::Structure
|
|
1096
1162
|
end
|
|
1097
1163
|
|
|
@@ -1105,6 +1171,7 @@ module Aws::ComputeOptimizer
|
|
|
1105
1171
|
#
|
|
1106
1172
|
class MissingAuthenticationToken < Struct.new(
|
|
1107
1173
|
:message)
|
|
1174
|
+
SENSITIVE = []
|
|
1108
1175
|
include Aws::Structure
|
|
1109
1176
|
end
|
|
1110
1177
|
|
|
@@ -1117,24 +1184,28 @@ module Aws::ComputeOptimizer
|
|
|
1117
1184
|
#
|
|
1118
1185
|
class OptInRequiredException < Struct.new(
|
|
1119
1186
|
:message)
|
|
1187
|
+
SENSITIVE = []
|
|
1120
1188
|
include Aws::Structure
|
|
1121
1189
|
end
|
|
1122
1190
|
|
|
1123
1191
|
# Describes a projected utilization metric of a recommendation option,
|
|
1124
1192
|
# such as an Amazon EC2 instance.
|
|
1125
1193
|
#
|
|
1126
|
-
#
|
|
1127
|
-
#
|
|
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].
|
|
1128
1200
|
#
|
|
1129
|
-
#
|
|
1130
|
-
# CloudWatch agent installed on them. For more information, see
|
|
1131
|
-
# [Enabling Memory Utilization with the CloudWatch Agent][1].
|
|
1201
|
+
# </note>
|
|
1132
1202
|
#
|
|
1133
|
-
# </note>
|
|
1134
1203
|
#
|
|
1135
1204
|
#
|
|
1205
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1136
1206
|
#
|
|
1137
|
-
#
|
|
1207
|
+
# @!attribute [rw] name
|
|
1208
|
+
# The name of the projected utilization metric.
|
|
1138
1209
|
# @return [String]
|
|
1139
1210
|
#
|
|
1140
1211
|
# @!attribute [rw] timestamps
|
|
@@ -1151,6 +1222,7 @@ module Aws::ComputeOptimizer
|
|
|
1151
1222
|
:name,
|
|
1152
1223
|
:timestamps,
|
|
1153
1224
|
:values)
|
|
1225
|
+
SENSITIVE = []
|
|
1154
1226
|
include Aws::Structure
|
|
1155
1227
|
end
|
|
1156
1228
|
|
|
@@ -1201,6 +1273,7 @@ module Aws::ComputeOptimizer
|
|
|
1201
1273
|
:creation_timestamp,
|
|
1202
1274
|
:last_updated_timestamp,
|
|
1203
1275
|
:failure_reason)
|
|
1276
|
+
SENSITIVE = []
|
|
1204
1277
|
include Aws::Structure
|
|
1205
1278
|
end
|
|
1206
1279
|
|
|
@@ -1220,6 +1293,7 @@ module Aws::ComputeOptimizer
|
|
|
1220
1293
|
class RecommendationSource < Struct.new(
|
|
1221
1294
|
:recommendation_source_arn,
|
|
1222
1295
|
:recommendation_source_type)
|
|
1296
|
+
SENSITIVE = []
|
|
1223
1297
|
include Aws::Structure
|
|
1224
1298
|
end
|
|
1225
1299
|
|
|
@@ -1243,11 +1317,25 @@ module Aws::ComputeOptimizer
|
|
|
1243
1317
|
:summaries,
|
|
1244
1318
|
:recommendation_resource_type,
|
|
1245
1319
|
:account_id)
|
|
1320
|
+
SENSITIVE = []
|
|
1246
1321
|
include Aws::Structure
|
|
1247
1322
|
end
|
|
1248
1323
|
|
|
1249
1324
|
# Describes a projected utilization metric of a recommendation option.
|
|
1250
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
|
+
#
|
|
1251
1339
|
# @!attribute [rw] recommended_instance_type
|
|
1252
1340
|
# The recommended instance type.
|
|
1253
1341
|
# @return [String]
|
|
@@ -1273,6 +1361,7 @@ module Aws::ComputeOptimizer
|
|
|
1273
1361
|
:recommended_instance_type,
|
|
1274
1362
|
:rank,
|
|
1275
1363
|
:projected_metrics)
|
|
1364
|
+
SENSITIVE = []
|
|
1276
1365
|
include Aws::Structure
|
|
1277
1366
|
end
|
|
1278
1367
|
|
|
@@ -1285,6 +1374,7 @@ module Aws::ComputeOptimizer
|
|
|
1285
1374
|
#
|
|
1286
1375
|
class ResourceNotFoundException < Struct.new(
|
|
1287
1376
|
:message)
|
|
1377
|
+
SENSITIVE = []
|
|
1288
1378
|
include Aws::Structure
|
|
1289
1379
|
end
|
|
1290
1380
|
|
|
@@ -1317,6 +1407,7 @@ module Aws::ComputeOptimizer
|
|
|
1317
1407
|
:bucket,
|
|
1318
1408
|
:key,
|
|
1319
1409
|
:metadata_key)
|
|
1410
|
+
SENSITIVE = []
|
|
1320
1411
|
include Aws::Structure
|
|
1321
1412
|
end
|
|
1322
1413
|
|
|
@@ -1359,6 +1450,7 @@ module Aws::ComputeOptimizer
|
|
|
1359
1450
|
class S3DestinationConfig < Struct.new(
|
|
1360
1451
|
:bucket,
|
|
1361
1452
|
:key_prefix)
|
|
1453
|
+
SENSITIVE = []
|
|
1362
1454
|
include Aws::Structure
|
|
1363
1455
|
end
|
|
1364
1456
|
|
|
@@ -1371,6 +1463,7 @@ module Aws::ComputeOptimizer
|
|
|
1371
1463
|
#
|
|
1372
1464
|
class ServiceUnavailableException < Struct.new(
|
|
1373
1465
|
:message)
|
|
1466
|
+
SENSITIVE = []
|
|
1374
1467
|
include Aws::Structure
|
|
1375
1468
|
end
|
|
1376
1469
|
|
|
@@ -1389,6 +1482,7 @@ module Aws::ComputeOptimizer
|
|
|
1389
1482
|
class Summary < Struct.new(
|
|
1390
1483
|
:name,
|
|
1391
1484
|
:value)
|
|
1485
|
+
SENSITIVE = []
|
|
1392
1486
|
include Aws::Structure
|
|
1393
1487
|
end
|
|
1394
1488
|
|
|
@@ -1401,6 +1495,7 @@ module Aws::ComputeOptimizer
|
|
|
1401
1495
|
#
|
|
1402
1496
|
class ThrottlingException < Struct.new(
|
|
1403
1497
|
:message)
|
|
1498
|
+
SENSITIVE = []
|
|
1404
1499
|
include Aws::Structure
|
|
1405
1500
|
end
|
|
1406
1501
|
|
|
@@ -1429,6 +1524,7 @@ module Aws::ComputeOptimizer
|
|
|
1429
1524
|
class UpdateEnrollmentStatusRequest < Struct.new(
|
|
1430
1525
|
:status,
|
|
1431
1526
|
:include_member_accounts)
|
|
1527
|
+
SENSITIVE = []
|
|
1432
1528
|
include Aws::Structure
|
|
1433
1529
|
end
|
|
1434
1530
|
|
|
@@ -1447,6 +1543,7 @@ module Aws::ComputeOptimizer
|
|
|
1447
1543
|
class UpdateEnrollmentStatusResponse < Struct.new(
|
|
1448
1544
|
:status,
|
|
1449
1545
|
:status_reason)
|
|
1546
|
+
SENSITIVE = []
|
|
1450
1547
|
include Aws::Structure
|
|
1451
1548
|
end
|
|
1452
1549
|
|
|
@@ -1456,15 +1553,15 @@ module Aws::ComputeOptimizer
|
|
|
1456
1553
|
# @!attribute [rw] name
|
|
1457
1554
|
# The name of the utilization metric.
|
|
1458
1555
|
#
|
|
1459
|
-
# <note markdown="1"> Memory
|
|
1460
|
-
# CloudWatch agent installed on them. For more information,
|
|
1461
|
-
# [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].
|
|
1462
1559
|
#
|
|
1463
1560
|
# </note>
|
|
1464
1561
|
#
|
|
1465
1562
|
#
|
|
1466
1563
|
#
|
|
1467
|
-
# [1]: https://docs.aws.amazon.com/
|
|
1564
|
+
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent
|
|
1468
1565
|
# @return [String]
|
|
1469
1566
|
#
|
|
1470
1567
|
# @!attribute [rw] statistic
|
|
@@ -1481,6 +1578,7 @@ module Aws::ComputeOptimizer
|
|
|
1481
1578
|
:name,
|
|
1482
1579
|
:statistic,
|
|
1483
1580
|
:value)
|
|
1581
|
+
SENSITIVE = []
|
|
1484
1582
|
include Aws::Structure
|
|
1485
1583
|
end
|
|
1486
1584
|
|
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
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.109.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.109.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|