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 |
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
- data ListContactReferences = ListContactReferences' {
- nextToken :: Maybe Text
- instanceId :: Text
- contactId :: Text
- referenceTypes :: [ReferenceType]
- newListContactReferences :: Text -> Text -> ListContactReferences
- listContactReferences_nextToken :: Lens' ListContactReferences (Maybe Text)
- listContactReferences_instanceId :: Lens' ListContactReferences Text
- listContactReferences_contactId :: Lens' ListContactReferences Text
- listContactReferences_referenceTypes :: Lens' ListContactReferences [ReferenceType]
- data ListContactReferencesResponse = ListContactReferencesResponse' {}
- newListContactReferencesResponse :: Int -> ListContactReferencesResponse
- listContactReferencesResponse_nextToken :: Lens' ListContactReferencesResponse (Maybe Text)
- listContactReferencesResponse_referenceSummaryList :: Lens' ListContactReferencesResponse (Maybe [ReferenceSummary])
- listContactReferencesResponse_httpStatus :: Lens' ListContactReferencesResponse Int
Creating a Request
data ListContactReferences Source #
See: newListContactReferences
smart constructor.
ListContactReferences' | |
|
Instances
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.
listContactReferences_referenceTypes :: Lens' ListContactReferences [ReferenceType] Source #
The type of reference.
Destructuring the Response
data ListContactReferencesResponse Source #
See: newListContactReferencesResponse
smart constructor.
ListContactReferencesResponse' | |
|
Instances
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.
listContactReferencesResponse_referenceSummaryList :: Lens' ListContactReferencesResponse (Maybe [ReferenceSummary]) Source #
Information about the flows.
listContactReferencesResponse_httpStatus :: Lens' ListContactReferencesResponse Int Source #
The response's http status code.