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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

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

Returns:

  • (Time)

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

#error_codeString

The error code.

Returns:

  • (String)

    The error code.

#error_detailsString

The error details.

Returns:

  • (String)

    The error details.

#idString

The ID of the operation.

Returns:

  • (String)

    The ID of the operation.

#is_terminalBoolean

A Boolean value indicating whether the operation is terminal.

Returns:

  • (Boolean)

    A Boolean value indicating whether the operation is terminal.

#locationTypes::ResourceLocation

The region and Availability Zone.

Returns:

#operation_detailsString

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

Returns:

  • (String)

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

#operation_typeString

The type of operation.

Possible values:

  • DeleteInstance
  • CreateInstance
  • StopInstance
  • StartInstance
  • RebootInstance
  • OpenInstancePublicPorts
  • PutInstancePublicPorts
  • CloseInstancePublicPorts
  • AllocateStaticIp
  • ReleaseStaticIp
  • AttachStaticIp
  • DetachStaticIp
  • UpdateDomainEntry
  • DeleteDomainEntry
  • CreateDomain
  • DeleteDomain
  • CreateInstanceSnapshot
  • DeleteInstanceSnapshot
  • CreateInstancesFromSnapshot

Returns:

  • (String)

    The type of operation.

#resource_nameString

The resource name.

Returns:

  • (String)

    The resource name.

#resource_typeString

The resource type.

Possible values:

  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc

Returns:

  • (String)

    The resource type.

#statusString

The status of the operation.

Possible values:

  • NotStarted
  • Started
  • Failed
  • Completed

Returns:

  • (String)

    The status of the operation.

#status_changed_atTime

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

Returns:

  • (Time)

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