BillingConductor / Client / delete_custom_line_item

delete_custom_line_item#

BillingConductor.Client.delete_custom_line_item(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.delete_custom_line_item(
    Arn='string',
    BillingPeriodRange={
        'InclusiveStartBillingPeriod': 'string',
        'ExclusiveEndBillingPeriod': 'string'
    }
)
Parameters:
  • Arn (string) –

    [REQUIRED]

    The ARN of the custom line item to be deleted.

  • BillingPeriodRange (dict) –

    The billing period range in which the custom line item request will be applied.

    • InclusiveStartBillingPeriod (string) – [REQUIRED]

      The inclusive start billing period that defines a billing period range where a custom line is applied.

    • ExclusiveEndBillingPeriod (string) –

      The inclusive end billing period that defines a billing period range where a custom line is applied.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The ARN of the deleted custom line item.

Exceptions

  • BillingConductor.Client.exceptions.ThrottlingException

  • BillingConductor.Client.exceptions.ConflictException

  • BillingConductor.Client.exceptions.AccessDeniedException

  • BillingConductor.Client.exceptions.ValidationException

  • BillingConductor.Client.exceptions.InternalServerException