aws_sdk_s3control/client/get_access_point_scope.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 [`GetAccessPointScope`](crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`GetAccessPointScopeOutput`](crate::operation::get_access_point_scope::GetAccessPointScopeOutput) with field(s):
9 /// - [`scope(Option<Scope>)`](crate::operation::get_access_point_scope::GetAccessPointScopeOutput::scope): <p>The contents of the access point scope.</p>
10 /// - On failure, responds with [`SdkError<GetAccessPointScopeError>`](crate::operation::get_access_point_scope::GetAccessPointScopeError)
11 pub fn get_access_point_scope(&self) -> crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder {
12 crate::operation::get_access_point_scope::builders::GetAccessPointScopeFluentBuilder::new(self.handle.clone())
13 }
14}