package types

import "github.com/aws/aws-sdk-go-v2/service/migrationhub/types"

Index

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 current status of an application.
	ApplicationStatus ApplicationStatus

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

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

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 (
	ApplicationStatusNot_started ApplicationStatus = "NOT_STARTED"
	ApplicationStatusIn_progress ApplicationStatus = "IN_PROGRESS"
	ApplicationStatusCompleted   ApplicationStatus = "COMPLETED"
)

Enum values for ApplicationStatus

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 {

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

	// The configurationId in Application Discovery Service that uniquely identifies
	// the on-premise resource.
	//
	// This member is required.
	ConfigurationId *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

	// Task object encapsulating task information.
	Task *Task

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

	// 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
}

Represents a migration task in a migration tool.

type MigrationTaskSummary

type MigrationTaskSummary struct {

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

	// Status of the task.
	Status Status

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

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

	// 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

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

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: <dl> <dt>IPV4</dt> <dd> <p> <code>x.x.x.x</code> </p> <p> <i>where x is an integer in the range [0,255]</i> </p> </dd> <dt>IPV6</dt> <dd> <p> <code>y : y : y : y : y : y : y : y</code> </p> <p> <i>where y is a hexadecimal between 0 and FFFF. [0, FFFF]</i> </p> </dd> <dt>MAC_ADDRESS</dt> <dd> <p> <code>^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$</code> </p> </dd> <dt>FQDN</dt> <dd> <p> <code>^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$</code> </p> </dd> </dl>

type ResourceAttributeType

type ResourceAttributeType string
const (
	ResourceAttributeTypeIpv4_address                ResourceAttributeType = "IPV4_ADDRESS"
	ResourceAttributeTypeIpv6_address                ResourceAttributeType = "IPV6_ADDRESS"
	ResourceAttributeTypeMac_address                 ResourceAttributeType = "MAC_ADDRESS"
	ResourceAttributeTypeFqdn                        ResourceAttributeType = "FQDN"
	ResourceAttributeTypeVm_manager_id               ResourceAttributeType = "VM_MANAGER_ID"
	ResourceAttributeTypeVm_managed_object_reference ResourceAttributeType = "VM_MANAGED_OBJECT_REFERENCE"
	ResourceAttributeTypeVm_name                     ResourceAttributeType = "VM_NAME"
	ResourceAttributeTypeVm_path                     ResourceAttributeType = "VM_PATH"
	ResourceAttributeTypeBios_id                     ResourceAttributeType = "BIOS_ID"
	ResourceAttributeTypeMotherboard_serial_number   ResourceAttributeType = "MOTHERBOARD_SERIAL_NUMBER"
)

Enum values for ResourceAttributeType

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 (
	StatusNot_started Status = "NOT_STARTED"
	StatusIn_progress Status = "IN_PROGRESS"
	StatusFailed      Status = "FAILED"
	StatusCompleted   Status = "COMPLETED"
)

Enum values for Status

type Task

type Task struct {

	// 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

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

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

Source Files

enums.go errors.go types.go

Version
v0.26.0
Published
Oct 1, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.