aws-sdk-computeoptimizer 1.19.0 → 1.23.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: d6b032bae116f4b3be051089683fe6cc96ba77f1b7af68968ea5fe56971a2fcf
4
- data.tar.gz: 51c782c1992d04295f0c391de6adadeaecff81fd5fe0129b52da7e93769fbc55
3
+ metadata.gz: 5ba32d5f537011067269637876ca9cef716dfe8552b7b6b4c32953f8578f6331
4
+ data.tar.gz: e2e4f6874a9805192115c69b81a2f6546411e4b5035febcb4163b62bebb9bb02
5
5
  SHA512:
6
- metadata.gz: bcca8d2a3912229535b6f6a1c8d4be545bca6d6beb1c007f0fab02554d9da8e2b8d814a38f014c1825822d0d701a6675cf6bb20b8d55c60d3dd9e8cc525dae73
7
- data.tar.gz: b4104d72d9a8993e1a3ea7c6fa38e097276a87e7ed4c26fa5f0614fec67d19e99ce8dc8630b8db31713140575adf465220a6c8ed518c4a134e214181e901c7f1
6
+ metadata.gz: aee71b5bc89688d943e11462ab5088af94bf584683bdd28884850bf59368b89d7f2b5a497a3b6e2fe0e50d28c416e634516e6ca037e603a09f8a4e3dea9b7cce
7
+ data.tar.gz: a1c99e297dd6ab8f5ba7920589d04c21be3982cdf9d106cd9785c2416e0596440f142579c845854e5430b517f4ccd3dd873fb350c5bf9de15f7739327d1ec59b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2021-08-31)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Compute Optimizer
8
+
9
+ 1.22.0 (2021-08-26)
10
+ ------------------
11
+
12
+ * Feature - Adds support for 1) the AWS Graviton (AWS_ARM64) recommendation preference for Amazon EC2 instance and Auto Scaling group recommendations, and 2) the ability to get the enrollment statuses for all member accounts of an organization.
13
+
14
+ 1.21.0 (2021-07-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.20.0 (2021-07-28)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.19.0 (2021-07-20)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.23.0
@@ -339,23 +339,23 @@ module Aws::ComputeOptimizer
339
339
 
340
340
  # Describes recommendation export jobs created in the last seven days.
341
341
  #
342
- # Use the `ExportAutoScalingGroupRecommendations` or
343
- # `ExportEC2InstanceRecommendations` actions to request an export of
344
- # your recommendations. Then use the `DescribeRecommendationExportJobs`
345
- # action to view your export jobs.
342
+ # Use the ExportAutoScalingGroupRecommendations or
343
+ # ExportEC2InstanceRecommendations actions to request an export of your
344
+ # recommendations. Then use the DescribeRecommendationExportJobs action
345
+ # to view your export jobs.
346
346
  #
347
347
  # @option params [Array<String>] :job_ids
348
348
  # The identification numbers of the export jobs to return.
349
349
  #
350
350
  # An export job ID is returned when you create an export using the
351
- # `ExportAutoScalingGroupRecommendations` or
352
- # `ExportEC2InstanceRecommendations` actions.
351
+ # ExportAutoScalingGroupRecommendations or
352
+ # ExportEC2InstanceRecommendations actions.
353
353
  #
354
354
  # All export jobs created in the last seven days are returned if this
355
355
  # parameter is omitted.
356
356
  #
357
357
  # @option params [Array<Types::JobFilter>] :filters
358
- # An array of objects that describe a filter to return a more specific
358
+ # An array of objects to specify a filter that returns a more specific
359
359
  # list of export jobs.
360
360
  #
361
361
  # @option params [String] :next_token
@@ -365,7 +365,7 @@ module Aws::ComputeOptimizer
365
365
  # The maximum number of export jobs to return with a single request.
366
366
  #
367
367
  # To retrieve the remaining results, make another request with the
368
- # returned `NextToken` value.
368
+ # returned `nextToken` value.
369
369
  #
370
370
  # @return [Types::DescribeRecommendationExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
371
371
  #
@@ -412,21 +412,21 @@ module Aws::ComputeOptimizer
412
412
  # Exports optimization recommendations for Auto Scaling groups.
413
413
  #
414
414
  # Recommendations are exported in a comma-separated values (.csv) file,
415
- # and its metadata in a JavaScript Object Notation (.json) file, to an
416
- # existing Amazon Simple Storage Service (Amazon S3) bucket that you
417
- # specify. For more information, see [Exporting Recommendations][1] in
418
- # the *Compute Optimizer User Guide*.
415
+ # and its metadata in a JavaScript Object Notation (JSON) (.json) file,
416
+ # to an existing Amazon Simple Storage Service (Amazon S3) bucket that
417
+ # you specify. For more information, see [Exporting Recommendations][1]
418
+ # in the *Compute Optimizer User Guide*.
419
419
  #
420
420
  # You can have only one Auto Scaling group export job in progress per
421
- # AWS Region.
421
+ # Amazon Web Services Region.
422
422
  #
423
423
  #
424
424
  #
425
425
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
426
426
  #
427
427
  # @option params [Array<String>] :account_ids
428
- # The IDs of the AWS accounts for which to export Auto Scaling group
429
- # recommendations.
428
+ # The IDs of the Amazon Web Services accounts for which to export Auto
429
+ # Scaling group recommendations.
430
430
  #
431
431
  # If your account is the management account of an organization, use this
432
432
  # parameter to specify the member account for which you want to export
@@ -441,7 +441,7 @@ module Aws::ComputeOptimizer
441
441
  # You can specify multiple account IDs per request.
442
442
  #
443
443
  # @option params [Array<Types::Filter>] :filters
444
- # An array of objects that describe a filter to export a more specific
444
+ # An array of objects to specify a filter that exports a more specific
445
445
  # set of Auto Scaling group recommendations.
446
446
  #
447
447
  # @option params [Array<String>] :fields_to_export
@@ -460,12 +460,12 @@ module Aws::ComputeOptimizer
460
460
  # You must create the destination Amazon S3 bucket for your
461
461
  # recommendations export before you create the export job. Compute
462
462
  # Optimizer does not create the S3 bucket for you. After you create the
463
- # S3 bucket, ensure that it has the required permission policy to allow
463
+ # S3 bucket, ensure that it has the required permissions policy to allow
464
464
  # Compute Optimizer to write the export file to it. If you plan to
465
465
  # specify an object prefix when you create the export job, you must
466
466
  # include the object prefix in the policy that you add to the S3 bucket.
467
467
  # For more information, see [Amazon S3 Bucket Policy for Compute
468
- # Optimizer][1] in the *Compute Optimizer user guide*.
468
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
469
469
  #
470
470
  #
471
471
  #
@@ -484,8 +484,8 @@ module Aws::ComputeOptimizer
484
484
  # The member accounts must also be opted in to Compute Optimizer, and
485
485
  # trusted access for Compute Optimizer must be enabled in the
486
486
  # organization account. For more information, see [Compute Optimizer and
487
- # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
488
- # User Guide*.
487
+ # Amazon Web Services Organizations trusted access][1] in the *Compute
488
+ # Optimizer User Guide*.
489
489
  #
490
490
  # Recommendations for member accounts of the organization are not
491
491
  # included in the export file if this parameter is omitted.
@@ -500,6 +500,10 @@ module Aws::ComputeOptimizer
500
500
  #
501
501
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
502
502
  #
503
+ # @option params [Types::RecommendationPreferences] :recommendation_preferences
504
+ # An object to specify the preferences for the Auto Scaling group
505
+ # recommendations to export.
506
+ #
503
507
  # @return [Types::ExportAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
504
508
  #
505
509
  # * {Types::ExportAutoScalingGroupRecommendationsResponse#job_id #job_id} => String
@@ -522,6 +526,9 @@ module Aws::ComputeOptimizer
522
526
  # },
523
527
  # file_format: "Csv", # accepts Csv
524
528
  # include_member_accounts: false,
529
+ # recommendation_preferences: {
530
+ # cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
531
+ # },
525
532
  # })
526
533
  #
527
534
  # @example Response structure
@@ -543,21 +550,21 @@ module Aws::ComputeOptimizer
543
550
  # Exports optimization recommendations for Amazon EBS volumes.
544
551
  #
545
552
  # 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*.
553
+ # and its metadata in a JavaScript Object Notation (JSON) (.json) file,
554
+ # to an existing Amazon Simple Storage Service (Amazon S3) bucket that
555
+ # you specify. For more information, see [Exporting Recommendations][1]
556
+ # in the *Compute Optimizer User Guide*.
550
557
  #
551
- # You can have only one Amazon EBS volume export job in progress per AWS
552
- # Region.
558
+ # You can have only one Amazon EBS volume export job in progress per
559
+ # Amazon Web Services Region.
553
560
  #
554
561
  #
555
562
  #
556
563
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
557
564
  #
558
565
  # @option params [Array<String>] :account_ids
559
- # The IDs of the AWS accounts for which to export Amazon EBS volume
560
- # recommendations.
566
+ # The IDs of the Amazon Web Services accounts for which to export Amazon
567
+ # EBS volume recommendations.
561
568
  #
562
569
  # If your account is the management account of an organization, use this
563
570
  # parameter to specify the member account for which you want to export
@@ -572,7 +579,7 @@ module Aws::ComputeOptimizer
572
579
  # You can specify multiple account IDs per request.
573
580
  #
574
581
  # @option params [Array<Types::EBSFilter>] :filters
575
- # An array of objects that describe a filter to export a more specific
582
+ # An array of objects to specify a filter that exports a more specific
576
583
  # set of Amazon EBS volume recommendations.
577
584
  #
578
585
  # @option params [Array<String>] :fields_to_export
@@ -596,7 +603,7 @@ module Aws::ComputeOptimizer
596
603
  # specify an object prefix when you create the export job, you must
597
604
  # include the object prefix in the policy that you add to the S3 bucket.
598
605
  # For more information, see [Amazon S3 Bucket Policy for Compute
599
- # Optimizer][1] in the *Compute Optimizer user guide*.
606
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
600
607
  #
601
608
  #
602
609
  #
@@ -615,8 +622,8 @@ module Aws::ComputeOptimizer
615
622
  # The member accounts must also be opted in to Compute Optimizer, and
616
623
  # trusted access for Compute Optimizer must be enabled in the
617
624
  # organization account. For more information, see [Compute Optimizer and
618
- # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
619
- # User Guide*.
625
+ # Amazon Web Services Organizations trusted access][1] in the *Compute
626
+ # Optimizer User Guide*.
620
627
  #
621
628
  # Recommendations for member accounts of the organization are not
622
629
  # included in the export file if this parameter is omitted.
@@ -674,21 +681,21 @@ module Aws::ComputeOptimizer
674
681
  # Exports optimization recommendations for Amazon EC2 instances.
675
682
  #
676
683
  # Recommendations are exported in a comma-separated values (.csv) file,
677
- # and its metadata in a JavaScript Object Notation (.json) file, to an
678
- # existing Amazon Simple Storage Service (Amazon S3) bucket that you
679
- # specify. For more information, see [Exporting Recommendations][1] in
680
- # the *Compute Optimizer User Guide*.
684
+ # and its metadata in a JavaScript Object Notation (JSON) (.json) file,
685
+ # to an existing Amazon Simple Storage Service (Amazon S3) bucket that
686
+ # you specify. For more information, see [Exporting Recommendations][1]
687
+ # in the *Compute Optimizer User Guide*.
681
688
  #
682
689
  # You can have only one Amazon EC2 instance export job in progress per
683
- # AWS Region.
690
+ # Amazon Web Services Region.
684
691
  #
685
692
  #
686
693
  #
687
694
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
688
695
  #
689
696
  # @option params [Array<String>] :account_ids
690
- # The IDs of the AWS accounts for which to export instance
691
- # recommendations.
697
+ # The IDs of the Amazon Web Services accounts for which to export
698
+ # instance recommendations.
692
699
  #
693
700
  # If your account is the management account of an organization, use this
694
701
  # parameter to specify the member account for which you want to export
@@ -703,7 +710,7 @@ module Aws::ComputeOptimizer
703
710
  # You can specify multiple account IDs per request.
704
711
  #
705
712
  # @option params [Array<Types::Filter>] :filters
706
- # An array of objects that describe a filter to export a more specific
713
+ # An array of objects to specify a filter that exports a more specific
707
714
  # set of instance recommendations.
708
715
  #
709
716
  # @option params [Array<String>] :fields_to_export
@@ -722,12 +729,12 @@ module Aws::ComputeOptimizer
722
729
  # You must create the destination Amazon S3 bucket for your
723
730
  # recommendations export before you create the export job. Compute
724
731
  # Optimizer does not create the S3 bucket for you. After you create the
725
- # S3 bucket, ensure that it has the required permission policy to allow
726
- # Compute Optimizer to write the export file to it. If you plan to
727
- # specify an object prefix when you create the export job, you must
728
- # include the object prefix in the policy that you add to the S3 bucket.
729
- # For more information, see [Amazon S3 Bucket Policy for Compute
730
- # Optimizer][1] in the *Compute Optimizer user guide*.
732
+ # S3 bucket, ensure that it has the required permissions policy policy
733
+ # to allow Compute Optimizer to write the export file to it. If you plan
734
+ # to specify an object prefix when you create the export job, you must
735
+ # include the object prefix in the that you add to the S3 bucket. For
736
+ # more information, see [Amazon S3 Bucket Policy for Compute
737
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
731
738
  #
732
739
  #
733
740
  #
@@ -746,8 +753,8 @@ module Aws::ComputeOptimizer
746
753
  # The member accounts must also be opted in to Compute Optimizer, and
747
754
  # trusted access for Compute Optimizer must be enabled in the
748
755
  # organization account. For more information, see [Compute Optimizer and
749
- # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
750
- # User Guide*.
756
+ # Amazon Web Services Organizations trusted access][1] in the *Compute
757
+ # Optimizer User Guide*.
751
758
  #
752
759
  # Recommendations for member accounts of the organization are not
753
760
  # included in the export file if this parameter is omitted.
@@ -759,6 +766,10 @@ module Aws::ComputeOptimizer
759
766
  #
760
767
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
761
768
  #
769
+ # @option params [Types::RecommendationPreferences] :recommendation_preferences
770
+ # An object to specify the preferences for the Amazon EC2 instance
771
+ # recommendations to export.
772
+ #
762
773
  # @return [Types::ExportEC2InstanceRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
763
774
  #
764
775
  # * {Types::ExportEC2InstanceRecommendationsResponse#job_id #job_id} => String
@@ -781,6 +792,9 @@ module Aws::ComputeOptimizer
781
792
  # },
782
793
  # file_format: "Csv", # accepts Csv
783
794
  # include_member_accounts: false,
795
+ # recommendation_preferences: {
796
+ # cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
797
+ # },
784
798
  # })
785
799
  #
786
800
  # @example Response structure
@@ -799,24 +813,24 @@ module Aws::ComputeOptimizer
799
813
  req.send_request(options)
800
814
  end
801
815
 
802
- # Exports optimization recommendations for AWS Lambda functions.
816
+ # Exports optimization recommendations for Lambda functions.
803
817
  #
804
818
  # 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*.
819
+ # and its metadata in a JavaScript Object Notation (JSON) (.json) file,
820
+ # to an existing Amazon Simple Storage Service (Amazon S3) bucket that
821
+ # you specify. For more information, see [Exporting Recommendations][1]
822
+ # in the *Compute Optimizer User Guide*.
809
823
  #
810
- # You can have only one Lambda function export job in progress per AWS
811
- # Region.
824
+ # You can have only one Lambda function export job in progress per
825
+ # Amazon Web Services Region.
812
826
  #
813
827
  #
814
828
  #
815
829
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
816
830
  #
817
831
  # @option params [Array<String>] :account_ids
818
- # The IDs of the AWS accounts for which to export Lambda function
819
- # recommendations.
832
+ # The IDs of the Amazon Web Services accounts for which to export Lambda
833
+ # function recommendations.
820
834
  #
821
835
  # If your account is the management account of an organization, use this
822
836
  # parameter to specify the member account for which you want to export
@@ -831,7 +845,7 @@ module Aws::ComputeOptimizer
831
845
  # You can specify multiple account IDs per request.
832
846
  #
833
847
  # @option params [Array<Types::LambdaFunctionRecommendationFilter>] :filters
834
- # An array of objects that describe a filter to export a more specific
848
+ # An array of objects to specify a filter that exports a more specific
835
849
  # set of Lambda function recommendations.
836
850
  #
837
851
  # @option params [Array<String>] :fields_to_export
@@ -855,7 +869,7 @@ module Aws::ComputeOptimizer
855
869
  # specify an object prefix when you create the export job, you must
856
870
  # include the object prefix in the policy that you add to the S3 bucket.
857
871
  # For more information, see [Amazon S3 Bucket Policy for Compute
858
- # Optimizer][1] in the *Compute Optimizer user guide*.
872
+ # Optimizer][1] in the *Compute Optimizer User Guide*.
859
873
  #
860
874
  #
861
875
  #
@@ -874,8 +888,8 @@ module Aws::ComputeOptimizer
874
888
  # The member accounts must also be opted in to Compute Optimizer, and
875
889
  # trusted access for Compute Optimizer must be enabled in the
876
890
  # organization account. For more information, see [Compute Optimizer and
877
- # AWS Organizations trusted access][1] in the *AWS Compute Optimizer
878
- # User Guide*.
891
+ # Amazon Web Services Organizations trusted access][1] in the *Compute
892
+ # Optimizer User Guide*.
879
893
  #
880
894
  # Recommendations for member accounts of the organization are not
881
895
  # included in the export file if this parameter is omitted.
@@ -932,18 +946,18 @@ module Aws::ComputeOptimizer
932
946
 
933
947
  # Returns Auto Scaling group recommendations.
934
948
  #
935
- # AWS Compute Optimizer generates recommendations for Amazon EC2 Auto
949
+ # Compute Optimizer generates recommendations for Amazon EC2 Auto
936
950
  # Scaling groups that meet a specific set of requirements. For more
937
951
  # information, see the [Supported resources and requirements][1] in the
938
- # *AWS Compute Optimizer User Guide*.
952
+ # *Compute Optimizer User Guide*.
939
953
  #
940
954
  #
941
955
  #
942
956
  # [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
943
957
  #
944
958
  # @option params [Array<String>] :account_ids
945
- # The ID of the AWS account for which to return Auto Scaling group
946
- # recommendations.
959
+ # The ID of the Amazon Web Services account for which to return Auto
960
+ # Scaling group recommendations.
947
961
  #
948
962
  # If your account is the management account of an organization, use this
949
963
  # parameter to specify the member account for which you want to return
@@ -964,11 +978,15 @@ module Aws::ComputeOptimizer
964
978
  # with a single request.
965
979
  #
966
980
  # To retrieve the remaining results, make another request with the
967
- # returned `NextToken` value.
981
+ # returned `nextToken` value.
968
982
  #
969
983
  # @option params [Array<Types::Filter>] :filters
970
- # An array of objects that describe a filter that returns a more
971
- # specific list of Auto Scaling group recommendations.
984
+ # An array of objects to specify a filter that returns a more specific
985
+ # list of Auto Scaling group recommendations.
986
+ #
987
+ # @option params [Types::RecommendationPreferences] :recommendation_preferences
988
+ # An object to specify the preferences for the Auto Scaling group
989
+ # recommendations to return in the response.
972
990
  #
973
991
  # @return [Types::GetAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
974
992
  #
@@ -989,6 +1007,9 @@ module Aws::ComputeOptimizer
989
1007
  # values: ["FilterValue"],
990
1008
  # },
991
1009
  # ],
1010
+ # recommendation_preferences: {
1011
+ # cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
1012
+ # },
992
1013
  # })
993
1014
  #
994
1015
  # @example Response structure
@@ -1037,9 +1058,9 @@ module Aws::ComputeOptimizer
1037
1058
  # Returns Amazon Elastic Block Store (Amazon EBS) volume
1038
1059
  # recommendations.
1039
1060
  #
1040
- # AWS Compute Optimizer generates recommendations for Amazon EBS volumes
1061
+ # Compute Optimizer generates recommendations for Amazon EBS volumes
1041
1062
  # that meet a specific set of requirements. For more information, see
1042
- # the [Supported resources and requirements][1] in the *AWS Compute
1063
+ # the [Supported resources and requirements][1] in the *Compute
1043
1064
  # Optimizer User Guide*.
1044
1065
  #
1045
1066
  #
@@ -1058,14 +1079,15 @@ module Aws::ComputeOptimizer
1058
1079
  # request.
1059
1080
  #
1060
1081
  # To retrieve the remaining results, make another request with the
1061
- # returned `NextToken` value.
1082
+ # returned `nextToken` value.
1062
1083
  #
1063
1084
  # @option params [Array<Types::EBSFilter>] :filters
1064
- # An array of objects that describe a filter that returns a more
1065
- # specific list of volume recommendations.
1085
+ # An array of objects to specify a filter that returns a more specific
1086
+ # list of volume recommendations.
1066
1087
  #
1067
1088
  # @option params [Array<String>] :account_ids
1068
- # The ID of the AWS account for which to return volume recommendations.
1089
+ # The ID of the Amazon Web Services account for which to return volume
1090
+ # recommendations.
1069
1091
  #
1070
1092
  # If your account is the management account of an organization, use this
1071
1093
  # parameter to specify the member account for which you want to return
@@ -1138,10 +1160,10 @@ module Aws::ComputeOptimizer
1138
1160
 
1139
1161
  # Returns Amazon EC2 instance recommendations.
1140
1162
  #
1141
- # AWS Compute Optimizer generates recommendations for Amazon Elastic
1142
- # Compute Cloud (Amazon EC2) instances that meet a specific set of
1143
- # requirements. For more information, see the [Supported resources and
1144
- # requirements][1] in the *AWS Compute Optimizer User Guide*.
1163
+ # Compute Optimizer generates recommendations for Amazon Elastic Compute
1164
+ # Cloud (Amazon EC2) instances that meet a specific set of requirements.
1165
+ # For more information, see the [Supported resources and
1166
+ # requirements][1] in the *Compute Optimizer User Guide*.
1145
1167
  #
1146
1168
  #
1147
1169
  #
@@ -1159,14 +1181,14 @@ module Aws::ComputeOptimizer
1159
1181
  # request.
1160
1182
  #
1161
1183
  # To retrieve the remaining results, make another request with the
1162
- # returned `NextToken` value.
1184
+ # returned `nextToken` value.
1163
1185
  #
1164
1186
  # @option params [Array<Types::Filter>] :filters
1165
- # An array of objects that describe a filter that returns a more
1166
- # specific list of instance recommendations.
1187
+ # An array of objects to specify a filter that returns a more specific
1188
+ # list of instance recommendations.
1167
1189
  #
1168
1190
  # @option params [Array<String>] :account_ids
1169
- # The ID of the AWS account for which to return instance
1191
+ # The ID of the Amazon Web Services account for which to return instance
1170
1192
  # recommendations.
1171
1193
  #
1172
1194
  # If your account is the management account of an organization, use this
@@ -1175,6 +1197,10 @@ module Aws::ComputeOptimizer
1175
1197
  #
1176
1198
  # Only one account ID can be specified per request.
1177
1199
  #
1200
+ # @option params [Types::RecommendationPreferences] :recommendation_preferences
1201
+ # An object to specify the preferences for the Amazon EC2 instance
1202
+ # recommendations to return in the response.
1203
+ #
1178
1204
  # @return [Types::GetEC2InstanceRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1179
1205
  #
1180
1206
  # * {Types::GetEC2InstanceRecommendationsResponse#next_token #next_token} => String
@@ -1194,6 +1220,9 @@ module Aws::ComputeOptimizer
1194
1220
  # },
1195
1221
  # ],
1196
1222
  # account_ids: ["AccountId"],
1223
+ # recommendation_preferences: {
1224
+ # cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
1225
+ # },
1197
1226
  # })
1198
1227
  #
1199
1228
  # @example Response structure
@@ -1219,7 +1248,7 @@ module Aws::ComputeOptimizer
1219
1248
  # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].statistic #=> String, one of "Maximum", "Average"
1220
1249
  # resp.instance_recommendations[0].recommendation_options[0].projected_utilization_metrics[0].value #=> Float
1221
1250
  # 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"
1251
+ # resp.instance_recommendations[0].recommendation_options[0].platform_differences[0] #=> String, one of "Hypervisor", "NetworkInterface", "StorageInterface", "InstanceStoreAvailability", "VirtualizationType", "Architecture"
1223
1252
  # resp.instance_recommendations[0].recommendation_options[0].performance_risk #=> Float
1224
1253
  # resp.instance_recommendations[0].recommendation_options[0].rank #=> Integer
1225
1254
  # resp.instance_recommendations[0].recommendation_sources #=> Array
@@ -1266,10 +1295,14 @@ module Aws::ComputeOptimizer
1266
1295
  # The granularity, in seconds, of the projected metrics data points.
1267
1296
  #
1268
1297
  # @option params [required, Time,DateTime,Date,Integer,String] :start_time
1269
- # The time stamp of the first projected metrics data point to return.
1298
+ # The timestamp of the first projected metrics data point to return.
1270
1299
  #
1271
1300
  # @option params [required, Time,DateTime,Date,Integer,String] :end_time
1272
- # The time stamp of the last projected metrics data point to return.
1301
+ # The timestamp of the last projected metrics data point to return.
1302
+ #
1303
+ # @option params [Types::RecommendationPreferences] :recommendation_preferences
1304
+ # An object to specify the preferences for the Amazon EC2 recommendation
1305
+ # projected metrics to return in the response.
1273
1306
  #
1274
1307
  # @return [Types::GetEC2RecommendationProjectedMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1275
1308
  #
@@ -1283,6 +1316,9 @@ module Aws::ComputeOptimizer
1283
1316
  # period: 1, # required
1284
1317
  # start_time: Time.now, # required
1285
1318
  # end_time: Time.now, # required
1319
+ # recommendation_preferences: {
1320
+ # cpu_vendor_architectures: ["AWS_ARM64"], # accepts AWS_ARM64, CURRENT
1321
+ # },
1286
1322
  # })
1287
1323
  #
1288
1324
  # @example Response structure
@@ -1306,24 +1342,30 @@ module Aws::ComputeOptimizer
1306
1342
  req.send_request(options)
1307
1343
  end
1308
1344
 
1309
- # Returns the enrollment (opt in) status of an account to the AWS
1310
- # Compute Optimizer service.
1345
+ # Returns the enrollment (opt in) status of an account to the Compute
1346
+ # Optimizer service.
1311
1347
  #
1312
1348
  # If the account is the management account of an organization, this
1313
- # action also confirms the enrollment status of member accounts within
1314
- # the organization.
1349
+ # action also confirms the enrollment status of member accounts of the
1350
+ # organization. Use the GetEnrollmentStatusesForOrganization action to
1351
+ # get detailed information about the enrollment status of member
1352
+ # accounts of an organization.
1315
1353
  #
1316
1354
  # @return [Types::GetEnrollmentStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1317
1355
  #
1318
1356
  # * {Types::GetEnrollmentStatusResponse#status #status} => String
1319
1357
  # * {Types::GetEnrollmentStatusResponse#status_reason #status_reason} => String
1320
1358
  # * {Types::GetEnrollmentStatusResponse#member_accounts_enrolled #member_accounts_enrolled} => Boolean
1359
+ # * {Types::GetEnrollmentStatusResponse#last_updated_timestamp #last_updated_timestamp} => Time
1360
+ # * {Types::GetEnrollmentStatusResponse#number_of_member_accounts_opted_in #number_of_member_accounts_opted_in} => Integer
1321
1361
  #
1322
1362
  # @example Response structure
1323
1363
  #
1324
1364
  # resp.status #=> String, one of "Active", "Inactive", "Pending", "Failed"
1325
1365
  # resp.status_reason #=> String
1326
1366
  # resp.member_accounts_enrolled #=> Boolean
1367
+ # resp.last_updated_timestamp #=> Time
1368
+ # resp.number_of_member_accounts_opted_in #=> Integer
1327
1369
  #
1328
1370
  # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatus AWS API Documentation
1329
1371
  #
@@ -1334,12 +1376,69 @@ module Aws::ComputeOptimizer
1334
1376
  req.send_request(options)
1335
1377
  end
1336
1378
 
1337
- # Returns AWS Lambda function recommendations.
1379
+ # Returns the Compute Optimizer enrollment (opt-in) status of
1380
+ # organization member accounts, if your account is an organization
1381
+ # management account.
1338
1382
  #
1339
- # AWS Compute Optimizer generates recommendations for functions that
1340
- # meet a specific set of requirements. For more information, see the
1341
- # [Supported resources and requirements][1] in the *AWS Compute
1342
- # Optimizer User Guide*.
1383
+ # To get the enrollment status of standalone accounts, use the
1384
+ # GetEnrollmentStatus action.
1385
+ #
1386
+ # @option params [Array<Types::EnrollmentFilter>] :filters
1387
+ # An array of objects to specify a filter that returns a more specific
1388
+ # list of account enrollment statuses.
1389
+ #
1390
+ # @option params [String] :next_token
1391
+ # The token to advance to the next page of account enrollment statuses.
1392
+ #
1393
+ # @option params [Integer] :max_results
1394
+ # The maximum number of account enrollment statuses to return with a
1395
+ # single request. You can specify up to 100 statuses to return with each
1396
+ # request.
1397
+ #
1398
+ # To retrieve the remaining results, make another request with the
1399
+ # returned `nextToken` value.
1400
+ #
1401
+ # @return [Types::GetEnrollmentStatusesForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1402
+ #
1403
+ # * {Types::GetEnrollmentStatusesForOrganizationResponse#account_enrollment_statuses #account_enrollment_statuses} => Array&lt;Types::AccountEnrollmentStatus&gt;
1404
+ # * {Types::GetEnrollmentStatusesForOrganizationResponse#next_token #next_token} => String
1405
+ #
1406
+ # @example Request syntax with placeholder values
1407
+ #
1408
+ # resp = client.get_enrollment_statuses_for_organization({
1409
+ # filters: [
1410
+ # {
1411
+ # name: "Status", # accepts Status
1412
+ # values: ["FilterValue"],
1413
+ # },
1414
+ # ],
1415
+ # next_token: "NextToken",
1416
+ # max_results: 1,
1417
+ # })
1418
+ #
1419
+ # @example Response structure
1420
+ #
1421
+ # resp.account_enrollment_statuses #=> Array
1422
+ # resp.account_enrollment_statuses[0].account_id #=> String
1423
+ # resp.account_enrollment_statuses[0].status #=> String, one of "Active", "Inactive", "Pending", "Failed"
1424
+ # resp.account_enrollment_statuses[0].status_reason #=> String
1425
+ # resp.account_enrollment_statuses[0].last_updated_timestamp #=> Time
1426
+ # resp.next_token #=> String
1427
+ #
1428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatusesForOrganization AWS API Documentation
1429
+ #
1430
+ # @overload get_enrollment_statuses_for_organization(params = {})
1431
+ # @param [Hash] params ({})
1432
+ def get_enrollment_statuses_for_organization(params = {}, options = {})
1433
+ req = build_request(:get_enrollment_statuses_for_organization, params)
1434
+ req.send_request(options)
1435
+ end
1436
+
1437
+ # Returns Lambda function recommendations.
1438
+ #
1439
+ # Compute Optimizer generates recommendations for functions that meet a
1440
+ # specific set of requirements. For more information, see the [Supported
1441
+ # resources and requirements][1] in the *Compute Optimizer User Guide*.
1343
1442
  #
1344
1443
  #
1345
1444
  #
@@ -1355,14 +1454,14 @@ module Aws::ComputeOptimizer
1355
1454
  # function. If you specify a qualified ARN with a version suffix,
1356
1455
  # Compute Optimizer will return recommendations for the specified
1357
1456
  # function version. For more information about using function versions,
1358
- # see [Using versions][1] in the *AWS Lambda Developer Guide*.
1457
+ # see [Using versions][1] in the *Lambda Developer Guide*.
1359
1458
  #
1360
1459
  #
1361
1460
  #
1362
1461
  # [1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using
1363
1462
  #
1364
1463
  # @option params [Array<String>] :account_ids
1365
- # The ID of the AWS account for which to return function
1464
+ # The ID of the Amazon Web Services account for which to return function
1366
1465
  # recommendations.
1367
1466
  #
1368
1467
  # If your account is the management account of an organization, use this
@@ -1372,8 +1471,8 @@ module Aws::ComputeOptimizer
1372
1471
  # Only one account ID can be specified per request.
1373
1472
  #
1374
1473
  # @option params [Array<Types::LambdaFunctionRecommendationFilter>] :filters
1375
- # An array of objects that describe a filter that returns a more
1376
- # specific list of function recommendations.
1474
+ # An array of objects to specify a filter that returns a more specific
1475
+ # list of function recommendations.
1377
1476
  #
1378
1477
  # @option params [String] :next_token
1379
1478
  # The token to advance to the next page of function recommendations.
@@ -1383,7 +1482,7 @@ module Aws::ComputeOptimizer
1383
1482
  # request.
1384
1483
  #
1385
1484
  # To retrieve the remaining results, make another request with the
1386
- # returned `NextToken` value.
1485
+ # returned `nextToken` value.
1387
1486
  #
1388
1487
  # @return [Types::GetLambdaFunctionRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1389
1488
  #
@@ -1457,8 +1556,8 @@ module Aws::ComputeOptimizer
1457
1556
  # `Optimized`.
1458
1557
  #
1459
1558
  # @option params [Array<String>] :account_ids
1460
- # The ID of the AWS account for which to return recommendation
1461
- # summaries.
1559
+ # The ID of the Amazon Web Services account for which to return
1560
+ # recommendation summaries.
1462
1561
  #
1463
1562
  # If your account is the management account of an organization, use this
1464
1563
  # parameter to specify the member account for which you want to return
@@ -1474,7 +1573,7 @@ module Aws::ComputeOptimizer
1474
1573
  # request.
1475
1574
  #
1476
1575
  # To retrieve the remaining results, make another request with the
1477
- # returned `NextToken` value.
1576
+ # returned `nextToken` value.
1478
1577
  #
1479
1578
  # @return [Types::GetRecommendationSummariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1480
1579
  #
@@ -1512,20 +1611,20 @@ module Aws::ComputeOptimizer
1512
1611
  end
1513
1612
 
1514
1613
  # Updates the enrollment (opt in and opt out) status of an account to
1515
- # the AWS Compute Optimizer service.
1614
+ # the Compute Optimizer service.
1516
1615
  #
1517
1616
  # If the account is a management account of an organization, this action
1518
- # can also be used to enroll member accounts within the organization.
1617
+ # can also be used to enroll member accounts of the organization.
1519
1618
  #
1520
1619
  # You must have the appropriate permissions to opt in to Compute
1521
1620
  # Optimizer, to view its recommendations, and to opt out. For more
1522
- # information, see [Controlling access with AWS Identity and Access
1523
- # Management][1] in the *AWS Compute Optimizer User Guide*.
1621
+ # information, see [Controlling access with Amazon Web Services Identity
1622
+ # and Access Management][1] in the *Compute Optimizer User Guide*.
1524
1623
  #
1525
1624
  # When you opt in, Compute Optimizer automatically creates a
1526
- # Service-Linked Role in your account to access its data. For more
1527
- # information, see [Using Service-Linked Roles for AWS Compute
1528
- # Optimizer][2] in the *AWS Compute Optimizer User Guide*.
1625
+ # service-linked role in your account to access its data. For more
1626
+ # information, see [Using Service-Linked Roles for Compute Optimizer][2]
1627
+ # in the *Compute Optimizer User Guide*.
1529
1628
  #
1530
1629
  #
1531
1630
  #
@@ -1539,9 +1638,9 @@ module Aws::ComputeOptimizer
1539
1638
  #
1540
1639
  # * `Active` - Opts in your account to the Compute Optimizer service.
1541
1640
  # Compute Optimizer begins analyzing the configuration and utilization
1542
- # metrics of your AWS resources after you opt in. For more
1543
- # information, see [Metrics analyzed by AWS Compute Optimizer][1] in
1544
- # the *AWS Compute Optimizer User Guide*.
1641
+ # metrics of your Amazon Web Services resources after you opt in. For
1642
+ # more information, see [Metrics analyzed by Compute Optimizer][1] in
1643
+ # the *Compute Optimizer User Guide*.
1545
1644
  #
1546
1645
  # * `Inactive` - Opts out your account from the Compute Optimizer
1547
1646
  # service. Your account's recommendations and related metrics data
@@ -1600,7 +1699,7 @@ module Aws::ComputeOptimizer
1600
1699
  params: params,
1601
1700
  config: config)
1602
1701
  context[:gem_name] = 'aws-sdk-computeoptimizer'
1603
- context[:gem_version] = '1.19.0'
1702
+ context[:gem_version] = '1.23.0'
1604
1703
  Seahorse::Client::Request.new(handlers, context)
1605
1704
  end
1606
1705