Struct rusoto_appsync::CreateApiCacheRequest
source · [−]pub struct CreateApiCacheRequest {
pub api_caching_behavior: String,
pub api_id: String,
pub at_rest_encryption_enabled: Option<bool>,
pub transit_encryption_enabled: Option<bool>,
pub ttl: i64,
pub type_: String,
}
Expand description
Represents the input of a CreateApiCache
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.
at_rest_encryption_enabled: Option<bool>
At rest encryption flag for cache. This setting cannot be updated after creation.
transit_encryption_enabled: Option<bool>
Transit encryption flag when connecting to cache. This setting cannot be updated after creation.
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 CreateApiCacheRequest
impl Clone for CreateApiCacheRequest
sourcefn clone(&self) -> CreateApiCacheRequest
fn clone(&self) -> CreateApiCacheRequest
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 CreateApiCacheRequest
impl Debug for CreateApiCacheRequest
sourceimpl Default for CreateApiCacheRequest
impl Default for CreateApiCacheRequest
sourcefn default() -> CreateApiCacheRequest
fn default() -> CreateApiCacheRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateApiCacheRequest> for CreateApiCacheRequest
impl PartialEq<CreateApiCacheRequest> for CreateApiCacheRequest
sourcefn eq(&self, other: &CreateApiCacheRequest) -> bool
fn eq(&self, other: &CreateApiCacheRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateApiCacheRequest) -> bool
fn ne(&self, other: &CreateApiCacheRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateApiCacheRequest
impl Serialize for CreateApiCacheRequest
impl StructuralPartialEq for CreateApiCacheRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateApiCacheRequest
impl Send for CreateApiCacheRequest
impl Sync for CreateApiCacheRequest
impl Unpin for CreateApiCacheRequest
impl UnwindSafe for CreateApiCacheRequest
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