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 |
Deletes a workflow.
Synopsis
- data DeleteWorkflow = DeleteWorkflow' {}
- newDeleteWorkflow :: Text -> DeleteWorkflow
- deleteWorkflow_name :: Lens' DeleteWorkflow Text
- data DeleteWorkflowResponse = DeleteWorkflowResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newDeleteWorkflowResponse :: Int -> DeleteWorkflowResponse
- deleteWorkflowResponse_name :: Lens' DeleteWorkflowResponse (Maybe Text)
- deleteWorkflowResponse_httpStatus :: Lens' DeleteWorkflowResponse Int
Creating a Request
data DeleteWorkflow Source #
See: newDeleteWorkflow
smart constructor.
Instances
Create a value of DeleteWorkflow
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:name:DeleteWorkflow'
, deleteWorkflow_name
- Name of the workflow to be deleted.
Request Lenses
deleteWorkflow_name :: Lens' DeleteWorkflow Text Source #
Name of the workflow to be deleted.
Destructuring the Response
data DeleteWorkflowResponse Source #
See: newDeleteWorkflowResponse
smart constructor.
DeleteWorkflowResponse' | |
|
Instances
newDeleteWorkflowResponse Source #
Create a value of DeleteWorkflowResponse
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:name:DeleteWorkflow'
, deleteWorkflowResponse_name
- Name of the workflow specified in input.
$sel:httpStatus:DeleteWorkflowResponse'
, deleteWorkflowResponse_httpStatus
- The response's http status code.
Response Lenses
deleteWorkflowResponse_name :: Lens' DeleteWorkflowResponse (Maybe Text) Source #
Name of the workflow specified in input.
deleteWorkflowResponse_httpStatus :: Lens' DeleteWorkflowResponse Int Source #
The response's http status code.