Skip to content

GetApiKeyResponse

Source code in docs_src/capo_amplifygen3/types/get_api_key_response.py
class GetApiKeyResponse(TypedDict, closed=True):
    api_key: "capo_amplifygen3.types.api_key.ApiKey"
    """<p>The value of the API key. The key value is a credential. Store it securely and don't log it.</p>"""
    api_key_id: "capo_amplifygen3.types.api_key_id.ApiKeyId"
    """<p>The ID of the API key. Use the ID to identify the key when you list or revoke keys.</p>"""
    created_at: "datetime.datetime"
    """<p>The time at which the API key was created. The value is in ISO-8601 format.</p>"""
    status: "capo_amplifygen3.types.api_key_status.ApiKeyStatus"
    """<p>The status of the API key.</p>"""
    updated_at: "datetime.datetime"
    """<p>The time at which the API key was last updated. The value is in ISO-8601 format. For a key that was never updated, this is the same as the creation time.</p>"""

api_key instance-attribute

api_key: ApiKey

The value of the API key. The key value is a credential. Store it securely and don't log it.

api_key_id instance-attribute

api_key_id: ApiKeyId

The ID of the API key. Use the ID to identify the key when you list or revoke keys.

created_at instance-attribute

created_at: datetime

The time at which the API key was created. The value is in ISO-8601 format.

status instance-attribute

status: ApiKeyStatus

The status of the API key.

updated_at instance-attribute

updated_at: datetime

The time at which the API key was last updated. The value is in ISO-8601 format. For a key that was never updated, this is the same as the creation time.