Skip to content

AssetOwnershipTransfer

Source code in docs_src/capo_datazone/types/asset_ownership_transfer.py
class AssetOwnershipTransfer(TypedDict, closed=True):
    status: "capo_datazone.types.asset_ownership_transfer_status.AssetOwnershipTransferStatus"
    """<p>The status of the ownership transfer. Valid values:</p> <ul> <li> <p> <code>IN_PROGRESS</code> — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.</p> </li> <li> <p> <code>SUCCEEDED</code> — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.</p> </li> <li> <p> <code>FAILED</code> — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.</p> </li> </ul>"""
    source_project_id: "capo_datazone.types.project_id.ProjectId"
    """<p>The ID of the project that owned the asset when the transfer started.</p>"""
    target_project_id: "capo_datazone.types.project_id.ProjectId"
    """<p>The ID of the project that the asset is transferred to.</p>"""
    started_at: NotRequired["datetime.datetime"]
    """<p>The timestamp of when the transfer started.</p>"""
    updated_at: NotRequired["datetime.datetime"]
    """<p>The timestamp of when the status of the transfer was last updated.</p>"""

source_project_id instance-attribute

source_project_id: ProjectId

The ID of the project that owned the asset when the transfer started.

started_at instance-attribute

started_at: NotRequired[datetime]

The timestamp of when the transfer started.

status instance-attribute

The status of the ownership transfer. Valid values:

  • IN_PROGRESS — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.

  • SUCCEEDED — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.

  • FAILED — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.

target_project_id instance-attribute

target_project_id: ProjectId

The ID of the project that the asset is transferred to.

updated_at instance-attribute

updated_at: NotRequired[datetime]

The timestamp of when the status of the transfer was last updated.