amazonka-connectcases-2.0: Amazon Connect Cases SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ConnectCases.ListLayouts

Description

Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout.

Synopsis

Creating a Request

data ListLayouts Source #

See: newListLayouts smart constructor.

Constructors

ListLayouts' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • nextToken :: Maybe Text

    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.

  • domainId :: Text

    The unique identifier of the Cases domain.

Instances

Instances details
ToJSON ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

ToHeaders ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Methods

toHeaders :: ListLayouts -> [Header] #

ToPath ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

ToQuery ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

AWSRequest ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Associated Types

type AWSResponse ListLayouts #

Generic ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Associated Types

type Rep ListLayouts :: Type -> Type #

Read ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Show ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

NFData ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Methods

rnf :: ListLayouts -> () #

Eq ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Hashable ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

type AWSResponse ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

type Rep ListLayouts Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

type Rep ListLayouts = D1 ('MetaData "ListLayouts" "Amazonka.ConnectCases.ListLayouts" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "ListLayouts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListLayouts Source #

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

Instances details
Generic ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Associated Types

type Rep ListLayoutsResponse :: Type -> Type #

Read ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Show ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

NFData ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

Methods

rnf :: ListLayoutsResponse -> () #

Eq ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

type Rep ListLayoutsResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListLayouts

type Rep ListLayoutsResponse = D1 ('MetaData "ListLayoutsResponse" "Amazonka.ConnectCases.ListLayouts" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "ListLayoutsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "layouts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [LayoutSummary]))))

newListLayoutsResponse Source #

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.