StopTaskRequest

public struct StopTaskRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. If you do not specify a cluster, the default cluster is assumed.

    Declaration

    Swift

    public let cluster: String?
  • An optional message specified when a task is stopped. For example, if you are using a custom scheduler, you can use this parameter to specify the reason for stopping the task here, and the message appears in subsequent DescribeTasks API operations on this task. Up to 255 characters are allowed in this message.

    Declaration

    Swift

    public let reason: String?
  • The task ID or full Amazon Resource Name (ARN) of the task to stop.

    Declaration

    Swift

    public let task: String
  • Undocumented

    Declaration

    Swift

    public init(cluster: String? = nil, reason: String? = nil, task: String)