Struct aws_sdk_eventbridge::types::ApiDestination
source · #[non_exhaustive]pub struct ApiDestination {
pub api_destination_arn: Option<String>,
pub name: Option<String>,
pub api_destination_state: Option<ApiDestinationState>,
pub connection_arn: Option<String>,
pub invocation_endpoint: Option<String>,
pub http_method: Option<ApiDestinationHttpMethod>,
pub invocation_rate_limit_per_second: Option<i32>,
pub creation_time: Option<DateTime>,
pub last_modified_time: Option<DateTime>,
}
Expand description
Contains details about an API destination.
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.api_destination_arn: Option<String>
The ARN of the API destination.
name: Option<String>
The name of the API destination.
api_destination_state: Option<ApiDestinationState>
The state of the API destination.
connection_arn: Option<String>
The ARN of the connection specified for the API destination.
invocation_endpoint: Option<String>
The URL to the endpoint for the API destination.
http_method: Option<ApiDestinationHttpMethod>
The method to use to connect to the HTTP endpoint.
invocation_rate_limit_per_second: Option<i32>
The maximum number of invocations per second to send to the HTTP endpoint.
creation_time: Option<DateTime>
A time stamp for the time that the API destination was created.
last_modified_time: Option<DateTime>
A time stamp for the time that the API destination was last modified.
Implementations§
source§impl ApiDestination
impl ApiDestination
sourcepub fn api_destination_arn(&self) -> Option<&str>
pub fn api_destination_arn(&self) -> Option<&str>
The ARN of the API destination.
sourcepub fn api_destination_state(&self) -> Option<&ApiDestinationState>
pub fn api_destination_state(&self) -> Option<&ApiDestinationState>
The state of the API destination.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The ARN of the connection specified for the API destination.
sourcepub fn invocation_endpoint(&self) -> Option<&str>
pub fn invocation_endpoint(&self) -> Option<&str>
The URL to the endpoint for the API destination.
sourcepub fn http_method(&self) -> Option<&ApiDestinationHttpMethod>
pub fn http_method(&self) -> Option<&ApiDestinationHttpMethod>
The method to use to connect to the HTTP endpoint.
sourcepub fn invocation_rate_limit_per_second(&self) -> Option<i32>
pub fn invocation_rate_limit_per_second(&self) -> Option<i32>
The maximum number of invocations per second to send to the HTTP endpoint.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
A time stamp for the time that the API destination was created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
A time stamp for the time that the API destination was last modified.
source§impl ApiDestination
impl ApiDestination
sourcepub fn builder() -> ApiDestinationBuilder
pub fn builder() -> ApiDestinationBuilder
Creates a new builder-style object to manufacture ApiDestination
.
Trait Implementations§
source§impl Clone for ApiDestination
impl Clone for ApiDestination
source§fn clone(&self) -> ApiDestination
fn clone(&self) -> ApiDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApiDestination
impl Debug for ApiDestination
source§impl PartialEq for ApiDestination
impl PartialEq for ApiDestination
source§fn eq(&self, other: &ApiDestination) -> bool
fn eq(&self, other: &ApiDestination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApiDestination
Auto Trait Implementations§
impl Freeze for ApiDestination
impl RefUnwindSafe for ApiDestination
impl Send for ApiDestination
impl Sync for ApiDestination
impl Unpin for ApiDestination
impl UnwindSafe for ApiDestination
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more