#[non_exhaustive]pub struct CreateProvisioningTemplateInput { /* private fields */ }
Implementations§
source§impl CreateProvisioningTemplateInput
impl CreateProvisioningTemplateInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateProvisioningTemplate, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateProvisioningTemplate, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateProvisioningTemplate
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateProvisioningTemplateInput
.
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 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..."
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.
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<CreateProvisioningTemplateInput> for CreateProvisioningTemplateInput
impl PartialEq<CreateProvisioningTemplateInput> 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 ==
.