Struct aws_sdk_ec2::client::fluent_builders::DescribeElasticGpus [−][src]
pub struct DescribeElasticGpus<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeElasticGpus
.
Describes the Elastic Graphics accelerator associated with your instances. For more information about Elastic Graphics, see Amazon Elastic Graphics.
Implementations
impl<C, M, R> DescribeElasticGpus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeElasticGpus<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeElasticGpusOutput, SdkError<DescribeElasticGpusError>> where
R::Policy: SmithyRetryPolicy<DescribeElasticGpusInputOperationOutputAlias, DescribeElasticGpusOutput, DescribeElasticGpusError, DescribeElasticGpusInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeElasticGpusOutput, SdkError<DescribeElasticGpusError>> where
R::Policy: SmithyRetryPolicy<DescribeElasticGpusInputOperationOutputAlias, DescribeElasticGpusOutput, DescribeElasticGpusError, DescribeElasticGpusInputOperationRetryAlias>,
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.
Appends an item to ElasticGpuIds
.
To override the contents of this collection use set_elastic_gpu_ids
.
The Elastic Graphics accelerator IDs.
The Elastic Graphics accelerator IDs.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters.
-
availability-zone
- The Availability Zone in which the Elastic Graphics accelerator resides. -
elastic-gpu-health
- The status of the Elastic Graphics accelerator (OK
|IMPAIRED
). -
elastic-gpu-state
- The state of the Elastic Graphics accelerator (ATTACHED
). -
elastic-gpu-type
- The type of Elastic Graphics accelerator; for example,eg1.medium
. -
instance-id
- The ID of the instance to which the Elastic Graphics accelerator is associated.
The filters.
-
availability-zone
- The Availability Zone in which the Elastic Graphics accelerator resides. -
elastic-gpu-health
- The status of the Elastic Graphics accelerator (OK
|IMPAIRED
). -
elastic-gpu-state
- The state of the Elastic Graphics accelerator (ATTACHED
). -
elastic-gpu-type
- The type of Elastic Graphics accelerator; for example,eg1.medium
. -
instance-id
- The ID of the instance to which the Elastic Graphics accelerator is associated.
The maximum number of results to return in a single call. To retrieve the remaining
results, make another call with the returned NextToken
value. This value
can be between 5 and 1000.
The maximum number of results to return in a single call. To retrieve the remaining
results, make another call with the returned NextToken
value. This value
can be between 5 and 1000.
The token to request the next page of results.
The token to request the next page of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeElasticGpus<C, M, R>
impl<C, M, R> Send for DescribeElasticGpus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeElasticGpus<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeElasticGpus<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeElasticGpus<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