Struct aws_sdk_iot::operation::start_thing_registration_task::builders::StartThingRegistrationTaskFluentBuilder
source · pub struct StartThingRegistrationTaskFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartThingRegistrationTask
.
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
Implementations§
source§impl StartThingRegistrationTaskFluentBuilder
impl StartThingRegistrationTaskFluentBuilder
sourcepub fn as_input(&self) -> &StartThingRegistrationTaskInputBuilder
pub fn as_input(&self) -> &StartThingRegistrationTaskInputBuilder
Access the StartThingRegistrationTask as a reference.
sourcepub async fn send(
self
) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError, HttpResponse>>
pub async fn send( self ) -> Result<StartThingRegistrationTaskOutput, SdkError<StartThingRegistrationTaskError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<StartThingRegistrationTaskOutput, StartThingRegistrationTaskError, Self>
pub fn customize( self ) -> CustomizableOperation<StartThingRegistrationTaskOutput, StartThingRegistrationTaskError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The provisioning template.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The provisioning template.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The provisioning template.
sourcepub fn input_file_bucket(self, input: impl Into<String>) -> Self
pub fn input_file_bucket(self, input: impl Into<String>) -> Self
The S3 bucket that contains the input file.
sourcepub fn set_input_file_bucket(self, input: Option<String>) -> Self
pub fn set_input_file_bucket(self, input: Option<String>) -> Self
The S3 bucket that contains the input file.
sourcepub fn get_input_file_bucket(&self) -> &Option<String>
pub fn get_input_file_bucket(&self) -> &Option<String>
The S3 bucket that contains the input file.
sourcepub fn input_file_key(self, input: impl Into<String>) -> Self
pub fn input_file_key(self, input: impl Into<String>) -> Self
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).
sourcepub fn set_input_file_key(self, input: Option<String>) -> Self
pub fn set_input_file_key(self, input: Option<String>) -> Self
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).
sourcepub fn get_input_file_key(&self) -> &Option<String>
pub fn get_input_file_key(&self) -> &Option<String>
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).
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The IAM role ARN that grants permission the input file.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The IAM role ARN that grants permission the input file.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The IAM role ARN that grants permission the input file.
Trait Implementations§
source§impl Clone for StartThingRegistrationTaskFluentBuilder
impl Clone for StartThingRegistrationTaskFluentBuilder
source§fn clone(&self) -> StartThingRegistrationTaskFluentBuilder
fn clone(&self) -> StartThingRegistrationTaskFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more