aws-sdk-cloudwatchomni 1.2.0

AWS SDK for CloudWatch Omni
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSpace`](crate::operation::get_space::builders::GetSpaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_id(impl Into<String>)`](crate::operation::get_space::builders::GetSpaceFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::get_space::builders::GetSpaceFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space.<br>
    /// - On success, responds with [`GetSpaceOutput`](crate::operation::get_space::GetSpaceOutput) with field(s):
    ///   - [`space(Option<Space>)`](crate::operation::get_space::GetSpaceOutput::space): The details of the space.
    /// - On failure, responds with [`SdkError<GetSpaceError>`](crate::operation::get_space::GetSpaceError)
    pub fn get_space(&self) -> crate::operation::get_space::builders::GetSpaceFluentBuilder {
        crate::operation::get_space::builders::GetSpaceFluentBuilder::new(self.handle.clone())
    }
}