Struct aws_sdk_apigateway::model::ApiKey [−][src]
#[non_exhaustive]pub struct ApiKey {
pub id: Option<String>,
pub value: Option<String>,
pub name: Option<String>,
pub customer_id: Option<String>,
pub description: Option<String>,
pub enabled: bool,
pub created_date: Option<DateTime>,
pub last_updated_date: Option<DateTime>,
pub stage_keys: Option<Vec<String>>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
A resource that can be distributed to callers for executing Method
resources that require an API key. API keys can be mapped to any Stage
on any RestApi
, which indicates that the callers with the API key can make requests to that stage.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The identifier of the API Key.
value: Option<String>
The value of the API Key.
name: Option<String>
The name of the API Key.
customer_id: Option<String>
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
description: Option<String>
The description of the API Key.
enabled: bool
Specifies whether the API Key can be used by callers.
created_date: Option<DateTime>
The timestamp when the API Key was created.
last_updated_date: Option<DateTime>
The timestamp when the API Key was last updated.
stage_keys: Option<Vec<String>>
A list of Stage
resources that are associated with the ApiKey
resource.
The collection of tags. Each tag element is associated with a given resource.
Implementations
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
The description of the API Key.
The timestamp when the API Key was created.
The timestamp when the API Key was last updated.
A list of Stage
resources that are associated with the ApiKey
resource.
The collection of tags. Each tag element is associated with a given resource.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ApiKey
impl UnwindSafe for ApiKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more