Skip to content

Paginators#

Index > DataSync > Paginators

Auto-generated documentation for DataSync type annotations stubs module mypy-boto3-datasync.

DescribeStorageSystemResourceMetricsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("describe_storage_system_resource_metrics"). boto3 documentation

# DescribeStorageSystemResourceMetricsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import DescribeStorageSystemResourceMetricsPaginator

def get_describe_storage_system_resource_metrics_paginator() -> DescribeStorageSystemResourceMetricsPaginator:
    return Session().client("datasync").get_paginator("describe_storage_system_resource_metrics")
# DescribeStorageSystemResourceMetricsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import DescribeStorageSystemResourceMetricsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: DescribeStorageSystemResourceMetricsPaginator = client.get_paginator("describe_storage_system_resource_metrics")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: DescribeStorageSystemResourceMetricsPaginator
  3. item: DescribeStorageSystemResourceMetricsResponseTypeDef

paginate#

Type annotations and code completion for DescribeStorageSystemResourceMetricsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DiscoveryJobArn: str,
    ResourceType: DiscoveryResourceTypeType,  # (1)
    ResourceId: str,
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[DescribeStorageSystemResourceMetricsResponseTypeDef]:  # (3)
    ...
  1. See DiscoveryResourceTypeType
  2. See PaginatorConfigTypeDef
  3. See DescribeStorageSystemResourceMetricsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeStorageSystemResourceMetricsRequestDescribeStorageSystemResourceMetricsPaginateTypeDef = {  # (1)
    "DiscoveryJobArn": ...,
    "ResourceType": ...,
    "ResourceId": ...,
}

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

ListAgentsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_agents"). boto3 documentation

# ListAgentsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListAgentsPaginator

def get_list_agents_paginator() -> ListAgentsPaginator:
    return Session().client("datasync").get_paginator("list_agents")
# ListAgentsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListAgentsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListAgentsPaginator = client.get_paginator("list_agents")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListAgentsPaginator
  3. item: ListAgentsResponseTypeDef

paginate#

Type annotations and code completion for ListAgentsPaginator.paginate method.

# paginate method definition

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

kwargs: ListAgentsRequestListAgentsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListDiscoveryJobsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_discovery_jobs"). boto3 documentation

# ListDiscoveryJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListDiscoveryJobsPaginator

def get_list_discovery_jobs_paginator() -> ListDiscoveryJobsPaginator:
    return Session().client("datasync").get_paginator("list_discovery_jobs")
# ListDiscoveryJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListDiscoveryJobsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListDiscoveryJobsPaginator = client.get_paginator("list_discovery_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListDiscoveryJobsPaginator
  3. item: ListDiscoveryJobsResponseTypeDef

paginate#

Type annotations and code completion for ListDiscoveryJobsPaginator.paginate method.

# paginate method definition

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

kwargs: ListDiscoveryJobsRequestListDiscoveryJobsPaginateTypeDef = {  # (1)
    "StorageSystemArn": ...,
}

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

ListLocationsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_locations"). boto3 documentation

# ListLocationsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListLocationsPaginator

def get_list_locations_paginator() -> ListLocationsPaginator:
    return Session().client("datasync").get_paginator("list_locations")
# ListLocationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListLocationsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListLocationsPaginator = client.get_paginator("list_locations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListLocationsPaginator
  3. item: ListLocationsResponseTypeDef

paginate#

Type annotations and code completion for ListLocationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[LocationFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListLocationsResponseTypeDef]:  # (3)
    ...
  1. See LocationFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListLocationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListLocationsRequestListLocationsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

ListStorageSystemsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_storage_systems"). boto3 documentation

# ListStorageSystemsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListStorageSystemsPaginator

def get_list_storage_systems_paginator() -> ListStorageSystemsPaginator:
    return Session().client("datasync").get_paginator("list_storage_systems")
# ListStorageSystemsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListStorageSystemsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListStorageSystemsPaginator = client.get_paginator("list_storage_systems")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListStorageSystemsPaginator
  3. item: ListStorageSystemsResponseTypeDef

paginate#

Type annotations and code completion for ListStorageSystemsPaginator.paginate method.

# paginate method definition

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

kwargs: ListStorageSystemsRequestListStorageSystemsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListTagsForResourcePaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_tags_for_resource"). boto3 documentation

# ListTagsForResourcePaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTagsForResourcePaginator

def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
    return Session().client("datasync").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTagsForResourcePaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListTagsForResourcePaginator
  3. item: ListTagsForResourceResponseTypeDef

paginate#

Type annotations and code completion for ListTagsForResourcePaginator.paginate method.

# paginate method definition

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

kwargs: ListTagsForResourceRequestListTagsForResourcePaginateTypeDef = {  # (1)
    "ResourceArn": ...,
}

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

ListTaskExecutionsPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_task_executions"). boto3 documentation

# ListTaskExecutionsPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTaskExecutionsPaginator

def get_list_task_executions_paginator() -> ListTaskExecutionsPaginator:
    return Session().client("datasync").get_paginator("list_task_executions")
# ListTaskExecutionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTaskExecutionsPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListTaskExecutionsPaginator = client.get_paginator("list_task_executions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListTaskExecutionsPaginator
  3. item: ListTaskExecutionsResponseTypeDef

paginate#

Type annotations and code completion for ListTaskExecutionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListTaskExecutionsRequestListTaskExecutionsPaginateTypeDef = {  # (1)
    "TaskArn": ...,
}

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

ListTasksPaginator#

Type annotations and code completion for boto3.client("datasync").get_paginator("list_tasks"). boto3 documentation

# ListTasksPaginator usage example

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTasksPaginator

def get_list_tasks_paginator() -> ListTasksPaginator:
    return Session().client("datasync").get_paginator("list_tasks")
# ListTasksPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_datasync.paginator import ListTasksPaginator

session = Session()

client = Session().client("datasync")  # (1)
paginator: ListTasksPaginator = client.get_paginator("list_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DataSyncClient
  2. paginator: ListTasksPaginator
  3. item: ListTasksResponseTypeDef

paginate#

Type annotations and code completion for ListTasksPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: Sequence[TaskFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListTasksResponseTypeDef]:  # (3)
    ...
  1. See TaskFilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListTasksResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTasksRequestListTasksPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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