Struct aws_sdk_eventbridge::types::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
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.
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. 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.
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 https://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§
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) -> &[EndpointEventBus]
pub fn event_buses(&self) -> &[EndpointEventBus]
The event buses being used by the endpoint.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_buses.is_none().
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.