#[non_exhaustive]pub struct CreateSecretOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub version_id: Option<String>,
pub replication_status: Option<Vec<ReplicationStatusType>>,
/* 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.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§
source§impl 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) -> &[ReplicationStatusType]
pub fn replication_status(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_status.is_none()
.
source§impl CreateSecretOutput
impl CreateSecretOutput
sourcepub fn builder() -> CreateSecretOutputBuilder
pub fn builder() -> CreateSecretOutputBuilder
Creates a new builder-style object to manufacture CreateSecretOutput
.
Trait Implementations§
source§impl Clone for CreateSecretOutput
impl Clone for CreateSecretOutput
source§fn clone(&self) -> CreateSecretOutput
fn clone(&self) -> CreateSecretOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateSecretOutput
impl Debug for CreateSecretOutput
source§impl PartialEq for CreateSecretOutput
impl PartialEq for CreateSecretOutput
source§fn eq(&self, other: &CreateSecretOutput) -> bool
fn eq(&self, other: &CreateSecretOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateSecretOutput
impl RequestId for CreateSecretOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.