| 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.StepFunctions.DeleteActivity
Description
Deletes an activity.
Synopsis
- data DeleteActivity = DeleteActivity' {
- activityArn :: Text
- newDeleteActivity :: Text -> DeleteActivity
- deleteActivity_activityArn :: Lens' DeleteActivity Text
- data DeleteActivityResponse = DeleteActivityResponse' {
- httpStatus :: Int
- newDeleteActivityResponse :: Int -> DeleteActivityResponse
- deleteActivityResponse_httpStatus :: Lens' DeleteActivityResponse Int
Creating a Request
data DeleteActivity Source #
See: newDeleteActivity smart constructor.
Constructors
| DeleteActivity' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteActivity |
Create a value of DeleteActivity 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:
DeleteActivity, deleteActivity_activityArn - The Amazon Resource Name (ARN) of the activity to delete.
Request Lenses
deleteActivity_activityArn :: Lens' DeleteActivity Text Source #
The Amazon Resource Name (ARN) of the activity to delete.
Destructuring the Response
data DeleteActivityResponse Source #
See: newDeleteActivityResponse smart constructor.
Constructors
| DeleteActivityResponse' | |
Fields
| |
Instances
newDeleteActivityResponse Source #
Create a value of DeleteActivityResponse 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:DeleteActivityResponse', deleteActivityResponse_httpStatus - The response's http status code.
Response Lenses
deleteActivityResponse_httpStatus :: Lens' DeleteActivityResponse Int Source #
The response's http status code.