Skip to main content

Type annotations for boto3.Route53Domains 1.16.5 service, generated by mypy-boto3-buider 3.2.2

Project description

mypy-boto3-route53domains

PyPI - mypy-boto3-route53domains PyPI - Python Version Docs

Type annotations for boto3.Route53Domains 1.16.5 service compatible with VSCode, PyCharm, mypy, pyright and other tools.

Generated by mypy-boto3-buider 3.2.2.

More information can be found on boto3-stubs page.

How to install

Install boto3-stubs for Route53Domains service.

python -m pip install boto3-stubs[route53domains]

Usage

VSCode

  • Install Python extension
  • Install Pylance extension
  • Set Pylance as your Python Language Server
  • Install boto-stubs[route53domains] in your environment: python -m pip install 'boto3-stubs[route53domains]'

Both type checking and auto-complete should work for Route53Domains service. No explicit type annotations required, write your boto3 code as usual.

PyCharm

  • Install boto-stubs[route53domains] in your environment: python -m pip install 'boto3-stubs[route53domains]'

Both type checking and auto-complete should work for Route53Domains service. No explicit type annotations required, write your boto3 code as usual. Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs submodules.

Other IDEs

Not tested, but as long as your IDE support mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto-stubs[route53domains] in your environment: python -m pip install 'boto3-stubs[route53domains]'
  • Run mypy as usual

Type checking should work for Route53Domains service. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: yarn global add pyright
  • Install boto-stubs[route53domains] in your environment: python -m pip install 'boto3-stubs[route53domains]'
  • Optionally, you can install boto3-stubs to typings folder.

Type checking should work for Route53Domains service. No explicit type annotations required, write your boto3 code as usual.

Explicit type annotations

Client annotations

Route53DomainsClient provides annotations for boto3.client("route53domains").

import boto3

from mypy_boto3_route53domains import Route53DomainsClient

client: Route53DomainsClient = boto3.client("route53domains")

# now client usage is checked by mypy and IDE should provide code auto-complete

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

Paginators annotations

mypy_boto3_route53domains.paginator module contains type annotations for all paginators.

from mypy_boto3_route53domains import Route53DomainsClient
from mypy_boto3_route53domains.paginator import (
    ListDomainsPaginator,
    ListOperationsPaginator,
    ViewBillingPaginator,
)

client: Route53DomainsClient = boto3.client("route53domains")

# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_domains_paginator: ListDomainsPaginator = client.get_paginator("list_domains")
list_operations_paginator: ListOperationsPaginator = client.get_paginator("list_operations")
view_billing_paginator: ViewBillingPaginator = client.get_paginator("view_billing")

Typed dictionations

mypy_boto3_route53domains.type_defs module contains structures and shapes assembled to typed dictionaries for additional type checking.

from mypy_boto3_route53domains.type_defs import (
    AcceptDomainTransferFromAnotherAwsAccountResponseTypeDef,
    BillingRecordTypeDef,
    CancelDomainTransferToAnotherAwsAccountResponseTypeDef,
    CheckDomainAvailabilityResponseTypeDef,
    CheckDomainTransferabilityResponseTypeDef,
    ContactDetailTypeDef,
    DisableDomainTransferLockResponseTypeDef,
    DomainSuggestionTypeDef,
    DomainSummaryTypeDef,
    DomainTransferabilityTypeDef,
    EnableDomainTransferLockResponseTypeDef,
    ExtraParamTypeDef,
    GetContactReachabilityStatusResponseTypeDef,
    GetDomainDetailResponseTypeDef,
    GetDomainSuggestionsResponseTypeDef,
    GetOperationDetailResponseTypeDef,
    ListDomainsResponseTypeDef,
    ListOperationsResponseTypeDef,
    ListTagsForDomainResponseTypeDef,
    NameserverTypeDef,
    OperationSummaryTypeDef,
    PaginatorConfigTypeDef,
    RegisterDomainResponseTypeDef,
    RejectDomainTransferFromAnotherAwsAccountResponseTypeDef,
    RenewDomainResponseTypeDef,
    ResendContactReachabilityEmailResponseTypeDef,
    RetrieveDomainAuthCodeResponseTypeDef,
    TagTypeDef,
    TransferDomainResponseTypeDef,
    TransferDomainToAnotherAwsAccountResponseTypeDef,
    UpdateDomainContactPrivacyResponseTypeDef,
    UpdateDomainContactResponseTypeDef,
    UpdateDomainNameserversResponseTypeDef,
    ViewBillingResponseTypeDef,
)

def get_structure() -> BillingRecordTypeDef:
    return {
      ...
    }

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-route53domains-1.16.5.1.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_route53domains-1.16.5.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-route53domains-1.16.5.1.tar.gz.

File metadata

  • Download URL: mypy-boto3-route53domains-1.16.5.1.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for mypy-boto3-route53domains-1.16.5.1.tar.gz
Algorithm Hash digest
SHA256 d45271ab9dd7356c4566a853b1120d0f62b60bd478364da4771a26c567a8c6d7
MD5 dc47cc7f34bf49a54da08a471d0fd937
BLAKE2b-256 fa5a2ba2dbf56ea5646591de84ac649443a872909ce76cea667935d634e2d7c9

See more details on using hashes here.

File details

Details for the file mypy_boto3_route53domains-1.16.5.1-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_route53domains-1.16.5.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for mypy_boto3_route53domains-1.16.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aac3ab170476d1aedc527b8fc58bd2beeb4f7213ade078c4564375a9bbeb4a9c
MD5 c109cd035a10d29ac0f21d5cbc82cee9
BLAKE2b-256 fc0b0e1a6e5b3710fc3c6694c7d2a88e52d324ee167c8271d33a12735d3cae2a

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