Skip to content

/AWS1/CL_ECSUPTSKPROTECTIONRSP

UpdateTaskProtectionResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

IT_PROTECTEDTASKS TYPE /AWS1/CL_ECSPROTECTEDTASK=>TT_PROTECTEDTASKS TT_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.

IT_FAILURES TYPE /AWS1/CL_ECSFAILURE=>TT_FAILURES TT_FAILURES

Any failures associated with the call.


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_PROTECTEDTASKS() Getter for PROTECTEDTASKS, with configurable default
ASK_PROTECTEDTASKS() Getter for PROTECTEDTASKS w/ exceptions if field has no valu
HAS_PROTECTEDTASKS() Determine if PROTECTEDTASKS has a value

failures

Any failures associated with the call.

Accessible with the following methods

Method Description
GET_FAILURES() Getter for FAILURES, with configurable default
ASK_FAILURES() Getter for FAILURES w/ exceptions if field has no value
HAS_FAILURES() Determine if FAILURES has a value