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
- func (e *AccessDeniedException) GetMessage() string
- func (e *AccessDeniedException) HasMessage() bool
- 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
- func (e *DryRunOperation) GetMessage() string
- func (e *DryRunOperation) HasMessage() bool
- type HomeRegionNotSetException
- func (e *HomeRegionNotSetException) Error() string
- func (e *HomeRegionNotSetException) ErrorCode() string
- func (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault
- func (e *HomeRegionNotSetException) ErrorMessage() string
- func (e *HomeRegionNotSetException) GetMessage() string
- func (e *HomeRegionNotSetException) HasMessage() bool
- type InternalServerError
- func (e *InternalServerError) Error() string
- func (e *InternalServerError) ErrorCode() string
- func (e *InternalServerError) ErrorFault() smithy.ErrorFault
- func (e *InternalServerError) ErrorMessage() string
- func (e *InternalServerError) GetMessage() string
- func (e *InternalServerError) HasMessage() bool
- type InvalidInputException
- func (e *InvalidInputException) Error() string
- func (e *InvalidInputException) ErrorCode() string
- func (e *InvalidInputException) ErrorFault() smithy.ErrorFault
- func (e *InvalidInputException) ErrorMessage() string
- func (e *InvalidInputException) GetMessage() string
- func (e *InvalidInputException) HasMessage() bool
- type MigrationTask
- type MigrationTaskSummary
- type PolicyErrorException
- func (e *PolicyErrorException) Error() string
- func (e *PolicyErrorException) ErrorCode() string
- func (e *PolicyErrorException) ErrorFault() smithy.ErrorFault
- func (e *PolicyErrorException) ErrorMessage() string
- func (e *PolicyErrorException) GetMessage() string
- func (e *PolicyErrorException) HasMessage() bool
- 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
- func (e *ResourceNotFoundException) GetMessage() string
- func (e *ResourceNotFoundException) HasMessage() bool
- type ServiceUnavailableException
- func (e *ServiceUnavailableException) Error() string
- func (e *ServiceUnavailableException) ErrorCode() string
- func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
- func (e *ServiceUnavailableException) ErrorMessage() string
- func (e *ServiceUnavailableException) GetMessage() string
- func (e *ServiceUnavailableException) HasMessage() bool
- 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
- func (e *ThrottlingException) GetMessage() string
- func (e *ThrottlingException) GetRetryAfterSeconds() int32
- func (e *ThrottlingException) HasMessage() bool
- func (e *ThrottlingException) HasRetryAfterSeconds() bool
- type UnauthorizedOperation
- func (e *UnauthorizedOperation) Error() string
- func (e *UnauthorizedOperation) ErrorCode() string
- func (e *UnauthorizedOperation) ErrorFault() smithy.ErrorFault
- func (e *UnauthorizedOperation) ErrorMessage() string
- func (e *UnauthorizedOperation) GetMessage() string
- func (e *UnauthorizedOperation) HasMessage() bool
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
func (*AccessDeniedException) GetMessage ¶
func (e *AccessDeniedException) GetMessage() string
func (*AccessDeniedException) HasMessage ¶
func (e *AccessDeniedException) HasMessage() bool
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. 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. 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
func (*DryRunOperation) GetMessage ¶
func (e *DryRunOperation) GetMessage() string
func (*DryRunOperation) HasMessage ¶
func (e *DryRunOperation) HasMessage() bool
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 (e *HomeRegionNotSetException) ErrorFault() smithy.ErrorFault
func (*HomeRegionNotSetException) ErrorMessage ¶
func (e *HomeRegionNotSetException) ErrorMessage() string
func (*HomeRegionNotSetException) GetMessage ¶
func (e *HomeRegionNotSetException) GetMessage() string
func (*HomeRegionNotSetException) HasMessage ¶
func (e *HomeRegionNotSetException) HasMessage() bool
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
func (*InternalServerError) GetMessage ¶
func (e *InternalServerError) GetMessage() string
func (*InternalServerError) HasMessage ¶
func (e *InternalServerError) HasMessage() bool
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
func (*InvalidInputException) GetMessage ¶
func (e *InvalidInputException) GetMessage() string
func (*InvalidInputException) HasMessage ¶
func (e *InvalidInputException) HasMessage() bool
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
func (*PolicyErrorException) GetMessage ¶
func (e *PolicyErrorException) GetMessage() string
func (*PolicyErrorException) HasMessage ¶
func (e *PolicyErrorException) HasMessage() bool
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. Type ResourceAttributeType // Value of the resource type. 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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
func (*ResourceNotFoundException) GetMessage ¶
func (e *ResourceNotFoundException) GetMessage() string
func (*ResourceNotFoundException) HasMessage ¶
func (e *ResourceNotFoundException) HasMessage() bool
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { string }*
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
func (*ServiceUnavailableException) GetMessage ¶
func (e *ServiceUnavailableException) GetMessage() string
func (*ServiceUnavailableException) HasMessage ¶
func (e *ServiceUnavailableException) HasMessage() bool
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. Status Status }
Task object encapsulating task information.
type ThrottlingException ¶
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
func (*ThrottlingException) GetMessage ¶
func (e *ThrottlingException) GetMessage() string
func (*ThrottlingException) GetRetryAfterSeconds ¶
func (e *ThrottlingException) GetRetryAfterSeconds() int32
func (*ThrottlingException) HasMessage ¶
func (e *ThrottlingException) HasMessage() bool
func (*ThrottlingException) HasRetryAfterSeconds ¶
func (e *ThrottlingException) HasRetryAfterSeconds() bool
type UnauthorizedOperation ¶
type UnauthorizedOperation struct { 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
func (*UnauthorizedOperation) GetMessage ¶
func (e *UnauthorizedOperation) GetMessage() string
func (*UnauthorizedOperation) HasMessage ¶
func (e *UnauthorizedOperation) HasMessage() bool
Source Files ¶
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 2 days ago –
Tools for package owners.