amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs 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.CloudWatchLogs.Types.LogGroup

Description

 
Synopsis

Documentation

data LogGroup Source #

Represents a log group.

See: newLogGroup smart constructor.

Constructors

LogGroup' 

Fields

Instances

Instances details
FromJSON LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Generic LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Associated Types

type Rep LogGroup :: Type -> Type #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Read LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Show LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

NFData LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

rnf :: LogGroup -> () #

Eq LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Hashable LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

type Rep LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

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.

logGroup_kmsKeyId :: Lens' LogGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

logGroup_logGroupName :: Lens' LogGroup (Maybe Text) Source #

The name of the log group.

logGroup_metricFilterCount :: Lens' LogGroup (Maybe Int) Source #

The number of metric filters.

logGroup_storedBytes :: Lens' LogGroup (Maybe Natural) Source #

The number of bytes stored.