Skip to content

BatchCreateRelatedItemRequest

Source code in docs_src/capo_connectcases/types/batch_create_related_item_request.py
class BatchCreateRelatedItemRequest(TypedDict, closed=True):
    domain_id: "capo_connectcases.types.domain_id.DomainId"
    """<p>The unique identifier of the Cases domain. </p>"""
    content: (
        "capo_connectcases.types.related_item_input_content.RelatedItemInputContent"
    )
    """<p>The content of the related item to be created. The same content is applied to every case in the request. Only comment content is supported for batch creation.</p>"""
    cases: "capo_connectcases.types.batch_create_related_item_identifier_list.BatchCreateRelatedItemIdentifierList"
    """<p>The list of cases to associate the related item with. All cases must belong to the same domain.</p>"""
    performed_by: NotRequired["capo_connectcases.types.user_union.UserUnion"]
    """<p>The entity that created the related item.</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>"""

The list of cases to associate the related item with. All cases must belong to the same domain.

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.

The content of the related item to be created. The same content is applied to every case in the request. Only comment content is supported for batch creation.

domain_id: DomainId

The unique identifier of the Cases domain.

performed_by: NotRequired[UserUnion]

The entity that created the related item.