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
source§fn eq(&self, other: &DocumentParameter) -> bool
fn eq(&self, other: &DocumentParameter) -> bool
self
and other
values to be equal, and is used
by ==
.