aws_sdk_medialive/client/
start_channel.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StartChannel`](crate::operation::start_channel::builders::StartChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`channel_id(impl Into<String>)`](crate::operation::start_channel::builders::StartChannelFluentBuilder::channel_id) / [`set_channel_id(Option<String>)`](crate::operation::start_channel::builders::StartChannelFluentBuilder::set_channel_id):<br>required: **true**<br>A request to start a channel<br>
7    /// - On success, responds with [`StartChannelOutput`](crate::operation::start_channel::StartChannelOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::start_channel::StartChannelOutput::arn): The unique arn of the channel.
9    ///   - [`cdi_input_specification(Option<CdiInputSpecification>)`](crate::operation::start_channel::StartChannelOutput::cdi_input_specification): Specification of CDI inputs for this channel
10    ///   - [`channel_class(Option<ChannelClass>)`](crate::operation::start_channel::StartChannelOutput::channel_class): The class for this channel. STANDARD for a channel with two pipelines or SINGLE_PIPELINE for a channel with one pipeline.
11    ///   - [`destinations(Option<Vec::<OutputDestination>>)`](crate::operation::start_channel::StartChannelOutput::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.
12    ///   - [`egress_endpoints(Option<Vec::<ChannelEgressEndpoint>>)`](crate::operation::start_channel::StartChannelOutput::egress_endpoints): The endpoints where outgoing connections initiate from
13    ///   - [`encoder_settings(Option<EncoderSettings>)`](crate::operation::start_channel::StartChannelOutput::encoder_settings): Encoder Settings
14    ///   - [`id(Option<String>)`](crate::operation::start_channel::StartChannelOutput::id): The unique id of the channel.
15    ///   - [`input_attachments(Option<Vec::<InputAttachment>>)`](crate::operation::start_channel::StartChannelOutput::input_attachments): List of input attachments for channel.
16    ///   - [`input_specification(Option<InputSpecification>)`](crate::operation::start_channel::StartChannelOutput::input_specification): Specification of network and file inputs for this channel
17    ///   - [`log_level(Option<LogLevel>)`](crate::operation::start_channel::StartChannelOutput::log_level): The log level being written to CloudWatch Logs.
18    ///   - [`maintenance(Option<MaintenanceStatus>)`](crate::operation::start_channel::StartChannelOutput::maintenance): Maintenance settings for this channel.
19    ///   - [`name(Option<String>)`](crate::operation::start_channel::StartChannelOutput::name): The name of the channel. (user-mutable)
20    ///   - [`pipeline_details(Option<Vec::<PipelineDetail>>)`](crate::operation::start_channel::StartChannelOutput::pipeline_details): Runtime details for the pipelines of a running channel.
21    ///   - [`pipelines_running_count(Option<i32>)`](crate::operation::start_channel::StartChannelOutput::pipelines_running_count): The number of currently healthy pipelines.
22    ///   - [`role_arn(Option<String>)`](crate::operation::start_channel::StartChannelOutput::role_arn): The Amazon Resource Name (ARN) of the role assumed when running the Channel.
23    ///   - [`state(Option<ChannelState>)`](crate::operation::start_channel::StartChannelOutput::state): Placeholder documentation for ChannelState
24    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::start_channel::StartChannelOutput::tags): A collection of key-value pairs.
25    ///   - [`vpc(Option<VpcOutputSettingsDescription>)`](crate::operation::start_channel::StartChannelOutput::vpc): Settings for VPC output
26    ///   - [`anywhere_settings(Option<DescribeAnywhereSettings>)`](crate::operation::start_channel::StartChannelOutput::anywhere_settings): Anywhere settings for this channel.
27    ///   - [`channel_engine_version(Option<ChannelEngineVersionResponse>)`](crate::operation::start_channel::StartChannelOutput::channel_engine_version): Requested engine version for this channel.
28    /// - On failure, responds with [`SdkError<StartChannelError>`](crate::operation::start_channel::StartChannelError)
29    pub fn start_channel(&self) -> crate::operation::start_channel::builders::StartChannelFluentBuilder {
30        crate::operation::start_channel::builders::StartChannelFluentBuilder::new(self.handle.clone())
31    }
32}