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 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.
DeleteWorkteam' | |
|
Instances
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:
$sel:workteamName: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.
DeleteWorkteamResponse' | |
|
Instances
newDeleteWorkteamResponse Source #
:: 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
.