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