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.
-
capacityLimitsA list that specifies the quantity and type of compute capacity allocated to the quota share.
-
resourceSharingConfigurationSpecifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
-
preemptionConfigurationSpecifies the preemption behavior for jobs in a quota share.
-
stateThe state of the quota share. If the quota share is
ENABLED, it is able to accept jobs. If the quota share isDISABLED, new jobs won't be accepted but jobs already submitted can finish.
Value¶
A list with the following syntax:
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"
)