Class: Aws::ControlTower::Types::ControlOperation

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

Overview

An operation performed by the control.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_timeTime

The time that the operation finished.

Returns:

  • (Time)


132
133
134
135
136
137
138
139
140
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb', line 132

class ControlOperation < Struct.new(
  :end_time,
  :operation_type,
  :start_time,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#operation_typeString

One of ENABLE_CONTROL or DISABLE_CONTROL.

Returns:

  • (String)


132
133
134
135
136
137
138
139
140
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb', line 132

class ControlOperation < Struct.new(
  :end_time,
  :operation_type,
  :start_time,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The time that the operation began.

Returns:

  • (Time)


132
133
134
135
136
137
138
139
140
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb', line 132

class ControlOperation < Struct.new(
  :end_time,
  :operation_type,
  :start_time,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

One of IN_PROGRESS, SUCEEDED, or FAILED.

Returns:

  • (String)


132
133
134
135
136
137
138
139
140
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb', line 132

class ControlOperation < Struct.new(
  :end_time,
  :operation_type,
  :start_time,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end

#status_messageString

If the operation result is FAILED, this string contains a message explaining why the operation failed.

Returns:

  • (String)


132
133
134
135
136
137
138
139
140
# File 'gems/aws-sdk-controltower/lib/aws-sdk-controltower/types.rb', line 132

class ControlOperation < Struct.new(
  :end_time,
  :operation_type,
  :start_time,
  :status,
  :status_message)
  SENSITIVE = []
  include Aws::Structure
end