Skip to content

ApplicationCostProfiler module#

Index > ApplicationCostProfiler

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

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

From PyPI with pip#

Install boto3-stubs for ApplicationCostProfiler service.

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

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

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

How to uninstall#

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


Code samples can be found in Examples.


Type annotations and code completion for boto3.client("applicationcostprofiler") as ApplicationCostProfilerClient boto3 documentation

# ApplicationCostProfilerClient usage example

from boto3.session import Session

from mypy_boto3_applicationcostprofiler.client import ApplicationCostProfilerClient

def get_client() -> ApplicationCostProfilerClient:
    return Session().client("applicationcostprofiler")


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

# ListReportDefinitionsPaginator usage example

from boto3.session import Session

from mypy_boto3_applicationcostprofiler.paginator import ListReportDefinitionsPaginator

def get_list_report_definitions_paginator() -> ListReportDefinitionsPaginator:
    return Session().client("applicationcostprofiler").get_paginator("list_report_definitions"))


Type annotations for literals used in methods and schema.

# FormatType usage example

from mypy_boto3_applicationcostprofiler.literals import FormatType

def get_value() -> FormatType:
    return "CSV"

Type definitions#

Type annotations for type definitions used in methods and schema.