| 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.DeleteWorkteam
Description
Deletes an existing work team. This operation can't be undone.
Synopsis
- data DeleteWorkteam = DeleteWorkteam' {
- workteamName :: Text
 
 - newDeleteWorkteam :: Text -> DeleteWorkteam
 - deleteWorkteam_workteamName :: Lens' DeleteWorkteam Text
 - data DeleteWorkteamResponse = DeleteWorkteamResponse' {
- httpStatus :: Int
 - success :: Bool
 
 - newDeleteWorkteamResponse :: Int -> Bool -> DeleteWorkteamResponse
 - deleteWorkteamResponse_httpStatus :: Lens' DeleteWorkteamResponse Int
 - deleteWorkteamResponse_success :: Lens' DeleteWorkteamResponse Bool
 
Creating a Request
data DeleteWorkteam Source #
See: newDeleteWorkteam smart constructor.
Constructors
| DeleteWorkteam' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> DeleteWorkteam | 
Create a value of DeleteWorkteam 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:
DeleteWorkteam, deleteWorkteam_workteamName - The name of the work team to delete.
Request Lenses
deleteWorkteam_workteamName :: Lens' DeleteWorkteam Text Source #
The name of the work team to delete.
Destructuring the Response
data DeleteWorkteamResponse Source #
See: newDeleteWorkteamResponse smart constructor.
Constructors
| DeleteWorkteamResponse' | |
Fields 
  | |
Instances
newDeleteWorkteamResponse Source #
Arguments
| :: Int | |
| -> Bool | |
| -> DeleteWorkteamResponse | 
Create a value of DeleteWorkteamResponse 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:DeleteWorkteamResponse', deleteWorkteamResponse_httpStatus - The response's http status code.
$sel:success:DeleteWorkteamResponse', deleteWorkteamResponse_success - Returns true if the work team was successfully deleted; otherwise,
 returns false.
Response Lenses
deleteWorkteamResponse_httpStatus :: Lens' DeleteWorkteamResponse Int Source #
The response's http status code.
deleteWorkteamResponse_success :: Lens' DeleteWorkteamResponse Bool Source #
Returns true if the work team was successfully deleted; otherwise,
 returns false.