Struct rusoto_appsync::UpdateApiCacheRequest
source · [−]pub struct UpdateApiCacheRequest {
pub api_caching_behavior: String,
pub api_id: String,
pub ttl: i64,
pub type_: String,
}
Expand description
Represents the input of a UpdateApiCache
operation.
Fields
api_caching_behavior: String
Caching behavior.
-
FULLREQUESTCACHING: All requests are fully cached.
-
PERRESOLVERCACHING: Individual resolvers that you specify are cached.
api_id: String
The GraphQL API Id.
ttl: i64
TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
type_: String
The cache instance type. Valid values are
-
SMALL
-
MEDIUM
-
LARGE
-
XLARGE
-
LARGE2X
-
LARGE4X
-
LARGE8X
(not available in all regions) -
LARGE12X
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
-
T2SMALL: A t2.small instance type.
-
T2MEDIUM: A t2.medium instance type.
-
R4LARGE: A r4.large instance type.
-
R4XLARGE: A r4.xlarge instance type.
-
R42XLARGE: A r4.2xlarge instance type.
-
R44XLARGE: A r4.4xlarge instance type.
-
R4_8XLARGE: A r4.8xlarge instance type.
Trait Implementations
sourceimpl Clone for UpdateApiCacheRequest
impl Clone for UpdateApiCacheRequest
sourcefn clone(&self) -> UpdateApiCacheRequest
fn clone(&self) -> UpdateApiCacheRequest
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 UpdateApiCacheRequest
impl Debug for UpdateApiCacheRequest
sourceimpl Default for UpdateApiCacheRequest
impl Default for UpdateApiCacheRequest
sourcefn default() -> UpdateApiCacheRequest
fn default() -> UpdateApiCacheRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateApiCacheRequest> for UpdateApiCacheRequest
impl PartialEq<UpdateApiCacheRequest> for UpdateApiCacheRequest
sourcefn eq(&self, other: &UpdateApiCacheRequest) -> bool
fn eq(&self, other: &UpdateApiCacheRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateApiCacheRequest) -> bool
fn ne(&self, other: &UpdateApiCacheRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for UpdateApiCacheRequest
impl Serialize for UpdateApiCacheRequest
impl StructuralPartialEq for UpdateApiCacheRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateApiCacheRequest
impl Send for UpdateApiCacheRequest
impl Sync for UpdateApiCacheRequest
impl Unpin for UpdateApiCacheRequest
impl UnwindSafe for UpdateApiCacheRequest
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