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 action.
Synopsis
- data DeleteAction = DeleteAction' {
- actionName :: Text
- newDeleteAction :: Text -> DeleteAction
- deleteAction_actionName :: Lens' DeleteAction Text
- data DeleteActionResponse = DeleteActionResponse' {
- actionArn :: Maybe Text
- httpStatus :: Int
- newDeleteActionResponse :: Int -> DeleteActionResponse
- deleteActionResponse_actionArn :: Lens' DeleteActionResponse (Maybe Text)
- deleteActionResponse_httpStatus :: Lens' DeleteActionResponse Int
Creating a Request
data DeleteAction Source #
See: newDeleteAction
smart constructor.
DeleteAction' | |
|
Instances
Create a value of DeleteAction
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:actionName:DeleteAction'
, deleteAction_actionName
- The name of the action to delete.
Request Lenses
deleteAction_actionName :: Lens' DeleteAction Text Source #
The name of the action to delete.
Destructuring the Response
data DeleteActionResponse Source #
See: newDeleteActionResponse
smart constructor.
DeleteActionResponse' | |
|
Instances
newDeleteActionResponse Source #
Create a value of DeleteActionResponse
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:actionArn:DeleteActionResponse'
, deleteActionResponse_actionArn
- The Amazon Resource Name (ARN) of the action.
$sel:httpStatus:DeleteActionResponse'
, deleteActionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteActionResponse_actionArn :: Lens' DeleteActionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the action.
deleteActionResponse_httpStatus :: Lens' DeleteActionResponse Int Source #
The response's http status code.