types

package
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLaunchStatus

type AppLaunchStatus string
const (
	AppLaunchStatusReadyforconfiguration   AppLaunchStatus = "READY_FOR_CONFIGURATION"
	AppLaunchStatusConfigurationinprogress AppLaunchStatus = "CONFIGURATION_IN_PROGRESS"
	AppLaunchStatusConfigurationinvalid    AppLaunchStatus = "CONFIGURATION_INVALID"
	AppLaunchStatusReadyforlaunch          AppLaunchStatus = "READY_FOR_LAUNCH"
	AppLaunchStatusValidationinprogress    AppLaunchStatus = "VALIDATION_IN_PROGRESS"
	AppLaunchStatusLaunchpending           AppLaunchStatus = "LAUNCH_PENDING"
	AppLaunchStatusLaunchinprogress        AppLaunchStatus = "LAUNCH_IN_PROGRESS"
	AppLaunchStatusLaunched                AppLaunchStatus = "LAUNCHED"
	AppLaunchStatusDeltalaunchinprogress   AppLaunchStatus = "DELTA_LAUNCH_IN_PROGRESS"
	AppLaunchStatusDeltalaunchfailed       AppLaunchStatus = "DELTA_LAUNCH_FAILED"
	AppLaunchStatusLaunchfailed            AppLaunchStatus = "LAUNCH_FAILED"
	AppLaunchStatusTerminateinprogress     AppLaunchStatus = "TERMINATE_IN_PROGRESS"
	AppLaunchStatusTerminatefailed         AppLaunchStatus = "TERMINATE_FAILED"
	AppLaunchStatusTerminated              AppLaunchStatus = "TERMINATED"
)

Enum values for AppLaunchStatus

type AppReplicationStatus

type AppReplicationStatus string
const (
	AppReplicationStatusReadyforconfiguration      AppReplicationStatus = "READY_FOR_CONFIGURATION"
	AppReplicationStatusConfigurationinprogress    AppReplicationStatus = "CONFIGURATION_IN_PROGRESS"
	AppReplicationStatusConfigurationinvalid       AppReplicationStatus = "CONFIGURATION_INVALID"
	AppReplicationStatusReadyforreplication        AppReplicationStatus = "READY_FOR_REPLICATION"
	AppReplicationStatusValidationinprogress       AppReplicationStatus = "VALIDATION_IN_PROGRESS"
	AppReplicationStatusReplicationpending         AppReplicationStatus = "REPLICATION_PENDING"
	AppReplicationStatusReplicationinprogress      AppReplicationStatus = "REPLICATION_IN_PROGRESS"
	AppReplicationStatusReplicated                 AppReplicationStatus = "REPLICATED"
	AppReplicationStatusDeltareplicationinprogress AppReplicationStatus = "DELTA_REPLICATION_IN_PROGRESS"
	AppReplicationStatusDeltareplicated            AppReplicationStatus = "DELTA_REPLICATED"
	AppReplicationStatusDeltareplicationfailed     AppReplicationStatus = "DELTA_REPLICATION_FAILED"
	AppReplicationStatusReplicationfailed          AppReplicationStatus = "REPLICATION_FAILED"
	AppReplicationStatusReplicationstopping        AppReplicationStatus = "REPLICATION_STOPPING"
	AppReplicationStatusReplicationstopfailed      AppReplicationStatus = "REPLICATION_STOP_FAILED"
	AppReplicationStatusReplicationstopped         AppReplicationStatus = "REPLICATION_STOPPED"
)

Enum values for AppReplicationStatus

type AppStatus

type AppStatus string
const (
	AppStatusCreating      AppStatus = "CREATING"
	AppStatusActive        AppStatus = "ACTIVE"
	AppStatusUpdating      AppStatus = "UPDATING"
	AppStatusDeleting      AppStatus = "DELETING"
	AppStatusDeleted       AppStatus = "DELETED"
	AppStatusDelete_failed AppStatus = "DELETE_FAILED"
)

Enum values for AppStatus

type AppSummary

type AppSummary struct {

	// Unique ID of the application.
	AppId *string

	// Time of creation of this application.
	CreationTime *time.Time

	// Description of the application.
	Description *string

	// Timestamp of the application's creation.
	LastModified *time.Time

	// Timestamp of the application's most recent successful replication.
	LatestReplicationTime *time.Time

	// Details about the latest launch of the application.
	LaunchDetails *LaunchDetails

	// Launch status of the application.
	LaunchStatus AppLaunchStatus

	// A message related to the launch status of the application.
	LaunchStatusMessage *string

	// Name of the application.
	Name *string

	// Replication status of the application.
	ReplicationStatus AppReplicationStatus

	// A message related to the replication status of the application.
	ReplicationStatusMessage *string

	// Name of the service role in the customer's account used by AWS SMS.
	RoleName *string

	// Status of the application.
	Status AppStatus

	// A message related to the status of the application
	StatusMessage *string

	// Number of server groups present in the application.
	TotalServerGroups *int32

	// Number of servers present in the application.
	TotalServers *int32
}

Information about the application.

type Connector

type Connector struct {

	// The time the connector was associated.
	AssociatedOn *time.Time

	// The capabilities of the connector.
	CapabilityList []ConnectorCapability

	// The identifier of the connector.
	ConnectorId *string

	// The IP address of the connector.
	IpAddress *string

	// The MAC address of the connector.
	MacAddress *string

	// The status of the connector.
	Status ConnectorStatus

	// The connector version.
	Version *string

	// The identifier of the VM manager.
	VmManagerId *string

	// The name of the VM manager.
	VmManagerName *string

	// The VM management product.
	VmManagerType VmManagerType
}

Represents a connector.

type ConnectorCapability

type ConnectorCapability string
const (
	ConnectorCapabilityVsphere          ConnectorCapability = "VSPHERE"
	ConnectorCapabilityScvmm            ConnectorCapability = "SCVMM"
	ConnectorCapabilityHypervmanager    ConnectorCapability = "HYPERV-MANAGER"
	ConnectorCapabilitySnapshotbatching ConnectorCapability = "SNAPSHOT_BATCHING"
)

Enum values for ConnectorCapability

type ConnectorStatus

type ConnectorStatus string
const (
	ConnectorStatusHealthy   ConnectorStatus = "HEALTHY"
	ConnectorStatusUnhealthy ConnectorStatus = "UNHEALTHY"
)

Enum values for ConnectorStatus

type InternalError

type InternalError struct {
	Message *string
}

An internal error occurred.

func (*InternalError) Error

func (e *InternalError) Error() string

func (*InternalError) ErrorCode

func (e *InternalError) ErrorCode() string

func (*InternalError) ErrorFault

func (e *InternalError) ErrorFault() smithy.ErrorFault

func (*InternalError) ErrorMessage

func (e *InternalError) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string
}

A specified parameter is not valid.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type LaunchDetails

type LaunchDetails struct {

	// Latest time this application was launched successfully.
	LatestLaunchTime *time.Time

	// Identifier of the latest stack launched for this application.
	StackId *string

	// Name of the latest stack launched for this application.
	StackName *string
}

Details about the latest launch of an application.

type LicenseType

type LicenseType string
const (
	LicenseTypeAws  LicenseType = "AWS"
	LicenseTypeByol LicenseType = "BYOL"
)

Enum values for LicenseType

type MissingRequiredParameterException

type MissingRequiredParameterException struct {
	Message *string
}

A required parameter is missing.

func (*MissingRequiredParameterException) Error

func (*MissingRequiredParameterException) ErrorCode

func (*MissingRequiredParameterException) ErrorFault

func (*MissingRequiredParameterException) ErrorMessage

func (e *MissingRequiredParameterException) ErrorMessage() string

type NoConnectorsAvailableException

type NoConnectorsAvailableException struct {
	Message *string
}

There are no connectors available.

func (*NoConnectorsAvailableException) Error

func (*NoConnectorsAvailableException) ErrorCode

func (e *NoConnectorsAvailableException) ErrorCode() string

func (*NoConnectorsAvailableException) ErrorFault

func (*NoConnectorsAvailableException) ErrorMessage

func (e *NoConnectorsAvailableException) ErrorMessage() string

type OperationNotPermittedException

type OperationNotPermittedException struct {
	Message *string
}

This operation is not allowed.

func (*OperationNotPermittedException) Error

func (*OperationNotPermittedException) ErrorCode

func (e *OperationNotPermittedException) ErrorCode() string

func (*OperationNotPermittedException) ErrorFault

func (*OperationNotPermittedException) ErrorMessage

func (e *OperationNotPermittedException) ErrorMessage() string

type OutputFormat

type OutputFormat string
const (
	OutputFormatJson OutputFormat = "JSON"
	OutputFormatYaml OutputFormat = "YAML"
)

Enum values for OutputFormat

type ReplicationJob

type ReplicationJob struct {

	// The description of the replication job.
	Description *string

	// Whether the replication job should produce encrypted AMIs or not. See also
	// KmsKeyId below.
	Encrypted *bool

	// The time between consecutive replication runs, in hours.
	Frequency *int32

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the
	// following:
	//
	//     * KMS key ID
	//
	//     * KMS key alias
	//
	//     * ARN referring to KMS
	// key ID
	//
	//     * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key
	// id is not specified, the customer's default KMS key for EBS is used.
	KmsKeyId *string

	// The ID of the latest Amazon Machine Image (AMI).
	LatestAmiId *string

	// The license type to be used for the AMI created by a successful replication run.
	LicenseType LicenseType

	// The start time of the next replication run.
	NextReplicationRunStartTime *time.Time

	// Number of recent AMIs to keep in the customer's account for a replication job.
	// By default the value is set to zero, meaning that all AMIs are kept.
	NumberOfRecentAmisToKeep *int32

	// The identifier of the replication job.
	ReplicationJobId *string

	// Information about the replication runs.
	ReplicationRunList []*ReplicationRun

	// The name of the IAM role to be used by the Server Migration Service.
	RoleName *string

	//
	RunOnce *bool

	// The seed replication time.
	SeedReplicationTime *time.Time

	// The identifier of the server.
	ServerId *string

	// The type of server.
	ServerType ServerType

	// The state of the replication job.
	State ReplicationJobState

	// The description of the current status of the replication job.
	StatusMessage *string

	// Information about the VM server.
	VmServer *VmServer
}

Represents a replication job.

type ReplicationJobAlreadyExistsException

type ReplicationJobAlreadyExistsException struct {
	Message *string
}

The specified replication job already exists.

func (*ReplicationJobAlreadyExistsException) Error

func (*ReplicationJobAlreadyExistsException) ErrorCode

func (*ReplicationJobAlreadyExistsException) ErrorFault

func (*ReplicationJobAlreadyExistsException) ErrorMessage

func (e *ReplicationJobAlreadyExistsException) ErrorMessage() string

type ReplicationJobNotFoundException

type ReplicationJobNotFoundException struct {
	Message *string
}

The specified replication job does not exist.

func (*ReplicationJobNotFoundException) Error

func (*ReplicationJobNotFoundException) ErrorCode

func (e *ReplicationJobNotFoundException) ErrorCode() string

func (*ReplicationJobNotFoundException) ErrorFault

func (*ReplicationJobNotFoundException) ErrorMessage

func (e *ReplicationJobNotFoundException) ErrorMessage() string

type ReplicationJobState

type ReplicationJobState string
const (
	ReplicationJobStatePending         ReplicationJobState = "PENDING"
	ReplicationJobStateActive          ReplicationJobState = "ACTIVE"
	ReplicationJobStateFailed          ReplicationJobState = "FAILED"
	ReplicationJobStateDeleting        ReplicationJobState = "DELETING"
	ReplicationJobStateDeleted         ReplicationJobState = "DELETED"
	ReplicationJobStateCompleted       ReplicationJobState = "COMPLETED"
	ReplicationJobStatePausedonfailure ReplicationJobState = "PAUSED_ON_FAILURE"
	ReplicationJobStateFailing         ReplicationJobState = "FAILING"
)

Enum values for ReplicationJobState

type ReplicationRun

type ReplicationRun struct {

	// The identifier of the Amazon Machine Image (AMI) from the replication run.
	AmiId *string

	// The completion time of the last replication run.
	CompletedTime *time.Time

	// The description of the replication run.
	Description *string

	// Whether the replication run should produce encrypted AMI or not. See also
	// KmsKeyId below.
	Encrypted *bool

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the
	// following:
	//
	//     * KMS key ID
	//
	//     * KMS key alias
	//
	//     * ARN referring to KMS
	// key ID
	//
	//     * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key
	// id is not specified, the customer's default KMS key for EBS is used.
	KmsKeyId *string

	// The identifier of the replication run.
	ReplicationRunId *string

	// The start time of the next replication run.
	ScheduledStartTime *time.Time

	// Details of the current stage of the replication run.
	StageDetails *ReplicationRunStageDetails

	// The state of the replication run.
	State ReplicationRunState

	// The description of the current status of the replication job.
	StatusMessage *string

	// The type of replication run.
	Type ReplicationRunType
}

Represents a replication run.

type ReplicationRunLimitExceededException

type ReplicationRunLimitExceededException struct {
	Message *string
}

You have exceeded the number of on-demand replication runs you can request in a 24-hour period.

func (*ReplicationRunLimitExceededException) Error

func (*ReplicationRunLimitExceededException) ErrorCode

func (*ReplicationRunLimitExceededException) ErrorFault

func (*ReplicationRunLimitExceededException) ErrorMessage

func (e *ReplicationRunLimitExceededException) ErrorMessage() string

type ReplicationRunStageDetails

type ReplicationRunStageDetails struct {

	// String describing the current stage of a replication run.
	Stage *string

	// String describing the progress of the current stage of a replication run.
	StageProgress *string
}

Details of the current stage of a replication run.

type ReplicationRunState

type ReplicationRunState string
const (
	ReplicationRunStatePending   ReplicationRunState = "PENDING"
	ReplicationRunStateMissed    ReplicationRunState = "MISSED"
	ReplicationRunStateActive    ReplicationRunState = "ACTIVE"
	ReplicationRunStateFailed    ReplicationRunState = "FAILED"
	ReplicationRunStateCompleted ReplicationRunState = "COMPLETED"
	ReplicationRunStateDeleting  ReplicationRunState = "DELETING"
	ReplicationRunStateDeleted   ReplicationRunState = "DELETED"
)

Enum values for ReplicationRunState

type ReplicationRunType

type ReplicationRunType string
const (
	ReplicationRunTypeOndemand  ReplicationRunType = "ON_DEMAND"
	ReplicationRunTypeAutomatic ReplicationRunType = "AUTOMATIC"
)

Enum values for ReplicationRunType

type S3Location

type S3Location struct {

	// Amazon S3 bucket name.
	Bucket *string

	// Amazon S3 bucket key.
	Key *string
}

Location of the Amazon S3 object in the customer's account.

type Server

type Server struct {

	// The identifier of the replication job.
	ReplicationJobId *string

	// Indicates whether the replication job is deleted or failed.
	ReplicationJobTerminated *bool

	// The identifier of the server.
	ServerId *string

	// The type of server.
	ServerType ServerType

	// Information about the VM server.
	VmServer *VmServer
}

Represents a server.

type ServerCannotBeReplicatedException

type ServerCannotBeReplicatedException struct {
	Message *string
}

The specified server cannot be replicated.

func (*ServerCannotBeReplicatedException) Error

func (*ServerCannotBeReplicatedException) ErrorCode

func (*ServerCannotBeReplicatedException) ErrorFault

func (*ServerCannotBeReplicatedException) ErrorMessage

func (e *ServerCannotBeReplicatedException) ErrorMessage() string

type ServerCatalogStatus

type ServerCatalogStatus string
const (
	ServerCatalogStatusNotimported ServerCatalogStatus = "NOT_IMPORTED"
	ServerCatalogStatusImporting   ServerCatalogStatus = "IMPORTING"
	ServerCatalogStatusAvailable   ServerCatalogStatus = "AVAILABLE"
	ServerCatalogStatusDeleted     ServerCatalogStatus = "DELETED"
	ServerCatalogStatusExpired     ServerCatalogStatus = "EXPIRED"
)

Enum values for ServerCatalogStatus

type ServerGroup

type ServerGroup struct {

	// Name of a server group.
	Name *string

	// Identifier of a server group.
	ServerGroupId *string

	// List of servers belonging to a server group.
	ServerList []*Server
}

A logical grouping of servers.

type ServerGroupLaunchConfiguration

type ServerGroupLaunchConfiguration struct {

	// Launch order of servers in the server group.
	LaunchOrder *int32

	// Identifier of the server group the launch configuration is associated with.
	ServerGroupId *string

	// Launch configuration for servers in the server group.
	ServerLaunchConfigurations []*ServerLaunchConfiguration
}

Launch configuration for a server group.

type ServerGroupReplicationConfiguration

type ServerGroupReplicationConfiguration struct {

	// Identifier of the server group this replication configuration is associated
	// with.
	ServerGroupId *string

	// Replication configuration for servers in the server group.
	ServerReplicationConfigurations []*ServerReplicationConfiguration
}

Replication configuration for a server group.

type ServerLaunchConfiguration

type ServerLaunchConfiguration struct {

	// If true, a publicly accessible IP address is created when launching the server.
	AssociatePublicIpAddress *bool

	// Name of the EC2 SSH Key to be used for connecting to the launched server.
	Ec2KeyName *string

	// Instance type to be used for launching the server.
	InstanceType *string

	// Logical ID of the server in the Amazon CloudFormation template.
	LogicalId *string

	// Identifier of the security group that applies to the launched server.
	SecurityGroup *string

	// Identifier of the server the launch configuration is associated with.
	Server *Server

	// Identifier of the subnet the server should be launched into.
	Subnet *string

	// Location of the user-data script to be executed when launching the server.
	UserData *UserData

	// Identifier of the VPC the server should be launched into.
	Vpc *string
}

Launch configuration for a server.

type ServerReplicationConfiguration

type ServerReplicationConfiguration struct {

	// Identifier of the server this replication configuration is associated with.
	Server *Server

	// Parameters for replicating the server.
	ServerReplicationParameters *ServerReplicationParameters
}

Replication configuration of a server.

type ServerReplicationParameters

type ServerReplicationParameters struct {

	// When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
	Encrypted *bool

	// Frequency of creating replication jobs for the server.
	Frequency *int32

	// KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the
	// following:
	//
	//     * KMS key ID
	//
	//     * KMS key alias
	//
	//     * ARN referring to KMS
	// key ID
	//
	//     * ARN referring to KMS key alias
	//
	// If encrypted is true but a KMS key
	// id is not specified, the customer's default KMS key for EBS is used.
	KmsKeyId *string

	// License type for creating a replication job for the server.
	LicenseType LicenseType

	// Number of recent AMIs to keep when creating a replication job for this server.
	NumberOfRecentAmisToKeep *int32

	//
	RunOnce *bool

	// Seed time for creating a replication job for the server.
	SeedTime *time.Time
}

Replication parameters for replicating a server.

type ServerType

type ServerType string
const (
	ServerTypeVirtualmachine ServerType = "VIRTUAL_MACHINE"
)

Enum values for ServerType

type Tag

type Tag struct {

	// Tag key.
	Key *string

	// Tag value.
	Value *string
}

A label that can be assigned to an application.

type TemporarilyUnavailableException

type TemporarilyUnavailableException struct {
	Message *string
}

The service is temporarily unavailable.

func (*TemporarilyUnavailableException) Error

func (*TemporarilyUnavailableException) ErrorCode

func (e *TemporarilyUnavailableException) ErrorCode() string

func (*TemporarilyUnavailableException) ErrorFault

func (*TemporarilyUnavailableException) ErrorMessage

func (e *TemporarilyUnavailableException) ErrorMessage() string

type UnauthorizedOperationException

type UnauthorizedOperationException struct {
	Message *string
}

You lack permissions needed to perform this operation. Check your IAM policies, and ensure that you are using the correct access keys.

func (*UnauthorizedOperationException) Error

func (*UnauthorizedOperationException) ErrorCode

func (e *UnauthorizedOperationException) ErrorCode() string

func (*UnauthorizedOperationException) ErrorFault

func (*UnauthorizedOperationException) ErrorMessage

func (e *UnauthorizedOperationException) ErrorMessage() string

type UserData

type UserData struct {

	// Amazon S3 location of the user-data script.
	S3Location *S3Location
}

A script that runs on first launch of an Amazon EC2 instance. Used for configuring the server during launch.

type VmManagerType

type VmManagerType string
const (
	VmManagerTypeVsphere       VmManagerType = "VSPHERE"
	VmManagerTypeScvmm         VmManagerType = "SCVMM"
	VmManagerTypeHypervmanager VmManagerType = "HYPERV-MANAGER"
)

Enum values for VmManagerType

type VmServer

type VmServer struct {

	// The name of the VM manager.
	VmManagerName *string

	// The type of VM management product.
	VmManagerType VmManagerType

	// The name of the VM.
	VmName *string

	// The VM folder path in the vCenter Server virtual machine inventory tree.
	VmPath *string

	// Information about the VM server location.
	VmServerAddress *VmServerAddress
}

Represents a VM server.

type VmServerAddress

type VmServerAddress struct {

	// The identifier of the VM.
	VmId *string

	// The identifier of the VM manager.
	VmManagerId *string
}

Represents a VM server location.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL