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 ==
.