Skip to content

signer module#

Index > signer

Auto-generated documentation for signer type annotations stubs module mypy-boto3-signer.

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 signer.

From PyPI with pip#

Install boto3-stubs for signer service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[signer]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[signer]'


# standalone installation
python -m pip install mypy-boto3-signer

How to uninstall#

python -m pip uninstall -y mypy-boto3-signer

Usage#

Code samples can be found in Examples.

signerClient#

Type annotations and code completion for boto3.client("signer") as signerClient boto3 documentation

# signerClient usage example

from boto3.session import Session

from mypy_boto3_signer.client import signerClient

def get_client() -> signerClient:
    return Session().client("signer")

Paginators#

Type annotations and code completion for paginators from boto3.client("signer").get_paginator("...").

# ListSigningJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_signer.paginator import ListSigningJobsPaginator

def get_list_signing_jobs_paginator() -> ListSigningJobsPaginator:
    return Session().client("signer").get_paginator("list_signing_jobs"))

Waiters#

Type annotations and code completion for waiters from boto3.client("signer").get_waiter("...").

# SuccessfulSigningJobWaiter usage example

from boto3.session import Session

from mypy_boto3_signer.waiter import SuccessfulSigningJobWaiter

def get_successful_signing_job_waiter() -> SuccessfulSigningJobWaiter:
    return Session().client("signer").get_waiter("successful_signing_job")

Literals#

Type annotations for literals used in methods and schemas.

# CategoryType usage example

from mypy_boto3_signer.literals import CategoryType

def get_value() -> CategoryType:
    return "AWSIoT"

Typed dictionaries#

Type annotations for typed dictionaries used in methods and schema.

# AddProfilePermissionRequestRequestTypeDef usage example

from mypy_boto3_signer.type_defs import AddProfilePermissionRequestRequestTypeDef

def get_value() -> AddProfilePermissionRequestRequestTypeDef:
    return {
        "profileName": ...,
        "action": ...,
        "principal": ...,
        "statementId": ...,
    }