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 [`GetApplicationGrant`](crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_arn(impl Into<String>)`](crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder::application_arn) / [`set_application_arn(Option<String>)`](crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder::set_application_arn):<br>required: **true**<br><p>Specifies the ARN of the application that contains the grant.</p><br>
    ///   - [`grant_type(GrantType)`](crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder::grant_type) / [`set_grant_type(Option<GrantType>)`](crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder::set_grant_type):<br>required: **true**<br><p>Specifies the type of grant.</p><br>
    /// - On success, responds with [`GetApplicationGrantOutput`](crate::operation::get_application_grant::GetApplicationGrantOutput) with field(s):
    ///   - [`grant(Option<Grant>)`](crate::operation::get_application_grant::GetApplicationGrantOutput::grant): <p>A structure that describes the requested grant.</p>
    /// - On failure, responds with [`SdkError<GetApplicationGrantError>`](crate::operation::get_application_grant::GetApplicationGrantError)
    pub fn get_application_grant(&self) -> crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder {
        crate::operation::get_application_grant::builders::GetApplicationGrantFluentBuilder::new(self.handle.clone())
    }
}