// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAgentSpace`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_name):<br>required: **true**<br>The name of the AgentSpace.<br>
/// - [`description(impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_description):<br>required: **false**<br>The description of the AgentSpace.<br>
/// - [`locale(impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::locale) / [`set_locale(Option<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_locale):<br>required: **false**<br>The locale for the AgentSpace, which determines the language used in agent responses.<br>
/// - [`kms_key_arn(impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::kms_key_arn) / [`set_kms_key_arn(Option<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_kms_key_arn):<br>required: **false**<br>The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.<br>
/// - [`client_token(impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_client_token):<br>required: **false**<br>Client-provided token to ensure request idempotency. When the same token is provided in subsequent calls, the same response is returned within a 8-hour window.<br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::set_tags):<br>required: **false**<br>Tags to add to the AgentSpace at creation time.<br>
/// - On success, responds with [`CreateAgentSpaceOutput`](crate::operation::create_agent_space::CreateAgentSpaceOutput) with field(s):
/// - [`agent_space(Option<AgentSpace>)`](crate::operation::create_agent_space::CreateAgentSpaceOutput::agent_space): Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.
/// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_agent_space::CreateAgentSpaceOutput::tags): Tags associated with the created AgentSpace.
/// - On failure, responds with [`SdkError<CreateAgentSpaceError>`](crate::operation::create_agent_space::CreateAgentSpaceError)
pub fn create_agent_space(&self) -> crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder {
crate::operation::create_agent_space::builders::CreateAgentSpaceFluentBuilder::new(self.handle.clone())
}
}