Skip to content

BillingandCostManagementRecommendedActions module#

Index > BillingandCostManagementRecommendedActions

Auto-generated documentation for BillingandCostManagementRecommendedActions type annotations stubs module mypy-boto3-bcm-recommended-actions.

How to install#

You can generate type annotations for boto3 package locally with mypy-boto3-builder. Use uv for build isolation.

  1. Run mypy-boto3-builder in your package root directory: uvx --with 'boto3==1.40.10' mypy-boto3-builder
  2. Select boto3-stubs AWS SDK.
  3. Add BillingandCostManagementRecommendedActions service.
  4. 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 BillingandCostManagementRecommendedActions.

From PyPI with pip#

Install boto3-stubs for BillingandCostManagementRecommendedActions service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[bcm-recommended-actions]'

# 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[bcm-recommended-actions]'

# standalone installation
python -m pip install mypy-boto3-bcm-recommended-actions

How to uninstall#

python -m pip uninstall -y mypy-boto3-bcm-recommended-actions

Usage#

Code samples can be found in Examples.

BillingandCostManagementRecommendedActionsClient#

Type annotations and code completion for boto3.client("bcm-recommended-actions") as BillingandCostManagementRecommendedActionsClient boto3 documentation

# BillingandCostManagementRecommendedActionsClient usage example

from boto3.session import Session

from mypy_boto3_bcm_recommended_actions.client import BillingandCostManagementRecommendedActionsClient

def get_client() -> BillingandCostManagementRecommendedActionsClient:
    return Session().client("bcm-recommended-actions")

Paginators#

Type annotations and code completion for paginators from boto3.client("bcm-recommended-actions").get_paginator("...").

# ListRecommendedActionsPaginator usage example

from boto3.session import Session

from mypy_boto3_bcm_recommended_actions.paginator import ListRecommendedActionsPaginator

def get_list_recommended_actions_paginator() -> ListRecommendedActionsPaginator:
    return Session().client("bcm-recommended-actions").get_paginator("list_recommended_actions"))

Literals#

Type annotations for literals used in methods and schema.

# ActionTypeType usage example

from mypy_boto3_bcm_recommended_actions.literals import ActionTypeType

def get_value() -> ActionTypeType:
    return "ADD_ALTERNATE_BILLING_CONTACT"

Type definitions#

Type annotations for type definitions used in methods and schema.