| 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.CustomerProfiles.GetWorkflow
Description
Get details of specified workflow.
Synopsis
- data GetWorkflow = GetWorkflow' {
- domainName :: Text
- workflowId :: Text
- newGetWorkflow :: Text -> Text -> GetWorkflow
- getWorkflow_domainName :: Lens' GetWorkflow Text
- getWorkflow_workflowId :: Lens' GetWorkflow Text
- data GetWorkflowResponse = GetWorkflowResponse' {}
- newGetWorkflowResponse :: Int -> GetWorkflowResponse
- getWorkflowResponse_attributes :: Lens' GetWorkflowResponse (Maybe WorkflowAttributes)
- getWorkflowResponse_errorDescription :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_lastUpdatedAt :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_metrics :: Lens' GetWorkflowResponse (Maybe WorkflowMetrics)
- getWorkflowResponse_startDate :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe Status)
- getWorkflowResponse_workflowId :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_workflowType :: Lens' GetWorkflowResponse (Maybe WorkflowType)
- getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int
Creating a Request
data GetWorkflow Source #
See: newGetWorkflow smart constructor.
Constructors
| GetWorkflow' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> 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_domainName - The unique name of the domain.
GetWorkflow, getWorkflow_workflowId - Unique identifier for the workflow.
Request Lenses
getWorkflow_domainName :: Lens' GetWorkflow Text Source #
The unique name of the domain.
getWorkflow_workflowId :: Lens' GetWorkflow Text Source #
Unique identifier for the 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:
GetWorkflowResponse, getWorkflowResponse_attributes - Attributes provided for workflow execution.
$sel:errorDescription:GetWorkflowResponse', getWorkflowResponse_errorDescription - Workflow error messages during execution (if any).
GetWorkflowResponse, getWorkflowResponse_lastUpdatedAt - The timestamp that represents when workflow execution last updated.
$sel:metrics:GetWorkflowResponse', getWorkflowResponse_metrics - Workflow specific execution metrics.
$sel:startDate:GetWorkflowResponse', getWorkflowResponse_startDate - The timestamp that represents when workflow execution started.
GetWorkflowResponse, getWorkflowResponse_status - Status of workflow execution.
GetWorkflow, getWorkflowResponse_workflowId - Unique identifier for the workflow.
GetWorkflowResponse, getWorkflowResponse_workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.
$sel:httpStatus:GetWorkflowResponse', getWorkflowResponse_httpStatus - The response's http status code.
Response Lenses
getWorkflowResponse_attributes :: Lens' GetWorkflowResponse (Maybe WorkflowAttributes) Source #
Attributes provided for workflow execution.
getWorkflowResponse_errorDescription :: Lens' GetWorkflowResponse (Maybe Text) Source #
Workflow error messages during execution (if any).
getWorkflowResponse_lastUpdatedAt :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The timestamp that represents when workflow execution last updated.
getWorkflowResponse_metrics :: Lens' GetWorkflowResponse (Maybe WorkflowMetrics) Source #
Workflow specific execution metrics.
getWorkflowResponse_startDate :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
The timestamp that represents when workflow execution started.
getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe Status) Source #
Status of workflow execution.
getWorkflowResponse_workflowId :: Lens' GetWorkflowResponse (Maybe Text) Source #
Unique identifier for the workflow.
getWorkflowResponse_workflowType :: Lens' GetWorkflowResponse (Maybe WorkflowType) Source #
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int Source #
The response's http status code.