1 1 | // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
|
2 - | pub use crate::operation::disable_snapshot_block_public_access::_disable_snapshot_block_public_access_output::DisableSnapshotBlockPublicAccessOutputBuilder;
|
3 - |
|
4 2 | pub use crate::operation::disable_snapshot_block_public_access::_disable_snapshot_block_public_access_input::DisableSnapshotBlockPublicAccessInputBuilder;
|
5 3 |
|
4 + | pub use crate::operation::disable_snapshot_block_public_access::_disable_snapshot_block_public_access_output::DisableSnapshotBlockPublicAccessOutputBuilder;
|
5 + |
|
6 6 | impl crate::operation::disable_snapshot_block_public_access::builders::DisableSnapshotBlockPublicAccessInputBuilder {
|
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::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessOutput,
|
13 13 | ::aws_smithy_runtime_api::client::result::SdkError<
|
14 14 | crate::operation::disable_snapshot_block_public_access::DisableSnapshotBlockPublicAccessError,
|
15 15 | ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
|
16 16 | >,
|
17 17 | > {
|
18 18 | let mut fluent_builder = client.disable_snapshot_block_public_access();
|
19 19 | fluent_builder.inner = self;
|
20 20 | fluent_builder.send().await
|
21 21 | }
|
22 22 | }
|
23 23 | /// Fluent builder constructing a request to `DisableSnapshotBlockPublicAccess`.
|
24 24 | ///
|
25 25 | /// <p>Disables the <i>block public access for snapshots</i> setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.</p><important>
|
26 26 | /// <p>Enabling block public access for snapshots in <i>block-all-sharing</i> mode does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.</p>
|
27 27 | /// <p>If you disable block public access , these snapshots will become publicly available again.</p>
|
28 28 | /// </important>
|
29 29 | /// <p>For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/block-public-access-snapshots.html"> Block public access for snapshots</a> in the <i>Amazon EBS User Guide</i> .</p>
|
30 30 | /// <p></p>
|
31 31 | #[derive(::std::clone::Clone, ::std::fmt::Debug)]
|
32 32 | pub struct DisableSnapshotBlockPublicAccessFluentBuilder {
|
33 33 | handle: ::std::sync::Arc<crate::client::Handle>,
|
34 34 | inner: crate::operation::disable_snapshot_block_public_access::builders::DisableSnapshotBlockPublicAccessInputBuilder,
|
35 35 | config_override: ::std::option::Option<crate::config::Builder>,
|