Struct aws_sdk_computeoptimizer::input::DeleteRecommendationPreferencesInput [−][src]
#[non_exhaustive]pub struct DeleteRecommendationPreferencesInput {
pub resource_type: Option<ResourceType>,
pub scope: Option<Scope>,
pub recommendation_preference_names: Option<Vec<RecommendationPreferenceName>>,
}
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 to delete.
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 delete.
You can delete 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.
recommendation_preference_names: Option<Vec<RecommendationPreferenceName>>
The name of the recommendation preference to delete.
Enhanced infrastructure metrics (EnhancedInfrastructureMetrics
) is the only feature that can be activated through preferences. Therefore, it is also the only recommendation preference that can be deleted.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRecommendationPreferences, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRecommendationPreferences, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteRecommendationPreferences
>
Creates a new builder-style object to manufacture DeleteRecommendationPreferencesInput
The target resource type of the recommendation preference to delete.
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 delete.
You can delete 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 name of the recommendation preference to delete.
Enhanced infrastructure metrics (EnhancedInfrastructureMetrics
) is the only feature that can be activated through preferences. Therefore, it is also the only recommendation preference that can be deleted.
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 DeleteRecommendationPreferencesInput
impl Sync for DeleteRecommendationPreferencesInput
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