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 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.
DeleteActivity' | |
|
Instances
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:
$sel:activityArn: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.
DeleteActivityResponse' | |
|
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.