Struct aws_sdk_ssm::client::fluent_builders::GetInventory
source · [−]pub struct GetInventory<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetInventory
.
Query inventory information. This includes managed node status, such as Stopped
or Terminated
.
Implementations
impl<C, M, R> GetInventory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetInventory<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetInventoryOutput, SdkError<GetInventoryError>> where
R::Policy: SmithyRetryPolicy<GetInventoryInputOperationOutputAlias, GetInventoryOutput, GetInventoryError, GetInventoryInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetInventoryOutput, SdkError<GetInventoryError>> where
R::Policy: SmithyRetryPolicy<GetInventoryInputOperationOutputAlias, GetInventoryOutput, GetInventoryError, GetInventoryInputOperationRetryAlias>,
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.
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
One or more filters. Use a filter to return a more specific list of results.
One or more filters. Use a filter to return a more specific list of results.
Appends an item to Aggregators
.
To override the contents of this collection use set_aggregators
.
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType
type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType
type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
Appends an item to ResultAttributes
.
To override the contents of this collection use set_result_attributes
.
The list of inventory item types to return.
The list of inventory item types to return.
The token for the next set of items to return. (You received this token from a previous call.)
The token for the next set of items to return. (You received this token from a previous call.)
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetInventory<C, M, R>
impl<C, M, R> Unpin for GetInventory<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetInventory<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