Skip to content

BillingConductorClient#

Index > BillingConductor > BillingConductorClient

Auto-generated documentation for BillingConductor type annotations stubs module types-aiobotocore-billingconductor.

BillingConductorClient#

Type annotations and code completion for session.create_client("billingconductor") boto3 documentation

BillingConductorClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_billingconductor.client import BillingConductorClient

session = get_session()
async with session.create_client("billingconductor") as client:
    client: BillingConductorClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("billingconductor").exceptions structure.

BillingConductorClient.exceptions usage example

async with session.create_client("billingconductor") as client:
    try:
        do_something(client)
    except (
            client.AccessDeniedException,
        client.ClientError,
        client.ConflictException,
        client.InternalServerException,
        client.ResourceNotFoundException,
        client.ServiceLimitExceededException,
        client.ThrottlingException,
        client.ValidationException,
    ) as e:
        print(e)
BillingConductorClient usage type checking example

from types_aiobotocore_billingconductor.client import Exceptions

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

Methods#

associate_accounts#

Connects an array of account IDs in a consolidated billing family to a predefined billing group.

Type annotations and code completion for session.create_client("billingconductor").associate_accounts method. boto3 documentation

# associate_accounts method definition

await def associate_accounts(
    self,
    *,
    Arn: str,
    AccountIds: Sequence[str],
) -> AssociateAccountsOutputTypeDef:  # (1)
    ...
  1. See AssociateAccountsOutputTypeDef
# associate_accounts method usage example with argument unpacking

kwargs: AssociateAccountsInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "AccountIds": ...,
}

parent.associate_accounts(**kwargs)
  1. See AssociateAccountsInputRequestTypeDef

associate_pricing_rules#

Connects an array of PricingRuleArns to a defined PricingPlan.

Type annotations and code completion for session.create_client("billingconductor").associate_pricing_rules method. boto3 documentation

# associate_pricing_rules method definition

await def associate_pricing_rules(
    self,
    *,
    Arn: str,
    PricingRuleArns: Sequence[str],
) -> AssociatePricingRulesOutputTypeDef:  # (1)
    ...
  1. See AssociatePricingRulesOutputTypeDef
# associate_pricing_rules method usage example with argument unpacking

kwargs: AssociatePricingRulesInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "PricingRuleArns": ...,
}

parent.associate_pricing_rules(**kwargs)
  1. See AssociatePricingRulesInputRequestTypeDef

batch_associate_resources_to_custom_line_item#

Associates a batch of resources to a percentage custom line item.

Type annotations and code completion for session.create_client("billingconductor").batch_associate_resources_to_custom_line_item method. boto3 documentation

# batch_associate_resources_to_custom_line_item method definition

await def batch_associate_resources_to_custom_line_item(
    self,
    *,
    TargetArn: str,
    ResourceArns: Sequence[str],
    BillingPeriodRange: CustomLineItemBillingPeriodRangeTypeDef = ...,  # (1)
) -> BatchAssociateResourcesToCustomLineItemOutputTypeDef:  # (2)
    ...
  1. See CustomLineItemBillingPeriodRangeTypeDef
  2. See BatchAssociateResourcesToCustomLineItemOutputTypeDef
# batch_associate_resources_to_custom_line_item method usage example with argument unpacking

kwargs: BatchAssociateResourcesToCustomLineItemInputRequestTypeDef = {  # (1)
    "TargetArn": ...,
    "ResourceArns": ...,
}

parent.batch_associate_resources_to_custom_line_item(**kwargs)
  1. See BatchAssociateResourcesToCustomLineItemInputRequestTypeDef

batch_disassociate_resources_from_custom_line_item#

Disassociates a batch of resources from a percentage custom line item.

Type annotations and code completion for session.create_client("billingconductor").batch_disassociate_resources_from_custom_line_item method. boto3 documentation

# batch_disassociate_resources_from_custom_line_item method definition

await def batch_disassociate_resources_from_custom_line_item(
    self,
    *,
    TargetArn: str,
    ResourceArns: Sequence[str],
    BillingPeriodRange: CustomLineItemBillingPeriodRangeTypeDef = ...,  # (1)
) -> BatchDisassociateResourcesFromCustomLineItemOutputTypeDef:  # (2)
    ...
  1. See CustomLineItemBillingPeriodRangeTypeDef
  2. See BatchDisassociateResourcesFromCustomLineItemOutputTypeDef
# batch_disassociate_resources_from_custom_line_item method usage example with argument unpacking

kwargs: BatchDisassociateResourcesFromCustomLineItemInputRequestTypeDef = {  # (1)
    "TargetArn": ...,
    "ResourceArns": ...,
}

parent.batch_disassociate_resources_from_custom_line_item(**kwargs)
  1. See BatchDisassociateResourcesFromCustomLineItemInputRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("billingconductor").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 session.create_client("billingconductor").close method. boto3 documentation

# close method definition

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

create_billing_group#

Creates a billing group that resembles a consolidated billing family that Amazon Web Services charges, based off of the predefined pricing plan computation.

Type annotations and code completion for session.create_client("billingconductor").create_billing_group method. boto3 documentation

# create_billing_group method definition

await def create_billing_group(
    self,
    *,
    Name: str,
    AccountGrouping: AccountGroupingTypeDef,  # (1)
    ComputationPreference: ComputationPreferenceTypeDef,  # (2)
    ClientToken: str = ...,
    PrimaryAccountId: str = ...,
    Description: str = ...,
    Tags: Mapping[str, str] = ...,
) -> CreateBillingGroupOutputTypeDef:  # (3)
    ...
  1. See AccountGroupingTypeDef
  2. See ComputationPreferenceTypeDef
  3. See CreateBillingGroupOutputTypeDef
# create_billing_group method usage example with argument unpacking

kwargs: CreateBillingGroupInputRequestTypeDef = {  # (1)
    "Name": ...,
    "AccountGrouping": ...,
    "ComputationPreference": ...,
}

parent.create_billing_group(**kwargs)
  1. See CreateBillingGroupInputRequestTypeDef

create_custom_line_item#

Creates a custom line item that can be used to create a one-time fixed charge that can be applied to a single billing group for the current or previous billing period.

Type annotations and code completion for session.create_client("billingconductor").create_custom_line_item method. boto3 documentation

# create_custom_line_item method definition

await def create_custom_line_item(
    self,
    *,
    Name: str,
    Description: str,
    BillingGroupArn: str,
    ChargeDetails: CustomLineItemChargeDetailsTypeDef,  # (1)
    ClientToken: str = ...,
    BillingPeriodRange: CustomLineItemBillingPeriodRangeTypeDef = ...,  # (2)
    Tags: Mapping[str, str] = ...,
) -> CreateCustomLineItemOutputTypeDef:  # (3)
    ...
  1. See CustomLineItemChargeDetailsTypeDef
  2. See CustomLineItemBillingPeriodRangeTypeDef
  3. See CreateCustomLineItemOutputTypeDef
# create_custom_line_item method usage example with argument unpacking

kwargs: CreateCustomLineItemInputRequestTypeDef = {  # (1)
    "Name": ...,
    "Description": ...,
    "BillingGroupArn": ...,
    "ChargeDetails": ...,
}

parent.create_custom_line_item(**kwargs)
  1. See CreateCustomLineItemInputRequestTypeDef

create_pricing_plan#

Creates a pricing plan that is used for computing Amazon Web Services charges for billing groups.

Type annotations and code completion for session.create_client("billingconductor").create_pricing_plan method. boto3 documentation

# create_pricing_plan method definition

await def create_pricing_plan(
    self,
    *,
    Name: str,
    ClientToken: str = ...,
    Description: str = ...,
    PricingRuleArns: Sequence[str] = ...,
    Tags: Mapping[str, str] = ...,
) -> CreatePricingPlanOutputTypeDef:  # (1)
    ...
  1. See CreatePricingPlanOutputTypeDef
# create_pricing_plan method usage example with argument unpacking

kwargs: CreatePricingPlanInputRequestTypeDef = {  # (1)
    "Name": ...,
}

parent.create_pricing_plan(**kwargs)
  1. See CreatePricingPlanInputRequestTypeDef

create_pricing_rule#

Creates a pricing rule can be associated to a pricing plan, or a set of pricing plans.

Type annotations and code completion for session.create_client("billingconductor").create_pricing_rule method. boto3 documentation

# create_pricing_rule method definition

await def create_pricing_rule(
    self,
    *,
    Name: str,
    Scope: PricingRuleScopeType,  # (1)
    Type: PricingRuleTypeType,  # (2)
    ClientToken: str = ...,
    Description: str = ...,
    ModifierPercentage: float = ...,
    Service: str = ...,
    Tags: Mapping[str, str] = ...,
    BillingEntity: str = ...,
    Tiering: CreateTieringInputTypeDef = ...,  # (3)
    UsageType: str = ...,
    Operation: str = ...,
) -> CreatePricingRuleOutputTypeDef:  # (4)
    ...
  1. See PricingRuleScopeType
  2. See PricingRuleTypeType
  3. See CreateTieringInputTypeDef
  4. See CreatePricingRuleOutputTypeDef
# create_pricing_rule method usage example with argument unpacking

kwargs: CreatePricingRuleInputRequestTypeDef = {  # (1)
    "Name": ...,
    "Scope": ...,
    "Type": ...,
}

parent.create_pricing_rule(**kwargs)
  1. See CreatePricingRuleInputRequestTypeDef

delete_billing_group#

Deletes a billing group.

Type annotations and code completion for session.create_client("billingconductor").delete_billing_group method. boto3 documentation

# delete_billing_group method definition

await def delete_billing_group(
    self,
    *,
    Arn: str,
) -> DeleteBillingGroupOutputTypeDef:  # (1)
    ...
  1. See DeleteBillingGroupOutputTypeDef
# delete_billing_group method usage example with argument unpacking

kwargs: DeleteBillingGroupInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_billing_group(**kwargs)
  1. See DeleteBillingGroupInputRequestTypeDef

delete_custom_line_item#

Deletes the custom line item identified by the given ARN in the current, or previous billing period.

Type annotations and code completion for session.create_client("billingconductor").delete_custom_line_item method. boto3 documentation

# delete_custom_line_item method definition

await def delete_custom_line_item(
    self,
    *,
    Arn: str,
    BillingPeriodRange: CustomLineItemBillingPeriodRangeTypeDef = ...,  # (1)
) -> DeleteCustomLineItemOutputTypeDef:  # (2)
    ...
  1. See CustomLineItemBillingPeriodRangeTypeDef
  2. See DeleteCustomLineItemOutputTypeDef
# delete_custom_line_item method usage example with argument unpacking

kwargs: DeleteCustomLineItemInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_custom_line_item(**kwargs)
  1. See DeleteCustomLineItemInputRequestTypeDef

delete_pricing_plan#

Deletes a pricing plan.

Type annotations and code completion for session.create_client("billingconductor").delete_pricing_plan method. boto3 documentation

# delete_pricing_plan method definition

await def delete_pricing_plan(
    self,
    *,
    Arn: str,
) -> DeletePricingPlanOutputTypeDef:  # (1)
    ...
  1. See DeletePricingPlanOutputTypeDef
# delete_pricing_plan method usage example with argument unpacking

kwargs: DeletePricingPlanInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_pricing_plan(**kwargs)
  1. See DeletePricingPlanInputRequestTypeDef

delete_pricing_rule#

Deletes the pricing rule that's identified by the input Amazon Resource Name (ARN).

Type annotations and code completion for session.create_client("billingconductor").delete_pricing_rule method. boto3 documentation

# delete_pricing_rule method definition

await def delete_pricing_rule(
    self,
    *,
    Arn: str,
) -> DeletePricingRuleOutputTypeDef:  # (1)
    ...
  1. See DeletePricingRuleOutputTypeDef
# delete_pricing_rule method usage example with argument unpacking

kwargs: DeletePricingRuleInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.delete_pricing_rule(**kwargs)
  1. See DeletePricingRuleInputRequestTypeDef

disassociate_accounts#

Removes the specified list of account IDs from the given billing group.

Type annotations and code completion for session.create_client("billingconductor").disassociate_accounts method. boto3 documentation

# disassociate_accounts method definition

await def disassociate_accounts(
    self,
    *,
    Arn: str,
    AccountIds: Sequence[str],
) -> DisassociateAccountsOutputTypeDef:  # (1)
    ...
  1. See DisassociateAccountsOutputTypeDef
# disassociate_accounts method usage example with argument unpacking

kwargs: DisassociateAccountsInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "AccountIds": ...,
}

parent.disassociate_accounts(**kwargs)
  1. See DisassociateAccountsInputRequestTypeDef

disassociate_pricing_rules#

Disassociates a list of pricing rules from a pricing plan.

Type annotations and code completion for session.create_client("billingconductor").disassociate_pricing_rules method. boto3 documentation

# disassociate_pricing_rules method definition

await def disassociate_pricing_rules(
    self,
    *,
    Arn: str,
    PricingRuleArns: Sequence[str],
) -> DisassociatePricingRulesOutputTypeDef:  # (1)
    ...
  1. See DisassociatePricingRulesOutputTypeDef
# disassociate_pricing_rules method usage example with argument unpacking

kwargs: DisassociatePricingRulesInputRequestTypeDef = {  # (1)
    "Arn": ...,
    "PricingRuleArns": ...,
}

parent.disassociate_pricing_rules(**kwargs)
  1. See DisassociatePricingRulesInputRequestTypeDef

generate_presigned_url#

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

Type annotations and code completion for session.create_client("billingconductor").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

list_account_associations#

This is a paginated call to list linked accounts that are linked to the payer account for the specified time period.

Type annotations and code completion for session.create_client("billingconductor").list_account_associations method. boto3 documentation

# list_account_associations method definition

await def list_account_associations(
    self,
    *,
    BillingPeriod: str = ...,
    Filters: ListAccountAssociationsFilterTypeDef = ...,  # (1)
    NextToken: str = ...,
) -> ListAccountAssociationsOutputTypeDef:  # (2)
    ...
  1. See ListAccountAssociationsFilterTypeDef
  2. See ListAccountAssociationsOutputTypeDef
# list_account_associations method usage example with argument unpacking

kwargs: ListAccountAssociationsInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_account_associations(**kwargs)
  1. See ListAccountAssociationsInputRequestTypeDef

list_billing_group_cost_reports#

A paginated call to retrieve a summary report of actual Amazon Web Services charges and the calculated Amazon Web Services charges based on the associated pricing plan of a billing group.

Type annotations and code completion for session.create_client("billingconductor").list_billing_group_cost_reports method. boto3 documentation

# list_billing_group_cost_reports method definition

await def list_billing_group_cost_reports(
    self,
    *,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: ListBillingGroupCostReportsFilterTypeDef = ...,  # (1)
) -> ListBillingGroupCostReportsOutputTypeDef:  # (2)
    ...
  1. See ListBillingGroupCostReportsFilterTypeDef
  2. See ListBillingGroupCostReportsOutputTypeDef
# list_billing_group_cost_reports method usage example with argument unpacking

kwargs: ListBillingGroupCostReportsInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_billing_group_cost_reports(**kwargs)
  1. See ListBillingGroupCostReportsInputRequestTypeDef

list_billing_groups#

A paginated call to retrieve a list of billing groups for the given billing period.

Type annotations and code completion for session.create_client("billingconductor").list_billing_groups method. boto3 documentation

# list_billing_groups method definition

await def list_billing_groups(
    self,
    *,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: ListBillingGroupsFilterTypeDef = ...,  # (1)
) -> ListBillingGroupsOutputTypeDef:  # (2)
    ...
  1. See ListBillingGroupsFilterTypeDef
  2. See ListBillingGroupsOutputTypeDef
# list_billing_groups method usage example with argument unpacking

kwargs: ListBillingGroupsInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_billing_groups(**kwargs)
  1. See ListBillingGroupsInputRequestTypeDef

list_custom_line_item_versions#

A paginated call to get a list of all custom line item versions.

Type annotations and code completion for session.create_client("billingconductor").list_custom_line_item_versions method. boto3 documentation

# list_custom_line_item_versions method definition

await def list_custom_line_item_versions(
    self,
    *,
    Arn: str,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: ListCustomLineItemVersionsFilterTypeDef = ...,  # (1)
) -> ListCustomLineItemVersionsOutputTypeDef:  # (2)
    ...
  1. See ListCustomLineItemVersionsFilterTypeDef
  2. See ListCustomLineItemVersionsOutputTypeDef
# list_custom_line_item_versions method usage example with argument unpacking

kwargs: ListCustomLineItemVersionsInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.list_custom_line_item_versions(**kwargs)
  1. See ListCustomLineItemVersionsInputRequestTypeDef

list_custom_line_items#

A paginated call to get a list of all custom line items (FFLIs) for the given billing period.

Type annotations and code completion for session.create_client("billingconductor").list_custom_line_items method. boto3 documentation

# list_custom_line_items method definition

await def list_custom_line_items(
    self,
    *,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: ListCustomLineItemsFilterTypeDef = ...,  # (1)
) -> ListCustomLineItemsOutputTypeDef:  # (2)
    ...
  1. See ListCustomLineItemsFilterTypeDef
  2. See ListCustomLineItemsOutputTypeDef
# list_custom_line_items method usage example with argument unpacking

kwargs: ListCustomLineItemsInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_custom_line_items(**kwargs)
  1. See ListCustomLineItemsInputRequestTypeDef

list_pricing_plans#

A paginated call to get pricing plans for the given billing period.

Type annotations and code completion for session.create_client("billingconductor").list_pricing_plans method. boto3 documentation

# list_pricing_plans method definition

await def list_pricing_plans(
    self,
    *,
    BillingPeriod: str = ...,
    Filters: ListPricingPlansFilterTypeDef = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPricingPlansOutputTypeDef:  # (2)
    ...
  1. See ListPricingPlansFilterTypeDef
  2. See ListPricingPlansOutputTypeDef
# list_pricing_plans method usage example with argument unpacking

kwargs: ListPricingPlansInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_pricing_plans(**kwargs)
  1. See ListPricingPlansInputRequestTypeDef

list_pricing_plans_associated_with_pricing_rule#

A list of the pricing plans that are associated with a pricing rule.

Type annotations and code completion for session.create_client("billingconductor").list_pricing_plans_associated_with_pricing_rule method. boto3 documentation

# list_pricing_plans_associated_with_pricing_rule method definition

await def list_pricing_plans_associated_with_pricing_rule(
    self,
    *,
    PricingRuleArn: str,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPricingPlansAssociatedWithPricingRuleOutputTypeDef:  # (1)
    ...
  1. See ListPricingPlansAssociatedWithPricingRuleOutputTypeDef
# list_pricing_plans_associated_with_pricing_rule method usage example with argument unpacking

kwargs: ListPricingPlansAssociatedWithPricingRuleInputRequestTypeDef = {  # (1)
    "PricingRuleArn": ...,
}

parent.list_pricing_plans_associated_with_pricing_rule(**kwargs)
  1. See ListPricingPlansAssociatedWithPricingRuleInputRequestTypeDef

list_pricing_rules#

Describes a pricing rule that can be associated to a pricing plan, or set of pricing plans.

Type annotations and code completion for session.create_client("billingconductor").list_pricing_rules method. boto3 documentation

# list_pricing_rules method definition

await def list_pricing_rules(
    self,
    *,
    BillingPeriod: str = ...,
    Filters: ListPricingRulesFilterTypeDef = ...,  # (1)
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPricingRulesOutputTypeDef:  # (2)
    ...
  1. See ListPricingRulesFilterTypeDef
  2. See ListPricingRulesOutputTypeDef
# list_pricing_rules method usage example with argument unpacking

kwargs: ListPricingRulesInputRequestTypeDef = {  # (1)
    "BillingPeriod": ...,
}

parent.list_pricing_rules(**kwargs)
  1. See ListPricingRulesInputRequestTypeDef

list_pricing_rules_associated_to_pricing_plan#

Lists the pricing rules that are associated with a pricing plan.

Type annotations and code completion for session.create_client("billingconductor").list_pricing_rules_associated_to_pricing_plan method. boto3 documentation

# list_pricing_rules_associated_to_pricing_plan method definition

await def list_pricing_rules_associated_to_pricing_plan(
    self,
    *,
    PricingPlanArn: str,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
) -> ListPricingRulesAssociatedToPricingPlanOutputTypeDef:  # (1)
    ...
  1. See ListPricingRulesAssociatedToPricingPlanOutputTypeDef
# list_pricing_rules_associated_to_pricing_plan method usage example with argument unpacking

kwargs: ListPricingRulesAssociatedToPricingPlanInputRequestTypeDef = {  # (1)
    "PricingPlanArn": ...,
}

parent.list_pricing_rules_associated_to_pricing_plan(**kwargs)
  1. See ListPricingRulesAssociatedToPricingPlanInputRequestTypeDef

list_resources_associated_to_custom_line_item#

List the resources that are associated to a custom line item.

Type annotations and code completion for session.create_client("billingconductor").list_resources_associated_to_custom_line_item method. boto3 documentation

# list_resources_associated_to_custom_line_item method definition

await def list_resources_associated_to_custom_line_item(
    self,
    *,
    Arn: str,
    BillingPeriod: str = ...,
    MaxResults: int = ...,
    NextToken: str = ...,
    Filters: ListResourcesAssociatedToCustomLineItemFilterTypeDef = ...,  # (1)
) -> ListResourcesAssociatedToCustomLineItemOutputTypeDef:  # (2)
    ...
  1. See ListResourcesAssociatedToCustomLineItemFilterTypeDef
  2. See ListResourcesAssociatedToCustomLineItemOutputTypeDef
# list_resources_associated_to_custom_line_item method usage example with argument unpacking

kwargs: ListResourcesAssociatedToCustomLineItemInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.list_resources_associated_to_custom_line_item(**kwargs)
  1. See ListResourcesAssociatedToCustomLineItemInputRequestTypeDef

list_tags_for_resource#

A list the tags for a resource.

Type annotations and code completion for session.create_client("billingconductor").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

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

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

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

tag_resource#

Associates the specified tags to a resource with the specified resourceArn.

Type annotations and code completion for session.create_client("billingconductor").tag_resource method. boto3 documentation

# tag_resource method definition

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

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "Tags": ...,
}

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

untag_resource#

Deletes specified tags from a resource.

Type annotations and code completion for session.create_client("billingconductor").untag_resource method. boto3 documentation

# untag_resource method definition

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

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
    "TagKeys": ...,
}

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

update_billing_group#

This updates an existing billing group.

Type annotations and code completion for session.create_client("billingconductor").update_billing_group method. boto3 documentation

# update_billing_group method definition

await def update_billing_group(
    self,
    *,
    Arn: str,
    Name: str = ...,
    Status: BillingGroupStatusType = ...,  # (1)
    ComputationPreference: ComputationPreferenceTypeDef = ...,  # (2)
    Description: str = ...,
    AccountGrouping: UpdateBillingGroupAccountGroupingTypeDef = ...,  # (3)
) -> UpdateBillingGroupOutputTypeDef:  # (4)
    ...
  1. See BillingGroupStatusType
  2. See ComputationPreferenceTypeDef
  3. See UpdateBillingGroupAccountGroupingTypeDef
  4. See UpdateBillingGroupOutputTypeDef
# update_billing_group method usage example with argument unpacking

kwargs: UpdateBillingGroupInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.update_billing_group(**kwargs)
  1. See UpdateBillingGroupInputRequestTypeDef

update_custom_line_item#

Update an existing custom line item in the current or previous billing period.

Type annotations and code completion for session.create_client("billingconductor").update_custom_line_item method. boto3 documentation

# update_custom_line_item method definition

await def update_custom_line_item(
    self,
    *,
    Arn: str,
    Name: str = ...,
    Description: str = ...,
    ChargeDetails: UpdateCustomLineItemChargeDetailsTypeDef = ...,  # (1)
    BillingPeriodRange: CustomLineItemBillingPeriodRangeTypeDef = ...,  # (2)
) -> UpdateCustomLineItemOutputTypeDef:  # (3)
    ...
  1. See UpdateCustomLineItemChargeDetailsTypeDef
  2. See CustomLineItemBillingPeriodRangeTypeDef
  3. See UpdateCustomLineItemOutputTypeDef
# update_custom_line_item method usage example with argument unpacking

kwargs: UpdateCustomLineItemInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.update_custom_line_item(**kwargs)
  1. See UpdateCustomLineItemInputRequestTypeDef

update_pricing_plan#

This updates an existing pricing plan.

Type annotations and code completion for session.create_client("billingconductor").update_pricing_plan method. boto3 documentation

# update_pricing_plan method definition

await def update_pricing_plan(
    self,
    *,
    Arn: str,
    Name: str = ...,
    Description: str = ...,
) -> UpdatePricingPlanOutputTypeDef:  # (1)
    ...
  1. See UpdatePricingPlanOutputTypeDef
# update_pricing_plan method usage example with argument unpacking

kwargs: UpdatePricingPlanInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.update_pricing_plan(**kwargs)
  1. See UpdatePricingPlanInputRequestTypeDef

update_pricing_rule#

Updates an existing pricing rule.

Type annotations and code completion for session.create_client("billingconductor").update_pricing_rule method. boto3 documentation

# update_pricing_rule method definition

await def update_pricing_rule(
    self,
    *,
    Arn: str,
    Name: str = ...,
    Description: str = ...,
    Type: PricingRuleTypeType = ...,  # (1)
    ModifierPercentage: float = ...,
    Tiering: UpdateTieringInputTypeDef = ...,  # (2)
) -> UpdatePricingRuleOutputTypeDef:  # (3)
    ...
  1. See PricingRuleTypeType
  2. See UpdateTieringInputTypeDef
  3. See UpdatePricingRuleOutputTypeDef
# update_pricing_rule method usage example with argument unpacking

kwargs: UpdatePricingRuleInputRequestTypeDef = {  # (1)
    "Arn": ...,
}

parent.update_pricing_rule(**kwargs)
  1. See UpdatePricingRuleInputRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("billingconductor").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> BillingConductorClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("billingconductor").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...

get_paginator#

Type annotations and code completion for session.create_client("billingconductor").get_paginator method with overloads.