Struct aws_sdk_iotevents::types::InputDefinition
source · #[non_exhaustive]pub struct InputDefinition {
pub attributes: Vec<Attribute>,
}
Expand description
The definition of the input.
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.attributes: Vec<Attribute>
The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
Implementations§
source§impl InputDefinition
impl InputDefinition
sourcepub fn attributes(&self) -> &[Attribute]
pub fn attributes(&self) -> &[Attribute]
The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
source§impl InputDefinition
impl InputDefinition
sourcepub fn builder() -> InputDefinitionBuilder
pub fn builder() -> InputDefinitionBuilder
Creates a new builder-style object to manufacture InputDefinition
.
Trait Implementations§
source§impl Clone for InputDefinition
impl Clone for InputDefinition
source§fn clone(&self) -> InputDefinition
fn clone(&self) -> InputDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputDefinition
impl Debug for InputDefinition
source§impl PartialEq for InputDefinition
impl PartialEq for InputDefinition
source§fn eq(&self, other: &InputDefinition) -> bool
fn eq(&self, other: &InputDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InputDefinition
Auto Trait Implementations§
impl Freeze for InputDefinition
impl RefUnwindSafe for InputDefinition
impl Send for InputDefinition
impl Sync for InputDefinition
impl Unpin for InputDefinition
impl UnwindSafe for InputDefinition
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> 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