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 a contact's contact channel.
Synopsis
- data UpdateContactChannel = UpdateContactChannel' {}
- newUpdateContactChannel :: Text -> UpdateContactChannel
- updateContactChannel_name :: Lens' UpdateContactChannel (Maybe Text)
- updateContactChannel_deliveryAddress :: Lens' UpdateContactChannel (Maybe ContactChannelAddress)
- updateContactChannel_contactChannelId :: Lens' UpdateContactChannel Text
- data UpdateContactChannelResponse = UpdateContactChannelResponse' {
- httpStatus :: Int
- newUpdateContactChannelResponse :: Int -> UpdateContactChannelResponse
- updateContactChannelResponse_httpStatus :: Lens' UpdateContactChannelResponse Int
Creating a Request
data UpdateContactChannel Source #
See: newUpdateContactChannel
smart constructor.
UpdateContactChannel' | |
|
Instances
newUpdateContactChannel Source #
Create a value of UpdateContactChannel
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:name:UpdateContactChannel'
, updateContactChannel_name
- The name of the contact channel.
$sel:deliveryAddress:UpdateContactChannel'
, updateContactChannel_deliveryAddress
- The details that Incident Manager uses when trying to engage the contact
channel.
$sel:contactChannelId:UpdateContactChannel'
, updateContactChannel_contactChannelId
- The Amazon Resource Name (ARN) of the contact channel you want to
update.
Request Lenses
updateContactChannel_name :: Lens' UpdateContactChannel (Maybe Text) Source #
The name of the contact channel.
updateContactChannel_deliveryAddress :: Lens' UpdateContactChannel (Maybe ContactChannelAddress) Source #
The details that Incident Manager uses when trying to engage the contact channel.
updateContactChannel_contactChannelId :: Lens' UpdateContactChannel Text Source #
The Amazon Resource Name (ARN) of the contact channel you want to update.
Destructuring the Response
data UpdateContactChannelResponse Source #
See: newUpdateContactChannelResponse
smart constructor.
UpdateContactChannelResponse' | |
|
Instances
newUpdateContactChannelResponse Source #
Create a value of UpdateContactChannelResponse
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:UpdateContactChannelResponse'
, updateContactChannelResponse_httpStatus
- The response's http status code.
Response Lenses
updateContactChannelResponse_httpStatus :: Lens' UpdateContactChannelResponse Int Source #
The response's http status code.