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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RemoveKeyReplicationRegions`](crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`key_identifier(impl Into<String>)`](crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder::key_identifier) / [`set_key_identifier(Option<String>)`](crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder::set_key_identifier):<br>required: **true**<br><p>The key identifier (ARN or alias) of the key from which to remove replication regions.</p> <p>This key must exist and have replication enabled in the specified regions.</p><br>
    ///   - [`replication_regions(impl Into<String>)`](crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder::replication_regions) / [`set_replication_regions(Option<Vec::<String>>)`](crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder::set_replication_regions):<br>required: **true**<br><p>The list of Amazon Web Services Regions to remove from the key's replication configuration.</p> <p>The key will no longer be available for cryptographic operations in these regions after removal. Ensure no active operations depend on the key in these regions before removal.</p><br>
    /// - On success, responds with [`RemoveKeyReplicationRegionsOutput`](crate::operation::remove_key_replication_regions::RemoveKeyReplicationRegionsOutput) with field(s):
    ///   - [`key(Option<Key>)`](crate::operation::remove_key_replication_regions::RemoveKeyReplicationRegionsOutput::key): <p>The updated key metadata after removing the replication regions.</p> <p>This reflects the current state of the key and its updated replication configuration.</p>
    /// - On failure, responds with [`SdkError<RemoveKeyReplicationRegionsError>`](crate::operation::remove_key_replication_regions::RemoveKeyReplicationRegionsError)
    pub fn remove_key_replication_regions(
        &self,
    ) -> crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder {
        crate::operation::remove_key_replication_regions::builders::RemoveKeyReplicationRegionsFluentBuilder::new(self.handle.clone())
    }
}