Struct aws_sdk_kms::operation::replicate_key::ReplicateKeyOutput
source · #[non_exhaustive]pub struct ReplicateKeyOutput {
pub replica_key_metadata: Option<KeyMetadata>,
pub replica_policy: Option<String>,
pub replica_tags: Option<Vec<Tag>>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replica_key_metadata: Option<KeyMetadata>
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
replica_policy: Option<String>
The key policy of the new replica key. The value is a key policy document in JSON format.
The tags on the new replica key. The value is a list of tag key and tag value pairs.
Implementations§
source§impl ReplicateKeyOutput
impl ReplicateKeyOutput
sourcepub fn replica_key_metadata(&self) -> Option<&KeyMetadata>
pub fn replica_key_metadata(&self) -> Option<&KeyMetadata>
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
sourcepub fn replica_policy(&self) -> Option<&str>
pub fn replica_policy(&self) -> Option<&str>
The key policy of the new replica key. The value is a key policy document in JSON format.
The tags on the new replica key. The value is a list of tag key and tag value pairs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replica_tags.is_none()
.
source§impl ReplicateKeyOutput
impl ReplicateKeyOutput
sourcepub fn builder() -> ReplicateKeyOutputBuilder
pub fn builder() -> ReplicateKeyOutputBuilder
Creates a new builder-style object to manufacture ReplicateKeyOutput
.
Trait Implementations§
source§impl Clone for ReplicateKeyOutput
impl Clone for ReplicateKeyOutput
source§fn clone(&self) -> ReplicateKeyOutput
fn clone(&self) -> ReplicateKeyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicateKeyOutput
impl Debug for ReplicateKeyOutput
source§impl PartialEq for ReplicateKeyOutput
impl PartialEq for ReplicateKeyOutput
source§fn eq(&self, other: &ReplicateKeyOutput) -> bool
fn eq(&self, other: &ReplicateKeyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ReplicateKeyOutput
impl RequestId for ReplicateKeyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.