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)
- client: SecurityHubClient
- paginator: DescribeActionTargetsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeActionTargetsRequestDescribeActionTargetsPaginateTypeDef = { # (1)
"ActionTargetArns": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: DescribeProductsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeProductsRequestDescribeProductsPaginateTypeDef = { # (1)
"ProductArn": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: DescribeStandardsPaginator
- item: DescribeStandardsResponseTypeDef
paginate#
Type annotations and code completion for DescribeStandardsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeStandardsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeStandardsRequestDescribeStandardsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: DescribeStandardsControlsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: DescribeStandardsControlsRequestDescribeStandardsControlsPaginateTypeDef = { # (1)
"StandardsSubscriptionArn": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: GetEnabledStandardsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetEnabledStandardsRequestGetEnabledStandardsPaginateTypeDef = { # (1)
"StandardsSubscriptionArns": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: GetFindingHistoryPaginator
- 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)
...
- See AwsSecurityFindingIdentifierTypeDef
- See PaginatorConfigTypeDef
- See GetFindingHistoryResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetFindingHistoryRequestGetFindingHistoryPaginateTypeDef = { # (1)
"FindingIdentifier": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: GetFindingsPaginator
- 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)
...
- See AwsSecurityFindingFiltersTypeDef
- See SortCriterionTypeDef
- See PaginatorConfigTypeDef
- See GetFindingsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: GetFindingsRequestGetFindingsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: GetInsightsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetInsightsRequestGetInsightsPaginateTypeDef = { # (1)
"InsightArns": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListConfigurationPoliciesPaginator
- item: ListConfigurationPoliciesResponseTypeDef
paginate#
Type annotations and code completion for ListConfigurationPoliciesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListConfigurationPoliciesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListConfigurationPoliciesRequestListConfigurationPoliciesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListConfigurationPolicyAssociationsPaginator
- 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)
...
- See AssociationFiltersTypeDef
- See PaginatorConfigTypeDef
- See ListConfigurationPolicyAssociationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListConfigurationPolicyAssociationsRequestListConfigurationPolicyAssociationsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListEnabledProductsForImportPaginator
- item: ListEnabledProductsForImportResponseTypeDef
paginate#
Type annotations and code completion for ListEnabledProductsForImportPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListEnabledProductsForImportResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEnabledProductsForImportRequestListEnabledProductsForImportPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListFindingAggregatorsPaginator
- item: ListFindingAggregatorsResponseTypeDef
paginate#
Type annotations and code completion for ListFindingAggregatorsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListFindingAggregatorsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFindingAggregatorsRequestListFindingAggregatorsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListInvitationsPaginator
- item: ListInvitationsResponseTypeDef
paginate#
Type annotations and code completion for ListInvitationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListInvitationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListInvitationsRequestListInvitationsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListMembersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMembersRequestListMembersPaginateTypeDef = { # (1)
"OnlyAssociated": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListOrganizationAdminAccountsPaginator
- item: ListOrganizationAdminAccountsResponseTypeDef
paginate#
Type annotations and code completion for ListOrganizationAdminAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListOrganizationAdminAccountsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOrganizationAdminAccountsRequestListOrganizationAdminAccountsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListSecurityControlDefinitionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSecurityControlDefinitionsRequestListSecurityControlDefinitionsPaginateTypeDef = { # (1)
"StandardsArn": ...,
}
parent.paginate(**kwargs)
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)
- client: SecurityHubClient
- paginator: ListStandardsControlAssociationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListStandardsControlAssociationsRequestListStandardsControlAssociationsPaginateTypeDef = { # (1)
"SecurityControlId": ...,
}
parent.paginate(**kwargs)