aws-sdk-s3control 1.118.0

AWS SDK for AWS S3 Control
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAccessPointScope`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID that owns the access point with the scope that you want to retrieve.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the access point with the scope you want to retrieve.</p><br>
    /// - On success, responds with [`GetAccessPointScopeOutput`](crate::operation::get_access_point_scope::GetAccessPointScopeOutput) with field(s):
    ///   - [`scope(Option<Scope>)`](crate::operation::get_access_point_scope::GetAccessPointScopeOutput::scope): <p>The contents of the access point scope.</p>
    /// - On failure, responds with [`SdkError<GetAccessPointScopeError>`](crate::operation::get_access_point_scope::GetAccessPointScopeError)
    pub fn get_access_point_scope(&self) -> crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder {
        crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::new(self.handle.clone())
    }
}