Struct aws_sdk_eventbridge::types::Endpoint
source · #[non_exhaustive]pub struct Endpoint { /* private fields */ }
Expand description
A 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.
Implementations§
source§impl 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. The default state is ENABLED
which means you must supply a RoleArn
. If you don't have a RoleArn
or you don't want event replication enabled, set the state to DISABLED
.
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 https://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.