mypy-boto3-signer

1.42.7 · active · verified Fri Apr 10

mypy-boto3-signer provides type annotations for the `boto3` AWS SDK's Signer service client (version 1.42.7), generated with `mypy-boto3-builder 8.12.0`. It offers type hints for the Signer client, paginators, waiters, literals, and typed dictionaries, enhancing static analysis and IDE autocompletion for `boto3` users. The project is actively maintained, with updates frequently synchronized with `boto3` releases.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to obtain a type-annotated Signer client using `boto3.client`. With `mypy-boto3-signer` installed, type checkers like MyPy and IDEs will provide autocompletion and static analysis for the client's methods and parameters. Explicit type annotation is optional but recommended for robust type checking, especially in some IDE environments.

import boto3
from mypy_boto3_signer import SignerClient

def get_signer_client() -> SignerClient:
    # mypy will correctly infer the type from boto3.client if mypy-boto3-signer is installed
    # Explicit annotation is often optional but good for clarity in some IDEs.
    client: SignerClient = boto3.client("signer")
    return client

client = get_signer_client()
# Example usage with type-checked method calls (will show autocompletion):
# response = client.list_signing_jobs(status="Completed")
# print(response)

view raw JSON →