Skip to content

ProgressEvent

Source code in docs_src/capo_cloudcontrol/types/progress_event.py
class ProgressEvent(TypedDict, closed=True):
    type_name: NotRequired["capo_cloudcontrol.types.type_name.TypeName"]
    """<p>The name of the resource type used in the operation.</p>"""
    identifier: NotRequired["capo_cloudcontrol.types.identifier.Identifier"]
    """<p>The primary identifier for the resource.</p> <note> <p>In some cases, the resource identifier may be available before the resource operation has reached a status of <code>SUCCESS</code>.</p> </note>"""
    request_token: NotRequired["capo_cloudcontrol.types.request_token.RequestToken"]
    """<p>The unique token representing this resource operation request.</p> <p>Use the <code>RequestToken</code> with <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html">GetResourceRequestStatus</a> to return the current status of a resource operation request.</p>"""
    hooks_request_token: NotRequired[
        "capo_cloudcontrol.types.request_token.RequestToken"
    ]
    """<p>The unique token representing the Hooks operation for the request.</p>"""
    operation: NotRequired["capo_cloudcontrol.types.operation.Operation"]
    """<p>The resource operation type.</p>"""
    operation_status: NotRequired[
        "capo_cloudcontrol.types.operation_status.OperationStatus"
    ]
    """<p>The current status of the resource operation request.</p> <ul> <li> <p> <code>PENDING</code>: The resource operation hasn't yet started.</p> </li> <li> <p> <code>IN_PROGRESS</code>: The resource operation is currently in progress.</p> </li> <li> <p> <code>SUCCESS</code>: The resource operation has successfully completed.</p> </li> <li> <p> <code>FAILED</code>: The resource operation has failed. Refer to the error code and status message for more information.</p> </li> <li> <p> <code>CANCEL_IN_PROGRESS</code>: The resource operation is in the process of being canceled.</p> </li> <li> <p> <code>CANCEL_COMPLETE</code>: The resource operation has been canceled.</p> </li> </ul>"""
    event_time: NotRequired["capo_cloudcontrol.types.timestamp.Timestamp"]
    """<p>When the resource operation request was initiated.</p>"""
    resource_model: NotRequired["capo_cloudcontrol.types.properties.Properties"]
    """<p>A JSON string containing the resource model, consisting of each resource property and its current value.</p>"""
    status_message: NotRequired["capo_cloudcontrol.types.status_message.StatusMessage"]
    """<p>Any message explaining the current status.</p>"""
    error_code: NotRequired[
        "capo_cloudcontrol.types.handler_error_code.HandlerErrorCode"
    ]
    """<p>For requests with a status of <code>FAILED</code>, the associated error code.</p> <p>For error code definitions, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-test-contract-errors.html">Handler error codes</a> in the <i>CloudFormation Command Line Interface User Guide for Extension Development</i>.</p>"""
    retry_after: NotRequired["capo_cloudcontrol.types.timestamp.Timestamp"]
    """<p>When to next request the status of this resource operation request.</p>"""

error_code instance-attribute

error_code: NotRequired[HandlerErrorCode]

For requests with a status of FAILED, the associated error code.

For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development.

event_time instance-attribute

event_time: NotRequired[Timestamp]

When the resource operation request was initiated.

hooks_request_token instance-attribute

hooks_request_token: NotRequired[RequestToken]

The unique token representing the Hooks operation for the request.

identifier instance-attribute

identifier: NotRequired[Identifier]

The primary identifier for the resource.

In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS.

operation instance-attribute

operation: NotRequired[Operation]

The resource operation type.

operation_status instance-attribute

operation_status: NotRequired[OperationStatus]

The current status of the resource operation request.

  • PENDING: The resource operation hasn't yet started.

  • IN_PROGRESS: The resource operation is currently in progress.

  • SUCCESS: The resource operation has successfully completed.

  • FAILED: The resource operation has failed. Refer to the error code and status message for more information.

  • CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled.

  • CANCEL_COMPLETE: The resource operation has been canceled.

request_token instance-attribute

request_token: NotRequired[RequestToken]

The unique token representing this resource operation request.

Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request.

resource_model instance-attribute

resource_model: NotRequired[Properties]

A JSON string containing the resource model, consisting of each resource property and its current value.

retry_after instance-attribute

retry_after: NotRequired[Timestamp]

When to next request the status of this resource operation request.

status_message instance-attribute

status_message: NotRequired[StatusMessage]

Any message explaining the current status.

type_name instance-attribute

type_name: NotRequired[TypeName]

The name of the resource type used in the operation.