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
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccessProfile`](crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`space_id(impl Into<String>)`](crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder::set_space_id):<br>required: **true**<br>The unique ID of the space.<br>
    ///   - [`profile_id(impl Into<String>)`](crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder::set_profile_id):<br>required: **true**<br>The unique ID of the access profile.<br>
    /// - On success, responds with [`GetAccessProfileOutput`](crate::operation::get_access_profile::GetAccessProfileOutput) with field(s):
    ///   - [`access_profile(Option<AccessProfile>)`](crate::operation::get_access_profile::GetAccessProfileOutput::access_profile): The access profile.
    /// - On failure, responds with [`SdkError<GetAccessProfileError>`](crate::operation::get_access_profile::GetAccessProfileError)
    pub fn get_access_profile(&self) -> crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder {
        crate::operation::get_access_profile::builders::GetAccessProfileFluentBuilder::new(self.handle.clone())
    }
}