| 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.CloudWatchLogs.Types.LogGroup
Description
Synopsis
- data LogGroup = LogGroup' {}
- newLogGroup :: LogGroup
- logGroup_arn :: Lens' LogGroup (Maybe Text)
- logGroup_creationTime :: Lens' LogGroup (Maybe Natural)
- logGroup_dataProtectionStatus :: Lens' LogGroup (Maybe DataProtectionStatus)
- logGroup_kmsKeyId :: Lens' LogGroup (Maybe Text)
- logGroup_logGroupName :: Lens' LogGroup (Maybe Text)
- logGroup_metricFilterCount :: Lens' LogGroup (Maybe Int)
- logGroup_retentionInDays :: Lens' LogGroup (Maybe Int)
- logGroup_storedBytes :: Lens' LogGroup (Maybe Natural)
Documentation
Represents a log group.
See: newLogGroup smart constructor.
Constructors
| LogGroup' | |
Fields
| |
Instances
newLogGroup :: LogGroup Source #
Create a value of LogGroup 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:arn:LogGroup', logGroup_arn - The Amazon Resource Name (ARN) of the log group.
$sel:creationTime:LogGroup', logGroup_creationTime - The creation time of the log group, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:dataProtectionStatus:LogGroup', logGroup_dataProtectionStatus - Displays whether this log group has a protection policy, or whether it
had one in the past. For more information, see
PutDataProtectionPolicy.
$sel:kmsKeyId:LogGroup', logGroup_kmsKeyId - The Amazon Resource Name (ARN) of the KMS key to use when encrypting log
data.
$sel:logGroupName:LogGroup', logGroup_logGroupName - The name of the log group.
$sel:metricFilterCount:LogGroup', logGroup_metricFilterCount - The number of metric filters.
$sel:retentionInDays:LogGroup', logGroup_retentionInDays - Undocumented member.
$sel:storedBytes:LogGroup', logGroup_storedBytes - The number of bytes stored.
logGroup_arn :: Lens' LogGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the log group.
logGroup_creationTime :: Lens' LogGroup (Maybe Natural) Source #
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
logGroup_dataProtectionStatus :: Lens' LogGroup (Maybe DataProtectionStatus) Source #
Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.