Struct aws_sdk_iot::input::CreateProvisioningTemplateInput
source · [−]#[non_exhaustive]pub struct CreateProvisioningTemplateInput {
pub template_name: Option<String>,
pub description: Option<String>,
pub template_body: Option<String>,
pub enabled: bool,
pub provisioning_role_arn: Option<String>,
pub pre_provisioning_hook: Option<ProvisioningHook>,
pub tags: Option<Vec<Tag>>,
}
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 fleet provisioning template.
description: Option<String>
The description of the fleet provisioning template.
template_body: Option<String>
The JSON formatted contents of the fleet provisioning template.
enabled: bool
True to enable the fleet provisioning template, otherwise false.
provisioning_role_arn: Option<String>
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
pre_provisioning_hook: Option<ProvisioningHook>
Creates a pre-provisioning hook template.
Metadata which can be used to manage the fleet 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..."
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateProvisioningTemplate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateProvisioningTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateProvisioningTemplate
>
Creates a new builder-style object to manufacture CreateProvisioningTemplateInput
The name of the fleet provisioning template.
The description of the fleet provisioning template.
The JSON formatted contents of the fleet provisioning template.
The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
Creates a pre-provisioning hook template.
Metadata which can be used to manage the fleet 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..."
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateProvisioningTemplateInput
impl Sync for CreateProvisioningTemplateInput
impl Unpin for CreateProvisioningTemplateInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more