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.