Skip to main content

aws_sdk_securityagent/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>ID of the agent space to update<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>Name of the agent space<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>Description of the agent space<br>
9    ///   - [`aws_resources(AwsResources)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::aws_resources) / [`set_aws_resources(Option<AwsResources>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_aws_resources):<br>required: **false**<br>AWS resource configurations associated with the agent space<br>
10    ///   - [`target_domain_ids(impl Into<String>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::target_domain_ids) / [`set_target_domain_ids(Option<Vec::<String>>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_target_domain_ids):<br>required: **false**<br>Target domain IDs to associate with the agent space<br>
11    ///   - [`code_review_settings(CodeReviewSettings)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::code_review_settings) / [`set_code_review_settings(Option<CodeReviewSettings>)`](crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::set_code_review_settings):<br>required: **false**<br>Configuration for code review analysis, including controls scanning and general purpose scanning settings<br>
12    /// - On success, responds with [`UpdateAgentSpaceOutput`](crate::operation::update_agent_space::UpdateAgentSpaceOutput) with field(s):
13    ///   - [`agent_space_id(String)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::agent_space_id): Unique identifier of the agent space
14    ///   - [`name(String)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::name): Name of the agent space
15    ///   - [`description(Option<String>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::description): Description of the agent space
16    ///   - [`aws_resources(Option<AwsResources>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::aws_resources): AWS resource configurations associated with the agent space
17    ///   - [`target_domain_ids(Option<Vec::<String>>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::target_domain_ids): List of target domain IDs registered with the agent space
18    ///   - [`code_review_settings(Option<CodeReviewSettings>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::code_review_settings): Configuration for code review analysis, including controls scanning and general purpose scanning settings
19    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::created_at): Timestamp when the agent space was created
20    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_agent_space::UpdateAgentSpaceOutput::updated_at): Timestamp when the agent space was last updated
21    /// - On failure, responds with [`SdkError<UpdateAgentSpaceError>`](crate::operation::update_agent_space::UpdateAgentSpaceError)
22    pub fn update_agent_space(&self) -> crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder {
23        crate::operation::update_agent_space::builders::UpdateAgentSpaceFluentBuilder::new(self.handle.clone())
24    }
25}