| 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.ListLayouts
Description
Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout.
Synopsis
- data ListLayouts = ListLayouts' {}
- newListLayouts :: Text -> ListLayouts
- listLayouts_maxResults :: Lens' ListLayouts (Maybe Natural)
- listLayouts_nextToken :: Lens' ListLayouts (Maybe Text)
- listLayouts_domainId :: Lens' ListLayouts Text
- data ListLayoutsResponse = ListLayoutsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- layouts :: [LayoutSummary]
- newListLayoutsResponse :: Int -> ListLayoutsResponse
- listLayoutsResponse_nextToken :: Lens' ListLayoutsResponse (Maybe Text)
- listLayoutsResponse_httpStatus :: Lens' ListLayoutsResponse Int
- listLayoutsResponse_layouts :: Lens' ListLayoutsResponse [LayoutSummary]
Creating a Request
data ListLayouts Source #
See: newListLayouts smart constructor.
Constructors
| ListLayouts' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListLayouts |
Create a value of ListLayouts 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:
$sel:maxResults:ListLayouts', listLayouts_maxResults - The maximum number of results to return per page.
ListLayouts, listLayouts_nextToken - The token for the next set of results. Use the value returned in the
previous response in the next request to retrieve the next set of
results.
ListLayouts, listLayouts_domainId - The unique identifier of the Cases domain.
Request Lenses
listLayouts_maxResults :: Lens' ListLayouts (Maybe Natural) Source #
The maximum number of results to return per page.
listLayouts_nextToken :: Lens' ListLayouts (Maybe Text) Source #
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
listLayouts_domainId :: Lens' ListLayouts Text Source #
The unique identifier of the Cases domain.
Destructuring the Response
data ListLayoutsResponse Source #
See: newListLayoutsResponse smart constructor.
Constructors
| ListLayoutsResponse' | |
Fields
| |
Instances
newListLayoutsResponse Source #
Arguments
| :: Int | |
| -> ListLayoutsResponse |
Create a value of ListLayoutsResponse 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:
ListLayouts, listLayoutsResponse_nextToken - The token for the next set of results. This is null if there are no more
results to return.
$sel:httpStatus:ListLayoutsResponse', listLayoutsResponse_httpStatus - The response's http status code.
$sel:layouts:ListLayoutsResponse', listLayoutsResponse_layouts - The layouts for the domain.
Response Lenses
listLayoutsResponse_nextToken :: Lens' ListLayoutsResponse (Maybe Text) Source #
The token for the next set of results. This is null if there are no more results to return.
listLayoutsResponse_httpStatus :: Lens' ListLayoutsResponse Int Source #
The response's http status code.
listLayoutsResponse_layouts :: Lens' ListLayoutsResponse [LayoutSummary] Source #
The layouts for the domain.