#[non_exhaustive]pub struct CrossAccountReplicaEntry {
pub replica_secret_arn: Option<String>,
pub replication_role_arn: Option<String>,
pub replication_status: Option<StatusType>,
pub status_message: Option<String>,
}Expand description
Information about a cross-account replica secret. This information is only available for cross-account primary secrets.
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_secret_arn: Option<String>The ARN of the replica secret.
replication_role_arn: Option<String>The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
replication_status: Option<StatusType>The status of replication from this primary secret. The status can be:
-
InSync: Replication from the primary secret is complete. -
Failed: Replication from the primary secret was unable to be completed. -
InProgress: Replication from the primary secret has started but is not complete. -
Detached: Replication from the primary secret was stopped by the replica.
status_message: Option<String>A message that describes the replication status, if Secrets Manager has more information to provide.
Implementations§
Source§impl CrossAccountReplicaEntry
impl CrossAccountReplicaEntry
Sourcepub fn replica_secret_arn(&self) -> Option<&str>
pub fn replica_secret_arn(&self) -> Option<&str>
The ARN of the replica secret.
Sourcepub fn replication_role_arn(&self) -> Option<&str>
pub fn replication_role_arn(&self) -> Option<&str>
The ARN of the IAM role that Secrets Manager assumes to replicate to this replica, if one was specified when the replica was associated.
Sourcepub fn replication_status(&self) -> Option<&StatusType>
pub fn replication_status(&self) -> Option<&StatusType>
The status of replication from this primary secret. The status can be:
-
InSync: Replication from the primary secret is complete. -
Failed: Replication from the primary secret was unable to be completed. -
InProgress: Replication from the primary secret has started but is not complete. -
Detached: Replication from the primary secret was stopped by the replica.
Sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A message that describes the replication status, if Secrets Manager has more information to provide.
Source§impl CrossAccountReplicaEntry
impl CrossAccountReplicaEntry
Sourcepub fn builder() -> CrossAccountReplicaEntryBuilder
pub fn builder() -> CrossAccountReplicaEntryBuilder
Creates a new builder-style object to manufacture CrossAccountReplicaEntry.
Source§impl CrossAccountReplicaEntry
impl CrossAccountReplicaEntry
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for CrossAccountReplicaEntry
impl Clone for CrossAccountReplicaEntry
Source§fn clone(&self) -> CrossAccountReplicaEntry
fn clone(&self) -> CrossAccountReplicaEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CrossAccountReplicaEntry
impl Debug for CrossAccountReplicaEntry
Source§impl PartialEq for CrossAccountReplicaEntry
impl PartialEq for CrossAccountReplicaEntry
Source§impl SerializableStruct for CrossAccountReplicaEntry
impl SerializableStruct for CrossAccountReplicaEntry
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for CrossAccountReplicaEntry
Auto Trait Implementations§
impl Freeze for CrossAccountReplicaEntry
impl RefUnwindSafe for CrossAccountReplicaEntry
impl Send for CrossAccountReplicaEntry
impl Sync for CrossAccountReplicaEntry
impl Unpin for CrossAccountReplicaEntry
impl UnsafeUnpin for CrossAccountReplicaEntry
impl UnwindSafe for CrossAccountReplicaEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more