aws_sdk_mediapackage/client/
describe_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 [`DescribeChannel`](crate::operation::describe_channel::builders::DescribeChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::describe_channel::builders::DescribeChannelFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::describe_channel::builders::DescribeChannelFluentBuilder::set_id):<br>required: **true**<br>The ID of a Channel.<br>
7    /// - On success, responds with [`DescribeChannelOutput`](crate::operation::describe_channel::DescribeChannelOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::describe_channel::DescribeChannelOutput::arn): The Amazon Resource Name (ARN) assigned to the Channel.
9    ///   - [`created_at(Option<String>)`](crate::operation::describe_channel::DescribeChannelOutput::created_at): The date and time the Channel was created.
10    ///   - [`description(Option<String>)`](crate::operation::describe_channel::DescribeChannelOutput::description): A short text description of the Channel.
11    ///   - [`egress_access_logs(Option<EgressAccessLogs>)`](crate::operation::describe_channel::DescribeChannelOutput::egress_access_logs): Configure egress access logging.
12    ///   - [`hls_ingest(Option<HlsIngest>)`](crate::operation::describe_channel::DescribeChannelOutput::hls_ingest): An HTTP Live Streaming (HLS) ingest resource configuration.
13    ///   - [`id(Option<String>)`](crate::operation::describe_channel::DescribeChannelOutput::id): The ID of the Channel.
14    ///   - [`ingress_access_logs(Option<IngressAccessLogs>)`](crate::operation::describe_channel::DescribeChannelOutput::ingress_access_logs): Configure ingress access logging.
15    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_channel::DescribeChannelOutput::tags): A collection of tags associated with a resource
16    /// - On failure, responds with [`SdkError<DescribeChannelError>`](crate::operation::describe_channel::DescribeChannelError)
17    pub fn describe_channel(&self) -> crate::operation::describe_channel::builders::DescribeChannelFluentBuilder {
18        crate::operation::describe_channel::builders::DescribeChannelFluentBuilder::new(self.handle.clone())
19    }
20}