Struct aws_sdk_appsync::input::CreateApiKeyInput
source · [−]#[non_exhaustive]pub struct CreateApiKeyInput {
pub api_id: Option<String>,
pub description: Option<String>,
pub expires: i64,
}
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.api_id: Option<String>
The ID for your GraphQL API.
description: Option<String>
A description of the purpose of the API key.
expires: i64
From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApiKey, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateApiKey, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateApiKey
>
Creates a new builder-style object to manufacture CreateApiKeyInput
A description of the purpose of the API key.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
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