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 |
Retrieves resource metadata for a workflow.
Synopsis
- data GetWorkflow = GetWorkflow' {
- includeGraph :: Maybe Bool
- name :: Text
- newGetWorkflow :: Text -> GetWorkflow
- getWorkflow_includeGraph :: Lens' GetWorkflow (Maybe Bool)
- getWorkflow_name :: Lens' GetWorkflow Text
- data GetWorkflowResponse = GetWorkflowResponse' {
- workflow :: Maybe Workflow
- httpStatus :: Int
- newGetWorkflowResponse :: Int -> GetWorkflowResponse
- getWorkflowResponse_workflow :: Lens' GetWorkflowResponse (Maybe Workflow)
- 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:includeGraph:GetWorkflow'
, getWorkflow_includeGraph
- Specifies whether to include a graph when returning the workflow
resource metadata.
$sel:name:GetWorkflow'
, getWorkflow_name
- The name of the workflow to retrieve.
Request Lenses
getWorkflow_includeGraph :: Lens' GetWorkflow (Maybe Bool) Source #
Specifies whether to include a graph when returning the workflow resource metadata.
getWorkflow_name :: Lens' GetWorkflow Text Source #
The name of the workflow to retrieve.
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:
$sel:workflow:GetWorkflowResponse'
, getWorkflowResponse_workflow
- The resource metadata for the workflow.
$sel:httpStatus:GetWorkflowResponse'
, getWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
getWorkflowResponse_workflow :: Lens' GetWorkflowResponse (Maybe Workflow) Source #
The resource metadata for the workflow.
getWorkflowResponse_httpStatus :: Lens' GetWorkflowResponse Int Source #
The response's http status code.