| 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.DescribeContact
Description
This API is in preview release for Amazon Connect and is subject to change.
Describes the specified contact.
Contact information remains available in Amazon Connect for 24 months, and then it is deleted.
Only data from November 12, 2021, and later is returned by this API.
Synopsis
- data DescribeContact = DescribeContact' {
- instanceId :: Text
- contactId :: Text
- newDescribeContact :: Text -> Text -> DescribeContact
- describeContact_instanceId :: Lens' DescribeContact Text
- describeContact_contactId :: Lens' DescribeContact Text
- data DescribeContactResponse = DescribeContactResponse' {
- contact :: Maybe Contact
- httpStatus :: Int
- newDescribeContactResponse :: Int -> DescribeContactResponse
- describeContactResponse_contact :: Lens' DescribeContactResponse (Maybe Contact)
- describeContactResponse_httpStatus :: Lens' DescribeContactResponse Int
Creating a Request
data DescribeContact Source #
See: newDescribeContact smart constructor.
Constructors
| DescribeContact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeContact |
Create a value of DescribeContact 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:
DescribeContact, describeContact_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
DescribeContact, describeContact_contactId - The identifier of the contact.
Request Lenses
describeContact_instanceId :: Lens' DescribeContact Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeContact_contactId :: Lens' DescribeContact Text Source #
The identifier of the contact.
Destructuring the Response
data DescribeContactResponse Source #
See: newDescribeContactResponse smart constructor.
Constructors
| DescribeContactResponse' | |
Fields
| |
Instances
newDescribeContactResponse Source #
Create a value of DescribeContactResponse 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:contact:DescribeContactResponse', describeContactResponse_contact - Information about the contact.
$sel:httpStatus:DescribeContactResponse', describeContactResponse_httpStatus - The response's http status code.
Response Lenses
describeContactResponse_contact :: Lens' DescribeContactResponse (Maybe Contact) Source #
Information about the contact.
describeContactResponse_httpStatus :: Lens' DescribeContactResponse Int Source #
The response's http status code.