[][src]Struct rusoto_apigateway::CreateApiKeyRequest

pub struct CreateApiKeyRequest {
    pub customer_id: Option<String>,
    pub description: Option<String>,
    pub enabled: Option<bool>,
    pub generate_distinct_id: Option<bool>,
    pub name: Option<String>,
    pub stage_keys: Option<Vec<StageKey>>,
    pub tags: Option<HashMap<String, String>>,
    pub value: Option<String>,
}

Request to create an ApiKey resource.

Fields

customer_id: Option<String>

An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.

description: Option<String>

The description of the ApiKey.

enabled: Option<bool>

Specifies whether the ApiKey can be used by callers.

generate_distinct_id: Option<bool>

Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.

name: Option<String>

The name of the ApiKey.

stage_keys: Option<Vec<StageKey>>

DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.

tags: Option<HashMap<String, String>>

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

value: Option<String>

Specifies a value of the API key.

Trait Implementations

impl Clone for CreateApiKeyRequest[src]

impl Debug for CreateApiKeyRequest[src]

impl Default for CreateApiKeyRequest[src]

impl PartialEq<CreateApiKeyRequest> for CreateApiKeyRequest[src]

impl Serialize for CreateApiKeyRequest[src]

impl StructuralPartialEq for CreateApiKeyRequest[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> From<T> 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> Sealed<T> for T where
    T: ?Sized

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.