libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatchLogs.Types.LogGroup

Description

 
Synopsis

Documentation

data LogGroup Source #

Represents a log group.

See: newLogGroup smart constructor.

Constructors

LogGroup' 

Fields

Instances

Instances details
Eq LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Read LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Show 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 #

NFData LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

rnf :: LogGroup -> () #

Hashable LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

FromJSON LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

type Rep LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

type Rep LogGroup = D1 ('MetaData "LogGroup" "Amazonka.CloudWatchLogs.Types.LogGroup" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "LogGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "metricFilterCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "retentionInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storedBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

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: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:metricFilterCount:LogGroup', logGroup_metricFilterCount - The number of metric filters.

$sel:arn:LogGroup', logGroup_arn - The Amazon Resource Name (ARN) of the log group.

$sel:logGroupName:LogGroup', logGroup_logGroupName - The name of the log group.

$sel:retentionInDays:LogGroup', logGroup_retentionInDays - Undocumented member.

$sel:kmsKeyId:LogGroup', logGroup_kmsKeyId - The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.

$sel:storedBytes:LogGroup', logGroup_storedBytes - The number of bytes stored.

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_metricFilterCount :: Lens' LogGroup (Maybe Int) Source #

The number of metric filters.

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

The Amazon Resource Name (ARN) of the log group.

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

The name of the log group.

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

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

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

The number of bytes stored.