Skip to content

Paginators#

Index > SFN > Paginators

Auto-generated documentation for SFN type annotations stubs module mypy-boto3-stepfunctions.

GetExecutionHistoryPaginator#

Type annotations and code completion for boto3.client("stepfunctions").get_paginator("get_execution_history"). boto3 documentation

# GetExecutionHistoryPaginator usage example

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import GetExecutionHistoryPaginator

def get_get_execution_history_paginator() -> GetExecutionHistoryPaginator:
    return Session().client("stepfunctions").get_paginator("get_execution_history")
# GetExecutionHistoryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import GetExecutionHistoryPaginator

session = Session()

client = Session().client("stepfunctions")  # (1)
paginator: GetExecutionHistoryPaginator = client.get_paginator("get_execution_history")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SFNClient
  2. paginator: GetExecutionHistoryPaginator
  3. item: GetExecutionHistoryOutputTypeDef

paginate#

Type annotations and code completion for GetExecutionHistoryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    executionArn: str,
    reverseOrder: bool = ...,
    includeExecutionData: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[GetExecutionHistoryOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetExecutionHistoryOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: GetExecutionHistoryInputPaginateTypeDef = {  # (1)
    "executionArn": ...,
}

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

ListActivitiesPaginator#

Type annotations and code completion for boto3.client("stepfunctions").get_paginator("list_activities"). boto3 documentation

# ListActivitiesPaginator usage example

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListActivitiesPaginator

def get_list_activities_paginator() -> ListActivitiesPaginator:
    return Session().client("stepfunctions").get_paginator("list_activities")
# ListActivitiesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListActivitiesPaginator

session = Session()

client = Session().client("stepfunctions")  # (1)
paginator: ListActivitiesPaginator = client.get_paginator("list_activities")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SFNClient
  2. paginator: ListActivitiesPaginator
  3. item: ListActivitiesOutputTypeDef

paginate#

Type annotations and code completion for ListActivitiesPaginator.paginate method.

# paginate method definition

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

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

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

ListExecutionsPaginator#

Type annotations and code completion for boto3.client("stepfunctions").get_paginator("list_executions"). boto3 documentation

# ListExecutionsPaginator usage example

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListExecutionsPaginator

def get_list_executions_paginator() -> ListExecutionsPaginator:
    return Session().client("stepfunctions").get_paginator("list_executions")
# ListExecutionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListExecutionsPaginator

session = Session()

client = Session().client("stepfunctions")  # (1)
paginator: ListExecutionsPaginator = client.get_paginator("list_executions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SFNClient
  2. paginator: ListExecutionsPaginator
  3. item: ListExecutionsOutputTypeDef

paginate#

Type annotations and code completion for ListExecutionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    stateMachineArn: str = ...,
    statusFilter: ExecutionStatusType = ...,  # (1)
    mapRunArn: str = ...,
    redriveFilter: ExecutionRedriveFilterType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[ListExecutionsOutputTypeDef]:  # (4)
    ...
  1. See ExecutionStatusType
  2. See ExecutionRedriveFilterType
  3. See PaginatorConfigTypeDef
  4. See ListExecutionsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListExecutionsInputPaginateTypeDef = {  # (1)
    "stateMachineArn": ...,
}

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

ListMapRunsPaginator#

Type annotations and code completion for boto3.client("stepfunctions").get_paginator("list_map_runs"). boto3 documentation

# ListMapRunsPaginator usage example

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListMapRunsPaginator

def get_list_map_runs_paginator() -> ListMapRunsPaginator:
    return Session().client("stepfunctions").get_paginator("list_map_runs")
# ListMapRunsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListMapRunsPaginator

session = Session()

client = Session().client("stepfunctions")  # (1)
paginator: ListMapRunsPaginator = client.get_paginator("list_map_runs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SFNClient
  2. paginator: ListMapRunsPaginator
  3. item: ListMapRunsOutputTypeDef

paginate#

Type annotations and code completion for ListMapRunsPaginator.paginate method.

# paginate method definition

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

kwargs: ListMapRunsInputPaginateTypeDef = {  # (1)
    "executionArn": ...,
}

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

ListStateMachinesPaginator#

Type annotations and code completion for boto3.client("stepfunctions").get_paginator("list_state_machines"). boto3 documentation

# ListStateMachinesPaginator usage example

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListStateMachinesPaginator

def get_list_state_machines_paginator() -> ListStateMachinesPaginator:
    return Session().client("stepfunctions").get_paginator("list_state_machines")
# ListStateMachinesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_stepfunctions.paginator import ListStateMachinesPaginator

session = Session()

client = Session().client("stepfunctions")  # (1)
paginator: ListStateMachinesPaginator = client.get_paginator("list_state_machines")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SFNClient
  2. paginator: ListStateMachinesPaginator
  3. item: ListStateMachinesOutputTypeDef

paginate#

Type annotations and code completion for ListStateMachinesPaginator.paginate method.

# paginate method definition

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

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

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