Skip to content

Batch Associate Resources To Custom Line Item

billingconductor_batch_associate_resources_to_custom_line_item R Documentation

Associates a batch of resources to a percentage custom line item

Description

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

Usage

billingconductor_batch_associate_resources_to_custom_line_item(
  TargetArn, ResourceArns, BillingPeriodRange)

Arguments

TargetArn

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

ResourceArns

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

BillingPeriodRange

Value

A list with the following syntax:

list(
  SuccessfullyAssociatedResources = list(
    list(
      Arn = "string",
      Error = list(
        Message = "string",
        Reason = "INVALID_ARN"|"SERVICE_LIMIT_EXCEEDED"|"ILLEGAL_CUSTOMLINEITEM"|"INTERNAL_SERVER_EXCEPTION"|"INVALID_BILLING_PERIOD_RANGE"
      )
    )
  ),
  FailedAssociatedResources = 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_associate_resources_to_custom_line_item(
  TargetArn = "string",
  ResourceArns = list(
    "string"
  ),
  BillingPeriodRange = list(
    InclusiveStartBillingPeriod = "string",
    ExclusiveEndBillingPeriod = "string"
  )
)