// 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(),
)
}
}