Skip to content

BatchUpdateCaseRequest

Source code in docs_src/capo_connectcases/types/batch_update_case_request.py
class BatchUpdateCaseRequest(TypedDict, closed=True):
    domain_id: "capo_connectcases.types.domain_id.DomainId"
    """<p>The unique identifier of the Cases domain. </p>"""
    cases: "capo_connectcases.types.batch_update_case_identifier_list.BatchUpdateCaseIdentifierList"
    """<p>The list of cases to update. All cases must belong to the same domain.</p>"""
    fields: "capo_connectcases.types.field_value_input_list.FieldValueInputList"
    """<p>An array of objects, each with a <code>fieldIdentifier</code> and a <code>value</code>. You can identify each field by its ID or by its name; identifying a field by name is supported only in <code>BatchUpdateCase</code>. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-level <code>title</code>, <code>status</code>, or <code>customerId</code> parameters. Do not include <code>title</code>, <code>status</code>, or <code>customerId</code> in this list; set those values only through their top-level parameters. Duplicating them in <code>fields</code> results in a validation error.</p>"""
    performed_by: NotRequired["capo_connectcases.types.user_union.UserUnion"]
    """<p>The entity that performed the action.</p>"""
    title: NotRequired["capo_connectcases.types.case_title.CaseTitle"]
    """<p>The title to apply to all cases in the request.</p>"""
    status: NotRequired["capo_connectcases.types.case_status.CaseStatus"]
    """<p>The status to apply to all cases in the request.</p>"""
    customer_id: NotRequired[
        "capo_connectcases.types.customer_profile_arn.CustomerProfileArn"
    ]
    """<p>The ARN of the customer profile to associate with all cases in the request.</p>"""
    client_token: NotRequired["str"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p> <p>If you retry a request with the same client token, the service returns the original response instead of processing the request again. If you reuse a client token with different request parameters, the request fails with a <code>ConflictException</code>.</p>"""

cases instance-attribute

The list of cases to update. All cases must belong to the same domain.

client_token instance-attribute

client_token: NotRequired[str]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

If you retry a request with the same client token, the service returns the original response instead of processing the request again. If you reuse a client token with different request parameters, the request fails with a ConflictException.

customer_id instance-attribute

customer_id: NotRequired[CustomerProfileArn]

The ARN of the customer profile to associate with all cases in the request.

domain_id instance-attribute

domain_id: DomainId

The unique identifier of the Cases domain.

fields instance-attribute

An array of objects, each with a fieldIdentifier and a value. You can identify each field by its ID or by its name; identifying a field by name is supported only in BatchUpdateCase. The same field values are applied to every case in the request. This field must be present, but can be an empty list when you provide the top-level title, status, or customerId parameters. Do not include title, status, or customerId in this list; set those values only through their top-level parameters. Duplicating them in fields results in a validation error.

performed_by instance-attribute

performed_by: NotRequired[UserUnion]

The entity that performed the action.

status instance-attribute

status: NotRequired[CaseStatus]

The status to apply to all cases in the request.

title instance-attribute

title: NotRequired[CaseTitle]

The title to apply to all cases in the request.