Struct aws_sdk_iot1clickprojects::client::fluent_builders::AssociateDeviceWithPlacement [−][src]
pub struct AssociateDeviceWithPlacement<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AssociateDeviceWithPlacement
.
Associates a physical device with a placement.
Implementations
impl<C, M, R> AssociateDeviceWithPlacement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AssociateDeviceWithPlacement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AssociateDeviceWithPlacementOutput, SdkError<AssociateDeviceWithPlacementError>> where
R::Policy: SmithyRetryPolicy<AssociateDeviceWithPlacementInputOperationOutputAlias, AssociateDeviceWithPlacementOutput, AssociateDeviceWithPlacementError, AssociateDeviceWithPlacementInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AssociateDeviceWithPlacementOutput, SdkError<AssociateDeviceWithPlacementError>> where
R::Policy: SmithyRetryPolicy<AssociateDeviceWithPlacementInputOperationOutputAlias, AssociateDeviceWithPlacementOutput, AssociateDeviceWithPlacementError, AssociateDeviceWithPlacementInputOperationRetryAlias>,
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 name of the project containing the placement in which to associate the device.
The name of the project containing the placement in which to associate the device.
The name of the placement in which to associate the device.
The name of the placement in which to associate the device.
The ID of the physical device to be associated with the given placement in the project.
Note that a mandatory 4 character prefix is required for all deviceId
values.
The ID of the physical device to be associated with the given placement in the project.
Note that a mandatory 4 character prefix is required for all deviceId
values.
The device template name to associate with the device ID.
The device template name to associate with the device ID.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for AssociateDeviceWithPlacement<C, M, R>
impl<C, M, R> Send for AssociateDeviceWithPlacement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AssociateDeviceWithPlacement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AssociateDeviceWithPlacement<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for AssociateDeviceWithPlacement<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