Struct aws_sdk_iot::types::DocumentParameter
source · #[non_exhaustive]pub struct DocumentParameter {
pub key: Option<String>,
pub description: Option<String>,
pub regex: Option<String>,
pub example: Option<String>,
pub optional: bool,
}
Expand description
A map of key-value pairs containing the patterns that need to be replaced in a managed template job document schema. You can use the description of each key as a guidance to specify the inputs during runtime when creating a job.
documentParameters
can only be used when creating jobs from Amazon Web Services managed templates. This parameter can't be used with custom job templates or to create jobs from them.
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.key: Option<String>
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
description: Option<String>
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
regex: Option<String>
A regular expression of the patterns that need to be replaced in a managed template job document schema.
example: Option<String>
An example illustrating a pattern that need to be replaced in a managed template job document schema.
optional: bool
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
Implementations§
source§impl DocumentParameter
impl DocumentParameter
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
sourcepub fn regex(&self) -> Option<&str>
pub fn regex(&self) -> Option<&str>
A regular expression of the patterns that need to be replaced in a managed template job document schema.
source§impl DocumentParameter
impl DocumentParameter
sourcepub fn builder() -> DocumentParameterBuilder
pub fn builder() -> DocumentParameterBuilder
Creates a new builder-style object to manufacture DocumentParameter
.
Trait Implementations§
source§impl Clone for DocumentParameter
impl Clone for DocumentParameter
source§fn clone(&self) -> DocumentParameter
fn clone(&self) -> DocumentParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DocumentParameter
impl Debug for DocumentParameter
source§impl PartialEq for DocumentParameter
impl PartialEq for DocumentParameter
impl StructuralPartialEq for DocumentParameter
Auto Trait Implementations§
impl Freeze for DocumentParameter
impl RefUnwindSafe for DocumentParameter
impl Send for DocumentParameter
impl Sync for DocumentParameter
impl Unpin for DocumentParameter
impl UnwindSafe for DocumentParameter
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