Struct aws_sdk_iot::client::fluent_builders::StartThingRegistrationTask [−][src]
pub struct StartThingRegistrationTask<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartThingRegistrationTask
.
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
Implementations
impl<C, M, R> StartThingRegistrationTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartThingRegistrationTask<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError>> where
R::Policy: SmithyRetryPolicy<StartThingRegistrationTaskInputOperationOutputAlias, StartThingRegistrationTaskOutput, StartThingRegistrationTaskError, StartThingRegistrationTaskInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError>> where
R::Policy: SmithyRetryPolicy<StartThingRegistrationTaskInputOperationOutputAlias, StartThingRegistrationTaskOutput, StartThingRegistrationTaskError, StartThingRegistrationTaskInputOperationRetryAlias>,
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 provisioning template.
The provisioning template.
The S3 bucket that contains the input file.
The S3 bucket that contains the input file.
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
The IAM role ARN that grants permission the input file.
The IAM role ARN that grants permission the input file.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartThingRegistrationTask<C, M, R>
impl<C, M, R> Send for StartThingRegistrationTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartThingRegistrationTask<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartThingRegistrationTask<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartThingRegistrationTask<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