update_quota_share
¶
update_quota_share(
*,
config_overrides: Optional[BatchClientConfig] = None,
quota_share_arn: Optional[String] = None,
capacity_limits: Optional[QuotaShareCapacityLimits] = None,
resource_sharing_configuration: Optional[
QuotaShareResourceSharingConfiguration
] = None,
preemption_configuration: Optional[QuotaSharePreemptionConfiguration] = None,
state: Optional[QuotaShareState] = None,
) -> UpdateQuotaShareResponse
Updates a quota share.
Parameters:
-
quota_share_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the quota share to update.
-
capacity_limits(Optional[QuotaShareCapacityLimits], default:None) –A list that specifies the quantity and type of compute capacity allocated to the quota share.
-
resource_sharing_configuration(Optional[QuotaShareResourceSharingConfiguration], default:None) –Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.
-
preemption_configuration(Optional[QuotaSharePreemptionConfiguration], default:None) –Specifies the preemption behavior for jobs in a quota share.
-
state(Optional[QuotaShareState], default:None) –The 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.
Raises:
-
ClientException–These errors are usually caused by a client action. One example cause is using an action or resource on behalf of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier that's not valid.
-
ServerException–These errors are usually caused by a server issue.
-
UnknownServiceError–The service returned an error code this client does not model.