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 an existing channel
Synopsis
- data StartChannel = StartChannel' {}
- newStartChannel :: Text -> StartChannel
- startChannel_channelId :: Lens' StartChannel Text
- data StartChannelResponse = StartChannelResponse' {
- state :: Maybe ChannelState
- logLevel :: Maybe LogLevel
- arn :: Maybe Text
- pipelinesRunningCount :: Maybe Int
- pipelineDetails :: Maybe [PipelineDetail]
- inputSpecification :: Maybe InputSpecification
- inputAttachments :: Maybe [InputAttachment]
- destinations :: Maybe [OutputDestination]
- name :: Maybe Text
- cdiInputSpecification :: Maybe CdiInputSpecification
- id :: Maybe Text
- channelClass :: Maybe ChannelClass
- vpc :: Maybe VpcOutputSettingsDescription
- egressEndpoints :: Maybe [ChannelEgressEndpoint]
- tags :: Maybe (HashMap Text Text)
- encoderSettings :: Maybe EncoderSettings
- roleArn :: Maybe Text
- httpStatus :: Int
- newStartChannelResponse :: Int -> StartChannelResponse
- startChannelResponse_state :: Lens' StartChannelResponse (Maybe ChannelState)
- startChannelResponse_logLevel :: Lens' StartChannelResponse (Maybe LogLevel)
- startChannelResponse_arn :: Lens' StartChannelResponse (Maybe Text)
- startChannelResponse_pipelinesRunningCount :: Lens' StartChannelResponse (Maybe Int)
- startChannelResponse_pipelineDetails :: Lens' StartChannelResponse (Maybe [PipelineDetail])
- startChannelResponse_inputSpecification :: Lens' StartChannelResponse (Maybe InputSpecification)
- startChannelResponse_inputAttachments :: Lens' StartChannelResponse (Maybe [InputAttachment])
- startChannelResponse_destinations :: Lens' StartChannelResponse (Maybe [OutputDestination])
- startChannelResponse_name :: Lens' StartChannelResponse (Maybe Text)
- startChannelResponse_cdiInputSpecification :: Lens' StartChannelResponse (Maybe CdiInputSpecification)
- startChannelResponse_id :: Lens' StartChannelResponse (Maybe Text)
- startChannelResponse_channelClass :: Lens' StartChannelResponse (Maybe ChannelClass)
- startChannelResponse_vpc :: Lens' StartChannelResponse (Maybe VpcOutputSettingsDescription)
- startChannelResponse_egressEndpoints :: Lens' StartChannelResponse (Maybe [ChannelEgressEndpoint])
- startChannelResponse_tags :: Lens' StartChannelResponse (Maybe (HashMap Text Text))
- startChannelResponse_encoderSettings :: Lens' StartChannelResponse (Maybe EncoderSettings)
- startChannelResponse_roleArn :: Lens' StartChannelResponse (Maybe Text)
- startChannelResponse_httpStatus :: Lens' StartChannelResponse Int
Creating a Request
data StartChannel Source #
Placeholder documentation for StartChannelRequest
See: newStartChannel
smart constructor.
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:channelId:StartChannel'
, startChannel_channelId
- A request to start a channel
Request Lenses
startChannel_channelId :: Lens' StartChannel Text Source #
A request to start a channel
Destructuring the Response
data StartChannelResponse Source #
Placeholder documentation for StartChannelResponse
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:state:StartChannelResponse'
, startChannelResponse_state
- Undocumented member.
$sel:logLevel:StartChannelResponse'
, startChannelResponse_logLevel
- The log level being written to CloudWatch Logs.
$sel:arn:StartChannelResponse'
, startChannelResponse_arn
- The unique arn of the channel.
$sel:pipelinesRunningCount:StartChannelResponse'
, startChannelResponse_pipelinesRunningCount
- The number of currently healthy pipelines.
$sel:pipelineDetails:StartChannelResponse'
, startChannelResponse_pipelineDetails
- Runtime details for the pipelines of a running channel.
$sel:inputSpecification:StartChannelResponse'
, startChannelResponse_inputSpecification
- Specification of network and file inputs for this channel
$sel:inputAttachments:StartChannelResponse'
, startChannelResponse_inputAttachments
- List of input attachments for channel.
$sel:destinations:StartChannelResponse'
, startChannelResponse_destinations
- A list of destinations of the channel. For UDP outputs, there is one
destination per output. For other types (HLS, for example), there is one
destination per packager.
$sel:name:StartChannelResponse'
, startChannelResponse_name
- The name of the channel. (user-mutable)
$sel:cdiInputSpecification:StartChannelResponse'
, startChannelResponse_cdiInputSpecification
- Specification of CDI inputs for this channel
$sel:id:StartChannelResponse'
, startChannelResponse_id
- The unique id of the channel.
$sel:channelClass:StartChannelResponse'
, startChannelResponse_channelClass
- The class for this channel. STANDARD for a channel with two pipelines or
SINGLE_PIPELINE for a channel with one pipeline.
$sel:vpc:StartChannelResponse'
, startChannelResponse_vpc
- Settings for VPC output
$sel:egressEndpoints:StartChannelResponse'
, startChannelResponse_egressEndpoints
- The endpoints where outgoing connections initiate from
$sel:tags:StartChannelResponse'
, startChannelResponse_tags
- A collection of key-value pairs.
$sel:encoderSettings:StartChannelResponse'
, startChannelResponse_encoderSettings
- Undocumented member.
$sel:roleArn:StartChannelResponse'
, startChannelResponse_roleArn
- The Amazon Resource Name (ARN) of the role assumed when running the
Channel.
$sel:httpStatus:StartChannelResponse'
, startChannelResponse_httpStatus
- The response's http status code.
Response Lenses
startChannelResponse_state :: Lens' StartChannelResponse (Maybe ChannelState) Source #
Undocumented member.
startChannelResponse_logLevel :: Lens' StartChannelResponse (Maybe LogLevel) Source #
The log level being written to CloudWatch Logs.
startChannelResponse_arn :: Lens' StartChannelResponse (Maybe Text) Source #
The unique arn of the channel.
startChannelResponse_pipelinesRunningCount :: Lens' StartChannelResponse (Maybe Int) Source #
The number of currently healthy pipelines.
startChannelResponse_pipelineDetails :: Lens' StartChannelResponse (Maybe [PipelineDetail]) Source #
Runtime details for the pipelines of a running channel.
startChannelResponse_inputSpecification :: Lens' StartChannelResponse (Maybe InputSpecification) Source #
Specification of network and file inputs for this channel
startChannelResponse_inputAttachments :: Lens' StartChannelResponse (Maybe [InputAttachment]) Source #
List of input attachments for channel.
startChannelResponse_destinations :: Lens' StartChannelResponse (Maybe [OutputDestination]) Source #
A list of destinations of the channel. For UDP outputs, there is one destination per output. For other types (HLS, for example), there is one destination per packager.
startChannelResponse_name :: Lens' StartChannelResponse (Maybe Text) Source #
The name of the channel. (user-mutable)
startChannelResponse_cdiInputSpecification :: Lens' StartChannelResponse (Maybe CdiInputSpecification) Source #
Specification of CDI inputs for this channel
startChannelResponse_id :: Lens' StartChannelResponse (Maybe Text) Source #
The unique id of the channel.
startChannelResponse_channelClass :: Lens' StartChannelResponse (Maybe ChannelClass) Source #
The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
startChannelResponse_vpc :: Lens' StartChannelResponse (Maybe VpcOutputSettingsDescription) Source #
Settings for VPC output
startChannelResponse_egressEndpoints :: Lens' StartChannelResponse (Maybe [ChannelEgressEndpoint]) Source #
The endpoints where outgoing connections initiate from
startChannelResponse_tags :: Lens' StartChannelResponse (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
startChannelResponse_encoderSettings :: Lens' StartChannelResponse (Maybe EncoderSettings) Source #
Undocumented member.
startChannelResponse_roleArn :: Lens' StartChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
startChannelResponse_httpStatus :: Lens' StartChannelResponse Int Source #
The response's http status code.