Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the contact attributes for the specified contact.
Synopsis
- data GetContactAttributes = GetContactAttributes' {}
- newGetContactAttributes :: Text -> Text -> GetContactAttributes
- getContactAttributes_instanceId :: Lens' GetContactAttributes Text
- getContactAttributes_initialContactId :: Lens' GetContactAttributes Text
- data GetContactAttributesResponse = GetContactAttributesResponse' {
- attributes :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newGetContactAttributesResponse :: Int -> GetContactAttributesResponse
- getContactAttributesResponse_attributes :: Lens' GetContactAttributesResponse (Maybe (HashMap Text Text))
- getContactAttributesResponse_httpStatus :: Lens' GetContactAttributesResponse Int
Creating a Request
data GetContactAttributes Source #
See: newGetContactAttributes
smart constructor.
GetContactAttributes' | |
|
Instances
newGetContactAttributes Source #
:: Text | |
-> Text | |
-> GetContactAttributes |
Create a value of GetContactAttributes
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:instanceId:GetContactAttributes'
, getContactAttributes_instanceId
- The identifier of the Amazon Connect instance.
$sel:initialContactId:GetContactAttributes'
, getContactAttributes_initialContactId
- The identifier of the initial contact.
Request Lenses
getContactAttributes_instanceId :: Lens' GetContactAttributes Text Source #
The identifier of the Amazon Connect instance.
getContactAttributes_initialContactId :: Lens' GetContactAttributes Text Source #
The identifier of the initial contact.
Destructuring the Response
data GetContactAttributesResponse Source #
See: newGetContactAttributesResponse
smart constructor.
GetContactAttributesResponse' | |
|
Instances
newGetContactAttributesResponse Source #
Create a value of GetContactAttributesResponse
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:attributes:GetContactAttributesResponse'
, getContactAttributesResponse_attributes
- Information about the attributes.
$sel:httpStatus:GetContactAttributesResponse'
, getContactAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
getContactAttributesResponse_attributes :: Lens' GetContactAttributesResponse (Maybe (HashMap Text Text)) Source #
Information about the attributes.
getContactAttributesResponse_httpStatus :: Lens' GetContactAttributesResponse Int Source #
The response's http status code.