Struct aws_sdk_apigateway::input::CreateApiKeyInput
source · [−]#[non_exhaustive]pub struct CreateApiKeyInput { /* private fields */ }Expand description
Request to create an ApiKey resource.
Implementations
sourceimpl CreateApiKeyInput
impl CreateApiKeyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApiKey, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApiKey, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateApiKey>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateApiKeyInput.
sourceimpl CreateApiKeyInput
impl CreateApiKeyInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the ApiKey.
sourcepub fn generate_distinct_id(&self) -> bool
pub fn generate_distinct_id(&self) -> 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.
sourcepub fn stage_keys(&self) -> Option<&[StageKey]>
pub fn stage_keys(&self) -> Option<&[StageKey]>
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
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.
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.
Trait Implementations
sourceimpl Clone for CreateApiKeyInput
impl Clone for CreateApiKeyInput
sourcefn clone(&self) -> CreateApiKeyInput
fn clone(&self) -> CreateApiKeyInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CreateApiKeyInput
impl Debug for CreateApiKeyInput
sourceimpl PartialEq<CreateApiKeyInput> for CreateApiKeyInput
impl PartialEq<CreateApiKeyInput> for CreateApiKeyInput
sourcefn eq(&self, other: &CreateApiKeyInput) -> bool
fn eq(&self, other: &CreateApiKeyInput) -> bool
impl StructuralPartialEq for CreateApiKeyInput
Auto Trait Implementations
impl RefUnwindSafe for CreateApiKeyInput
impl Send for CreateApiKeyInput
impl Sync for CreateApiKeyInput
impl Unpin for CreateApiKeyInput
impl UnwindSafe for CreateApiKeyInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more