Skip to content

InitiateVaultLockInput

Source code in docs_src/capo_glacier/types/initiate_vault_lock_input.py
class InitiateVaultLockInput(TypedDict, closed=True):
    account_id: "capo_glacier.types.string.string"
    """<p>The <code>AccountId</code> value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '<code>-</code>' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.</p>"""
    vault_name: "capo_glacier.types.string.string"
    """<p>The name of the vault.</p>"""
    policy: NotRequired["capo_glacier.types.vault_lock_policy.VaultLockPolicy"]
    r"""<p>The vault lock policy as a JSON string, which uses "\" as an escape character.</p>"""

account_id instance-attribute

account_id: string

The AccountId value is the AWS account ID. This value must match the AWS account ID associated with the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.

policy instance-attribute

policy: NotRequired[VaultLockPolicy]

The vault lock policy as a JSON string, which uses "\" as an escape character.

vault_name instance-attribute

vault_name: string

The name of the vault.