| 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.Glue.GetWorkflow
Description
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.
Constructors
| GetWorkflow' | |
Fields
| |
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:
$sel:includeGraph:GetWorkflow', getWorkflow_includeGraph - Specifies whether to include a graph when returning the workflow
resource metadata.
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.
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: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.