1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::list_access_points_for_directory_buckets::_list_access_points_for_directory_buckets_output::ListAccessPointsForDirectoryBucketsOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::list_access_points_for_directory_buckets::_list_access_points_for_directory_buckets_input::ListAccessPointsForDirectoryBucketsInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::list_access_points_for_directory_buckets::_list_access_points_for_directory_buckets_output::ListAccessPointsForDirectoryBucketsOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::list_access_points_for_directory_buckets::builders::ListAccessPointsForDirectoryBucketsInputBuilder {
|
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::list_access_points_for_directory_buckets::ListAccessPointsForDirectoryBucketsOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::list_access_points_for_directory_buckets::ListAccessPointsForDirectoryBucketsError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.list_access_points_for_directory_buckets();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `ListAccessPointsForDirectoryBuckets`.
|
24 24 | ///
|
25 25 | /// <p>Returns a list of the access points that are owned by the Amazon Web Services account and that are associated with the specified directory bucket.</p>
|
26 26 | /// <p>To list access points for general purpose buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html">ListAccesspoints</a>.</p>
|
27 27 | /// <p>To use this operation, you must have the permission to perform the <code>s3express:ListAccessPointsForDirectoryBuckets</code> action.</p>
|
28 28 | /// <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>
|
29 29 | /// <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>
|
30 30 | /// </important>
|
31 31 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
32 32 | pub struct ListAccessPointsForDirectoryBucketsFluentBuilder {
|
33 33 | handle: ::std::sync::Arc<crate::client::Handle>,
|
34 34 | inner: crate::operation::list_access_points_for_directory_buckets::builders::ListAccessPointsForDirectoryBucketsInputBuilder,
|
35 35 | config_override: ::std::option::Option<crate::config::Builder>,
|