Struct aws_sdk_iot::client::fluent_builders::ListThings [−][src]
pub struct ListThings<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListThings
.
Lists your things. Use the attributeName and
attributeValue parameters to filter your things.
For example, calling ListThings
with attributeName=Color and
attributeValue=Red retrieves all things in the registry that contain an attribute
Color with the value Red.
Requires permission to access the ListThings action.
You will not be charged for calling this API if an Access denied
error is returned. You will also not be charged if no attributes or pagination token was provided in request and no pagination token and no results were returned.
Implementations
impl<C, M, R> ListThings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListThings<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<ListThingsOutput, SdkError<ListThingsError>> where
R::Policy: SmithyRetryPolicy<ListThingsInputOperationOutputAlias, ListThingsOutput, ListThingsError, ListThingsInputOperationRetryAlias>,
pub async fn send(self) -> Result<ListThingsOutput, SdkError<ListThingsError>> where
R::Policy: SmithyRetryPolicy<ListThingsInputOperationOutputAlias, ListThingsOutput, ListThingsError, ListThingsInputOperationRetryAlias>,
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.
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive
the first set of results.
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive
the first set of results.
The maximum number of results to return in this operation.
The maximum number of results to return in this operation.
The attribute name used to search for things.
The attribute name used to search for things.
The attribute value used to search for things.
The attribute value used to search for things.
The name of the thing type used to search for things.
The name of the thing type used to search for things.
When true
, the action returns the thing resources with attribute values
that start with the attributeValue
provided.
When false
, or not present, the action returns only the thing
resources with attribute values that match the entire attributeValue
provided.
When true
, the action returns the thing resources with attribute values
that start with the attributeValue
provided.
When false
, or not present, the action returns only the thing
resources with attribute values that match the entire attributeValue
provided.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for ListThings<C, M, R>
impl<C, M, R> Unpin for ListThings<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for ListThings<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