Struct aws_sdk_eventbridge::model::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
sourceimpl 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.
sourceimpl ApiDestination
impl ApiDestination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ApiDestination
Trait Implementations
sourceimpl Clone for ApiDestination
impl Clone for ApiDestination
sourcefn clone(&self) -> ApiDestination
fn clone(&self) -> ApiDestination
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 ApiDestination
impl Debug for ApiDestination
sourceimpl PartialEq<ApiDestination> for ApiDestination
impl PartialEq<ApiDestination> for ApiDestination
sourcefn eq(&self, other: &ApiDestination) -> bool
fn eq(&self, other: &ApiDestination) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ApiDestination) -> bool
fn ne(&self, other: &ApiDestination) -> bool
This method tests for !=.
impl StructuralPartialEq for ApiDestination
Auto Trait Implementations
impl RefUnwindSafe for ApiDestination
impl Send for ApiDestination
impl Sync for ApiDestination
impl Unpin for ApiDestination
impl UnwindSafe for ApiDestination
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