1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccessGrantsInstanceForPrefix`](crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetAccessGrantsInstanceForPrefixOutput`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetAccessGrantsInstanceForPrefixError>`](crate::operation::get_access_grants_instance_for_prefix::GetAccessGrantsInstanceForPrefixError)
    pub fn get_access_grants_instance_for_prefix(
        &self,
    ) -> crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder {
        crate::operation::get_access_grants_instance_for_prefix::builders::GetAccessGrantsInstanceForPrefixFluentBuilder::new(self.handle.clone())
    }
}