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