Paginators#
Index > Route53Resolver > Paginators
Auto-generated documentation for Route53Resolver type annotations stubs module mypy-boto3-route53resolver.
ListFirewallConfigsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_configs")
.
boto3 documentation
# ListFirewallConfigsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallConfigsPaginator
def get_list_firewall_configs_paginator() -> ListFirewallConfigsPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_configs")
# ListFirewallConfigsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallConfigsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallConfigsPaginator = client.get_paginator("list_firewall_configs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallConfigsPaginator
- item: ListFirewallConfigsResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallConfigsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListFirewallConfigsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFirewallConfigsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListFirewallDomainListsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_domain_lists")
.
boto3 documentation
# ListFirewallDomainListsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallDomainListsPaginator
def get_list_firewall_domain_lists_paginator() -> ListFirewallDomainListsPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_domain_lists")
# ListFirewallDomainListsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallDomainListsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallDomainListsPaginator = client.get_paginator("list_firewall_domain_lists") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallDomainListsPaginator
- item: ListFirewallDomainListsResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallDomainListsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListFirewallDomainListsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFirewallDomainListsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListFirewallDomainsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_domains")
.
boto3 documentation
# ListFirewallDomainsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallDomainsPaginator
def get_list_firewall_domains_paginator() -> ListFirewallDomainsPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_domains")
# ListFirewallDomainsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallDomainsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallDomainsPaginator = client.get_paginator("list_firewall_domains") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallDomainsPaginator
- item: ListFirewallDomainsResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallDomainsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
FirewallDomainListId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListFirewallDomainsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFirewallDomainsRequestPaginateTypeDef = { # (1)
"FirewallDomainListId": ...,
}
parent.paginate(**kwargs)
ListFirewallRuleGroupAssociationsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_rule_group_associations")
.
boto3 documentation
# ListFirewallRuleGroupAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRuleGroupAssociationsPaginator
def get_list_firewall_rule_group_associations_paginator() -> ListFirewallRuleGroupAssociationsPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_rule_group_associations")
# ListFirewallRuleGroupAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRuleGroupAssociationsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallRuleGroupAssociationsPaginator = client.get_paginator("list_firewall_rule_group_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallRuleGroupAssociationsPaginator
- item: ListFirewallRuleGroupAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallRuleGroupAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
FirewallRuleGroupId: str = ...,
VpcId: str = ...,
Priority: int = ...,
Status: FirewallRuleGroupAssociationStatusType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListFirewallRuleGroupAssociationsResponseTypeDef]: # (3)
...
- See FirewallRuleGroupAssociationStatusType
- See PaginatorConfigTypeDef
- See ListFirewallRuleGroupAssociationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListFirewallRuleGroupAssociationsRequestPaginateTypeDef = { # (1)
"FirewallRuleGroupId": ...,
}
parent.paginate(**kwargs)
ListFirewallRuleGroupsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_rule_groups")
.
boto3 documentation
# ListFirewallRuleGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRuleGroupsPaginator
def get_list_firewall_rule_groups_paginator() -> ListFirewallRuleGroupsPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_rule_groups")
# ListFirewallRuleGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRuleGroupsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallRuleGroupsPaginator = client.get_paginator("list_firewall_rule_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallRuleGroupsPaginator
- item: ListFirewallRuleGroupsResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallRuleGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListFirewallRuleGroupsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListFirewallRuleGroupsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListFirewallRulesPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_firewall_rules")
.
boto3 documentation
# ListFirewallRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRulesPaginator
def get_list_firewall_rules_paginator() -> ListFirewallRulesPaginator:
return Session().client("route53resolver").get_paginator("list_firewall_rules")
# ListFirewallRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListFirewallRulesPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListFirewallRulesPaginator = client.get_paginator("list_firewall_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListFirewallRulesPaginator
- item: ListFirewallRulesResponseTypeDef
paginate#
Type annotations and code completion for ListFirewallRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
FirewallRuleGroupId: str,
Priority: int = ...,
Action: ActionType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListFirewallRulesResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListFirewallRulesRequestPaginateTypeDef = { # (1)
"FirewallRuleGroupId": ...,
}
parent.paginate(**kwargs)
ListOutpostResolversPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_outpost_resolvers")
.
boto3 documentation
# ListOutpostResolversPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListOutpostResolversPaginator
def get_list_outpost_resolvers_paginator() -> ListOutpostResolversPaginator:
return Session().client("route53resolver").get_paginator("list_outpost_resolvers")
# ListOutpostResolversPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListOutpostResolversPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListOutpostResolversPaginator = client.get_paginator("list_outpost_resolvers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListOutpostResolversPaginator
- item: ListOutpostResolversResponseTypeDef
paginate#
Type annotations and code completion for ListOutpostResolversPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
OutpostArn: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListOutpostResolversResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOutpostResolversRequestPaginateTypeDef = { # (1)
"OutpostArn": ...,
}
parent.paginate(**kwargs)
ListResolverConfigsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_configs")
.
boto3 documentation
# ListResolverConfigsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverConfigsPaginator
def get_list_resolver_configs_paginator() -> ListResolverConfigsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_configs")
# ListResolverConfigsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverConfigsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverConfigsPaginator = client.get_paginator("list_resolver_configs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverConfigsPaginator
- item: ListResolverConfigsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverConfigsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListResolverConfigsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverConfigsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListResolverDnssecConfigsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_dnssec_configs")
.
boto3 documentation
# ListResolverDnssecConfigsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverDnssecConfigsPaginator
def get_list_resolver_dnssec_configs_paginator() -> ListResolverDnssecConfigsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_dnssec_configs")
# ListResolverDnssecConfigsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverDnssecConfigsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverDnssecConfigsPaginator = client.get_paginator("list_resolver_dnssec_configs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverDnssecConfigsPaginator
- item: ListResolverDnssecConfigsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverDnssecConfigsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListResolverDnssecConfigsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverDnssecConfigsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListResolverEndpointIpAddressesPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_endpoint_ip_addresses")
.
boto3 documentation
# ListResolverEndpointIpAddressesPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverEndpointIpAddressesPaginator
def get_list_resolver_endpoint_ip_addresses_paginator() -> ListResolverEndpointIpAddressesPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_endpoint_ip_addresses")
# ListResolverEndpointIpAddressesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverEndpointIpAddressesPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverEndpointIpAddressesPaginator = client.get_paginator("list_resolver_endpoint_ip_addresses") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverEndpointIpAddressesPaginator
- item: ListResolverEndpointIpAddressesResponseTypeDef
paginate#
Type annotations and code completion for ListResolverEndpointIpAddressesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResolverEndpointId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListResolverEndpointIpAddressesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverEndpointIpAddressesRequestPaginateTypeDef = { # (1)
"ResolverEndpointId": ...,
}
parent.paginate(**kwargs)
ListResolverEndpointsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_endpoints")
.
boto3 documentation
# ListResolverEndpointsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverEndpointsPaginator
def get_list_resolver_endpoints_paginator() -> ListResolverEndpointsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_endpoints")
# ListResolverEndpointsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverEndpointsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverEndpointsPaginator = client.get_paginator("list_resolver_endpoints") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverEndpointsPaginator
- item: ListResolverEndpointsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverEndpointsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListResolverEndpointsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverEndpointsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListResolverQueryLogConfigAssociationsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_query_log_config_associations")
.
boto3 documentation
# ListResolverQueryLogConfigAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverQueryLogConfigAssociationsPaginator
def get_list_resolver_query_log_config_associations_paginator() -> ListResolverQueryLogConfigAssociationsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_query_log_config_associations")
# ListResolverQueryLogConfigAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverQueryLogConfigAssociationsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverQueryLogConfigAssociationsPaginator = client.get_paginator("list_resolver_query_log_config_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverQueryLogConfigAssociationsPaginator
- item: ListResolverQueryLogConfigAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverQueryLogConfigAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
SortBy: str = ...,
SortOrder: SortOrderType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListResolverQueryLogConfigAssociationsResponseTypeDef]: # (4)
...
- See FilterTypeDef
- See SortOrderType
- See PaginatorConfigTypeDef
- See ListResolverQueryLogConfigAssociationsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListResolverQueryLogConfigAssociationsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListResolverQueryLogConfigsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_query_log_configs")
.
boto3 documentation
# ListResolverQueryLogConfigsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverQueryLogConfigsPaginator
def get_list_resolver_query_log_configs_paginator() -> ListResolverQueryLogConfigsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_query_log_configs")
# ListResolverQueryLogConfigsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverQueryLogConfigsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverQueryLogConfigsPaginator = client.get_paginator("list_resolver_query_log_configs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverQueryLogConfigsPaginator
- item: ListResolverQueryLogConfigsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverQueryLogConfigsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
SortBy: str = ...,
SortOrder: SortOrderType = ..., # (2)
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListResolverQueryLogConfigsResponseTypeDef]: # (4)
...
- See FilterTypeDef
- See SortOrderType
- See PaginatorConfigTypeDef
- See ListResolverQueryLogConfigsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListResolverQueryLogConfigsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListResolverRuleAssociationsPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_rule_associations")
.
boto3 documentation
# ListResolverRuleAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverRuleAssociationsPaginator
def get_list_resolver_rule_associations_paginator() -> ListResolverRuleAssociationsPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_rule_associations")
# ListResolverRuleAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverRuleAssociationsPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverRuleAssociationsPaginator = client.get_paginator("list_resolver_rule_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverRuleAssociationsPaginator
- item: ListResolverRuleAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListResolverRuleAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListResolverRuleAssociationsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverRuleAssociationsRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListResolverRulesPaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_resolver_rules")
.
boto3 documentation
# ListResolverRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverRulesPaginator
def get_list_resolver_rules_paginator() -> ListResolverRulesPaginator:
return Session().client("route53resolver").get_paginator("list_resolver_rules")
# ListResolverRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListResolverRulesPaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListResolverRulesPaginator = client.get_paginator("list_resolver_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListResolverRulesPaginator
- item: ListResolverRulesResponseTypeDef
paginate#
Type annotations and code completion for ListResolverRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: Sequence[FilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListResolverRulesResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListResolverRulesRequestPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)
ListTagsForResourcePaginator#
Type annotations and code completion for boto3.client("route53resolver").get_paginator("list_tags_for_resource")
.
boto3 documentation
# ListTagsForResourcePaginator usage example
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListTagsForResourcePaginator
def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
return Session().client("route53resolver").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_route53resolver.paginator import ListTagsForResourcePaginator
session = Session()
client = Session().client("route53resolver") # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: Route53ResolverClient
- paginator: ListTagsForResourcePaginator
- item: ListTagsForResourceResponseTypeDef
paginate#
Type annotations and code completion for ListTagsForResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceArn: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTagsForResourceResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceRequestPaginateTypeDef = { # (1)
"ResourceArn": ...,
}
parent.paginate(**kwargs)