pub struct CreateProvisioningTemplateVersion { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProvisioningTemplateVersion
.
Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
Implementations§
source§impl CreateProvisioningTemplateVersion
impl CreateProvisioningTemplateVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateProvisioningTemplateVersion, AwsResponseRetryClassifier>, SdkError<CreateProvisioningTemplateVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateProvisioningTemplateVersion, AwsResponseRetryClassifier>, SdkError<CreateProvisioningTemplateVersionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateProvisioningTemplateVersionOutput, SdkError<CreateProvisioningTemplateVersionError>>
pub async fn send(
self
) -> Result<CreateProvisioningTemplateVersionOutput, SdkError<CreateProvisioningTemplateVersionError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the provisioning template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the provisioning template.
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The JSON formatted contents of the provisioning template.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The JSON formatted contents of the provisioning template.
sourcepub fn set_as_default(self, input: bool) -> Self
pub fn set_as_default(self, input: bool) -> Self
Sets a fleet provision template version as the default version.
sourcepub fn set_set_as_default(self, input: Option<bool>) -> Self
pub fn set_set_as_default(self, input: Option<bool>) -> Self
Sets a fleet provision template version as the default version.
Trait Implementations§
source§impl Clone for CreateProvisioningTemplateVersion
impl Clone for CreateProvisioningTemplateVersion
source§fn clone(&self) -> CreateProvisioningTemplateVersion
fn clone(&self) -> CreateProvisioningTemplateVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more