aws_sdk_securityagent/client/delete_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 [`DeleteAgentSpace`](crate::operation::delete_agent_space::builders::DeleteAgentSpaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_space_id(impl Into<String>)`](crate::operation::delete_agent_space::builders::DeleteAgentSpaceFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::delete_agent_space::builders::DeleteAgentSpaceFluentBuilder::set_agent_space_id):<br>required: **true**<br>Unique identifier of the agent space to delete<br>
7 /// - On success, responds with [`DeleteAgentSpaceOutput`](crate::operation::delete_agent_space::DeleteAgentSpaceOutput) with field(s):
8 /// - [`agent_space_id(Option<String>)`](crate::operation::delete_agent_space::DeleteAgentSpaceOutput::agent_space_id): Unique identifier of the deleted agent space
9 /// - On failure, responds with [`SdkError<DeleteAgentSpaceError>`](crate::operation::delete_agent_space::DeleteAgentSpaceError)
10 pub fn delete_agent_space(&self) -> crate::operation::delete_agent_space::builders::DeleteAgentSpaceFluentBuilder {
11 crate::operation::delete_agent_space::builders::DeleteAgentSpaceFluentBuilder::new(self.handle.clone())
12 }
13}