Paginators#
Auto-generated documentation for Lightsail type annotations stubs module mypy-boto3-lightsail.
GetActiveNamesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_active_names")
.
boto3 documentation
# GetActiveNamesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetActiveNamesPaginator
def get_get_active_names_paginator() -> GetActiveNamesPaginator:
return Session().client("lightsail").get_paginator("get_active_names")
# GetActiveNamesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetActiveNamesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetActiveNamesPaginator = client.get_paginator("get_active_names") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetActiveNamesPaginator
- item: GetActiveNamesResultTypeDef
paginate#
Type annotations and code completion for GetActiveNamesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetActiveNamesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetActiveNamesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetBlueprintsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_blueprints")
.
boto3 documentation
# GetBlueprintsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBlueprintsPaginator
def get_get_blueprints_paginator() -> GetBlueprintsPaginator:
return Session().client("lightsail").get_paginator("get_blueprints")
# GetBlueprintsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBlueprintsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetBlueprintsPaginator = client.get_paginator("get_blueprints") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetBlueprintsPaginator
- item: GetBlueprintsResultTypeDef
paginate#
Type annotations and code completion for GetBlueprintsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeInactive: bool = ...,
appCategory: AppCategoryType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[GetBlueprintsResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetBlueprintsRequestPaginateTypeDef = { # (1)
"includeInactive": ...,
}
parent.paginate(**kwargs)
GetBundlesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_bundles")
.
boto3 documentation
# GetBundlesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBundlesPaginator
def get_get_bundles_paginator() -> GetBundlesPaginator:
return Session().client("lightsail").get_paginator("get_bundles")
# GetBundlesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetBundlesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetBundlesPaginator = client.get_paginator("get_bundles") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetBundlesPaginator
- item: GetBundlesResultTypeDef
paginate#
Type annotations and code completion for GetBundlesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeInactive: bool = ...,
appCategory: AppCategoryType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[GetBundlesResultTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetBundlesRequestPaginateTypeDef = { # (1)
"includeInactive": ...,
}
parent.paginate(**kwargs)
GetCloudFormationStackRecordsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_cloud_formation_stack_records")
.
boto3 documentation
# GetCloudFormationStackRecordsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetCloudFormationStackRecordsPaginator
def get_get_cloud_formation_stack_records_paginator() -> GetCloudFormationStackRecordsPaginator:
return Session().client("lightsail").get_paginator("get_cloud_formation_stack_records")
# GetCloudFormationStackRecordsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetCloudFormationStackRecordsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetCloudFormationStackRecordsPaginator = client.get_paginator("get_cloud_formation_stack_records") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetCloudFormationStackRecordsPaginator
- item: GetCloudFormationStackRecordsResultTypeDef
paginate#
Type annotations and code completion for GetCloudFormationStackRecordsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetCloudFormationStackRecordsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetCloudFormationStackRecordsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetDiskSnapshotsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_disk_snapshots")
.
boto3 documentation
# GetDiskSnapshotsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDiskSnapshotsPaginator
def get_get_disk_snapshots_paginator() -> GetDiskSnapshotsPaginator:
return Session().client("lightsail").get_paginator("get_disk_snapshots")
# GetDiskSnapshotsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDiskSnapshotsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetDiskSnapshotsPaginator = client.get_paginator("get_disk_snapshots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetDiskSnapshotsPaginator
- item: GetDiskSnapshotsResultTypeDef
paginate#
Type annotations and code completion for GetDiskSnapshotsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetDiskSnapshotsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetDiskSnapshotsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetDisksPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_disks")
.
boto3 documentation
# GetDisksPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDisksPaginator
def get_get_disks_paginator() -> GetDisksPaginator:
return Session().client("lightsail").get_paginator("get_disks")
# GetDisksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDisksPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetDisksPaginator = client.get_paginator("get_disks") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetDisksPaginator
- item: GetDisksResultTypeDef
paginate#
Type annotations and code completion for GetDisksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetDisksResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetDisksRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetDomainsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_domains")
.
boto3 documentation
# GetDomainsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDomainsPaginator
def get_get_domains_paginator() -> GetDomainsPaginator:
return Session().client("lightsail").get_paginator("get_domains")
# GetDomainsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetDomainsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetDomainsPaginator = client.get_paginator("get_domains") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetDomainsPaginator
- item: GetDomainsResultTypeDef
paginate#
Type annotations and code completion for GetDomainsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetDomainsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetDomainsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetExportSnapshotRecordsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_export_snapshot_records")
.
boto3 documentation
# GetExportSnapshotRecordsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetExportSnapshotRecordsPaginator
def get_get_export_snapshot_records_paginator() -> GetExportSnapshotRecordsPaginator:
return Session().client("lightsail").get_paginator("get_export_snapshot_records")
# GetExportSnapshotRecordsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetExportSnapshotRecordsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetExportSnapshotRecordsPaginator = client.get_paginator("get_export_snapshot_records") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetExportSnapshotRecordsPaginator
- item: GetExportSnapshotRecordsResultTypeDef
paginate#
Type annotations and code completion for GetExportSnapshotRecordsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetExportSnapshotRecordsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetExportSnapshotRecordsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetInstanceSnapshotsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_instance_snapshots")
.
boto3 documentation
# GetInstanceSnapshotsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetInstanceSnapshotsPaginator
def get_get_instance_snapshots_paginator() -> GetInstanceSnapshotsPaginator:
return Session().client("lightsail").get_paginator("get_instance_snapshots")
# GetInstanceSnapshotsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetInstanceSnapshotsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetInstanceSnapshotsPaginator = client.get_paginator("get_instance_snapshots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetInstanceSnapshotsPaginator
- item: GetInstanceSnapshotsResultTypeDef
paginate#
Type annotations and code completion for GetInstanceSnapshotsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetInstanceSnapshotsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetInstanceSnapshotsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetInstancesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_instances")
.
boto3 documentation
# GetInstancesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetInstancesPaginator
def get_get_instances_paginator() -> GetInstancesPaginator:
return Session().client("lightsail").get_paginator("get_instances")
# GetInstancesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetInstancesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetInstancesPaginator = client.get_paginator("get_instances") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetInstancesPaginator
- item: GetInstancesResultTypeDef
paginate#
Type annotations and code completion for GetInstancesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetInstancesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetInstancesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetKeyPairsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_key_pairs")
.
boto3 documentation
# GetKeyPairsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetKeyPairsPaginator
def get_get_key_pairs_paginator() -> GetKeyPairsPaginator:
return Session().client("lightsail").get_paginator("get_key_pairs")
# GetKeyPairsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetKeyPairsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetKeyPairsPaginator = client.get_paginator("get_key_pairs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetKeyPairsPaginator
- item: GetKeyPairsResultTypeDef
paginate#
Type annotations and code completion for GetKeyPairsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeDefaultKeyPair: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetKeyPairsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetKeyPairsRequestPaginateTypeDef = { # (1)
"includeDefaultKeyPair": ...,
}
parent.paginate(**kwargs)
GetLoadBalancersPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_load_balancers")
.
boto3 documentation
# GetLoadBalancersPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetLoadBalancersPaginator
def get_get_load_balancers_paginator() -> GetLoadBalancersPaginator:
return Session().client("lightsail").get_paginator("get_load_balancers")
# GetLoadBalancersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetLoadBalancersPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetLoadBalancersPaginator = client.get_paginator("get_load_balancers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetLoadBalancersPaginator
- item: GetLoadBalancersResultTypeDef
paginate#
Type annotations and code completion for GetLoadBalancersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetLoadBalancersResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetLoadBalancersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetOperationsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_operations")
.
boto3 documentation
# GetOperationsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetOperationsPaginator
def get_get_operations_paginator() -> GetOperationsPaginator:
return Session().client("lightsail").get_paginator("get_operations")
# GetOperationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetOperationsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetOperationsPaginator = client.get_paginator("get_operations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetOperationsPaginator
- item: GetOperationsResultTypeDef
paginate#
Type annotations and code completion for GetOperationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetOperationsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetOperationsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabaseBlueprintsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_database_blueprints")
.
boto3 documentation
# GetRelationalDatabaseBlueprintsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseBlueprintsPaginator
def get_get_relational_database_blueprints_paginator() -> GetRelationalDatabaseBlueprintsPaginator:
return Session().client("lightsail").get_paginator("get_relational_database_blueprints")
# GetRelationalDatabaseBlueprintsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseBlueprintsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabaseBlueprintsPaginator = client.get_paginator("get_relational_database_blueprints") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabaseBlueprintsPaginator
- item: GetRelationalDatabaseBlueprintsResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabaseBlueprintsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabaseBlueprintsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabaseBlueprintsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabaseBundlesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_database_bundles")
.
boto3 documentation
# GetRelationalDatabaseBundlesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseBundlesPaginator
def get_get_relational_database_bundles_paginator() -> GetRelationalDatabaseBundlesPaginator:
return Session().client("lightsail").get_paginator("get_relational_database_bundles")
# GetRelationalDatabaseBundlesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseBundlesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabaseBundlesPaginator = client.get_paginator("get_relational_database_bundles") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabaseBundlesPaginator
- item: GetRelationalDatabaseBundlesResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabaseBundlesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
includeInactive: bool = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabaseBundlesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabaseBundlesRequestPaginateTypeDef = { # (1)
"includeInactive": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabaseEventsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_database_events")
.
boto3 documentation
# GetRelationalDatabaseEventsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseEventsPaginator
def get_get_relational_database_events_paginator() -> GetRelationalDatabaseEventsPaginator:
return Session().client("lightsail").get_paginator("get_relational_database_events")
# GetRelationalDatabaseEventsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseEventsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabaseEventsPaginator = client.get_paginator("get_relational_database_events") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabaseEventsPaginator
- item: GetRelationalDatabaseEventsResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabaseEventsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
relationalDatabaseName: str,
durationInMinutes: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabaseEventsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabaseEventsRequestPaginateTypeDef = { # (1)
"relationalDatabaseName": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabaseParametersPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_database_parameters")
.
boto3 documentation
# GetRelationalDatabaseParametersPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseParametersPaginator
def get_get_relational_database_parameters_paginator() -> GetRelationalDatabaseParametersPaginator:
return Session().client("lightsail").get_paginator("get_relational_database_parameters")
# GetRelationalDatabaseParametersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseParametersPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabaseParametersPaginator = client.get_paginator("get_relational_database_parameters") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabaseParametersPaginator
- item: GetRelationalDatabaseParametersResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabaseParametersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
relationalDatabaseName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabaseParametersResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabaseParametersRequestPaginateTypeDef = { # (1)
"relationalDatabaseName": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabaseSnapshotsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_database_snapshots")
.
boto3 documentation
# GetRelationalDatabaseSnapshotsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseSnapshotsPaginator
def get_get_relational_database_snapshots_paginator() -> GetRelationalDatabaseSnapshotsPaginator:
return Session().client("lightsail").get_paginator("get_relational_database_snapshots")
# GetRelationalDatabaseSnapshotsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabaseSnapshotsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabaseSnapshotsPaginator = client.get_paginator("get_relational_database_snapshots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabaseSnapshotsPaginator
- item: GetRelationalDatabaseSnapshotsResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabaseSnapshotsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabaseSnapshotsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabaseSnapshotsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetRelationalDatabasesPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_relational_databases")
.
boto3 documentation
# GetRelationalDatabasesPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabasesPaginator
def get_get_relational_databases_paginator() -> GetRelationalDatabasesPaginator:
return Session().client("lightsail").get_paginator("get_relational_databases")
# GetRelationalDatabasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetRelationalDatabasesPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetRelationalDatabasesPaginator = client.get_paginator("get_relational_databases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetRelationalDatabasesPaginator
- item: GetRelationalDatabasesResultTypeDef
paginate#
Type annotations and code completion for GetRelationalDatabasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetRelationalDatabasesResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetRelationalDatabasesRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
GetStaticIpsPaginator#
Type annotations and code completion for boto3.client("lightsail").get_paginator("get_static_ips")
.
boto3 documentation
# GetStaticIpsPaginator usage example
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetStaticIpsPaginator
def get_get_static_ips_paginator() -> GetStaticIpsPaginator:
return Session().client("lightsail").get_paginator("get_static_ips")
# GetStaticIpsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_lightsail.paginator import GetStaticIpsPaginator
session = Session()
client = Session().client("lightsail") # (1)
paginator: GetStaticIpsPaginator = client.get_paginator("get_static_ips") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: LightsailClient
- paginator: GetStaticIpsPaginator
- item: GetStaticIpsResultTypeDef
paginate#
Type annotations and code completion for GetStaticIpsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetStaticIpsResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetStaticIpsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)