aws_sdk_serverlessapplicationrepository/client/get_cloud_formation_template.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetCloudFormationTemplate`](crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder::set_application_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the application.</p><br>
7 /// - [`template_id(impl Into<String>)`](crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder::template_id) / [`set_template_id(Option<String>)`](crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder::set_template_id):<br>required: **true**<br><p>The UUID returned by CreateCloudFormationTemplate.</p> <p>Pattern: \[0-9a-fA-F\]{8}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{12}</p><br>
8 /// - On success, responds with [`GetCloudFormationTemplateOutput`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput) with field(s):
9 /// - [`application_id(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::application_id): <p>The application Amazon Resource Name (ARN).</p>
10 /// - [`creation_time(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::creation_time): <p>The date and time this resource was created.</p>
11 /// - [`expiration_time(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::expiration_time): <p>The date and time this template expires. Templates expire 1 hour after creation.</p>
12 /// - [`semantic_version(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::semantic_version): <p>The semantic version of the application:</p> <p><a href="https://semver.org/">https://semver.org/</a></p>
13 /// - [`status(Option<Status>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::status): <p>Status of the template creation workflow.</p> <p>Possible values: PREPARING | ACTIVE | EXPIRED</p>
14 /// - [`template_id(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::template_id): <p>The UUID returned by CreateCloudFormationTemplate.</p> <p>Pattern: \[0-9a-fA-F\]{8}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{4}\-\[0-9a-fA-F\]{12}</p>
15 /// - [`template_url(Option<String>)`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateOutput::template_url): <p>A link to the template that can be used to deploy the application using AWS CloudFormation.</p>
16 /// - On failure, responds with [`SdkError<GetCloudFormationTemplateError>`](crate::operation::get_cloud_formation_template::GetCloudFormationTemplateError)
17 pub fn get_cloud_formation_template(&self) -> crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder {
18 crate::operation::get_cloud_formation_template::builders::GetCloudFormationTemplateFluentBuilder::new(self.handle.clone())
19 }
20}