amazonka-connect-2.0: Amazon Connect Service 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.Connect.ListContactReferences

Description

This API is in preview release for Amazon Connect and is subject to change.

For the specified referenceTypes, returns a list of references associated with the contact.

This operation returns paginated results.

Synopsis

Creating a Request

data ListContactReferences Source #

See: newListContactReferences smart constructor.

Constructors

ListContactReferences' 

Fields

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

    This is not expected to be set, because the value returned in the previous response is always null.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • contactId :: Text

    The identifier of the initial contact.

  • referenceTypes :: [ReferenceType]

    The type of reference.

Instances

Instances details
ToHeaders ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

ToPath ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

ToQuery ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

AWSPager ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

AWSRequest ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Associated Types

type AWSResponse ListContactReferences #

Generic ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Associated Types

type Rep ListContactReferences :: Type -> Type #

Read ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Show ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

NFData ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Methods

rnf :: ListContactReferences -> () #

Eq ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Hashable ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

type AWSResponse ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

type Rep ListContactReferences Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

type Rep ListContactReferences = D1 ('MetaData "ListContactReferences" "Amazonka.Connect.ListContactReferences" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListContactReferences'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "referenceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ReferenceType]))))

newListContactReferences Source #

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

ListContactReferences, listContactReferences_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.

This is not expected to be set, because the value returned in the previous response is always null.

ListContactReferences, listContactReferences_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

ListContactReferences, listContactReferences_contactId - The identifier of the initial contact.

$sel:referenceTypes:ListContactReferences', listContactReferences_referenceTypes - The type of reference.

Request Lenses

listContactReferences_nextToken :: Lens' ListContactReferences (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.

This is not expected to be set, because the value returned in the previous response is always null.

listContactReferences_instanceId :: Lens' ListContactReferences Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

listContactReferences_contactId :: Lens' ListContactReferences Text Source #

The identifier of the initial contact.

Destructuring the Response

data ListContactReferencesResponse Source #

See: newListContactReferencesResponse smart constructor.

Constructors

ListContactReferencesResponse' 

Fields

Instances

Instances details
Generic ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Associated Types

type Rep ListContactReferencesResponse :: Type -> Type #

Read ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Show ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

NFData ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

Eq ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

type Rep ListContactReferencesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListContactReferences

type Rep ListContactReferencesResponse = D1 ('MetaData "ListContactReferencesResponse" "Amazonka.Connect.ListContactReferences" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ListContactReferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "referenceSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReferenceSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListContactReferencesResponse Source #

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

ListContactReferences, listContactReferencesResponse_nextToken - If there are additional results, this is the token for the next set of results.

This is always returned as null in the response.

$sel:referenceSummaryList:ListContactReferencesResponse', listContactReferencesResponse_referenceSummaryList - Information about the flows.

$sel:httpStatus:ListContactReferencesResponse', listContactReferencesResponse_httpStatus - The response's http status code.

Response Lenses

listContactReferencesResponse_nextToken :: Lens' ListContactReferencesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.

This is always returned as null in the response.