types

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 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 AccessDeniedException

type AccessDeniedException struct {
	Message *string
}

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 ApplicationState

type ApplicationState struct {

	// The configurationId from the Application Discovery Service that uniquely
	// identifies an application.
	ApplicationId *string

	// The current status of an application.
	ApplicationStatus ApplicationStatus

	// The timestamp when the application status was last updated.
	LastUpdatedTime *time.Time
}

The state of an application discovered through Migration Hub import, the AWS Agentless Discovery Connector, or the AWS Application Discovery Agent.

type ApplicationStatus

type ApplicationStatus string
const (
	ApplicationStatusNotStarted ApplicationStatus = "NOT_STARTED"
	ApplicationStatusInProgress ApplicationStatus = "IN_PROGRESS"
	ApplicationStatusCompleted  ApplicationStatus = "COMPLETED"
)

Enum values for ApplicationStatus

func (ApplicationStatus) Values added in v0.29.0

Values returns all known values for ApplicationStatus. 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 CreatedArtifact

type CreatedArtifact struct {

	// An ARN that uniquely identifies the result of a migration task.
	//
	// This member is required.
	Name *string

	// A description that can be free-form text to record additional detail about the
	// artifact for clarity or for later reference.
	Description *string
}

An ARN of the AWS cloud resource target receiving the migration (e.g., AMI, EC2 instance, RDS instance, etc.).

type DiscoveredResource

type DiscoveredResource struct {

	// The configurationId in Application Discovery Service that uniquely identifies
	// the on-premise resource.
	//
	// This member is required.
	ConfigurationId *string

	// A description that can be free-form text to record additional detail about the
	// discovered resource for clarity or later reference.
	Description *string
}

Object representing the on-premises resource being migrated.

type DryRunOperation

type DryRunOperation struct {
	Message *string
}

Exception raised to indicate a successfully authorized action when the DryRun flag is set to "true".

func (*DryRunOperation) Error

func (e *DryRunOperation) Error() string

func (*DryRunOperation) ErrorCode

func (e *DryRunOperation) ErrorCode() string

func (*DryRunOperation) ErrorFault

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

func (*DryRunOperation) ErrorMessage

func (e *DryRunOperation) ErrorMessage() string

type HomeRegionNotSetException

type HomeRegionNotSetException struct {
	Message *string
}

The home region is not set. Set the home region to continue.

func (*HomeRegionNotSetException) Error

func (e *HomeRegionNotSetException) Error() string

func (*HomeRegionNotSetException) ErrorCode

func (e *HomeRegionNotSetException) ErrorCode() string

func (*HomeRegionNotSetException) ErrorFault

func (*HomeRegionNotSetException) ErrorMessage

func (e *HomeRegionNotSetException) ErrorMessage() string

type InternalServerError

type InternalServerError struct {
	Message *string
}

Exception raised when an internal, configuration, or dependency error is encountered.

func (*InternalServerError) Error

func (e *InternalServerError) Error() string

func (*InternalServerError) ErrorCode

func (e *InternalServerError) ErrorCode() string

func (*InternalServerError) ErrorFault

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

func (*InternalServerError) ErrorMessage

func (e *InternalServerError) ErrorMessage() string

type InvalidInputException

type InvalidInputException struct {
	Message *string
}

Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.

func (*InvalidInputException) Error

func (e *InvalidInputException) Error() string

func (*InvalidInputException) ErrorCode

func (e *InvalidInputException) ErrorCode() string

func (*InvalidInputException) ErrorFault

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

func (*InvalidInputException) ErrorMessage

func (e *InvalidInputException) ErrorMessage() string

type MigrationTask

type MigrationTask struct {

	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string

	// A name that identifies the vendor of the migration tool being used.
	ProgressUpdateStream *string

	// Information about the resource that is being migrated. This data will be used to
	// map the task to a resource in the Application Discovery Service repository.
	ResourceAttributeList []ResourceAttribute

	// Task object encapsulating task information.
	Task *Task

	// The timestamp when the task was gathered.
	UpdateDateTime *time.Time
}

Represents a migration task in a migration tool.

type MigrationTaskSummary

type MigrationTaskSummary struct {

	// Unique identifier that references the migration task. Do not store personal data
	// in this field.
	MigrationTaskName *string

	// Indication of the percentage completion of the task.
	ProgressPercent *int32

	// An AWS resource used for access control. It should uniquely identify the
	// migration tool as it is used for all updates made by the tool.
	ProgressUpdateStream *string

	// Status of the task.
	Status Status

	// Detail information of what is being done within the overall status state.
	StatusDetail *string

	// The timestamp when the task was gathered.
	UpdateDateTime *time.Time
}

MigrationTaskSummary includes MigrationTaskName, ProgressPercent, ProgressUpdateStream, Status, and UpdateDateTime for each task.

type PolicyErrorException

type PolicyErrorException struct {
	Message *string
}

Exception raised when there are problems accessing Application Discovery Service (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.

func (*PolicyErrorException) Error

func (e *PolicyErrorException) Error() string

func (*PolicyErrorException) ErrorCode

func (e *PolicyErrorException) ErrorCode() string

func (*PolicyErrorException) ErrorFault

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

func (*PolicyErrorException) ErrorMessage

func (e *PolicyErrorException) ErrorMessage() string

type ProgressUpdateStreamSummary

type ProgressUpdateStreamSummary struct {

	// The name of the ProgressUpdateStream. Do not store personal data in this field.
	ProgressUpdateStreamName *string
}

Summary of the AWS resource used for access control that is implicitly linked to your AWS account.

type ResourceAttribute

type ResourceAttribute struct {

	// Type of resource.
	//
	// This member is required.
	Type ResourceAttributeType

	// Value of the resource type.
	//
	// This member is required.
	Value *string
}

Attribute associated with a resource. Note the corresponding format required per type listed below: IPV4 x.x.x.x where x is an integer in the range [0,255] IPV6 y : y : y : y : y : y : y : y where y is a hexadecimal between 0 and FFFF. [0, FFFF] MAC_ADDRESS ^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ FQDN ^[^<>{}\\/?,=\p{Cntrl}]{1,256}$

type ResourceAttributeType

type ResourceAttributeType string
const (
	ResourceAttributeTypeIpv4Address              ResourceAttributeType = "IPV4_ADDRESS"
	ResourceAttributeTypeIpv6Address              ResourceAttributeType = "IPV6_ADDRESS"
	ResourceAttributeTypeMacAddress               ResourceAttributeType = "MAC_ADDRESS"
	ResourceAttributeTypeFqdn                     ResourceAttributeType = "FQDN"
	ResourceAttributeTypeVmManagerId              ResourceAttributeType = "VM_MANAGER_ID"
	ResourceAttributeTypeVmManagedObjectReference ResourceAttributeType = "VM_MANAGED_OBJECT_REFERENCE"
	ResourceAttributeTypeVmName                   ResourceAttributeType = "VM_NAME"
	ResourceAttributeTypeVmPath                   ResourceAttributeType = "VM_PATH"
	ResourceAttributeTypeBiosId                   ResourceAttributeType = "BIOS_ID"
	ResourceAttributeTypeMotherboardSerialNumber  ResourceAttributeType = "MOTHERBOARD_SERIAL_NUMBER"
)

Enum values for ResourceAttributeType

func (ResourceAttributeType) Values added in v0.29.0

Values returns all known values for ResourceAttributeType. 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
}

Exception raised when the request references a resource (Application Discovery Service configuration, update stream, migration task, etc.) that does not exist in Application Discovery Service (Application Discovery Service) or in Migration Hub's repository.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ServiceUnavailableException

type ServiceUnavailableException struct {
	Message *string
}

Exception raised when there is an internal, configuration, or dependency error encountered.

func (*ServiceUnavailableException) Error

func (*ServiceUnavailableException) ErrorCode

func (e *ServiceUnavailableException) ErrorCode() string

func (*ServiceUnavailableException) ErrorFault

func (*ServiceUnavailableException) ErrorMessage

func (e *ServiceUnavailableException) ErrorMessage() string

type Status

type Status string
const (
	StatusNotStarted Status = "NOT_STARTED"
	StatusInProgress Status = "IN_PROGRESS"
	StatusFailed     Status = "FAILED"
	StatusCompleted  Status = "COMPLETED"
)

Enum values for Status

func (Status) Values added in v0.29.0

func (Status) Values() []Status

Values returns all known values for Status. 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 Task

type Task struct {

	// Status of the task - Not Started, In-Progress, Complete.
	//
	// This member is required.
	Status Status

	// Indication of the percentage completion of the task.
	ProgressPercent *int32

	// Details of task status as notified by a migration tool. A tool might use this
	// field to provide clarifying information about the status that is unique to that
	// tool or that explains an error state.
	StatusDetail *string
}

Task object encapsulating task information.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	RetryAfterSeconds int32
}

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 UnauthorizedOperation

type UnauthorizedOperation struct {
	Message *string
}

Exception raised to indicate a request was not authorized when the DryRun flag is set to "true".

func (*UnauthorizedOperation) Error

func (e *UnauthorizedOperation) Error() string

func (*UnauthorizedOperation) ErrorCode

func (e *UnauthorizedOperation) ErrorCode() string

func (*UnauthorizedOperation) ErrorFault

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

func (*UnauthorizedOperation) ErrorMessage

func (e *UnauthorizedOperation) ErrorMessage() string

Jump to

Keyboard shortcuts

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