aws_sdk_serverlessapplicationrepository/client/create_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 [`CreateCloudFormationTemplate`](crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder::set_application_id):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the application.</p><br>
7 /// - [`semantic_version(impl Into<String>)`](crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder::semantic_version) / [`set_semantic_version(Option<String>)`](crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder::set_semantic_version):<br>required: **false**<br><p>The semantic version of the application:</p> <p><a href="https://semver.org/">https://semver.org/</a></p><br>
8 /// - On success, responds with [`CreateCloudFormationTemplateOutput`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput) with field(s):
9 /// - [`application_id(Option<String>)`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput::application_id): <p>The application Amazon Resource Name (ARN).</p>
10 /// - [`creation_time(Option<String>)`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput::creation_time): <p>The date and time this resource was created.</p>
11 /// - [`expiration_time(Option<String>)`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput::expiration_time): <p>The date and time this template expires. Templates expire 1 hour after creation.</p>
12 /// - [`semantic_version(Option<String>)`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput::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::create_cloud_formation_template::CreateCloudFormationTemplateOutput::status): <p>Status of the template creation workflow.</p> <p>Possible values: PREPARING | ACTIVE | EXPIRED</p>
14 /// - [`template_id(Option<String>)`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateOutput::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::create_cloud_formation_template::CreateCloudFormationTemplateOutput::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<CreateCloudFormationTemplateError>`](crate::operation::create_cloud_formation_template::CreateCloudFormationTemplateError)
17 pub fn create_cloud_formation_template(
18 &self,
19 ) -> crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder {
20 crate::operation::create_cloud_formation_template::builders::CreateCloudFormationTemplateFluentBuilder::new(self.handle.clone())
21 }
22}