Skip to content

Paginators#

Index > ECS > 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)
  1. client: ECSClient
  2. paginator: ListAccountSettingsPaginator
  3. 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)
    ...
  1. See SettingNameType
  2. See PaginatorConfigTypeDef
  3. See ListAccountSettingsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAccountSettingsRequestListAccountSettingsPaginateTypeDef = {  # (1)
    "name": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListAttributesPaginator
  3. 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)
    ...
  1. See TargetTypeType
  2. See PaginatorConfigTypeDef
  3. See ListAttributesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAttributesRequestListAttributesPaginateTypeDef = {  # (1)
    "targetType": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListClustersPaginator
  3. item: ListClustersResponseTypeDef

paginate#

Type annotations and code completion for ListClustersPaginator.paginate method.

# paginate method definition

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

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

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

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)
  1. client: ECSClient
  2. paginator: ListContainerInstancesPaginator
  3. 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)
    ...
  1. See ContainerInstanceStatusType
  2. See PaginatorConfigTypeDef
  3. See ListContainerInstancesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListContainerInstancesRequestListContainerInstancesPaginateTypeDef = {  # (1)
    "cluster": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListServicesByNamespacePaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListServicesByNamespaceResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef = {  # (1)
    "namespace": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListServicesPaginator
  3. 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)
    ...
  1. See LaunchTypeType
  2. See SchedulingStrategyType
  3. See PaginatorConfigTypeDef
  4. See ListServicesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListServicesRequestListServicesPaginateTypeDef = {  # (1)
    "cluster": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListTaskDefinitionFamiliesPaginator
  3. 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)
    ...
  1. See TaskDefinitionFamilyStatusType
  2. See PaginatorConfigTypeDef
  3. See ListTaskDefinitionFamiliesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef = {  # (1)
    "familyPrefix": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListTaskDefinitionsPaginator
  3. 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)
    ...
  1. See TaskDefinitionStatusType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef
  4. See ListTaskDefinitionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef = {  # (1)
    "familyPrefix": ...,
}

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

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)
  1. client: ECSClient
  2. paginator: ListTasksPaginator
  3. 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)
    ...
  1. See DesiredStatusType
  2. See LaunchTypeType
  3. See PaginatorConfigTypeDef
  4. See ListTasksResponseTypeDef
# paginate method usage example with argument unpacking

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

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