| 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 |
Network.AWS.AlexaBusiness.UpdateContact
Description
Updates the contact details by the contact ARN.
Synopsis
- updateContact :: Text -> UpdateContact
- data UpdateContact
- ucLastName :: Lens' UpdateContact (Maybe Text)
- ucPhoneNumber :: Lens' UpdateContact (Maybe Text)
- ucFirstName :: Lens' UpdateContact (Maybe Text)
- ucDisplayName :: Lens' UpdateContact (Maybe Text)
- ucContactARN :: Lens' UpdateContact Text
- updateContactResponse :: Int -> UpdateContactResponse
- data UpdateContactResponse
- ucrsResponseStatus :: Lens' UpdateContactResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateContact |
Creates a value of UpdateContact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucLastName- The updated last name of the contact.ucPhoneNumber- The updated phone number of the contact.ucFirstName- The updated first name of the contact.ucDisplayName- The updated display name of the contact.ucContactARN- The ARN of the contact to update.
data UpdateContact Source #
See: updateContact smart constructor.
Instances
Request Lenses
ucLastName :: Lens' UpdateContact (Maybe Text) Source #
The updated last name of the contact.
ucPhoneNumber :: Lens' UpdateContact (Maybe Text) Source #
The updated phone number of the contact.
ucFirstName :: Lens' UpdateContact (Maybe Text) Source #
The updated first name of the contact.
ucDisplayName :: Lens' UpdateContact (Maybe Text) Source #
The updated display name of the contact.
ucContactARN :: Lens' UpdateContact Text Source #
The ARN of the contact to update.
Destructuring the Response
updateContactResponse Source #
Arguments
| :: Int | |
| -> UpdateContactResponse |
Creates a value of UpdateContactResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucrsResponseStatus- -- | The response status code.
data UpdateContactResponse Source #
See: updateContactResponse smart constructor.
Instances
Response Lenses
ucrsResponseStatus :: Lens' UpdateContactResponse Int Source #
- - | The response status code.