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.GetEventDataStore

Description

Returns information about an event data store specified as either an ARN or the ID portion of the ARN.

Synopsis

Creating a Request

data GetEventDataStore Source #

See: newGetEventDataStore smart constructor.

Constructors

GetEventDataStore' 

Fields

  • eventDataStore :: Text

    The ARN (or ID suffix of the ARN) of the event data store about which you want information.

Instances

Instances details
ToJSON GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToHeaders GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToPath GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

ToQuery GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

AWSRequest GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type AWSResponse GetEventDataStore #

Generic GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type Rep GetEventDataStore :: Type -> Type #

Read GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Show GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

NFData GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Methods

rnf :: GetEventDataStore -> () #

Eq GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Hashable GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type AWSResponse GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStore Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

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

newGetEventDataStore Source #

Create a value of GetEventDataStore 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:GetEventDataStore', getEventDataStore_eventDataStore - The ARN (or ID suffix of the ARN) of the event data store about which you want information.

Request Lenses

getEventDataStore_eventDataStore :: Lens' GetEventDataStore Text Source #

The ARN (or ID suffix of the ARN) of the event data store about which you want information.

Destructuring the Response

data GetEventDataStoreResponse Source #

See: newGetEventDataStoreResponse smart constructor.

Constructors

GetEventDataStoreResponse' 

Fields

Instances

Instances details
Generic GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Associated Types

type Rep GetEventDataStoreResponse :: Type -> Type #

Read GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Show GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

NFData GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

Eq GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStoreResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetEventDataStore

type Rep GetEventDataStoreResponse = D1 ('MetaData "GetEventDataStoreResponse" "Amazonka.CloudTrail.GetEventDataStore" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetEventDataStoreResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "advancedEventSelectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AdvancedEventSelector])) :*: (S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "eventDataStoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "multiRegionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "organizationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventDataStoreStatus)))) :*: (S1 ('MetaSel ('Just "terminationProtectionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "updatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetEventDataStoreResponse Source #

Create a value of GetEventDataStoreResponse 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:

GetEventDataStoreResponse, getEventDataStoreResponse_advancedEventSelectors - The advanced event selectors used to select events for the data store.

GetEventDataStoreResponse, getEventDataStoreResponse_createdTimestamp - The timestamp of the event data store's creation.

GetEventDataStoreResponse, getEventDataStoreResponse_eventDataStoreArn - The event data store Amazon Resource Number (ARN).

GetEventDataStoreResponse, getEventDataStoreResponse_kmsKeyId - Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

GetEventDataStoreResponse, getEventDataStoreResponse_multiRegionEnabled - Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

GetEventDataStoreResponse, getEventDataStoreResponse_name - The name of the event data store.

GetEventDataStoreResponse, getEventDataStoreResponse_organizationEnabled - Indicates whether an event data store is collecting logged events for an organization in Organizations.

GetEventDataStoreResponse, getEventDataStoreResponse_retentionPeriod - The retention period of the event data store, in days.

GetEventDataStoreResponse, getEventDataStoreResponse_status - The status of an event data store. Values can be ENABLED and PENDING_DELETION.

GetEventDataStoreResponse, getEventDataStoreResponse_terminationProtectionEnabled - Indicates that termination protection is enabled.

GetEventDataStoreResponse, getEventDataStoreResponse_updatedTimestamp - Shows the time that an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.

$sel:httpStatus:GetEventDataStoreResponse', getEventDataStoreResponse_httpStatus - The response's http status code.

Response Lenses

getEventDataStoreResponse_advancedEventSelectors :: Lens' GetEventDataStoreResponse (Maybe [AdvancedEventSelector]) Source #

The advanced event selectors used to select events for the data store.

getEventDataStoreResponse_eventDataStoreArn :: Lens' GetEventDataStoreResponse (Maybe Text) Source #

The event data store Amazon Resource Number (ARN).

getEventDataStoreResponse_kmsKeyId :: Lens' GetEventDataStoreResponse (Maybe Text) Source #

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the following format.

arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012

getEventDataStoreResponse_multiRegionEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool) Source #

Indicates whether the event data store includes events from all regions, or only from the region in which it was created.

getEventDataStoreResponse_organizationEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool) Source #

Indicates whether an event data store is collecting logged events for an organization in Organizations.

getEventDataStoreResponse_retentionPeriod :: Lens' GetEventDataStoreResponse (Maybe Natural) Source #

The retention period of the event data store, in days.

getEventDataStoreResponse_status :: Lens' GetEventDataStoreResponse (Maybe EventDataStoreStatus) Source #

The status of an event data store. Values can be ENABLED and PENDING_DELETION.

getEventDataStoreResponse_updatedTimestamp :: Lens' GetEventDataStoreResponse (Maybe UTCTime) Source #

Shows the time that an event data store was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.