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 [`GetAccessGrant`](crate::operation::get_access_grant::builders::GetAccessGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_id(impl Into<String>)`](crate::operation::get_access_grant::builders::GetAccessGrantFluentBuilder::grant_id) / [`set_grant_id(Option<String>)`](crate::operation::get_access_grant::builders::GetAccessGrantFluentBuilder::set_grant_id):<br>required: **true**<br>The ID of the access grant to retrieve.<br>
    /// - On success, responds with [`GetAccessGrantOutput`](crate::operation::get_access_grant::GetAccessGrantOutput) with field(s):
    ///   - [`access_grant(Option<AccessGrant>)`](crate::operation::get_access_grant::GetAccessGrantOutput::access_grant): The full details of the access grant.
    /// - On failure, responds with [`SdkError<GetAccessGrantError>`](crate::operation::get_access_grant::GetAccessGrantError)
    pub fn get_access_grant(&self) -> crate::operation::get_access_grant::builders::GetAccessGrantFluentBuilder {
        crate::operation::get_access_grant::builders::GetAccessGrantFluentBuilder::new(self.handle.clone())
    }
}