| 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.MigrationHubOrchestrator.GetWorkflow
Description
Get migration workflow.
Synopsis
- data GetWorkflow = GetWorkflow' {}
- newGetWorkflow :: Text -> GetWorkflow
- getWorkflow_id :: Lens' GetWorkflow Text
- data GetWorkflowResponse = GetWorkflowResponse' {
- adsApplicationConfigurationId :: Maybe Text
- adsApplicationName :: Maybe Text
- arn :: Maybe Text
- completedSteps :: Maybe Int
- creationTime :: Maybe POSIX
- description :: Maybe Text
- endTime :: Maybe POSIX
- id :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- lastStartTime :: Maybe POSIX
- lastStopTime :: Maybe POSIX
- name :: Maybe Text
- status :: Maybe MigrationWorkflowStatusEnum
- statusMessage :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- templateId :: Maybe Text
- tools :: Maybe [Tool]
- totalSteps :: Maybe Int
- workflowBucket :: Maybe Text
- workflowInputs :: Maybe (Sensitive (HashMap Text StepInput))
- httpStatus :: Int
- newGetWorkflowResponse :: Int -> GetWorkflowResponse
- getWorkflowResponse_adsApplicationConfigurationId :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_adsApplicationName :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_arn :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_completedSteps :: Lens' GetWorkflowResponse (Maybe Int)
- getWorkflowResponse_creationTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_description :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_endTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_id :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_lastModifiedTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_lastStartTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_lastStopTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_name :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe MigrationWorkflowStatusEnum)
- getWorkflowResponse_statusMessage :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_tags :: Lens' GetWorkflowResponse (Maybe (HashMap Text Text))
- getWorkflowResponse_templateId :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_tools :: Lens' GetWorkflowResponse (Maybe [Tool])
- getWorkflowResponse_totalSteps :: Lens' GetWorkflowResponse (Maybe Int)
- getWorkflowResponse_workflowBucket :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_workflowInputs :: Lens' GetWorkflowResponse (Maybe (HashMap Text StepInput))
- getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int
Creating a Request
data GetWorkflow Source #
See: newGetWorkflow smart constructor.
Constructors
| GetWorkflow' | |
Instances
Arguments
| :: Text | |
| -> GetWorkflow |
Create a value of GetWorkflow 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:
GetWorkflow, getWorkflow_id - The ID of the migration workflow.
Request Lenses
getWorkflow_id :: Lens' GetWorkflow Text Source #
The ID of the migration workflow.
Destructuring the Response
data GetWorkflowResponse Source #
See: newGetWorkflowResponse smart constructor.
Constructors
| GetWorkflowResponse' | |
Fields
| |
Instances
newGetWorkflowResponse Source #
Arguments
| :: Int | |
| -> GetWorkflowResponse |
Create a value of GetWorkflowResponse 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:adsApplicationConfigurationId:GetWorkflowResponse', getWorkflowResponse_adsApplicationConfigurationId - The configuration ID of the application configured in Application
Discovery Service.
$sel:adsApplicationName:GetWorkflowResponse', getWorkflowResponse_adsApplicationName - The name of the application configured in Application Discovery Service.
GetWorkflowResponse, getWorkflowResponse_arn - The Amazon Resource Name (ARN) of the migration workflow.
GetWorkflowResponse, getWorkflowResponse_completedSteps - Get a list of completed steps in the migration workflow.
GetWorkflowResponse, getWorkflowResponse_creationTime - The time at which the migration workflow was created.
GetWorkflowResponse, getWorkflowResponse_description - The description of the migration workflow.
GetWorkflowResponse, getWorkflowResponse_endTime - The time at which the migration workflow ended.
GetWorkflow, getWorkflowResponse_id - The ID of the migration workflow.
$sel:lastModifiedTime:GetWorkflowResponse', getWorkflowResponse_lastModifiedTime - The time at which the migration workflow was last modified.
$sel:lastStartTime:GetWorkflowResponse', getWorkflowResponse_lastStartTime - The time at which the migration workflow was last started.
$sel:lastStopTime:GetWorkflowResponse', getWorkflowResponse_lastStopTime - The time at which the migration workflow was last stopped.
GetWorkflowResponse, getWorkflowResponse_name - The name of the migration workflow.
GetWorkflowResponse, getWorkflowResponse_status - The status of the migration workflow.
GetWorkflowResponse, getWorkflowResponse_statusMessage - The status message of the migration workflow.
$sel:tags:GetWorkflowResponse', getWorkflowResponse_tags - The tags added to the migration workflow.
GetWorkflowResponse, getWorkflowResponse_templateId - The ID of the template.
$sel:tools:GetWorkflowResponse', getWorkflowResponse_tools - List of AWS services utilized in a migration workflow.
GetWorkflowResponse, getWorkflowResponse_totalSteps - The total number of steps in the migration workflow.
$sel:workflowBucket:GetWorkflowResponse', getWorkflowResponse_workflowBucket - The Amazon S3 bucket where the migration logs are stored.
$sel:workflowInputs:GetWorkflowResponse', getWorkflowResponse_workflowInputs - The inputs required for creating the migration workflow.
$sel:httpStatus:GetWorkflowResponse', getWorkflowResponse_httpStatus - The response's http status code.
Response Lenses
getWorkflowResponse_adsApplicationConfigurationId :: Lens' GetWorkflowResponse (Maybe Text) Source #
The configuration ID of the application configured in Application Discovery Service.
getWorkflowResponse_adsApplicationName :: Lens' GetWorkflowResponse (Maybe Text) Source #
The name of the application configured in Application Discovery Service.
getWorkflowResponse_arn :: Lens' GetWorkflowResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the migration workflow.
getWorkflowResponse_completedSteps :: Lens' GetWorkflowResponse (Maybe Int) Source #
Get a list of completed steps in the migration workflow.
getWorkflowResponse_creationTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was created.
getWorkflowResponse_description :: Lens' GetWorkflowResponse (Maybe Text) Source #
The description of the migration workflow.
getWorkflowResponse_endTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow ended.
getWorkflowResponse_id :: Lens' GetWorkflowResponse (Maybe Text) Source #
The ID of the migration workflow.
getWorkflowResponse_lastModifiedTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was last modified.
getWorkflowResponse_lastStartTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was last started.
getWorkflowResponse_lastStopTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The time at which the migration workflow was last stopped.
getWorkflowResponse_name :: Lens' GetWorkflowResponse (Maybe Text) Source #
The name of the migration workflow.
getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe MigrationWorkflowStatusEnum) Source #
The status of the migration workflow.
getWorkflowResponse_statusMessage :: Lens' GetWorkflowResponse (Maybe Text) Source #
The status message of the migration workflow.
getWorkflowResponse_tags :: Lens' GetWorkflowResponse (Maybe (HashMap Text Text)) Source #
The tags added to the migration workflow.
getWorkflowResponse_templateId :: Lens' GetWorkflowResponse (Maybe Text) Source #
The ID of the template.
getWorkflowResponse_tools :: Lens' GetWorkflowResponse (Maybe [Tool]) Source #
List of AWS services utilized in a migration workflow.
getWorkflowResponse_totalSteps :: Lens' GetWorkflowResponse (Maybe Int) Source #
The total number of steps in the migration workflow.
getWorkflowResponse_workflowBucket :: Lens' GetWorkflowResponse (Maybe Text) Source #
The Amazon S3 bucket where the migration logs are stored.
getWorkflowResponse_workflowInputs :: Lens' GetWorkflowResponse (Maybe (HashMap Text StepInput)) Source #
The inputs required for creating the migration workflow.
getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int Source #
The response's http status code.