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 AWS Region and Availability Zone.

Returns:

#operation_detailsString

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

Returns:

  • (String)

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

#operation_typeString

The type of operation.

Possible values:

  • DeleteKnownHostKeys
  • DeleteInstance
  • CreateInstance
  • StopInstance
  • StartInstance
  • RebootInstance
  • OpenInstancePublicPorts
  • PutInstancePublicPorts
  • CloseInstancePublicPorts
  • AllocateStaticIp
  • ReleaseStaticIp
  • AttachStaticIp
  • DetachStaticIp
  • UpdateDomainEntry
  • DeleteDomainEntry
  • CreateDomain
  • DeleteDomain
  • CreateInstanceSnapshot
  • DeleteInstanceSnapshot
  • CreateInstancesFromSnapshot
  • CreateLoadBalancer
  • DeleteLoadBalancer
  • AttachInstancesToLoadBalancer
  • DetachInstancesFromLoadBalancer
  • UpdateLoadBalancerAttribute
  • CreateLoadBalancerTlsCertificate
  • DeleteLoadBalancerTlsCertificate
  • AttachLoadBalancerTlsCertificate
  • CreateDisk
  • DeleteDisk
  • AttachDisk
  • DetachDisk
  • CreateDiskSnapshot
  • DeleteDiskSnapshot
  • CreateDiskFromSnapshot
  • CreateRelationalDatabase
  • UpdateRelationalDatabase
  • DeleteRelationalDatabase
  • CreateRelationalDatabaseFromSnapshot
  • CreateRelationalDatabaseSnapshot
  • DeleteRelationalDatabaseSnapshot
  • UpdateRelationalDatabaseParameters
  • StartRelationalDatabase
  • RebootRelationalDatabase
  • StopRelationalDatabase
  • EnableAddOn
  • DisableAddOn
  • PutAlarm
  • GetAlarms
  • DeleteAlarm
  • TestAlarm
  • CreateContactMethod
  • GetContactMethods
  • SendContactMethodVerification
  • DeleteContactMethod
  • CreateDistribution
  • UpdateDistribution
  • DeleteDistribution
  • ResetDistributionCache
  • AttachCertificateToDistribution
  • DetachCertificateFromDistribution
  • UpdateDistributionBundle
  • CreateCertificate
  • DeleteCertificate
  • CreateContainerService
  • UpdateContainerService
  • DeleteContainerService
  • CreateContainerServiceDeployment
  • CreateContainerServiceRegistryLogin
  • RegisterContainerImage
  • DeleteContainerImage

Returns:

  • (String)

    The type of operation.

#resource_nameString

The resource name.

Returns:

  • (String)

    The resource name.

#resource_typeString

The resource type.

Possible values:

  • ContainerService
  • Instance
  • StaticIp
  • KeyPair
  • InstanceSnapshot
  • Domain
  • PeeredVpc
  • LoadBalancer
  • LoadBalancerTlsCertificate
  • Disk
  • DiskSnapshot
  • RelationalDatabase
  • RelationalDatabaseSnapshot
  • ExportSnapshotRecord
  • CloudFormationStackRecord
  • Alarm
  • ContactMethod
  • Distribution
  • Certificate

Returns:

  • (String)

    The resource type.

#statusString

The status of the operation.

Possible values:

  • NotStarted
  • Started
  • Failed
  • Completed
  • Succeeded

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