aws-sdk-paymentcryptography 1.106.0

AWS SDK for Payment Cryptography Control Plane
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisableDefaultKeyReplicationRegions`](crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`DisableDefaultKeyReplicationRegionsOutput`](crate::operation::disable_default_key_replication_regions::DisableDefaultKeyReplicationRegionsOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DisableDefaultKeyReplicationRegionsError>`](crate::operation::disable_default_key_replication_regions::DisableDefaultKeyReplicationRegionsError)
    pub fn disable_default_key_replication_regions(
        &self,
    ) -> crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder {
        crate::operation::disable_default_key_replication_regions::builders::DisableDefaultKeyReplicationRegionsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}