Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _HomeRegionNotSetException :: AsError a => Getting (First ServiceError) a ServiceError
- _DryRunOperation :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedOperation :: AsError a => Getting (First ServiceError) 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_lastUpdatedTime :: Lens' ApplicationState (Maybe UTCTime)
- applicationState_applicationId :: Lens' ApplicationState (Maybe Text)
- applicationState_applicationStatus :: Lens' ApplicationState (Maybe ApplicationStatus)
- 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_updateDateTime :: Lens' MigrationTask (Maybe UTCTime)
- migrationTask_resourceAttributeList :: Lens' MigrationTask (Maybe [ResourceAttribute])
- migrationTask_task :: Lens' MigrationTask (Maybe Task)
- migrationTask_progressUpdateStream :: Lens' MigrationTask (Maybe Text)
- migrationTask_migrationTaskName :: Lens' MigrationTask (Maybe Text)
- data MigrationTaskSummary = MigrationTaskSummary' {}
- newMigrationTaskSummary :: MigrationTaskSummary
- migrationTaskSummary_status :: Lens' MigrationTaskSummary (Maybe MigrationStatus)
- migrationTaskSummary_updateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime)
- migrationTaskSummary_progressPercent :: Lens' MigrationTaskSummary (Maybe Natural)
- migrationTaskSummary_statusDetail :: Lens' MigrationTaskSummary (Maybe Text)
- migrationTaskSummary_progressUpdateStream :: Lens' MigrationTaskSummary (Maybe Text)
- migrationTaskSummary_migrationTaskName :: Lens' MigrationTaskSummary (Maybe Text)
- 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 => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
_HomeRegionNotSetException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The home region is not set. Set the home region to continue.
_DryRunOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised to indicate a successfully authorized action when the
DryRun
flag is set to "true".
_PolicyErrorException :: AsError a => Getting (First ServiceError) 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.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised when an internal, configuration, or dependency error is encountered.
_InvalidInputException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised when the provided input violates a policy constraint or is entered in the wrong format or data type.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised when there is an internal, configuration, or dependency error encountered.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) 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.
_UnauthorizedOperation :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised to indicate a request was not authorized when the
DryRun
flag is set to "true".
ApplicationStatus
newtype ApplicationStatus Source #
pattern ApplicationStatus_COMPLETED :: ApplicationStatus | |
pattern ApplicationStatus_IN_PROGRESS :: ApplicationStatus | |
pattern ApplicationStatus_NOT_STARTED :: ApplicationStatus |
Instances
MigrationStatus
newtype MigrationStatus Source #
pattern MigrationStatus_COMPLETED :: MigrationStatus | |
pattern MigrationStatus_FAILED :: MigrationStatus | |
pattern MigrationStatus_IN_PROGRESS :: MigrationStatus | |
pattern MigrationStatus_NOT_STARTED :: MigrationStatus |
Instances
ResourceAttributeType
newtype ResourceAttributeType Source #
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.
ApplicationState' | |
|
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:lastUpdatedTime:ApplicationState'
, applicationState_lastUpdatedTime
- The timestamp when the application status was last updated.
$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.
applicationState_lastUpdatedTime :: Lens' ApplicationState (Maybe UTCTime) Source #
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.
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.
CreatedArtifact' | |
|
Instances
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.
DiscoveredResource' | |
|
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.
MigrationTask' | |
|
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:updateDateTime:MigrationTask'
, migrationTask_updateDateTime
- The timestamp when the task was gathered.
$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:progressUpdateStream:MigrationTask'
, migrationTask_progressUpdateStream
- A name that identifies the vendor of the migration tool being used.
$sel:migrationTaskName:MigrationTask'
, migrationTask_migrationTaskName
- Unique identifier that references the migration task. /Do not store
personal data in this field./
migrationTask_updateDateTime :: Lens' MigrationTask (Maybe UTCTime) Source #
The timestamp when the task was gathered.
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_progressUpdateStream :: Lens' MigrationTask (Maybe Text) Source #
A name that identifies the vendor of the migration tool being used.
migrationTask_migrationTaskName :: Lens' MigrationTask (Maybe Text) Source #
Unique identifier that references the migration task. /Do not store personal data in this field./
MigrationTaskSummary
data MigrationTaskSummary Source #
MigrationTaskSummary includes MigrationTaskName
, ProgressPercent
,
ProgressUpdateStream
, Status
, and UpdateDateTime
for each task.
See: newMigrationTaskSummary
smart constructor.
MigrationTaskSummary' | |
|
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:status:MigrationTaskSummary'
, migrationTaskSummary_status
- Status of the task.
$sel:updateDateTime:MigrationTaskSummary'
, migrationTaskSummary_updateDateTime
- The timestamp when the task was gathered.
$sel:progressPercent:MigrationTaskSummary'
, migrationTaskSummary_progressPercent
- Indication of the percentage completion of the task.
$sel:statusDetail:MigrationTaskSummary'
, migrationTaskSummary_statusDetail
- Detail information of what is being done within the overall status
state.
$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:migrationTaskName:MigrationTaskSummary'
, migrationTaskSummary_migrationTaskName
- Unique identifier that references the migration task. /Do not store
personal data in this field./
migrationTaskSummary_status :: Lens' MigrationTaskSummary (Maybe MigrationStatus) Source #
Status of the task.
migrationTaskSummary_updateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime) Source #
The timestamp when the task was gathered.
migrationTaskSummary_progressPercent :: Lens' MigrationTaskSummary (Maybe Natural) Source #
Indication of the percentage completion of the task.
migrationTaskSummary_statusDetail :: Lens' MigrationTaskSummary (Maybe Text) Source #
Detail information of what is being done within the overall status state.
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_migrationTaskName :: Lens' MigrationTaskSummary (Maybe Text) Source #
Unique identifier that references the migration task. /Do not store personal data in this field./
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.
ProgressUpdateStreamSummary' | |
|
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.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}$
See: newResourceAttribute
smart constructor.
ResourceAttribute' | |
|
Instances
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.
Task' | |
|
Instances
Eq Task Source # | |
Read Task Source # | |
Show Task Source # | |
Generic Task Source # | |
NFData Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
Hashable Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
ToJSON Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task | |
FromJSON Task Source # | |
type Rep Task Source # | |
Defined in Amazonka.MigrationHub.Types.Task type Rep Task = D1 ('MetaData "Task" "Amazonka.MigrationHub.Types.Task" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" '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)))) |
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.