Struct aws_sdk_iot::operation::update_provisioning_template::UpdateProvisioningTemplateInput
source · #[non_exhaustive]pub struct UpdateProvisioningTemplateInput {
pub template_name: Option<String>,
pub description: Option<String>,
pub enabled: Option<bool>,
pub default_version_id: Option<i32>,
pub provisioning_role_arn: Option<String>,
pub pre_provisioning_hook: Option<ProvisioningHook>,
pub remove_pre_provisioning_hook: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.template_name: Option<String>
The name of the provisioning template.
description: Option<String>
The description of the provisioning template.
enabled: Option<bool>
True to enable the provisioning template, otherwise false.
default_version_id: Option<i32>
The ID of the default provisioning template version.
provisioning_role_arn: Option<String>
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
pre_provisioning_hook: Option<ProvisioningHook>
Updates the pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For more information about provisioning template types, see type.
remove_pre_provisioning_hook: Option<bool>
Removes pre-provisioning hook template.
Implementations§
source§impl UpdateProvisioningTemplateInput
impl UpdateProvisioningTemplateInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the provisioning template.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the provisioning template.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
True to enable the provisioning template, otherwise false.
sourcepub fn default_version_id(&self) -> Option<i32>
pub fn default_version_id(&self) -> Option<i32>
The ID of the default provisioning template version.
sourcepub fn provisioning_role_arn(&self) -> Option<&str>
pub fn provisioning_role_arn(&self) -> Option<&str>
The ARN of the role associated with the provisioning template. This IoT role grants permission to provision a device.
sourcepub fn pre_provisioning_hook(&self) -> Option<&ProvisioningHook>
pub fn pre_provisioning_hook(&self) -> Option<&ProvisioningHook>
Updates the pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For more information about provisioning template types, see type.
sourcepub fn remove_pre_provisioning_hook(&self) -> Option<bool>
pub fn remove_pre_provisioning_hook(&self) -> Option<bool>
Removes pre-provisioning hook template.
source§impl UpdateProvisioningTemplateInput
impl UpdateProvisioningTemplateInput
sourcepub fn builder() -> UpdateProvisioningTemplateInputBuilder
pub fn builder() -> UpdateProvisioningTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateProvisioningTemplateInput
.
Trait Implementations§
source§impl Clone for UpdateProvisioningTemplateInput
impl Clone for UpdateProvisioningTemplateInput
source§fn clone(&self) -> UpdateProvisioningTemplateInput
fn clone(&self) -> UpdateProvisioningTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateProvisioningTemplateInput
impl PartialEq for UpdateProvisioningTemplateInput
source§fn eq(&self, other: &UpdateProvisioningTemplateInput) -> bool
fn eq(&self, other: &UpdateProvisioningTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateProvisioningTemplateInput
Auto Trait Implementations§
impl Freeze for UpdateProvisioningTemplateInput
impl RefUnwindSafe for UpdateProvisioningTemplateInput
impl Send for UpdateProvisioningTemplateInput
impl Sync for UpdateProvisioningTemplateInput
impl Unpin for UpdateProvisioningTemplateInput
impl UnwindSafe for UpdateProvisioningTemplateInput
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
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>
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>
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 more