Struct aws_sdk_computeoptimizer::operation::get_auto_scaling_group_recommendations::GetAutoScalingGroupRecommendationsInput
source · #[non_exhaustive]pub struct GetAutoScalingGroupRecommendationsInput {
pub account_ids: Option<Vec<String>>,
pub auto_scaling_group_arns: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<Filter>>,
pub recommendation_preferences: Option<RecommendationPreferences>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_ids: Option<Vec<String>>
The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
auto_scaling_group_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
next_token: Option<String>
The token to advance to the next page of Auto Scaling group recommendations.
max_results: Option<i32>
The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
filters: Option<Vec<Filter>>
An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
recommendation_preferences: Option<RecommendationPreferences>
An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
Implementations§
source§impl GetAutoScalingGroupRecommendationsInput
impl GetAutoScalingGroupRecommendationsInput
sourcepub fn account_ids(&self) -> &[String]
pub fn account_ids(&self) -> &[String]
The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations.
Only one account ID can be specified per request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .account_ids.is_none()
.
sourcepub fn auto_scaling_group_arns(&self) -> &[String]
pub fn auto_scaling_group_arns(&self) -> &[String]
The Amazon Resource Name (ARN) of the Auto Scaling groups for which to return recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_scaling_group_arns.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to advance to the next page of Auto Scaling group recommendations.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of Auto Scaling group recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn recommendation_preferences(&self) -> Option<&RecommendationPreferences>
pub fn recommendation_preferences(&self) -> Option<&RecommendationPreferences>
An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
source§impl GetAutoScalingGroupRecommendationsInput
impl GetAutoScalingGroupRecommendationsInput
sourcepub fn builder() -> GetAutoScalingGroupRecommendationsInputBuilder
pub fn builder() -> GetAutoScalingGroupRecommendationsInputBuilder
Creates a new builder-style object to manufacture GetAutoScalingGroupRecommendationsInput
.
Trait Implementations§
source§impl Clone for GetAutoScalingGroupRecommendationsInput
impl Clone for GetAutoScalingGroupRecommendationsInput
source§fn clone(&self) -> GetAutoScalingGroupRecommendationsInput
fn clone(&self) -> GetAutoScalingGroupRecommendationsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetAutoScalingGroupRecommendationsInput
impl PartialEq for GetAutoScalingGroupRecommendationsInput
source§fn eq(&self, other: &GetAutoScalingGroupRecommendationsInput) -> bool
fn eq(&self, other: &GetAutoScalingGroupRecommendationsInput) -> bool
self
and other
values to be equal, and is used
by ==
.