Skip to content

Paginators#

Index > SecurityHub > Paginators

Auto-generated documentation for SecurityHub type annotations stubs module mypy-boto3-securityhub.

DescribeActionTargetsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("describe_action_targets"). boto3 documentation

# DescribeActionTargetsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeActionTargetsPaginator

def get_describe_action_targets_paginator() -> DescribeActionTargetsPaginator:
    return Session().client("securityhub").get_paginator("describe_action_targets")
# DescribeActionTargetsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeActionTargetsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: DescribeActionTargetsPaginator = client.get_paginator("describe_action_targets")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: DescribeActionTargetsPaginator
  3. item: DescribeActionTargetsResponseTypeDef

paginate#

Type annotations and code completion for DescribeActionTargetsPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeActionTargetsRequestDescribeActionTargetsPaginateTypeDef = {  # (1)
    "ActionTargetArns": ...,
}

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

DescribeProductsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("describe_products"). boto3 documentation

# DescribeProductsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeProductsPaginator

def get_describe_products_paginator() -> DescribeProductsPaginator:
    return Session().client("securityhub").get_paginator("describe_products")
# DescribeProductsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeProductsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: DescribeProductsPaginator = client.get_paginator("describe_products")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: DescribeProductsPaginator
  3. item: DescribeProductsResponseTypeDef

paginate#

Type annotations and code completion for DescribeProductsPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeProductsRequestDescribeProductsPaginateTypeDef = {  # (1)
    "ProductArn": ...,
}

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

DescribeStandardsControlsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("describe_standards_controls"). boto3 documentation

# DescribeStandardsControlsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeStandardsControlsPaginator

def get_describe_standards_controls_paginator() -> DescribeStandardsControlsPaginator:
    return Session().client("securityhub").get_paginator("describe_standards_controls")
# DescribeStandardsControlsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeStandardsControlsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: DescribeStandardsControlsPaginator = client.get_paginator("describe_standards_controls")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: DescribeStandardsControlsPaginator
  3. item: DescribeStandardsControlsResponseTypeDef

paginate#

Type annotations and code completion for DescribeStandardsControlsPaginator.paginate method.

# paginate method definition

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

kwargs: DescribeStandardsControlsRequestDescribeStandardsControlsPaginateTypeDef = {  # (1)
    "StandardsSubscriptionArn": ...,
}

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

DescribeStandardsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("describe_standards"). boto3 documentation

# DescribeStandardsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeStandardsPaginator

def get_describe_standards_paginator() -> DescribeStandardsPaginator:
    return Session().client("securityhub").get_paginator("describe_standards")
# DescribeStandardsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import DescribeStandardsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: DescribeStandardsPaginator = client.get_paginator("describe_standards")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: DescribeStandardsPaginator
  3. item: DescribeStandardsResponseTypeDef

paginate#

Type annotations and code completion for DescribeStandardsPaginator.paginate method.

# paginate method definition

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

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

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

GetEnabledStandardsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("get_enabled_standards"). boto3 documentation

# GetEnabledStandardsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetEnabledStandardsPaginator

def get_get_enabled_standards_paginator() -> GetEnabledStandardsPaginator:
    return Session().client("securityhub").get_paginator("get_enabled_standards")
# GetEnabledStandardsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetEnabledStandardsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: GetEnabledStandardsPaginator = client.get_paginator("get_enabled_standards")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: GetEnabledStandardsPaginator
  3. item: GetEnabledStandardsResponseTypeDef

paginate#

Type annotations and code completion for GetEnabledStandardsPaginator.paginate method.

# paginate method definition

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

kwargs: GetEnabledStandardsRequestGetEnabledStandardsPaginateTypeDef = {  # (1)
    "StandardsSubscriptionArns": ...,
}

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

GetFindingHistoryPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("get_finding_history"). boto3 documentation

# GetFindingHistoryPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetFindingHistoryPaginator

def get_get_finding_history_paginator() -> GetFindingHistoryPaginator:
    return Session().client("securityhub").get_paginator("get_finding_history")
# GetFindingHistoryPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetFindingHistoryPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: GetFindingHistoryPaginator = client.get_paginator("get_finding_history")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: GetFindingHistoryPaginator
  3. item: GetFindingHistoryResponseTypeDef

paginate#

Type annotations and code completion for GetFindingHistoryPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    FindingIdentifier: AwsSecurityFindingIdentifierTypeDef,  # (1)
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetFindingHistoryResponseTypeDef]:  # (3)
    ...
  1. See AwsSecurityFindingIdentifierTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetFindingHistoryResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetFindingHistoryRequestGetFindingHistoryPaginateTypeDef = {  # (1)
    "FindingIdentifier": ...,
}

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

GetFindingsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("get_findings"). boto3 documentation

# GetFindingsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetFindingsPaginator

def get_get_findings_paginator() -> GetFindingsPaginator:
    return Session().client("securityhub").get_paginator("get_findings")
# GetFindingsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetFindingsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: GetFindingsPaginator = client.get_paginator("get_findings")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: GetFindingsPaginator
  3. item: GetFindingsResponseTypeDef

paginate#

Type annotations and code completion for GetFindingsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    Filters: AwsSecurityFindingFiltersTypeDef = ...,  # (1)
    SortCriteria: Sequence[SortCriterionTypeDef] = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[GetFindingsResponseTypeDef]:  # (4)
    ...
  1. See AwsSecurityFindingFiltersTypeDef
  2. See SortCriterionTypeDef
  3. See PaginatorConfigTypeDef
  4. See GetFindingsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetFindingsRequestGetFindingsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

GetInsightsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("get_insights"). boto3 documentation

# GetInsightsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetInsightsPaginator

def get_get_insights_paginator() -> GetInsightsPaginator:
    return Session().client("securityhub").get_paginator("get_insights")
# GetInsightsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import GetInsightsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: GetInsightsPaginator = client.get_paginator("get_insights")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: GetInsightsPaginator
  3. item: GetInsightsResponseTypeDef

paginate#

Type annotations and code completion for GetInsightsPaginator.paginate method.

# paginate method definition

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

kwargs: GetInsightsRequestGetInsightsPaginateTypeDef = {  # (1)
    "InsightArns": ...,
}

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

ListConfigurationPoliciesPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_configuration_policies"). boto3 documentation

# ListConfigurationPoliciesPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListConfigurationPoliciesPaginator

def get_list_configuration_policies_paginator() -> ListConfigurationPoliciesPaginator:
    return Session().client("securityhub").get_paginator("list_configuration_policies")
# ListConfigurationPoliciesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListConfigurationPoliciesPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListConfigurationPoliciesPaginator = client.get_paginator("list_configuration_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListConfigurationPoliciesPaginator
  3. item: ListConfigurationPoliciesResponseTypeDef

paginate#

Type annotations and code completion for ListConfigurationPoliciesPaginator.paginate method.

# paginate method definition

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

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

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

ListConfigurationPolicyAssociationsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_configuration_policy_associations"). boto3 documentation

# ListConfigurationPolicyAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListConfigurationPolicyAssociationsPaginator

def get_list_configuration_policy_associations_paginator() -> ListConfigurationPolicyAssociationsPaginator:
    return Session().client("securityhub").get_paginator("list_configuration_policy_associations")
# ListConfigurationPolicyAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListConfigurationPolicyAssociationsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListConfigurationPolicyAssociationsPaginator = client.get_paginator("list_configuration_policy_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListConfigurationPolicyAssociationsPaginator
  3. item: ListConfigurationPolicyAssociationsResponseTypeDef

paginate#

Type annotations and code completion for ListConfigurationPolicyAssociationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListConfigurationPolicyAssociationsRequestListConfigurationPolicyAssociationsPaginateTypeDef = {  # (1)
    "Filters": ...,
}

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

ListEnabledProductsForImportPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_enabled_products_for_import"). boto3 documentation

# ListEnabledProductsForImportPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListEnabledProductsForImportPaginator

def get_list_enabled_products_for_import_paginator() -> ListEnabledProductsForImportPaginator:
    return Session().client("securityhub").get_paginator("list_enabled_products_for_import")
# ListEnabledProductsForImportPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListEnabledProductsForImportPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListEnabledProductsForImportPaginator = client.get_paginator("list_enabled_products_for_import")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListEnabledProductsForImportPaginator
  3. item: ListEnabledProductsForImportResponseTypeDef

paginate#

Type annotations and code completion for ListEnabledProductsForImportPaginator.paginate method.

# paginate method definition

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

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

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

ListFindingAggregatorsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_finding_aggregators"). boto3 documentation

# ListFindingAggregatorsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListFindingAggregatorsPaginator

def get_list_finding_aggregators_paginator() -> ListFindingAggregatorsPaginator:
    return Session().client("securityhub").get_paginator("list_finding_aggregators")
# ListFindingAggregatorsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListFindingAggregatorsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListFindingAggregatorsPaginator = client.get_paginator("list_finding_aggregators")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListFindingAggregatorsPaginator
  3. item: ListFindingAggregatorsResponseTypeDef

paginate#

Type annotations and code completion for ListFindingAggregatorsPaginator.paginate method.

# paginate method definition

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

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

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

ListInvitationsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_invitations"). boto3 documentation

# ListInvitationsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListInvitationsPaginator

def get_list_invitations_paginator() -> ListInvitationsPaginator:
    return Session().client("securityhub").get_paginator("list_invitations")
# ListInvitationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListInvitationsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListInvitationsPaginator = client.get_paginator("list_invitations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListInvitationsPaginator
  3. item: ListInvitationsResponseTypeDef

paginate#

Type annotations and code completion for ListInvitationsPaginator.paginate method.

# paginate method definition

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

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

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

ListMembersPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_members"). boto3 documentation

# ListMembersPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListMembersPaginator

def get_list_members_paginator() -> ListMembersPaginator:
    return Session().client("securityhub").get_paginator("list_members")
# ListMembersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListMembersPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListMembersPaginator = client.get_paginator("list_members")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListMembersPaginator
  3. item: ListMembersResponseTypeDef

paginate#

Type annotations and code completion for ListMembersPaginator.paginate method.

# paginate method definition

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

kwargs: ListMembersRequestListMembersPaginateTypeDef = {  # (1)
    "OnlyAssociated": ...,
}

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

ListOrganizationAdminAccountsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_organization_admin_accounts"). boto3 documentation

# ListOrganizationAdminAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListOrganizationAdminAccountsPaginator

def get_list_organization_admin_accounts_paginator() -> ListOrganizationAdminAccountsPaginator:
    return Session().client("securityhub").get_paginator("list_organization_admin_accounts")
# ListOrganizationAdminAccountsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListOrganizationAdminAccountsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListOrganizationAdminAccountsPaginator = client.get_paginator("list_organization_admin_accounts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListOrganizationAdminAccountsPaginator
  3. item: ListOrganizationAdminAccountsResponseTypeDef

paginate#

Type annotations and code completion for ListOrganizationAdminAccountsPaginator.paginate method.

# paginate method definition

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

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

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

ListSecurityControlDefinitionsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_security_control_definitions"). boto3 documentation

# ListSecurityControlDefinitionsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListSecurityControlDefinitionsPaginator

def get_list_security_control_definitions_paginator() -> ListSecurityControlDefinitionsPaginator:
    return Session().client("securityhub").get_paginator("list_security_control_definitions")
# ListSecurityControlDefinitionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListSecurityControlDefinitionsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListSecurityControlDefinitionsPaginator = client.get_paginator("list_security_control_definitions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListSecurityControlDefinitionsPaginator
  3. item: ListSecurityControlDefinitionsResponseTypeDef

paginate#

Type annotations and code completion for ListSecurityControlDefinitionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListSecurityControlDefinitionsRequestListSecurityControlDefinitionsPaginateTypeDef = {  # (1)
    "StandardsArn": ...,
}

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

ListStandardsControlAssociationsPaginator#

Type annotations and code completion for boto3.client("securityhub").get_paginator("list_standards_control_associations"). boto3 documentation

# ListStandardsControlAssociationsPaginator usage example

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListStandardsControlAssociationsPaginator

def get_list_standards_control_associations_paginator() -> ListStandardsControlAssociationsPaginator:
    return Session().client("securityhub").get_paginator("list_standards_control_associations")
# ListStandardsControlAssociationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_securityhub.paginator import ListStandardsControlAssociationsPaginator

session = Session()

client = Session().client("securityhub")  # (1)
paginator: ListStandardsControlAssociationsPaginator = client.get_paginator("list_standards_control_associations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SecurityHubClient
  2. paginator: ListStandardsControlAssociationsPaginator
  3. item: ListStandardsControlAssociationsResponseTypeDef

paginate#

Type annotations and code completion for ListStandardsControlAssociationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListStandardsControlAssociationsRequestListStandardsControlAssociationsPaginateTypeDef = {  # (1)
    "SecurityControlId": ...,
}

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