Struct aws_sdk_iot::operation::create_provisioning_template::CreateProvisioningTemplateInput
source · #[non_exhaustive]pub struct CreateProvisioningTemplateInput {
pub template_name: Option<String>,
pub description: Option<String>,
pub template_body: Option<String>,
pub enabled: Option<bool>,
pub provisioning_role_arn: Option<String>,
pub pre_provisioning_hook: Option<ProvisioningHook>,
pub tags: Option<Vec<Tag>>,
pub type: Option<TemplateType>,
}
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.
template_body: Option<String>
The JSON formatted contents of the provisioning template.
enabled: Option<bool>
True to enable the provisioning template, otherwise false.
provisioning_role_arn: Option<String>
The role ARN for the role associated with the provisioning template. This IoT role grants permission to provision a device.
pre_provisioning_hook: Option<ProvisioningHook>
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For more information about provisioning template types, see type.
Metadata which can be used to manage the provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
type: Option<TemplateType>
The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.
Implementations§
source§impl CreateProvisioningTemplateInput
impl CreateProvisioningTemplateInput
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 template_body(&self) -> Option<&str>
pub fn template_body(&self) -> Option<&str>
The JSON formatted contents 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 provisioning_role_arn(&self) -> Option<&str>
pub fn provisioning_role_arn(&self) -> Option<&str>
The role ARN for 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>
Creates a pre-provisioning hook template. Only supports template of type FLEET_PROVISIONING
. For more information about provisioning template types, see type.
Metadata which can be used to manage the provisioning template.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn type(&self) -> Option<&TemplateType>
pub fn type(&self) -> Option<&TemplateType>
The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING
. For more information about provisioning template, see: Provisioning template.
source§impl CreateProvisioningTemplateInput
impl CreateProvisioningTemplateInput
sourcepub fn builder() -> CreateProvisioningTemplateInputBuilder
pub fn builder() -> CreateProvisioningTemplateInputBuilder
Creates a new builder-style object to manufacture CreateProvisioningTemplateInput
.
Trait Implementations§
source§impl Clone for CreateProvisioningTemplateInput
impl Clone for CreateProvisioningTemplateInput
source§fn clone(&self) -> CreateProvisioningTemplateInput
fn clone(&self) -> CreateProvisioningTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateProvisioningTemplateInput
impl PartialEq for CreateProvisioningTemplateInput
source§fn eq(&self, other: &CreateProvisioningTemplateInput) -> bool
fn eq(&self, other: &CreateProvisioningTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.