aws_sdk_lightsail/client/create_cloud_formation_stack.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 [`CreateCloudFormationStack`](crate::operation::create_cloud_formation_stack::builders::CreateCloudFormationStackFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instances(InstanceEntry)`](crate::operation::create_cloud_formation_stack::builders::CreateCloudFormationStackFluentBuilder::instances) / [`set_instances(Option<Vec::<InstanceEntry>>)`](crate::operation::create_cloud_formation_stack::builders::CreateCloudFormationStackFluentBuilder::set_instances):<br>required: **true**<br><p>An array of parameters that will be used to create the new Amazon EC2 instance. You can only pass one instance entry at a time in this array. You will get an invalid parameter error if you pass more than one instance entry in this array.</p><br>
7 /// - On success, responds with [`CreateCloudFormationStackOutput`](crate::operation::create_cloud_formation_stack::CreateCloudFormationStackOutput) with field(s):
8 /// - [`operations(Option<Vec::<Operation>>)`](crate::operation::create_cloud_formation_stack::CreateCloudFormationStackOutput::operations): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
9 /// - On failure, responds with [`SdkError<CreateCloudFormationStackError>`](crate::operation::create_cloud_formation_stack::CreateCloudFormationStackError)
10 pub fn create_cloud_formation_stack(&self) -> crate::operation::create_cloud_formation_stack::builders::CreateCloudFormationStackFluentBuilder {
11 crate::operation::create_cloud_formation_stack::builders::CreateCloudFormationStackFluentBuilder::new(self.handle.clone())
12 }
13}