aws_sdk_licensemanager/client/delete_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 [`DeleteGrant`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`grant_arn(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::grant_arn) / [`set_grant_arn(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_grant_arn):<br>required: **true**<br><p>Amazon Resource Name (ARN) of the grant.</p><br>
7 /// - [`status_reason(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::status_reason) / [`set_status_reason(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_status_reason):<br>required: **false**<br><p>The Status reason for the delete request.</p><br>
8 /// - [`version(impl Into<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::set_version):<br>required: **true**<br><p>Current version of the grant.</p><br>
9 /// - On success, responds with [`DeleteGrantOutput`](crate::operation::delete_grant::DeleteGrantOutput) with field(s):
10 /// - [`grant_arn(Option<String>)`](crate::operation::delete_grant::DeleteGrantOutput::grant_arn): <p>Grant ARN.</p>
11 /// - [`status(Option<GrantStatus>)`](crate::operation::delete_grant::DeleteGrantOutput::status): <p>Grant status.</p>
12 /// - [`version(Option<String>)`](crate::operation::delete_grant::DeleteGrantOutput::version): <p>Grant version.</p>
13 /// - On failure, responds with [`SdkError<DeleteGrantError>`](crate::operation::delete_grant::DeleteGrantError)
14 pub fn delete_grant(&self) -> crate::operation::delete_grant::builders::DeleteGrantFluentBuilder {
15 crate::operation::delete_grant::builders::DeleteGrantFluentBuilder::new(self.handle.clone())
16 }
17}