Skip to content

SetVaultAccessPolicyInput

Source code in docs_src/capo_glacier/types/set_vault_access_policy_input.py
class SetVaultAccessPolicyInput(TypedDict, closed=True):
    account_id: "capo_glacier.types.string.string"
    """<p>The <code>AccountId</code> value is the AWS account ID of the account that owns the vault. 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 use an 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_access_policy.VaultAccessPolicy"]
    """<p>The vault access policy as a JSON string.</p>"""

account_id instance-attribute

account_id: string

The AccountId value is the AWS account ID of the account that owns the vault. 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 use an account ID, do not include any hyphens ('-') in the ID.

policy instance-attribute

policy: NotRequired[VaultAccessPolicy]

The vault access policy as a JSON string.

vault_name instance-attribute

vault_name: string

The name of the vault.