// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListAccessGrantsLocations`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`account_id(impl Into<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::set_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that is making this request.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token to request the next page of results. Pass this value into a subsequent <code>List Access Grants Locations</code> request in order to retrieve the next page of results.</p><br>
/// - [`max_results(i32)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of access grants that you would like returned in the <code>List Access Grants</code> response. If the results include the pagination token <code>NextToken</code>, make another call using the <code>NextToken</code> to determine if there are more results.</p><br>
/// - [`location_scope(impl Into<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::location_scope) / [`set_location_scope(Option<String>)`](crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::set_location_scope):<br>required: **false**<br><p>The S3 path to the location that you are registering. The location scope can be the default S3 location <code>s3://</code>, the S3 path to a bucket <code>s3://<bucket></bucket></code>, or the S3 path to a bucket and prefix <code>s3://<bucket> / <prefix></prefix> </bucket></code>. A prefix in S3 is a string of characters at the beginning of an object key name used to organize the objects that you store in your S3 buckets. For example, object key names that start with the <code>engineering/</code> prefix or object key names that start with the <code>marketing/campaigns/</code> prefix.</p><br>
/// - On success, responds with [`ListAccessGrantsLocationsOutput`](crate::operation::list_access_grants_locations::ListAccessGrantsLocationsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_access_grants_locations::ListAccessGrantsLocationsOutput::next_token): <p>A pagination token to request the next page of results. Pass this value into a subsequent <code>List Access Grants Locations</code> request in order to retrieve the next page of results.</p>
/// - [`access_grants_locations_list(Option<Vec::<ListAccessGrantsLocationsEntry>>)`](crate::operation::list_access_grants_locations::ListAccessGrantsLocationsOutput::access_grants_locations_list): <p>A container for a list of registered locations in an S3 Access Grants instance.</p>
/// - On failure, responds with [`SdkError<ListAccessGrantsLocationsError>`](crate::operation::list_access_grants_locations::ListAccessGrantsLocationsError)
pub fn list_access_grants_locations(&self) -> crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder {
crate::operation::list_access_grants_locations::builders::ListAccessGrantsLocationsFluentBuilder::new(self.handle.clone())
}
}