| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.MigrationHub.Types
Contents
Description
Synopsis
- migrationHub :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _DryRunOperation :: AsError a => Getting (First ServiceError) a ServiceError
- _PolicyErrorException :: 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
- data ApplicationStatus
- data MigrationStatus
- data ResourceAttributeType
- data CreatedArtifact
- createdArtifact :: Text -> CreatedArtifact
- caDescription :: Lens' CreatedArtifact (Maybe Text)
- caName :: Lens' CreatedArtifact Text
- data DiscoveredResource
- discoveredResource :: Text -> DiscoveredResource
- drDescription :: Lens' DiscoveredResource (Maybe Text)
- drConfigurationId :: Lens' DiscoveredResource Text
- data MigrationTask
- migrationTask :: MigrationTask
- mtUpdateDateTime :: Lens' MigrationTask (Maybe UTCTime)
- mtResourceAttributeList :: Lens' MigrationTask [ResourceAttribute]
- mtTask :: Lens' MigrationTask (Maybe Task)
- mtProgressUpdateStream :: Lens' MigrationTask (Maybe Text)
- mtMigrationTaskName :: Lens' MigrationTask (Maybe Text)
- data MigrationTaskSummary
- migrationTaskSummary :: MigrationTaskSummary
- mtsStatus :: Lens' MigrationTaskSummary (Maybe MigrationStatus)
- mtsUpdateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime)
- mtsProgressPercent :: Lens' MigrationTaskSummary (Maybe Natural)
- mtsStatusDetail :: Lens' MigrationTaskSummary (Maybe Text)
- mtsProgressUpdateStream :: Lens' MigrationTaskSummary (Maybe Text)
- mtsMigrationTaskName :: Lens' MigrationTaskSummary (Maybe Text)
- data ProgressUpdateStreamSummary
- progressUpdateStreamSummary :: ProgressUpdateStreamSummary
- pussProgressUpdateStreamName :: Lens' ProgressUpdateStreamSummary (Maybe Text)
- data ResourceAttribute
- resourceAttribute :: ResourceAttributeType -> Text -> ResourceAttribute
- raType :: Lens' ResourceAttribute ResourceAttributeType
- raValue :: Lens' ResourceAttribute Text
- data Task
- task :: MigrationStatus -> Task
- tProgressPercent :: Lens' Task (Maybe Natural)
- tStatusDetail :: Lens' Task (Maybe Text)
- tStatus :: Lens' Task MigrationStatus
Service Configuration
migrationHub :: 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.
_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 ADS (Application Discovery Service); most likely due to a misconfigured policy or the migrationhub-discovery role is missing or not configured correctly.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
Exception raised when there is an internal, configuration, or dependency error 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 (ADS configuration, update stream, migration task, etc.) that does not exist in ADS (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
data ApplicationStatus Source #
Constructors
| ASCompleted | |
| ASInProgress | |
| ASNotStarted |
Instances
MigrationStatus
data MigrationStatus Source #
Constructors
| Completed | |
| Failed | |
| InProgress | |
| NotStarted |
Instances
ResourceAttributeType
data ResourceAttributeType Source #
Constructors
| BiosId | |
| Fqdn | |
| IPV4Address | |
| IPV6Address | |
| MACAddress | |
| MotherboardSerialNumber | |
| VMManagedObjectReference | |
| VMManagerId | |
| VMName | |
| VMPath |
Instances
CreatedArtifact
data CreatedArtifact Source #
An ARN of the AWS cloud resource target receiving the migration (e.g., AMI, EC2 instance, RDS instance, etc.).
See: createdArtifact smart constructor.
Instances
Arguments
| :: Text | |
| -> CreatedArtifact |
Creates a value of CreatedArtifact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caDescription- A description that can be free-form text to record additional detail about the artifact for clarity or for later reference.caName- An ARN that uniquely identifies the result of a migration task.
caDescription :: 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.
caName :: 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: discoveredResource smart constructor.
Instances
Arguments
| :: Text | |
| -> DiscoveredResource |
Creates a value of DiscoveredResource with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drDescription- A description that can be free-form text to record additional detail about the discovered resource for clarity or later reference.drConfigurationId- The configurationId in ADS that uniquely identifies the on-premise resource.
drDescription :: 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.
drConfigurationId :: Lens' DiscoveredResource Text Source #
The configurationId in ADS that uniquely identifies the on-premise resource.
MigrationTask
data MigrationTask Source #
Represents a migration task in a migration tool.
See: migrationTask smart constructor.
Instances
migrationTask :: MigrationTask Source #
Creates a value of MigrationTask with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtUpdateDateTime- The timestamp when the task was gathered.mtResourceAttributeList-mtTask- Task object encapsulating task information.mtProgressUpdateStream- A name that identifies the vendor of the migration tool being used.mtMigrationTaskName- Unique identifier that references the migration task.
mtUpdateDateTime :: Lens' MigrationTask (Maybe UTCTime) Source #
The timestamp when the task was gathered.
mtProgressUpdateStream :: Lens' MigrationTask (Maybe Text) Source #
A name that identifies the vendor of the migration tool being used.
mtMigrationTaskName :: Lens' MigrationTask (Maybe Text) Source #
Unique identifier that references the migration task.
MigrationTaskSummary
data MigrationTaskSummary Source #
MigrationTaskSummary includes MigrationTaskName , ProgressPercent , ProgressUpdateStream , Status , and UpdateDateTime for each task.
See: migrationTaskSummary smart constructor.
Instances
migrationTaskSummary :: MigrationTaskSummary Source #
Creates a value of MigrationTaskSummary with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mtsStatus- Status of the task.mtsUpdateDateTime- The timestamp when the task was gathered.mtsProgressPercent-mtsStatusDetail- Detail information of what is being done within the overall status state.mtsProgressUpdateStream- 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.mtsMigrationTaskName- Unique identifier that references the migration task.
mtsStatus :: Lens' MigrationTaskSummary (Maybe MigrationStatus) Source #
Status of the task.
mtsUpdateDateTime :: Lens' MigrationTaskSummary (Maybe UTCTime) Source #
The timestamp when the task was gathered.
mtsStatusDetail :: Lens' MigrationTaskSummary (Maybe Text) Source #
Detail information of what is being done within the overall status state.
mtsProgressUpdateStream :: 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.
mtsMigrationTaskName :: Lens' MigrationTaskSummary (Maybe Text) Source #
Unique identifier that references the migration task.
ProgressUpdateStreamSummary
data ProgressUpdateStreamSummary Source #
Summary of the AWS resource used for access control that is implicitly linked to your AWS account.
See: progressUpdateStreamSummary smart constructor.
Instances
progressUpdateStreamSummary :: ProgressUpdateStreamSummary Source #
Creates a value of ProgressUpdateStreamSummary with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pussProgressUpdateStreamName- The name of the ProgressUpdateStream.
pussProgressUpdateStreamName :: Lens' ProgressUpdateStreamSummary (Maybe Text) Source #
The name of the ProgressUpdateStream.
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: resourceAttribute smart constructor.
Instances
Arguments
| :: ResourceAttributeType | |
| -> Text | |
| -> ResourceAttribute |
Creates a value of ResourceAttribute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
raType :: Lens' ResourceAttribute ResourceAttributeType Source #
Type of resource.
Task
Task object encapsulating task information.
See: task smart constructor.
Instances
| Eq Task Source # | |
| Data Task Source # | |
Defined in Network.AWS.MigrationHub.Types.Product Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Task -> c Task # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Task # dataTypeOf :: Task -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Task) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Task) # gmapT :: (forall b. Data b => b -> b) -> Task -> Task # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Task -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Task -> r # gmapQ :: (forall d. Data d => d -> u) -> Task -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Task -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Task -> m Task # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Task -> m Task # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Task -> m Task # | |
| Read Task Source # | |
| Show Task Source # | |
| Generic Task Source # | |
| Hashable Task Source # | |
Defined in Network.AWS.MigrationHub.Types.Product | |
| ToJSON Task Source # | |
Defined in Network.AWS.MigrationHub.Types.Product | |
| FromJSON Task Source # | |
| NFData Task Source # | |
Defined in Network.AWS.MigrationHub.Types.Product | |
| type Rep Task Source # | |
Defined in Network.AWS.MigrationHub.Types.Product type Rep Task = D1 (MetaData "Task" "Network.AWS.MigrationHub.Types.Product" "amazonka-migrationhub-1.6.1-8CAtlWlKcvW3trCK3Vdi8l" False) (C1 (MetaCons "Task'" PrefixI True) (S1 (MetaSel (Just "_tProgressPercent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_tStatusDetail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MigrationStatus)))) | |
Arguments
| :: MigrationStatus | |
| -> Task |
Creates a value of Task with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tProgressPercent- Indication of the percentage completion of the task.tStatusDetail- 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.tStatus- Status of the task - Not Started, In-Progress, Complete.
tProgressPercent :: Lens' Task (Maybe Natural) Source #
Indication of the percentage completion of the task.