aws_sdk_connectcases/client/
get_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 [`GetLayout`](crate::operation::get_layout::builders::GetLayoutFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_id(impl Into<String>)`](crate::operation::get_layout::builders::GetLayoutFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::get_layout::builders::GetLayoutFluentBuilder::set_domain_id):<br>required: **true**<br><p>The unique identifier of the Cases domain.</p><br>
7    ///   - [`layout_id(impl Into<String>)`](crate::operation::get_layout::builders::GetLayoutFluentBuilder::layout_id) / [`set_layout_id(Option<String>)`](crate::operation::get_layout::builders::GetLayoutFluentBuilder::set_layout_id):<br>required: **true**<br><p>The unique identifier of the layout.</p><br>
8    /// - On success, responds with [`GetLayoutOutput`](crate::operation::get_layout::GetLayoutOutput) with field(s):
9    ///   - [`layout_id(String)`](crate::operation::get_layout::GetLayoutOutput::layout_id): <p>The unique identifier of the layout.</p>
10    ///   - [`layout_arn(String)`](crate::operation::get_layout::GetLayoutOutput::layout_arn): <p>The Amazon Resource Name (ARN) of the newly created layout.</p>
11    ///   - [`name(String)`](crate::operation::get_layout::GetLayoutOutput::name): <p>The name of the layout. It must be unique.</p>
12    ///   - [`content(Option<LayoutContent>)`](crate::operation::get_layout::GetLayoutOutput::content): <p>Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.</p>
13    ///   - [`tags(Option<HashMap::<String, Option<String>>>)`](crate::operation::get_layout::GetLayoutOutput::tags): <p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>
14    ///   - [`deleted(bool)`](crate::operation::get_layout::GetLayoutOutput::deleted): <p>Denotes whether or not the resource has been deleted.</p>
15    ///   - [`created_time(Option<DateTime>)`](crate::operation::get_layout::GetLayoutOutput::created_time): <p>Timestamp at which the resource was created.</p>
16    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::get_layout::GetLayoutOutput::last_modified_time): <p>Timestamp at which the resource was created or last modified.</p>
17    /// - On failure, responds with [`SdkError<GetLayoutError>`](crate::operation::get_layout::GetLayoutError)
18    pub fn get_layout(&self) -> crate::operation::get_layout::builders::GetLayoutFluentBuilder {
19        crate::operation::get_layout::builders::GetLayoutFluentBuilder::new(self.handle.clone())
20    }
21}