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

Class: Aws::Lightsail::Types::Operation

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

Overview

Describes the API operation.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The timestamp when the operation was initialized (e.g., 1479816991.349).

Returns:

  • (Time)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#error_codeString

The error code.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#error_detailsString

The error details.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#idString

The ID of the operation.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#is_terminalBoolean

A Boolean value indicating whether the operation is terminal.

Returns:

  • (Boolean)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#locationTypes::ResourceLocation

The region and Availability Zone.



3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#operation_detailsString

Details about the operation (e.g., Debian-1GB-Ohio-1).

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#operation_typeString

The type of operation.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#resource_nameString

The resource name.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#resource_typeString

The resource type.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#statusString

The status of the operation.

Returns:

  • (String)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end

#status_changed_atTime

The timestamp when the status was changed (e.g., 1479816991.349).

Returns:

  • (Time)


3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 3958

class Operation < Struct.new(
  :id,
  :resource_name,
  :resource_type,
  :created_at,
  :location,
  :is_terminal,
  :operation_details,
  :operation_type,
  :status,
  :status_changed_at,
  :error_code,
  :error_details)
  include Aws::Structure
end