Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
LogSubscription' | |
|
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.