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

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")
Usage example
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.

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
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListClustersResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListClustersResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
kwargs: ListContainerInstancesRequestListContainerInstancesPaginateTypeDef = {  # (1)
    "cluster": ...,
}

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

ListServicesPaginator

Type annotations and code completion for boto3.client("ecs").get_paginator("list_services"). boto3 documentation

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")
Usage example
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.

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
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
kwargs: ListTasksRequestListTasksPaginateTypeDef = {  # (1)
    "cluster": ...,
}

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