aws_sdk_devopsagent/client/get_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 [`GetAgentSpace`](crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_space_id(impl Into<String>)`](crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::set_agent_space_id):<br>required: **true**<br>The unique identifier of the AgentSpace<br>
7 /// - On success, responds with [`GetAgentSpaceOutput`](crate::operation::get_agent_space::GetAgentSpaceOutput) with field(s):
8 /// - [`agent_space(Option<AgentSpace>)`](crate::operation::get_agent_space::GetAgentSpaceOutput::agent_space): Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.
9 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_agent_space::GetAgentSpaceOutput::tags): Tags associated with the AgentSpace.
10 /// - On failure, responds with [`SdkError<GetAgentSpaceError>`](crate::operation::get_agent_space::GetAgentSpaceError)
11 pub fn get_agent_space(&self) -> crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder {
12 crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::new(self.handle.clone())
13 }
14}