Skip to content

CreateApiKeyRequest

Source code in docs_src/capo_appsync/types/create_api_key_request.py
class CreateApiKeyRequest(TypedDict, closed=True):
    api_id: "capo_appsync.types.string.String"
    """<p>The ID for your GraphQL API.</p>"""
    description: NotRequired["capo_appsync.types.string.String"]
    """<p>A description of the purpose of the API key.</p>"""
    expires: "capo_appsync.types.long.Long"
    """<p>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 .</p>"""

api_id instance-attribute

api_id: String

The ID for your GraphQL API.

description instance-attribute

description: NotRequired[String]

A description of the purpose of the API key.

expires instance-attribute

expires: Long

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 .