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 alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to SecureString
parameters only
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 key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The alias of the Key Management Service (KMS) key used to encrypt the parameter. Applies to SecureString
parameters only
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
impl StructuralPartialEq for ParameterHistory
Auto Trait Implementations§
impl Freeze for ParameterHistory
impl RefUnwindSafe for ParameterHistory
impl Send for ParameterHistory
impl Sync for ParameterHistory
impl Unpin for ParameterHistory
impl UnwindSafe for ParameterHistory
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more