Struct aws_sdk_ssm::types::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§
source§impl 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.
sourcepub fn policies(&self) -> Option<&[ParameterInlinePolicy]>
pub fn policies(&self) -> Option<&[ParameterInlinePolicy]>
A list of policies associated with a parameter.
source§impl ParameterMetadata
impl ParameterMetadata
sourcepub fn builder() -> ParameterMetadataBuilder
pub fn builder() -> ParameterMetadataBuilder
Creates a new builder-style object to manufacture ParameterMetadata
.
Trait Implementations§
source§impl Clone for ParameterMetadata
impl Clone for ParameterMetadata
source§fn clone(&self) -> ParameterMetadata
fn clone(&self) -> ParameterMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterMetadata
impl Debug for ParameterMetadata
source§impl PartialEq for ParameterMetadata
impl PartialEq for ParameterMetadata
source§fn eq(&self, other: &ParameterMetadata) -> bool
fn eq(&self, other: &ParameterMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.