| 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.SSMContacts.UpdateContact
Description
Updates the contact or escalation plan specified.
Synopsis
- data UpdateContact = UpdateContact' {}
- newUpdateContact :: Text -> UpdateContact
- updateContact_displayName :: Lens' UpdateContact (Maybe Text)
- updateContact_plan :: Lens' UpdateContact (Maybe Plan)
- updateContact_contactId :: Lens' UpdateContact Text
- data UpdateContactResponse = UpdateContactResponse' {
- httpStatus :: Int
- newUpdateContactResponse :: Int -> UpdateContactResponse
- updateContactResponse_httpStatus :: Lens' UpdateContactResponse Int
Creating a Request
data UpdateContact Source #
See: newUpdateContact smart constructor.
Constructors
| UpdateContact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateContact |
Create a value of UpdateContact 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:
UpdateContact, updateContact_displayName - The full name of the contact or escalation plan.
$sel:plan:UpdateContact', updateContact_plan - A list of stages. A contact has an engagement plan with stages for
specified contact channels. An escalation plan uses these stages to
contact specified contacts.
UpdateContact, updateContact_contactId - The Amazon Resource Name (ARN) of the contact or escalation plan you're
updating.
Request Lenses
updateContact_displayName :: Lens' UpdateContact (Maybe Text) Source #
The full name of the contact or escalation plan.
updateContact_plan :: Lens' UpdateContact (Maybe Plan) Source #
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
updateContact_contactId :: Lens' UpdateContact Text Source #
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
Destructuring the Response
data UpdateContactResponse Source #
See: newUpdateContactResponse smart constructor.
Constructors
| UpdateContactResponse' | |
Fields
| |
Instances
newUpdateContactResponse Source #
Create a value of UpdateContactResponse 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:httpStatus:UpdateContactResponse', updateContactResponse_httpStatus - The response's http status code.
Response Lenses
updateContactResponse_httpStatus :: Lens' UpdateContactResponse Int Source #
The response's http status code.