Struct aws_sdk_elasticinference::operation::describe_accelerator_offerings::builders::DescribeAcceleratorOfferingsFluentBuilder
source · pub struct DescribeAcceleratorOfferingsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeAcceleratorOfferings
.
Describes the locations in which a given accelerator type or set of types is present in a given region.
February 15, 2023: Starting April 15, 2023, AWS will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
Implementations§
source§impl DescribeAcceleratorOfferingsFluentBuilder
impl DescribeAcceleratorOfferingsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeAcceleratorOfferingsInputBuilder
pub fn as_input(&self) -> &DescribeAcceleratorOfferingsInputBuilder
Access the DescribeAcceleratorOfferings as a reference.
sourcepub async fn send(
self
) -> Result<DescribeAcceleratorOfferingsOutput, SdkError<DescribeAcceleratorOfferingsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeAcceleratorOfferingsOutput, SdkError<DescribeAcceleratorOfferingsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeAcceleratorOfferingsOutput, DescribeAcceleratorOfferingsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeAcceleratorOfferingsOutput, DescribeAcceleratorOfferingsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn location_type(self, input: LocationType) -> Self
pub fn location_type(self, input: LocationType) -> Self
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
sourcepub fn set_location_type(self, input: Option<LocationType>) -> Self
pub fn set_location_type(self, input: Option<LocationType>) -> Self
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
sourcepub fn get_location_type(&self) -> &Option<LocationType>
pub fn get_location_type(&self) -> &Option<LocationType>
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
sourcepub fn accelerator_types(self, input: impl Into<String>) -> Self
pub fn accelerator_types(self, input: impl Into<String>) -> Self
Appends an item to acceleratorTypes
.
To override the contents of this collection use set_accelerator_types
.
The list of accelerator types to describe.
sourcepub fn set_accelerator_types(self, input: Option<Vec<String>>) -> Self
pub fn set_accelerator_types(self, input: Option<Vec<String>>) -> Self
The list of accelerator types to describe.
sourcepub fn get_accelerator_types(&self) -> &Option<Vec<String>>
pub fn get_accelerator_types(&self) -> &Option<Vec<String>>
The list of accelerator types to describe.
Trait Implementations§
source§impl Clone for DescribeAcceleratorOfferingsFluentBuilder
impl Clone for DescribeAcceleratorOfferingsFluentBuilder
source§fn clone(&self) -> DescribeAcceleratorOfferingsFluentBuilder
fn clone(&self) -> DescribeAcceleratorOfferingsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeAcceleratorOfferingsFluentBuilder
impl !RefUnwindSafe for DescribeAcceleratorOfferingsFluentBuilder
impl Send for DescribeAcceleratorOfferingsFluentBuilder
impl Sync for DescribeAcceleratorOfferingsFluentBuilder
impl Unpin for DescribeAcceleratorOfferingsFluentBuilder
impl !UnwindSafe for DescribeAcceleratorOfferingsFluentBuilder
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