Struct aws_sdk_secretsmanager::output::CreateSecretOutput
source · [−]#[non_exhaustive]pub struct CreateSecretOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub version_id: Option<String>,
pub replication_status: Option<Vec<ReplicationStatusType>>,
}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.arn: Option<String>The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.
name: Option<String>The name of the new secret.
version_id: Option<String>The unique identifier associated with the version of the new secret.
replication_status: Option<Vec<ReplicationStatusType>>A list of the replicas of this secret and their status:
-
Failed, which indicates that the replica was not created. -
InProgress, which indicates that Secrets Manager is in the process of creating the replica. -
InSync, which indicates that the replica was created.
Implementations
sourceimpl CreateSecretOutput
impl CreateSecretOutput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The ARN of the new secret. The ARN includes the name of the secret followed by six random characters. This ensures that if you create a new secret with the same name as a deleted secret, then users with access to the old secret don't get access to the new secret because the ARNs are different.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The unique identifier associated with the version of the new secret.
sourcepub fn replication_status(&self) -> Option<&[ReplicationStatusType]>
pub fn replication_status(&self) -> Option<&[ReplicationStatusType]>
A list of the replicas of this secret and their status:
-
Failed, which indicates that the replica was not created. -
InProgress, which indicates that Secrets Manager is in the process of creating the replica. -
InSync, which indicates that the replica was created.
sourceimpl CreateSecretOutput
impl CreateSecretOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSecretOutput
Trait Implementations
sourceimpl Clone for CreateSecretOutput
impl Clone for CreateSecretOutput
sourcefn clone(&self) -> CreateSecretOutput
fn clone(&self) -> CreateSecretOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateSecretOutput
impl Debug for CreateSecretOutput
sourceimpl PartialEq<CreateSecretOutput> for CreateSecretOutput
impl PartialEq<CreateSecretOutput> for CreateSecretOutput
sourcefn eq(&self, other: &CreateSecretOutput) -> bool
fn eq(&self, other: &CreateSecretOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateSecretOutput) -> bool
fn ne(&self, other: &CreateSecretOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateSecretOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateSecretOutput
impl Send for CreateSecretOutput
impl Sync for CreateSecretOutput
impl Unpin for CreateSecretOutput
impl UnwindSafe for CreateSecretOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more