Skip to content

CreateQuotaShareRequest

Source code in docs_src/capo_batch/types/create_quota_share_request.py
class CreateQuotaShareRequest(TypedDict, closed=True):
    quota_share_name: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).</p>"""
    job_queue: NotRequired["capo_batch.types.string.String"]
    """<p>The Batch job queue associated with the quota share. This can be the job queue name or ARN. A job queue must be in the <code>VALID</code> state before you can associate it with a quota share.</p>"""
    capacity_limits: NotRequired[
        "capo_batch.types.quota_share_capacity_limits.QuotaShareCapacityLimits"
    ]
    """<p>A list that specifies the quantity and type of compute capacity allocated to the quota share. </p>"""
    resource_sharing_configuration: NotRequired[
        "capo_batch.types.quota_share_resource_sharing_configuration.QuotaShareResourceSharingConfiguration"
    ]
    """<p>Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.</p>"""
    preemption_configuration: NotRequired[
        "capo_batch.types.quota_share_preemption_configuration.QuotaSharePreemptionConfiguration"
    ]
    """<p>Specifies the preemption behavior for jobs in a quota share.</p>"""
    state: NotRequired["capo_batch.types.quota_share_state.QuotaShareState"]
    """<p>The state of the quota share. If the quota share is <code>ENABLED</code>, it is able to accept jobs. If the quota share is <code>DISABLED</code>, new jobs won't be accepted but jobs already submitted can finish. The default state is <code>ENABLED</code>.</p>"""
    tags: NotRequired["capo_batch.types.tagris_tags_map.TagrisTagsMap"]
    """<p>The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html">Tagging your Batch resources</a> in <i>Batch User Guide</i>.</p>"""

capacity_limits instance-attribute

capacity_limits: NotRequired[QuotaShareCapacityLimits]

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

job_queue instance-attribute

job_queue: NotRequired[String]

The Batch job queue associated with the quota share. This can be the job queue name or ARN. A job queue must be in the VALID state before you can associate it with a quota share.

preemption_configuration instance-attribute

preemption_configuration: NotRequired[QuotaSharePreemptionConfiguration]

Specifies the preemption behavior for jobs in a quota share.

quota_share_name instance-attribute

quota_share_name: NotRequired[String]

The name of the quota share. It can be up to 128 characters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

resource_sharing_configuration instance-attribute

resource_sharing_configuration: NotRequired[QuotaShareResourceSharingConfiguration]

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

state instance-attribute

state: NotRequired[QuotaShareState]

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. The default state is ENABLED.

tags instance-attribute

tags: NotRequired[TagrisTagsMap]

The tags that you apply to the quota share to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources in Batch User Guide.