Skip to content

BillingandCostManagementPricingCalculatorClient#

Index > BillingandCostManagementPricingCalculator > BillingandCostManagementPricingCalculatorClient

Auto-generated documentation for BillingandCostManagementPricingCalculator type annotations stubs module mypy-boto3-bcm-pricing-calculator.

BillingandCostManagementPricingCalculatorClient#

Type annotations and code completion for boto3.client("bcm-pricing-calculator"). boto3 documentation

# BillingandCostManagementPricingCalculatorClient usage example

from boto3.session import Session
from mypy_boto3_bcm_pricing_calculator.client import BillingandCostManagementPricingCalculatorClient

def get_bcm-pricing-calculator_client() -> BillingandCostManagementPricingCalculatorClient:
    return Session().client("bcm-pricing-calculator")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("bcm-pricing-calculator").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("bcm-pricing-calculator")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.DataUnavailableException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_bcm_pricing_calculator.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

batch_create_bill_scenario_commitment_modification#

Create Compute Savings Plans, EC2 Instance Savings Plans, or EC2 Reserved Instances commitments that you want to model in a Bill Scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_create_bill_scenario_commitment_modification method. boto3 documentation

# batch_create_bill_scenario_commitment_modification method definition

def batch_create_bill_scenario_commitment_modification(
    self,
    *,
    billScenarioId: str,
    commitmentModifications: Sequence[BatchCreateBillScenarioCommitmentModificationEntryTypeDef],  # (1)
    clientToken: str = ...,
) -> BatchCreateBillScenarioCommitmentModificationResponseTypeDef:  # (2)
    ...
  1. See BatchCreateBillScenarioCommitmentModificationEntryTypeDef
  2. See BatchCreateBillScenarioCommitmentModificationResponseTypeDef
# batch_create_bill_scenario_commitment_modification method usage example with argument unpacking

kwargs: BatchCreateBillScenarioCommitmentModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "commitmentModifications": ...,
}

parent.batch_create_bill_scenario_commitment_modification(**kwargs)
  1. See BatchCreateBillScenarioCommitmentModificationRequestRequestTypeDef

batch_create_bill_scenario_usage_modification#

Create Amazon Web Services service usage that you want to model in a Bill Scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_create_bill_scenario_usage_modification method. boto3 documentation

# batch_create_bill_scenario_usage_modification method definition

def batch_create_bill_scenario_usage_modification(
    self,
    *,
    billScenarioId: str,
    usageModifications: Sequence[BatchCreateBillScenarioUsageModificationEntryTypeDef],  # (1)
    clientToken: str = ...,
) -> BatchCreateBillScenarioUsageModificationResponseTypeDef:  # (2)
    ...
  1. See BatchCreateBillScenarioUsageModificationEntryTypeDef
  2. See BatchCreateBillScenarioUsageModificationResponseTypeDef
# batch_create_bill_scenario_usage_modification method usage example with argument unpacking

kwargs: BatchCreateBillScenarioUsageModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "usageModifications": ...,
}

parent.batch_create_bill_scenario_usage_modification(**kwargs)
  1. See BatchCreateBillScenarioUsageModificationRequestRequestTypeDef

batch_create_workload_estimate_usage#

Create Amazon Web Services service usage that you want to model in a Workload Estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_create_workload_estimate_usage method. boto3 documentation

# batch_create_workload_estimate_usage method definition

def batch_create_workload_estimate_usage(
    self,
    *,
    workloadEstimateId: str,
    usage: Sequence[BatchCreateWorkloadEstimateUsageEntryTypeDef],  # (1)
    clientToken: str = ...,
) -> BatchCreateWorkloadEstimateUsageResponseTypeDef:  # (2)
    ...
  1. See BatchCreateWorkloadEstimateUsageEntryTypeDef
  2. See BatchCreateWorkloadEstimateUsageResponseTypeDef
# batch_create_workload_estimate_usage method usage example with argument unpacking

kwargs: BatchCreateWorkloadEstimateUsageRequestRequestTypeDef = {  # (1)
    "workloadEstimateId": ...,
    "usage": ...,
}

parent.batch_create_workload_estimate_usage(**kwargs)
  1. See BatchCreateWorkloadEstimateUsageRequestRequestTypeDef

batch_delete_bill_scenario_commitment_modification#

Delete commitment that you have created in a Bill Scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_delete_bill_scenario_commitment_modification method. boto3 documentation

# batch_delete_bill_scenario_commitment_modification method definition

def batch_delete_bill_scenario_commitment_modification(
    self,
    *,
    billScenarioId: str,
    ids: Sequence[str],
) -> BatchDeleteBillScenarioCommitmentModificationResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteBillScenarioCommitmentModificationResponseTypeDef
# batch_delete_bill_scenario_commitment_modification method usage example with argument unpacking

kwargs: BatchDeleteBillScenarioCommitmentModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "ids": ...,
}

parent.batch_delete_bill_scenario_commitment_modification(**kwargs)
  1. See BatchDeleteBillScenarioCommitmentModificationRequestRequestTypeDef

batch_delete_bill_scenario_usage_modification#

Delete usage that you have created in a Bill Scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_delete_bill_scenario_usage_modification method. boto3 documentation

# batch_delete_bill_scenario_usage_modification method definition

def batch_delete_bill_scenario_usage_modification(
    self,
    *,
    billScenarioId: str,
    ids: Sequence[str],
) -> BatchDeleteBillScenarioUsageModificationResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteBillScenarioUsageModificationResponseTypeDef
# batch_delete_bill_scenario_usage_modification method usage example with argument unpacking

kwargs: BatchDeleteBillScenarioUsageModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "ids": ...,
}

parent.batch_delete_bill_scenario_usage_modification(**kwargs)
  1. See BatchDeleteBillScenarioUsageModificationRequestRequestTypeDef

batch_delete_workload_estimate_usage#

Delete usage that you have created in a Workload estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_delete_workload_estimate_usage method. boto3 documentation

# batch_delete_workload_estimate_usage method definition

def batch_delete_workload_estimate_usage(
    self,
    *,
    workloadEstimateId: str,
    ids: Sequence[str],
) -> BatchDeleteWorkloadEstimateUsageResponseTypeDef:  # (1)
    ...
  1. See BatchDeleteWorkloadEstimateUsageResponseTypeDef
# batch_delete_workload_estimate_usage method usage example with argument unpacking

kwargs: BatchDeleteWorkloadEstimateUsageRequestRequestTypeDef = {  # (1)
    "workloadEstimateId": ...,
    "ids": ...,
}

parent.batch_delete_workload_estimate_usage(**kwargs)
  1. See BatchDeleteWorkloadEstimateUsageRequestRequestTypeDef

batch_update_bill_scenario_commitment_modification#

Update a newly added or existing commitment.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_update_bill_scenario_commitment_modification method. boto3 documentation

# batch_update_bill_scenario_commitment_modification method definition

def batch_update_bill_scenario_commitment_modification(
    self,
    *,
    billScenarioId: str,
    commitmentModifications: Sequence[BatchUpdateBillScenarioCommitmentModificationEntryTypeDef],  # (1)
) -> BatchUpdateBillScenarioCommitmentModificationResponseTypeDef:  # (2)
    ...
  1. See BatchUpdateBillScenarioCommitmentModificationEntryTypeDef
  2. See BatchUpdateBillScenarioCommitmentModificationResponseTypeDef
# batch_update_bill_scenario_commitment_modification method usage example with argument unpacking

kwargs: BatchUpdateBillScenarioCommitmentModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "commitmentModifications": ...,
}

parent.batch_update_bill_scenario_commitment_modification(**kwargs)
  1. See BatchUpdateBillScenarioCommitmentModificationRequestRequestTypeDef

batch_update_bill_scenario_usage_modification#

Update a newly added or existing usage lines.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_update_bill_scenario_usage_modification method. boto3 documentation

# batch_update_bill_scenario_usage_modification method definition

def batch_update_bill_scenario_usage_modification(
    self,
    *,
    billScenarioId: str,
    usageModifications: Sequence[BatchUpdateBillScenarioUsageModificationEntryTypeDef],  # (1)
) -> BatchUpdateBillScenarioUsageModificationResponseTypeDef:  # (2)
    ...
  1. See BatchUpdateBillScenarioUsageModificationEntryTypeDef
  2. See BatchUpdateBillScenarioUsageModificationResponseTypeDef
# batch_update_bill_scenario_usage_modification method usage example with argument unpacking

kwargs: BatchUpdateBillScenarioUsageModificationRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "usageModifications": ...,
}

parent.batch_update_bill_scenario_usage_modification(**kwargs)
  1. See BatchUpdateBillScenarioUsageModificationRequestRequestTypeDef

batch_update_workload_estimate_usage#

Update a newly added or existing usage lines.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").batch_update_workload_estimate_usage method. boto3 documentation

# batch_update_workload_estimate_usage method definition

def batch_update_workload_estimate_usage(
    self,
    *,
    workloadEstimateId: str,
    usage: Sequence[BatchUpdateWorkloadEstimateUsageEntryTypeDef],  # (1)
) -> BatchUpdateWorkloadEstimateUsageResponseTypeDef:  # (2)
    ...
  1. See BatchUpdateWorkloadEstimateUsageEntryTypeDef
  2. See BatchUpdateWorkloadEstimateUsageResponseTypeDef
# batch_update_workload_estimate_usage method usage example with argument unpacking

kwargs: BatchUpdateWorkloadEstimateUsageRequestRequestTypeDef = {  # (1)
    "workloadEstimateId": ...,
    "usage": ...,
}

parent.batch_update_workload_estimate_usage(**kwargs)
  1. See BatchUpdateWorkloadEstimateUsageRequestRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_bill_estimate#

Create a Bill estimate from a Bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").create_bill_estimate method. boto3 documentation

# create_bill_estimate method definition

def create_bill_estimate(
    self,
    *,
    billScenarioId: str,
    name: str,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateBillEstimateResponseTypeDef:  # (1)
    ...
  1. See CreateBillEstimateResponseTypeDef
# create_bill_estimate method usage example with argument unpacking

kwargs: CreateBillEstimateRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
    "name": ...,
}

parent.create_bill_estimate(**kwargs)
  1. See CreateBillEstimateRequestRequestTypeDef

create_bill_scenario#

Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").create_bill_scenario method. boto3 documentation

# create_bill_scenario method definition

def create_bill_scenario(
    self,
    *,
    name: str,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateBillScenarioResponseTypeDef:  # (1)
    ...
  1. See CreateBillScenarioResponseTypeDef
# create_bill_scenario method usage example with argument unpacking

kwargs: CreateBillScenarioRequestRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_bill_scenario(**kwargs)
  1. See CreateBillScenarioRequestRequestTypeDef

create_workload_estimate#

Creates a new workload estimate to model costs for a specific workload.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").create_workload_estimate method. boto3 documentation

# create_workload_estimate method definition

def create_workload_estimate(
    self,
    *,
    name: str,
    clientToken: str = ...,
    rateType: WorkloadEstimateRateTypeType = ...,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateWorkloadEstimateResponseTypeDef:  # (2)
    ...
  1. See WorkloadEstimateRateTypeType
  2. See CreateWorkloadEstimateResponseTypeDef
# create_workload_estimate method usage example with argument unpacking

kwargs: CreateWorkloadEstimateRequestRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_workload_estimate(**kwargs)
  1. See CreateWorkloadEstimateRequestRequestTypeDef

delete_bill_estimate#

Deletes an existing bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").delete_bill_estimate method. boto3 documentation

# delete_bill_estimate method definition

def delete_bill_estimate(
    self,
    *,
    identifier: str,
) -> Dict[str, Any]:
    ...
# delete_bill_estimate method usage example with argument unpacking

kwargs: DeleteBillEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.delete_bill_estimate(**kwargs)
  1. See DeleteBillEstimateRequestRequestTypeDef

delete_bill_scenario#

Deletes an existing bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").delete_bill_scenario method. boto3 documentation

# delete_bill_scenario method definition

def delete_bill_scenario(
    self,
    *,
    identifier: str,
) -> Dict[str, Any]:
    ...
# delete_bill_scenario method usage example with argument unpacking

kwargs: DeleteBillScenarioRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.delete_bill_scenario(**kwargs)
  1. See DeleteBillScenarioRequestRequestTypeDef

delete_workload_estimate#

Deletes an existing workload estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").delete_workload_estimate method. boto3 documentation

# delete_workload_estimate method definition

def delete_workload_estimate(
    self,
    *,
    identifier: str,
) -> Dict[str, Any]:
    ...
# delete_workload_estimate method usage example with argument unpacking

kwargs: DeleteWorkloadEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.delete_workload_estimate(**kwargs)
  1. See DeleteWorkloadEstimateRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_bill_estimate#

Retrieves details of a specific bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").get_bill_estimate method. boto3 documentation

# get_bill_estimate method definition

def get_bill_estimate(
    self,
    *,
    identifier: str,
) -> GetBillEstimateResponseTypeDef:  # (1)
    ...
  1. See GetBillEstimateResponseTypeDef
# get_bill_estimate method usage example with argument unpacking

kwargs: GetBillEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.get_bill_estimate(**kwargs)
  1. See GetBillEstimateRequestRequestTypeDef

get_bill_scenario#

Retrieves details of a specific bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").get_bill_scenario method. boto3 documentation

# get_bill_scenario method definition

def get_bill_scenario(
    self,
    *,
    identifier: str,
) -> GetBillScenarioResponseTypeDef:  # (1)
    ...
  1. See GetBillScenarioResponseTypeDef
# get_bill_scenario method usage example with argument unpacking

kwargs: GetBillScenarioRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.get_bill_scenario(**kwargs)
  1. See GetBillScenarioRequestRequestTypeDef

get_preferences#

Retrieves the current preferences for the Amazon Web Services Cost Explorer service.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").get_preferences method. boto3 documentation

# get_preferences method definition

def get_preferences(
    self,
) -> GetPreferencesResponseTypeDef:  # (1)
    ...
  1. See GetPreferencesResponseTypeDef

get_workload_estimate#

Retrieves details of a specific workload estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").get_workload_estimate method. boto3 documentation

# get_workload_estimate method definition

def get_workload_estimate(
    self,
    *,
    identifier: str,
) -> GetWorkloadEstimateResponseTypeDef:  # (1)
    ...
  1. See GetWorkloadEstimateResponseTypeDef
# get_workload_estimate method usage example with argument unpacking

kwargs: GetWorkloadEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.get_workload_estimate(**kwargs)
  1. See GetWorkloadEstimateRequestRequestTypeDef

list_bill_estimate_commitments#

Lists the commitments associated with a bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_estimate_commitments method. boto3 documentation

# list_bill_estimate_commitments method definition

def list_bill_estimate_commitments(
    self,
    *,
    billEstimateId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillEstimateCommitmentsResponseTypeDef:  # (1)
    ...
  1. See ListBillEstimateCommitmentsResponseTypeDef
# list_bill_estimate_commitments method usage example with argument unpacking

kwargs: ListBillEstimateCommitmentsRequestRequestTypeDef = {  # (1)
    "billEstimateId": ...,
}

parent.list_bill_estimate_commitments(**kwargs)
  1. See ListBillEstimateCommitmentsRequestRequestTypeDef

list_bill_estimate_input_commitment_modifications#

Lists the input commitment modifications associated with a bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_estimate_input_commitment_modifications method. boto3 documentation

# list_bill_estimate_input_commitment_modifications method definition

def list_bill_estimate_input_commitment_modifications(
    self,
    *,
    billEstimateId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillEstimateInputCommitmentModificationsResponseTypeDef:  # (1)
    ...
  1. See ListBillEstimateInputCommitmentModificationsResponseTypeDef
# list_bill_estimate_input_commitment_modifications method usage example with argument unpacking

kwargs: ListBillEstimateInputCommitmentModificationsRequestRequestTypeDef = {  # (1)
    "billEstimateId": ...,
}

parent.list_bill_estimate_input_commitment_modifications(**kwargs)
  1. See ListBillEstimateInputCommitmentModificationsRequestRequestTypeDef

list_bill_estimate_input_usage_modifications#

Lists the input usage modifications associated with a bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_estimate_input_usage_modifications method. boto3 documentation

# list_bill_estimate_input_usage_modifications method definition

def list_bill_estimate_input_usage_modifications(
    self,
    *,
    billEstimateId: str,
    filters: Sequence[ListUsageFilterTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillEstimateInputUsageModificationsResponseTypeDef:  # (2)
    ...
  1. See ListUsageFilterTypeDef
  2. See ListBillEstimateInputUsageModificationsResponseTypeDef
# list_bill_estimate_input_usage_modifications method usage example with argument unpacking

kwargs: ListBillEstimateInputUsageModificationsRequestRequestTypeDef = {  # (1)
    "billEstimateId": ...,
}

parent.list_bill_estimate_input_usage_modifications(**kwargs)
  1. See ListBillEstimateInputUsageModificationsRequestRequestTypeDef

list_bill_estimate_line_items#

Lists the line items associated with a bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_estimate_line_items method. boto3 documentation

# list_bill_estimate_line_items method definition

def list_bill_estimate_line_items(
    self,
    *,
    billEstimateId: str,
    filters: Sequence[ListBillEstimateLineItemsFilterTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillEstimateLineItemsResponseTypeDef:  # (2)
    ...
  1. See ListBillEstimateLineItemsFilterTypeDef
  2. See ListBillEstimateLineItemsResponseTypeDef
# list_bill_estimate_line_items method usage example with argument unpacking

kwargs: ListBillEstimateLineItemsRequestRequestTypeDef = {  # (1)
    "billEstimateId": ...,
}

parent.list_bill_estimate_line_items(**kwargs)
  1. See ListBillEstimateLineItemsRequestRequestTypeDef

list_bill_estimates#

Lists all bill estimates for the account.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_estimates method. boto3 documentation

# list_bill_estimates method definition

def list_bill_estimates(
    self,
    *,
    filters: Sequence[ListBillEstimatesFilterTypeDef] = ...,  # (1)
    createdAtFilter: FilterTimestampTypeDef = ...,  # (2)
    expiresAtFilter: FilterTimestampTypeDef = ...,  # (2)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillEstimatesResponseTypeDef:  # (4)
    ...
  1. See ListBillEstimatesFilterTypeDef
  2. See FilterTimestampTypeDef
  3. See FilterTimestampTypeDef
  4. See ListBillEstimatesResponseTypeDef
# list_bill_estimates method usage example with argument unpacking

kwargs: ListBillEstimatesRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_bill_estimates(**kwargs)
  1. See ListBillEstimatesRequestRequestTypeDef

list_bill_scenario_commitment_modifications#

Lists the commitment modifications associated with a bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_scenario_commitment_modifications method. boto3 documentation

# list_bill_scenario_commitment_modifications method definition

def list_bill_scenario_commitment_modifications(
    self,
    *,
    billScenarioId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillScenarioCommitmentModificationsResponseTypeDef:  # (1)
    ...
  1. See ListBillScenarioCommitmentModificationsResponseTypeDef
# list_bill_scenario_commitment_modifications method usage example with argument unpacking

kwargs: ListBillScenarioCommitmentModificationsRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
}

parent.list_bill_scenario_commitment_modifications(**kwargs)
  1. See ListBillScenarioCommitmentModificationsRequestRequestTypeDef

list_bill_scenario_usage_modifications#

Lists the usage modifications associated with a bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_scenario_usage_modifications method. boto3 documentation

# list_bill_scenario_usage_modifications method definition

def list_bill_scenario_usage_modifications(
    self,
    *,
    billScenarioId: str,
    filters: Sequence[ListUsageFilterTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillScenarioUsageModificationsResponseTypeDef:  # (2)
    ...
  1. See ListUsageFilterTypeDef
  2. See ListBillScenarioUsageModificationsResponseTypeDef
# list_bill_scenario_usage_modifications method usage example with argument unpacking

kwargs: ListBillScenarioUsageModificationsRequestRequestTypeDef = {  # (1)
    "billScenarioId": ...,
}

parent.list_bill_scenario_usage_modifications(**kwargs)
  1. See ListBillScenarioUsageModificationsRequestRequestTypeDef

list_bill_scenarios#

Lists all bill scenarios for the account.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_bill_scenarios method. boto3 documentation

# list_bill_scenarios method definition

def list_bill_scenarios(
    self,
    *,
    filters: Sequence[ListBillScenariosFilterTypeDef] = ...,  # (1)
    createdAtFilter: FilterTimestampTypeDef = ...,  # (2)
    expiresAtFilter: FilterTimestampTypeDef = ...,  # (2)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListBillScenariosResponseTypeDef:  # (4)
    ...
  1. See ListBillScenariosFilterTypeDef
  2. See FilterTimestampTypeDef
  3. See FilterTimestampTypeDef
  4. See ListBillScenariosResponseTypeDef
# list_bill_scenarios method usage example with argument unpacking

kwargs: ListBillScenariosRequestRequestTypeDef = {  # (1)
    "filters": ...,
}

parent.list_bill_scenarios(**kwargs)
  1. See ListBillScenariosRequestRequestTypeDef

list_tags_for_resource#

Lists all tags associated with a specified resource.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    arn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "arn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_workload_estimate_usage#

Lists the usage associated with a workload estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_workload_estimate_usage method. boto3 documentation

# list_workload_estimate_usage method definition

def list_workload_estimate_usage(
    self,
    *,
    workloadEstimateId: str,
    filters: Sequence[ListUsageFilterTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListWorkloadEstimateUsageResponseTypeDef:  # (2)
    ...
  1. See ListUsageFilterTypeDef
  2. See ListWorkloadEstimateUsageResponseTypeDef
# list_workload_estimate_usage method usage example with argument unpacking

kwargs: ListWorkloadEstimateUsageRequestRequestTypeDef = {  # (1)
    "workloadEstimateId": ...,
}

parent.list_workload_estimate_usage(**kwargs)
  1. See ListWorkloadEstimateUsageRequestRequestTypeDef

list_workload_estimates#

Lists all workload estimates for the account.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").list_workload_estimates method. boto3 documentation

# list_workload_estimates method definition

def list_workload_estimates(
    self,
    *,
    createdAtFilter: FilterTimestampTypeDef = ...,  # (1)
    expiresAtFilter: FilterTimestampTypeDef = ...,  # (1)
    filters: Sequence[ListWorkloadEstimatesFilterTypeDef] = ...,  # (3)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListWorkloadEstimatesResponseTypeDef:  # (4)
    ...
  1. See FilterTimestampTypeDef
  2. See FilterTimestampTypeDef
  3. See ListWorkloadEstimatesFilterTypeDef
  4. See ListWorkloadEstimatesResponseTypeDef
# list_workload_estimates method usage example with argument unpacking

kwargs: ListWorkloadEstimatesRequestRequestTypeDef = {  # (1)
    "createdAtFilter": ...,
}

parent.list_workload_estimates(**kwargs)
  1. See ListWorkloadEstimatesRequestRequestTypeDef

tag_resource#

Adds one or more tags to a specified resource.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    arn: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "arn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes one or more tags from a specified resource.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    arn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "arn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_bill_estimate#

Updates an existing bill estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").update_bill_estimate method. boto3 documentation

# update_bill_estimate method definition

def update_bill_estimate(
    self,
    *,
    identifier: str,
    name: str = ...,
    expiresAt: TimestampTypeDef = ...,
) -> UpdateBillEstimateResponseTypeDef:  # (1)
    ...
  1. See UpdateBillEstimateResponseTypeDef
# update_bill_estimate method usage example with argument unpacking

kwargs: UpdateBillEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.update_bill_estimate(**kwargs)
  1. See UpdateBillEstimateRequestRequestTypeDef

update_bill_scenario#

Updates an existing bill scenario.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").update_bill_scenario method. boto3 documentation

# update_bill_scenario method definition

def update_bill_scenario(
    self,
    *,
    identifier: str,
    name: str = ...,
    expiresAt: TimestampTypeDef = ...,
) -> UpdateBillScenarioResponseTypeDef:  # (1)
    ...
  1. See UpdateBillScenarioResponseTypeDef
# update_bill_scenario method usage example with argument unpacking

kwargs: UpdateBillScenarioRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.update_bill_scenario(**kwargs)
  1. See UpdateBillScenarioRequestRequestTypeDef

update_preferences#

Updates the preferences for the Amazon Web Services Cost Explorer service.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").update_preferences method. boto3 documentation

# update_preferences method definition

def update_preferences(
    self,
    *,
    managementAccountRateTypeSelections: Sequence[RateTypeType] = ...,  # (1)
    memberAccountRateTypeSelections: Sequence[RateTypeType] = ...,  # (1)
) -> UpdatePreferencesResponseTypeDef:  # (3)
    ...
  1. See RateTypeType
  2. See RateTypeType
  3. See UpdatePreferencesResponseTypeDef
# update_preferences method usage example with argument unpacking

kwargs: UpdatePreferencesRequestRequestTypeDef = {  # (1)
    "managementAccountRateTypeSelections": ...,
}

parent.update_preferences(**kwargs)
  1. See UpdatePreferencesRequestRequestTypeDef

update_workload_estimate#

Updates an existing workload estimate.

Type annotations and code completion for boto3.client("bcm-pricing-calculator").update_workload_estimate method. boto3 documentation

# update_workload_estimate method definition

def update_workload_estimate(
    self,
    *,
    identifier: str,
    name: str = ...,
    expiresAt: TimestampTypeDef = ...,
) -> UpdateWorkloadEstimateResponseTypeDef:  # (1)
    ...
  1. See UpdateWorkloadEstimateResponseTypeDef
# update_workload_estimate method usage example with argument unpacking

kwargs: UpdateWorkloadEstimateRequestRequestTypeDef = {  # (1)
    "identifier": ...,
}

parent.update_workload_estimate(**kwargs)
  1. See UpdateWorkloadEstimateRequestRequestTypeDef

get_paginator#

Type annotations and code completion for boto3.client("bcm-pricing-calculator").get_paginator method with overloads.