Skip to content

CodeGuruProfiler module

Index > CodeGuruProfiler

Auto-generated documentation for CodeGuruProfiler type annotations stubs module types-aiobotocore-codeguruprofiler.

How to install

From PyPI with pip

Install types-aioboto3 for CodeGuruProfiler service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[codeguruprofiler]'


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


# standalone installation
python -m pip install types-aiobotocore-codeguruprofiler

How to uninstall

python -m pip uninstall -y types-aiobotocore-codeguruprofiler

Usage

Code samples can be found in Examples.

CodeGuruProfilerClient

Type annotations and code completion for session.client("codeguruprofiler") as CodeGuruProfilerClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_codeguruprofiler.client import CodeGuruProfilerClient


session = Session()
async with session.client("codeguruprofiler") as client:
    client: CodeGuruProfilerClient

Paginators

Type annotations and code completion for paginators from session.client("codeguruprofiler").get_paginator("...").

Usage example
from types_aiobotocore_codeguruprofiler.paginator import ListProfileTimesPaginator

def get_list_profile_times_paginator() -> ListProfileTimesPaginator:
    return client.get_paginator("list_profile_times"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_codeguruprofiler.literals import ActionGroupType

def get_value() -> ActionGroupType:
    return "agentPermissions"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_codeguruprofiler.type_defs import ChannelTypeDef

def get_value() -> ChannelTypeDef:
    return {
        "eventPublishers": ...,
        "uri": ...,
    }