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 |
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
Synopsis
- data GetEventDataStore = GetEventDataStore' {}
- newGetEventDataStore :: Text -> GetEventDataStore
- getEventDataStore_eventDataStore :: Lens' GetEventDataStore Text
- data GetEventDataStoreResponse = GetEventDataStoreResponse' {
- advancedEventSelectors :: Maybe [AdvancedEventSelector]
- createdTimestamp :: Maybe POSIX
- eventDataStoreArn :: Maybe Text
- kmsKeyId :: Maybe Text
- multiRegionEnabled :: Maybe Bool
- name :: Maybe Text
- organizationEnabled :: Maybe Bool
- retentionPeriod :: Maybe Natural
- status :: Maybe EventDataStoreStatus
- terminationProtectionEnabled :: Maybe Bool
- updatedTimestamp :: Maybe POSIX
- httpStatus :: Int
- newGetEventDataStoreResponse :: Int -> GetEventDataStoreResponse
- getEventDataStoreResponse_advancedEventSelectors :: Lens' GetEventDataStoreResponse (Maybe [AdvancedEventSelector])
- getEventDataStoreResponse_createdTimestamp :: Lens' GetEventDataStoreResponse (Maybe UTCTime)
- getEventDataStoreResponse_eventDataStoreArn :: Lens' GetEventDataStoreResponse (Maybe Text)
- getEventDataStoreResponse_kmsKeyId :: Lens' GetEventDataStoreResponse (Maybe Text)
- getEventDataStoreResponse_multiRegionEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool)
- getEventDataStoreResponse_name :: Lens' GetEventDataStoreResponse (Maybe Text)
- getEventDataStoreResponse_organizationEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool)
- getEventDataStoreResponse_retentionPeriod :: Lens' GetEventDataStoreResponse (Maybe Natural)
- getEventDataStoreResponse_status :: Lens' GetEventDataStoreResponse (Maybe EventDataStoreStatus)
- getEventDataStoreResponse_terminationProtectionEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool)
- getEventDataStoreResponse_updatedTimestamp :: Lens' GetEventDataStoreResponse (Maybe UTCTime)
- getEventDataStoreResponse_httpStatus :: Lens' GetEventDataStoreResponse Int
Creating a Request
data GetEventDataStore Source #
See: newGetEventDataStore
smart constructor.
GetEventDataStore' | |
|
Instances
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.
GetEventDataStoreResponse' | |
|
Instances
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_createdTimestamp :: Lens' GetEventDataStoreResponse (Maybe UTCTime) Source #
The timestamp of the event data store's creation.
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_name :: Lens' GetEventDataStoreResponse (Maybe Text) Source #
The name of the event data store.
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_terminationProtectionEnabled :: Lens' GetEventDataStoreResponse (Maybe Bool) Source #
Indicates that termination protection is enabled.
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
.
getEventDataStoreResponse_httpStatus :: Lens' GetEventDataStoreResponse Int Source #
The response's http status code.