Struct rusoto_appsync::ApiCache
source · [−]pub struct ApiCache {
pub api_caching_behavior: Option<String>,
pub at_rest_encryption_enabled: Option<bool>,
pub status: Option<String>,
pub transit_encryption_enabled: Option<bool>,
pub ttl: Option<i64>,
pub type_: Option<String>,
}
Expand description
The ApiCache
object.
Fields
api_caching_behavior: Option<String>
Caching behavior.
-
FULLREQUESTCACHING: All requests are fully cached.
-
PERRESOLVERCACHING: Individual resolvers that you specify are cached.
at_rest_encryption_enabled: Option<bool>
At rest encryption flag for cache. This setting cannot be updated after creation.
status: Option<String>
The cache instance status.
-
AVAILABLE: The instance is available for use.
-
CREATING: The instance is currently creating.
-
DELETING: The instance is currently deleting.
-
MODIFYING: The instance is currently modifying.
-
FAILED: The instance has failed creation.
transit_encryption_enabled: Option<bool>
Transit encryption flag when connecting to cache. This setting cannot be updated after creation.
ttl: Option<i64>
TTL in seconds for cache entries.
Valid values are between 1 and 3600 seconds.
type_: Option<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<'de> Deserialize<'de> for ApiCache
impl<'de> Deserialize<'de> for ApiCache
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ApiCache
Auto Trait Implementations
impl RefUnwindSafe for ApiCache
impl Send for ApiCache
impl Sync for ApiCache
impl Unpin for ApiCache
impl UnwindSafe for ApiCache
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