Struct aws_sdk_greengrassv2::client::fluent_builders::BatchAssociateClientDeviceWithCoreDevice [−][src]
pub struct BatchAssociateClientDeviceWithCoreDevice<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to BatchAssociateClientDeviceWithCoreDevice
.
Associate a list of client devices with a core device. Use this API operation to specify which client devices can discover a core device through cloud discovery. With cloud discovery, client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information and certificates. For more information, see Configure cloud discovery in the IoT Greengrass V2 Developer Guide.
Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core device over MQTT. You can connect client devices to a core device to sync MQTT messages and data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information, see Interact with local IoT devices in the IoT Greengrass V2 Developer Guide.
Implementations
impl<C, M, R> BatchAssociateClientDeviceWithCoreDevice<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> BatchAssociateClientDeviceWithCoreDevice<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<BatchAssociateClientDeviceWithCoreDeviceOutput, SdkError<BatchAssociateClientDeviceWithCoreDeviceError>> where
R::Policy: SmithyRetryPolicy<BatchAssociateClientDeviceWithCoreDeviceInputOperationOutputAlias, BatchAssociateClientDeviceWithCoreDeviceOutput, BatchAssociateClientDeviceWithCoreDeviceError, BatchAssociateClientDeviceWithCoreDeviceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<BatchAssociateClientDeviceWithCoreDeviceOutput, SdkError<BatchAssociateClientDeviceWithCoreDeviceError>> where
R::Policy: SmithyRetryPolicy<BatchAssociateClientDeviceWithCoreDeviceInputOperationOutputAlias, BatchAssociateClientDeviceWithCoreDeviceOutput, BatchAssociateClientDeviceWithCoreDeviceError, BatchAssociateClientDeviceWithCoreDeviceInputOperationRetryAlias>,
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 entries
.
To override the contents of this collection use set_entries
.
The list of client devices to associate.
pub fn set_entries(
self,
input: Option<Vec<AssociateClientDeviceWithCoreDeviceEntry>>
) -> Self
pub fn set_entries(
self,
input: Option<Vec<AssociateClientDeviceWithCoreDeviceEntry>>
) -> Self
The list of client devices to associate.
The name of the core device. This is also the name of the IoT thing.
The name of the core device. This is also the name of the IoT thing.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for BatchAssociateClientDeviceWithCoreDevice<C, M, R>
impl<C, M, R> Send for BatchAssociateClientDeviceWithCoreDevice<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for BatchAssociateClientDeviceWithCoreDevice<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for BatchAssociateClientDeviceWithCoreDevice<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for BatchAssociateClientDeviceWithCoreDevice<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