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 |
Deletes an allow list.
Synopsis
- data DeleteAllowList = DeleteAllowList' {
- ignoreJobChecks :: Maybe Text
- id :: Text
- newDeleteAllowList :: Text -> DeleteAllowList
- deleteAllowList_ignoreJobChecks :: Lens' DeleteAllowList (Maybe Text)
- deleteAllowList_id :: Lens' DeleteAllowList Text
- data DeleteAllowListResponse = DeleteAllowListResponse' {
- httpStatus :: Int
- newDeleteAllowListResponse :: Int -> DeleteAllowListResponse
- deleteAllowListResponse_httpStatus :: Lens' DeleteAllowListResponse Int
Creating a Request
data DeleteAllowList Source #
See: newDeleteAllowList
smart constructor.
DeleteAllowList' | |
|
Instances
Create a value of DeleteAllowList
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:ignoreJobChecks:DeleteAllowList'
, deleteAllowList_ignoreJobChecks
- Specifies whether to force deletion of the allow list, even if active
classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
DeleteAllowList
, deleteAllowList_id
- The unique identifier for the Amazon Macie resource that the request
applies to.
Request Lenses
deleteAllowList_ignoreJobChecks :: Lens' DeleteAllowList (Maybe Text) Source #
Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.
When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.
deleteAllowList_id :: Lens' DeleteAllowList Text Source #
The unique identifier for the Amazon Macie resource that the request applies to.
Destructuring the Response
data DeleteAllowListResponse Source #
See: newDeleteAllowListResponse
smart constructor.
DeleteAllowListResponse' | |
|
Instances
newDeleteAllowListResponse Source #
Create a value of DeleteAllowListResponse
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:DeleteAllowListResponse'
, deleteAllowListResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAllowListResponse_httpStatus :: Lens' DeleteAllowListResponse Int Source #
The response's http status code.