aws_sdk_devopsagent/client/update_agent_space.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateAgentSpace`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_space_id(impl Into<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
7 /// - [`name(impl Into<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_name):<br>required: **false**<br>The updated name of the AgentSpace.<br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_description):<br>required: **false**<br>The updated description of the AgentSpace.<br>
9 /// - [`locale(impl Into<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::locale) / [`set_locale(Option<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_locale):<br>required: **false**<br>The updated locale for the AgentSpace, which determines the language used in agent responses.<br>
10 /// - On success, responds with [`UpdateAgentSpaceOutput`](crate::operation::update_agent_space::UpdateAgentSpaceOutput) with field(s):
11 /// - [`agent_space(Option<AgentSpace>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::agent_space): Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.
12 /// - On failure, responds with [`SdkError<UpdateAgentSpaceError>`](crate::operation::update_agent_space::UpdateAgentSpaceError)
13 pub fn update_agent_space(&self) -> crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder {
14 crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::new(self.handle.clone())
15 }
16}