Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets the contact details by the contact ARN.
Synopsis
Creating a Request
Creates a value of GetContact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcContactARN
- The ARN of the contact for which to request details.
data GetContact Source #
See: getContact
smart constructor.
Instances
Request Lenses
gcContactARN :: Lens' GetContact Text Source #
The ARN of the contact for which to request details.
Destructuring the Response
Creates a value of GetContactResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcrsContact
- The details of the requested contact.gcrsResponseStatus
- -- | The response status code.
data GetContactResponse Source #
See: getContactResponse
smart constructor.
Instances
Response Lenses
gcrsContact :: Lens' GetContactResponse (Maybe Contact) Source #
The details of the requested contact.
gcrsResponseStatus :: Lens' GetContactResponse Int Source #
- - | The response status code.