pub struct Parameter { /* private fields */ }
Expand description
A representation of a parameter in Parameter Store in SSM.
Implementations§
Source§impl Parameter
impl Parameter
Sourcepub async fn get_typed<T: DeserializeOwned>(&self) -> Result<T>
pub async fn get_typed<T: DeserializeOwned>(&self) -> Result<T>
Get the value of this parameter, represented as a strongly-typed T.
Sourcepub async fn get_as_full_extension_response(
&self,
) -> Result<ExtensionResponseParam>
pub async fn get_as_full_extension_response( &self, ) -> Result<ExtensionResponseParam>
Get the full response from the AWS lambda extension, including parameter type / version / ARN info.
Rarely used, see Self::get_raw()
and Self::get_typed()
for ways to retrieve string
and JSON parameters, respectively.
Trait Implementations§
impl Eq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl !RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl !UnwindSafe for Parameter
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.