Struct aws_sdk_computeoptimizer::input::GetEc2InstanceRecommendationsInput [−][src]
#[non_exhaustive]pub struct GetEc2InstanceRecommendationsInput {
pub instance_arns: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<Filter>>,
pub account_ids: Option<Vec<String>>,
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.instance_arns: Option<Vec<String>>
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
next_token: Option<String>
The token to advance to the next page of instance recommendations.
max_results: Option<i32>
The maximum number of instance 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 instance recommendations.
account_ids: Option<Vec<String>>
The ID of the Amazon Web Services account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
recommendation_preferences: Option<RecommendationPreferences>
An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2InstanceRecommendations, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetEC2InstanceRecommendations, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetEC2InstanceRecommendations
>
Creates a new builder-style object to manufacture GetEc2InstanceRecommendationsInput
The Amazon Resource Name (ARN) of the instances for which to return recommendations.
The token to advance to the next page of instance recommendations.
The maximum number of instance recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned
nextToken
value.
An array of objects to specify a filter that returns a more specific list of instance recommendations.
The ID of the Amazon Web Services account for which to return instance 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 instance recommendations.
Only one account ID can be specified per request.
An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GetEc2InstanceRecommendationsInput
impl Sync for GetEc2InstanceRecommendationsInput
impl Unpin for GetEc2InstanceRecommendationsInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more