pub struct CreateApiDestinationRequest {
pub connection_arn: String,
pub description: Option<String>,
pub http_method: String,
pub invocation_endpoint: String,
pub invocation_rate_limit_per_second: Option<i64>,
pub name: String,
}
Fields
connection_arn: String
The ARN of the connection to use for the API destination. The destination endpoint must support the authorization type specified for the connection.
description: Option<String>
A description for the API destination to create.
http_method: String
The method to use for the request to the HTTP invocation endpoint.
invocation_endpoint: String
The URL to the HTTP invocation endpoint for the API destination.
invocation_rate_limit_per_second: Option<i64>
The maximum number of requests per second to send to the HTTP invocation endpoint.
name: String
The name for the API destination to create.
Trait Implementations
sourceimpl Clone for CreateApiDestinationRequest
impl Clone for CreateApiDestinationRequest
sourcefn clone(&self) -> CreateApiDestinationRequest
fn clone(&self) -> CreateApiDestinationRequest
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 CreateApiDestinationRequest
impl Debug for CreateApiDestinationRequest
sourceimpl Default for CreateApiDestinationRequest
impl Default for CreateApiDestinationRequest
sourcefn default() -> CreateApiDestinationRequest
fn default() -> CreateApiDestinationRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateApiDestinationRequest> for CreateApiDestinationRequest
impl PartialEq<CreateApiDestinationRequest> for CreateApiDestinationRequest
sourcefn eq(&self, other: &CreateApiDestinationRequest) -> bool
fn eq(&self, other: &CreateApiDestinationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateApiDestinationRequest) -> bool
fn ne(&self, other: &CreateApiDestinationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateApiDestinationRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateApiDestinationRequest
impl Send for CreateApiDestinationRequest
impl Sync for CreateApiDestinationRequest
impl Unpin for CreateApiDestinationRequest
impl UnwindSafe for CreateApiDestinationRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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