Struct aws_sdk_iotthingsgraph::client::fluent_builders::GetEntities
source · [−]pub struct GetEntities<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetEntities
.
Gets definitions of the specified entities. Uses the latest version of the user's namespace by default. This API returns the following TDM entities.
-
Properties
-
States
-
Events
-
Actions
-
Capabilities
-
Mappings
-
Devices
-
Device Models
-
Services
This action doesn't return definitions for systems, flows, and deployments.
Implementations
impl<C, M, R> GetEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetEntities<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetEntitiesOutput, SdkError<GetEntitiesError>> where
R::Policy: SmithyRetryPolicy<GetEntitiesInputOperationOutputAlias, GetEntitiesOutput, GetEntitiesError, GetEntitiesInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetEntitiesOutput, SdkError<GetEntitiesError>> where
R::Policy: SmithyRetryPolicy<GetEntitiesInputOperationOutputAlias, GetEntitiesOutput, GetEntitiesError, GetEntitiesInputOperationRetryAlias>,
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 ids
.
To override the contents of this collection use set_ids
.
An array of entity IDs.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
An array of entity IDs.
The IDs should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
The version of the user's namespace. Defaults to the latest version of the user's namespace.
The version of the user's namespace. Defaults to the latest version of the user's namespace.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetEntities<C, M, R>
impl<C, M, R> Unpin for GetEntities<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetEntities<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