pub struct UpdateGatewayResponseRequest {
pub patch_operations: Option<Vec<PatchOperation>>,
pub response_type: String,
pub rest_api_id: String,
}
Expand description
Updates a GatewayResponse of a specified response type on the given RestApi.
Fields
patch_operations: Option<Vec<PatchOperation>>
A list of update operations to be applied to the specified resource and in the order specified in this list.
response_type: String
[Required]
The response type of the associated GatewayResponse. Valid values are
- ACCESS_DENIED
- API_CONFIGURATION_ERROR
- AUTHORIZER_FAILURE
- AUTHORIZER_CONFIGURATION_ERROR
- BAD_REQUEST_PARAMETERS
- BAD_REQUEST_BODY
- DEFAULT_4XX
- DEFAULT_5XX
- EXPIRED_TOKEN
- INVALID_SIGNATURE
- INTEGRATION_FAILURE
- INTEGRATION_TIMEOUT
- INVALID_API_KEY
- MISSING_AUTHENTICATION_TOKEN
- QUOTA_EXCEEDED
- REQUEST_TOO_LARGE
- RESOURCE_NOT_FOUND
- THROTTLED
- UNAUTHORIZED
- UNSUPPORTED_MEDIA_TYPE
rest_api_id: String
[Required] The string identifier of the associated RestApi.
Trait Implementations
sourceimpl Clone for UpdateGatewayResponseRequest
impl Clone for UpdateGatewayResponseRequest
sourcefn clone(&self) -> UpdateGatewayResponseRequest
fn clone(&self) -> UpdateGatewayResponseRequest
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 UpdateGatewayResponseRequest
impl Debug for UpdateGatewayResponseRequest
sourceimpl Default for UpdateGatewayResponseRequest
impl Default for UpdateGatewayResponseRequest
sourcefn default() -> UpdateGatewayResponseRequest
fn default() -> UpdateGatewayResponseRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateGatewayResponseRequest> for UpdateGatewayResponseRequest
impl PartialEq<UpdateGatewayResponseRequest> for UpdateGatewayResponseRequest
sourcefn eq(&self, other: &UpdateGatewayResponseRequest) -> bool
fn eq(&self, other: &UpdateGatewayResponseRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateGatewayResponseRequest) -> bool
fn ne(&self, other: &UpdateGatewayResponseRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateGatewayResponseRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateGatewayResponseRequest
impl Send for UpdateGatewayResponseRequest
impl Sync for UpdateGatewayResponseRequest
impl Unpin for UpdateGatewayResponseRequest
impl UnwindSafe for UpdateGatewayResponseRequest
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