Struct aws_sdk_ssm::model::ParameterMetadata
source · [−]#[non_exhaustive]pub struct ParameterMetadata {
pub name: Option<String>,
pub type: Option<ParameterType>,
pub key_id: Option<String>,
pub last_modified_date: Option<DateTime>,
pub last_modified_user: Option<String>,
pub description: Option<String>,
pub allowed_pattern: Option<String>,
pub version: i64,
pub tier: Option<ParameterTier>,
pub policies: Option<Vec<ParameterInlinePolicy>>,
pub data_type: Option<String>,
}
Expand description
Metadata includes information like the ARN of the last user and the date/time the parameter was last used.
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.name: Option<String>
The parameter name.
type: Option<ParameterType>
The type of parameter. Valid parameter types include the following: String
, StringList
, and SecureString
.
key_id: Option<String>
The ID of the query key used for this parameter.
last_modified_date: Option<DateTime>
Date the parameter was last changed or updated.
last_modified_user: Option<String>
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
description: Option<String>
Description of the parameter actions.
allowed_pattern: Option<String>
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
version: i64
The parameter version.
tier: Option<ParameterTier>
The parameter tier.
policies: Option<Vec<ParameterInlinePolicy>>
A list of policies associated with a parameter.
data_type: Option<String>
The data type of the parameter, such as text
or aws:ec2:image
. The default is text
.
Implementations
sourceimpl ParameterMetadata
impl ParameterMetadata
sourcepub fn type(&self) -> Option<&ParameterType>
pub fn type(&self) -> Option<&ParameterType>
The type of parameter. Valid parameter types include the following: String
, StringList
, and SecureString
.
sourcepub fn last_modified_date(&self) -> Option<&DateTime>
pub fn last_modified_date(&self) -> Option<&DateTime>
Date the parameter was last changed or updated.
sourcepub fn last_modified_user(&self) -> Option<&str>
pub fn last_modified_user(&self) -> Option<&str>
Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the parameter actions.
sourcepub fn allowed_pattern(&self) -> Option<&str>
pub fn allowed_pattern(&self) -> Option<&str>
A parameter name can include only the following letters and symbols.
a-zA-Z0-9_.-
sourcepub fn tier(&self) -> Option<&ParameterTier>
pub fn tier(&self) -> Option<&ParameterTier>
The parameter tier.
sourceimpl ParameterMetadata
impl ParameterMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ParameterMetadata
Trait Implementations
sourceimpl Clone for ParameterMetadata
impl Clone for ParameterMetadata
sourcefn clone(&self) -> ParameterMetadata
fn clone(&self) -> ParameterMetadata
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 ParameterMetadata
impl Debug for ParameterMetadata
sourceimpl PartialEq<ParameterMetadata> for ParameterMetadata
impl PartialEq<ParameterMetadata> for ParameterMetadata
sourcefn eq(&self, other: &ParameterMetadata) -> bool
fn eq(&self, other: &ParameterMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParameterMetadata) -> bool
fn ne(&self, other: &ParameterMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for ParameterMetadata
Auto Trait Implementations
impl RefUnwindSafe for ParameterMetadata
impl Send for ParameterMetadata
impl Sync for ParameterMetadata
impl Unpin for ParameterMetadata
impl UnwindSafe for ParameterMetadata
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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