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 |
Gets information about a workflow.
Synopsis
- data GetWorkflow = GetWorkflow' {
- export' :: Maybe [WorkflowExport]
- type' :: Maybe WorkflowType
- id :: Text
- newGetWorkflow :: Text -> GetWorkflow
- getWorkflow_export :: Lens' GetWorkflow (Maybe [WorkflowExport])
- getWorkflow_type :: Lens' GetWorkflow (Maybe WorkflowType)
- getWorkflow_id :: Lens' GetWorkflow Text
- data GetWorkflowResponse = GetWorkflowResponse' {
- arn :: Maybe Text
- creationTime :: Maybe ISO8601
- definition :: Maybe Text
- description :: Maybe Text
- digest :: Maybe Text
- engine :: Maybe WorkflowEngine
- id :: Maybe Text
- main :: Maybe Text
- name :: Maybe Text
- parameterTemplate :: Maybe (HashMap Text WorkflowParameter)
- status :: Maybe WorkflowStatus
- statusMessage :: Maybe Text
- storageCapacity :: Maybe Natural
- tags :: Maybe (HashMap Text Text)
- type' :: Maybe WorkflowType
- httpStatus :: Int
- newGetWorkflowResponse :: Int -> GetWorkflowResponse
- getWorkflowResponse_arn :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_creationTime :: Lens' GetWorkflowResponse (Maybe UTCTime)
- getWorkflowResponse_definition :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_description :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_digest :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_engine :: Lens' GetWorkflowResponse (Maybe WorkflowEngine)
- getWorkflowResponse_id :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_main :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_name :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_parameterTemplate :: Lens' GetWorkflowResponse (Maybe (HashMap Text WorkflowParameter))
- getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe WorkflowStatus)
- getWorkflowResponse_statusMessage :: Lens' GetWorkflowResponse (Maybe Text)
- getWorkflowResponse_storageCapacity :: Lens' GetWorkflowResponse (Maybe Natural)
- getWorkflowResponse_tags :: Lens' GetWorkflowResponse (Maybe (HashMap Text Text))
- getWorkflowResponse_type :: Lens' GetWorkflowResponse (Maybe WorkflowType)
- getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int
Creating a Request
data GetWorkflow Source #
See: newGetWorkflow
smart constructor.
GetWorkflow' | |
|
Instances
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:
$sel:export':GetWorkflow'
, getWorkflow_export
- The export format for the workflow.
GetWorkflow
, getWorkflow_type
- The workflow's type.
GetWorkflow
, getWorkflow_id
- The workflow's ID.
Request Lenses
getWorkflow_export :: Lens' GetWorkflow (Maybe [WorkflowExport]) Source #
The export format for the workflow.
getWorkflow_type :: Lens' GetWorkflow (Maybe WorkflowType) Source #
The workflow's type.
getWorkflow_id :: Lens' GetWorkflow Text Source #
The workflow's ID.
Destructuring the Response
data GetWorkflowResponse Source #
See: newGetWorkflowResponse
smart constructor.
GetWorkflowResponse' | |
|
Instances
newGetWorkflowResponse Source #
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_arn
- The workflow's ARN.
GetWorkflowResponse
, getWorkflowResponse_creationTime
- When the workflow was created.
$sel:definition:GetWorkflowResponse'
, getWorkflowResponse_definition
- The workflow's definition.
GetWorkflowResponse
, getWorkflowResponse_description
- The workflow's description.
GetWorkflowResponse
, getWorkflowResponse_digest
- The workflow's digest.
$sel:engine:GetWorkflowResponse'
, getWorkflowResponse_engine
- The workflow's engine.
GetWorkflow
, getWorkflowResponse_id
- The workflow's ID.
$sel:main:GetWorkflowResponse'
, getWorkflowResponse_main
- The path of the main definition file for the workflow.
GetWorkflowResponse
, getWorkflowResponse_name
- The workflow's name.
$sel:parameterTemplate:GetWorkflowResponse'
, getWorkflowResponse_parameterTemplate
- The workflow's parameter template.
GetWorkflowResponse
, getWorkflowResponse_status
- The workflow's status.
GetWorkflowResponse
, getWorkflowResponse_statusMessage
- The workflow's status message.
GetWorkflowResponse
, getWorkflowResponse_storageCapacity
- The workflow's storage capacity.
GetWorkflowResponse
, getWorkflowResponse_tags
- The workflow's tags.
GetWorkflow
, getWorkflowResponse_type
- The workflow's type.
$sel:httpStatus:GetWorkflowResponse'
, getWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
getWorkflowResponse_arn :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's ARN.
getWorkflowResponse_creationTime :: Lens' GetWorkflowResponse (Maybe UTCTime) Source #
When the workflow was created.
getWorkflowResponse_definition :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's definition.
getWorkflowResponse_description :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's description.
getWorkflowResponse_digest :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's digest.
getWorkflowResponse_engine :: Lens' GetWorkflowResponse (Maybe WorkflowEngine) Source #
The workflow's engine.
getWorkflowResponse_id :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's ID.
getWorkflowResponse_main :: Lens' GetWorkflowResponse (Maybe Text) Source #
The path of the main definition file for the workflow.
getWorkflowResponse_name :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's name.
getWorkflowResponse_parameterTemplate :: Lens' GetWorkflowResponse (Maybe (HashMap Text WorkflowParameter)) Source #
The workflow's parameter template.
getWorkflowResponse_status :: Lens' GetWorkflowResponse (Maybe WorkflowStatus) Source #
The workflow's status.
getWorkflowResponse_statusMessage :: Lens' GetWorkflowResponse (Maybe Text) Source #
The workflow's status message.
getWorkflowResponse_storageCapacity :: Lens' GetWorkflowResponse (Maybe Natural) Source #
The workflow's storage capacity.
getWorkflowResponse_tags :: Lens' GetWorkflowResponse (Maybe (HashMap Text Text)) Source #
The workflow's tags.
getWorkflowResponse_type :: Lens' GetWorkflowResponse (Maybe WorkflowType) Source #
The workflow's type.
getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int Source #
The response's http status code.