| 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.DeleteWorkflow
Description
Deletes the specified workflow and all its corresponding resources. This is an async process.
Synopsis
- data DeleteWorkflow = DeleteWorkflow' {
- domainName :: Text
- workflowId :: Text
- newDeleteWorkflow :: Text -> Text -> DeleteWorkflow
- deleteWorkflow_domainName :: Lens' DeleteWorkflow Text
- deleteWorkflow_workflowId :: Lens' DeleteWorkflow Text
- data DeleteWorkflowResponse = DeleteWorkflowResponse' {
- httpStatus :: Int
- newDeleteWorkflowResponse :: Int -> DeleteWorkflowResponse
- deleteWorkflowResponse_httpStatus :: Lens' DeleteWorkflowResponse Int
Creating a Request
data DeleteWorkflow Source #
See: newDeleteWorkflow smart constructor.
Constructors
| DeleteWorkflow' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteWorkflow |
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:
DeleteWorkflow, deleteWorkflow_domainName - The unique name of the domain.
DeleteWorkflow, deleteWorkflow_workflowId - Unique identifier for the workflow.
Request Lenses
deleteWorkflow_domainName :: Lens' DeleteWorkflow Text Source #
The unique name of the domain.
deleteWorkflow_workflowId :: Lens' DeleteWorkflow Text Source #
Unique identifier for the workflow.
Destructuring the Response
data DeleteWorkflowResponse Source #
See: newDeleteWorkflowResponse smart constructor.
Constructors
| DeleteWorkflowResponse' | |
Fields
| |
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:httpStatus:DeleteWorkflowResponse', deleteWorkflowResponse_httpStatus - The response's http status code.
Response Lenses
deleteWorkflowResponse_httpStatus :: Lens' DeleteWorkflowResponse Int Source #
The response's http status code.