// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateView`](crate::operation::create_view::builders::CreateViewFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::set_name):<br>required: **true**<br>The name of the view. Must begin with the "view." prefix. View names must be unique within the account and region.<br>
/// - [`definition(impl Into<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::definition) / [`set_definition(Option<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::set_definition):<br>required: **true**<br>The SQL query that defines the view.<br>
/// - [`description(impl Into<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::set_description):<br>required: **false**<br>A description of the view.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::set_tags):<br>required: **false**<br>Resource tags.<br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_view::builders::CreateViewFluentBuilder::set_client_token):<br>required: **false**<br>Idempotency token for safe retries. Retrying with the same token returns the original view instead of creating a duplicate.<br>
/// - On success, responds with [`CreateViewOutput`](crate::operation::create_view::CreateViewOutput) with field(s):
/// - [`name(String)`](crate::operation::create_view::CreateViewOutput::name): The name of the view.
/// - [`r#type(ViewType)`](crate::operation::create_view::CreateViewOutput::type): The ownership category of the view.
/// - [`description(Option<String>)`](crate::operation::create_view::CreateViewOutput::description): The description of the view.
/// - [`definition(String)`](crate::operation::create_view::CreateViewOutput::definition): The SQL query that defines the view.
/// - [`created_at(DateTime)`](crate::operation::create_view::CreateViewOutput::created_at): The timestamp when the view was created.
/// - [`updated_at(DateTime)`](crate::operation::create_view::CreateViewOutput::updated_at): The timestamp when the view was last updated.
/// - [`arn(String)`](crate::operation::create_view::CreateViewOutput::arn): The ARN of the view.
/// - On failure, responds with [`SdkError<CreateViewError>`](crate::operation::create_view::CreateViewError)
pub fn create_view(&self) -> crate::operation::create_view::builders::CreateViewFluentBuilder {
crate::operation::create_view::builders::CreateViewFluentBuilder::new(self.handle.clone())
}
}