Struct aws_sdk_computeoptimizer::operation::get_auto_scaling_group_recommendations::GetAutoScalingGroupRecommendationsOutput
source · #[non_exhaustive]pub struct GetAutoScalingGroupRecommendationsOutput {
pub next_token: Option<String>,
pub auto_scaling_group_recommendations: Option<Vec<AutoScalingGroupRecommendation>>,
pub errors: Option<Vec<GetRecommendationError>>,
/* private fields */
}
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.next_token: Option<String>
The token to use to advance to the next page of Auto Scaling group recommendations.
This value is null when there are no more pages of Auto Scaling group recommendations to return.
auto_scaling_group_recommendations: Option<Vec<AutoScalingGroupRecommendation>>
An array of objects that describe Auto Scaling group recommendations.
errors: Option<Vec<GetRecommendationError>>
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.
Implementations§
source§impl GetAutoScalingGroupRecommendationsOutput
impl GetAutoScalingGroupRecommendationsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to use to advance to the next page of Auto Scaling group recommendations.
This value is null when there are no more pages of Auto Scaling group recommendations to return.
sourcepub fn auto_scaling_group_recommendations(
&self
) -> &[AutoScalingGroupRecommendation]
pub fn auto_scaling_group_recommendations( &self ) -> &[AutoScalingGroupRecommendation]
An array of objects that describe Auto Scaling group recommendations.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .auto_scaling_group_recommendations.is_none()
.
sourcepub fn errors(&self) -> &[GetRecommendationError]
pub fn errors(&self) -> &[GetRecommendationError]
An array of objects that describe errors of the request.
For example, an error is returned if you request recommendations for an unsupported Auto Scaling group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none()
.
source§impl GetAutoScalingGroupRecommendationsOutput
impl GetAutoScalingGroupRecommendationsOutput
sourcepub fn builder() -> GetAutoScalingGroupRecommendationsOutputBuilder
pub fn builder() -> GetAutoScalingGroupRecommendationsOutputBuilder
Creates a new builder-style object to manufacture GetAutoScalingGroupRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetAutoScalingGroupRecommendationsOutput
impl Clone for GetAutoScalingGroupRecommendationsOutput
source§fn clone(&self) -> GetAutoScalingGroupRecommendationsOutput
fn clone(&self) -> GetAutoScalingGroupRecommendationsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for GetAutoScalingGroupRecommendationsOutput
impl PartialEq for GetAutoScalingGroupRecommendationsOutput
source§fn eq(&self, other: &GetAutoScalingGroupRecommendationsOutput) -> bool
fn eq(&self, other: &GetAutoScalingGroupRecommendationsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetAutoScalingGroupRecommendationsOutput
impl RequestId for GetAutoScalingGroupRecommendationsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetAutoScalingGroupRecommendationsOutput
Auto Trait Implementations§
impl Freeze for GetAutoScalingGroupRecommendationsOutput
impl RefUnwindSafe for GetAutoScalingGroupRecommendationsOutput
impl Send for GetAutoScalingGroupRecommendationsOutput
impl Sync for GetAutoScalingGroupRecommendationsOutput
impl Unpin for GetAutoScalingGroupRecommendationsOutput
impl UnwindSafe for GetAutoScalingGroupRecommendationsOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more