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 |
Amazonka.Athena.DeleteWorkGroup
Description
Deletes the workgroup with the specified name. The primary workgroup cannot be deleted.
Synopsis
- data DeleteWorkGroup = DeleteWorkGroup' {}
- newDeleteWorkGroup :: Text -> DeleteWorkGroup
- deleteWorkGroup_recursiveDeleteOption :: Lens' DeleteWorkGroup (Maybe Bool)
- deleteWorkGroup_workGroup :: Lens' DeleteWorkGroup Text
- data DeleteWorkGroupResponse = DeleteWorkGroupResponse' {
- httpStatus :: Int
- newDeleteWorkGroupResponse :: Int -> DeleteWorkGroupResponse
- deleteWorkGroupResponse_httpStatus :: Lens' DeleteWorkGroupResponse Int
Creating a Request
data DeleteWorkGroup Source #
See: newDeleteWorkGroup
smart constructor.
Constructors
DeleteWorkGroup' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteWorkGroup |
Create a value of DeleteWorkGroup
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:recursiveDeleteOption:DeleteWorkGroup'
, deleteWorkGroup_recursiveDeleteOption
- The option to delete the workgroup and its contents even if the
workgroup contains any named queries or query executions.
$sel:workGroup:DeleteWorkGroup'
, deleteWorkGroup_workGroup
- The unique name of the workgroup to delete.
Request Lenses
deleteWorkGroup_recursiveDeleteOption :: Lens' DeleteWorkGroup (Maybe Bool) Source #
The option to delete the workgroup and its contents even if the workgroup contains any named queries or query executions.
deleteWorkGroup_workGroup :: Lens' DeleteWorkGroup Text Source #
The unique name of the workgroup to delete.
Destructuring the Response
data DeleteWorkGroupResponse Source #
See: newDeleteWorkGroupResponse
smart constructor.
Constructors
DeleteWorkGroupResponse' | |
Fields
|
Instances
newDeleteWorkGroupResponse Source #
Create a value of DeleteWorkGroupResponse
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:DeleteWorkGroupResponse'
, deleteWorkGroupResponse_httpStatus
- The response's http status code.
Response Lenses
deleteWorkGroupResponse_httpStatus :: Lens' DeleteWorkGroupResponse Int Source #
The response's http status code.