Skip to content

PutAssetRequest

Source code in docs_src/capo_glue/types/put_asset_request.py
class PutAssetRequest(TypedDict, closed=True):
    asset_type_id: "capo_glue.types.asset_type_id.AssetTypeId"
    """<p>The identifier of the asset type for the asset.</p>"""
    identifier: "capo_glue.types.asset_id.AssetId"
    """<p>The unique identifier of the asset. If an asset with this identifier already exists, it is updated.</p>"""
    name: "capo_glue.types.asset_name.AssetName"
    """<p>The name of the asset.</p>"""
    description: NotRequired["capo_glue.types.asset_description.AssetDescription"]
    """<p>The description of the asset.</p>"""
    forms: "capo_glue.types.asset_form_map.AssetFormMap"
    """<p>The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.</p>"""
    client_token: NotRequired["capo_glue.types.hash_string.HashString"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>"""

asset_type_id instance-attribute

asset_type_id: AssetTypeId

The identifier of the asset type for the asset.

client_token instance-attribute

client_token: NotRequired[HashString]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

description instance-attribute

description: NotRequired[AssetDescription]

The description of the asset.

forms instance-attribute

forms: AssetFormMap

The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.

identifier instance-attribute

identifier: AssetId

The unique identifier of the asset. If an asset with this identifier already exists, it is updated.

name instance-attribute

name: AssetName

The name of the asset.