Struct aws_sdk_iot::operation::start_thing_registration_task::StartThingRegistrationTaskInput
source · #[non_exhaustive]pub struct StartThingRegistrationTaskInput {
pub template_body: Option<String>,
pub input_file_bucket: Option<String>,
pub input_file_key: Option<String>,
pub role_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.template_body: Option<String>
The provisioning template.
input_file_bucket: Option<String>
The S3 bucket that contains the input file.
input_file_key: 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).
role_arn: Option<String>
The IAM role ARN that grants permission the input file.
Implementations§
source§impl StartThingRegistrationTaskInput
impl StartThingRegistrationTaskInput
sourcepub fn template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
The provisioning template.
sourcepub fn input_file_bucket(&self) -> Option<&str>
pub fn input_file_bucket(&self) -> Option<&str>
The S3 bucket that contains the input file.
sourcepub fn input_file_key(&self) -> Option<&str>
pub fn input_file_key(&self) -> Option<&str>
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).
source§impl StartThingRegistrationTaskInput
impl StartThingRegistrationTaskInput
sourcepub fn builder() -> StartThingRegistrationTaskInputBuilder
pub fn builder() -> StartThingRegistrationTaskInputBuilder
Creates a new builder-style object to manufacture StartThingRegistrationTaskInput
.
Trait Implementations§
source§impl Clone for StartThingRegistrationTaskInput
impl Clone for StartThingRegistrationTaskInput
source§fn clone(&self) -> StartThingRegistrationTaskInput
fn clone(&self) -> StartThingRegistrationTaskInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for StartThingRegistrationTaskInput
impl PartialEq for StartThingRegistrationTaskInput
source§fn eq(&self, other: &StartThingRegistrationTaskInput) -> bool
fn eq(&self, other: &StartThingRegistrationTaskInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartThingRegistrationTaskInput
Auto Trait Implementations§
impl Freeze for StartThingRegistrationTaskInput
impl RefUnwindSafe for StartThingRegistrationTaskInput
impl Send for StartThingRegistrationTaskInput
impl Sync for StartThingRegistrationTaskInput
impl Unpin for StartThingRegistrationTaskInput
impl UnwindSafe for StartThingRegistrationTaskInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.