Struct aws_sdk_elasticinference::client::fluent_builders::DescribeAcceleratorOfferings [−][src]
pub struct DescribeAcceleratorOfferings<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
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.
Implementations
impl<C, M, R> DescribeAcceleratorOfferings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeAcceleratorOfferings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeAcceleratorOfferingsOutput, SdkError<DescribeAcceleratorOfferingsError>> where
R::Policy: SmithyRetryPolicy<DescribeAcceleratorOfferingsInputOperationOutputAlias, DescribeAcceleratorOfferingsOutput, DescribeAcceleratorOfferingsError, DescribeAcceleratorOfferingsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeAcceleratorOfferingsOutput, SdkError<DescribeAcceleratorOfferingsError>> where
R::Policy: SmithyRetryPolicy<DescribeAcceleratorOfferingsInputOperationOutputAlias, DescribeAcceleratorOfferingsOutput, DescribeAcceleratorOfferingsError, DescribeAcceleratorOfferingsInputOperationRetryAlias>,
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.
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.
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.
Appends an item to acceleratorTypes
.
To override the contents of this collection use set_accelerator_types
.
The list of accelerator types to describe.
The list of accelerator types to describe.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeAcceleratorOfferings<C, M, R>
impl<C, M, R> Send for DescribeAcceleratorOfferings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeAcceleratorOfferings<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeAcceleratorOfferings<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeAcceleratorOfferings<C, M, R>
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