package types
import "github.com/aws/aws-sdk-go-v2/service/migrationhub/types"
Index ¶
- type AccessDeniedException
- func (e *AccessDeniedException) Error() string
- func (e *AccessDeniedException) ErrorCode() string
- func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *AccessDeniedException) ErrorMessage() string
- type ApplicationState
- type ApplicationStatus
- type CreatedArtifact
- type DiscoveredResource
- type DryRunOperation
- func (e *DryRunOperation) Error() string
- func (e *DryRunOperation) ErrorCode() string
- func (e *DryRunOperation) ErrorFault() smithy.ErrorFault
- func (e *DryRunOperation) ErrorMessage() string
- type HomeRegionNotSetException
- func (e *HomeRegionNotSetException) Error() string
- func (e *HomeRegionNotSetException) ErrorCode() string
- func (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault
- func (e *HomeRegionNotSetException) ErrorMessage() string
- type InternalServerError
- func (e *InternalServerError) Error() string
- func (e *InternalServerError) ErrorCode() string
- func (e *InternalServerError) ErrorFault() smithy.ErrorFault
- func (e *InternalServerError) ErrorMessage() string
- type InvalidInputException
- func (e *InvalidInputException) Error() string
- func (e *InvalidInputException) ErrorCode() string
- func (e *InvalidInputException) ErrorFault() smithy.ErrorFault
- func (e *InvalidInputException) ErrorMessage() string
- type MigrationTask
- type MigrationTaskSummary
- type MigrationTaskUpdate
- type PolicyErrorException
- func (e *PolicyErrorException) Error() string
- func (e *PolicyErrorException) ErrorCode() string
- func (e *PolicyErrorException) ErrorFault() smithy.ErrorFault
- func (e *PolicyErrorException) ErrorMessage() string
- type ProgressUpdateStreamSummary
- type ResourceAttribute
- type ResourceAttributeType
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type ServiceUnavailableException
- func (e *ServiceUnavailableException) Error() string
- func (e *ServiceUnavailableException) ErrorCode() string
- func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
- func (e *ServiceUnavailableException) ErrorMessage() string
- type SourceResource
- type Status
- type Task
- type ThrottlingException
- func (e *ThrottlingException) Error() string
- func (e *ThrottlingException) ErrorCode() string
- func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
- func (e *ThrottlingException) ErrorMessage() string
- type UnauthorizedOperation
- func (e *UnauthorizedOperation) Error() string
- func (e *UnauthorizedOperation) ErrorCode() string
- func (e *UnauthorizedOperation) ErrorFault() smithy.ErrorFault
- func (e *UnauthorizedOperation) ErrorMessage() string
- type UpdateType
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *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 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 // contains filtered or unexported fields }
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 ¶
func (ApplicationStatus) Values() []ApplicationStatus
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
Object representing the on-premises resource being migrated.
type DryRunOperation ¶
type DryRunOperation struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault
func (*HomeRegionNotSetException) ErrorMessage ¶
func (e *HomeRegionNotSetException) ErrorMessage() string
type InternalServerError ¶
type InternalServerError struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
MigrationTaskSummary includes MigrationTaskName , ProgressPercent , ProgressUpdateStream , Status , and UpdateDateTime for each task.
type MigrationTaskUpdate ¶
type MigrationTaskUpdate struct { // Task object encapsulating task information. MigrationTaskState *Task // The timestamp for the update. UpdateDateTime *time.Time // The type of the update. UpdateType UpdateType // contains filtered or unexported fields }
A migration-task progress update.
type PolicyErrorException ¶
type PolicyErrorException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 // contains filtered or unexported fields }
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 ¶
func (ResourceAttributeType) Values() []ResourceAttributeType
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 ErrorCodeOverride *string // contains filtered or unexported fields }
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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { string *string // contains filtered or unexported fields }*
Exception raised when there is an internal, configuration, or dependency error encountered.
func (*ServiceUnavailableException) Error ¶
func (e *ServiceUnavailableException) Error() string
func (*ServiceUnavailableException) ErrorCode ¶
func (e *ServiceUnavailableException) ErrorCode() string
func (*ServiceUnavailableException) ErrorFault ¶
func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableException) ErrorMessage ¶
func (e *ServiceUnavailableException) ErrorMessage() string
type SourceResource ¶
type SourceResource struct { // This is the name that you want to use to identify the resource. If the resource // is an AWS resource, we recommend that you set this parameter to the ARN of the // resource. // // This member is required. Name *string // A description that can be free-form text to record additional detail about the // resource for clarity or later reference. Description *string // A free-form description of the status of the resource. StatusDetail *string // contains filtered or unexported fields }
A source resource can be a source server, a migration wave, an application, or any other resource that you track.
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 ¶
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 // contains filtered or unexported fields }
Task object encapsulating task information.
type ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds int32 // 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 UnauthorizedOperation ¶
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
type UpdateType ¶
type UpdateType string
const ( UpdateTypeMigrationTaskStateUpdated UpdateType = "MIGRATION_TASK_STATE_UPDATED" )
Enum values for UpdateType
func (UpdateType) Values ¶
func (UpdateType) Values() []UpdateType
Values returns all known values for UpdateType. 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.
Source Files ¶
- Version
- v1.26.2 (latest)
- Published
- Apr 3, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 2 hours ago –
Tools for package owners.