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
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDomainAccessGrantForOrganization`](crate::operation::get_domain_access_grant_for_organization::builders::GetDomainAccessGrantForOrganizationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_id(impl Into<String>)`](crate::operation::get_domain_access_grant_for_organization::builders::GetDomainAccessGrantForOrganizationFluentBuilder::grant_id) / [`set_grant_id(Option<String>)`](crate::operation::get_domain_access_grant_for_organization::builders::GetDomainAccessGrantForOrganizationFluentBuilder::set_grant_id):<br>required: **true**<br>The ID of the access grant to retrieve.<br>
    /// - On success, responds with [`GetDomainAccessGrantForOrganizationOutput`](crate::operation::get_domain_access_grant_for_organization::GetDomainAccessGrantForOrganizationOutput) with field(s):
    ///   - [`access_grant(Option<OrganizationAccessGrant>)`](crate::operation::get_domain_access_grant_for_organization::GetDomainAccessGrantForOrganizationOutput::access_grant): The retrieved organization access grant.
    /// - On failure, responds with [`SdkError<GetDomainAccessGrantForOrganizationError>`](crate::operation::get_domain_access_grant_for_organization::GetDomainAccessGrantForOrganizationError)
    pub fn get_domain_access_grant_for_organization(
        &self,
    ) -> crate::operation::get_domain_access_grant_for_organization::builders::GetDomainAccessGrantForOrganizationFluentBuilder {
        crate::operation::get_domain_access_grant_for_organization::builders::GetDomainAccessGrantForOrganizationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}