aws-sdk-licensemanager 1.95.0

AWS SDK for AWS License Manager
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 [`GetGrant`](crate::operation::get_grant::builders::GetGrantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`grant_arn(impl Into<String>)`](crate::operation::get_grant::builders::GetGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::get_grant::builders::GetGrantFluentBuilder::set_grant_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the grant.</p><br>
    ///   - [`version(impl Into<String>)`](crate::operation::get_grant::builders::GetGrantFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::get_grant::builders::GetGrantFluentBuilder::set_version):<br>required: **false**<br><p>Grant version.</p><br>
    /// - On success, responds with [`GetGrantOutput`](crate::operation::get_grant::GetGrantOutput) with field(s):
    ///   - [`grant(Option<Grant>)`](crate::operation::get_grant::GetGrantOutput::grant): <p>Grant details.</p>
    /// - On failure, responds with [`SdkError<GetGrantError>`](crate::operation::get_grant::GetGrantError)
    pub fn get_grant(&self) -> crate::operation::get_grant::builders::GetGrantFluentBuilder {
        crate::operation::get_grant::builders::GetGrantFluentBuilder::new(self.handle.clone())
    }
}