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.ListCasesForContact

Description

Lists cases for a given contact.

Synopsis

Creating a Request

data ListCasesForContact Source #

See: newListCasesForContact smart constructor.

Constructors

ListCasesForContact' 

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.

  • contactArn :: Text

    A unique identifier of a contact in Amazon Connect.

  • domainId :: Text

    The unique identifier of the Cases domain.

Instances

Instances details
ToJSON ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

ToHeaders ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

ToPath ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

ToQuery ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

AWSRequest ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Associated Types

type AWSResponse ListCasesForContact #

Generic ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Associated Types

type Rep ListCasesForContact :: Type -> Type #

Read ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Show ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

NFData ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Methods

rnf :: ListCasesForContact -> () #

Eq ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Hashable ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

type AWSResponse ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

type Rep ListCasesForContact Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

type Rep ListCasesForContact = D1 ('MetaData "ListCasesForContact" "Amazonka.ConnectCases.ListCasesForContact" "amazonka-connectcases-2.0-9RA5jvVYRVL9KmD8hfMfHn" 'False) (C1 ('MetaCons "ListCasesForContact'" '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 "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListCasesForContact Source #

Create a value of ListCasesForContact 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:ListCasesForContact', listCasesForContact_maxResults - The maximum number of results to return per page.

ListCasesForContact, listCasesForContact_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.

ListCasesForContact, listCasesForContact_contactArn - A unique identifier of a contact in Amazon Connect.

ListCasesForContact, listCasesForContact_domainId - The unique identifier of the Cases domain.

Request Lenses

listCasesForContact_maxResults :: Lens' ListCasesForContact (Maybe Natural) Source #

The maximum number of results to return per page.

listCasesForContact_nextToken :: Lens' ListCasesForContact (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.

listCasesForContact_contactArn :: Lens' ListCasesForContact Text Source #

A unique identifier of a contact in Amazon Connect.

listCasesForContact_domainId :: Lens' ListCasesForContact Text Source #

The unique identifier of the Cases domain.

Destructuring the Response

data ListCasesForContactResponse Source #

See: newListCasesForContactResponse smart constructor.

Constructors

ListCasesForContactResponse' 

Fields

Instances

Instances details
Generic ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Associated Types

type Rep ListCasesForContactResponse :: Type -> Type #

Read ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Show ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

NFData ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

Eq ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

type Rep ListCasesForContactResponse Source # 
Instance details

Defined in Amazonka.ConnectCases.ListCasesForContact

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

newListCasesForContactResponse Source #

Create a value of ListCasesForContactResponse 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:

ListCasesForContact, listCasesForContactResponse_nextToken - The token for the next set of results. This is null if there are no more results to return.

$sel:httpStatus:ListCasesForContactResponse', listCasesForContactResponse_httpStatus - The response's http status code.

$sel:cases:ListCasesForContactResponse', listCasesForContactResponse_cases - A list of Case summary information.

Response Lenses

listCasesForContactResponse_nextToken :: Lens' ListCasesForContactResponse (Maybe Text) Source #

The token for the next set of results. This is null if there are no more results to return.