#[non_exhaustive]pub struct CrossAccountPrimaryType {
pub primary_secret_arn: Option<String>,
pub replication_status: Option<StatusType>,
pub status_message: Option<String>,
}Expand description
Contains information about the primary secret that a cross-account replica secret replicates from, including its ARN and replication status. This information is only available for cross-account replica 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.primary_secret_arn: Option<String>The ARN of the primary secret replicating into this replica secret.
replication_status: Option<StatusType>The status of replication from the primary secret to this replica. The status can be:
-
InSync: Replication to the replica secret is complete. -
Failed: Replication to the replica secret was unable to be completed. -
InProgress: Replication to the replica secret has started but is not complete. -
Pending: Replication has not yet started for the replica secret. -
Detached: Replication to the replica secret was stopped by the primary.
status_message: Option<String>A message that describes the replication status, if Secrets Manager has more information to provide.
Implementations§
Source§impl CrossAccountPrimaryType
impl CrossAccountPrimaryType
Sourcepub fn primary_secret_arn(&self) -> Option<&str>
pub fn primary_secret_arn(&self) -> Option<&str>
The ARN of the primary secret replicating into this replica secret.
Sourcepub fn replication_status(&self) -> Option<&StatusType>
pub fn replication_status(&self) -> Option<&StatusType>
The status of replication from the primary secret to this replica. The status can be:
-
InSync: Replication to the replica secret is complete. -
Failed: Replication to the replica secret was unable to be completed. -
InProgress: Replication to the replica secret has started but is not complete. -
Pending: Replication has not yet started for the replica secret. -
Detached: Replication to the replica secret was stopped by the primary.
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 CrossAccountPrimaryType
impl CrossAccountPrimaryType
Sourcepub fn builder() -> CrossAccountPrimaryTypeBuilder
pub fn builder() -> CrossAccountPrimaryTypeBuilder
Creates a new builder-style object to manufacture CrossAccountPrimaryType.
Source§impl CrossAccountPrimaryType
impl CrossAccountPrimaryType
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 CrossAccountPrimaryType
impl Clone for CrossAccountPrimaryType
Source§fn clone(&self) -> CrossAccountPrimaryType
fn clone(&self) -> CrossAccountPrimaryType
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 CrossAccountPrimaryType
impl Debug for CrossAccountPrimaryType
Source§impl PartialEq for CrossAccountPrimaryType
impl PartialEq for CrossAccountPrimaryType
Source§impl SerializableStruct for CrossAccountPrimaryType
impl SerializableStruct for CrossAccountPrimaryType
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 CrossAccountPrimaryType
Auto Trait Implementations§
impl Freeze for CrossAccountPrimaryType
impl RefUnwindSafe for CrossAccountPrimaryType
impl Send for CrossAccountPrimaryType
impl Sync for CrossAccountPrimaryType
impl Unpin for CrossAccountPrimaryType
impl UnsafeUnpin for CrossAccountPrimaryType
impl UnwindSafe for CrossAccountPrimaryType
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