aws-sdk-computeoptimizer 1.15.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3e71d7130da86042a01be6ac59dc5a235ac7d2eaa61e9ede4461bf6a986cd65
4
- data.tar.gz: fe35e50b3c20d03156bf1c40e566a3bbccadb779f691e6937d25f0438e774493
3
+ metadata.gz: d6b032bae116f4b3be051089683fe6cc96ba77f1b7af68968ea5fe56971a2fcf
4
+ data.tar.gz: 51c782c1992d04295f0c391de6adadeaecff81fd5fe0129b52da7e93769fbc55
5
5
  SHA512:
6
- metadata.gz: 41fe11cc72ab115f8c85bda5668b84d493f247b019c548859fe6807bb33b960cac07701041cd704f6a42900a6eabaff6261be7396810ce1b168f5a77aeb10541
7
- data.tar.gz: ca4118177167b633dd531700df6432f3a4d7ea078223eee2b33f4d1a293c5aeab27b90ec65a13a4fd30df6cca61af1a043792f83ce1bb0499e4893d69145e0ff
6
+ metadata.gz: bcca8d2a3912229535b6f6a1c8d4be545bca6d6beb1c007f0fab02554d9da8e2b8d814a38f014c1825822d0d701a6675cf6bb20b8d55c60d3dd9e8cc525dae73
7
+ data.tar.gz: b4104d72d9a8993e1a3ea7c6fa38e097276a87e7ed4c26fa5f0614fec67d19e99ce8dc8630b8db31713140575adf465220a6c8ed518c4a134e214181e901c7f1
data/CHANGELOG.md ADDED
@@ -0,0 +1,108 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.19.0 (2021-07-20)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Compute Optimizer
8
+
9
+ 1.18.0 (2021-05-24)
10
+ ------------------
11
+
12
+ * Feature - Adds support for 1) additional instance types, 2) additional instance metrics, 3) finding reasons for instance recommendations, and 4) platform differences between a current instance and a recommended instance type.
13
+
14
+ 1.17.0 (2021-05-18)
15
+ ------------------
16
+
17
+ * Feature - This release enables compute optimizer to support exporting recommendations to Amazon S3 for EBS volumes and Lambda Functions.
18
+
19
+ 1.16.0 (2021-03-10)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.15.0 (2021-03-02)
25
+ ------------------
26
+
27
+ * Feature - Documentation updates for Compute Optimizer
28
+
29
+ 1.14.0 (2021-02-24)
30
+ ------------------
31
+
32
+ * Feature - Documentation updates for Compute Optimizer
33
+
34
+ 1.13.0 (2021-02-03)
35
+ ------------------
36
+
37
+ * Feature - Documentation updates for Compute Optimizer
38
+
39
+ 1.12.0 (2021-02-02)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.11.0 (2020-12-23)
45
+ ------------------
46
+
47
+ * Feature - This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for lambda functions.
48
+
49
+ 1.10.0 (2020-12-03)
50
+ ------------------
51
+
52
+ * Feature - This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for EBS volumes that are attached to instances.
53
+
54
+ 1.9.0 (2020-10-07)
55
+ ------------------
56
+
57
+ * Feature - This release enables AWS Compute Optimizer to analyze EC2 instance-level EBS read and write operations, and throughput when generating recommendations for your EC2 instances and Auto Scaling groups.
58
+
59
+ 1.8.0 (2020-09-30)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.7.0 (2020-09-15)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ 1.6.0 (2020-08-25)
70
+ ------------------
71
+
72
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
73
+
74
+ 1.5.0 (2020-06-23)
75
+ ------------------
76
+
77
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
78
+
79
+ 1.4.1 (2020-06-11)
80
+ ------------------
81
+
82
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
83
+
84
+ 1.4.0 (2020-06-10)
85
+ ------------------
86
+
87
+ * Issue - This version has been yanked. (#2327).
88
+ * Feature - Compute Optimizer supports exporting recommendations to Amazon S3.
89
+
90
+ 1.3.0 (2020-05-28)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.2.0 (2020-05-07)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.1.0 (2020-03-09)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.0.0 (2019-12-03)
106
+ ------------------
107
+
108
+ * Feature - Initial release of `aws-sdk-computeoptimizer`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.19.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-computeoptimizer/customizations'
48
48
  # @!group service
49
49
  module Aws::ComputeOptimizer
50
50
 
51
- GEM_VERSION = '1.15.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -393,7 +393,7 @@ module Aws::ComputeOptimizer
393
393
  # resp.recommendation_export_jobs[0].destination.s3.bucket #=> String
394
394
  # resp.recommendation_export_jobs[0].destination.s3.key #=> String
395
395
  # resp.recommendation_export_jobs[0].destination.s3.metadata_key #=> String
396
- # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup"
396
+ # resp.recommendation_export_jobs[0].resource_type #=> String, one of "Ec2Instance", "AutoScalingGroup", "EbsVolume", "LambdaFunction"
397
397
  # resp.recommendation_export_jobs[0].status #=> String, one of "Queued", "InProgress", "Complete", "Failed"
398
398
  # resp.recommendation_export_jobs[0].creation_timestamp #=> Time
399
399
  # resp.recommendation_export_jobs[0].last_updated_timestamp #=> Time
@@ -481,7 +481,11 @@ module Aws::ComputeOptimizer
481
481
  # member accounts of the organization if your account is the management
482
482
  # account of an organization.
483
483
  #
484
- # The member accounts must also be opted in to Compute Optimizer.
484
+ # The member accounts must also be opted in to Compute Optimizer, and
485
+ # trusted access for Compute Optimizer must be enabled in the
486
+ # organization account. For more information, see [Compute Optimizer and
487
+ # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
488
+ # User Guide*.
485
489
  #
486
490
  # Recommendations for member accounts of the organization are not
487
491
  # included in the export file if this parameter is omitted.
@@ -492,6 +496,10 @@ module Aws::ComputeOptimizer
492
496
  # Recommendations for member accounts are not included in the export if
493
497
  # this parameter, or the account IDs parameter, is omitted.
494
498
  #
499
+ #
500
+ #
501
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
502
+ #
495
503
  # @return [Types::ExportAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
496
504
  #
497
505
  # * {Types::ExportAutoScalingGroupRecommendationsResponse#job_id #job_id} => String
@@ -503,11 +511,11 @@ module Aws::ComputeOptimizer
503
511
  # account_ids: ["AccountId"],
504
512
  # filters: [
505
513
  # {
506
- # name: "Finding", # accepts Finding, RecommendationSourceType
514
+ # name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
507
515
  # values: ["FilterValue"],
508
516
  # },
509
517
  # ],
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
518
+ # fields_to_export: ["AccountId"], # accepts AccountId, AutoScalingGroupArn, AutoScalingGroupName, Finding, UtilizationMetricsCpuMaximum, UtilizationMetricsMemoryMaximum, UtilizationMetricsEbsReadOpsPerSecondMaximum, UtilizationMetricsEbsWriteOpsPerSecondMaximum, UtilizationMetricsEbsReadBytesPerSecondMaximum, UtilizationMetricsEbsWriteBytesPerSecondMaximum, UtilizationMetricsDiskReadOpsPerSecondMaximum, UtilizationMetricsDiskWriteOpsPerSecondMaximum, UtilizationMetricsDiskReadBytesPerSecondMaximum, UtilizationMetricsDiskWriteBytesPerSecondMaximum, UtilizationMetricsNetworkInBytesPerSecondMaximum, UtilizationMetricsNetworkOutBytesPerSecondMaximum, UtilizationMetricsNetworkPacketsInPerSecondMaximum, UtilizationMetricsNetworkPacketsOutPerSecondMaximum, LookbackPeriodInDays, CurrentConfigurationInstanceType, CurrentConfigurationDesiredCapacity, CurrentConfigurationMinSize, CurrentConfigurationMaxSize, CurrentOnDemandPrice, CurrentStandardOneYearNoUpfrontReservedPrice, CurrentStandardThreeYearNoUpfrontReservedPrice, CurrentVCpus, CurrentMemory, CurrentStorage, CurrentNetwork, RecommendationOptionsConfigurationInstanceType, RecommendationOptionsConfigurationDesiredCapacity, RecommendationOptionsConfigurationMinSize, RecommendationOptionsConfigurationMaxSize, RecommendationOptionsProjectedUtilizationMetricsCpuMaximum, RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum, RecommendationOptionsPerformanceRisk, RecommendationOptionsOnDemandPrice, RecommendationOptionsStandardOneYearNoUpfrontReservedPrice, RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice, RecommendationOptionsVcpus, RecommendationOptionsMemory, RecommendationOptionsStorage, RecommendationOptionsNetwork, LastRefreshTimestamp
511
519
  # s3_destination_config: { # required
512
520
  # bucket: "DestinationBucket",
513
521
  # key_prefix: "DestinationKeyPrefix",
@@ -532,6 +540,137 @@ module Aws::ComputeOptimizer
532
540
  req.send_request(options)
533
541
  end
534
542
 
543
+ # Exports optimization recommendations for Amazon EBS volumes.
544
+ #
545
+ # Recommendations are exported in a comma-separated values (.csv) file,
546
+ # and its metadata in a JavaScript Object Notation (.json) file, to an
547
+ # existing Amazon Simple Storage Service (Amazon S3) bucket that you
548
+ # specify. For more information, see [Exporting Recommendations][1] in
549
+ # the *Compute Optimizer User Guide*.
550
+ #
551
+ # You can have only one Amazon EBS volume export job in progress per AWS
552
+ # Region.
553
+ #
554
+ #
555
+ #
556
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
557
+ #
558
+ # @option params [Array<String>] :account_ids
559
+ # The IDs of the AWS accounts for which to export Amazon EBS volume
560
+ # recommendations.
561
+ #
562
+ # If your account is the management account of an organization, use this
563
+ # parameter to specify the member account for which you want to export
564
+ # recommendations.
565
+ #
566
+ # This parameter cannot be specified together with the include member
567
+ # accounts parameter. The parameters are mutually exclusive.
568
+ #
569
+ # Recommendations for member accounts are not included in the export if
570
+ # this parameter, or the include member accounts parameter, is omitted.
571
+ #
572
+ # You can specify multiple account IDs per request.
573
+ #
574
+ # @option params [Array<Types::EBSFilter>] :filters
575
+ # An array of objects that describe a filter to export a more specific
576
+ # set of Amazon EBS volume recommendations.
577
+ #
578
+ # @option params [Array<String>] :fields_to_export
579
+ # The recommendations data to include in the export file. For more
580
+ # information about the fields that can be exported, see [Exported
581
+ # files][1] in the *Compute Optimizer User Guide*.
582
+ #
583
+ #
584
+ #
585
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
586
+ #
587
+ # @option params [required, Types::S3DestinationConfig] :s3_destination_config
588
+ # Describes the destination Amazon Simple Storage Service (Amazon S3)
589
+ # bucket name and key prefix for a recommendations export job.
590
+ #
591
+ # You must create the destination Amazon S3 bucket for your
592
+ # recommendations export before you create the export job. Compute
593
+ # Optimizer does not create the S3 bucket for you. After you create the
594
+ # S3 bucket, ensure that it has the required permission policy to allow
595
+ # Compute Optimizer to write the export file to it. If you plan to
596
+ # specify an object prefix when you create the export job, you must
597
+ # include the object prefix in the policy that you add to the S3 bucket.
598
+ # For more information, see [Amazon S3 Bucket Policy for Compute
599
+ # Optimizer][1] in the *Compute Optimizer user guide*.
600
+ #
601
+ #
602
+ #
603
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
604
+ #
605
+ # @option params [String] :file_format
606
+ # The format of the export file.
607
+ #
608
+ # The only export file format currently supported is `Csv`.
609
+ #
610
+ # @option params [Boolean] :include_member_accounts
611
+ # Indicates whether to include recommendations for resources in all
612
+ # member accounts of the organization if your account is the management
613
+ # account of an organization.
614
+ #
615
+ # The member accounts must also be opted in to Compute Optimizer, and
616
+ # trusted access for Compute Optimizer must be enabled in the
617
+ # organization account. For more information, see [Compute Optimizer and
618
+ # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
619
+ # User Guide*.
620
+ #
621
+ # Recommendations for member accounts of the organization are not
622
+ # included in the export file if this parameter is omitted.
623
+ #
624
+ # This parameter cannot be specified together with the account IDs
625
+ # parameter. The parameters are mutually exclusive.
626
+ #
627
+ # Recommendations for member accounts are not included in the export if
628
+ # this parameter, or the account IDs parameter, is omitted.
629
+ #
630
+ #
631
+ #
632
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
633
+ #
634
+ # @return [Types::ExportEBSVolumeRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
635
+ #
636
+ # * {Types::ExportEBSVolumeRecommendationsResponse#job_id #job_id} => String
637
+ # * {Types::ExportEBSVolumeRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
638
+ #
639
+ # @example Request syntax with placeholder values
640
+ #
641
+ # resp = client.export_ebs_volume_recommendations({
642
+ # account_ids: ["AccountId"],
643
+ # filters: [
644
+ # {
645
+ # name: "Finding", # accepts Finding
646
+ # values: ["FilterValue"],
647
+ # },
648
+ # ],
649
+ # 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
650
+ # s3_destination_config: { # required
651
+ # bucket: "DestinationBucket",
652
+ # key_prefix: "DestinationKeyPrefix",
653
+ # },
654
+ # file_format: "Csv", # accepts Csv
655
+ # include_member_accounts: false,
656
+ # })
657
+ #
658
+ # @example Response structure
659
+ #
660
+ # resp.job_id #=> String
661
+ # resp.s3_destination.bucket #=> String
662
+ # resp.s3_destination.key #=> String
663
+ # resp.s3_destination.metadata_key #=> String
664
+ #
665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEBSVolumeRecommendations AWS API Documentation
666
+ #
667
+ # @overload export_ebs_volume_recommendations(params = {})
668
+ # @param [Hash] params ({})
669
+ def export_ebs_volume_recommendations(params = {}, options = {})
670
+ req = build_request(:export_ebs_volume_recommendations, params)
671
+ req.send_request(options)
672
+ end
673
+
535
674
  # Exports optimization recommendations for Amazon EC2 instances.
536
675
  #
537
676
  # Recommendations are exported in a comma-separated values (.csv) file,
@@ -604,7 +743,11 @@ module Aws::ComputeOptimizer
604
743
  # member accounts of the organization if your account is the management
605
744
  # account of an organization.
606
745
  #
607
- # The member accounts must also be opted in to Compute Optimizer.
746
+ # The member accounts must also be opted in to Compute Optimizer, and
747
+ # trusted access for Compute Optimizer must be enabled in the
748
+ # organization account. For more information, see [Compute Optimizer and
749
+ # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
750
+ # User Guide*.
608
751
  #
609
752
  # Recommendations for member accounts of the organization are not
610
753
  # included in the export file if this parameter is omitted.
@@ -612,6 +755,10 @@ module Aws::ComputeOptimizer
612
755
  # Recommendations for member accounts are not included in the export if
613
756
  # this parameter, or the account IDs parameter, is omitted.
614
757
  #
758
+ #
759
+ #
760
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
761
+ #
615
762
  # @return [Types::ExportEC2InstanceRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
616
763
  #
617
764
  # * {Types::ExportEC2InstanceRecommendationsResponse#job_id #job_id} => String
@@ -623,11 +770,11 @@ module Aws::ComputeOptimizer
623
770
  # account_ids: ["AccountId"],
624
771
  # filters: [
625
772
  # {
626
- # name: "Finding", # accepts Finding, RecommendationSourceType
773
+ # name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
627
774
  # values: ["FilterValue"],
628
775
  # },
629
776
  # ],
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
777
+ # 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
631
778
  # s3_destination_config: { # required
632
779
  # bucket: "DestinationBucket",
633
780
  # key_prefix: "DestinationKeyPrefix",
@@ -652,6 +799,137 @@ module Aws::ComputeOptimizer
652
799
  req.send_request(options)
653
800
  end
654
801
 
802
+ # Exports optimization recommendations for AWS Lambda functions.
803
+ #
804
+ # Recommendations are exported in a comma-separated values (.csv) file,
805
+ # and its metadata in a JavaScript Object Notation (.json) file, to an
806
+ # existing Amazon Simple Storage Service (Amazon S3) bucket that you
807
+ # specify. For more information, see [Exporting Recommendations][1] in
808
+ # the *Compute Optimizer User Guide*.
809
+ #
810
+ # You can have only one Lambda function export job in progress per AWS
811
+ # Region.
812
+ #
813
+ #
814
+ #
815
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
816
+ #
817
+ # @option params [Array<String>] :account_ids
818
+ # The IDs of the AWS accounts for which to export Lambda function
819
+ # recommendations.
820
+ #
821
+ # If your account is the management account of an organization, use this
822
+ # parameter to specify the member account for which you want to export
823
+ # recommendations.
824
+ #
825
+ # This parameter cannot be specified together with the include member
826
+ # accounts parameter. The parameters are mutually exclusive.
827
+ #
828
+ # Recommendations for member accounts are not included in the export if
829
+ # this parameter, or the include member accounts parameter, is omitted.
830
+ #
831
+ # You can specify multiple account IDs per request.
832
+ #
833
+ # @option params [Array<Types::LambdaFunctionRecommendationFilter>] :filters
834
+ # An array of objects that describe a filter to export a more specific
835
+ # set of Lambda function recommendations.
836
+ #
837
+ # @option params [Array<String>] :fields_to_export
838
+ # The recommendations data to include in the export file. For more
839
+ # information about the fields that can be exported, see [Exported
840
+ # files][1] in the *Compute Optimizer User Guide*.
841
+ #
842
+ #
843
+ #
844
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files
845
+ #
846
+ # @option params [required, Types::S3DestinationConfig] :s3_destination_config
847
+ # Describes the destination Amazon Simple Storage Service (Amazon S3)
848
+ # bucket name and key prefix for a recommendations export job.
849
+ #
850
+ # You must create the destination Amazon S3 bucket for your
851
+ # recommendations export before you create the export job. Compute
852
+ # Optimizer does not create the S3 bucket for you. After you create the
853
+ # S3 bucket, ensure that it has the required permission policy to allow
854
+ # Compute Optimizer to write the export file to it. If you plan to
855
+ # specify an object prefix when you create the export job, you must
856
+ # include the object prefix in the policy that you add to the S3 bucket.
857
+ # For more information, see [Amazon S3 Bucket Policy for Compute
858
+ # Optimizer][1] in the *Compute Optimizer user guide*.
859
+ #
860
+ #
861
+ #
862
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html
863
+ #
864
+ # @option params [String] :file_format
865
+ # The format of the export file.
866
+ #
867
+ # The only export file format currently supported is `Csv`.
868
+ #
869
+ # @option params [Boolean] :include_member_accounts
870
+ # Indicates whether to include recommendations for resources in all
871
+ # member accounts of the organization if your account is the management
872
+ # account of an organization.
873
+ #
874
+ # The member accounts must also be opted in to Compute Optimizer, and
875
+ # trusted access for Compute Optimizer must be enabled in the
876
+ # organization account. For more information, see [Compute Optimizer and
877
+ # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
878
+ # User Guide*.
879
+ #
880
+ # Recommendations for member accounts of the organization are not
881
+ # included in the export file if this parameter is omitted.
882
+ #
883
+ # This parameter cannot be specified together with the account IDs
884
+ # parameter. The parameters are mutually exclusive.
885
+ #
886
+ # Recommendations for member accounts are not included in the export if
887
+ # this parameter, or the account IDs parameter, is omitted.
888
+ #
889
+ #
890
+ #
891
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
892
+ #
893
+ # @return [Types::ExportLambdaFunctionRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
894
+ #
895
+ # * {Types::ExportLambdaFunctionRecommendationsResponse#job_id #job_id} => String
896
+ # * {Types::ExportLambdaFunctionRecommendationsResponse#s3_destination #s3_destination} => Types::S3Destination
897
+ #
898
+ # @example Request syntax with placeholder values
899
+ #
900
+ # resp = client.export_lambda_function_recommendations({
901
+ # account_ids: ["AccountId"],
902
+ # filters: [
903
+ # {
904
+ # name: "Finding", # accepts Finding, FindingReasonCode
905
+ # values: ["FilterValue"],
906
+ # },
907
+ # ],
908
+ # fields_to_export: ["AccountId"], # accepts AccountId, FunctionArn, FunctionVersion, Finding, FindingReasonCodes, NumberOfInvocations, UtilizationMetricsDurationMaximum, UtilizationMetricsDurationAverage, UtilizationMetricsMemoryMaximum, UtilizationMetricsMemoryAverage, LookbackPeriodInDays, CurrentConfigurationMemorySize, CurrentConfigurationTimeout, CurrentCostTotal, CurrentCostAverage, RecommendationOptionsConfigurationMemorySize, RecommendationOptionsCostLow, RecommendationOptionsCostHigh, RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound, RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound, RecommendationOptionsProjectedUtilizationMetricsDurationExpected, LastRefreshTimestamp
909
+ # s3_destination_config: { # required
910
+ # bucket: "DestinationBucket",
911
+ # key_prefix: "DestinationKeyPrefix",
912
+ # },
913
+ # file_format: "Csv", # accepts Csv
914
+ # include_member_accounts: false,
915
+ # })
916
+ #
917
+ # @example Response structure
918
+ #
919
+ # resp.job_id #=> String
920
+ # resp.s3_destination.bucket #=> String
921
+ # resp.s3_destination.key #=> String
922
+ # resp.s3_destination.metadata_key #=> String
923
+ #
924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportLambdaFunctionRecommendations AWS API Documentation
925
+ #
926
+ # @overload export_lambda_function_recommendations(params = {})
927
+ # @param [Hash] params ({})
928
+ def export_lambda_function_recommendations(params = {}, options = {})
929
+ req = build_request(:export_lambda_function_recommendations, params)
930
+ req.send_request(options)
931
+ end
932
+
655
933
  # Returns Auto Scaling group recommendations.
656
934
  #
657
935
  # AWS Compute Optimizer generates recommendations for Amazon EC2 Auto
@@ -707,7 +985,7 @@ module Aws::ComputeOptimizer
707
985
  # max_results: 1,
708
986
  # filters: [
709
987
  # {
710
- # name: "Finding", # accepts Finding, RecommendationSourceType
988
+ # name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
711
989
  # values: ["FilterValue"],
712
990
  # },
713
991
  # ],
@@ -722,7 +1000,7 @@ module Aws::ComputeOptimizer
722
1000
  # resp.auto_scaling_group_recommendations[0].auto_scaling_group_name #=> String
723
1001
  # resp.auto_scaling_group_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
724
1002
  # resp.auto_scaling_group_recommendations[0].utilization_metrics #=> Array
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"
1003
+ # 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", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
726
1004
  # resp.auto_scaling_group_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
727
1005
  # resp.auto_scaling_group_recommendations[0].utilization_metrics[0].value #=> Float
728
1006
  # resp.auto_scaling_group_recommendations[0].look_back_period_in_days #=> Float
@@ -736,7 +1014,7 @@ module Aws::ComputeOptimizer
736
1014
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.max_size #=> Integer
737
1015
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].configuration.instance_type #=> String
738
1016
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
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"
1017
+ # resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
740
1018
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
741
1019
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
742
1020
  # resp.auto_scaling_group_recommendations[0].recommendation_options[0].performance_risk #=> Float
@@ -911,7 +1189,7 @@ module Aws::ComputeOptimizer
911
1189
  # max_results: 1,
912
1190
  # filters: [
913
1191
  # {
914
- # name: "Finding", # accepts Finding, RecommendationSourceType
1192
+ # name: "Finding", # accepts Finding, FindingReasonCodes, RecommendationSourceType
915
1193
  # values: ["FilterValue"],
916
1194
  # },
917
1195
  # ],
@@ -927,17 +1205,21 @@ module Aws::ComputeOptimizer
927
1205
  # resp.instance_recommendations[0].instance_name #=> String
928
1206
  # resp.instance_recommendations[0].current_instance_type #=> String
929
1207
  # resp.instance_recommendations[0].finding #=> String, one of "Underprovisioned", "Overprovisioned", "Optimized", "NotOptimized"
1208
+ # resp.instance_recommendations[0].finding_reason_codes #=> Array
1209
+ # resp.instance_recommendations[0].finding_reason_codes[0] #=> String, one of "CPUOverprovisioned", "CPUUnderprovisioned", "MemoryOverprovisioned", "MemoryUnderprovisioned", "EBSThroughputOverprovisioned", "EBSThroughputUnderprovisioned", "EBSIOPSOverprovisioned", "EBSIOPSUnderprovisioned", "NetworkBandwidthOverprovisioned", "NetworkBandwidthUnderprovisioned", "NetworkPPSOverprovisioned", "NetworkPPSUnderprovisioned", "DiskIOPSOverprovisioned", "DiskIOPSUnderprovisioned", "DiskThroughputOverprovisioned", "DiskThroughputUnderprovisioned"
930
1210
  # resp.instance_recommendations[0].utilization_metrics #=> Array
931
- # 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"
1211
+ # 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", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
932
1212
  # resp.instance_recommendations[0].utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
933
1213
  # resp.instance_recommendations[0].utilization_metrics[0].value #=> Float
934
1214
  # resp.instance_recommendations[0].look_back_period_in_days #=> Float
935
1215
  # resp.instance_recommendations[0].recommendation_options #=> Array
936
1216
  # resp.instance_recommendations[0].recommendation_options[0].instance_type #=> String
937
1217
  # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics #=> Array
938
- # 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"
1218
+ # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].name #=> String, one of "Cpu", "Memory", "EBS_READ_OPS_PER_SECOND", "EBS_WRITE_OPS_PER_SECOND", "EBS_READ_BYTES_PER_SECOND", "EBS_WRITE_BYTES_PER_SECOND", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
939
1219
  # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
940
1220
  # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
1221
+ # resp.instance_recommendations[0].recommendation_options[0].platform_differences #=> Array
1222
+ # resp.instance_recommendations[0].recommendation_options[0].platform_differences[0] #=> String, one of "Hypervisor", "NetworkInterface", "StorageInterface", "InstanceStoreAvailability", "VirtualizationType"
941
1223
  # resp.instance_recommendations[0].recommendation_options[0].performance_risk #=> Float
942
1224
  # resp.instance_recommendations[0].recommendation_options[0].rank #=> Integer
943
1225
  # resp.instance_recommendations[0].recommendation_sources #=> Array
@@ -1009,7 +1291,7 @@ module Aws::ComputeOptimizer
1009
1291
  # resp.recommended_option_projected_metrics[0].recommended_instance_type #=> String
1010
1292
  # resp.recommended_option_projected_metrics[0].rank #=> Integer
1011
1293
  # resp.recommended_option_projected_metrics[0].projected_metrics #=> Array
1012
- # 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"
1294
+ # 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", "DISK_READ_OPS_PER_SECOND", "DISK_WRITE_OPS_PER_SECOND", "DISK_READ_BYTES_PER_SECOND", "DISK_WRITE_BYTES_PER_SECOND", "NETWORK_IN_BYTES_PER_SECOND", "NETWORK_OUT_BYTES_PER_SECOND", "NETWORK_PACKETS_IN_PER_SECOND", "NETWORK_PACKETS_OUT_PER_SECOND"
1013
1295
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps #=> Array
1014
1296
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].timestamps[0] #=> Time
1015
1297
  # resp.recommended_option_projected_metrics[0].projected_metrics[0].values #=> Array
@@ -1238,17 +1520,17 @@ module Aws::ComputeOptimizer
1238
1520
  # You must have the appropriate permissions to opt in to Compute
1239
1521
  # Optimizer, to view its recommendations, and to opt out. For more
1240
1522
  # information, see [Controlling access with AWS Identity and Access
1241
- # Management][1] in the *Compute Optimizer User Guide*.
1523
+ # Management][1] in the *AWS Compute Optimizer User Guide*.
1242
1524
  #
1243
1525
  # When you opt in, Compute Optimizer automatically creates a
1244
1526
  # Service-Linked Role in your account to access its data. For more
1245
1527
  # information, see [Using Service-Linked Roles for AWS Compute
1246
- # Optimizer][2] in the *Compute Optimizer User Guide*.
1528
+ # Optimizer][2] in the *AWS Compute Optimizer User Guide*.
1247
1529
  #
1248
1530
  #
1249
1531
  #
1250
- # [1]: https://docs.aws.amazon.com/compute-optimizer/ug/security-iam.html
1251
- # [2]: https://docs.aws.amazon.com/compute-optimizer/ug/using-service-linked-roles.html
1532
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html
1533
+ # [2]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/using-service-linked-roles.html
1252
1534
  #
1253
1535
  # @option params [required, String] :status
1254
1536
  # The new enrollment status of the account.
@@ -1259,7 +1541,7 @@ module Aws::ComputeOptimizer
1259
1541
  # Compute Optimizer begins analyzing the configuration and utilization
1260
1542
  # metrics of your AWS resources after you opt in. For more
1261
1543
  # information, see [Metrics analyzed by AWS Compute Optimizer][1] in
1262
- # the *Compute Optimizer User Guide*.
1544
+ # the *AWS Compute Optimizer User Guide*.
1263
1545
  #
1264
1546
  # * `Inactive` - Opts out your account from the Compute Optimizer
1265
1547
  # service. Your account's recommendations and related metrics data
@@ -1273,7 +1555,7 @@ module Aws::ComputeOptimizer
1273
1555
  #
1274
1556
  #
1275
1557
  #
1276
- # [1]: https://docs.aws.amazon.com/compute-optimizer/ug/metrics.html
1558
+ # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html
1277
1559
  #
1278
1560
  # @option params [Boolean] :include_member_accounts
1279
1561
  # Indicates whether to enroll member accounts of the organization if the
@@ -1318,7 +1600,7 @@ module Aws::ComputeOptimizer
1318
1600
  params: params,
1319
1601
  config: config)
1320
1602
  context[:gem_name] = 'aws-sdk-computeoptimizer'
1321
- context[:gem_version] = '1.15.0'
1603
+ context[:gem_version] = '1.19.0'
1322
1604
  Seahorse::Client::Request.new(handlers, context)
1323
1605
  end
1324
1606