aws_sdk_s3control/client/get_access_grants_instance_for_prefix.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 [`GetAccessGrantsInstanceForPrefix`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::set_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that is making this request.</p><br>
7 /// - [`s3_prefix(impl Into<String>)`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::s3_prefix) / [`set_s3_prefix(Option<String>)`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::set_s3_prefix):<br>required: **true**<br><p>The S3 prefix of the access grants that you would like to retrieve.</p><br>
8 /// - On success, responds with [`GetAccessGrantsInstanceForPrefixOutput`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixOutput) with field(s):
9 /// - [`access_grants_instance_arn(Option<String>)`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixOutput::access_grants_instance_arn): <p>The Amazon Resource Name (ARN) of the S3 Access Grants instance.</p>
10 /// - [`access_grants_instance_id(Option<String>)`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixOutput::access_grants_instance_id): <p>The ID of the S3 Access Grants instance. The ID is <code>default</code>. You can have one S3 Access Grants instance per Region per account.</p>
11 /// - On failure, responds with [`SdkError<GetAccessGrantsInstanceForPrefixError>`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixError)
12 pub fn get_access_grants_instance_for_prefix(
13 &self,
14 ) -> crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder {
15 crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::new(self.handle.clone())
16 }
17}