You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ECS::Types::SubmitTaskStateChangeRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass SubmitTaskStateChangeRequest data as a hash:

{
  cluster: "String",
  task: "String",
  status: "String",
  reason: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

Returns:

  • (String)


3668
3669
3670
3671
3672
3673
3674
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3668

class SubmitTaskStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :status,
  :reason)
  include Aws::Structure
end

#reasonString

The reason for the state change request.

Returns:

  • (String)


3668
3669
3670
3671
3672
3673
3674
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3668

class SubmitTaskStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :status,
  :reason)
  include Aws::Structure
end

#statusString

The status of the state change request.

Returns:

  • (String)


3668
3669
3670
3671
3672
3673
3674
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3668

class SubmitTaskStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :status,
  :reason)
  include Aws::Structure
end

#taskString

The task ID or full Amazon Resource Name (ARN) of the task in the state change request.

Returns:

  • (String)


3668
3669
3670
3671
3672
3673
3674
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3668

class SubmitTaskStateChangeRequest < Struct.new(
  :cluster,
  :task,
  :status,
  :reason)
  include Aws::Structure
end