| 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 |
Amazonka.Connect.GetContactAttributes
Description
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.
Constructors
| GetContactAttributes' | |
Fields
| |
Instances
newGetContactAttributes Source #
Arguments
| :: 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:
GetContactAttributes, getContactAttributes_instanceId - The identifier of the Amazon Connect instance.
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.
Constructors
| GetContactAttributesResponse' | |
Fields
| |
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.