#[non_exhaustive]pub struct UpdateApiKeyOutput {
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>>,
/* private fields */
}
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§
source§impl UpdateApiKeyOutput
impl UpdateApiKeyOutput
sourcepub fn customer_id(&self) -> Option<&str>
pub fn customer_id(&self) -> Option<&str>
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the API Key.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The timestamp when the API Key was created.
sourcepub fn last_updated_date(&self) -> Option<&DateTime>
pub fn last_updated_date(&self) -> Option<&DateTime>
The timestamp when the API Key was last updated.
sourcepub fn stage_keys(&self) -> Option<&[String]>
pub fn stage_keys(&self) -> Option<&[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.
source§impl UpdateApiKeyOutput
impl UpdateApiKeyOutput
sourcepub fn builder() -> UpdateApiKeyOutputBuilder
pub fn builder() -> UpdateApiKeyOutputBuilder
Creates a new builder-style object to manufacture UpdateApiKeyOutput
.
Trait Implementations§
source§impl Clone for UpdateApiKeyOutput
impl Clone for UpdateApiKeyOutput
source§fn clone(&self) -> UpdateApiKeyOutput
fn clone(&self) -> UpdateApiKeyOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateApiKeyOutput
impl Debug for UpdateApiKeyOutput
source§impl PartialEq<UpdateApiKeyOutput> for UpdateApiKeyOutput
impl PartialEq<UpdateApiKeyOutput> for UpdateApiKeyOutput
source§fn eq(&self, other: &UpdateApiKeyOutput) -> bool
fn eq(&self, other: &UpdateApiKeyOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateApiKeyOutput
impl RequestId for UpdateApiKeyOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.