aws-sdk-pcaconnectorad 0.2.0

AWS SDK for PcaConnectorAd
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTemplate`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`template_arn(impl Into<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::template_arn) / [`set_template_arn(Option<String>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_template_arn): <p>The Amazon Resource Name (ARN) that was returned when you called <a href="https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateTemplate.html">CreateTemplate</a>.</p>
    ///   - [`definition(TemplateDefinition)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::definition) / [`set_definition(Option<TemplateDefinition>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_definition): <p>Template configuration to define the information included in certificates. Define certificate validity and renewal periods, certificate request handling and enrollment options, key usage extensions, application policies, and cryptography settings.</p>
    ///   - [`reenroll_all_certificate_holders(bool)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::reenroll_all_certificate_holders) / [`set_reenroll_all_certificate_holders(Option<bool>)`](crate::operation::update_template::builders::UpdateTemplateFluentBuilder::set_reenroll_all_certificate_holders): <p>This setting allows the major version of a template to be increased automatically. All members of Active Directory groups that are allowed to enroll with a template will receive a new certificate issued using that template.</p>
    /// - On success, responds with [`UpdateTemplateOutput`](crate::operation::update_template::UpdateTemplateOutput)
    /// - On failure, responds with [`SdkError<UpdateTemplateError>`](crate::operation::update_template::UpdateTemplateError)
    pub fn update_template(&self) -> crate::operation::update_template::builders::UpdateTemplateFluentBuilder {
        crate::operation::update_template::builders::UpdateTemplateFluentBuilder::new(self.handle.clone())
    }
}