#[non_exhaustive]pub struct DeleteRecommendationPreferencesInput { /* private fields */ }
Implementations§
source§impl DeleteRecommendationPreferencesInput
impl DeleteRecommendationPreferencesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRecommendationPreferences, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteRecommendationPreferences, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteRecommendationPreferences
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteRecommendationPreferencesInput
.
source§impl DeleteRecommendationPreferencesInput
impl DeleteRecommendationPreferencesInput
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> 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.
The valid values for this parameter are Ec2Instance
and AutoScalingGroup
.
sourcepub fn scope(&self) -> Option<&Scope>
pub fn scope(&self) -> 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.
sourcepub fn recommendation_preference_names(
&self
) -> Option<&[RecommendationPreferenceName]>
pub fn recommendation_preference_names(
&self
) -> Option<&[RecommendationPreferenceName]>
The name of the recommendation preference to delete.
Trait Implementations§
source§impl Clone for DeleteRecommendationPreferencesInput
impl Clone for DeleteRecommendationPreferencesInput
source§fn clone(&self) -> DeleteRecommendationPreferencesInput
fn clone(&self) -> DeleteRecommendationPreferencesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DeleteRecommendationPreferencesInput> for DeleteRecommendationPreferencesInput
impl PartialEq<DeleteRecommendationPreferencesInput> for DeleteRecommendationPreferencesInput
source§fn eq(&self, other: &DeleteRecommendationPreferencesInput) -> bool
fn eq(&self, other: &DeleteRecommendationPreferencesInput) -> bool
self
and other
values to be equal, and is used
by ==
.