Struct aws_sdk_pipes::types::Pipe
source · #[non_exhaustive]pub struct Pipe {
pub name: Option<String>,
pub arn: Option<String>,
pub desired_state: Option<RequestedPipeState>,
pub current_state: Option<PipeState>,
pub state_reason: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
pub source: Option<String>,
pub target: Option<String>,
pub enrichment: Option<String>,
}Expand description
An object that represents a pipe. Amazon EventBridgePipes connect event sources to targets and reduces the need for specialized knowledge and integration code.
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 pipe.
arn: Option<String>The ARN of the pipe.
desired_state: Option<RequestedPipeState>The state the pipe should be in.
current_state: Option<PipeState>The state the pipe is in.
state_reason: Option<String>The reason the pipe is in its current state.
creation_time: Option<DateTime>The time the pipe was created.
last_modified_time: Option<DateTime>When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
source: Option<String>The ARN of the source resource.
target: Option<String>The ARN of the target resource.
enrichment: Option<String>The ARN of the enrichment resource.
Implementations§
source§impl Pipe
impl Pipe
sourcepub fn desired_state(&self) -> Option<&RequestedPipeState>
pub fn desired_state(&self) -> Option<&RequestedPipeState>
The state the pipe should be in.
sourcepub fn current_state(&self) -> Option<&PipeState>
pub fn current_state(&self) -> Option<&PipeState>
The state the pipe is in.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
The reason the pipe is in its current state.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the pipe was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn enrichment(&self) -> Option<&str>
pub fn enrichment(&self) -> Option<&str>
The ARN of the enrichment resource.
Trait Implementations§
source§impl PartialEq for Pipe
impl PartialEq for Pipe
impl StructuralPartialEq for Pipe
Auto Trait Implementations§
impl Freeze for Pipe
impl RefUnwindSafe for Pipe
impl Send for Pipe
impl Sync for Pipe
impl Unpin for Pipe
impl UnwindSafe for Pipe
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