// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateSpace`](crate::operation::create_space::builders::CreateSpaceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_name):<br>required: **true**<br>A name that identifies the space. Must be 3-64 characters: lowercase letters, numbers, and hyphens. It must begin and end with a letter or number and cannot contain consecutive hyphens.<br>
/// - [`domain_id(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_domain_id):<br>required: **true**<br>The ID of the domain to create the space in.<br>
/// - [`data_access_role_arn(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::data_access_role_arn) / [`set_data_access_role_arn(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_data_access_role_arn):<br>required: **true**<br>The ARN of the IAM role used for data access. The role must be in the caller's account.<br>
/// - [`agent_core_evaluation_role_arn(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::agent_core_evaluation_role_arn) / [`set_agent_core_evaluation_role_arn(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_agent_core_evaluation_role_arn):<br>required: **false**<br>The ARN of the IAM role used by AgentCore online evaluation. Must be in the caller's account. Omit if the space does not use AgentCore online evaluation.<br>
/// - [`encryption_configuration(EncryptionConfiguration)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::encryption_configuration) / [`set_encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_encryption_configuration):<br>required: **false**<br>How to encrypt the space's data at rest. Omit for service owned encryption, which is equivalent to passing `encryptionStrategy` AWS_OWNED.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_tags):<br>required: **false**<br>The tags to associate with the space.<br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_client_token):<br>required: **false**<br>Idempotency token for safe retries. Repeated requests with the same token return the original result instead of creating a duplicate.<br>
/// - On success, responds with [`CreateSpaceOutput`](crate::operation::create_space::CreateSpaceOutput) with field(s):
/// - [`space(Option<Space>)`](crate::operation::create_space::CreateSpaceOutput::space): The details of the created space.
/// - On failure, responds with [`SdkError<CreateSpaceError>`](crate::operation::create_space::CreateSpaceError)
pub fn create_space(&self) -> crate::operation::create_space::builders::CreateSpaceFluentBuilder {
crate::operation::create_space::builders::CreateSpaceFluentBuilder::new(self.handle.clone())
}
}