| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MigrationHub.Types
Description
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _DryRunOperation :: AsError a => Fold a ServiceError
- _HomeRegionNotSetException :: AsError a => Fold a ServiceError
- _InternalServerError :: AsError a => Fold a ServiceError
- _InvalidInputException :: AsError a => Fold a ServiceError
- _PolicyErrorException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceUnavailableException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _UnauthorizedOperation :: AsError a => Fold a ServiceError
- newtype ApplicationStatus where
- ApplicationStatus' { }
- pattern ApplicationStatus_COMPLETED :: ApplicationStatus
- pattern ApplicationStatus_IN_PROGRESS :: ApplicationStatus
- pattern ApplicationStatus_NOT_STARTED :: ApplicationStatus
- newtype MigrationStatus where
- MigrationStatus' { }
- pattern MigrationStatus_COMPLETED :: MigrationStatus
- pattern MigrationStatus_FAILED :: MigrationStatus
- pattern MigrationStatus_IN_PROGRESS :: MigrationStatus
- pattern MigrationStatus_NOT_STARTED :: MigrationStatus
- newtype ResourceAttributeType where
- ResourceAttributeType' { }
- pattern ResourceAttributeType_BIOS_ID :: ResourceAttributeType
- pattern ResourceAttributeType_FQDN :: ResourceAttributeType
- pattern ResourceAttributeType_IPV4_ADDRESS :: ResourceAttributeType
- pattern ResourceAttributeType_IPV6_ADDRESS :: ResourceAttributeType
- pattern ResourceAttributeType_MAC_ADDRESS :: ResourceAttributeType
- pattern ResourceAttributeType_MOTHERBOARD_SERIAL_NUMBER :: ResourceAttributeType
- pattern ResourceAttributeType_VM_MANAGED_OBJECT_REFERENCE :: ResourceAttributeType
- pattern ResourceAttributeType_VM_MANAGER_ID :: ResourceAttributeType
- pattern ResourceAttributeType_VM_NAME :: ResourceAttributeType
- pattern ResourceAttributeType_VM_PATH :: ResourceAttributeType
- data ApplicationState = ApplicationState' {}
- newApplicationState :: ApplicationState
- applicationState_applicationId :: Lens' ApplicationState (Maybe Text)
- applicationState_applicationStatus :: Lens' ApplicationState (Maybe ApplicationStatus)
- applicationState_lastUpdatedTime :: Lens' ApplicationState (Maybe UTCTime)
- data CreatedArtifact = CreatedArtifact' {
- description :: Maybe Text
- name :: Text
- newCreatedArtifact :: Text -> CreatedArtifact
- createdArtifact_description :: Lens' CreatedArtifact (Maybe Text)
- createdArtifact_name :: Lens' CreatedArtifact Text
- data DiscoveredResource = DiscoveredResource' {}
- newDiscoveredResource :: Text -> DiscoveredResource
- discoveredResource_description :: Lens' DiscoveredResource (Maybe Text)
- discoveredResource_configurationId :: Lens' DiscoveredResource Text
- data MigrationTask = MigrationTask' {}
- newMigrationTask :: MigrationTask
- migrationTask_migrationTaskName :: Lens' MigrationTask (Maybe Text)
- migrationTask_progressUpdateStream :: Lens' MigrationTask (Maybe Text)
- migrationTask_resourceAttributeList :: Lens' MigrationTask (Maybe [ResourceAttribute])
- migrationTask_task :: Lens' MigrationTask (Maybe Task)
- migrationTask_updateDateTime :: Lens' MigrationTask (Maybe UTCTime)
- data MigrationTaskSummary = MigrationTaskSummary' {}
- newMigrationTaskSummary :: MigrationTaskSummary
- migrationTaskSummary_migrationTaskName :: Lens' MigrationTaskSummary (Maybe Text)
- migrationTaskSummary_progressPercent :: Lens' MigrationTaskSummary (Maybe Natural)
- migrationTaskSummary_progressUpdateStream :: Lens' MigrationTaskSummary (Maybe Text)
- migrationTaskSummary_status :: Lens' MigrationTaskSummary (Maybe MigrationStatus)
- migrationTaskSummary_statusDetail :: Lens' MigrationTaskSummary (Maybe Text)
- migrationTaskSummary_updateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime)
- data ProgressUpdateStreamSummary = ProgressUpdateStreamSummary' {}
- newProgressUpdateStreamSummary :: ProgressUpdateStreamSummary
- progressUpdateStreamSummary_progressUpdateStreamName :: Lens' ProgressUpdateStreamSummary (Maybe Text)
- data ResourceAttribute = ResourceAttribute' {}
- newResourceAttribute :: ResourceAttributeType -> Text -> ResourceAttribute
- resourceAttribute_type :: Lens' ResourceAttribute ResourceAttributeType
- resourceAttribute_value :: Lens' ResourceAttribute Text
- data Task = Task' {}
- newTask :: MigrationStatus -> Task
- task_progressPercent :: Lens' Task (Maybe Natural)
- task_statusDetail :: Lens' Task (Maybe Text)
- task_status :: Lens' Task MigrationStatus
Service Configuration
defaultService :: Service Source #
API version 2017-05-31 of the Amazon Migration Hub SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
_DryRunOperation :: AsError a => Fold a ServiceError Source #
Exception raised to indicate a successfully authorized action when the
DryRun flag is set to "true".
_HomeRegionNotSetException :: AsError a => Fold a ServiceError Source #
The home region is not set. Set the home region to continue.
_InternalServerError :: AsError a => Fold a ServiceError Source #
Exception raised when an internal, configuration, or dependency error is encountered.
_InvalidInputException :: AsError a => Fold a ServiceError Source #
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
_PolicyErrorException :: AsError a => Fold a ServiceError Source #
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.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
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.
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
Exception raised when there is an internal, configuration, or dependency error encountered.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied due to request throttling.
_UnauthorizedOperation :: AsError a => Fold a ServiceError Source #
Exception raised to indicate a request was not authorized when the
DryRun flag is set to "true".
ApplicationStatus
newtype ApplicationStatus Source #
Constructors
| ApplicationStatus' | |
Fields | |
Bundled Patterns
| pattern ApplicationStatus_COMPLETED :: ApplicationStatus | |
| pattern ApplicationStatus_IN_PROGRESS :: ApplicationStatus | |
| pattern ApplicationStatus_NOT_STARTED :: ApplicationStatus |
Instances
MigrationStatus
newtype MigrationStatus Source #
Constructors
| MigrationStatus' | |
Fields | |
Bundled Patterns
| pattern MigrationStatus_COMPLETED :: MigrationStatus | |
| pattern MigrationStatus_FAILED :: MigrationStatus | |
| pattern MigrationStatus_IN_PROGRESS :: MigrationStatus | |
| pattern MigrationStatus_NOT_STARTED :: MigrationStatus |
Instances
ResourceAttributeType
newtype ResourceAttributeType Source #
Constructors
| ResourceAttributeType' | |
Fields | |
Bundled Patterns
Instances
ApplicationState
data ApplicationState Source #
The state of an application discovered through Migration Hub import, the AWS Agentless Discovery Connector, or the AWS Application Discovery Agent.
See: newApplicationState smart constructor.
Constructors
| ApplicationState' | |
Fields
| |
Instances
newApplicationState :: ApplicationState Source #
Create a value of ApplicationState with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applicationId:ApplicationState', applicationState_applicationId - The configurationId from the Application Discovery Service that uniquely
identifies an application.
$sel:applicationStatus:ApplicationState', applicationState_applicationStatus - The current status of an application.
$sel:lastUpdatedTime:ApplicationState', applicationState_lastUpdatedTime - The timestamp when the application status was last updated.
applicationState_applicationId :: Lens' ApplicationState (Maybe Text) Source #
The configurationId from the Application Discovery Service that uniquely identifies an application.
applicationState_applicationStatus :: Lens' ApplicationState (Maybe ApplicationStatus) Source #
The current status of an application.
applicationState_lastUpdatedTime :: Lens' ApplicationState (Maybe UTCTime) Source #
The timestamp when the application status was last updated.
CreatedArtifact
data CreatedArtifact Source #
An ARN of the AWS cloud resource target receiving the migration (e.g., AMI, EC2 instance, RDS instance, etc.).
See: newCreatedArtifact smart constructor.
Constructors
| CreatedArtifact' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CreatedArtifact |
Create a value of CreatedArtifact with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:CreatedArtifact', createdArtifact_description - A description that can be free-form text to record additional detail
about the artifact for clarity or for later reference.
$sel:name:CreatedArtifact', createdArtifact_name - An ARN that uniquely identifies the result of a migration task.
createdArtifact_description :: Lens' CreatedArtifact (Maybe Text) Source #
A description that can be free-form text to record additional detail about the artifact for clarity or for later reference.
createdArtifact_name :: Lens' CreatedArtifact Text Source #
An ARN that uniquely identifies the result of a migration task.
DiscoveredResource
data DiscoveredResource Source #
Object representing the on-premises resource being migrated.
See: newDiscoveredResource smart constructor.
Constructors
| DiscoveredResource' | |
Fields
| |
Instances
newDiscoveredResource Source #
Create a value of DiscoveredResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:DiscoveredResource', discoveredResource_description - A description that can be free-form text to record additional detail
about the discovered resource for clarity or later reference.
$sel:configurationId:DiscoveredResource', discoveredResource_configurationId - The configurationId in Application Discovery Service that uniquely
identifies the on-premise resource.
discoveredResource_description :: Lens' DiscoveredResource (Maybe Text) Source #
A description that can be free-form text to record additional detail about the discovered resource for clarity or later reference.
discoveredResource_configurationId :: Lens' DiscoveredResource Text Source #
The configurationId in Application Discovery Service that uniquely identifies the on-premise resource.
MigrationTask
data MigrationTask Source #
Represents a migration task in a migration tool.
See: newMigrationTask smart constructor.
Constructors
| MigrationTask' | |
Fields
| |
Instances
newMigrationTask :: MigrationTask Source #
Create a value of MigrationTask with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:migrationTaskName:MigrationTask', migrationTask_migrationTaskName - Unique identifier that references the migration task. /Do not store
personal data in this field./
$sel:progressUpdateStream:MigrationTask', migrationTask_progressUpdateStream - A name that identifies the vendor of the migration tool being used.
$sel:resourceAttributeList:MigrationTask', migrationTask_resourceAttributeList - 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.
$sel:task:MigrationTask', migrationTask_task - Task object encapsulating task information.
$sel:updateDateTime:MigrationTask', migrationTask_updateDateTime - The timestamp when the task was gathered.
migrationTask_migrationTaskName :: Lens' MigrationTask (Maybe Text) Source #
Unique identifier that references the migration task. /Do not store personal data in this field./
migrationTask_progressUpdateStream :: Lens' MigrationTask (Maybe Text) Source #
A name that identifies the vendor of the migration tool being used.
migrationTask_resourceAttributeList :: Lens' MigrationTask (Maybe [ResourceAttribute]) Source #
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.
migrationTask_task :: Lens' MigrationTask (Maybe Task) Source #
Task object encapsulating task information.
migrationTask_updateDateTime :: Lens' MigrationTask (Maybe UTCTime) Source #
The timestamp when the task was gathered.
MigrationTaskSummary
data MigrationTaskSummary Source #
MigrationTaskSummary includes MigrationTaskName, ProgressPercent,
ProgressUpdateStream, Status, and UpdateDateTime for each task.
See: newMigrationTaskSummary smart constructor.
Constructors
| MigrationTaskSummary' | |
Fields
| |
Instances
newMigrationTaskSummary :: MigrationTaskSummary Source #
Create a value of MigrationTaskSummary with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:migrationTaskName:MigrationTaskSummary', migrationTaskSummary_migrationTaskName - Unique identifier that references the migration task. /Do not store
personal data in this field./
$sel:progressPercent:MigrationTaskSummary', migrationTaskSummary_progressPercent - Indication of the percentage completion of the task.
$sel:progressUpdateStream:MigrationTaskSummary', migrationTaskSummary_progressUpdateStream - 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.
$sel:status:MigrationTaskSummary', migrationTaskSummary_status - Status of the task.
$sel:statusDetail:MigrationTaskSummary', migrationTaskSummary_statusDetail - Detail information of what is being done within the overall status
state.
$sel:updateDateTime:MigrationTaskSummary', migrationTaskSummary_updateDateTime - The timestamp when the task was gathered.
migrationTaskSummary_migrationTaskName :: Lens' MigrationTaskSummary (Maybe Text) Source #
Unique identifier that references the migration task. /Do not store personal data in this field./
migrationTaskSummary_progressPercent :: Lens' MigrationTaskSummary (Maybe Natural) Source #
Indication of the percentage completion of the task.
migrationTaskSummary_progressUpdateStream :: Lens' MigrationTaskSummary (Maybe Text) Source #
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.
migrationTaskSummary_status :: Lens' MigrationTaskSummary (Maybe MigrationStatus) Source #
Status of the task.
migrationTaskSummary_statusDetail :: Lens' MigrationTaskSummary (Maybe Text) Source #
Detail information of what is being done within the overall status state.
migrationTaskSummary_updateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime) Source #
The timestamp when the task was gathered.
ProgressUpdateStreamSummary
data ProgressUpdateStreamSummary Source #
Summary of the AWS resource used for access control that is implicitly linked to your AWS account.
See: newProgressUpdateStreamSummary smart constructor.
Constructors
| ProgressUpdateStreamSummary' | |
Fields
| |
Instances
newProgressUpdateStreamSummary :: ProgressUpdateStreamSummary Source #
Create a value of ProgressUpdateStreamSummary with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:progressUpdateStreamName:ProgressUpdateStreamSummary', progressUpdateStreamSummary_progressUpdateStreamName - The name of the ProgressUpdateStream. /Do not store personal data in
this field./
progressUpdateStreamSummary_progressUpdateStreamName :: Lens' ProgressUpdateStreamSummary (Maybe Text) Source #
The name of the ProgressUpdateStream. /Do not store personal data in this field./
ResourceAttribute
data ResourceAttribute Source #
Attribute associated with a resource.
Note the corresponding format required per type listed below:
- IPV4
x.x.x.xwhere x is an integer in the range [0,255]
- IPV6
y : y : y : y : y : y : y : ywhere 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}$
See: newResourceAttribute smart constructor.
Constructors
| ResourceAttribute' | |
Fields
| |
Instances
Arguments
| :: ResourceAttributeType | |
| -> Text | |
| -> ResourceAttribute |
Create a value of ResourceAttribute with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':ResourceAttribute', resourceAttribute_type - Type of resource.
$sel:value:ResourceAttribute', resourceAttribute_value - Value of the resource type.
resourceAttribute_type :: Lens' ResourceAttribute ResourceAttributeType Source #
Type of resource.
resourceAttribute_value :: Lens' ResourceAttribute Text Source #
Value of the resource type.
Task
Task object encapsulating task information.
See: newTask smart constructor.
Constructors
| Task' | |
Fields
| |
Instances
| FromJSON Task Source # | |
| ToJSON Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
| Generic Task Source # | |
| Read Task Source # | |
| Show Task Source # | |
| NFData Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
| Eq Task Source # | |
| Hashable Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
| type Rep Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task type Rep Task = D1 ('MetaData "Task" "Amazonka.MigrationHub.Types.Task" "amazonka-migrationhub-2.0-HPFHfkzHnlJDPxcpvPbrRQ" 'False) (C1 ('MetaCons "Task'" 'PrefixI 'True) (S1 ('MetaSel ('Just "progressPercent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "statusDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MigrationStatus)))) | |
Arguments
| :: MigrationStatus | |
| -> Task |
Create a value of Task with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:progressPercent:Task', task_progressPercent - Indication of the percentage completion of the task.
$sel:statusDetail:Task', task_statusDetail - 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.
$sel:status:Task', task_status - Status of the task - Not Started, In-Progress, Complete.
task_progressPercent :: Lens' Task (Maybe Natural) Source #
Indication of the percentage completion of the task.
task_statusDetail :: Lens' Task (Maybe Text) Source #
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.
task_status :: Lens' Task MigrationStatus Source #
Status of the task - Not Started, In-Progress, Complete.