| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ConnectCases.GetLayout
Description
Returns the details for the requested layout.
Synopsis
- data GetLayout = GetLayout' {}
- newGetLayout :: Text -> Text -> GetLayout
- getLayout_domainId :: Lens' GetLayout Text
- getLayout_layoutId :: Lens' GetLayout Text
- data GetLayoutResponse = GetLayoutResponse' {}
- newGetLayoutResponse :: Int -> LayoutContent -> Text -> Text -> Text -> GetLayoutResponse
- getLayoutResponse_tags :: Lens' GetLayoutResponse (Maybe (HashMap Text Text))
- getLayoutResponse_httpStatus :: Lens' GetLayoutResponse Int
- getLayoutResponse_content :: Lens' GetLayoutResponse LayoutContent
- getLayoutResponse_layoutArn :: Lens' GetLayoutResponse Text
- getLayoutResponse_layoutId :: Lens' GetLayoutResponse Text
- getLayoutResponse_name :: Lens' GetLayoutResponse Text
Creating a Request
See: newGetLayout smart constructor.
Constructors
| GetLayout' | |
Instances
Create a value of GetLayout with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetLayout, getLayout_domainId - The unique identifier of the Cases domain.
GetLayout, getLayout_layoutId - The unique identifier of the layout.
Request Lenses
Destructuring the Response
data GetLayoutResponse Source #
See: newGetLayoutResponse smart constructor.
Constructors
| GetLayoutResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> LayoutContent | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> GetLayoutResponse |
Create a value of GetLayoutResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetLayoutResponse, getLayoutResponse_tags - 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.
$sel:httpStatus:GetLayoutResponse', getLayoutResponse_httpStatus - The response's http status code.
GetLayoutResponse, getLayoutResponse_content - Information about which fields will be present in the layout, the order
of the fields, and read-only attribute of the field.
GetLayoutResponse, getLayoutResponse_layoutArn - The Amazon Resource Name (ARN) of the newly created layout.
GetLayout, getLayoutResponse_layoutId - The unique identifier of the layout.
GetLayoutResponse, getLayoutResponse_name - The name of the layout. It must be unique.
Response Lenses
getLayoutResponse_tags :: Lens' GetLayoutResponse (Maybe (HashMap Text Text)) Source #
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.
getLayoutResponse_httpStatus :: Lens' GetLayoutResponse Int Source #
The response's http status code.
getLayoutResponse_content :: Lens' GetLayoutResponse LayoutContent Source #
Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
getLayoutResponse_layoutArn :: Lens' GetLayoutResponse Text Source #
The Amazon Resource Name (ARN) of the newly created layout.
getLayoutResponse_layoutId :: Lens' GetLayoutResponse Text Source #
The unique identifier of the layout.
getLayoutResponse_name :: Lens' GetLayoutResponse Text Source #
The name of the layout. It must be unique.