aws_sdk_paymentcryptography/client/disable_default_key_replication_regions.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 [`DisableDefaultKeyReplicationRegions`](crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`replication_regions(impl Into<String>)`](crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder::replication_regions) / [`set_replication_regions(Option<Vec::<String>>)`](crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder::set_replication_regions):<br>required: **true**<br><p>The list of Amazon Web Services Regions to remove from the account's default replication regions.</p> <p>New keys created after this operation will not automatically be replicated to these regions, though existing keys with replication to these regions will be unaffected.</p><br>
7 /// - On success, responds with [`DisableDefaultKeyReplicationRegionsOutput`](crate::operation::disable_default_key_replication_regions::DisableDefaultKeyReplicationRegionsOutput) with field(s):
8 /// - [`enabled_replication_regions(Vec::<String>)`](crate::operation::disable_default_key_replication_regions::DisableDefaultKeyReplicationRegionsOutput::enabled_replication_regions): <p>The remaining list of regions where default key replication is still enabled for the account.</p> <p>This reflects the account's default replication configuration after removing the specified regions.</p>
9 /// - On failure, responds with [`SdkError<DisableDefaultKeyReplicationRegionsError>`](crate::operation::disable_default_key_replication_regions::DisableDefaultKeyReplicationRegionsError)
10 pub fn disable_default_key_replication_regions(
11 &self,
12 ) -> crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder {
13 crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder::new(
14 self.handle.clone(),
15 )
16 }
17}