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><p>The unique identifier of the AgentSpace</p><br>
7 /// - [`included_data(IncludedData)`](crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::included_data) / [`set_included_data(Option<IncludedData>)`](crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::set_included_data):<br>required: **false**<br><p>How much data to include in the response.</p><br>
8 /// - On success, responds with [`GetAgentSpaceOutput`](crate::operation::get_agent_space::GetAgentSpaceOutput) with field(s):
9 /// - [`agent_space(Option<AgentSpace>)`](crate::operation::get_agent_space::GetAgentSpaceOutput::agent_space): <p>Represents a complete AgentSpace with all its properties, timestamps, encryption settings, and unique identifier.</p>
10 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_agent_space::GetAgentSpaceOutput::tags): <p>Tags associated with the AgentSpace.</p>
11 /// - On failure, responds with [`SdkError<GetAgentSpaceError>`](crate::operation::get_agent_space::GetAgentSpaceError)
12 pub fn get_agent_space(&self) -> crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder {
13 crate::operation::get_agent_space::builders::GetAgentSpaceFluentBuilder::new(self.handle.clone())
14 }
15}