Skip to content

UpdateTaskProtectionResponse

Source code in docs_src/capo_ecs/types/update_task_protection_response.py
class UpdateTaskProtectionResponse(TypedDict, closed=True):
    protected_tasks: NotRequired["capo_ecs.types.protected_tasks.ProtectedTasks"]
    """<p>A list of tasks with the following information.</p> <ul> <li> <p> <code>taskArn</code>: The task ARN.</p> </li> <li> <p> <code>protectionEnabled</code>: The protection status of the task. If scale-in protection is turned on for a task, the value is <code>true</code>. Otherwise, it is <code>false</code>.</p> </li> <li> <p> <code>expirationDate</code>: The epoch time when protection for the task will expire.</p> </li> </ul>"""
    failures: NotRequired["capo_ecs.types.failures.Failures"]
    """<p>Any failures associated with the call.</p>"""

failures instance-attribute

failures: NotRequired[Failures]

Any failures associated with the call.

protected_tasks instance-attribute

protected_tasks: NotRequired[ProtectedTasks]

A list of tasks with the following information.

  • taskArn: The task ARN.

  • protectionEnabled: The protection status of the task. If scale-in protection is turned on for a task, the value is true. Otherwise, it is false.

  • expirationDate: The epoch time when protection for the task will expire.