Documentation
¶
Index ¶
- type AccessDeniedException
- type Account
- type CPU
- type ConflictException
- type ConversionProperties
- type DataReplicationError
- type DataReplicationErrorString
- type DataReplicationInfo
- type DataReplicationInfoReplicatedDisk
- type DataReplicationInitiation
- type DataReplicationInitiationStep
- type DataReplicationInitiationStepName
- type DataReplicationInitiationStepStatus
- type DataReplicationState
- type DescribeJobsRequestFilters
- type DescribeRecoveryInstancesRequestFilters
- type DescribeRecoverySnapshotsRequestFilters
- type DescribeSourceNetworksRequestFilters
- type DescribeSourceServersRequestFilters
- type Disk
- type EC2InstanceState
- type EventResourceData
- type EventResourceDataMemberSourceNetworkData
- type ExtensionStatus
- type FailbackLaunchType
- type FailbackReplicationError
- type FailbackState
- type IdentificationHints
- type InitiatedBy
- type InternalServerException
- type Job
- type JobLog
- type JobLogEvent
- type JobLogEventData
- type JobStatus
- type JobType
- type LastLaunchResult
- type LastLaunchType
- type LaunchAction
- type LaunchActionCategory
- type LaunchActionParameter
- type LaunchActionParameterType
- type LaunchActionRun
- type LaunchActionRunStatus
- type LaunchActionType
- type LaunchActionsRequestFilters
- type LaunchActionsStatus
- type LaunchConfigurationTemplate
- type LaunchDisposition
- type LaunchIntoInstanceProperties
- type LaunchStatus
- type Licensing
- type LifeCycle
- type LifeCycleLastLaunch
- type LifeCycleLastLaunchInitiated
- type NetworkInterface
- type OS
- type OriginEnvironment
- type PITPolicyRule
- type PITPolicyRuleUnits
- type ParticipatingResource
- type ParticipatingResourceID
- type ParticipatingResourceIDMemberSourceNetworkID
- type ParticipatingServer
- type ProductCode
- type ProductCodeMode
- type RecoveryInstance
- type RecoveryInstanceDataReplicationError
- type RecoveryInstanceDataReplicationInfo
- type RecoveryInstanceDataReplicationInfoReplicatedDisk
- type RecoveryInstanceDataReplicationInitiation
- type RecoveryInstanceDataReplicationInitiationStep
- type RecoveryInstanceDataReplicationInitiationStepName
- type RecoveryInstanceDataReplicationInitiationStepStatus
- type RecoveryInstanceDataReplicationState
- type RecoveryInstanceDisk
- type RecoveryInstanceFailback
- type RecoveryInstanceProperties
- type RecoveryLifeCycle
- type RecoveryResult
- type RecoverySnapshot
- type RecoverySnapshotsOrder
- type ReplicationConfigurationDataPlaneRouting
- type ReplicationConfigurationDefaultLargeStagingDiskType
- type ReplicationConfigurationEbsEncryption
- type ReplicationConfigurationReplicatedDisk
- type ReplicationConfigurationReplicatedDiskStagingDiskType
- type ReplicationConfigurationTemplate
- type ReplicationDirection
- type ReplicationStatus
- type ResourceNotFoundException
- type ServiceQuotaExceededException
- type SourceCloudProperties
- type SourceNetwork
- type SourceNetworkData
- type SourceProperties
- type SourceServer
- type StagingArea
- type StagingSourceServer
- type StartRecoveryRequestSourceServer
- type StartSourceNetworkRecoveryRequestNetworkEntry
- type TargetInstanceTypeRightSizingMethod
- type ThrottlingException
- type UninitializedAccountException
- type UnknownUnionMember
- type ValidationException
- type ValidationExceptionField
- type ValidationExceptionReason
- type VolumeStatus
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string Code *string // contains filtered or unexported fields }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type Account ¶ added in v1.6.0
type Account struct { // Account ID of AWS account. AccountID *string // contains filtered or unexported fields }
AWS account.
type CPU ¶
type CPU struct { // The number of CPU cores. Cores int64 // The model name of the CPU. ModelName *string // contains filtered or unexported fields }
Information about a server's CPU.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string Code *string ResourceId *string ResourceType *string // contains filtered or unexported fields }
The request could not be completed due to a conflict with the current state of the target resource.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type ConversionProperties ¶ added in v1.6.0
type ConversionProperties struct { // The timestamp of when the snapshot being converted was taken DataTimestamp *string // Whether the volume being converted uses UEFI or not ForceUefi *bool // The root volume name of a conversion job RootVolumeName *string // A mapping between the volumes being converted and the converted snapshot ids VolumeToConversionMap map[string]map[string]string // A mapping between the volumes being converted and the product codes associated // with them VolumeToProductCodes map[string][]ProductCode // A mapping between the volumes and their sizes VolumeToVolumeSize map[string]int64 // contains filtered or unexported fields }
Properties of a conversion job
type DataReplicationError ¶
type DataReplicationError struct { // Error in data replication. Error DataReplicationErrorString // Error in data replication. RawError *string // contains filtered or unexported fields }
Error in data replication.
type DataReplicationErrorString ¶
type DataReplicationErrorString string
const ( DataReplicationErrorStringAgentNotSeen DataReplicationErrorString = "AGENT_NOT_SEEN" DataReplicationErrorStringSnapshotsFailure DataReplicationErrorString = "SNAPSHOTS_FAILURE" DataReplicationErrorStringNotConverging DataReplicationErrorString = "NOT_CONVERGING" DataReplicationErrorStringUnstableNetwork DataReplicationErrorString = "UNSTABLE_NETWORK" DataReplicationErrorStringFailedToCreateSecurityGroup DataReplicationErrorString = "FAILED_TO_CREATE_SECURITY_GROUP" DataReplicationErrorStringFailedToLaunchReplicationServer DataReplicationErrorString = "FAILED_TO_LAUNCH_REPLICATION_SERVER" DataReplicationErrorStringFailedToBootReplicationServer DataReplicationErrorString = "FAILED_TO_BOOT_REPLICATION_SERVER" DataReplicationErrorStringFailedToAuthenticateWithService DataReplicationErrorString = "FAILED_TO_AUTHENTICATE_WITH_SERVICE" DataReplicationErrorStringFailedToDownloadReplicationSoftware DataReplicationErrorString = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE" DataReplicationErrorStringFailedToCreateStagingDisks DataReplicationErrorString = "FAILED_TO_CREATE_STAGING_DISKS" DataReplicationErrorStringFailedToAttachStagingDisks DataReplicationErrorString = "FAILED_TO_ATTACH_STAGING_DISKS" DataReplicationErrorStringFailedToPairReplicationServerWithAgent DataReplicationErrorString = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT" DataReplicationErrorStringFailedToConnectAgentToReplicationServer DataReplicationErrorString = "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER" DataReplicationErrorStringFailedToStartDataTransfer DataReplicationErrorString = "FAILED_TO_START_DATA_TRANSFER" )
Enum values for DataReplicationErrorString
func (DataReplicationErrorString) Values ¶
func (DataReplicationErrorString) Values() []DataReplicationErrorString
Values returns all known values for DataReplicationErrorString. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DataReplicationInfo ¶
type DataReplicationInfo struct { // Error in data replication. DataReplicationError *DataReplicationError // Information about whether the data replication has been initiated. DataReplicationInitiation *DataReplicationInitiation // The state of the data replication. DataReplicationState DataReplicationState // An estimate of when the data replication will be completed. EtaDateTime *string // Data replication lag duration. LagDuration *string // The disks that should be replicated. ReplicatedDisks []DataReplicationInfoReplicatedDisk // AWS Availability zone into which data is being replicated. StagingAvailabilityZone *string // The ARN of the staging Outpost StagingOutpostArn *string // contains filtered or unexported fields }
Information about Data Replication
type DataReplicationInfoReplicatedDisk ¶
type DataReplicationInfoReplicatedDisk struct { // The size of the replication backlog in bytes. BackloggedStorageBytes int64 // The name of the device. DeviceName *string // The amount of data replicated so far in bytes. ReplicatedStorageBytes int64 // The amount of data to be rescanned in bytes. RescannedStorageBytes int64 // The total amount of data to be replicated in bytes. TotalStorageBytes int64 // The status of the volume. VolumeStatus VolumeStatus // contains filtered or unexported fields }
A disk that should be replicated.
type DataReplicationInitiation ¶
type DataReplicationInitiation struct { // The date and time of the next attempt to initiate data replication. NextAttemptDateTime *string // The date and time of the current attempt to initiate data replication. StartDateTime *string // The steps of the current attempt to initiate data replication. Steps []DataReplicationInitiationStep // contains filtered or unexported fields }
Data replication initiation.
type DataReplicationInitiationStep ¶
type DataReplicationInitiationStep struct { // The name of the step. Name DataReplicationInitiationStepName // The status of the step. Status DataReplicationInitiationStepStatus // contains filtered or unexported fields }
Data replication initiation step.
type DataReplicationInitiationStepName ¶
type DataReplicationInitiationStepName string
const ( DataReplicationInitiationStepNameWait DataReplicationInitiationStepName = "WAIT" DataReplicationInitiationStepNameCreateSecurityGroup DataReplicationInitiationStepName = "CREATE_SECURITY_GROUP" DataReplicationInitiationStepNameLaunchReplicationServer DataReplicationInitiationStepName = "LAUNCH_REPLICATION_SERVER" DataReplicationInitiationStepNameBootReplicationServer DataReplicationInitiationStepName = "BOOT_REPLICATION_SERVER" DataReplicationInitiationStepNameAuthenticateWithService DataReplicationInitiationStepName = "AUTHENTICATE_WITH_SERVICE" DataReplicationInitiationStepNameDownloadReplicationSoftware DataReplicationInitiationStepName = "DOWNLOAD_REPLICATION_SOFTWARE" DataReplicationInitiationStepNameCreateStagingDisks DataReplicationInitiationStepName = "CREATE_STAGING_DISKS" DataReplicationInitiationStepNameAttachStagingDisks DataReplicationInitiationStepName = "ATTACH_STAGING_DISKS" DataReplicationInitiationStepNamePairReplicationServerWithAgent DataReplicationInitiationStepName = "PAIR_REPLICATION_SERVER_WITH_AGENT" DataReplicationInitiationStepNameConnectAgentToReplicationServer DataReplicationInitiationStepName = "CONNECT_AGENT_TO_REPLICATION_SERVER" DataReplicationInitiationStepNameStartDataTransfer DataReplicationInitiationStepName = "START_DATA_TRANSFER" )
Enum values for DataReplicationInitiationStepName
func (DataReplicationInitiationStepName) Values ¶
func (DataReplicationInitiationStepName) Values() []DataReplicationInitiationStepName
Values returns all known values for DataReplicationInitiationStepName. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DataReplicationInitiationStepStatus ¶
type DataReplicationInitiationStepStatus string
const ( DataReplicationInitiationStepStatusNotStarted DataReplicationInitiationStepStatus = "NOT_STARTED" DataReplicationInitiationStepStatusInProgress DataReplicationInitiationStepStatus = "IN_PROGRESS" DataReplicationInitiationStepStatusSucceeded DataReplicationInitiationStepStatus = "SUCCEEDED" DataReplicationInitiationStepStatusFailed DataReplicationInitiationStepStatus = "FAILED" DataReplicationInitiationStepStatusSkipped DataReplicationInitiationStepStatus = "SKIPPED" )
Enum values for DataReplicationInitiationStepStatus
func (DataReplicationInitiationStepStatus) Values ¶
func (DataReplicationInitiationStepStatus) Values() []DataReplicationInitiationStepStatus
Values returns all known values for DataReplicationInitiationStepStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DataReplicationState ¶
type DataReplicationState string
const ( DataReplicationStateStopped DataReplicationState = "STOPPED" DataReplicationStateInitiating DataReplicationState = "INITIATING" DataReplicationStateInitialSync DataReplicationState = "INITIAL_SYNC" DataReplicationStateBacklog DataReplicationState = "BACKLOG" DataReplicationStateCreatingSnapshot DataReplicationState = "CREATING_SNAPSHOT" DataReplicationStateContinuous DataReplicationState = "CONTINUOUS" DataReplicationStatePaused DataReplicationState = "PAUSED" DataReplicationStateRescan DataReplicationState = "RESCAN" DataReplicationStateStalled DataReplicationState = "STALLED" DataReplicationStateDisconnected DataReplicationState = "DISCONNECTED" )
Enum values for DataReplicationState
func (DataReplicationState) Values ¶
func (DataReplicationState) Values() []DataReplicationState
Values returns all known values for DataReplicationState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type DescribeJobsRequestFilters ¶
type DescribeJobsRequestFilters struct { // The start date in a date range query. FromDate *string // An array of Job IDs that should be returned. An empty array means all jobs. JobIDs []string // The end date in a date range query. ToDate *string // contains filtered or unexported fields }
A set of filters by which to return Jobs.
type DescribeRecoveryInstancesRequestFilters ¶
type DescribeRecoveryInstancesRequestFilters struct { // An array of Recovery Instance IDs that should be returned. An empty array means // all Recovery Instances. RecoveryInstanceIDs []string // An array of Source Server IDs for which associated Recovery Instances should be // returned. SourceServerIDs []string // contains filtered or unexported fields }
A set of filters by which to return Recovery Instances.
type DescribeRecoverySnapshotsRequestFilters ¶
type DescribeRecoverySnapshotsRequestFilters struct { // The start date in a date range query. FromDateTime *string // The end date in a date range query. ToDateTime *string // contains filtered or unexported fields }
A set of filters by which to return Recovery Snapshots.
type DescribeSourceNetworksRequestFilters ¶ added in v1.14.0
type DescribeSourceNetworksRequestFilters struct { // Filter Source Networks by account ID containing the protected VPCs. OriginAccountID *string // Filter Source Networks by the region containing the protected VPCs. OriginRegion *string // An array of Source Network IDs that should be returned. An empty array means // all Source Networks. SourceNetworkIDs []string // contains filtered or unexported fields }
A set of filters by which to return Source Networks.
type DescribeSourceServersRequestFilters ¶
type DescribeSourceServersRequestFilters struct { // An ID that describes the hardware of the Source Server. This is either an EC2 // instance id, a VMware uuid or a mac address. HardwareId *string // An array of Source Servers IDs that should be returned. An empty array means // all Source Servers. SourceServerIDs []string // An array of staging account IDs that extended source servers belong to. An // empty array means all source servers will be shown. StagingAccountIDs []string // contains filtered or unexported fields }
A set of filters by which to return Source Servers.
type Disk ¶
type Disk struct { // The amount of storage on the disk in bytes. Bytes int64 // The disk or device name. DeviceName *string // contains filtered or unexported fields }
An object representing a data storage device on a server.
type EC2InstanceState ¶
type EC2InstanceState string
const ( EC2InstanceStatePending EC2InstanceState = "PENDING" EC2InstanceStateRunning EC2InstanceState = "RUNNING" EC2InstanceStateStopping EC2InstanceState = "STOPPING" EC2InstanceStateStopped EC2InstanceState = "STOPPED" EC2InstanceStateShuttingDown EC2InstanceState = "SHUTTING-DOWN" EC2InstanceStateTerminated EC2InstanceState = "TERMINATED" EC2InstanceStateNotFound EC2InstanceState = "NOT_FOUND" )
Enum values for EC2InstanceState
func (EC2InstanceState) Values ¶
func (EC2InstanceState) Values() []EC2InstanceState
Values returns all known values for EC2InstanceState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type EventResourceData ¶ added in v1.14.0
type EventResourceData interface {
// contains filtered or unexported methods
}
Properties of resource related to a job event.
The following types satisfy this interface:
EventResourceDataMemberSourceNetworkData
Example (OutputUsage) ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go-v2/service/drs/types" ) func main() { var union types.EventResourceData // type switches can be used to check the union value switch v := union.(type) { case *types.EventResourceDataMemberSourceNetworkData: _ = v.Value // Value is types.SourceNetworkData case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type EventResourceDataMemberSourceNetworkData ¶ added in v1.14.0
type EventResourceDataMemberSourceNetworkData struct { Value SourceNetworkData // contains filtered or unexported fields }
Source Network properties.
type ExtensionStatus ¶ added in v1.6.0
type ExtensionStatus string
const ( ExtensionStatusExtended ExtensionStatus = "EXTENDED" ExtensionStatusExtensionError ExtensionStatus = "EXTENSION_ERROR" ExtensionStatusNotExtended ExtensionStatus = "NOT_EXTENDED" )
Enum values for ExtensionStatus
func (ExtensionStatus) Values ¶ added in v1.6.0
func (ExtensionStatus) Values() []ExtensionStatus
Values returns all known values for ExtensionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type FailbackLaunchType ¶ added in v1.9.0
type FailbackLaunchType string
const ( FailbackLaunchTypeRecovery FailbackLaunchType = "RECOVERY" FailbackLaunchTypeDrill FailbackLaunchType = "DRILL" )
Enum values for FailbackLaunchType
func (FailbackLaunchType) Values ¶ added in v1.9.0
func (FailbackLaunchType) Values() []FailbackLaunchType
Values returns all known values for FailbackLaunchType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type FailbackReplicationError ¶
type FailbackReplicationError string
const ( FailbackReplicationErrorAgentNotSeen FailbackReplicationError = "AGENT_NOT_SEEN" FailbackReplicationErrorFailbackClientNotSeen FailbackReplicationError = "FAILBACK_CLIENT_NOT_SEEN" FailbackReplicationErrorNotConverging FailbackReplicationError = "NOT_CONVERGING" FailbackReplicationErrorUnstableNetwork FailbackReplicationError = "UNSTABLE_NETWORK" FailbackReplicationErrorFailedToEstablishRecoveryInstanceCommunication FailbackReplicationError = "FAILED_TO_ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" FailbackReplicationErrorFailedToDownloadReplicationSoftwareToFailbackClient FailbackReplicationError = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" FailbackReplicationErrorFailedToConfigureReplicationSoftware FailbackReplicationError = "FAILED_TO_CONFIGURE_REPLICATION_SOFTWARE" FailbackReplicationErrorFailedToPairAgentWithReplicationSoftware FailbackReplicationError = "FAILED_TO_PAIR_AGENT_WITH_REPLICATION_SOFTWARE" FailbackReplicationErrorFailedToEstablishAgentReplicatorSoftwareCommunication FailbackReplicationError = "FAILED_TO_ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" FailbackReplicationErrorFailedGettingReplicationState FailbackReplicationError = "FAILED_GETTING_REPLICATION_STATE" FailbackReplicationErrorSnapshotsFailure FailbackReplicationError = "SNAPSHOTS_FAILURE" FailbackReplicationErrorFailedToCreateSecurityGroup FailbackReplicationError = "FAILED_TO_CREATE_SECURITY_GROUP" FailbackReplicationErrorFailedToLaunchReplicationServer FailbackReplicationError = "FAILED_TO_LAUNCH_REPLICATION_SERVER" FailbackReplicationErrorFailedToBootReplicationServer FailbackReplicationError = "FAILED_TO_BOOT_REPLICATION_SERVER" FailbackReplicationErrorFailedToAuthenticateWithService FailbackReplicationError = "FAILED_TO_AUTHENTICATE_WITH_SERVICE" FailbackReplicationErrorFailedToDownloadReplicationSoftware FailbackReplicationError = "FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE" FailbackReplicationErrorFailedToCreateStagingDisks FailbackReplicationError = "FAILED_TO_CREATE_STAGING_DISKS" FailbackReplicationErrorFailedToAttachStagingDisks FailbackReplicationError = "FAILED_TO_ATTACH_STAGING_DISKS" FailbackReplicationErrorFailedToPairReplicationServerWithAgent FailbackReplicationError = "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT" FailbackReplicationErrorFailedToConnectAgentToReplicationServer FailbackReplicationError = "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER" FailbackReplicationErrorFailedToStartDataTransfer FailbackReplicationError = "FAILED_TO_START_DATA_TRANSFER" )
Enum values for FailbackReplicationError
func (FailbackReplicationError) Values ¶
func (FailbackReplicationError) Values() []FailbackReplicationError
Values returns all known values for FailbackReplicationError. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type FailbackState ¶
type FailbackState string
const ( FailbackStateFailbackNotStarted FailbackState = "FAILBACK_NOT_STARTED" FailbackStateFailbackInProgress FailbackState = "FAILBACK_IN_PROGRESS" FailbackStateFailbackReadyForLaunch FailbackState = "FAILBACK_READY_FOR_LAUNCH" FailbackStateFailbackCompleted FailbackState = "FAILBACK_COMPLETED" FailbackStateFailbackError FailbackState = "FAILBACK_ERROR" FailbackStateFailbackNotReadyForLaunch FailbackState = "FAILBACK_NOT_READY_FOR_LAUNCH" FailbackStateFailbackLaunchStateNotAvailable FailbackState = "FAILBACK_LAUNCH_STATE_NOT_AVAILABLE" )
Enum values for FailbackState
func (FailbackState) Values ¶
func (FailbackState) Values() []FailbackState
Values returns all known values for FailbackState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type IdentificationHints ¶
type IdentificationHints struct { // AWS Instance ID identification hint. AwsInstanceID *string // Fully Qualified Domain Name identification hint. Fqdn *string // Hostname identification hint. Hostname *string // vCenter VM path identification hint. VmWareUuid *string // contains filtered or unexported fields }
Hints used to uniquely identify a machine.
type InitiatedBy ¶
type InitiatedBy string
const ( InitiatedByStartRecovery InitiatedBy = "START_RECOVERY" InitiatedByStartDrill InitiatedBy = "START_DRILL" InitiatedByFailback InitiatedBy = "FAILBACK" InitiatedByDiagnostic InitiatedBy = "DIAGNOSTIC" InitiatedByTerminateRecoveryInstances InitiatedBy = "TERMINATE_RECOVERY_INSTANCES" InitiatedByTargetAccount InitiatedBy = "TARGET_ACCOUNT" InitiatedByCreateNetworkRecovery InitiatedBy = "CREATE_NETWORK_RECOVERY" InitiatedByUpdateNetworkRecovery InitiatedBy = "UPDATE_NETWORK_RECOVERY" InitiatedByAssociateNetworkRecovery InitiatedBy = "ASSOCIATE_NETWORK_RECOVERY" )
Enum values for InitiatedBy
func (InitiatedBy) Values ¶
func (InitiatedBy) Values() []InitiatedBy
Values returns all known values for InitiatedBy. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int64 // contains filtered or unexported fields }
The request processing has failed because of an unknown error, exception or failure.
func (*InternalServerException) Error ¶
func (e *InternalServerException) Error() string
func (*InternalServerException) ErrorCode ¶
func (e *InternalServerException) ErrorCode() string
func (*InternalServerException) ErrorFault ¶
func (e *InternalServerException) ErrorFault() smithy.ErrorFault
func (*InternalServerException) ErrorMessage ¶
func (e *InternalServerException) ErrorMessage() string
type Job ¶
type Job struct { // The ID of the Job. // // This member is required. JobID *string // The ARN of a Job. Arn *string // The date and time of when the Job was created. CreationDateTime *string // The date and time of when the Job ended. EndDateTime *string // A string representing who initiated the Job. InitiatedBy InitiatedBy // A list of resources that the Job is acting upon. ParticipatingResources []ParticipatingResource // A list of servers that the Job is acting upon. ParticipatingServers []ParticipatingServer // The status of the Job. Status JobStatus // A list of tags associated with the Job. Tags map[string]string // The type of the Job. Type JobType // contains filtered or unexported fields }
A job is an asynchronous workflow.
type JobLog ¶
type JobLog struct { // The event represents the type of a log. Event JobLogEvent // Metadata associated with a Job log. EventData *JobLogEventData // The date and time the log was taken. LogDateTime *string // contains filtered or unexported fields }
A log outputted by a Job.
type JobLogEvent ¶
type JobLogEvent string
const ( JobLogEventJobStart JobLogEvent = "JOB_START" JobLogEventServerSkipped JobLogEvent = "SERVER_SKIPPED" JobLogEventCleanupStart JobLogEvent = "CLEANUP_START" JobLogEventCleanupEnd JobLogEvent = "CLEANUP_END" JobLogEventCleanupFail JobLogEvent = "CLEANUP_FAIL" JobLogEventSnapshotStart JobLogEvent = "SNAPSHOT_START" JobLogEventSnapshotEnd JobLogEvent = "SNAPSHOT_END" JobLogEventSnapshotFail JobLogEvent = "SNAPSHOT_FAIL" JobLogEventUsingPreviousSnapshot JobLogEvent = "USING_PREVIOUS_SNAPSHOT" JobLogEventUsingPreviousSnapshotFailed JobLogEvent = "USING_PREVIOUS_SNAPSHOT_FAILED" JobLogEventConversionStart JobLogEvent = "CONVERSION_START" JobLogEventConversionEnd JobLogEvent = "CONVERSION_END" JobLogEventConversionFail JobLogEvent = "CONVERSION_FAIL" JobLogEventLaunchStart JobLogEvent = "LAUNCH_START" JobLogEventLaunchFailed JobLogEvent = "LAUNCH_FAILED" JobLogEventJobCancel JobLogEvent = "JOB_CANCEL" JobLogEventJobEnd JobLogEvent = "JOB_END" JobLogEventDeployNetworkConfigurationStart JobLogEvent = "DEPLOY_NETWORK_CONFIGURATION_START" JobLogEventDeployNetworkConfigurationEnd JobLogEvent = "DEPLOY_NETWORK_CONFIGURATION_END" JobLogEventDeployNetworkConfigurationFailed JobLogEvent = "DEPLOY_NETWORK_CONFIGURATION_FAILED" JobLogEventUpdateNetworkConfigurationStart JobLogEvent = "UPDATE_NETWORK_CONFIGURATION_START" JobLogEventUpdateNetworkConfigurationEnd JobLogEvent = "UPDATE_NETWORK_CONFIGURATION_END" JobLogEventUpdateNetworkConfigurationFailed JobLogEvent = "UPDATE_NETWORK_CONFIGURATION_FAILED" JobLogEventUpdateLaunchTemplateStart JobLogEvent = "UPDATE_LAUNCH_TEMPLATE_START" JobLogEventUpdateLaunchTemplateEnd JobLogEvent = "UPDATE_LAUNCH_TEMPLATE_END" JobLogEventUpdateLaunchTemplateFailed JobLogEvent = "UPDATE_LAUNCH_TEMPLATE_FAILED" JobLogEventNetworkRecoveryFail JobLogEvent = "NETWORK_RECOVERY_FAIL" )
Enum values for JobLogEvent
func (JobLogEvent) Values ¶
func (JobLogEvent) Values() []JobLogEvent
Values returns all known values for JobLogEvent. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type JobLogEventData ¶
type JobLogEventData struct { // Properties of a conversion job ConversionProperties *ConversionProperties // The ID of a conversion server. ConversionServerID *string // Properties of resource related to a job event. EventResourceData EventResourceData // A string representing a job error. RawError *string // The ID of a Source Server. SourceServerID *string // The ID of a Recovery Instance. TargetInstanceID *string // contains filtered or unexported fields }
Metadata associated with a Job log.
type JobStatus ¶
type JobStatus string
type JobType ¶
type JobType string
type LastLaunchResult ¶
type LastLaunchResult string
const ( LastLaunchResultNotStarted LastLaunchResult = "NOT_STARTED" LastLaunchResultPending LastLaunchResult = "PENDING" LastLaunchResultSucceeded LastLaunchResult = "SUCCEEDED" LastLaunchResultFailed LastLaunchResult = "FAILED" )
Enum values for LastLaunchResult
func (LastLaunchResult) Values ¶
func (LastLaunchResult) Values() []LastLaunchResult
Values returns all known values for LastLaunchResult. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LastLaunchType ¶
type LastLaunchType string
const ( LastLaunchTypeRecovery LastLaunchType = "RECOVERY" LastLaunchTypeDrill LastLaunchType = "DRILL" )
Enum values for LastLaunchType
func (LastLaunchType) Values ¶
func (LastLaunchType) Values() []LastLaunchType
Values returns all known values for LastLaunchType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchAction ¶ added in v1.16.0
type LaunchAction struct { // Launch action code. ActionCode *string // Launch action Id. ActionId *string // Launch action version. ActionVersion *string // Whether the launch action is active. Active *bool // Launch action category. Category LaunchActionCategory // Launch action description. Description *string // Launch action name. Name *string // Whether the launch will not be marked as failed if this action fails. Optional *bool // Launch action order. Order *int32 // Launch action parameters. Parameters map[string]LaunchActionParameter // Launch action type. Type LaunchActionType // contains filtered or unexported fields }
Launch action.
type LaunchActionCategory ¶ added in v1.16.0
type LaunchActionCategory string
const ( LaunchActionCategoryMonitoring LaunchActionCategory = "MONITORING" LaunchActionCategoryValidation LaunchActionCategory = "VALIDATION" LaunchActionCategoryConfiguration LaunchActionCategory = "CONFIGURATION" LaunchActionCategorySecurity LaunchActionCategory = "SECURITY" LaunchActionCategoryOther LaunchActionCategory = "OTHER" )
Enum values for LaunchActionCategory
func (LaunchActionCategory) Values ¶ added in v1.16.0
func (LaunchActionCategory) Values() []LaunchActionCategory
Values returns all known values for LaunchActionCategory. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchActionParameter ¶ added in v1.16.0
type LaunchActionParameter struct { // Type. Type LaunchActionParameterType // Value. Value *string // contains filtered or unexported fields }
Launch action parameter.
type LaunchActionParameterType ¶ added in v1.16.0
type LaunchActionParameterType string
const ( LaunchActionParameterTypeSsmStore LaunchActionParameterType = "SSM_STORE" LaunchActionParameterTypeDynamic LaunchActionParameterType = "DYNAMIC" )
Enum values for LaunchActionParameterType
func (LaunchActionParameterType) Values ¶ added in v1.16.0
func (LaunchActionParameterType) Values() []LaunchActionParameterType
Values returns all known values for LaunchActionParameterType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchActionRun ¶ added in v1.16.0
type LaunchActionRun struct { // Action. Action *LaunchAction // Failure reason. FailureReason *string // Run Id. RunId *string // Run status. Status LaunchActionRunStatus // contains filtered or unexported fields }
Launch action run.
type LaunchActionRunStatus ¶ added in v1.16.0
type LaunchActionRunStatus string
const ( LaunchActionRunStatusInProgress LaunchActionRunStatus = "IN_PROGRESS" LaunchActionRunStatusSucceeded LaunchActionRunStatus = "SUCCEEDED" LaunchActionRunStatusFailed LaunchActionRunStatus = "FAILED" )
Enum values for LaunchActionRunStatus
func (LaunchActionRunStatus) Values ¶ added in v1.16.0
func (LaunchActionRunStatus) Values() []LaunchActionRunStatus
Values returns all known values for LaunchActionRunStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchActionType ¶ added in v1.16.0
type LaunchActionType string
const ( LaunchActionTypeSsmAutomation LaunchActionType = "SSM_AUTOMATION" LaunchActionTypeSsmCommand LaunchActionType = "SSM_COMMAND" )
Enum values for LaunchActionType
func (LaunchActionType) Values ¶ added in v1.16.0
func (LaunchActionType) Values() []LaunchActionType
Values returns all known values for LaunchActionType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchActionsRequestFilters ¶ added in v1.16.0
type LaunchActionsRequestFilters struct { // Launch actions Ids. ActionIds []string // contains filtered or unexported fields }
Resource launch actions filter.
type LaunchActionsStatus ¶ added in v1.16.0
type LaunchActionsStatus struct { // List of post launch action status. Runs []LaunchActionRun // Time where the AWS Systems Manager was detected as running on the launched // instance. SsmAgentDiscoveryDatetime *string // contains filtered or unexported fields }
Launch actions status.
type LaunchConfigurationTemplate ¶ added in v1.13.0
type LaunchConfigurationTemplate struct { // ARN of the Launch Configuration Template. Arn *string // Copy private IP. CopyPrivateIp *bool // Copy tags. CopyTags *bool // S3 bucket ARN to export Source Network templates. ExportBucketArn *string // ID of the Launch Configuration Template. LaunchConfigurationTemplateID *string // Launch disposition. LaunchDisposition LaunchDisposition // DRS will set the 'launch into instance ID' of any source server when performing // a drill, recovery or failback to the previous region or availability zone, using // the instance ID of the source instance. LaunchIntoSourceInstance *bool // Licensing. Licensing *Licensing // Post-launch actions activated. PostLaunchEnabled *bool // Tags of the Launch Configuration Template. Tags map[string]string // Target instance type right-sizing method. TargetInstanceTypeRightSizingMethod TargetInstanceTypeRightSizingMethod // contains filtered or unexported fields }
Account level Launch Configuration Template.
type LaunchDisposition ¶
type LaunchDisposition string
const ( LaunchDispositionStopped LaunchDisposition = "STOPPED" LaunchDispositionStarted LaunchDisposition = "STARTED" )
Enum values for LaunchDisposition
func (LaunchDisposition) Values ¶
func (LaunchDisposition) Values() []LaunchDisposition
Values returns all known values for LaunchDisposition. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type LaunchIntoInstanceProperties ¶ added in v1.17.0
type LaunchIntoInstanceProperties struct { // Optionally holds EC2 instance ID of an instance to launch into, instead of // launching a new instance during drill, recovery or failback. LaunchIntoEC2InstanceID *string // contains filtered or unexported fields }
Launch into existing instance.
type LaunchStatus ¶
type LaunchStatus string
const ( LaunchStatusPending LaunchStatus = "PENDING" LaunchStatusInProgress LaunchStatus = "IN_PROGRESS" LaunchStatusLaunched LaunchStatus = "LAUNCHED" LaunchStatusFailed LaunchStatus = "FAILED" LaunchStatusTerminated LaunchStatus = "TERMINATED" )
Enum values for LaunchStatus
func (LaunchStatus) Values ¶
func (LaunchStatus) Values() []LaunchStatus
Values returns all known values for LaunchStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type Licensing ¶
type Licensing struct { // Whether to enable "Bring your own license" or not. OsByol *bool // contains filtered or unexported fields }
Configuration of a machine's license.
type LifeCycle ¶
type LifeCycle struct { // The date and time of when the Source Server was added to the service. AddedToServiceDateTime *string // The amount of time that the Source Server has been replicating for. ElapsedReplicationDuration *string // The date and time of the first byte that was replicated from the Source Server. FirstByteDateTime *string // An object containing information regarding the last launch of the Source Server. LastLaunch *LifeCycleLastLaunch // The date and time this Source Server was last seen by the service. LastSeenByServiceDateTime *string // contains filtered or unexported fields }
An object representing the Source Server Lifecycle.
type LifeCycleLastLaunch ¶
type LifeCycleLastLaunch struct { // An object containing information regarding the initiation of the last launch of // a Source Server. Initiated *LifeCycleLastLaunchInitiated // Status of Source Server's last launch. Status LaunchStatus // contains filtered or unexported fields }
An object containing information regarding the last launch of a Source Server.
type LifeCycleLastLaunchInitiated ¶
type LifeCycleLastLaunchInitiated struct { // The date and time the last Source Server launch was initiated. ApiCallDateTime *string // The ID of the Job that was used to last launch the Source Server. JobID *string // The Job type that was used to last launch the Source Server. Type LastLaunchType // contains filtered or unexported fields }
An object containing information regarding the initiation of the last launch of a Source Server.
type NetworkInterface ¶
type NetworkInterface struct { // Network interface IPs. Ips []string // Whether this is the primary network interface. IsPrimary *bool // The MAC address of the network interface. MacAddress *string // contains filtered or unexported fields }
Network interface.
type OS ¶
type OS struct { // The long name of the Operating System. FullString *string // contains filtered or unexported fields }
Operating System.
type OriginEnvironment ¶ added in v1.9.0
type OriginEnvironment string
const ( OriginEnvironmentOnPremises OriginEnvironment = "ON_PREMISES" OriginEnvironmentAws OriginEnvironment = "AWS" )
Enum values for OriginEnvironment
func (OriginEnvironment) Values ¶ added in v1.9.0
func (OriginEnvironment) Values() []OriginEnvironment
Values returns all known values for OriginEnvironment. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type PITPolicyRule ¶
type PITPolicyRule struct { // How often, in the chosen units, a snapshot should be taken. // // This member is required. Interval *int32 // The duration to retain a snapshot for, in the chosen units. // // This member is required. RetentionDuration *int32 // The units used to measure the interval and retentionDuration. // // This member is required. Units PITPolicyRuleUnits // Whether this rule is enabled or not. Enabled *bool // The ID of the rule. RuleID int64 // contains filtered or unexported fields }
A rule in the Point in Time (PIT) policy representing when to take snapshots and how long to retain them for.
type PITPolicyRuleUnits ¶
type PITPolicyRuleUnits string
const ( PITPolicyRuleUnitsMinute PITPolicyRuleUnits = "MINUTE" PITPolicyRuleUnitsHour PITPolicyRuleUnits = "HOUR" PITPolicyRuleUnitsDay PITPolicyRuleUnits = "DAY" )
Enum values for PITPolicyRuleUnits
func (PITPolicyRuleUnits) Values ¶
func (PITPolicyRuleUnits) Values() []PITPolicyRuleUnits
Values returns all known values for PITPolicyRuleUnits. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ParticipatingResource ¶ added in v1.14.0
type ParticipatingResource struct { // The launch status of a participating resource. LaunchStatus LaunchStatus // The ID of a participating resource. ParticipatingResourceID ParticipatingResourceID // contains filtered or unexported fields }
Represents a resource participating in an asynchronous Job.
type ParticipatingResourceID ¶ added in v1.14.0
type ParticipatingResourceID interface {
// contains filtered or unexported methods
}
ID of a resource participating in an asynchronous Job.
The following types satisfy this interface:
ParticipatingResourceIDMemberSourceNetworkID
Example (OutputUsage) ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go-v2/service/drs/types" ) func main() { var union types.ParticipatingResourceID // type switches can be used to check the union value switch v := union.(type) { case *types.ParticipatingResourceIDMemberSourceNetworkID: _ = v.Value // Value is string case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } }
Output:
type ParticipatingResourceIDMemberSourceNetworkID ¶ added in v1.14.0
type ParticipatingResourceIDMemberSourceNetworkID struct { Value string // contains filtered or unexported fields }
Source Network ID.
type ParticipatingServer ¶
type ParticipatingServer struct { // The post-launch action runs of a participating server. LaunchActionsStatus *LaunchActionsStatus // The launch status of a participating server. LaunchStatus LaunchStatus // The Recovery Instance ID of a participating server. RecoveryInstanceID *string // The Source Server ID of a participating server. SourceServerID *string // contains filtered or unexported fields }
Represents a server participating in an asynchronous Job.
type ProductCode ¶ added in v1.25.0
type ProductCode struct { // Id of a product code associated with a volume. ProductCodeId *string // Mode of a product code associated with a volume. ProductCodeMode ProductCodeMode // contains filtered or unexported fields }
Properties of a product code associated with a volume.
type ProductCodeMode ¶ added in v1.25.0
type ProductCodeMode string
const ( ProductCodeModeEnabled ProductCodeMode = "ENABLED" ProductCodeModeDisabled ProductCodeMode = "DISABLED" )
Enum values for ProductCodeMode
func (ProductCodeMode) Values ¶ added in v1.25.0
func (ProductCodeMode) Values() []ProductCodeMode
Values returns all known values for ProductCodeMode. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecoveryInstance ¶
type RecoveryInstance struct { // The version of the DRS agent installed on the recovery instance AgentVersion *string // The ARN of the Recovery Instance. Arn *string // The Data Replication Info of the Recovery Instance. DataReplicationInfo *RecoveryInstanceDataReplicationInfo // The EC2 instance ID of the Recovery Instance. Ec2InstanceID *string // The state of the EC2 instance for this Recovery Instance. Ec2InstanceState EC2InstanceState // An object representing failback related information of the Recovery Instance. Failback *RecoveryInstanceFailback // Whether this Recovery Instance was created for a drill or for an actual // Recovery event. IsDrill *bool // The ID of the Job that created the Recovery Instance. JobID *string // AWS availability zone associated with the recovery instance. OriginAvailabilityZone *string // Environment (On Premises / AWS) of the instance that the recovery instance // originated from. OriginEnvironment OriginEnvironment // The date and time of the Point in Time (PIT) snapshot that this Recovery // Instance was launched from. PointInTimeSnapshotDateTime *string // The ID of the Recovery Instance. RecoveryInstanceID *string // Properties of the Recovery Instance machine. RecoveryInstanceProperties *RecoveryInstanceProperties // The ARN of the source Outpost SourceOutpostArn *string // The Source Server ID that this Recovery Instance is associated with. SourceServerID *string // An array of tags that are associated with the Recovery Instance. Tags map[string]string // contains filtered or unexported fields }
A Recovery Instance is a replica of a Source Server running on EC2.
type RecoveryInstanceDataReplicationError ¶
type RecoveryInstanceDataReplicationError struct { // Error in data replication. Error FailbackReplicationError // Error in data replication. RawError *string // contains filtered or unexported fields }
Error in data replication.
type RecoveryInstanceDataReplicationInfo ¶
type RecoveryInstanceDataReplicationInfo struct { // Information about Data Replication DataReplicationError *RecoveryInstanceDataReplicationError // Information about whether the data replication has been initiated. DataReplicationInitiation *RecoveryInstanceDataReplicationInitiation // The state of the data replication. DataReplicationState RecoveryInstanceDataReplicationState // An estimate of when the data replication will be completed. EtaDateTime *string // Data replication lag duration. LagDuration *string // The disks that should be replicated. ReplicatedDisks []RecoveryInstanceDataReplicationInfoReplicatedDisk // AWS Availability zone into which data is being replicated. StagingAvailabilityZone *string // The ARN of the staging Outpost StagingOutpostArn *string // contains filtered or unexported fields }
Information about Data Replication
type RecoveryInstanceDataReplicationInfoReplicatedDisk ¶
type RecoveryInstanceDataReplicationInfoReplicatedDisk struct { // The size of the replication backlog in bytes. BackloggedStorageBytes int64 // The name of the device. DeviceName *string // The amount of data replicated so far in bytes. ReplicatedStorageBytes int64 // The amount of data to be rescanned in bytes. RescannedStorageBytes int64 // The total amount of data to be replicated in bytes. TotalStorageBytes int64 // contains filtered or unexported fields }
A disk that should be replicated.
type RecoveryInstanceDataReplicationInitiation ¶
type RecoveryInstanceDataReplicationInitiation struct { // The date and time of the current attempt to initiate data replication. StartDateTime *string // The steps of the current attempt to initiate data replication. Steps []RecoveryInstanceDataReplicationInitiationStep // contains filtered or unexported fields }
Data replication initiation.
type RecoveryInstanceDataReplicationInitiationStep ¶
type RecoveryInstanceDataReplicationInitiationStep struct { // The name of the step. Name RecoveryInstanceDataReplicationInitiationStepName // The status of the step. Status RecoveryInstanceDataReplicationInitiationStepStatus // contains filtered or unexported fields }
Data replication initiation step.
type RecoveryInstanceDataReplicationInitiationStepName ¶
type RecoveryInstanceDataReplicationInitiationStepName string
const ( RecoveryInstanceDataReplicationInitiationStepNameLinkFailbackClientWithRecoveryInstance RecoveryInstanceDataReplicationInitiationStepName = "LINK_FAILBACK_CLIENT_WITH_RECOVERY_INSTANCE" RecoveryInstanceDataReplicationInitiationStepNameCompleteVolumeMapping RecoveryInstanceDataReplicationInitiationStepName = "COMPLETE_VOLUME_MAPPING" RecoveryInstanceDataReplicationInitiationStepNameEstablishRecoveryInstanceCommunication RecoveryInstanceDataReplicationInitiationStepName = "ESTABLISH_RECOVERY_INSTANCE_COMMUNICATION" RecoveryInstanceDataReplicationInitiationStepNameDownloadReplicationSoftwareToFailbackClient RecoveryInstanceDataReplicationInitiationStepName = "DOWNLOAD_REPLICATION_SOFTWARE_TO_FAILBACK_CLIENT" RecoveryInstanceDataReplicationInitiationStepNameConfigureReplicationSoftware RecoveryInstanceDataReplicationInitiationStepName = "CONFIGURE_REPLICATION_SOFTWARE" RecoveryInstanceDataReplicationInitiationStepNamePairAgentWithReplicationSoftware RecoveryInstanceDataReplicationInitiationStepName = "PAIR_AGENT_WITH_REPLICATION_SOFTWARE" RecoveryInstanceDataReplicationInitiationStepNameEstablishAgentReplicatorSoftwareCommunication RecoveryInstanceDataReplicationInitiationStepName = "ESTABLISH_AGENT_REPLICATOR_SOFTWARE_COMMUNICATION" RecoveryInstanceDataReplicationInitiationStepNameWait RecoveryInstanceDataReplicationInitiationStepName = "WAIT" RecoveryInstanceDataReplicationInitiationStepNameCreateSecurityGroup RecoveryInstanceDataReplicationInitiationStepName = "CREATE_SECURITY_GROUP" RecoveryInstanceDataReplicationInitiationStepNameLaunchReplicationServer RecoveryInstanceDataReplicationInitiationStepName = "LAUNCH_REPLICATION_SERVER" RecoveryInstanceDataReplicationInitiationStepNameBootReplicationServer RecoveryInstanceDataReplicationInitiationStepName = "BOOT_REPLICATION_SERVER" RecoveryInstanceDataReplicationInitiationStepNameAuthenticateWithService RecoveryInstanceDataReplicationInitiationStepName = "AUTHENTICATE_WITH_SERVICE" RecoveryInstanceDataReplicationInitiationStepNameDownloadReplicationSoftware RecoveryInstanceDataReplicationInitiationStepName = "DOWNLOAD_REPLICATION_SOFTWARE" RecoveryInstanceDataReplicationInitiationStepNameCreateStagingDisks RecoveryInstanceDataReplicationInitiationStepName = "CREATE_STAGING_DISKS" RecoveryInstanceDataReplicationInitiationStepNameAttachStagingDisks RecoveryInstanceDataReplicationInitiationStepName = "ATTACH_STAGING_DISKS" RecoveryInstanceDataReplicationInitiationStepNamePairReplicationServerWithAgent RecoveryInstanceDataReplicationInitiationStepName = "PAIR_REPLICATION_SERVER_WITH_AGENT" RecoveryInstanceDataReplicationInitiationStepNameConnectAgentToReplicationServer RecoveryInstanceDataReplicationInitiationStepName = "CONNECT_AGENT_TO_REPLICATION_SERVER" RecoveryInstanceDataReplicationInitiationStepNameStartDataTransfer RecoveryInstanceDataReplicationInitiationStepName = "START_DATA_TRANSFER" )
Enum values for RecoveryInstanceDataReplicationInitiationStepName
func (RecoveryInstanceDataReplicationInitiationStepName) Values ¶
func (RecoveryInstanceDataReplicationInitiationStepName) Values() []RecoveryInstanceDataReplicationInitiationStepName
Values returns all known values for RecoveryInstanceDataReplicationInitiationStepName. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecoveryInstanceDataReplicationInitiationStepStatus ¶
type RecoveryInstanceDataReplicationInitiationStepStatus string
const ( RecoveryInstanceDataReplicationInitiationStepStatusNotStarted RecoveryInstanceDataReplicationInitiationStepStatus = "NOT_STARTED" RecoveryInstanceDataReplicationInitiationStepStatusInProgress RecoveryInstanceDataReplicationInitiationStepStatus = "IN_PROGRESS" RecoveryInstanceDataReplicationInitiationStepStatusSucceeded RecoveryInstanceDataReplicationInitiationStepStatus = "SUCCEEDED" RecoveryInstanceDataReplicationInitiationStepStatusFailed RecoveryInstanceDataReplicationInitiationStepStatus = "FAILED" RecoveryInstanceDataReplicationInitiationStepStatusSkipped RecoveryInstanceDataReplicationInitiationStepStatus = "SKIPPED" )
Enum values for RecoveryInstanceDataReplicationInitiationStepStatus
func (RecoveryInstanceDataReplicationInitiationStepStatus) Values ¶
func (RecoveryInstanceDataReplicationInitiationStepStatus) Values() []RecoveryInstanceDataReplicationInitiationStepStatus
Values returns all known values for RecoveryInstanceDataReplicationInitiationStepStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecoveryInstanceDataReplicationState ¶
type RecoveryInstanceDataReplicationState string
const ( RecoveryInstanceDataReplicationStateStopped RecoveryInstanceDataReplicationState = "STOPPED" RecoveryInstanceDataReplicationStateInitiating RecoveryInstanceDataReplicationState = "INITIATING" RecoveryInstanceDataReplicationStateInitialSync RecoveryInstanceDataReplicationState = "INITIAL_SYNC" RecoveryInstanceDataReplicationStateBacklog RecoveryInstanceDataReplicationState = "BACKLOG" RecoveryInstanceDataReplicationStateCreatingSnapshot RecoveryInstanceDataReplicationState = "CREATING_SNAPSHOT" RecoveryInstanceDataReplicationStateContinuous RecoveryInstanceDataReplicationState = "CONTINUOUS" RecoveryInstanceDataReplicationStatePaused RecoveryInstanceDataReplicationState = "PAUSED" RecoveryInstanceDataReplicationStateRescan RecoveryInstanceDataReplicationState = "RESCAN" RecoveryInstanceDataReplicationStateStalled RecoveryInstanceDataReplicationState = "STALLED" RecoveryInstanceDataReplicationStateDisconnected RecoveryInstanceDataReplicationState = "DISCONNECTED" RecoveryInstanceDataReplicationStateReplicationStateNotAvailable RecoveryInstanceDataReplicationState = "REPLICATION_STATE_NOT_AVAILABLE" RecoveryInstanceDataReplicationStateNotStarted RecoveryInstanceDataReplicationState = "NOT_STARTED" )
Enum values for RecoveryInstanceDataReplicationState
func (RecoveryInstanceDataReplicationState) Values ¶
func (RecoveryInstanceDataReplicationState) Values() []RecoveryInstanceDataReplicationState
Values returns all known values for RecoveryInstanceDataReplicationState. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecoveryInstanceDisk ¶
type RecoveryInstanceDisk struct { // The amount of storage on the disk in bytes. Bytes int64 // The EBS Volume ID of this disk. EbsVolumeID *string // The internal device name of this disk. This is the name that is visible on the // machine itself and not from the EC2 console. InternalDeviceName *string // contains filtered or unexported fields }
An object representing a block storage device on the Recovery Instance.
type RecoveryInstanceFailback ¶
type RecoveryInstanceFailback struct { // The date and time the agent on the Recovery Instance was last seen by the // service. AgentLastSeenByServiceDateTime *string // The amount of time that the Recovery Instance has been replicating for. ElapsedReplicationDuration *string // The ID of the failback client that this Recovery Instance is associated with. FailbackClientID *string // The date and time that the failback client was last seen by the service. FailbackClientLastSeenByServiceDateTime *string // The date and time that the failback initiation started. FailbackInitiationTime *string // The Job ID of the last failback log for this Recovery Instance. FailbackJobID *string // The launch type (Recovery / Drill) of the last launch for the failback // replication of this recovery instance. FailbackLaunchType FailbackLaunchType // Whether we are failing back to the original Source Server for this Recovery // Instance. FailbackToOriginalServer *bool // The date and time of the first byte that was replicated from the Recovery // Instance. FirstByteDateTime *string // The state of the failback process that this Recovery Instance is in. State FailbackState // contains filtered or unexported fields }
An object representing failback related information of the Recovery Instance.
type RecoveryInstanceProperties ¶
type RecoveryInstanceProperties struct { // An array of CPUs. Cpus []CPU // An array of disks. Disks []RecoveryInstanceDisk // Hints used to uniquely identify a machine. IdentificationHints *IdentificationHints // The date and time the Recovery Instance properties were last updated on. LastUpdatedDateTime *string // An array of network interfaces. NetworkInterfaces []NetworkInterface // Operating system. Os *OS // The amount of RAM in bytes. RamBytes int64 // contains filtered or unexported fields }
Properties of the Recovery Instance machine.
type RecoveryLifeCycle ¶ added in v1.14.0
type RecoveryLifeCycle struct { // The date and time the last Source Network recovery was initiated. ApiCallDateTime *time.Time // The ID of the Job that was used to last recover the Source Network. JobID *string // The status of the last recovery status of this Source Network. LastRecoveryResult RecoveryResult // contains filtered or unexported fields }
An object representing the Source Network recovery Lifecycle.
type RecoveryResult ¶ added in v1.14.0
type RecoveryResult string
const ( RecoveryResultNotStarted RecoveryResult = "NOT_STARTED" RecoveryResultInProgress RecoveryResult = "IN_PROGRESS" RecoveryResultSuccess RecoveryResult = "SUCCESS" RecoveryResultFail RecoveryResult = "FAIL" RecoveryResultPartialSuccess RecoveryResult = "PARTIAL_SUCCESS" RecoveryResultAssociateSuccess RecoveryResult = "ASSOCIATE_SUCCESS" RecoveryResultAssociateFail RecoveryResult = "ASSOCIATE_FAIL" )
Enum values for RecoveryResult
func (RecoveryResult) Values ¶ added in v1.14.0
func (RecoveryResult) Values() []RecoveryResult
Values returns all known values for RecoveryResult. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type RecoverySnapshot ¶
type RecoverySnapshot struct { // The timestamp of when we expect the snapshot to be taken. // // This member is required. ExpectedTimestamp *string // The ID of the Recovery Snapshot. // // This member is required. SnapshotID *string // The ID of the Source Server that the snapshot was taken for. // // This member is required. SourceServerID *string // A list of EBS snapshots. EbsSnapshots []string // The actual timestamp that the snapshot was taken. Timestamp *string // contains filtered or unexported fields }
A snapshot of a Source Server used during recovery.
type RecoverySnapshotsOrder ¶
type RecoverySnapshotsOrder string
const ( RecoverySnapshotsOrderAsc RecoverySnapshotsOrder = "ASC" RecoverySnapshotsOrderDesc RecoverySnapshotsOrder = "DESC" )
Enum values for RecoverySnapshotsOrder
func (RecoverySnapshotsOrder) Values ¶
func (RecoverySnapshotsOrder) Values() []RecoverySnapshotsOrder
Values returns all known values for RecoverySnapshotsOrder. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationConfigurationDataPlaneRouting ¶
type ReplicationConfigurationDataPlaneRouting string
const ( ReplicationConfigurationDataPlaneRoutingPrivateIp ReplicationConfigurationDataPlaneRouting = "PRIVATE_IP" ReplicationConfigurationDataPlaneRoutingPublicIp ReplicationConfigurationDataPlaneRouting = "PUBLIC_IP" )
Enum values for ReplicationConfigurationDataPlaneRouting
func (ReplicationConfigurationDataPlaneRouting) Values ¶
Values returns all known values for ReplicationConfigurationDataPlaneRouting. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationConfigurationDefaultLargeStagingDiskType ¶
type ReplicationConfigurationDefaultLargeStagingDiskType string
const ( ReplicationConfigurationDefaultLargeStagingDiskTypeGp2 ReplicationConfigurationDefaultLargeStagingDiskType = "GP2" ReplicationConfigurationDefaultLargeStagingDiskTypeGp3 ReplicationConfigurationDefaultLargeStagingDiskType = "GP3" ReplicationConfigurationDefaultLargeStagingDiskTypeSt1 ReplicationConfigurationDefaultLargeStagingDiskType = "ST1" ReplicationConfigurationDefaultLargeStagingDiskTypeAuto ReplicationConfigurationDefaultLargeStagingDiskType = "AUTO" )
Enum values for ReplicationConfigurationDefaultLargeStagingDiskType
func (ReplicationConfigurationDefaultLargeStagingDiskType) Values ¶
func (ReplicationConfigurationDefaultLargeStagingDiskType) Values() []ReplicationConfigurationDefaultLargeStagingDiskType
Values returns all known values for ReplicationConfigurationDefaultLargeStagingDiskType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationConfigurationEbsEncryption ¶
type ReplicationConfigurationEbsEncryption string
const ( ReplicationConfigurationEbsEncryptionDefault ReplicationConfigurationEbsEncryption = "DEFAULT" ReplicationConfigurationEbsEncryptionCustom ReplicationConfigurationEbsEncryption = "CUSTOM" ReplicationConfigurationEbsEncryptionNone ReplicationConfigurationEbsEncryption = "NONE" )
Enum values for ReplicationConfigurationEbsEncryption
func (ReplicationConfigurationEbsEncryption) Values ¶
func (ReplicationConfigurationEbsEncryption) Values() []ReplicationConfigurationEbsEncryption
Values returns all known values for ReplicationConfigurationEbsEncryption. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationConfigurationReplicatedDisk ¶
type ReplicationConfigurationReplicatedDisk struct { // The name of the device. DeviceName *string // The requested number of I/O operations per second (IOPS). Iops int64 // Whether to boot from this disk or not. IsBootDisk *bool // The Staging Disk EBS volume type to be used during replication when // stagingDiskType is set to Auto. This is a read-only field. OptimizedStagingDiskType ReplicationConfigurationReplicatedDiskStagingDiskType // The Staging Disk EBS volume type to be used during replication. StagingDiskType ReplicationConfigurationReplicatedDiskStagingDiskType // The throughput to use for the EBS volume in MiB/s. This parameter is valid only // for gp3 volumes. Throughput int64 // contains filtered or unexported fields }
The configuration of a disk of the Source Server to be replicated.
type ReplicationConfigurationReplicatedDiskStagingDiskType ¶
type ReplicationConfigurationReplicatedDiskStagingDiskType string
const ( ReplicationConfigurationReplicatedDiskStagingDiskTypeAuto ReplicationConfigurationReplicatedDiskStagingDiskType = "AUTO" ReplicationConfigurationReplicatedDiskStagingDiskTypeGp2 ReplicationConfigurationReplicatedDiskStagingDiskType = "GP2" ReplicationConfigurationReplicatedDiskStagingDiskTypeGp3 ReplicationConfigurationReplicatedDiskStagingDiskType = "GP3" ReplicationConfigurationReplicatedDiskStagingDiskTypeIo1 ReplicationConfigurationReplicatedDiskStagingDiskType = "IO1" ReplicationConfigurationReplicatedDiskStagingDiskTypeSc1 ReplicationConfigurationReplicatedDiskStagingDiskType = "SC1" ReplicationConfigurationReplicatedDiskStagingDiskTypeSt1 ReplicationConfigurationReplicatedDiskStagingDiskType = "ST1" ReplicationConfigurationReplicatedDiskStagingDiskTypeStandard ReplicationConfigurationReplicatedDiskStagingDiskType = "STANDARD" )
Enum values for ReplicationConfigurationReplicatedDiskStagingDiskType
func (ReplicationConfigurationReplicatedDiskStagingDiskType) Values ¶
func (ReplicationConfigurationReplicatedDiskStagingDiskType) Values() []ReplicationConfigurationReplicatedDiskStagingDiskType
Values returns all known values for ReplicationConfigurationReplicatedDiskStagingDiskType. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationConfigurationTemplate ¶
type ReplicationConfigurationTemplate struct { // The Replication Configuration Template ID. // // This member is required. ReplicationConfigurationTemplateID *string // The Replication Configuration Template ARN. Arn *string // Whether to associate the default Elastic Disaster Recovery Security group with // the Replication Configuration Template. AssociateDefaultSecurityGroup *bool // Whether to allow the AWS replication agent to automatically replicate newly // added disks. AutoReplicateNewDisks *bool // Configure bandwidth throttling for the outbound data transfer rate of the // Source Server in Mbps. BandwidthThrottling int64 // Whether to create a Public IP for the Recovery Instance by default. CreatePublicIP *bool // The data plane routing mechanism that will be used for replication. DataPlaneRouting ReplicationConfigurationDataPlaneRouting // The Staging Disk EBS volume type to be used during replication. DefaultLargeStagingDiskType ReplicationConfigurationDefaultLargeStagingDiskType // The type of EBS encryption to be used during replication. EbsEncryption ReplicationConfigurationEbsEncryption // The ARN of the EBS encryption key to be used during replication. EbsEncryptionKeyArn *string // The Point in time (PIT) policy to manage snapshots taken during replication. PitPolicy []PITPolicyRule // The instance type to be used for the replication server. ReplicationServerInstanceType *string // The security group IDs that will be used by the replication server. ReplicationServersSecurityGroupsIDs []string // The subnet to be used by the replication staging area. StagingAreaSubnetId *string // A set of tags to be associated with all resources created in the replication // staging area: EC2 replication server, EBS volumes, EBS snapshots, etc. StagingAreaTags map[string]string // A set of tags to be associated with the Replication Configuration Template // resource. Tags map[string]string // Whether to use a dedicated Replication Server in the replication staging area. UseDedicatedReplicationServer *bool // contains filtered or unexported fields }
type ReplicationDirection ¶ added in v1.9.0
type ReplicationDirection string
const ( ReplicationDirectionFailover ReplicationDirection = "FAILOVER" ReplicationDirectionFailback ReplicationDirection = "FAILBACK" )
Enum values for ReplicationDirection
func (ReplicationDirection) Values ¶ added in v1.9.0
func (ReplicationDirection) Values() []ReplicationDirection
Values returns all known values for ReplicationDirection. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ReplicationStatus ¶ added in v1.14.0
type ReplicationStatus string
const ( ReplicationStatusStopped ReplicationStatus = "STOPPED" ReplicationStatusInProgress ReplicationStatus = "IN_PROGRESS" ReplicationStatusProtected ReplicationStatus = "PROTECTED" ReplicationStatusError ReplicationStatus = "ERROR" )
Enum values for ReplicationStatus
func (ReplicationStatus) Values ¶ added in v1.14.0
func (ReplicationStatus) Values() []ReplicationStatus
Values returns all known values for ReplicationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string Code *string ResourceId *string ResourceType *string // contains filtered or unexported fields }
The resource for this operation was not found.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string Code *string ResourceId *string ResourceType *string ServiceCode *string QuotaCode *string // contains filtered or unexported fields }
The request could not be completed because its exceeded the service quota.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type SourceCloudProperties ¶ added in v1.9.0
type SourceCloudProperties struct { // AWS Account ID for an EC2-originated Source Server. OriginAccountID *string // AWS Availability Zone for an EC2-originated Source Server. OriginAvailabilityZone *string // AWS Region for an EC2-originated Source Server. OriginRegion *string // The ARN of the source Outpost SourceOutpostArn *string // contains filtered or unexported fields }
Properties of the cloud environment where this Source Server originated from.
type SourceNetwork ¶ added in v1.14.0
type SourceNetwork struct { // The ARN of the Source Network. Arn *string // CloudFormation stack name that was deployed for recovering the Source Network. CfnStackName *string // An object containing information regarding the last recovery of the Source // Network. LastRecovery *RecoveryLifeCycle // ID of the recovered VPC following Source Network recovery. LaunchedVpcID *string // Status of Source Network Replication. Possible values: (a) STOPPED - Source // Network is not replicating. (b) IN_PROGRESS - Source Network is being // replicated. (c) PROTECTED - Source Network was replicated successfully and is // being synchronized for changes. (d) ERROR - Source Network replication has // failed ReplicationStatus ReplicationStatus // Error details in case Source Network replication status is ERROR. ReplicationStatusDetails *string // Account ID containing the VPC protected by the Source Network. SourceAccountID *string // Source Network ID. SourceNetworkID *string // Region containing the VPC protected by the Source Network. SourceRegion *string // VPC ID protected by the Source Network. SourceVpcID *string // A list of tags associated with the Source Network. Tags map[string]string // contains filtered or unexported fields }
The ARN of the Source Network.
type SourceNetworkData ¶ added in v1.14.0
type SourceNetworkData struct { // Source Network ID. SourceNetworkID *string // VPC ID protected by the Source Network. SourceVpc *string // CloudFormation stack name that was deployed for recovering the Source Network. StackName *string // ID of the recovered VPC following Source Network recovery. TargetVpc *string // contains filtered or unexported fields }
Properties of Source Network related to a job event.
type SourceProperties ¶
type SourceProperties struct { // An array of CPUs. Cpus []CPU // An array of disks. Disks []Disk // Hints used to uniquely identify a machine. IdentificationHints *IdentificationHints // The date and time the Source Properties were last updated on. LastUpdatedDateTime *string // An array of network interfaces. NetworkInterfaces []NetworkInterface // Operating system. Os *OS // The amount of RAM in bytes. RamBytes int64 // The recommended EC2 instance type that will be used when recovering the Source // Server. RecommendedInstanceType *string // Are EC2 nitro instance types supported when recovering the Source Server. SupportsNitroInstances *bool // contains filtered or unexported fields }
Properties of the Source Server machine.
type SourceServer ¶
type SourceServer struct { // The version of the DRS agent installed on the source server AgentVersion *string // The ARN of the Source Server. Arn *string // The Data Replication Info of the Source Server. DataReplicationInfo *DataReplicationInfo // The status of the last recovery launch of this Source Server. LastLaunchResult LastLaunchResult // The lifecycle information of this Source Server. LifeCycle *LifeCycle // The ID of the Recovery Instance associated with this Source Server. RecoveryInstanceId *string // Replication direction of the Source Server. ReplicationDirection ReplicationDirection // For EC2-originated Source Servers which have been failed over and then failed // back, this value will mean the ARN of the Source Server on the opposite // replication direction. ReversedDirectionSourceServerArn *string // Source cloud properties of the Source Server. SourceCloudProperties *SourceCloudProperties // ID of the Source Network which is protecting this Source Server's network. SourceNetworkID *string // The source properties of the Source Server. SourceProperties *SourceProperties // The ID of the Source Server. SourceServerID *string // The staging area of the source server. StagingArea *StagingArea // The tags associated with the Source Server. Tags map[string]string // contains filtered or unexported fields }
type StagingArea ¶ added in v1.6.0
type StagingArea struct { // Shows an error message that occurred when DRS tried to access the staging // source server. In this case StagingArea$status will have value EXTENSION_ERROR ErrorMessage *string // Account ID of the account to which source server belongs. If this source server // is extended - shows Account ID of staging source server. StagingAccountID *string // Arn of the staging source server if this source server is extended StagingSourceServerArn *string // Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is // a source server that is replicating in the current account. (b) EXTENDED - // Source server is extended from a staging source server. In this case, the value // of stagingSourceServerArn is pointing to the Arn of the source server in the // staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing // staging source server. In this case, errorMessage field will contain an error // message that explains what happened. Status ExtensionStatus // contains filtered or unexported fields }
Staging information related to source server.
type StagingSourceServer ¶ added in v1.6.0
type StagingSourceServer struct { // The ARN of the source server. Arn *string // Hostname of staging source server. Hostname *string // A list of tags associated with the staging source server. Tags map[string]string // contains filtered or unexported fields }
Source server in staging account that extended source server connected to.
type StartRecoveryRequestSourceServer ¶
type StartRecoveryRequestSourceServer struct { // The ID of the Source Server you want to recover. // // This member is required. SourceServerID *string // The ID of a Recovery Snapshot we want to recover from. Omit this field to // launch from the latest data by taking an on-demand snapshot. RecoverySnapshotID *string // contains filtered or unexported fields }
An object representing the Source Server to recover.
type StartSourceNetworkRecoveryRequestNetworkEntry ¶ added in v1.14.0
type StartSourceNetworkRecoveryRequestNetworkEntry struct { // The ID of the Source Network you want to recover. // // This member is required. SourceNetworkID *string // CloudFormation stack name to be used for recovering the network. CfnStackName *string // contains filtered or unexported fields }
An object representing the Source Network to recover.
type TargetInstanceTypeRightSizingMethod ¶
type TargetInstanceTypeRightSizingMethod string
const ( TargetInstanceTypeRightSizingMethodNone TargetInstanceTypeRightSizingMethod = "NONE" TargetInstanceTypeRightSizingMethodBasic TargetInstanceTypeRightSizingMethod = "BASIC" TargetInstanceTypeRightSizingMethodInAws TargetInstanceTypeRightSizingMethod = "IN_AWS" )
Enum values for TargetInstanceTypeRightSizingMethod
func (TargetInstanceTypeRightSizingMethod) Values ¶
func (TargetInstanceTypeRightSizingMethod) Values() []TargetInstanceTypeRightSizingMethod
Values returns all known values for TargetInstanceTypeRightSizingMethod. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string ServiceCode *string QuotaCode *string RetryAfterSeconds *string // contains filtered or unexported fields }
The request was denied due to request throttling.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
type UninitializedAccountException ¶
type UninitializedAccountException struct { Message *string ErrorCodeOverride *string Code *string // contains filtered or unexported fields }
The account performing the request has not been initialized.
func (*UninitializedAccountException) Error ¶
func (e *UninitializedAccountException) Error() string
func (*UninitializedAccountException) ErrorCode ¶
func (e *UninitializedAccountException) ErrorCode() string
func (*UninitializedAccountException) ErrorFault ¶
func (e *UninitializedAccountException) ErrorFault() smithy.ErrorFault
func (*UninitializedAccountException) ErrorMessage ¶
func (e *UninitializedAccountException) ErrorMessage() string
type UnknownUnionMember ¶ added in v1.14.0
type UnknownUnionMember struct { Tag string Value []byte // contains filtered or unexported fields }
UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string Code *string Reason ValidationExceptionReason FieldList []ValidationExceptionField // contains filtered or unexported fields }
The input fails to satisfy the constraints specified by the AWS service.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
type ValidationExceptionField ¶
type ValidationExceptionField struct { // Validate exception field message. Message *string // Validate exception field name. Name *string // contains filtered or unexported fields }
Validate exception field.
type ValidationExceptionReason ¶
type ValidationExceptionReason string
const ( ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "unknownOperation" ValidationExceptionReasonCannotParse ValidationExceptionReason = "cannotParse" ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed" ValidationExceptionReasonOther ValidationExceptionReason = "other" )
Enum values for ValidationExceptionReason
func (ValidationExceptionReason) Values ¶
func (ValidationExceptionReason) Values() []ValidationExceptionReason
Values returns all known values for ValidationExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.
type VolumeStatus ¶ added in v1.25.0
type VolumeStatus string
const ( VolumeStatusRegular VolumeStatus = "REGULAR" VolumeStatusContainsMarketplaceProductCodes VolumeStatus = "CONTAINS_MARKETPLACE_PRODUCT_CODES" VolumeStatusMissingVolumeAttributes VolumeStatus = "MISSING_VOLUME_ATTRIBUTES" VolumeStatusPending VolumeStatus = "PENDING" )
Enum values for VolumeStatus
func (VolumeStatus) Values ¶ added in v1.25.0
func (VolumeStatus) Values() []VolumeStatus
Values returns all known values for VolumeStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.
The ordering of this slice is not guaranteed to be stable across updates.