aws_sdk_paymentcryptography/client/
get_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 [`GetDefaultKeyReplicationRegions`](crate::operation::get_default_key_replication_regions::builders::GetDefaultKeyReplicationRegionsFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::get_default_key_replication_regions::builders::GetDefaultKeyReplicationRegionsFluentBuilder::send) it.
6    /// - On success, responds with [`GetDefaultKeyReplicationRegionsOutput`](crate::operation::get_default_key_replication_regions::GetDefaultKeyReplicationRegionsOutput) with field(s):
7    ///   - [`enabled_replication_regions(Vec::<String>)`](crate::operation::get_default_key_replication_regions::GetDefaultKeyReplicationRegionsOutput::enabled_replication_regions): <p>The list of regions where default key replication is currently enabled for the account.</p> <p>New keys created in this account will automatically be replicated to these regions unless explicitly configured otherwise during key creation.</p>
8    /// - On failure, responds with [`SdkError<GetDefaultKeyReplicationRegionsError>`](crate::operation::get_default_key_replication_regions::GetDefaultKeyReplicationRegionsError)
9    pub fn get_default_key_replication_regions(
10        &self,
11    ) -> crate::operation::get_default_key_replication_regions::builders::GetDefaultKeyReplicationRegionsFluentBuilder {
12        crate::operation::get_default_key_replication_regions::builders::GetDefaultKeyReplicationRegionsFluentBuilder::new(self.handle.clone())
13    }
14}