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 |
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.
GetContactChannel' | |
|
Instances
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:
$sel:contactChannelId: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.
GetContactChannelResponse' | |
|
Instances
newGetContactChannelResponse Source #
:: 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:
$sel:activationStatus: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.
$sel:contactArn:GetContactChannelResponse'
, getContactChannelResponse_contactArn
- The ARN of the contact that the channel belongs to.
$sel:contactChannelArn:GetContactChannelResponse'
, getContactChannelResponse_contactChannelArn
- The ARN of the contact channel.
$sel:name:GetContactChannelResponse'
, getContactChannelResponse_name
- The name of the contact channel
$sel:type':GetContactChannelResponse'
, getContactChannelResponse_type
- The type of contact channel. The type is SMS
, VOICE
, or EMAIL
.
$sel:deliveryAddress: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.