// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateStream`](crate::operation::create_stream::builders::CreateStreamFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`cluster_identifier(impl Into<String>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The ID of the cluster for which to create the stream.</p><br>
/// - [`target_definition(TargetDefinition)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::target_definition) / [`set_target_definition(Option<TargetDefinition>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_target_definition):<br>required: **true**<br><p>The target destination configuration for the stream. Contains Kinesis stream configuration including stream ARN and IAM role ARN.</p><br>
/// - [`ordering(StreamOrdering)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::ordering) / [`set_ordering(Option<StreamOrdering>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_ordering):<br>required: **true**<br><p>The ordering mode for the stream. Determines how change events are ordered when delivered to the target.</p><br>
/// - [`format(StreamFormat)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::format) / [`set_format(Option<StreamFormat>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_format):<br>required: **true**<br><p>The format of the stream records.</p><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_tags):<br>required: **false**<br><p>A map of key and value pairs to use to tag your stream.</p><br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_stream::builders::CreateStreamFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect.</p> <p>If you don't specify a client token, the Amazon Web Services SDK automatically generates one.</p><br>
/// - On success, responds with [`CreateStreamOutput`](crate::operation::create_stream::CreateStreamOutput) with field(s):
/// - [`cluster_identifier(String)`](crate::operation::create_stream::CreateStreamOutput::cluster_identifier): <p>The ID of the cluster for the created stream.</p>
/// - [`stream_identifier(String)`](crate::operation::create_stream::CreateStreamOutput::stream_identifier): <p>The ID of the created stream.</p>
/// - [`arn(String)`](crate::operation::create_stream::CreateStreamOutput::arn): <p>The ARN of the created stream.</p>
/// - [`status(StreamStatus)`](crate::operation::create_stream::CreateStreamOutput::status): <p>The status of the created stream.</p>
/// - [`creation_time(DateTime)`](crate::operation::create_stream::CreateStreamOutput::creation_time): <p>The time when created the stream.</p>
/// - [`ordering(StreamOrdering)`](crate::operation::create_stream::CreateStreamOutput::ordering): <p>The ordering mode of the created stream.</p>
/// - [`format(StreamFormat)`](crate::operation::create_stream::CreateStreamOutput::format): <p>The format of the created stream records.</p>
/// - On failure, responds with [`SdkError<CreateStreamError>`](crate::operation::create_stream::CreateStreamError)
pub fn create_stream(&self) -> crate::operation::create_stream::builders::CreateStreamFluentBuilder {
crate::operation::create_stream::builders::CreateStreamFluentBuilder::new(self.handle.clone())
}
}