Skip to content

Paginators#

Index > Glacier > Paginators

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

ListJobsPaginator#

Type annotations and code completion for boto3.client("glacier").get_paginator("list_jobs"). boto3 documentation

# ListJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListJobsPaginator

def get_list_jobs_paginator() -> ListJobsPaginator:
    return Session().client("glacier").get_paginator("list_jobs")
# ListJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListJobsPaginator

session = Session()

client = Session().client("glacier")  # (1)
paginator: ListJobsPaginator = client.get_paginator("list_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GlacierClient
  2. paginator: ListJobsPaginator
  3. item: ListJobsOutputTypeDef

paginate#

Type annotations and code completion for ListJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    accountId: str,
    vaultName: str,
    statuscode: str = ...,
    completed: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListJobsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListJobsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListJobsInputListJobsPaginateTypeDef = {  # (1)
    "accountId": ...,
    "vaultName": ...,
}

parent.paginate(**kwargs)
  1. See ListJobsInputListJobsPaginateTypeDef

ListMultipartUploadsPaginator#

Type annotations and code completion for boto3.client("glacier").get_paginator("list_multipart_uploads"). boto3 documentation

# ListMultipartUploadsPaginator usage example

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListMultipartUploadsPaginator

def get_list_multipart_uploads_paginator() -> ListMultipartUploadsPaginator:
    return Session().client("glacier").get_paginator("list_multipart_uploads")
# ListMultipartUploadsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListMultipartUploadsPaginator

session = Session()

client = Session().client("glacier")  # (1)
paginator: ListMultipartUploadsPaginator = client.get_paginator("list_multipart_uploads")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GlacierClient
  2. paginator: ListMultipartUploadsPaginator
  3. item: ListMultipartUploadsOutputTypeDef

paginate#

Type annotations and code completion for ListMultipartUploadsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    accountId: str,
    vaultName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListMultipartUploadsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListMultipartUploadsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListMultipartUploadsInputListMultipartUploadsPaginateTypeDef = {  # (1)
    "accountId": ...,
    "vaultName": ...,
}

parent.paginate(**kwargs)
  1. See ListMultipartUploadsInputListMultipartUploadsPaginateTypeDef

ListPartsPaginator#

Type annotations and code completion for boto3.client("glacier").get_paginator("list_parts"). boto3 documentation

# ListPartsPaginator usage example

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListPartsPaginator

def get_list_parts_paginator() -> ListPartsPaginator:
    return Session().client("glacier").get_paginator("list_parts")
# ListPartsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListPartsPaginator

session = Session()

client = Session().client("glacier")  # (1)
paginator: ListPartsPaginator = client.get_paginator("list_parts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GlacierClient
  2. paginator: ListPartsPaginator
  3. item: ListPartsOutputTypeDef

paginate#

Type annotations and code completion for ListPartsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    accountId: str,
    vaultName: str,
    uploadId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPartsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPartsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPartsInputListPartsPaginateTypeDef = {  # (1)
    "accountId": ...,
    "vaultName": ...,
    "uploadId": ...,
}

parent.paginate(**kwargs)
  1. See ListPartsInputListPartsPaginateTypeDef

ListVaultsPaginator#

Type annotations and code completion for boto3.client("glacier").get_paginator("list_vaults"). boto3 documentation

# ListVaultsPaginator usage example

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListVaultsPaginator

def get_list_vaults_paginator() -> ListVaultsPaginator:
    return Session().client("glacier").get_paginator("list_vaults")
# ListVaultsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_glacier.paginator import ListVaultsPaginator

session = Session()

client = Session().client("glacier")  # (1)
paginator: ListVaultsPaginator = client.get_paginator("list_vaults")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: GlacierClient
  2. paginator: ListVaultsPaginator
  3. item: ListVaultsOutputTypeDef

paginate#

Type annotations and code completion for ListVaultsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    accountId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListVaultsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListVaultsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListVaultsInputListVaultsPaginateTypeDef = {  # (1)
    "accountId": ...,
}

parent.paginate(**kwargs)
  1. See ListVaultsInputListVaultsPaginateTypeDef