| 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.MediaTailor.StartChannel
Description
Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
Synopsis
- data StartChannel = StartChannel' {
- channelName :: Text
- newStartChannel :: Text -> StartChannel
- startChannel_channelName :: Lens' StartChannel Text
- data StartChannelResponse = StartChannelResponse' {
- httpStatus :: Int
- newStartChannelResponse :: Int -> StartChannelResponse
- startChannelResponse_httpStatus :: Lens' StartChannelResponse Int
Creating a Request
data StartChannel Source #
See: newStartChannel smart constructor.
Constructors
| StartChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> StartChannel |
Create a value of StartChannel 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:
StartChannel, startChannel_channelName - The name of the channel.
Request Lenses
startChannel_channelName :: Lens' StartChannel Text Source #
The name of the channel.
Destructuring the Response
data StartChannelResponse Source #
See: newStartChannelResponse smart constructor.
Constructors
| StartChannelResponse' | |
Fields
| |
Instances
newStartChannelResponse Source #
Arguments
| :: Int | |
| -> StartChannelResponse |
Create a value of StartChannelResponse 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:StartChannelResponse', startChannelResponse_httpStatus - The response's http status code.
Response Lenses
startChannelResponse_httpStatus :: Lens' StartChannelResponse Int Source #
The response's http status code.