import { _ResourceLocation, _UnmarshalledResourceLocation } from "./_ResourceLocation"; /** *

Describes the API operation.

*/ export interface _Operation { /** *

The ID of the operation.

*/ id?: string; /** *

The resource name.

*/ resourceName?: string; /** *

The resource type.

*/ resourceType?: "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | string; /** *

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

*/ createdAt?: Date | string | number; /** *

The region and Availability Zone.

*/ location?: _ResourceLocation; /** *

A Boolean value indicating whether the operation is terminal.

*/ isTerminal?: boolean; /** *

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

*/ operationDetails?: string; /** *

The type of operation.

*/ operationType?: "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" | string; /** *

The status of the operation.

*/ status?: "NotStarted" | "Started" | "Failed" | "Completed" | "Succeeded" | string; /** *

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

*/ statusChangedAt?: Date | string | number; /** *

The error code.

*/ errorCode?: string; /** *

The error details.

*/ errorDetails?: string; } export interface _UnmarshalledOperation extends _Operation { /** *

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

*/ createdAt?: Date; /** *

The region and Availability Zone.

*/ location?: _UnmarshalledResourceLocation; /** *

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

*/ statusChangedAt?: Date; }