aws-sdk-computeoptimizer 1.90.0 → 1.92.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +52 -54
- data/lib/aws-sdk-computeoptimizer/client_api.rb +2 -2
- data/lib/aws-sdk-computeoptimizer/types.rb +131 -136
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5483c37e540e28b7a20efd3f02802713bf33cc81d02c9c4297e4ed801d1719a
|
|
4
|
+
data.tar.gz: b929c27bd53c6dbe0edd8ee6c3ef67646962c4bd9add452c599c6b279278a66d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0881216e3dc595521309772d3c08ae2d5f168e346815c2da803a629bc79834fa3e2ad044d41c56bb6aeb669c6cd6176b329a3c2f279b23632dd948fb1da8b1f
|
|
7
|
+
data.tar.gz: a69bf7fbdb39942c667698635b64d3ad31da8cb38aa26703ef68883e9abd5bc0dbb14e65639462bc05b1c5e39b3fb0474536ce55fca852e6c66c049ce997a85f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.92.0 (2026-04-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds Smithy RPC v2 CBOR as an additional protocol alongside the existing AWS JSON 1.0. The SDK will prioritize its most performant protocol.
|
|
8
|
+
|
|
9
|
+
1.91.0 (2026-03-18)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.90.0 (2026-01-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.92.0
|
|
@@ -497,9 +497,9 @@ module Aws::ComputeOptimizer
|
|
|
497
497
|
# The target resource type of the recommendation preference to delete.
|
|
498
498
|
#
|
|
499
499
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
500
|
-
# instances that are part of
|
|
501
|
-
#
|
|
502
|
-
#
|
|
500
|
+
# instances that are part of Auto Scaling groups. The `AutoScalingGroup`
|
|
501
|
+
# option encompasses only instances that are part of an Auto Scaling
|
|
502
|
+
# group.
|
|
503
503
|
#
|
|
504
504
|
# @option params [Types::Scope] :scope
|
|
505
505
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -614,8 +614,7 @@ module Aws::ComputeOptimizer
|
|
|
614
614
|
req.send_request(options)
|
|
615
615
|
end
|
|
616
616
|
|
|
617
|
-
# Exports optimization recommendations for
|
|
618
|
-
# groups.
|
|
617
|
+
# Exports optimization recommendations for Auto Scaling groups.
|
|
619
618
|
#
|
|
620
619
|
# Recommendations are exported in a comma-separated values (.csv) file,
|
|
621
620
|
# and its metadata in a JavaScript Object Notation (JSON) (.json) file,
|
|
@@ -623,16 +622,16 @@ module Aws::ComputeOptimizer
|
|
|
623
622
|
# you specify. For more information, see [Exporting Recommendations][1]
|
|
624
623
|
# in the *Compute Optimizer User Guide*.
|
|
625
624
|
#
|
|
626
|
-
# You can have only one
|
|
627
|
-
#
|
|
625
|
+
# You can have only one Auto Scaling group export job in progress per
|
|
626
|
+
# Amazon Web Services Region.
|
|
628
627
|
#
|
|
629
628
|
#
|
|
630
629
|
#
|
|
631
630
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html
|
|
632
631
|
#
|
|
633
632
|
# @option params [Array<String>] :account_ids
|
|
634
|
-
# The IDs of the Amazon Web Services accounts for which to export
|
|
635
|
-
#
|
|
633
|
+
# The IDs of the Amazon Web Services accounts for which to export Auto
|
|
634
|
+
# Scaling group recommendations.
|
|
636
635
|
#
|
|
637
636
|
# If your account is the management account of an organization, use this
|
|
638
637
|
# parameter to specify the member account for which you want to export
|
|
@@ -648,7 +647,7 @@ module Aws::ComputeOptimizer
|
|
|
648
647
|
#
|
|
649
648
|
# @option params [Array<Types::Filter>] :filters
|
|
650
649
|
# An array of objects to specify a filter that exports a more specific
|
|
651
|
-
# set of
|
|
650
|
+
# set of Auto Scaling group recommendations.
|
|
652
651
|
#
|
|
653
652
|
# @option params [Array<String>] :fields_to_export
|
|
654
653
|
# The recommendations data to include in the export file. For more
|
|
@@ -707,8 +706,8 @@ module Aws::ComputeOptimizer
|
|
|
707
706
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access
|
|
708
707
|
#
|
|
709
708
|
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
|
710
|
-
# An object to specify the preferences for the
|
|
711
|
-
#
|
|
709
|
+
# An object to specify the preferences for the Auto Scaling group
|
|
710
|
+
# recommendations to export.
|
|
712
711
|
#
|
|
713
712
|
# @return [Types::ExportAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
714
713
|
#
|
|
@@ -1677,7 +1676,7 @@ module Aws::ComputeOptimizer
|
|
|
1677
1676
|
req.send_request(options)
|
|
1678
1677
|
end
|
|
1679
1678
|
|
|
1680
|
-
# Returns
|
|
1679
|
+
# Returns Auto Scaling group recommendations.
|
|
1681
1680
|
#
|
|
1682
1681
|
# Compute Optimizer generates recommendations for Amazon EC2 Auto
|
|
1683
1682
|
# Scaling groups that meet a specific set of requirements. For more
|
|
@@ -1689,37 +1688,37 @@ module Aws::ComputeOptimizer
|
|
|
1689
1688
|
# [1]: https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html
|
|
1690
1689
|
#
|
|
1691
1690
|
# @option params [Array<String>] :account_ids
|
|
1692
|
-
# The ID of the Amazon Web Services account for which to return
|
|
1693
|
-
#
|
|
1691
|
+
# The ID of the Amazon Web Services account for which to return Auto
|
|
1692
|
+
# Scaling group recommendations.
|
|
1694
1693
|
#
|
|
1695
1694
|
# If your account is the management account of an organization, use this
|
|
1696
1695
|
# parameter to specify the member account for which you want to return
|
|
1697
|
-
#
|
|
1696
|
+
# Auto Scaling group recommendations.
|
|
1698
1697
|
#
|
|
1699
1698
|
# Only one account ID can be specified per request.
|
|
1700
1699
|
#
|
|
1701
1700
|
# @option params [Array<String>] :auto_scaling_group_arns
|
|
1702
|
-
# The Amazon Resource Name (ARN) of the
|
|
1703
|
-
#
|
|
1701
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling groups for which to
|
|
1702
|
+
# return recommendations.
|
|
1704
1703
|
#
|
|
1705
1704
|
# @option params [String] :next_token
|
|
1706
|
-
# The token to advance to the next page of
|
|
1705
|
+
# The token to advance to the next page of Auto Scaling group
|
|
1707
1706
|
# recommendations.
|
|
1708
1707
|
#
|
|
1709
1708
|
# @option params [Integer] :max_results
|
|
1710
|
-
# The maximum number of
|
|
1711
|
-
#
|
|
1709
|
+
# The maximum number of Auto Scaling group recommendations to return
|
|
1710
|
+
# with a single request.
|
|
1712
1711
|
#
|
|
1713
1712
|
# To retrieve the remaining results, make another request with the
|
|
1714
1713
|
# returned `nextToken` value.
|
|
1715
1714
|
#
|
|
1716
1715
|
# @option params [Array<Types::Filter>] :filters
|
|
1717
1716
|
# An array of objects to specify a filter that returns a more specific
|
|
1718
|
-
# list of
|
|
1717
|
+
# list of Auto Scaling group recommendations.
|
|
1719
1718
|
#
|
|
1720
1719
|
# @option params [Types::RecommendationPreferences] :recommendation_preferences
|
|
1721
|
-
# An object to specify the preferences for the
|
|
1722
|
-
#
|
|
1720
|
+
# An object to specify the preferences for the Auto Scaling group
|
|
1721
|
+
# recommendations to return in the response.
|
|
1723
1722
|
#
|
|
1724
1723
|
# @return [Types::GetAutoScalingGroupRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1725
1724
|
#
|
|
@@ -2371,8 +2370,8 @@ module Aws::ComputeOptimizer
|
|
|
2371
2370
|
#
|
|
2372
2371
|
# @option params [required, String] :resource_arn
|
|
2373
2372
|
# The Amazon Resource Name (ARN) of the resource for which to confirm
|
|
2374
|
-
# effective recommendation preferences. Only EC2 instance and
|
|
2375
|
-
#
|
|
2373
|
+
# effective recommendation preferences. Only EC2 instance and Auto
|
|
2374
|
+
# Scaling group ARNs are currently supported.
|
|
2376
2375
|
#
|
|
2377
2376
|
# @return [Types::GetEffectiveRecommendationPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2378
2377
|
#
|
|
@@ -3071,8 +3070,8 @@ module Aws::ComputeOptimizer
|
|
|
3071
3070
|
#
|
|
3072
3071
|
# Use the `scope` parameter to specify which preferences to return. You
|
|
3073
3072
|
# can specify to return preferences for an organization, a specific
|
|
3074
|
-
# account ID, or a specific EC2 instance or
|
|
3075
|
-
#
|
|
3073
|
+
# account ID, or a specific EC2 instance or Auto Scaling group Amazon
|
|
3074
|
+
# Resource Name (ARN).
|
|
3076
3075
|
#
|
|
3077
3076
|
# For more information, see [Activating enhanced infrastructure
|
|
3078
3077
|
# metrics][1] in the *Compute Optimizer User Guide*.
|
|
@@ -3086,9 +3085,9 @@ module Aws::ComputeOptimizer
|
|
|
3086
3085
|
# return preferences.
|
|
3087
3086
|
#
|
|
3088
3087
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3089
|
-
# instances that are part of
|
|
3090
|
-
#
|
|
3091
|
-
#
|
|
3088
|
+
# instances that are part of Auto Scaling groups. The `AutoScalingGroup`
|
|
3089
|
+
# option encompasses only instances that are part of an Auto Scaling
|
|
3090
|
+
# group.
|
|
3092
3091
|
#
|
|
3093
3092
|
# @option params [Types::Scope] :scope
|
|
3094
3093
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -3174,8 +3173,8 @@ module Aws::ComputeOptimizer
|
|
|
3174
3173
|
# * Amazon EC2 instances in an account that are `Underprovisioned`,
|
|
3175
3174
|
# `Overprovisioned`, or `Optimized`.
|
|
3176
3175
|
#
|
|
3177
|
-
# *
|
|
3178
|
-
# `
|
|
3176
|
+
# * EC2Auto Scaling groups in an account that are `NotOptimized`, or
|
|
3177
|
+
# `Optimized`.
|
|
3179
3178
|
#
|
|
3180
3179
|
# * Amazon EBS volumes in an account that are `NotOptimized`, or
|
|
3181
3180
|
# `Optimized`.
|
|
@@ -3285,9 +3284,9 @@ module Aws::ComputeOptimizer
|
|
|
3285
3284
|
# The target resource type of the recommendation preference to create.
|
|
3286
3285
|
#
|
|
3287
3286
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3288
|
-
# instances that are part of
|
|
3289
|
-
#
|
|
3290
|
-
#
|
|
3287
|
+
# instances that are part of Auto Scaling groups. The `AutoScalingGroup`
|
|
3288
|
+
# option encompasses only instances that are part of an Auto Scaling
|
|
3289
|
+
# group.
|
|
3291
3290
|
#
|
|
3292
3291
|
# @option params [Types::Scope] :scope
|
|
3293
3292
|
# An object that describes the scope of the recommendation preference to
|
|
@@ -3298,17 +3297,16 @@ module Aws::ComputeOptimizer
|
|
|
3298
3297
|
# resource level. For more information, see [Activating enhanced
|
|
3299
3298
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
3300
3299
|
#
|
|
3301
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
3302
|
-
#
|
|
3303
|
-
#
|
|
3304
|
-
#
|
|
3305
|
-
#
|
|
3306
|
-
#
|
|
3307
|
-
#
|
|
3308
|
-
#
|
|
3309
|
-
#
|
|
3310
|
-
#
|
|
3311
|
-
# instances.
|
|
3300
|
+
# <note markdown="1"> You cannot create recommendation preferences for Auto Scaling groups
|
|
3301
|
+
# at the organization and account levels. You can create recommendation
|
|
3302
|
+
# preferences for Auto Scaling groups only at the resource level by
|
|
3303
|
+
# specifying a scope name of `ResourceArn` and a scope value of the Auto
|
|
3304
|
+
# Scaling group Amazon Resource Name (ARN). This will configure the
|
|
3305
|
+
# preference for all instances that are part of the specified Auto
|
|
3306
|
+
# Scaling group. You also cannot create recommendation preferences at
|
|
3307
|
+
# the resource level for instances that are part of an Auto Scaling
|
|
3308
|
+
# group. You can create recommendation preferences at the resource level
|
|
3309
|
+
# only for standalone instances.
|
|
3312
3310
|
#
|
|
3313
3311
|
# </note>
|
|
3314
3312
|
#
|
|
@@ -3371,14 +3369,14 @@ module Aws::ComputeOptimizer
|
|
|
3371
3369
|
# of the Amazon Web Services resource are analyzed. When this preference
|
|
3372
3370
|
# isn't specified, we use the default value `DAYS_14`.
|
|
3373
3371
|
#
|
|
3374
|
-
# You can only set this preference for the Amazon EC2 instance and
|
|
3375
|
-
#
|
|
3372
|
+
# You can only set this preference for the Amazon EC2 instance and Auto
|
|
3373
|
+
# Scaling group resource types.
|
|
3376
3374
|
#
|
|
3377
3375
|
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
|
3378
3376
|
# organization, account, and resource levels.
|
|
3379
3377
|
#
|
|
3380
|
-
# *
|
|
3381
|
-
#
|
|
3378
|
+
# * Auto Scaling group lookback preferences can only be set at the
|
|
3379
|
+
# resource level.
|
|
3382
3380
|
#
|
|
3383
3381
|
# </note>
|
|
3384
3382
|
#
|
|
@@ -3413,8 +3411,8 @@ module Aws::ComputeOptimizer
|
|
|
3413
3411
|
# specify either an `includeList` or `excludeList`. If the preference is
|
|
3414
3412
|
# an empty set of resource type values, an error occurs.
|
|
3415
3413
|
#
|
|
3416
|
-
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and
|
|
3417
|
-
#
|
|
3414
|
+
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and Auto
|
|
3415
|
+
# Scaling group resource types.
|
|
3418
3416
|
#
|
|
3419
3417
|
# </note>
|
|
3420
3418
|
#
|
|
@@ -3573,7 +3571,7 @@ module Aws::ComputeOptimizer
|
|
|
3573
3571
|
tracer: tracer
|
|
3574
3572
|
)
|
|
3575
3573
|
context[:gem_name] = 'aws-sdk-computeoptimizer'
|
|
3576
|
-
context[:gem_version] = '1.
|
|
3574
|
+
context[:gem_version] = '1.92.0'
|
|
3577
3575
|
Seahorse::Client::Request.new(handlers, context)
|
|
3578
3576
|
end
|
|
3579
3577
|
|
|
@@ -1608,8 +1608,8 @@ module Aws::ComputeOptimizer
|
|
|
1608
1608
|
"auth" => ["aws.auth#sigv4"],
|
|
1609
1609
|
"endpointPrefix" => "compute-optimizer",
|
|
1610
1610
|
"jsonVersion" => "1.0",
|
|
1611
|
-
"protocol" => "
|
|
1612
|
-
"protocols" => ["json"],
|
|
1611
|
+
"protocol" => "smithy-rpc-v2-cbor",
|
|
1612
|
+
"protocols" => ["smithy-rpc-v2-cbor", "json"],
|
|
1613
1613
|
"serviceFullName" => "AWS Compute Optimizer",
|
|
1614
1614
|
"serviceId" => "Compute Optimizer",
|
|
1615
1615
|
"signatureVersion" => "v4",
|
|
@@ -58,47 +58,47 @@ module Aws::ComputeOptimizer
|
|
|
58
58
|
include Aws::Structure
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
# Describes the configuration of an EC2
|
|
61
|
+
# Describes the configuration of an EC2 Auto Scaling group.
|
|
62
62
|
#
|
|
63
63
|
# @!attribute [rw] desired_capacity
|
|
64
|
-
# The desired capacity, or number of instances, for the EC2
|
|
65
|
-
#
|
|
64
|
+
# The desired capacity, or number of instances, for the EC2 Auto
|
|
65
|
+
# Scaling group.
|
|
66
66
|
# @return [Integer]
|
|
67
67
|
#
|
|
68
68
|
# @!attribute [rw] min_size
|
|
69
|
-
# The minimum size, or minimum number of instances, for the EC2
|
|
70
|
-
#
|
|
69
|
+
# The minimum size, or minimum number of instances, for the EC2 Auto
|
|
70
|
+
# Scaling group.
|
|
71
71
|
# @return [Integer]
|
|
72
72
|
#
|
|
73
73
|
# @!attribute [rw] max_size
|
|
74
|
-
# The maximum size, or maximum number of instances, for the EC2
|
|
75
|
-
#
|
|
74
|
+
# The maximum size, or maximum number of instances, for the EC2 Auto
|
|
75
|
+
# Scaling group.
|
|
76
76
|
# @return [Integer]
|
|
77
77
|
#
|
|
78
78
|
# @!attribute [rw] instance_type
|
|
79
|
-
# The instance type for the EC2
|
|
79
|
+
# The instance type for the EC2 Auto Scaling group.
|
|
80
80
|
# @return [String]
|
|
81
81
|
#
|
|
82
82
|
# @!attribute [rw] allocation_strategy
|
|
83
|
-
# Describes the allocation strategy that the EC2
|
|
84
|
-
#
|
|
85
|
-
#
|
|
83
|
+
# Describes the allocation strategy that the EC2 Auto Scaling group
|
|
84
|
+
# uses. This field is only available for EC2 Auto Scaling groups with
|
|
85
|
+
# mixed instance types.
|
|
86
86
|
# @return [String]
|
|
87
87
|
#
|
|
88
88
|
# @!attribute [rw] estimated_instance_hour_reduction_percentage
|
|
89
89
|
# Describes the projected percentage reduction in instance hours after
|
|
90
90
|
# adopting the recommended configuration. This field is only available
|
|
91
|
-
# for EC2
|
|
91
|
+
# for EC2 Auto Scaling groups with scaling policies.
|
|
92
92
|
# @return [Float]
|
|
93
93
|
#
|
|
94
94
|
# @!attribute [rw] type
|
|
95
|
-
# Describes whether the EC2
|
|
96
|
-
#
|
|
95
|
+
# Describes whether the EC2 Auto Scaling group has a single instance
|
|
96
|
+
# type or a mixed instance type configuration.
|
|
97
97
|
# @return [String]
|
|
98
98
|
#
|
|
99
99
|
# @!attribute [rw] mixed_instance_types
|
|
100
|
-
# List the instance types within an EC2
|
|
101
|
-
#
|
|
100
|
+
# List the instance types within an EC2 Auto Scaling group that has
|
|
101
|
+
# mixed instance types.
|
|
102
102
|
# @return [Array<String>]
|
|
103
103
|
#
|
|
104
104
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupConfiguration AWS API Documentation
|
|
@@ -117,9 +117,8 @@ module Aws::ComputeOptimizer
|
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
# An object that describes the estimated monthly savings possible by
|
|
120
|
-
# adopting Compute Optimizer’s
|
|
121
|
-
#
|
|
122
|
-
# Instances discounts.
|
|
120
|
+
# adopting Compute Optimizer’s Auto Scaling group recommendations. This
|
|
121
|
+
# is based on the Savings Plans and Reserved Instances discounts.
|
|
123
122
|
#
|
|
124
123
|
# @!attribute [rw] currency
|
|
125
124
|
# The currency of the estimated monthly savings.
|
|
@@ -138,33 +137,32 @@ module Aws::ComputeOptimizer
|
|
|
138
137
|
include Aws::Structure
|
|
139
138
|
end
|
|
140
139
|
|
|
141
|
-
# Describes an
|
|
140
|
+
# Describes an Auto Scaling group recommendation.
|
|
142
141
|
#
|
|
143
142
|
# @!attribute [rw] account_id
|
|
144
|
-
# The Amazon Web Services account ID of the
|
|
145
|
-
# group.
|
|
143
|
+
# The Amazon Web Services account ID of the Auto Scaling group.
|
|
146
144
|
# @return [String]
|
|
147
145
|
#
|
|
148
146
|
# @!attribute [rw] auto_scaling_group_arn
|
|
149
|
-
# The Amazon Resource Name (ARN) of the
|
|
147
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling group.
|
|
150
148
|
# @return [String]
|
|
151
149
|
#
|
|
152
150
|
# @!attribute [rw] auto_scaling_group_name
|
|
153
|
-
# The name of the
|
|
151
|
+
# The name of the Auto Scaling group.
|
|
154
152
|
# @return [String]
|
|
155
153
|
#
|
|
156
154
|
# @!attribute [rw] finding
|
|
157
|
-
# The finding classification of the
|
|
155
|
+
# The finding classification of the Auto Scaling group.
|
|
158
156
|
#
|
|
159
|
-
# Findings for
|
|
157
|
+
# Findings for Auto Scaling groups include:
|
|
160
158
|
#
|
|
161
|
-
# * <b> <code>NotOptimized</code> </b>—An
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
159
|
+
# * <b> <code>NotOptimized</code> </b>—An Auto Scaling group is
|
|
160
|
+
# considered not optimized when Compute Optimizer identifies a
|
|
161
|
+
# recommendation that can provide better performance for your
|
|
162
|
+
# workload.
|
|
165
163
|
#
|
|
166
|
-
# * <b> <code>Optimized</code> </b>—An
|
|
167
|
-
#
|
|
164
|
+
# * <b> <code>Optimized</code> </b>—An Auto Scaling group is
|
|
165
|
+
# considered optimized when Compute Optimizer determines that the
|
|
168
166
|
# group is correctly provisioned to run your workload based on the
|
|
169
167
|
# chosen instance type. For optimized resources, Compute Optimizer
|
|
170
168
|
# might recommend a new generation instance type.
|
|
@@ -172,49 +170,49 @@ module Aws::ComputeOptimizer
|
|
|
172
170
|
#
|
|
173
171
|
# @!attribute [rw] utilization_metrics
|
|
174
172
|
# An array of objects that describe the utilization metrics of the
|
|
175
|
-
#
|
|
173
|
+
# Auto Scaling group.
|
|
176
174
|
# @return [Array<Types::UtilizationMetric>]
|
|
177
175
|
#
|
|
178
176
|
# @!attribute [rw] look_back_period_in_days
|
|
179
177
|
# The number of days for which utilization metrics were analyzed for
|
|
180
|
-
# the
|
|
178
|
+
# the Auto Scaling group.
|
|
181
179
|
# @return [Float]
|
|
182
180
|
#
|
|
183
181
|
# @!attribute [rw] current_configuration
|
|
184
182
|
# An array of objects that describe the current configuration of the
|
|
185
|
-
#
|
|
183
|
+
# Auto Scaling group.
|
|
186
184
|
# @return [Types::AutoScalingGroupConfiguration]
|
|
187
185
|
#
|
|
188
186
|
# @!attribute [rw] current_instance_gpu_info
|
|
189
187
|
# Describes the GPU accelerator settings for the current instance type
|
|
190
|
-
# of the
|
|
188
|
+
# of the Auto Scaling group.
|
|
191
189
|
# @return [Types::GpuInfo]
|
|
192
190
|
#
|
|
193
191
|
# @!attribute [rw] recommendation_options
|
|
194
192
|
# An array of objects that describe the recommendation options for the
|
|
195
|
-
#
|
|
193
|
+
# Auto Scaling group.
|
|
196
194
|
# @return [Array<Types::AutoScalingGroupRecommendationOption>]
|
|
197
195
|
#
|
|
198
196
|
# @!attribute [rw] last_refresh_timestamp
|
|
199
|
-
# The timestamp of when the
|
|
200
|
-
#
|
|
197
|
+
# The timestamp of when the Auto Scaling group recommendation was last
|
|
198
|
+
# generated.
|
|
201
199
|
# @return [Time]
|
|
202
200
|
#
|
|
203
201
|
# @!attribute [rw] current_performance_risk
|
|
204
|
-
# The risk of the current
|
|
205
|
-
#
|
|
206
|
-
#
|
|
207
|
-
#
|
|
202
|
+
# The risk of the current Auto Scaling group not meeting the
|
|
203
|
+
# performance needs of its workloads. The higher the risk, the more
|
|
204
|
+
# likely the current Auto Scaling group configuration has insufficient
|
|
205
|
+
# capacity and cannot meet workload requirements.
|
|
208
206
|
# @return [String]
|
|
209
207
|
#
|
|
210
208
|
# @!attribute [rw] effective_recommendation_preferences
|
|
211
209
|
# An object that describes the effective recommendation preferences
|
|
212
|
-
# for the
|
|
210
|
+
# for the Auto Scaling group.
|
|
213
211
|
# @return [Types::EffectiveRecommendationPreferences]
|
|
214
212
|
#
|
|
215
213
|
# @!attribute [rw] inferred_workload_types
|
|
216
|
-
# The applications that might be running on the instances in the
|
|
217
|
-
#
|
|
214
|
+
# The applications that might be running on the instances in the Auto
|
|
215
|
+
# Scaling group as inferred by Compute Optimizer.
|
|
218
216
|
#
|
|
219
217
|
# Compute Optimizer can infer if one of the following applications
|
|
220
218
|
# might be running on the instances:
|
|
@@ -264,22 +262,21 @@ module Aws::ComputeOptimizer
|
|
|
264
262
|
include Aws::Structure
|
|
265
263
|
end
|
|
266
264
|
|
|
267
|
-
# Describes a recommendation option for an
|
|
268
|
-
# group.
|
|
265
|
+
# Describes a recommendation option for an Auto Scaling group.
|
|
269
266
|
#
|
|
270
267
|
# @!attribute [rw] configuration
|
|
271
|
-
# An array of objects that describe an
|
|
268
|
+
# An array of objects that describe an Auto Scaling group
|
|
272
269
|
# configuration.
|
|
273
270
|
# @return [Types::AutoScalingGroupConfiguration]
|
|
274
271
|
#
|
|
275
272
|
# @!attribute [rw] instance_gpu_info
|
|
276
273
|
# Describes the GPU accelerator settings for the recommended instance
|
|
277
|
-
# type of the
|
|
274
|
+
# type of the Auto Scaling group.
|
|
278
275
|
# @return [Types::GpuInfo]
|
|
279
276
|
#
|
|
280
277
|
# @!attribute [rw] projected_utilization_metrics
|
|
281
278
|
# An array of objects that describe the projected utilization metrics
|
|
282
|
-
# of the
|
|
279
|
+
# of the Auto Scaling group recommendation option.
|
|
283
280
|
#
|
|
284
281
|
# <note markdown="1"> The `Cpu` and `Memory` metrics are the only projected utilization
|
|
285
282
|
# metrics returned. Additionally, the `Memory` metric is returned only
|
|
@@ -295,8 +292,8 @@ module Aws::ComputeOptimizer
|
|
|
295
292
|
# @return [Array<Types::UtilizationMetric>]
|
|
296
293
|
#
|
|
297
294
|
# @!attribute [rw] performance_risk
|
|
298
|
-
# The performance risk of the
|
|
299
|
-
#
|
|
295
|
+
# The performance risk of the Auto Scaling group configuration
|
|
296
|
+
# recommendation.
|
|
300
297
|
#
|
|
301
298
|
# Performance risk indicates the likelihood of the recommended
|
|
302
299
|
# instance type not meeting the resource needs of your workload.
|
|
@@ -315,21 +312,21 @@ module Aws::ComputeOptimizer
|
|
|
315
312
|
# @return [Float]
|
|
316
313
|
#
|
|
317
314
|
# @!attribute [rw] rank
|
|
318
|
-
# The rank of the
|
|
315
|
+
# The rank of the Auto Scaling group recommendation option.
|
|
319
316
|
#
|
|
320
317
|
# The top recommendation option is ranked as `1`.
|
|
321
318
|
# @return [Integer]
|
|
322
319
|
#
|
|
323
320
|
# @!attribute [rw] savings_opportunity
|
|
324
|
-
# An object that describes the savings opportunity for the
|
|
325
|
-
#
|
|
326
|
-
#
|
|
321
|
+
# An object that describes the savings opportunity for the Auto
|
|
322
|
+
# Scaling group recommendation option. Savings opportunity includes
|
|
323
|
+
# the estimated monthly savings amount and percentage.
|
|
327
324
|
# @return [Types::SavingsOpportunity]
|
|
328
325
|
#
|
|
329
326
|
# @!attribute [rw] savings_opportunity_after_discounts
|
|
330
|
-
# An object that describes the savings opportunity for the
|
|
331
|
-
#
|
|
332
|
-
#
|
|
327
|
+
# An object that describes the savings opportunity for the Auto
|
|
328
|
+
# Scaling group recommendation option that includes Savings Plans and
|
|
329
|
+
# Reserved Instances discounts. Savings opportunity includes the
|
|
333
330
|
# estimated monthly savings and percentage.
|
|
334
331
|
# @return [Types::AutoScalingGroupSavingsOpportunityAfterDiscounts]
|
|
335
332
|
#
|
|
@@ -361,7 +358,7 @@ module Aws::ComputeOptimizer
|
|
|
361
358
|
include Aws::Structure
|
|
362
359
|
end
|
|
363
360
|
|
|
364
|
-
# Describes the savings opportunity for
|
|
361
|
+
# Describes the savings opportunity for Auto Scaling group
|
|
365
362
|
# recommendations after applying the Savings Plans and Reserved
|
|
366
363
|
# Instances discounts.
|
|
367
364
|
#
|
|
@@ -372,14 +369,14 @@ module Aws::ComputeOptimizer
|
|
|
372
369
|
# The estimated monthly savings possible as a percentage of monthly
|
|
373
370
|
# cost after applying the Savings Plans and Reserved Instances
|
|
374
371
|
# discounts. This saving can be achieved by adopting Compute
|
|
375
|
-
# Optimizer’s
|
|
372
|
+
# Optimizer’s Auto Scaling group recommendations.
|
|
376
373
|
# @return [Float]
|
|
377
374
|
#
|
|
378
375
|
# @!attribute [rw] estimated_monthly_savings
|
|
379
376
|
# An object that describes the estimated monthly savings possible by
|
|
380
|
-
# adopting Compute Optimizer’s
|
|
381
|
-
#
|
|
382
|
-
#
|
|
377
|
+
# adopting Compute Optimizer’s Auto Scaling group recommendations.
|
|
378
|
+
# This is based on the Savings Plans and Reserved Instances pricing
|
|
379
|
+
# discounts.
|
|
383
380
|
# @return [Types::AutoScalingGroupEstimatedMonthlySavings]
|
|
384
381
|
#
|
|
385
382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/AutoScalingGroupSavingsOpportunityAfterDiscounts AWS API Documentation
|
|
@@ -548,9 +545,9 @@ module Aws::ComputeOptimizer
|
|
|
548
545
|
# The target resource type of the recommendation preference to delete.
|
|
549
546
|
#
|
|
550
547
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
551
|
-
# instances that are part of
|
|
548
|
+
# instances that are part of Auto Scaling groups. The
|
|
552
549
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
553
|
-
# of an
|
|
550
|
+
# of an Auto Scaling group.
|
|
554
551
|
# @return [String]
|
|
555
552
|
#
|
|
556
553
|
# @!attribute [rw] scope
|
|
@@ -1392,8 +1389,8 @@ module Aws::ComputeOptimizer
|
|
|
1392
1389
|
# Describes the effective recommendation preferences for a resource.
|
|
1393
1390
|
#
|
|
1394
1391
|
# @!attribute [rw] cpu_vendor_architectures
|
|
1395
|
-
# Describes the CPU vendor and architecture for an instance or
|
|
1396
|
-
#
|
|
1392
|
+
# Describes the CPU vendor and architecture for an instance or Auto
|
|
1393
|
+
# Scaling group recommendations.
|
|
1397
1394
|
#
|
|
1398
1395
|
# For example, when you specify `AWS_ARM64` with:
|
|
1399
1396
|
#
|
|
@@ -1543,8 +1540,8 @@ module Aws::ComputeOptimizer
|
|
|
1543
1540
|
end
|
|
1544
1541
|
|
|
1545
1542
|
# @!attribute [rw] account_ids
|
|
1546
|
-
# The IDs of the Amazon Web Services accounts for which to export
|
|
1547
|
-
#
|
|
1543
|
+
# The IDs of the Amazon Web Services accounts for which to export Auto
|
|
1544
|
+
# Scaling group recommendations.
|
|
1548
1545
|
#
|
|
1549
1546
|
# If your account is the management account of an organization, use
|
|
1550
1547
|
# this parameter to specify the member account for which you want to
|
|
@@ -1562,7 +1559,7 @@ module Aws::ComputeOptimizer
|
|
|
1562
1559
|
#
|
|
1563
1560
|
# @!attribute [rw] filters
|
|
1564
1561
|
# An array of objects to specify a filter that exports a more specific
|
|
1565
|
-
# set of
|
|
1562
|
+
# set of Auto Scaling group recommendations.
|
|
1566
1563
|
# @return [Array<Types::Filter>]
|
|
1567
1564
|
#
|
|
1568
1565
|
# @!attribute [rw] fields_to_export
|
|
@@ -1626,8 +1623,8 @@ module Aws::ComputeOptimizer
|
|
|
1626
1623
|
# @return [Boolean]
|
|
1627
1624
|
#
|
|
1628
1625
|
# @!attribute [rw] recommendation_preferences
|
|
1629
|
-
# An object to specify the preferences for the
|
|
1630
|
-
#
|
|
1626
|
+
# An object to specify the preferences for the Auto Scaling group
|
|
1627
|
+
# recommendations to export.
|
|
1631
1628
|
# @return [Types::RecommendationPreferences]
|
|
1632
1629
|
#
|
|
1633
1630
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportAutoScalingGroupRecommendationsRequest AWS API Documentation
|
|
@@ -2595,8 +2592,8 @@ module Aws::ComputeOptimizer
|
|
|
2595
2592
|
# you wish to filter results for:
|
|
2596
2593
|
#
|
|
2597
2594
|
# * Specify `Optimized` or `NotOptimized` if you specify the `name`
|
|
2598
|
-
# parameter as `Finding` and you want to filter results for
|
|
2599
|
-
#
|
|
2595
|
+
# parameter as `Finding` and you want to filter results for Auto
|
|
2596
|
+
# Scaling groups.
|
|
2600
2597
|
#
|
|
2601
2598
|
# * Specify `Underprovisioned`, `Overprovisioned`, or `Optimized` if
|
|
2602
2599
|
# you specify the `name` parameter as `Finding` and you want to
|
|
@@ -2698,29 +2695,29 @@ module Aws::ComputeOptimizer
|
|
|
2698
2695
|
end
|
|
2699
2696
|
|
|
2700
2697
|
# @!attribute [rw] account_ids
|
|
2701
|
-
# The ID of the Amazon Web Services account for which to return
|
|
2702
|
-
#
|
|
2698
|
+
# The ID of the Amazon Web Services account for which to return Auto
|
|
2699
|
+
# Scaling group recommendations.
|
|
2703
2700
|
#
|
|
2704
2701
|
# If your account is the management account of an organization, use
|
|
2705
2702
|
# this parameter to specify the member account for which you want to
|
|
2706
|
-
# return
|
|
2703
|
+
# return Auto Scaling group recommendations.
|
|
2707
2704
|
#
|
|
2708
2705
|
# Only one account ID can be specified per request.
|
|
2709
2706
|
# @return [Array<String>]
|
|
2710
2707
|
#
|
|
2711
2708
|
# @!attribute [rw] auto_scaling_group_arns
|
|
2712
|
-
# The Amazon Resource Name (ARN) of the
|
|
2713
|
-
#
|
|
2709
|
+
# The Amazon Resource Name (ARN) of the Auto Scaling groups for which
|
|
2710
|
+
# to return recommendations.
|
|
2714
2711
|
# @return [Array<String>]
|
|
2715
2712
|
#
|
|
2716
2713
|
# @!attribute [rw] next_token
|
|
2717
|
-
# The token to advance to the next page of
|
|
2718
|
-
#
|
|
2714
|
+
# The token to advance to the next page of Auto Scaling group
|
|
2715
|
+
# recommendations.
|
|
2719
2716
|
# @return [String]
|
|
2720
2717
|
#
|
|
2721
2718
|
# @!attribute [rw] max_results
|
|
2722
|
-
# The maximum number of
|
|
2723
|
-
#
|
|
2719
|
+
# The maximum number of Auto Scaling group recommendations to return
|
|
2720
|
+
# with a single request.
|
|
2724
2721
|
#
|
|
2725
2722
|
# To retrieve the remaining results, make another request with the
|
|
2726
2723
|
# returned `nextToken` value.
|
|
@@ -2728,12 +2725,12 @@ module Aws::ComputeOptimizer
|
|
|
2728
2725
|
#
|
|
2729
2726
|
# @!attribute [rw] filters
|
|
2730
2727
|
# An array of objects to specify a filter that returns a more specific
|
|
2731
|
-
# list of
|
|
2728
|
+
# list of Auto Scaling group recommendations.
|
|
2732
2729
|
# @return [Array<Types::Filter>]
|
|
2733
2730
|
#
|
|
2734
2731
|
# @!attribute [rw] recommendation_preferences
|
|
2735
|
-
# An object to specify the preferences for the
|
|
2736
|
-
#
|
|
2732
|
+
# An object to specify the preferences for the Auto Scaling group
|
|
2733
|
+
# recommendations to return in the response.
|
|
2737
2734
|
# @return [Types::RecommendationPreferences]
|
|
2738
2735
|
#
|
|
2739
2736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendationsRequest AWS API Documentation
|
|
@@ -2750,15 +2747,15 @@ module Aws::ComputeOptimizer
|
|
|
2750
2747
|
end
|
|
2751
2748
|
|
|
2752
2749
|
# @!attribute [rw] next_token
|
|
2753
|
-
# The token to use to advance to the next page of
|
|
2754
|
-
#
|
|
2750
|
+
# The token to use to advance to the next page of Auto Scaling group
|
|
2751
|
+
# recommendations.
|
|
2755
2752
|
#
|
|
2756
|
-
# This value is null when there are no more pages of
|
|
2757
|
-
#
|
|
2753
|
+
# This value is null when there are no more pages of Auto Scaling
|
|
2754
|
+
# group recommendations to return.
|
|
2758
2755
|
# @return [String]
|
|
2759
2756
|
#
|
|
2760
2757
|
# @!attribute [rw] auto_scaling_group_recommendations
|
|
2761
|
-
# An array of objects that describe
|
|
2758
|
+
# An array of objects that describe Auto Scaling group
|
|
2762
2759
|
# recommendations.
|
|
2763
2760
|
# @return [Array<Types::AutoScalingGroupRecommendation>]
|
|
2764
2761
|
#
|
|
@@ -2766,7 +2763,7 @@ module Aws::ComputeOptimizer
|
|
|
2766
2763
|
# An array of objects that describe errors of the request.
|
|
2767
2764
|
#
|
|
2768
2765
|
# For example, an error is returned if you request recommendations for
|
|
2769
|
-
# an unsupported
|
|
2766
|
+
# an unsupported Auto Scaling group.
|
|
2770
2767
|
# @return [Array<Types::GetRecommendationError>]
|
|
2771
2768
|
#
|
|
2772
2769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendationsResponse AWS API Documentation
|
|
@@ -3107,8 +3104,8 @@ module Aws::ComputeOptimizer
|
|
|
3107
3104
|
|
|
3108
3105
|
# @!attribute [rw] resource_arn
|
|
3109
3106
|
# The Amazon Resource Name (ARN) of the resource for which to confirm
|
|
3110
|
-
# effective recommendation preferences. Only EC2 instance and
|
|
3111
|
-
#
|
|
3107
|
+
# effective recommendation preferences. Only EC2 instance and Auto
|
|
3108
|
+
# Scaling group ARNs are currently supported.
|
|
3112
3109
|
# @return [String]
|
|
3113
3110
|
#
|
|
3114
3111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferencesRequest AWS API Documentation
|
|
@@ -3681,8 +3678,8 @@ module Aws::ComputeOptimizer
|
|
|
3681
3678
|
# Describes an error experienced when getting recommendations.
|
|
3682
3679
|
#
|
|
3683
3680
|
# For example, an error is returned if you request recommendations for
|
|
3684
|
-
# an unsupported
|
|
3685
|
-
#
|
|
3681
|
+
# an unsupported Auto Scaling group, or if you request recommendations
|
|
3682
|
+
# for an instance of an unsupported instance family.
|
|
3686
3683
|
#
|
|
3687
3684
|
# @!attribute [rw] identifier
|
|
3688
3685
|
# The ID of the error.
|
|
@@ -3711,9 +3708,9 @@ module Aws::ComputeOptimizer
|
|
|
3711
3708
|
# to return preferences.
|
|
3712
3709
|
#
|
|
3713
3710
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
3714
|
-
# instances that are part of
|
|
3711
|
+
# instances that are part of Auto Scaling groups. The
|
|
3715
3712
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
3716
|
-
# of an
|
|
3713
|
+
# of an Auto Scaling group.
|
|
3717
3714
|
# @return [String]
|
|
3718
3715
|
#
|
|
3719
3716
|
# @!attribute [rw] scope
|
|
@@ -5602,7 +5599,7 @@ module Aws::ComputeOptimizer
|
|
|
5602
5599
|
# *Compute Optimizer User Guide*.
|
|
5603
5600
|
#
|
|
5604
5601
|
# <note markdown="1"> * This preference is only available for the Amazon EC2 instance and
|
|
5605
|
-
#
|
|
5602
|
+
# Auto Scaling group resource types.
|
|
5606
5603
|
#
|
|
5607
5604
|
# * Compute Optimizer only supports the customization of
|
|
5608
5605
|
# `Ec2InstanceTypes`.
|
|
@@ -5741,9 +5738,9 @@ module Aws::ComputeOptimizer
|
|
|
5741
5738
|
# The target resource type of the recommendation preference to create.
|
|
5742
5739
|
#
|
|
5743
5740
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
5744
|
-
# instances that are part of
|
|
5741
|
+
# instances that are part of Auto Scaling groups. The
|
|
5745
5742
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
5746
|
-
# of an
|
|
5743
|
+
# of an Auto Scaling group.
|
|
5747
5744
|
# @return [String]
|
|
5748
5745
|
#
|
|
5749
5746
|
# @!attribute [rw] scope
|
|
@@ -5755,17 +5752,16 @@ module Aws::ComputeOptimizer
|
|
|
5755
5752
|
# and resource level. For more information, see [Activating enhanced
|
|
5756
5753
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
5757
5754
|
#
|
|
5758
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
5759
|
-
#
|
|
5760
|
-
#
|
|
5761
|
-
#
|
|
5762
|
-
#
|
|
5763
|
-
#
|
|
5764
|
-
#
|
|
5765
|
-
#
|
|
5766
|
-
#
|
|
5767
|
-
#
|
|
5768
|
-
# resource level only for standalone instances.
|
|
5755
|
+
# <note markdown="1"> You cannot create recommendation preferences for Auto Scaling groups
|
|
5756
|
+
# at the organization and account levels. You can create
|
|
5757
|
+
# recommendation preferences for Auto Scaling groups only at the
|
|
5758
|
+
# resource level by specifying a scope name of `ResourceArn` and a
|
|
5759
|
+
# scope value of the Auto Scaling group Amazon Resource Name (ARN).
|
|
5760
|
+
# This will configure the preference for all instances that are part
|
|
5761
|
+
# of the specified Auto Scaling group. You also cannot create
|
|
5762
|
+
# recommendation preferences at the resource level for instances that
|
|
5763
|
+
# are part of an Auto Scaling group. You can create recommendation
|
|
5764
|
+
# preferences at the resource level only for standalone instances.
|
|
5769
5765
|
#
|
|
5770
5766
|
# </note>
|
|
5771
5767
|
#
|
|
@@ -5833,13 +5829,13 @@ module Aws::ComputeOptimizer
|
|
|
5833
5829
|
# preference isn't specified, we use the default value `DAYS_14`.
|
|
5834
5830
|
#
|
|
5835
5831
|
# You can only set this preference for the Amazon EC2 instance and
|
|
5836
|
-
#
|
|
5832
|
+
# Auto Scaling group resource types.
|
|
5837
5833
|
#
|
|
5838
5834
|
# <note markdown="1"> * Amazon EC2 instance lookback preferences can be set at the
|
|
5839
5835
|
# organization, account, and resource levels.
|
|
5840
5836
|
#
|
|
5841
|
-
# *
|
|
5842
|
-
#
|
|
5837
|
+
# * Auto Scaling group lookback preferences can only be set at the
|
|
5838
|
+
# resource level.
|
|
5843
5839
|
#
|
|
5844
5840
|
# </note>
|
|
5845
5841
|
# @return [String]
|
|
@@ -5877,7 +5873,7 @@ module Aws::ComputeOptimizer
|
|
|
5877
5873
|
# is an empty set of resource type values, an error occurs.
|
|
5878
5874
|
#
|
|
5879
5875
|
# <note markdown="1"> You can only set this preference for the Amazon EC2 instance and
|
|
5880
|
-
#
|
|
5876
|
+
# Auto Scaling group resource types.
|
|
5881
5877
|
#
|
|
5882
5878
|
# </note>
|
|
5883
5879
|
# @return [Array<Types::PreferredResource>]
|
|
@@ -6580,7 +6576,7 @@ module Aws::ComputeOptimizer
|
|
|
6580
6576
|
#
|
|
6581
6577
|
# @!attribute [rw] cpu_vendor_architectures
|
|
6582
6578
|
# Specifies the CPU vendor and architecture for Amazon EC2 instance
|
|
6583
|
-
# and
|
|
6579
|
+
# and Auto Scaling group recommendations.
|
|
6584
6580
|
#
|
|
6585
6581
|
# For example, when you specify `AWS_ARM64` with:
|
|
6586
6582
|
#
|
|
@@ -6626,9 +6622,9 @@ module Aws::ComputeOptimizer
|
|
|
6626
6622
|
# The target resource type of the recommendation preference to create.
|
|
6627
6623
|
#
|
|
6628
6624
|
# The `Ec2Instance` option encompasses standalone instances and
|
|
6629
|
-
# instances that are part of
|
|
6625
|
+
# instances that are part of Auto Scaling groups. The
|
|
6630
6626
|
# `AutoScalingGroup` option encompasses only instances that are part
|
|
6631
|
-
# of an
|
|
6627
|
+
# of an Auto Scaling group.
|
|
6632
6628
|
# @return [String]
|
|
6633
6629
|
#
|
|
6634
6630
|
# @!attribute [rw] enhanced_infrastructure_metrics
|
|
@@ -6717,7 +6713,7 @@ module Aws::ComputeOptimizer
|
|
|
6717
6713
|
end
|
|
6718
6714
|
|
|
6719
6715
|
# Describes the source of a recommendation, such as an Amazon EC2
|
|
6720
|
-
# instance or
|
|
6716
|
+
# instance or Auto Scaling group.
|
|
6721
6717
|
#
|
|
6722
6718
|
# @!attribute [rw] recommendation_source_arn
|
|
6723
6719
|
# The Amazon Resource Name (ARN) of the recommendation source.
|
|
@@ -7017,17 +7013,16 @@ module Aws::ComputeOptimizer
|
|
|
7017
7013
|
# resource level. For more information, see [Activating enhanced
|
|
7018
7014
|
# infrastructure metrics][1] in the *Compute Optimizer User Guide*.
|
|
7019
7015
|
#
|
|
7020
|
-
# <note markdown="1"> You cannot create recommendation preferences for
|
|
7021
|
-
#
|
|
7022
|
-
#
|
|
7023
|
-
#
|
|
7024
|
-
#
|
|
7025
|
-
#
|
|
7026
|
-
#
|
|
7027
|
-
#
|
|
7028
|
-
#
|
|
7029
|
-
#
|
|
7030
|
-
# instances.
|
|
7016
|
+
# <note markdown="1"> You cannot create recommendation preferences for Auto Scaling groups
|
|
7017
|
+
# at the organization and account levels. You can create recommendation
|
|
7018
|
+
# preferences for Auto Scaling groups only at the resource level by
|
|
7019
|
+
# specifying a scope name of `ResourceArn` and a scope value of the Auto
|
|
7020
|
+
# Scaling group Amazon Resource Name (ARN). This will configure the
|
|
7021
|
+
# preference for all instances that are part of the specified Auto
|
|
7022
|
+
# Scaling group. You also cannot create recommendation preferences at
|
|
7023
|
+
# the resource level for instances that are part of an Auto Scaling
|
|
7024
|
+
# group. You can create recommendation preferences at the resource level
|
|
7025
|
+
# only for standalone instances.
|
|
7031
7026
|
#
|
|
7032
7027
|
# </note>
|
|
7033
7028
|
#
|
|
@@ -7063,10 +7058,10 @@ module Aws::ComputeOptimizer
|
|
|
7063
7058
|
# account ID.
|
|
7064
7059
|
#
|
|
7065
7060
|
# * `ResourceArn` - The `value` must be the Amazon Resource Name (ARN)
|
|
7066
|
-
# of an EC2 instance or an
|
|
7061
|
+
# of an EC2 instance or an Auto Scaling group.
|
|
7067
7062
|
#
|
|
7068
|
-
# Only EC2 instance and
|
|
7069
|
-
#
|
|
7063
|
+
# Only EC2 instance and Auto Scaling group ARNs are currently
|
|
7064
|
+
# supported.
|
|
7070
7065
|
# @return [String]
|
|
7071
7066
|
#
|
|
7072
7067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/Scope AWS API Documentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-computeoptimizer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.92.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.244.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.244.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|