ApplicationCostProfiler module#
Index > ApplicationCostProfiler
Auto-generated documentation for ApplicationCostProfiler type annotations stubs module mypy-boto3-applicationcostprofiler.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
ApplicationCostProfiler
service. - Use provided commands to install generated packages.
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
Usage#
Code samples can be found in Examples.
ApplicationCostProfilerClient#
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")
Paginators#
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"))
Literals#
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"
- FormatType
- ListReportDefinitionsPaginatorName
- ReportFrequencyType
- S3BucketRegionType
- ApplicationCostProfilerServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- DeleteReportDefinitionRequestRequestTypeDef
- ResponseMetadataTypeDef
- GetReportDefinitionRequestRequestTypeDef
- S3LocationTypeDef
- SourceS3LocationTypeDef
- PaginatorConfigTypeDef
- ListReportDefinitionsRequestRequestTypeDef
- DeleteReportDefinitionResultTypeDef
- ImportApplicationUsageResultTypeDef
- PutReportDefinitionResultTypeDef
- UpdateReportDefinitionResultTypeDef
- GetReportDefinitionResultTypeDef
- PutReportDefinitionRequestRequestTypeDef
- ReportDefinitionTypeDef
- UpdateReportDefinitionRequestRequestTypeDef
- ImportApplicationUsageRequestRequestTypeDef
- ListReportDefinitionsRequestPaginateTypeDef
- ListReportDefinitionsResultTypeDef