[][src]Struct rusoto_appsync::ApiCache

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>,
}

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

impl Clone for ApiCache[src]

impl Debug for ApiCache[src]

impl Default for ApiCache[src]

impl<'de> Deserialize<'de> for ApiCache[src]

impl PartialEq<ApiCache> for ApiCache[src]

impl StructuralPartialEq for ApiCache[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.