| 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.UpdateContactChannel
Description
Updates a contact's contact channel.
Synopsis
- data UpdateContactChannel = UpdateContactChannel' {}
- newUpdateContactChannel :: Text -> UpdateContactChannel
- updateContactChannel_deliveryAddress :: Lens' UpdateContactChannel (Maybe ContactChannelAddress)
- updateContactChannel_name :: Lens' UpdateContactChannel (Maybe Text)
- 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.
Constructors
| UpdateContactChannel' | |
Fields
| |
Instances
newUpdateContactChannel Source #
Arguments
| :: Text | |
| -> UpdateContactChannel |
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:
UpdateContactChannel, updateContactChannel_deliveryAddress - The details that Incident Manager uses when trying to engage the contact
channel.
UpdateContactChannel, updateContactChannel_name - The name of the contact channel.
UpdateContactChannel, updateContactChannel_contactChannelId - The Amazon Resource Name (ARN) of the contact channel you want to
update.
Request Lenses
updateContactChannel_deliveryAddress :: Lens' UpdateContactChannel (Maybe ContactChannelAddress) Source #
The details that Incident Manager uses when trying to engage the contact channel.
updateContactChannel_name :: Lens' UpdateContactChannel (Maybe Text) Source #
The name of 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.
Constructors
| UpdateContactChannelResponse' | |
Fields
| |
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.