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)
- client: DataSyncClient
- paginator: DescribeStorageSystemResourceMetricsPaginator
- 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)
...
- See DiscoveryResourceTypeType
- See PaginatorConfigTypeDef
- See DescribeStorageSystemResourceMetricsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeStorageSystemResourceMetricsRequestPaginateTypeDef = { # (1)
"DiscoveryJobArn": ...,
"ResourceType": ...,
"ResourceId": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListAgentsPaginator
- item: ListAgentsResponseTypeDef
paginate#
Type annotations and code completion for ListAgentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListAgentsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAgentsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListDiscoveryJobsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListDiscoveryJobsRequestPaginateTypeDef = { # (1)
"StorageSystemArn": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListLocationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListLocationsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListStorageSystemsPaginator
- item: ListStorageSystemsResponseTypeDef
paginate#
Type annotations and code completion for ListStorageSystemsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListStorageSystemsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListStorageSystemsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListTagsForResourcePaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceRequestPaginateTypeDef = { # (1)
"ResourceArn": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListTaskExecutionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListTaskExecutionsRequestPaginateTypeDef = { # (1)
"TaskArn": ...,
}
parent.paginate(**kwargs)
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)
- client: DataSyncClient
- paginator: ListTasksPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListTasksRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)