#[non_exhaustive]pub struct UpdateApiDestinationInput {
pub name: Option<String>,
pub description: Option<String>,
pub connection_arn: Option<String>,
pub invocation_endpoint: Option<String>,
pub http_method: Option<ApiDestinationHttpMethod>,
pub invocation_rate_limit_per_second: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the API destination to update.
description: Option<String>
The name of the API destination to update.
connection_arn: Option<String>
The ARN of the connection to use for the API destination.
invocation_endpoint: Option<String>
The URL to the endpoint to use for the API destination.
http_method: Option<ApiDestinationHttpMethod>
The method to use for the API destination.
invocation_rate_limit_per_second: Option<i32>
The maximum number of invocations per second to send to the API destination.
Implementations§
source§impl UpdateApiDestinationInput
impl UpdateApiDestinationInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The name of the API destination to update.
sourcepub fn connection_arn(&self) -> Option<&str>
pub fn connection_arn(&self) -> Option<&str>
The ARN of the connection to use for the API destination.
sourcepub fn invocation_endpoint(&self) -> Option<&str>
pub fn invocation_endpoint(&self) -> Option<&str>
The URL to the endpoint to use for the API destination.
sourcepub fn http_method(&self) -> Option<&ApiDestinationHttpMethod>
pub fn http_method(&self) -> Option<&ApiDestinationHttpMethod>
The method to use for the API destination.
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 API destination.
source§impl UpdateApiDestinationInput
impl UpdateApiDestinationInput
sourcepub fn builder() -> UpdateApiDestinationInputBuilder
pub fn builder() -> UpdateApiDestinationInputBuilder
Creates a new builder-style object to manufacture UpdateApiDestinationInput
.
Trait Implementations§
source§impl Clone for UpdateApiDestinationInput
impl Clone for UpdateApiDestinationInput
source§fn clone(&self) -> UpdateApiDestinationInput
fn clone(&self) -> UpdateApiDestinationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateApiDestinationInput
impl Debug for UpdateApiDestinationInput
source§impl PartialEq for UpdateApiDestinationInput
impl PartialEq for UpdateApiDestinationInput
source§fn eq(&self, other: &UpdateApiDestinationInput) -> bool
fn eq(&self, other: &UpdateApiDestinationInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateApiDestinationInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateApiDestinationInput
impl Send for UpdateApiDestinationInput
impl Sync for UpdateApiDestinationInput
impl Unpin for UpdateApiDestinationInput
impl UnwindSafe for UpdateApiDestinationInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.