| 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.AlexaBusiness.GetContact
Description
Gets the contact details by the contact ARN.
Synopsis
- data GetContact = GetContact' {
- contactArn :: Text
- newGetContact :: Text -> GetContact
- getContact_contactArn :: Lens' GetContact Text
- data GetContactResponse = GetContactResponse' {
- contact :: Maybe Contact
- httpStatus :: Int
- newGetContactResponse :: Int -> GetContactResponse
- getContactResponse_contact :: Lens' GetContactResponse (Maybe Contact)
- getContactResponse_httpStatus :: Lens' GetContactResponse Int
Creating a Request
data GetContact Source #
See: newGetContact smart constructor.
Constructors
| GetContact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetContact |
Create a value of GetContact 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:
GetContact, getContact_contactArn - The ARN of the contact for which to request details.
Request Lenses
getContact_contactArn :: Lens' GetContact Text Source #
The ARN of the contact for which to request details.
Destructuring the Response
data GetContactResponse Source #
See: newGetContactResponse smart constructor.
Constructors
| GetContactResponse' | |
Fields
| |
Instances
newGetContactResponse Source #
Arguments
| :: Int | |
| -> GetContactResponse |
Create a value of GetContactResponse 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:GetContactResponse', getContactResponse_contact - The details of the requested contact.
$sel:httpStatus:GetContactResponse', getContactResponse_httpStatus - The response's http status code.
Response Lenses
getContactResponse_contact :: Lens' GetContactResponse (Maybe Contact) Source #
The details of the requested contact.
getContactResponse_httpStatus :: Lens' GetContactResponse Int Source #
The response's http status code.