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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`EnableDefaultKeyReplicationRegions`](crate::operation::enable_default_key_replication_regions::builders::EnableDefaultKeyReplicationRegionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`replication_regions(impl Into<String>)`](crate::operation::enable_default_key_replication_regions::builders::EnableDefaultKeyReplicationRegionsFluentBuilder::replication_regions) / [`set_replication_regions(Option<Vec::<String>>)`](crate::operation::enable_default_key_replication_regions::builders::EnableDefaultKeyReplicationRegionsFluentBuilder::set_replication_regions):<br>required: **true**<br><p>The list of Amazon Web Services Regions to enable as default replication regions for the Amazon Web Services account for <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html">Multi-Region key replication</a>.</p> <p>New keys created in this account will automatically be replicated to these regions unless explicitly overridden during key creation.</p><br>
    /// - On success, responds with [`EnableDefaultKeyReplicationRegionsOutput`](crate::operation::enable_default_key_replication_regions::EnableDefaultKeyReplicationRegionsOutput) with field(s):
    ///   - [`enabled_replication_regions(Vec::<String>)`](crate::operation::enable_default_key_replication_regions::EnableDefaultKeyReplicationRegionsOutput::enabled_replication_regions): <p>The complete list of regions where default key replication is now enabled for the account.</p> <p>This includes both previously enabled regions and the newly added regions from this operation.</p>
    /// - On failure, responds with [`SdkError<EnableDefaultKeyReplicationRegionsError>`](crate::operation::enable_default_key_replication_regions::EnableDefaultKeyReplicationRegionsError)
    pub fn enable_default_key_replication_regions(
        &self,
    ) -> crate::operation::enable_default_key_replication_regions::builders::EnableDefaultKeyReplicationRegionsFluentBuilder {
        crate::operation::enable_default_key_replication_regions::builders::EnableDefaultKeyReplicationRegionsFluentBuilder::new(self.handle.clone())
    }
}