#[non_exhaustive]pub struct PipeTargetEventBridgeEventBusParameters {
pub endpoint_id: Option<String>,
pub detail_type: Option<String>,
pub source: Option<String>,
pub resources: Option<Vec<String>>,
pub time: Option<String>,
}
Expand description
The parameters for using an EventBridge event bus as a target.
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.endpoint_id: Option<String>
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
detail_type: Option<String>
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
source: Option<String>
The source of the event.
resources: Option<Vec<String>>
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
time: Option<String>
The time stamp of the event, per RFC3339. If no time stamp is provided, the time stamp of the PutEvents call is used.
Implementations§
source§impl PipeTargetEventBridgeEventBusParameters
impl PipeTargetEventBridgeEventBusParameters
sourcepub fn endpoint_id(&self) -> Option<&str>
pub fn endpoint_id(&self) -> Option<&str>
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn detail_type(&self) -> Option<&str>
pub fn detail_type(&self) -> Option<&str>
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
sourcepub fn resources(&self) -> &[String]
pub fn resources(&self) -> &[String]
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
source§impl PipeTargetEventBridgeEventBusParameters
impl PipeTargetEventBridgeEventBusParameters
sourcepub fn builder() -> PipeTargetEventBridgeEventBusParametersBuilder
pub fn builder() -> PipeTargetEventBridgeEventBusParametersBuilder
Creates a new builder-style object to manufacture PipeTargetEventBridgeEventBusParameters
.
Trait Implementations§
source§impl Clone for PipeTargetEventBridgeEventBusParameters
impl Clone for PipeTargetEventBridgeEventBusParameters
source§fn clone(&self) -> PipeTargetEventBridgeEventBusParameters
fn clone(&self) -> PipeTargetEventBridgeEventBusParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PipeTargetEventBridgeEventBusParameters
impl PartialEq for PipeTargetEventBridgeEventBusParameters
source§fn eq(&self, other: &PipeTargetEventBridgeEventBusParameters) -> bool
fn eq(&self, other: &PipeTargetEventBridgeEventBusParameters) -> bool
self
and other
values to be equal, and is used
by ==
.