Struct aws_sdk_ssm::types::ParameterHistory
source · #[non_exhaustive]pub struct ParameterHistory {Show 13 fields
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 value: Option<String>,
pub allowed_pattern: Option<String>,
pub version: i64,
pub labels: Option<Vec<String>>,
pub tier: Option<ParameterTier>,
pub policies: Option<Vec<ParameterInlinePolicy>>,
pub data_type: Option<String>,
}
Expand description
Information about parameter usage.
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 name of the parameter.
type: Option<ParameterType>
The type of parameter used.
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>
Information about the parameter.
value: Option<String>
The parameter value.
allowed_pattern: Option<String>
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
version: i64
The parameter version.
labels: Option<Vec<String>>
Labels assigned to the parameter version.
tier: Option<ParameterTier>
The parameter tier.
policies: Option<Vec<ParameterInlinePolicy>>
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
data_type: Option<String>
The data type of the parameter, such as text
or aws:ec2:image
. The default is text
.
Implementations§
source§impl ParameterHistory
impl ParameterHistory
sourcepub fn type(&self) -> Option<&ParameterType>
pub fn type(&self) -> Option<&ParameterType>
The type of parameter used.
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>
Information about the parameter.
sourcepub fn allowed_pattern(&self) -> Option<&str>
pub fn allowed_pattern(&self) -> Option<&str>
Parameter names can include the following letters and symbols.
a-zA-Z0-9_.-
sourcepub fn labels(&self) -> &[String]
pub fn labels(&self) -> &[String]
Labels assigned to the parameter version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .labels.is_none()
.
sourcepub fn tier(&self) -> Option<&ParameterTier>
pub fn tier(&self) -> Option<&ParameterTier>
The parameter tier.
sourcepub fn policies(&self) -> &[ParameterInlinePolicy]
pub fn policies(&self) -> &[ParameterInlinePolicy]
Information about the policies assigned to a parameter.
Assigning parameter policies in the Amazon Web Services Systems Manager User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policies.is_none()
.
source§impl ParameterHistory
impl ParameterHistory
sourcepub fn builder() -> ParameterHistoryBuilder
pub fn builder() -> ParameterHistoryBuilder
Creates a new builder-style object to manufacture ParameterHistory
.
Trait Implementations§
source§impl Clone for ParameterHistory
impl Clone for ParameterHistory
source§fn clone(&self) -> ParameterHistory
fn clone(&self) -> ParameterHistory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterHistory
impl Debug for ParameterHistory
source§impl PartialEq for ParameterHistory
impl PartialEq for ParameterHistory
source§fn eq(&self, other: &ParameterHistory) -> bool
fn eq(&self, other: &ParameterHistory) -> bool
self
and other
values to be equal, and is used
by ==
.