| 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.CloudTrail.DeleteEventDataStore
Description
Disables the event data store specified by EventDataStore, which
accepts an event data store ARN. After you run DeleteEventDataStore,
the event data store enters a PENDING_DELETION state, and is
automatically deleted after a wait period of seven days.
TerminationProtectionEnabled must be set to False on the event data
store; this operation cannot work if TerminationProtectionEnabled is
True.
After you run DeleteEventDataStore on an event data store, you cannot
run ListQueries, DescribeQuery, or GetQueryResults on queries that
are using an event data store in a PENDING_DELETION state. An event
data store in the PENDING_DELETION state does not incur costs.
Synopsis
- data DeleteEventDataStore = DeleteEventDataStore' {}
- newDeleteEventDataStore :: Text -> DeleteEventDataStore
- deleteEventDataStore_eventDataStore :: Lens' DeleteEventDataStore Text
- data DeleteEventDataStoreResponse = DeleteEventDataStoreResponse' {
- httpStatus :: Int
- newDeleteEventDataStoreResponse :: Int -> DeleteEventDataStoreResponse
- deleteEventDataStoreResponse_httpStatus :: Lens' DeleteEventDataStoreResponse Int
Creating a Request
data DeleteEventDataStore Source #
See: newDeleteEventDataStore smart constructor.
Constructors
| DeleteEventDataStore' | |
Fields
| |
Instances
newDeleteEventDataStore Source #
Create a value of DeleteEventDataStore 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:eventDataStore:DeleteEventDataStore', deleteEventDataStore_eventDataStore - The ARN (or the ID suffix of the ARN) of the event data store to delete.
Request Lenses
deleteEventDataStore_eventDataStore :: Lens' DeleteEventDataStore Text Source #
The ARN (or the ID suffix of the ARN) of the event data store to delete.
Destructuring the Response
data DeleteEventDataStoreResponse Source #
See: newDeleteEventDataStoreResponse smart constructor.
Constructors
| DeleteEventDataStoreResponse' | |
Fields
| |
Instances
newDeleteEventDataStoreResponse Source #
Create a value of DeleteEventDataStoreResponse 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:DeleteEventDataStoreResponse', deleteEventDataStoreResponse_httpStatus - The response's http status code.
Response Lenses
deleteEventDataStoreResponse_httpStatus :: Lens' DeleteEventDataStoreResponse Int Source #
The response's http status code.