| 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.GetContactChannel
Description
List details about a specific contact channel.
Synopsis
- data GetContactChannel = GetContactChannel' {}
- newGetContactChannel :: Text -> GetContactChannel
- getContactChannel_contactChannelId :: Lens' GetContactChannel Text
- data GetContactChannelResponse = GetContactChannelResponse' {}
- newGetContactChannelResponse :: Int -> Text -> Text -> Text -> ChannelType -> ContactChannelAddress -> GetContactChannelResponse
- getContactChannelResponse_activationStatus :: Lens' GetContactChannelResponse (Maybe ActivationStatus)
- getContactChannelResponse_httpStatus :: Lens' GetContactChannelResponse Int
- getContactChannelResponse_contactArn :: Lens' GetContactChannelResponse Text
- getContactChannelResponse_contactChannelArn :: Lens' GetContactChannelResponse Text
- getContactChannelResponse_name :: Lens' GetContactChannelResponse Text
- getContactChannelResponse_type :: Lens' GetContactChannelResponse ChannelType
- getContactChannelResponse_deliveryAddress :: Lens' GetContactChannelResponse ContactChannelAddress
Creating a Request
data GetContactChannel Source #
See: newGetContactChannel smart constructor.
Constructors
| GetContactChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetContactChannel |
Create a value of GetContactChannel 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:
GetContactChannel, getContactChannel_contactChannelId - The Amazon Resource Name (ARN) of the contact channel you want
information about.
Request Lenses
getContactChannel_contactChannelId :: Lens' GetContactChannel Text Source #
The Amazon Resource Name (ARN) of the contact channel you want information about.
Destructuring the Response
data GetContactChannelResponse Source #
See: newGetContactChannelResponse smart constructor.
Constructors
| GetContactChannelResponse' | |
Fields
| |
Instances
newGetContactChannelResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> ChannelType | |
| -> ContactChannelAddress | |
| -> GetContactChannelResponse |
Create a value of GetContactChannelResponse 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:
GetContactChannelResponse, getContactChannelResponse_activationStatus - A Boolean value indicating if the contact channel has been activated or
not.
$sel:httpStatus:GetContactChannelResponse', getContactChannelResponse_httpStatus - The response's http status code.
GetContactChannelResponse, getContactChannelResponse_contactArn - The ARN of the contact that the channel belongs to.
GetContactChannelResponse, getContactChannelResponse_contactChannelArn - The ARN of the contact channel.
GetContactChannelResponse, getContactChannelResponse_name - The name of the contact channel
GetContactChannelResponse, getContactChannelResponse_type - The type of contact channel. The type is SMS, VOICE, or EMAIL.
GetContactChannelResponse, getContactChannelResponse_deliveryAddress - The details that Incident Manager uses when trying to engage the contact
channel.
Response Lenses
getContactChannelResponse_activationStatus :: Lens' GetContactChannelResponse (Maybe ActivationStatus) Source #
A Boolean value indicating if the contact channel has been activated or not.
getContactChannelResponse_httpStatus :: Lens' GetContactChannelResponse Int Source #
The response's http status code.
getContactChannelResponse_contactArn :: Lens' GetContactChannelResponse Text Source #
The ARN of the contact that the channel belongs to.
getContactChannelResponse_contactChannelArn :: Lens' GetContactChannelResponse Text Source #
The ARN of the contact channel.
getContactChannelResponse_name :: Lens' GetContactChannelResponse Text Source #
The name of the contact channel
getContactChannelResponse_type :: Lens' GetContactChannelResponse ChannelType Source #
The type of contact channel. The type is SMS, VOICE, or EMAIL.
getContactChannelResponse_deliveryAddress :: Lens' GetContactChannelResponse ContactChannelAddress Source #
The details that Incident Manager uses when trying to engage the contact channel.