Type annotations for boto3.signer 1.17.102 service, generated by mypy-boto3-buider 4.21.0
Project description
mypy-boto3-signer
Type annotations for boto3.signer 1.17.102 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.
Generated by mypy-boto3-buider 4.21.0.
More information can be found on boto3-stubs page and in mypy-boto3-signer docs
See how it helps to find and fix potential bugs:
How to install
Install boto3-stubs
for signer
service.
python -m pip install boto3-stubs[signer]
Usage
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
boto-stubs[signer]
in your environment:python -m pip install 'boto3-stubs[signer]'
Both type checking and auto-complete should work for signer
service. No
explicit type annotations required, write your boto3
code as usual.
PyCharm
- Install
boto-stubs[signer]
in your environment:python -m pip install 'boto3-stubs[signer]'
Both type checking and auto-complete should work for signer
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[signer]
in your environment:python -m pip install 'boto3-stubs[signer]'
- Run
mypy
as usual
Type checking should work for signer
service. No explicit type annotations
required, write your boto3
code as usual.
pyright
- Install
pyright
:yarn global add pyright
- Install
boto-stubs[signer]
in your environment:python -m pip install 'boto3-stubs[signer]'
- Optionally, you can install
boto3-stubs
totypings
folder.
Type checking should work for signer
service. No explicit type annotations
required, write your boto3
code as usual.
Explicit type annotations
Client annotations
signerClient
provides annotations for boto3.client("signer")
.
import boto3
from mypy_boto3_signer import signerClient
client: signerClient = boto3.client("signer")
# 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: signerClient = session.client("signer")
Paginators annotations
mypy_boto3_signer.paginator
module contains type annotations for all
paginators.
from mypy_boto3_signer import signerClient
from mypy_boto3_signer.paginator import (
ListSigningJobsPaginator,
ListSigningPlatformsPaginator,
ListSigningProfilesPaginator,
)
client: signerClient = boto3.client("signer")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_signing_jobs_paginator: ListSigningJobsPaginator = client.get_paginator("list_signing_jobs")
list_signing_platforms_paginator: ListSigningPlatformsPaginator = client.get_paginator("list_signing_platforms")
list_signing_profiles_paginator: ListSigningProfilesPaginator = client.get_paginator("list_signing_profiles")
Waiters annotations
mypy_boto3_signer.waiter
module contains type annotations for all waiters.
from mypy_boto3_signer import signerClient
from mypy_boto3_signer.waiter import (
SuccessfulSigningJobWaiter,
)
client: signerClient = boto3.client("signer")
# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
successful_signing_job_waiter: SuccessfulSigningJobWaiter = client.get_waiter("successful_signing_job")
Literals
mypy_boto3_signer.literals
module contains literals extracted from shapes
that can be used in user code for type checking.
from mypy_boto3_signer.literals import (
CategoryType,
EncryptionAlgorithmType,
HashAlgorithmType,
ImageFormatType,
ListSigningJobsPaginatorName,
ListSigningPlatformsPaginatorName,
ListSigningProfilesPaginatorName,
SigningProfileStatusType,
SigningStatusType,
SuccessfulSigningJobWaiterName,
ValidityTypeType,
)
def check_value(value: CategoryType) -> bool:
...
Typed dictionaries
mypy_boto3_signer.type_defs
module contains structures and shapes assembled
to typed dictionaries for additional type checking.
from mypy_boto3_signer.type_defs import (
AddProfilePermissionRequestRequestTypeDef,
AddProfilePermissionResponseTypeDef,
CancelSigningProfileRequestRequestTypeDef,
DescribeSigningJobRequestRequestTypeDef,
DescribeSigningJobResponseTypeDef,
DestinationTypeDef,
EncryptionAlgorithmOptionsTypeDef,
GetSigningPlatformRequestRequestTypeDef,
GetSigningPlatformResponseTypeDef,
GetSigningProfileRequestRequestTypeDef,
GetSigningProfileResponseTypeDef,
HashAlgorithmOptionsTypeDef,
ListProfilePermissionsRequestRequestTypeDef,
ListProfilePermissionsResponseTypeDef,
ListSigningJobsRequestRequestTypeDef,
ListSigningJobsResponseTypeDef,
ListSigningPlatformsRequestRequestTypeDef,
ListSigningPlatformsResponseTypeDef,
ListSigningProfilesRequestRequestTypeDef,
ListSigningProfilesResponseTypeDef,
ListTagsForResourceRequestRequestTypeDef,
ListTagsForResourceResponseTypeDef,
PaginatorConfigTypeDef,
PermissionTypeDef,
PutSigningProfileRequestRequestTypeDef,
PutSigningProfileResponseTypeDef,
RemoveProfilePermissionRequestRequestTypeDef,
RemoveProfilePermissionResponseTypeDef,
ResponseMetadataTypeDef,
RevokeSignatureRequestRequestTypeDef,
RevokeSigningProfileRequestRequestTypeDef,
S3DestinationTypeDef,
S3SignedObjectTypeDef,
S3SourceTypeDef,
SignatureValidityPeriodTypeDef,
SignedObjectTypeDef,
SigningConfigurationOverridesTypeDef,
SigningConfigurationTypeDef,
SigningImageFormatTypeDef,
SigningJobRevocationRecordTypeDef,
SigningJobTypeDef,
SigningMaterialTypeDef,
SigningPlatformOverridesTypeDef,
SigningPlatformTypeDef,
SigningProfileRevocationRecordTypeDef,
SigningProfileTypeDef,
SourceTypeDef,
StartSigningJobRequestRequestTypeDef,
StartSigningJobResponseTypeDef,
TagResourceRequestRequestTypeDef,
UntagResourceRequestRequestTypeDef,
WaiterConfigTypeDef,
)
def get_structure() -> AddProfilePermissionRequestRequestTypeDef:
return {
...
}
Versioning
mypy-boto3-signer
version is the same as related boto3
version and follows
PEP 440 format.
Documentation
All type annotations can be found in mypy-boto3-signer 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-signer-1.17.102.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f16df875b2bc394f03dc8c71ba260e04f0558f1b317e038aa2f8e94f015cc1 |
|
MD5 | 689bc701bbf23633006527bbfcddf12e |
|
BLAKE2b-256 | 0ff010b94e343d09f522d5a1eebf5bbe1e4f256d7ae858f73d51898bad6f08d8 |
Hashes for mypy_boto3_signer-1.17.102.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c69400ee9843b99d750eb473970ce62f0c6b26ee4b5a6af689c4ddbb43e565 |
|
MD5 | d82821c544fb7ac40b498249c7e14c97 |
|
BLAKE2b-256 | 7e90e46fe48a26e367f686605298766101dbea70121907f761b0ea6a53bd5ee3 |