amazonka-cloudtrail-2.0: Amazon CloudTrail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DeleteEventDataStore Source #

See: newDeleteEventDataStore smart constructor.

Constructors

DeleteEventDataStore' 

Fields

  • eventDataStore :: Text

    The ARN (or the ID suffix of the ARN) of the event data store to delete.

Instances

Instances details
ToJSON DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToHeaders DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToPath DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

ToQuery DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

AWSRequest DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type AWSResponse DeleteEventDataStore #

Generic DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type Rep DeleteEventDataStore :: Type -> Type #

Read DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Show DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

NFData DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Methods

rnf :: DeleteEventDataStore -> () #

Eq DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Hashable DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type AWSResponse DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStore = D1 ('MetaData "DeleteEventDataStore" "Amazonka.CloudTrail.DeleteEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeleteEventDataStore'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventDataStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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

Instances details
Generic DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Associated Types

type Rep DeleteEventDataStoreResponse :: Type -> Type #

Read DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Show DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

NFData DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

Eq DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.DeleteEventDataStore

type Rep DeleteEventDataStoreResponse = D1 ('MetaData "DeleteEventDataStoreResponse" "Amazonka.CloudTrail.DeleteEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "DeleteEventDataStoreResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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