Skip to content

Update Quota Share

batch_update_quota_share R Documentation

Updates a quota share

Description

Updates a quota share.

Usage

batch_update_quota_share(quotaShareArn, capacityLimits,
  resourceSharingConfiguration, preemptionConfiguration, state)

Arguments

quotaShareArn

[required] The Amazon Resource Name (ARN) of the quota share to update.

capacityLimits

A list that specifies the quantity and type of compute capacity allocated to the quota share.

resourceSharingConfiguration

Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.

preemptionConfiguration

Specifies the preemption behavior for jobs in a quota share.

state

The state of the quota share. If the quota share is ENABLED, it is able to accept jobs. If the quota share is DISABLED, new jobs won't be accepted but jobs already submitted can finish.

Value

A list with the following syntax:

list(
  quotaShareName = "string",
  quotaShareArn = "string"
)

Request syntax

svc$update_quota_share(
  quotaShareArn = "string",
  capacityLimits = list(
    list(
      maxCapacity = 123,
      capacityUnit = "string"
    )
  ),
  resourceSharingConfiguration = list(
    strategy = "RESERVE"|"LEND"|"LEND_AND_BORROW",
    borrowLimit = 123
  ),
  preemptionConfiguration = list(
    inSharePreemption = "ENABLED"|"DISABLED"
  ),
  state = "ENABLED"|"DISABLED"
)