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 |
Starts a specific channel.
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.
StartChannel' | |
|
Instances
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:
$sel:channelName:StartChannel'
, startChannel_channelName
- The identifier for the channel you are working on.
Request Lenses
startChannel_channelName :: Lens' StartChannel Text Source #
The identifier for the channel you are working on.
Destructuring the Response
data StartChannelResponse Source #
See: newStartChannelResponse
smart constructor.
StartChannelResponse' | |
|
Instances
newStartChannelResponse Source #
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.