1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeTemplateDefinition`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the template. You must be using the Amazon Web Services account that the template is in.</p><br>
    ///   - [`template_id(impl Into<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::set_template_id):<br>required: **true**<br><p>The ID of the template that you're describing.</p><br>
    ///   - [`version_number(i64)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::version_number) / [`set_version_number(Option<i64>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::set_version_number):<br>required: **false**<br><p>The version number of the template.</p><br>
    ///   - [`alias_name(impl Into<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::alias_name) / [`set_alias_name(Option<String>)`](crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::set_alias_name):<br>required: **false**<br><p>The alias of the template that you want to describe. If you name a specific alias, you describe the version that the alias points to. You can specify the latest version of the template by providing the keyword <code>$LATEST</code> in the <code>AliasName</code> parameter. The keyword <code>$PUBLISHED</code> doesn't apply to templates.</p><br>
    /// - On success, responds with [`DescribeTemplateDefinitionOutput`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::name): <p>The descriptive name of the template.</p>
    ///   - [`template_id(Option<String>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::template_id): <p>The ID of the template described.</p>
    ///   - [`errors(Option<Vec::<TemplateError>>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::errors): <p>Errors associated with the template version.</p>
    ///   - [`resource_status(Option<ResourceStatus>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::resource_status): <p>Status associated with the template.</p>  <ul>   <li> <p> <code>CREATION_IN_PROGRESS</code> </p> </li>   <li> <p> <code>CREATION_SUCCESSFUL</code> </p> </li>   <li> <p> <code>CREATION_FAILED</code> </p> </li>   <li> <p> <code>UPDATE_IN_PROGRESS</code> </p> </li>   <li> <p> <code>UPDATE_SUCCESSFUL</code> </p> </li>   <li> <p> <code>UPDATE_FAILED</code> </p> </li>   <li> <p> <code>DELETED</code> </p> </li>  </ul>
    ///   - [`theme_arn(Option<String>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::theme_arn): <p>The ARN of the theme of the template.</p>
    ///   - [`definition(Option<TemplateVersionDefinition>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::definition): <p>The definition of the template.</p>  <p>A definition is the data model of all features in a Dashboard, Template, or Analysis.</p>
    ///   - [`status(i32)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::status): <p>The HTTP status of the request.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::describe_template_definition::DescribeTemplateDefinitionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    /// - On failure, responds with [`SdkError<DescribeTemplateDefinitionError>`](crate::operation::describe_template_definition::DescribeTemplateDefinitionError)
    pub fn describe_template_definition(&self) -> crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder {
        crate::operation::describe_template_definition::builders::DescribeTemplateDefinitionFluentBuilder::new(self.handle.clone())
    }
}