aws_sdk_licensemanager/client/
accept_grant.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`AcceptGrant`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`grant_arn(impl Into<String>)`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::set_grant_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the grant.</p><br>
7    /// - On success, responds with [`AcceptGrantOutput`](crate::operation::accept_grant::AcceptGrantOutput) with field(s):
8    ///   - [`grant_arn(Option<String>)`](crate::operation::accept_grant::AcceptGrantOutput::grant_arn): <p>Grant ARN.</p>
9    ///   - [`status(Option<GrantStatus>)`](crate::operation::accept_grant::AcceptGrantOutput::status): <p>Grant status.</p>
10    ///   - [`version(Option<String>)`](crate::operation::accept_grant::AcceptGrantOutput::version): <p>Grant version.</p>
11    /// - On failure, responds with [`SdkError<AcceptGrantError>`](crate::operation::accept_grant::AcceptGrantError)
12    pub fn accept_grant(&self) -> crate::operation::accept_grant::builders::AcceptGrantFluentBuilder {
13        crate::operation::accept_grant::builders::AcceptGrantFluentBuilder::new(self.handle.clone())
14    }
15}