Type annotations for aiobotocore.Route53RecoveryReadiness 2.1.0 service generated by mypy-boto3-builder 6.4.2
Project description
mypy-boto3-route53-recovery-readiness
Type annotations for boto3.Route53RecoveryReadiness 1.20.47 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 6.4.2.
More information can be found on boto3-stubs page and in types-aiobotocore-route53-recovery-readiness docs
See how it helps to find and fix potential bugs:
How to install
VSCode extension
Add
AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and Route53RecoveryReadiness
.
From PyPI with pip
Install types-aiobotocore
for Route53RecoveryReadiness
service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[route53-recovery-readiness]'
# Lite version does not provide session.create_client overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[route53-recovery-readiness]'
# standalone installation
python -m pip install types-aiobotocore-route53-recovery-readiness
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
types-aiobotocore[route53-recovery-readiness]
in your environment:python -m pip install 'types-aiobotocore[route53-recovery-readiness]'
Both type checking and auto-complete should work for Route53RecoveryReadiness
service. No explicit type annotations required, write your boto3
code as
usual.
PyCharm
- Install
types-aiobotocore[route53-recovery-readiness]
in your environment:python -m pip install 'types-aiobotocore[route53-recovery-readiness]'
Both type checking and auto-complete should work for Route53RecoveryReadiness
service. No explicit type annotations required, write your aiobotocore
code
as usual. Auto-complete can be slow on big projects or if you have a lot of
installed types-aiobotocore
submodules.
Other IDEs
Not tested, but as long as your IDE supports mypy
or pyright
, everything
should work.
mypy
- Install
mypy
:python -m pip install mypy
- Install
types-aiobotocore[route53-recovery-readiness]
in your environment:python -m pip install 'types-aiobotocore[route53-recovery-readiness]'
- Run
mypy
as usual
Type checking should work for Route53RecoveryReadiness
service. No explicit
type annotations required, write your aiobotocore
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
types-aiobotocore[route53-recovery-readiness]
in your environment:python -m pip install 'types-aiobotocore[route53-recovery-readiness]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for Route53RecoveryReadiness
service. No explicit
type annotations required, write your aiobotocore
code as usual.
Explicit type annotations
Client annotations
Route53RecoveryReadinessClient
provides annotations for
session.create_client("route53-recovery-readiness")
.
from aiobotocore.session import get_session
from types_aiobotocore_route53_recovery_readiness import Route53RecoveryReadinessClient
session = get_session()
async with session.create_client("route53-recovery-readiness") as client:
client: Route53RecoveryReadinessClient
# now client usage is checked by mypy and IDE should provide code auto-complete
Paginators annotations
types_aiobotocore_route53_recovery_readiness.paginator
module contains type
annotations for all paginators.
from aiobotocore.session import get_session
from types_aiobotocore_route53_recovery_readiness import Route53RecoveryReadinessClient
from types_aiobotocore_route53_recovery_readiness.paginator import (
GetCellReadinessSummaryPaginator,
GetReadinessCheckResourceStatusPaginator,
GetReadinessCheckStatusPaginator,
GetRecoveryGroupReadinessSummaryPaginator,
ListCellsPaginator,
ListCrossAccountAuthorizationsPaginator,
ListReadinessChecksPaginator,
ListRecoveryGroupsPaginator,
ListResourceSetsPaginator,
ListRulesPaginator,
)
session = get_session()
async with session.create_client("route53-recovery-readiness") as client:
client: Route53RecoveryReadinessClient
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
get_cell_readiness_summary_paginator: GetCellReadinessSummaryPaginator = client.get_paginator("get_cell_readiness_summary")
get_readiness_check_resource_status_paginator: GetReadinessCheckResourceStatusPaginator = client.get_paginator("get_readiness_check_resource_status")
get_readiness_check_status_paginator: GetReadinessCheckStatusPaginator = client.get_paginator("get_readiness_check_status")
get_recovery_group_readiness_summary_paginator: GetRecoveryGroupReadinessSummaryPaginator = client.get_paginator("get_recovery_group_readiness_summary")
list_cells_paginator: ListCellsPaginator = client.get_paginator("list_cells")
list_cross_account_authorizations_paginator: ListCrossAccountAuthorizationsPaginator = client.get_paginator("list_cross_account_authorizations")
list_readiness_checks_paginator: ListReadinessChecksPaginator = client.get_paginator("list_readiness_checks")
list_recovery_groups_paginator: ListRecoveryGroupsPaginator = client.get_paginator("list_recovery_groups")
list_resource_sets_paginator: ListResourceSetsPaginator = client.get_paginator("list_resource_sets")
list_rules_paginator: ListRulesPaginator = client.get_paginator("list_rules")
```
### Literals
`types_aiobotocore_route53_recovery_readiness.literals` module contains literals extracted from shapes
that can be used in user code for type checking.
```python
from types_aiobotocore_route53_recovery_readiness.literals import (
GetCellReadinessSummaryPaginatorName,
GetReadinessCheckResourceStatusPaginatorName,
GetReadinessCheckStatusPaginatorName,
GetRecoveryGroupReadinessSummaryPaginatorName,
ListCellsPaginatorName,
ListCrossAccountAuthorizationsPaginatorName,
ListReadinessChecksPaginatorName,
ListRecoveryGroupsPaginatorName,
ListResourceSetsPaginatorName,
ListRulesPaginatorName,
ReadinessType,
ServiceName,
PaginatorName,
)
def check_value(value: GetCellReadinessSummaryPaginatorName) -> bool:
...
Typed dictionaries
types_aiobotocore_route53_recovery_readiness.type_defs
module contains
structures and shapes assembled to typed dictionaries for additional type
checking.
from types_aiobotocore_route53_recovery_readiness.type_defs import (
CellOutputTypeDef,
CreateCellRequestRequestTypeDef,
CreateCellResponseTypeDef,
CreateCrossAccountAuthorizationRequestRequestTypeDef,
CreateCrossAccountAuthorizationResponseTypeDef,
CreateReadinessCheckRequestRequestTypeDef,
CreateReadinessCheckResponseTypeDef,
CreateRecoveryGroupRequestRequestTypeDef,
CreateRecoveryGroupResponseTypeDef,
CreateResourceSetRequestRequestTypeDef,
CreateResourceSetResponseTypeDef,
DNSTargetResourceTypeDef,
DeleteCellRequestRequestTypeDef,
DeleteCrossAccountAuthorizationRequestRequestTypeDef,
DeleteReadinessCheckRequestRequestTypeDef,
DeleteRecoveryGroupRequestRequestTypeDef,
DeleteResourceSetRequestRequestTypeDef,
GetArchitectureRecommendationsRequestRequestTypeDef,
GetArchitectureRecommendationsResponseTypeDef,
GetCellReadinessSummaryRequestRequestTypeDef,
GetCellReadinessSummaryResponseTypeDef,
GetCellRequestRequestTypeDef,
GetCellResponseTypeDef,
GetReadinessCheckRequestRequestTypeDef,
GetReadinessCheckResourceStatusRequestRequestTypeDef,
GetReadinessCheckResourceStatusResponseTypeDef,
GetReadinessCheckResponseTypeDef,
GetReadinessCheckStatusRequestRequestTypeDef,
GetReadinessCheckStatusResponseTypeDef,
GetRecoveryGroupReadinessSummaryRequestRequestTypeDef,
GetRecoveryGroupReadinessSummaryResponseTypeDef,
GetRecoveryGroupRequestRequestTypeDef,
GetRecoveryGroupResponseTypeDef,
GetResourceSetRequestRequestTypeDef,
GetResourceSetResponseTypeDef,
ListCellsRequestRequestTypeDef,
ListCellsResponseTypeDef,
ListCrossAccountAuthorizationsRequestRequestTypeDef,
ListCrossAccountAuthorizationsResponseTypeDef,
ListReadinessChecksRequestRequestTypeDef,
ListReadinessChecksResponseTypeDef,
ListRecoveryGroupsRequestRequestTypeDef,
ListRecoveryGroupsResponseTypeDef,
ListResourceSetsRequestRequestTypeDef,
ListResourceSetsResponseTypeDef,
ListRulesOutputTypeDef,
ListRulesRequestRequestTypeDef,
ListRulesResponseTypeDef,
ListTagsForResourcesRequestRequestTypeDef,
ListTagsForResourcesResponseTypeDef,
MessageTypeDef,
NLBResourceTypeDef,
PaginatorConfigTypeDef,
R53ResourceRecordTypeDef,
ReadinessCheckOutputTypeDef,
ReadinessCheckSummaryTypeDef,
RecommendationTypeDef,
RecoveryGroupOutputTypeDef,
ResourceResultTypeDef,
ResourceSetOutputTypeDef,
ResourceTypeDef,
ResponseMetadataTypeDef,
RuleResultTypeDef,
TagResourceRequestRequestTypeDef,
TargetResourceTypeDef,
UntagResourceRequestRequestTypeDef,
UpdateCellRequestRequestTypeDef,
UpdateCellResponseTypeDef,
UpdateReadinessCheckRequestRequestTypeDef,
UpdateReadinessCheckResponseTypeDef,
UpdateRecoveryGroupRequestRequestTypeDef,
UpdateRecoveryGroupResponseTypeDef,
UpdateResourceSetRequestRequestTypeDef,
UpdateResourceSetResponseTypeDef,
)
def get_structure() -> CellOutputTypeDef:
return {
...
}
Versioning
types-aiobotocore-route53-recovery-readiness
version is the same as related
boto3
version and follows
PEP 440 format.
Documentation
All type annotations can be found in types-aiobotocore-route53-recovery-readiness docs
Support and contributing
This package is auto-generated. Please reports any bugs or request new features in mypy-boto3-builder repository.
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
Built Distribution
Hashes for types-aiobotocore-route53-recovery-readiness-2.1.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64b57fc85161c6e7e2bafac43f9960ddea1ea6837997d1e1983893cfc28e8065 |
|
MD5 | df75c98dac4e3de128ed29f9d861eac5 |
|
BLAKE2b-256 | 898ef39c04485bc336f521b936e8878c08500038ad619cc8dd9a83e38e8ea41b |
Hashes for types_aiobotocore_route53_recovery_readiness-2.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f59ab9809ab4cb130a44a99072b7f0a291d9d7b12ed11a7678a190447a28c4d |
|
MD5 | 9023128072ffed76babf80f2a0138d06 |
|
BLAKE2b-256 | 07fff0352c2363c6738df9f84dbc10fe9ed590a191bd2dac4f95a780ff19b4e9 |