Copyright | (c) 2013-2021 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 |
Updates the contact or escalation plan specified.
Synopsis
- data UpdateContact = UpdateContact' {}
- newUpdateContact :: Text -> UpdateContact
- updateContact_plan :: Lens' UpdateContact (Maybe Plan)
- updateContact_displayName :: Lens' UpdateContact (Maybe Text)
- 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.
UpdateContact' | |
|
Instances
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:
$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.
$sel:displayName:UpdateContact'
, updateContact_displayName
- The full name of the contact or escalation plan.
$sel:contactId:UpdateContact'
, updateContact_contactId
- The Amazon Resource Name (ARN) of the contact or escalation plan you're
updating.
Request Lenses
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_displayName :: Lens' UpdateContact (Maybe Text) Source #
The full name of the contact or escalation plan.
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.
UpdateContactResponse' | |
|
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.