Skip to content

Type definitions#

Index > Glacier > Type definitions

Auto-generated documentation for Glacier type annotations stubs module mypy-boto3-glacier.

BlobTypeDef#

# BlobTypeDef definition

BlobTypeDef = Union[
    str,
    bytes,
    IO[Any],
    StreamingBody,
]

VaultNotificationConfigUnionTypeDef#

# VaultNotificationConfigUnionTypeDef definition

VaultNotificationConfigUnionTypeDef = Union[
    VaultNotificationConfigTypeDef,  # (1)
    VaultNotificationConfigOutputTypeDef,  # (2)
]
  1. See VaultNotificationConfigTypeDef
  2. See VaultNotificationConfigOutputTypeDef

DataRetrievalPolicyUnionTypeDef#

# DataRetrievalPolicyUnionTypeDef definition

DataRetrievalPolicyUnionTypeDef = Union[
    DataRetrievalPolicyTypeDef,  # (1)
    DataRetrievalPolicyOutputTypeDef,  # (2)
]
  1. See DataRetrievalPolicyTypeDef
  2. See DataRetrievalPolicyOutputTypeDef

AbortMultipartUploadInputRequestTypeDef#

# AbortMultipartUploadInputRequestTypeDef definition

class AbortMultipartUploadInputRequestTypeDef(TypedDict):
    vaultName: str,
    uploadId: str,
    accountId: NotRequired[str],

AbortVaultLockInputRequestTypeDef#

# AbortVaultLockInputRequestTypeDef definition

class AbortVaultLockInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

AddTagsToVaultInputRequestTypeDef#

# AddTagsToVaultInputRequestTypeDef definition

class AddTagsToVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CSVInputTypeDef#

# CSVInputTypeDef definition

class CSVInputTypeDef(TypedDict):
    FileHeaderInfo: NotRequired[FileHeaderInfoType],  # (1)
    Comments: NotRequired[str],
    QuoteEscapeCharacter: NotRequired[str],
    RecordDelimiter: NotRequired[str],
    FieldDelimiter: NotRequired[str],
    QuoteCharacter: NotRequired[str],
  1. See FileHeaderInfoType

CSVOutputTypeDef#

# CSVOutputTypeDef definition

class CSVOutputTypeDef(TypedDict):
    QuoteFields: NotRequired[QuoteFieldsType],  # (1)
    QuoteEscapeCharacter: NotRequired[str],
    RecordDelimiter: NotRequired[str],
    FieldDelimiter: NotRequired[str],
    QuoteCharacter: NotRequired[str],
  1. See QuoteFieldsType

CompleteMultipartUploadInputMultipartUploadCompleteTypeDef#

# CompleteMultipartUploadInputMultipartUploadCompleteTypeDef definition

class CompleteMultipartUploadInputMultipartUploadCompleteTypeDef(TypedDict):
    archiveSize: NotRequired[str],
    checksum: NotRequired[str],

CompleteMultipartUploadInputRequestTypeDef#

# CompleteMultipartUploadInputRequestTypeDef definition

class CompleteMultipartUploadInputRequestTypeDef(TypedDict):
    vaultName: str,
    uploadId: str,
    accountId: NotRequired[str],
    archiveSize: NotRequired[str],
    checksum: NotRequired[str],

CompleteVaultLockInputRequestTypeDef#

# CompleteVaultLockInputRequestTypeDef definition

class CompleteVaultLockInputRequestTypeDef(TypedDict):
    vaultName: str,
    lockId: str,
    accountId: NotRequired[str],

CreateVaultInputAccountCreateVaultTypeDef#

# CreateVaultInputAccountCreateVaultTypeDef definition

class CreateVaultInputAccountCreateVaultTypeDef(TypedDict):
    vaultName: str,

CreateVaultInputRequestTypeDef#

# CreateVaultInputRequestTypeDef definition

class CreateVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

CreateVaultInputServiceResourceCreateVaultTypeDef#

# CreateVaultInputServiceResourceCreateVaultTypeDef definition

class CreateVaultInputServiceResourceCreateVaultTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

DataRetrievalRuleTypeDef#

# DataRetrievalRuleTypeDef definition

class DataRetrievalRuleTypeDef(TypedDict):
    Strategy: NotRequired[str],
    BytesPerHour: NotRequired[int],

DeleteArchiveInputRequestTypeDef#

# DeleteArchiveInputRequestTypeDef definition

class DeleteArchiveInputRequestTypeDef(TypedDict):
    vaultName: str,
    archiveId: str,
    accountId: NotRequired[str],

DeleteVaultAccessPolicyInputRequestTypeDef#

# DeleteVaultAccessPolicyInputRequestTypeDef definition

class DeleteVaultAccessPolicyInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

DeleteVaultInputRequestTypeDef#

# DeleteVaultInputRequestTypeDef definition

class DeleteVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

DeleteVaultNotificationsInputRequestTypeDef#

# DeleteVaultNotificationsInputRequestTypeDef definition

class DeleteVaultNotificationsInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

DescribeJobInputRequestTypeDef#

# DescribeJobInputRequestTypeDef definition

class DescribeJobInputRequestTypeDef(TypedDict):
    vaultName: str,
    jobId: str,
    accountId: NotRequired[str],

DescribeVaultInputRequestTypeDef#

# DescribeVaultInputRequestTypeDef definition

class DescribeVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

WaiterConfigTypeDef#

# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeVaultOutputTypeDef#

# DescribeVaultOutputTypeDef definition

class DescribeVaultOutputTypeDef(TypedDict):
    VaultARN: NotRequired[str],
    VaultName: NotRequired[str],
    CreationDate: NotRequired[str],
    LastInventoryDate: NotRequired[str],
    NumberOfArchives: NotRequired[int],
    SizeInBytes: NotRequired[int],

EncryptionTypeDef#

# EncryptionTypeDef definition

class EncryptionTypeDef(TypedDict):
    EncryptionType: NotRequired[EncryptionTypeType],  # (1)
    KMSKeyId: NotRequired[str],
    KMSContext: NotRequired[str],
  1. See EncryptionTypeType

GetDataRetrievalPolicyInputRequestTypeDef#

# GetDataRetrievalPolicyInputRequestTypeDef definition

class GetDataRetrievalPolicyInputRequestTypeDef(TypedDict):
    accountId: NotRequired[str],

GetJobOutputInputJobGetOutputTypeDef#

# GetJobOutputInputJobGetOutputTypeDef definition

class GetJobOutputInputJobGetOutputTypeDef(TypedDict):
    range: NotRequired[str],

GetJobOutputInputRequestTypeDef#

# GetJobOutputInputRequestTypeDef definition

class GetJobOutputInputRequestTypeDef(TypedDict):
    vaultName: str,
    jobId: str,
    accountId: NotRequired[str],
    range: NotRequired[str],

GetVaultAccessPolicyInputRequestTypeDef#

# GetVaultAccessPolicyInputRequestTypeDef definition

class GetVaultAccessPolicyInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

VaultAccessPolicyTypeDef#

# VaultAccessPolicyTypeDef definition

class VaultAccessPolicyTypeDef(TypedDict):
    Policy: NotRequired[str],

GetVaultLockInputRequestTypeDef#

# GetVaultLockInputRequestTypeDef definition

class GetVaultLockInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

GetVaultNotificationsInputRequestTypeDef#

# GetVaultNotificationsInputRequestTypeDef definition

class GetVaultNotificationsInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

VaultNotificationConfigOutputTypeDef#

# VaultNotificationConfigOutputTypeDef definition

class VaultNotificationConfigOutputTypeDef(TypedDict):
    SNSTopic: NotRequired[str],
    Events: NotRequired[List[str]],

InventoryRetrievalJobDescriptionTypeDef#

# InventoryRetrievalJobDescriptionTypeDef definition

class InventoryRetrievalJobDescriptionTypeDef(TypedDict):
    Format: NotRequired[str],
    StartDate: NotRequired[str],
    EndDate: NotRequired[str],
    Limit: NotRequired[str],
    Marker: NotRequired[str],

GranteeTypeDef#

# GranteeTypeDef definition

class GranteeTypeDef(TypedDict):
    Type: TypeType,  # (1)
    DisplayName: NotRequired[str],
    URI: NotRequired[str],
    ID: NotRequired[str],
    EmailAddress: NotRequired[str],
  1. See TypeType

InitiateMultipartUploadInputRequestTypeDef#

# InitiateMultipartUploadInputRequestTypeDef definition

class InitiateMultipartUploadInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],
    archiveDescription: NotRequired[str],
    partSize: NotRequired[str],

InitiateMultipartUploadInputVaultInitiateMultipartUploadTypeDef#

# InitiateMultipartUploadInputVaultInitiateMultipartUploadTypeDef definition

class InitiateMultipartUploadInputVaultInitiateMultipartUploadTypeDef(TypedDict):
    archiveDescription: NotRequired[str],
    partSize: NotRequired[str],

VaultLockPolicyTypeDef#

# VaultLockPolicyTypeDef definition

class VaultLockPolicyTypeDef(TypedDict):
    Policy: NotRequired[str],

InventoryRetrievalJobInputTypeDef#

# InventoryRetrievalJobInputTypeDef definition

class InventoryRetrievalJobInputTypeDef(TypedDict):
    StartDate: NotRequired[str],
    EndDate: NotRequired[str],
    Limit: NotRequired[str],
    Marker: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListJobsInputRequestTypeDef#

# ListJobsInputRequestTypeDef definition

class ListJobsInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],
    limit: NotRequired[str],
    marker: NotRequired[str],
    statuscode: NotRequired[str],
    completed: NotRequired[str],

ListMultipartUploadsInputRequestTypeDef#

# ListMultipartUploadsInputRequestTypeDef definition

class ListMultipartUploadsInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],
    marker: NotRequired[str],
    limit: NotRequired[str],

UploadListElementTypeDef#

# UploadListElementTypeDef definition

class UploadListElementTypeDef(TypedDict):
    MultipartUploadId: NotRequired[str],
    VaultARN: NotRequired[str],
    ArchiveDescription: NotRequired[str],
    PartSizeInBytes: NotRequired[int],
    CreationDate: NotRequired[str],

ListPartsInputMultipartUploadPartsTypeDef#

# ListPartsInputMultipartUploadPartsTypeDef definition

class ListPartsInputMultipartUploadPartsTypeDef(TypedDict):
    marker: NotRequired[str],
    limit: NotRequired[str],

ListPartsInputRequestTypeDef#

# ListPartsInputRequestTypeDef definition

class ListPartsInputRequestTypeDef(TypedDict):
    vaultName: str,
    uploadId: str,
    accountId: NotRequired[str],
    marker: NotRequired[str],
    limit: NotRequired[str],

PartListElementTypeDef#

# PartListElementTypeDef definition

class PartListElementTypeDef(TypedDict):
    RangeInBytes: NotRequired[str],
    SHA256TreeHash: NotRequired[str],

ListProvisionedCapacityInputRequestTypeDef#

# ListProvisionedCapacityInputRequestTypeDef definition

class ListProvisionedCapacityInputRequestTypeDef(TypedDict):
    accountId: NotRequired[str],

ProvisionedCapacityDescriptionTypeDef#

# ProvisionedCapacityDescriptionTypeDef definition

class ProvisionedCapacityDescriptionTypeDef(TypedDict):
    CapacityId: NotRequired[str],
    StartDate: NotRequired[str],
    ExpirationDate: NotRequired[str],

ListTagsForVaultInputRequestTypeDef#

# ListTagsForVaultInputRequestTypeDef definition

class ListTagsForVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],

ListVaultsInputRequestTypeDef#

# ListVaultsInputRequestTypeDef definition

class ListVaultsInputRequestTypeDef(TypedDict):
    accountId: NotRequired[str],
    marker: NotRequired[str],
    limit: NotRequired[str],

PurchaseProvisionedCapacityInputRequestTypeDef#

# PurchaseProvisionedCapacityInputRequestTypeDef definition

class PurchaseProvisionedCapacityInputRequestTypeDef(TypedDict):
    accountId: NotRequired[str],

RemoveTagsFromVaultInputRequestTypeDef#

# RemoveTagsFromVaultInputRequestTypeDef definition

class RemoveTagsFromVaultInputRequestTypeDef(TypedDict):
    vaultName: str,
    accountId: NotRequired[str],
    TagKeys: NotRequired[Sequence[str]],

VaultNotificationConfigTypeDef#

# VaultNotificationConfigTypeDef definition

class VaultNotificationConfigTypeDef(TypedDict):
    SNSTopic: NotRequired[str],
    Events: NotRequired[Sequence[str]],

ArchiveCreationOutputTypeDef#

# ArchiveCreationOutputTypeDef definition

class ArchiveCreationOutputTypeDef(TypedDict):
    location: str,
    checksum: str,
    archiveId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateVaultOutputTypeDef#

# CreateVaultOutputTypeDef definition

class CreateVaultOutputTypeDef(TypedDict):
    location: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeVaultResponseTypeDef#

# DescribeVaultResponseTypeDef definition

class DescribeVaultResponseTypeDef(TypedDict):
    VaultARN: str,
    VaultName: str,
    CreationDate: str,
    LastInventoryDate: str,
    NumberOfArchives: int,
    SizeInBytes: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See