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 ==.