Struct aws_sdk_eventbridge::model::Endpoint
source · [−]#[non_exhaustive]pub struct Endpoint {Show 13 fields
pub name: Option<String>,
pub description: Option<String>,
pub arn: Option<String>,
pub routing_config: Option<RoutingConfig>,
pub replication_config: Option<ReplicationConfig>,
pub event_buses: Option<Vec<EndpointEventBus>>,
pub role_arn: Option<String>,
pub endpoint_id: Option<String>,
pub endpoint_url: Option<String>,
pub state: Option<EndpointState>,
pub state_reason: Option<String>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
}Expand description
An global endpoint used to improve your application's availability by making it regional-fault tolerant. For more information about global endpoints, see Making applications Regional-fault tolerant with global endpoints and event replication in the Amazon EventBridge User Guide..
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 endpoint.
description: Option<String>A description for the endpoint.
arn: Option<String>The ARN of the endpoint.
routing_config: Option<RoutingConfig>The routing configuration of the endpoint.
replication_config: Option<ReplicationConfig>Whether event replication was enabled or disabled for this endpoint.
event_buses: Option<Vec<EndpointEventBus>>The event buses being used by the endpoint.
role_arn: Option<String>The ARN of the role used by event replication for the endpoint.
endpoint_id: Option<String>The URL subdomain of the endpoint. For example, if the URL for Endpoint is abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.
endpoint_url: Option<String>The URL of the endpoint.
state: Option<EndpointState>The current state of the endpoint.
state_reason: Option<String>The reason the endpoint is in its current state.
creation_time: Option<DateTime>The time the endpoint was created.
last_modified_time: Option<DateTime>The last time the endpoint was modified.
Implementations
sourceimpl Endpoint
impl Endpoint
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the endpoint.
sourcepub fn routing_config(&self) -> Option<&RoutingConfig>
pub fn routing_config(&self) -> Option<&RoutingConfig>
The routing configuration of the endpoint.
sourcepub fn replication_config(&self) -> Option<&ReplicationConfig>
pub fn replication_config(&self) -> Option<&ReplicationConfig>
Whether event replication was enabled or disabled for this endpoint.
sourcepub fn event_buses(&self) -> Option<&[EndpointEventBus]>
pub fn event_buses(&self) -> Option<&[EndpointEventBus]>
The event buses being used by the endpoint.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the role used by event replication for the endpoint.
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 abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo.
sourcepub fn endpoint_url(&self) -> Option<&str>
pub fn endpoint_url(&self) -> Option<&str>
The URL of the endpoint.
sourcepub fn state(&self) -> Option<&EndpointState>
pub fn state(&self) -> Option<&EndpointState>
The current state of the endpoint.
sourcepub fn state_reason(&self) -> Option<&str>
pub fn state_reason(&self) -> Option<&str>
The reason the endpoint is in its current state.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the endpoint was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The last time the endpoint was modified.
Trait Implementations
impl StructuralPartialEq for Endpoint
Auto Trait Implementations
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more