Struct aws_sdk_computeoptimizer::input::GetRecommendationPreferencesInput [−][src]
#[non_exhaustive]pub struct GetRecommendationPreferencesInput {
pub resource_type: Option<ResourceType>,
pub scope: Option<Scope>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.resource_type: Option<ResourceType>
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
scope: Option<Scope>
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
next_token: Option<String>
The token to advance to the next page of recommendation preferences.
max_results: Option<i32>
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRecommendationPreferences, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRecommendationPreferences, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetRecommendationPreferences
>
Creates a new builder-style object to manufacture GetRecommendationPreferencesInput
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
The token to advance to the next page of recommendation preferences.
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
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 GetRecommendationPreferencesInput
impl Sync for GetRecommendationPreferencesInput
impl Unpin for GetRecommendationPreferencesInput
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