Struct aws_sdk_eventbridge::input::CreateEndpointInput
source · [−]#[non_exhaustive]pub struct CreateEndpointInput {
pub name: Option<String>,
pub description: Option<String>,
pub routing_config: Option<RoutingConfig>,
pub replication_config: Option<ReplicationConfig>,
pub event_buses: Option<Vec<EndpointEventBus>>,
pub role_arn: Option<String>,
}
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 global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint"
.
description: Option<String>
A description of the global endpoint.
routing_config: Option<RoutingConfig>
Configure the routing policy, including the health check and secondary Region..
replication_config: Option<ReplicationConfig>
Enable or disable event replication.
event_buses: Option<Vec<EndpointEventBus>>
Define the event buses used.
The names of the event buses must be identical in each Region.
role_arn: Option<String>
The ARN of the role used for replication.
Implementations
sourceimpl CreateEndpointInput
impl CreateEndpointInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEndpoint, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEndpoint, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateEndpoint
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateEndpointInput
sourceimpl CreateEndpointInput
impl CreateEndpointInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the global endpoint. For example, "Name":"us-east-2-custom_bus_A-endpoint"
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the global endpoint.
sourcepub fn routing_config(&self) -> Option<&RoutingConfig>
pub fn routing_config(&self) -> Option<&RoutingConfig>
Configure the routing policy, including the health check and secondary Region..
sourcepub fn replication_config(&self) -> Option<&ReplicationConfig>
pub fn replication_config(&self) -> Option<&ReplicationConfig>
Enable or disable event replication.
sourcepub fn event_buses(&self) -> Option<&[EndpointEventBus]>
pub fn event_buses(&self) -> Option<&[EndpointEventBus]>
Define the event buses used.
The names of the event buses must be identical in each Region.
Trait Implementations
sourceimpl Clone for CreateEndpointInput
impl Clone for CreateEndpointInput
sourcefn clone(&self) -> CreateEndpointInput
fn clone(&self) -> CreateEndpointInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateEndpointInput
impl Debug for CreateEndpointInput
sourceimpl PartialEq<CreateEndpointInput> for CreateEndpointInput
impl PartialEq<CreateEndpointInput> for CreateEndpointInput
sourcefn eq(&self, other: &CreateEndpointInput) -> bool
fn eq(&self, other: &CreateEndpointInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateEndpointInput) -> bool
fn ne(&self, other: &CreateEndpointInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateEndpointInput
Auto Trait Implementations
impl RefUnwindSafe for CreateEndpointInput
impl Send for CreateEndpointInput
impl Sync for CreateEndpointInput
impl Unpin for CreateEndpointInput
impl UnwindSafe for CreateEndpointInput
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