// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateStreamKey`](crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`channel_arn(impl Into<String>)`](crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder::channel_arn) / [`set_channel_arn(Option<String>)`](crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder::set_channel_arn):<br>required: **true**<br><p>ARN of the channel for which to create the stream key.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder::set_tags):<br>required: **false**<br><p>Array of 1-50 maps, each of the form <code>string:string (key:value)</code>. See <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> for more information, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no service-specific constraints beyond what is documented there.</p><br>
/// - On success, responds with [`CreateStreamKeyOutput`](crate::operation::create_stream_key::CreateStreamKeyOutput) with field(s):
/// - [`stream_key(Option<StreamKey>)`](crate::operation::create_stream_key::CreateStreamKeyOutput::stream_key): <p>Stream key used to authenticate an RTMPS stream for ingestion.</p>
/// - On failure, responds with [`SdkError<CreateStreamKeyError>`](crate::operation::create_stream_key::CreateStreamKeyError)
pub fn create_stream_key(&self) -> crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder {
crate::operation::create_stream_key::builders::CreateStreamKeyFluentBuilder::new(self.handle.clone())
}
}