[][src]Struct rusoto_appsync::ApiKey

pub struct ApiKey {
    pub description: Option<String>,
    pub expires: Option<i64>,
    pub id: Option<String>,
}

Describes an API key.

Customers invoke AWS AppSync GraphQL API operations with API keys as an identity mechanism. There are two key versions:

da1: This version was introduced at launch in November 2017. These keys always expire after 7 days. Key expiration is managed by Amazon DynamoDB TTL. The keys ceased to be valid after February 21, 2018 and should not be used after that date.

da2: This version was introduced in February 2018 when AppSync added support to extend key expiration.

Fields

description: Option<String>

A description of the purpose of the API key.

expires: Option<i64>

The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.

id: Option<String>

The API key ID.

Trait Implementations

impl PartialEq<ApiKey> for ApiKey[src]

impl Default for ApiKey[src]

impl Clone for ApiKey[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ApiKey[src]

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

Auto Trait Implementations

impl Send for ApiKey

impl Sync for ApiKey

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self