| 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.DirectoryService.Types.LogSubscription
Description
Synopsis
Documentation
data LogSubscription Source #
Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.
See: newLogSubscription smart constructor.
Constructors
| LogSubscription' | |
Fields
| |
Instances
newLogSubscription :: LogSubscription Source #
Create a value of LogSubscription 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:directoryId:LogSubscription', logSubscription_directoryId - Identifier (ID) of the directory that you want to associate with the log
subscription.
$sel:logGroupName:LogSubscription', logSubscription_logGroupName - The name of the log group.
$sel:subscriptionCreatedDateTime:LogSubscription', logSubscription_subscriptionCreatedDateTime - The date and time that the log subscription was created.
logSubscription_directoryId :: Lens' LogSubscription (Maybe Text) Source #
Identifier (ID) of the directory that you want to associate with the log subscription.
logSubscription_logGroupName :: Lens' LogSubscription (Maybe Text) Source #
The name of the log group.
logSubscription_subscriptionCreatedDateTime :: Lens' LogSubscription (Maybe UTCTime) Source #
The date and time that the log subscription was created.