Type annotations for boto3.ApiGatewayManagementApi 1.18.13 service, generated by mypy-boto3-builder 5.1.0
Project description
mypy-boto3-apigatewaymanagementapi
Type annotations for boto3.ApiGatewayManagementApi 1.18.13 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-builder 5.1.0.
More information can be found on boto3-stubs page and in mypy-boto3-apigatewaymanagementapi docs
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for ApiGatewayManagementApi
service.
python -m pip install boto3-stubs[apigatewaymanagementapi]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[apigatewaymanagementapi]
in your environment:python -m pip install 'boto3-stubs[apigatewaymanagementapi]'
Both type checking and auto-complete should work for ApiGatewayManagementApi
service. No explicit type annotations required, write your boto3
code as
usual.
PyCharm
- Install
boto-stubs[apigatewaymanagementapi]
in your environment:python -m pip install 'boto3-stubs[apigatewaymanagementapi]'
Both type checking and auto-complete should work for ApiGatewayManagementApi
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[apigatewaymanagementapi]
in your environment:python -m pip install 'boto3-stubs[apigatewaymanagementapi]'
- Run
mypy
as usual
Type checking should work for ApiGatewayManagementApi
service. No explicit
type annotations required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[apigatewaymanagementapi]
in your environment:python -m pip install 'boto3-stubs[apigatewaymanagementapi]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for ApiGatewayManagementApi
service. No explicit
type annotations required, write your boto3
code as usual.
Explicit type annotations
Client annotations
ApiGatewayManagementApiClient
provides annotations for
boto3.client("apigatewaymanagementapi")
.
import boto3
from mypy_boto3_apigatewaymanagementapi import ApiGatewayManagementApiClient
client: ApiGatewayManagementApiClient = boto3.client("apigatewaymanagementapi")
# 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: ApiGatewayManagementApiClient = session.client("apigatewaymanagementapi")
Typed dictionaries
mypy_boto3_apigatewaymanagementapi.type_defs
module contains structures and
shapes assembled to typed dictionaries for additional type checking.
from mypy_boto3_apigatewaymanagementapi.type_defs import (
DeleteConnectionRequestRequestTypeDef,
GetConnectionRequestRequestTypeDef,
GetConnectionResponseTypeDef,
IdentityTypeDef,
PostToConnectionRequestRequestTypeDef,
ResponseMetadataTypeDef,
)
def get_structure() -> DeleteConnectionRequestRequestTypeDef:
return {
...
}
Versioning
mypy-boto3-apigatewaymanagementapi
version is the same as related boto3
version and follows PEP 440
format.
Documentation
All type annotations can be found in mypy-boto3-apigatewaymanagementapi 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 mypy-boto3-apigatewaymanagementapi-1.18.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19b016ad5e1e67ef92518bc48f91ca716408ac27d0a50b1d355650e0cd1c30f1 |
|
MD5 | 4c4cc5f57bf66cabd762102e770687b7 |
|
BLAKE2b-256 | 37bc7bf071eb72d6d0d0257be75dab96ed6c6829485994eae53a6068c6bf9755 |
Hashes for mypy_boto3_apigatewaymanagementapi-1.18.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65d0c9f207c3d420ee5731af223a4c8eceaf3cbf637d402e73e41f4177970e9a |
|
MD5 | 10f6f79964e46fe7e3bdd618feed7244 |
|
BLAKE2b-256 | bf7b1f2706876eef2f98096978899b39abcad0e57c3b42c5285c0a534f9b03f8 |