aws_sdk_connectcases/client/create_layout.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 [`CreateLayout`](crate::operation::create_layout::builders::CreateLayoutFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`CreateLayoutOutput`](crate::operation::create_layout::CreateLayoutOutput) with field(s):
10 /// - [`layout_id(String)`](crate::operation::create_layout::CreateLayoutOutput::layout_id): <p>The unique identifier of the layout.</p>
11 /// - [`layout_arn(String)`](crate::operation::create_layout::CreateLayoutOutput::layout_arn): <p>The Amazon Resource Name (ARN) of the newly created layout.</p>
12 /// - On failure, responds with [`SdkError<CreateLayoutError>`](crate::operation::create_layout::CreateLayoutError)
13 pub fn create_layout(&self) -> crate::operation::create_layout::builders::CreateLayoutFluentBuilder {
14 crate::operation::create_layout::builders::CreateLayoutFluentBuilder::new(self.handle.clone())
15 }
16}