Skip to content

Cloud9 module

Index > Cloud9

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

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

From PyPI with pip

Install boto3-stubs for Cloud9 service.

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


# 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[cloud9]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

Cloud9Client

Type annotations and code completion for boto3.client("cloud9") as Cloud9Client boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_cloud9.client import Cloud9Client

def get_client() -> Cloud9Client:
    return Session().client("cloud9")

Paginators

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

Usage example
from boto3.session import Session

from mypy_boto3_cloud9.paginator import DescribeEnvironmentMembershipsPaginator

def get_describe_environment_memberships_paginator() -> DescribeEnvironmentMembershipsPaginator:
    return Session().client("cloud9").get_paginator("describe_environment_memberships"))

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_cloud9.literals import ConnectionTypeType

def get_value() -> ConnectionTypeType:
    return "CONNECT_SSH"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_cloud9.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }