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).
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).
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).
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).
The region and Availability Zone.
*/ location?: _UnmarshalledResourceLocation; /** *The timestamp when the status was changed (e.g., 1479816991.349).