#[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§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.impl StructuralPartialEq for CreateSecretOutput
Auto Trait Implementations§
impl Freeze for CreateSecretOutput
impl RefUnwindSafe for CreateSecretOutput
impl Send for CreateSecretOutput
impl Sync for CreateSecretOutput
impl Unpin for CreateSecretOutput
impl UnwindSafe for CreateSecretOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)