| 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.IVS.GetChannel
Description
Gets the channel configuration for the specified channel ARN. See also BatchGetChannel.
Synopsis
- data GetChannel = GetChannel' {}
- newGetChannel :: Text -> GetChannel
- getChannel_arn :: Lens' GetChannel Text
- data GetChannelResponse = GetChannelResponse' {
- channel :: Maybe Channel
- httpStatus :: Int
- newGetChannelResponse :: Int -> GetChannelResponse
- getChannelResponse_channel :: Lens' GetChannelResponse (Maybe Channel)
- getChannelResponse_httpStatus :: Lens' GetChannelResponse Int
Creating a Request
data GetChannel Source #
See: newGetChannel smart constructor.
Constructors
| GetChannel' | |
Instances
Arguments
| :: Text | |
| -> GetChannel |
Create a value of GetChannel 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:
GetChannel, getChannel_arn - ARN of the channel for which the configuration is to be retrieved.
Request Lenses
getChannel_arn :: Lens' GetChannel Text Source #
ARN of the channel for which the configuration is to be retrieved.
Destructuring the Response
data GetChannelResponse Source #
See: newGetChannelResponse smart constructor.
Constructors
| GetChannelResponse' | |
Fields
| |
Instances
newGetChannelResponse Source #
Arguments
| :: Int | |
| -> GetChannelResponse |
Create a value of GetChannelResponse 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:
GetChannelResponse, getChannelResponse_channel -
$sel:httpStatus:GetChannelResponse', getChannelResponse_httpStatus - The response's http status code.
Response Lenses
getChannelResponse_httpStatus :: Lens' GetChannelResponse Int Source #
The response's http status code.