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 |
Creates a new channel
Synopsis
- data CreateChannel' = CreateChannel'' {
- requestId :: Maybe Text
- logLevel :: Maybe LogLevel
- inputSpecification :: Maybe InputSpecification
- inputAttachments :: Maybe [InputAttachment]
- reserved :: Maybe Text
- destinations :: Maybe [OutputDestination]
- name :: Maybe Text
- cdiInputSpecification :: Maybe CdiInputSpecification
- channelClass :: Maybe ChannelClass
- vpc :: Maybe VpcOutputSettings
- tags :: Maybe (HashMap Text Text)
- encoderSettings :: Maybe EncoderSettings
- roleArn :: Maybe Text
- newCreateChannel' :: CreateChannel'
- createChannel'_requestId :: Lens' CreateChannel' (Maybe Text)
- createChannel'_logLevel :: Lens' CreateChannel' (Maybe LogLevel)
- createChannel'_inputSpecification :: Lens' CreateChannel' (Maybe InputSpecification)
- createChannel'_inputAttachments :: Lens' CreateChannel' (Maybe [InputAttachment])
- createChannel'_reserved :: Lens' CreateChannel' (Maybe Text)
- createChannel'_destinations :: Lens' CreateChannel' (Maybe [OutputDestination])
- createChannel'_name :: Lens' CreateChannel' (Maybe Text)
- createChannel'_cdiInputSpecification :: Lens' CreateChannel' (Maybe CdiInputSpecification)
- createChannel'_channelClass :: Lens' CreateChannel' (Maybe ChannelClass)
- createChannel'_vpc :: Lens' CreateChannel' (Maybe VpcOutputSettings)
- createChannel'_tags :: Lens' CreateChannel' (Maybe (HashMap Text Text))
- createChannel'_encoderSettings :: Lens' CreateChannel' (Maybe EncoderSettings)
- createChannel'_roleArn :: Lens' CreateChannel' (Maybe Text)
- data CreateChannelResponse = CreateChannelResponse' {
- channel :: Maybe Channel
- httpStatus :: Int
- newCreateChannelResponse :: Int -> CreateChannelResponse
- createChannelResponse_channel :: Lens' CreateChannelResponse (Maybe Channel)
- createChannelResponse_httpStatus :: Lens' CreateChannelResponse Int
Creating a Request
data CreateChannel' Source #
A request to create a channel
See: newCreateChannel'
smart constructor.
CreateChannel'' | |
|
Instances
newCreateChannel' :: CreateChannel' Source #
Create a value of CreateChannel'
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:requestId:CreateChannel''
, createChannel'_requestId
- Unique request ID to be specified. This is needed to prevent retries
from creating multiple resources.
$sel:logLevel:CreateChannel''
, createChannel'_logLevel
- The log level to write to CloudWatch Logs.
$sel:inputSpecification:CreateChannel''
, createChannel'_inputSpecification
- Specification of network and file inputs for this channel
$sel:inputAttachments:CreateChannel''
, createChannel'_inputAttachments
- List of input attachments for channel.
$sel:reserved:CreateChannel''
, createChannel'_reserved
- Deprecated field that's only usable by whitelisted customers.
$sel:destinations:CreateChannel''
, createChannel'_destinations
- Undocumented member.
$sel:name:CreateChannel''
, createChannel'_name
- Name of channel.
$sel:cdiInputSpecification:CreateChannel''
, createChannel'_cdiInputSpecification
- Specification of CDI inputs for this channel
$sel:channelClass:CreateChannel''
, createChannel'_channelClass
- The class for this channel. STANDARD for a channel with two pipelines or
SINGLE_PIPELINE for a channel with one pipeline.
$sel:vpc:CreateChannel''
, createChannel'_vpc
- Settings for the VPC outputs
$sel:tags:CreateChannel''
, createChannel'_tags
- A collection of key-value pairs.
$sel:encoderSettings:CreateChannel''
, createChannel'_encoderSettings
- Undocumented member.
$sel:roleArn:CreateChannel''
, createChannel'_roleArn
- An optional Amazon Resource Name (ARN) of the role to assume when
running the Channel.
Request Lenses
createChannel'_requestId :: Lens' CreateChannel' (Maybe Text) Source #
Unique request ID to be specified. This is needed to prevent retries from creating multiple resources.
createChannel'_logLevel :: Lens' CreateChannel' (Maybe LogLevel) Source #
The log level to write to CloudWatch Logs.
createChannel'_inputSpecification :: Lens' CreateChannel' (Maybe InputSpecification) Source #
Specification of network and file inputs for this channel
createChannel'_inputAttachments :: Lens' CreateChannel' (Maybe [InputAttachment]) Source #
List of input attachments for channel.
createChannel'_reserved :: Lens' CreateChannel' (Maybe Text) Source #
Deprecated field that's only usable by whitelisted customers.
createChannel'_destinations :: Lens' CreateChannel' (Maybe [OutputDestination]) Source #
Undocumented member.
createChannel'_name :: Lens' CreateChannel' (Maybe Text) Source #
Name of channel.
createChannel'_cdiInputSpecification :: Lens' CreateChannel' (Maybe CdiInputSpecification) Source #
Specification of CDI inputs for this channel
createChannel'_channelClass :: Lens' CreateChannel' (Maybe ChannelClass) Source #
The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
createChannel'_vpc :: Lens' CreateChannel' (Maybe VpcOutputSettings) Source #
Settings for the VPC outputs
createChannel'_tags :: Lens' CreateChannel' (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs.
createChannel'_encoderSettings :: Lens' CreateChannel' (Maybe EncoderSettings) Source #
Undocumented member.
createChannel'_roleArn :: Lens' CreateChannel' (Maybe Text) Source #
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
Destructuring the Response
data CreateChannelResponse Source #
Placeholder documentation for CreateChannelResponse
See: newCreateChannelResponse
smart constructor.
CreateChannelResponse' | |
|
Instances
newCreateChannelResponse Source #
Create a value of CreateChannelResponse
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:channel:CreateChannelResponse'
, createChannelResponse_channel
- Undocumented member.
$sel:httpStatus:CreateChannelResponse'
, createChannelResponse_httpStatus
- The response's http status code.
Response Lenses
createChannelResponse_channel :: Lens' CreateChannelResponse (Maybe Channel) Source #
Undocumented member.
createChannelResponse_httpStatus :: Lens' CreateChannelResponse Int Source #
The response's http status code.