Skip to main content

Type annotations for boto3.Lightsail 1.13.22 service, generated by mypy-boto3-buider 1.0.9

Project description

mypy-boto3-lightsail

PyPI - mypy-boto3-lightsail PyPI - Python Version Docs

Type annotations for boto3.Lightsail 1.13.22 service compatible with mypy, VSCode, PyCharm and other tools.

Generated by mypy-boto3-buider 1.0.9.

More information can be found on boto3-stubs page.

How to use

Type checking

Make sure you have mypy installed and activated in your IDE.

Install boto3-stubs for Lightsail service.

python -m pip install boto3-stubs[lightsail]

# update installed packages index
mypy_boto3

Use boto3 with mypy_boto3 in your project and enjoy type checking and auto-complete.

import boto3

from mypy_boto3 import lightsail
# alternative import if you do not want to install mypy_boto3 package
# import mypy_boto3_lightsail as lightsail

# Use this client as usual, now mypy can check if your code is valid.
# Check if your IDE supports function overloads,
# you probably do not need explicit type annotations
# client = boto3.client("lightsail")
client: lightsail.LightsailClient = boto3.client("lightsail")

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: lightsail.LightsailClient = session.client("lightsail")


# Paginators need type annotation on creation
get_active_names_paginator: lightsail.GetActiveNamesPaginator = client.get_paginator("get_active_names")
get_blueprints_paginator: lightsail.GetBlueprintsPaginator = client.get_paginator("get_blueprints")
get_bundles_paginator: lightsail.GetBundlesPaginator = client.get_paginator("get_bundles")
get_cloud_formation_stack_records_paginator: lightsail.GetCloudFormationStackRecordsPaginator = client.get_paginator("get_cloud_formation_stack_records")
get_disk_snapshots_paginator: lightsail.GetDiskSnapshotsPaginator = client.get_paginator("get_disk_snapshots")
get_disks_paginator: lightsail.GetDisksPaginator = client.get_paginator("get_disks")
get_domains_paginator: lightsail.GetDomainsPaginator = client.get_paginator("get_domains")
get_export_snapshot_records_paginator: lightsail.GetExportSnapshotRecordsPaginator = client.get_paginator("get_export_snapshot_records")
get_instance_snapshots_paginator: lightsail.GetInstanceSnapshotsPaginator = client.get_paginator("get_instance_snapshots")
get_instances_paginator: lightsail.GetInstancesPaginator = client.get_paginator("get_instances")
get_key_pairs_paginator: lightsail.GetKeyPairsPaginator = client.get_paginator("get_key_pairs")
get_load_balancers_paginator: lightsail.GetLoadBalancersPaginator = client.get_paginator("get_load_balancers")
get_operations_paginator: lightsail.GetOperationsPaginator = client.get_paginator("get_operations")
get_relational_database_blueprints_paginator: lightsail.GetRelationalDatabaseBlueprintsPaginator = client.get_paginator("get_relational_database_blueprints")
get_relational_database_bundles_paginator: lightsail.GetRelationalDatabaseBundlesPaginator = client.get_paginator("get_relational_database_bundles")
get_relational_database_events_paginator: lightsail.GetRelationalDatabaseEventsPaginator = client.get_paginator("get_relational_database_events")
get_relational_database_parameters_paginator: lightsail.GetRelationalDatabaseParametersPaginator = client.get_paginator("get_relational_database_parameters")
get_relational_database_snapshots_paginator: lightsail.GetRelationalDatabaseSnapshotsPaginator = client.get_paginator("get_relational_database_snapshots")
get_relational_databases_paginator: lightsail.GetRelationalDatabasesPaginator = client.get_paginator("get_relational_databases")
get_static_ips_paginator: lightsail.GetStaticIpsPaginator = client.get_paginator("get_static_ips")

How it works

Fully automated builder carefully generates type annotations for each service, patiently waiting for boto3 updates. It delivers a drop-in type annotations for you and makes sure that:

  • All available boto3 services are covered.
  • Each public class and method of every boto3 service gets valid type annotations extracted from the documentation (blame botocore docs if types are incorrect).
  • Type annotations include up-to-date documentation.
  • Link to documentation is provided for every method.
  • Code is processed by black for readability.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mypy-boto3-lightsail-1.13.22.0.tar.gz (20.9 kB view details)

Uploaded Source

File details

Details for the file mypy-boto3-lightsail-1.13.22.0.tar.gz.

File metadata

  • Download URL: mypy-boto3-lightsail-1.13.22.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for mypy-boto3-lightsail-1.13.22.0.tar.gz
Algorithm Hash digest
SHA256 673016144d1b69ae6d2e9332c5593ff03d24c4e5610c47d5c2fc3706c91308fc
MD5 bf0b629b58899908058ddda787e304f5
BLAKE2b-256 ec6258fa1a2ccf6c7590dd506aebba516f7e07a361762f82313f65daaabc28a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page