1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 2 | pub use crate::operation::get_access_point_scope::_get_access_point_scope_input::GetAccessPointScopeInputBuilder;
|
3 3 |
|
4 4 | pub use crate::operation::get_access_point_scope::_get_access_point_scope_output::GetAccessPointScopeOutputBuilder;
|
5 5 |
|
6 6 | impl crate::operation::get_access_point_scope::builders::GetAccessPointScopeInputBuilder {
|
7 7 | /// Sends a request with this input using the given client.
|
8 8 | pub async fn send_with(
|
9 9 | self,
|
10 10 | client: &crate::Client,
|
11 11 | ) -> ::std::result::Result<
|
12 12 | crate::operation::get_access_point_scope::GetAccessPointScopeOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::get_access_point_scope::GetAccessPointScopeError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.get_access_point_scope();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `GetAccessPointScope`.
|
24 24 | ///
|
25 25 | /// <p>Returns the access point scope for a directory bucket.</p>
|
26 26 | /// <p>To use this operation, you must have the permission to perform the <code>s3express:GetAccessPointScope</code> action.</p>
|
27 - | /// <p>For information about REST API errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses">REST error responses</a>.</p><important>
|
28 - | /// <p>You must URL encode any signed header values that contain spaces. For example, if your header value is <code>my file.txt</code>, containing two spaces after <code>my</code>, you must URL encode this value to <code>my%20%20file.txt</code>.</p>
|
29 - | /// </important>
|
27 + | /// <p>For information about REST API errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses">REST error responses</a>.</p>
|
30 28 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
31 29 | pub struct GetAccessPointScopeFluentBuilder {
|
32 30 | handle: ::std::sync::Arc<crate::client::Handle>,
|
33 31 | inner: crate::operation::get_access_point_scope::builders::GetAccessPointScopeInputBuilder,
|
34 32 | config_override: ::std::option::Option<crate::config::Builder>,
|
35 33 | }
|
36 34 | impl
|
37 35 | crate::client::customize::internal::CustomizableSend<
|
38 36 | crate::operation::get_access_point_scope::GetAccessPointScopeOutput,
|
39 37 | crate::operation::get_access_point_scope::GetAccessPointScopeError,
|
40 38 | > for GetAccessPointScopeFluentBuilder
|
41 39 | {
|
42 40 | fn send(
|
43 41 | self,
|
44 42 | config_override: crate::config::Builder,
|
45 43 | ) -> crate::client::customize::internal::BoxFuture<
|
46 44 | crate::client::customize::internal::SendResult<
|
47 45 | crate::operation::get_access_point_scope::GetAccessPointScopeOutput,
|
48 46 | crate::operation::get_access_point_scope::GetAccessPointScopeError,
|
49 47 | >,
|
50 48 | > {
|
51 49 | ::std::boxed::Box::pin(async move { self.config_override(config_override).send().await })
|
52 50 | }
|
53 51 | }
|
54 52 | impl GetAccessPointScopeFluentBuilder {
|
55 53 | /// Creates a new `GetAccessPointScopeFluentBuilder`.
|
56 54 | pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
|
57 55 | Self {
|
58 56 | handle,
|
59 57 | inner: ::std::default::Default::default(),
|