| 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.SageMaker.DeleteAction
Description
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.
Constructors
| DeleteAction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteAction |
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:
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.
Constructors
| DeleteActionResponse' | |
Fields
| |
Instances
newDeleteActionResponse Source #
Arguments
| :: Int | |
| -> DeleteActionResponse |
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:
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.