aws_sdk_s3control/client/delete_access_grants_location.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 [`DeleteAccessGrantsLocation`](crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the S3 Access Grants instance.</p><br>
7 /// - [`access_grants_location_id(impl Into<String>)`](crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder::access_grants_location_id) / [`set_access_grants_location_id(Option<String>)`](crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder::set_access_grants_location_id):<br>required: **true**<br><p>The ID of the registered location that you are deregistering from your S3 Access Grants instance. S3 Access Grants assigned this ID when you registered the location. S3 Access Grants assigns the ID <code>default</code> to the default location <code>s3://</code> and assigns an auto-generated ID to other locations that you register.</p><br>
8 /// - On success, responds with [`DeleteAccessGrantsLocationOutput`](crate::operation::delete_access_grants_location::DeleteAccessGrantsLocationOutput)
9 /// - On failure, responds with [`SdkError<DeleteAccessGrantsLocationError>`](crate::operation::delete_access_grants_location::DeleteAccessGrantsLocationError)
10 pub fn delete_access_grants_location(
11 &self,
12 ) -> crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder {
13 crate::operation::delete_access_grants_location::builders::DeleteAccessGrantsLocationFluentBuilder::new(self.handle.clone())
14 }
15}