Paginators#
Auto-generated documentation for ECS type annotations stubs module mypy-boto3-ecs.
ListAccountSettingsPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_account_settings")
.
boto3 documentation
# ListAccountSettingsPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListAccountSettingsPaginator
def get_list_account_settings_paginator() -> ListAccountSettingsPaginator:
return Session().client("ecs").get_paginator("list_account_settings")
# ListAccountSettingsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListAccountSettingsPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListAccountSettingsPaginator = client.get_paginator("list_account_settings") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListAccountSettingsPaginator
- item: ListAccountSettingsResponseTypeDef
paginate#
Type annotations and code completion for ListAccountSettingsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
name: SettingNameType = ..., # (1)
value: str = ...,
principalArn: str = ...,
effectiveSettings: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAccountSettingsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAccountSettingsRequestListAccountSettingsPaginateTypeDef = { # (1)
"name": ...,
}
parent.paginate(**kwargs)
ListAttributesPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_attributes")
.
boto3 documentation
# ListAttributesPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListAttributesPaginator
def get_list_attributes_paginator() -> ListAttributesPaginator:
return Session().client("ecs").get_paginator("list_attributes")
# ListAttributesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListAttributesPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListAttributesPaginator = client.get_paginator("list_attributes") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListAttributesPaginator
- item: ListAttributesResponseTypeDef
paginate#
Type annotations and code completion for ListAttributesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
targetType: TargetTypeType, # (1)
cluster: str = ...,
attributeName: str = ...,
attributeValue: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAttributesResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAttributesRequestListAttributesPaginateTypeDef = { # (1)
"targetType": ...,
}
parent.paginate(**kwargs)
ListClustersPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_clusters")
.
boto3 documentation
# ListClustersPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListClustersPaginator
def get_list_clusters_paginator() -> ListClustersPaginator:
return Session().client("ecs").get_paginator("list_clusters")
# ListClustersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListClustersPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListClustersPaginator = client.get_paginator("list_clusters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListClustersPaginator
- item: ListClustersResponseTypeDef
paginate#
Type annotations and code completion for ListClustersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListClustersResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListClustersRequestListClustersPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListContainerInstancesPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_container_instances")
.
boto3 documentation
# ListContainerInstancesPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListContainerInstancesPaginator
def get_list_container_instances_paginator() -> ListContainerInstancesPaginator:
return Session().client("ecs").get_paginator("list_container_instances")
# ListContainerInstancesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListContainerInstancesPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListContainerInstancesPaginator = client.get_paginator("list_container_instances") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListContainerInstancesPaginator
- item: ListContainerInstancesResponseTypeDef
paginate#
Type annotations and code completion for ListContainerInstancesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
cluster: str = ...,
filter: str = ...,
status: ContainerInstanceStatusType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListContainerInstancesResponseTypeDef]: # (3)
...
- See ContainerInstanceStatusType
- See PaginatorConfigTypeDef
- See ListContainerInstancesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListContainerInstancesRequestListContainerInstancesPaginateTypeDef = { # (1)
"cluster": ...,
}
parent.paginate(**kwargs)
ListServicesByNamespacePaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_services_by_namespace")
.
boto3 documentation
# ListServicesByNamespacePaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListServicesByNamespacePaginator
def get_list_services_by_namespace_paginator() -> ListServicesByNamespacePaginator:
return Session().client("ecs").get_paginator("list_services_by_namespace")
# ListServicesByNamespacePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListServicesByNamespacePaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListServicesByNamespacePaginator = client.get_paginator("list_services_by_namespace") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListServicesByNamespacePaginator
- item: ListServicesByNamespaceResponseTypeDef
paginate#
Type annotations and code completion for ListServicesByNamespacePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
namespace: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListServicesByNamespaceResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef = { # (1)
"namespace": ...,
}
parent.paginate(**kwargs)
ListServicesPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_services")
.
boto3 documentation
# ListServicesPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListServicesPaginator
def get_list_services_paginator() -> ListServicesPaginator:
return Session().client("ecs").get_paginator("list_services")
# ListServicesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListServicesPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListServicesPaginator = client.get_paginator("list_services") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListServicesPaginator
- item: ListServicesResponseTypeDef
paginate#
Type annotations and code completion for ListServicesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
cluster: str = ...,
launchType: LaunchTypeType = ..., # (1)
schedulingStrategy: SchedulingStrategyType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListServicesResponseTypeDef]: # (4)
...
- See LaunchTypeType
- See SchedulingStrategyType
- See PaginatorConfigTypeDef
- See ListServicesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListServicesRequestListServicesPaginateTypeDef = { # (1)
"cluster": ...,
}
parent.paginate(**kwargs)
ListTaskDefinitionFamiliesPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_task_definition_families")
.
boto3 documentation
# ListTaskDefinitionFamiliesPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTaskDefinitionFamiliesPaginator
def get_list_task_definition_families_paginator() -> ListTaskDefinitionFamiliesPaginator:
return Session().client("ecs").get_paginator("list_task_definition_families")
# ListTaskDefinitionFamiliesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTaskDefinitionFamiliesPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListTaskDefinitionFamiliesPaginator = client.get_paginator("list_task_definition_families") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListTaskDefinitionFamiliesPaginator
- item: ListTaskDefinitionFamiliesResponseTypeDef
paginate#
Type annotations and code completion for ListTaskDefinitionFamiliesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
familyPrefix: str = ...,
status: TaskDefinitionFamilyStatusType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListTaskDefinitionFamiliesResponseTypeDef]: # (3)
...
- See TaskDefinitionFamilyStatusType
- See PaginatorConfigTypeDef
- See ListTaskDefinitionFamiliesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef = { # (1)
"familyPrefix": ...,
}
parent.paginate(**kwargs)
ListTaskDefinitionsPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_task_definitions")
.
boto3 documentation
# ListTaskDefinitionsPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTaskDefinitionsPaginator
def get_list_task_definitions_paginator() -> ListTaskDefinitionsPaginator:
return Session().client("ecs").get_paginator("list_task_definitions")
# ListTaskDefinitionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTaskDefinitionsPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListTaskDefinitionsPaginator = client.get_paginator("list_task_definitions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListTaskDefinitionsPaginator
- item: ListTaskDefinitionsResponseTypeDef
paginate#
Type annotations and code completion for ListTaskDefinitionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
familyPrefix: str = ...,
status: TaskDefinitionStatusType = ..., # (1)
sort: SortOrderType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListTaskDefinitionsResponseTypeDef]: # (4)
...
- See TaskDefinitionStatusType
- See SortOrderType
- See PaginatorConfigTypeDef
- See ListTaskDefinitionsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef = { # (1)
"familyPrefix": ...,
}
parent.paginate(**kwargs)
ListTasksPaginator#
Type annotations and code completion for boto3.client("ecs").get_paginator("list_tasks")
.
boto3 documentation
# ListTasksPaginator usage example
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTasksPaginator
def get_list_tasks_paginator() -> ListTasksPaginator:
return Session().client("ecs").get_paginator("list_tasks")
# ListTasksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_ecs.paginator import ListTasksPaginator
session = Session()
client = Session().client("ecs") # (1)
paginator: ListTasksPaginator = client.get_paginator("list_tasks") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ECSClient
- paginator: ListTasksPaginator
- item: ListTasksResponseTypeDef
paginate#
Type annotations and code completion for ListTasksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
cluster: str = ...,
containerInstance: str = ...,
family: str = ...,
startedBy: str = ...,
serviceName: str = ...,
desiredStatus: DesiredStatusType = ..., # (1)
launchType: LaunchTypeType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> _PageIterator[ListTasksResponseTypeDef]: # (4)
...
# paginate method usage example with argument unpacking
kwargs: ListTasksRequestListTasksPaginateTypeDef = { # (1)
"cluster": ...,
}
parent.paginate(**kwargs)