aws_sdk_connectcases/client/create_layout.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateLayout`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_id(impl Into<String>)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::set_name):<br>required: **true**<br><p>The name of the layout. It must be unique for the Cases domain.</p><br>
/// - [`content(LayoutContent)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::content) / [`set_content(Option<LayoutContent>)`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder::set_content):<br>required: **true**<br><p>Information about which fields will be present in the layout, and information about the order of the fields.</p><br>
/// - On success, responds with [`CreateLayoutOutput`](crate::operation::create_layout::CreateLayoutOutput) with field(s):
/// - [`layout_id(String)`](crate::operation::create_layout::CreateLayoutOutput::layout_id): <p>The unique identifier of the layout.</p>
/// - [`layout_arn(String)`](crate::operation::create_layout::CreateLayoutOutput::layout_arn): <p>The Amazon Resource Name (ARN) of the newly created layout.</p>
/// - On failure, responds with [`SdkError<CreateLayoutError>`](crate::operation::create_layout::CreateLayoutError)
pub fn create_layout(&self) -> crate::operation::create_layout::builders::CreateLayoutFluentBuilder {
crate::operation::create_layout::builders::CreateLayoutFluentBuilder::new(self.handle.clone())
}
}