Skip to content

ResourceSyncAttempt

Source code in docs_src/capo_codeconnections/types/resource_sync_attempt.py
class ResourceSyncAttempt(TypedDict, closed=True):
    events: "capo_codeconnections.types.resource_sync_event_list.ResourceSyncEventList"
    """<p>The events related to a resource sync attempt.</p>"""
    initial_revision: "capo_codeconnections.types.revision.Revision"
    """<p>The current state of the resource as defined in the resource's <code>config-file</code> in the linked repository.</p>"""
    started_at: "capo_codeconnections.types.timestamp.Timestamp"
    """<p>The start time for a resource sync attempt.</p>"""
    status: "capo_codeconnections.types.resource_sync_status.ResourceSyncStatus"
    """<p>The status for a resource sync attempt. The follow are valid statuses:</p> <ul> <li> <p>SYNC-INITIATED - A resource sync attempt has been created and will begin soon.</p> </li> <li> <p>SYNCING - Syncing has started and work is being done to reconcile state.</p> </li> <li> <p>SYNCED - Syncing has completed successfully.</p> </li> <li> <p>SYNC_FAILED - A resource sync attempt has failed.</p> </li> </ul>"""
    target_revision: "capo_codeconnections.types.revision.Revision"
    """<p>The desired state of the resource as defined in the resource's <code>config-file</code> in the linked repository. Git sync attempts to update the resource to this state.</p>"""
    target: "capo_codeconnections.types.target.Target"
    """<p>The name of the Amazon Web Services resource that is attempted to be synchronized.</p>"""

events instance-attribute

The events related to a resource sync attempt.

initial_revision instance-attribute

initial_revision: Revision

The current state of the resource as defined in the resource's config-file in the linked repository.

started_at instance-attribute

started_at: Timestamp

The start time for a resource sync attempt.

status instance-attribute

The status for a resource sync attempt. The follow are valid statuses:

  • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

  • SYNCING - Syncing has started and work is being done to reconcile state.

  • SYNCED - Syncing has completed successfully.

  • SYNC_FAILED - A resource sync attempt has failed.

target instance-attribute

target: Target

The name of the Amazon Web Services resource that is attempted to be synchronized.

target_revision instance-attribute

target_revision: Revision

The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.