[−][src]Struct rusoto_compute_optimizer::Filter
Describes a filter that returns a more specific list of recommendations.
This filter is used with the GetAutoScalingGroupRecommendations
and GetEC2InstanceRecommendations
actions.
Fields
name: Option<String>
The name of the filter.
Specify Finding
to return recommendations with a specific finding classification (e.g., Overprovisioned
).
Specify RecommendationSourceType
to return recommendations of a specific resource type (e.g., AutoScalingGroup
).
values: Option<Vec<String>>
The value of the filter.
The valid values for this parameter are as follows, depending on what you specify for the name
parameter and the resource type that you wish to filter results for:
-
Specify
Optimized
orNotOptimized
if you specified thename
parameter asFinding
and you want to filter results for Auto Scaling groups. -
Specify
Underprovisioned
,Overprovisioned
, orOptimized
if you specified thename
parameter asFinding
and you want to filter results for EC2 instances. -
Specify
Ec2Instance
orAutoScalingGroup
if you specified thename
parameter asRecommendationSourceType
.
Trait Implementations
impl Clone for Filter
[src]
impl Debug for Filter
[src]
impl Default for Filter
[src]
impl PartialEq<Filter> for Filter
[src]
impl Serialize for Filter
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Filter
[src]
Auto Trait Implementations
impl RefUnwindSafe for Filter
[src]
impl Send for Filter
[src]
impl Sync for Filter
[src]
impl Unpin for Filter
[src]
impl UnwindSafe for Filter
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,