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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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.



2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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-Virginia-1).

Returns:

  • (String)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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)


2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2459

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