Skip to content

Batch Disassociate Resources From Custom Line Item

billingconductor_batch_disassociate_resources_from_custom_line_item R Documentation

Disassociates a batch of resources from a percentage custom line item

Description

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

Usage

billingconductor_batch_disassociate_resources_from_custom_line_item(
  TargetArn, ResourceArns, BillingPeriodRange)

Arguments

TargetArn

[required] A percentage custom line item ARN to disassociate the resources from.

ResourceArns

[required] A list containing the ARNs of resources to be disassociated.

BillingPeriodRange

Value

A list with the following syntax:

list(
  SuccessfullyDisassociatedResources = list(
    list(
      Arn = "string",
      Error = list(
        Message = "string",
        Reason = "INVALID_ARN"|"SERVICE_LIMIT_EXCEEDED"|"ILLEGAL_CUSTOMLINEITEM"|"INTERNAL_SERVER_EXCEPTION"|"INVALID_BILLING_PERIOD_RANGE"
      )
    )
  ),
  FailedDisassociatedResources = list(
    list(
      Arn = "string",
      Error = list(
        Message = "string",
        Reason = "INVALID_ARN"|"SERVICE_LIMIT_EXCEEDED"|"ILLEGAL_CUSTOMLINEITEM"|"INTERNAL_SERVER_EXCEPTION"|"INVALID_BILLING_PERIOD_RANGE"
      )
    )
  )
)

Request syntax

svc$batch_disassociate_resources_from_custom_line_item(
  TargetArn = "string",
  ResourceArns = list(
    "string"
  ),
  BillingPeriodRange = list(
    InclusiveStartBillingPeriod = "string",
    ExclusiveEndBillingPeriod = "string"
  )
)