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 |
Stops a running channel
Synopsis
- data StopChannel = StopChannel' {}
- newStopChannel :: Text -> StopChannel
- stopChannel_channelId :: Lens' StopChannel Text
- data StopChannelResponse = StopChannelResponse' {
- 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
- newStopChannelResponse :: Int -> StopChannelResponse
- stopChannelResponse_state :: Lens' StopChannelResponse (Maybe ChannelState)
- stopChannelResponse_logLevel :: Lens' StopChannelResponse (Maybe LogLevel)
- stopChannelResponse_arn :: Lens' StopChannelResponse (Maybe Text)
- stopChannelResponse_pipelinesRunningCount :: Lens' StopChannelResponse (Maybe Int)
- stopChannelResponse_pipelineDetails :: Lens' StopChannelResponse (Maybe [PipelineDetail])
- stopChannelResponse_inputSpecification :: Lens' StopChannelResponse (Maybe InputSpecification)
- stopChannelResponse_inputAttachments :: Lens' StopChannelResponse (Maybe [InputAttachment])
- stopChannelResponse_destinations :: Lens' StopChannelResponse (Maybe [OutputDestination])
- stopChannelResponse_name :: Lens' StopChannelResponse (Maybe Text)
- stopChannelResponse_cdiInputSpecification :: Lens' StopChannelResponse (Maybe CdiInputSpecification)
- stopChannelResponse_id :: Lens' StopChannelResponse (Maybe Text)
- stopChannelResponse_channelClass :: Lens' StopChannelResponse (Maybe ChannelClass)
- stopChannelResponse_vpc :: Lens' StopChannelResponse (Maybe VpcOutputSettingsDescription)
- stopChannelResponse_egressEndpoints :: Lens' StopChannelResponse (Maybe [ChannelEgressEndpoint])
- stopChannelResponse_tags :: Lens' StopChannelResponse (Maybe (HashMap Text Text))
- stopChannelResponse_encoderSettings :: Lens' StopChannelResponse (Maybe EncoderSettings)
- stopChannelResponse_roleArn :: Lens' StopChannelResponse (Maybe Text)
- stopChannelResponse_httpStatus :: Lens' StopChannelResponse Int
Creating a Request
data StopChannel Source #
Placeholder documentation for StopChannelRequest
See: newStopChannel
smart constructor.
Instances
Create a value of StopChannel
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:StopChannel'
, stopChannel_channelId
- A request to stop a running channel
Request Lenses
stopChannel_channelId :: Lens' StopChannel Text Source #
A request to stop a running channel
Destructuring the Response
data StopChannelResponse Source #
Placeholder documentation for StopChannelResponse
See: newStopChannelResponse
smart constructor.
StopChannelResponse' | |
|
Instances
newStopChannelResponse Source #
Create a value of StopChannelResponse
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:StopChannelResponse'
, stopChannelResponse_state
- Undocumented member.
$sel:logLevel:StopChannelResponse'
, stopChannelResponse_logLevel
- The log level being written to CloudWatch Logs.
$sel:arn:StopChannelResponse'
, stopChannelResponse_arn
- The unique arn of the channel.
$sel:pipelinesRunningCount:StopChannelResponse'
, stopChannelResponse_pipelinesRunningCount
- The number of currently healthy pipelines.
$sel:pipelineDetails:StopChannelResponse'
, stopChannelResponse_pipelineDetails
- Runtime details for the pipelines of a running channel.
$sel:inputSpecification:StopChannelResponse'
, stopChannelResponse_inputSpecification
- Specification of network and file inputs for this channel
$sel:inputAttachments:StopChannelResponse'
, stopChannelResponse_inputAttachments
- List of input attachments for channel.
$sel:destinations:StopChannelResponse'
, stopChannelResponse_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:StopChannelResponse'
, stopChannelResponse_name
- The name of the channel. (user-mutable)
$sel:cdiInputSpecification:StopChannelResponse'
, stopChannelResponse_cdiInputSpecification
- Specification of CDI inputs for this channel
$sel:id:StopChannelResponse'
, stopChannelResponse_id
- The unique id of the channel.
$sel:channelClass:StopChannelResponse'
, stopChannelResponse_channelClass
- The class for this channel. STANDARD for a channel with two pipelines or
SINGLE_PIPELINE for a channel with one pipeline.
$sel:vpc:StopChannelResponse'
, stopChannelResponse_vpc
- Settings for VPC output
$sel:egressEndpoints:StopChannelResponse'
, stopChannelResponse_egressEndpoints
- The endpoints where outgoing connections initiate from
$sel:tags:StopChannelResponse'
, stopChannelResponse_tags
- A collection of key-value pairs.
$sel:encoderSettings:StopChannelResponse'
, stopChannelResponse_encoderSettings
- Undocumented member.
$sel:roleArn:StopChannelResponse'
, stopChannelResponse_roleArn
- The Amazon Resource Name (ARN) of the role assumed when running the
Channel.
$sel:httpStatus:StopChannelResponse'
, stopChannelResponse_httpStatus
- The response's http status code.
Response Lenses
stopChannelResponse_state :: Lens' StopChannelResponse (Maybe ChannelState) Source #
Undocumented member.
stopChannelResponse_logLevel :: Lens' StopChannelResponse (Maybe LogLevel) Source #
The log level being written to CloudWatch Logs.
stopChannelResponse_arn :: Lens' StopChannelResponse (Maybe Text) Source #
The unique arn of the channel.
stopChannelResponse_pipelinesRunningCount :: Lens' StopChannelResponse (Maybe Int) Source #
The number of currently healthy pipelines.
stopChannelResponse_pipelineDetails :: Lens' StopChannelResponse (Maybe [PipelineDetail]) Source #
Runtime details for the pipelines of a running channel.
stopChannelResponse_inputSpecification :: Lens' StopChannelResponse (Maybe InputSpecification) Source #
Specification of network and file inputs for this channel
stopChannelResponse_inputAttachments :: Lens' StopChannelResponse (Maybe [InputAttachment]) Source #
List of input attachments for channel.
stopChannelResponse_destinations :: Lens' StopChannelResponse (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.
stopChannelResponse_name :: Lens' StopChannelResponse (Maybe Text) Source #
The name of the channel. (user-mutable)
stopChannelResponse_cdiInputSpecification :: Lens' StopChannelResponse (Maybe CdiInputSpecification) Source #
Specification of CDI inputs for this channel
stopChannelResponse_id :: Lens' StopChannelResponse (Maybe Text) Source #
The unique id of the channel.
stopChannelResponse_channelClass :: Lens' StopChannelResponse (Maybe ChannelClass) Source #
The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
stopChannelResponse_vpc :: Lens' StopChannelResponse (Maybe VpcOutputSettingsDescription) Source #
Settings for VPC output
stopChannelResponse_egressEndpoints :: Lens' StopChannelResponse (Maybe [ChannelEgressEndpoint]) Source #
The endpoints where outgoing connections initiate from
stopChannelResponse_tags :: Lens' StopChannelResponse (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
stopChannelResponse_encoderSettings :: Lens' StopChannelResponse (Maybe EncoderSettings) Source #
Undocumented member.
stopChannelResponse_roleArn :: Lens' StopChannelResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
stopChannelResponse_httpStatus :: Lens' StopChannelResponse Int Source #
The response's http status code.