libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.Types.GreengrassLogger

Description

 
Synopsis

Documentation

data GreengrassLogger Source #

Information about a logger

See: newGreengrassLogger smart constructor.

Constructors

GreengrassLogger' 

Fields

  • space :: Maybe Int

    The amount of file space, in KB, to use if the local file system is used for logging purposes.

  • type' :: LoggerType

    The type of log output which will be used.

  • level :: LoggerLevel

    The level of the logs.

  • id :: Text

    A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

  • component :: LoggerComponent

    The component that will be subject to logging.

Instances

Instances details
Eq GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

Read GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

Show GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

Generic GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

Associated Types

type Rep GreengrassLogger :: Type -> Type #

NFData GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

Methods

rnf :: GreengrassLogger -> () #

Hashable GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

ToJSON GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

FromJSON GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

type Rep GreengrassLogger Source # 
Instance details

Defined in Amazonka.Greengrass.Types.GreengrassLogger

type Rep GreengrassLogger = D1 ('MetaData "GreengrassLogger" "Amazonka.Greengrass.Types.GreengrassLogger" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GreengrassLogger'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "space") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggerType)) :*: (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggerLevel) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "component") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggerComponent)))))

newGreengrassLogger Source #

Create a value of GreengrassLogger 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:space:GreengrassLogger', greengrassLogger_space - The amount of file space, in KB, to use if the local file system is used for logging purposes.

$sel:type':GreengrassLogger', greengrassLogger_type - The type of log output which will be used.

$sel:level:GreengrassLogger', greengrassLogger_level - The level of the logs.

$sel:id:GreengrassLogger', greengrassLogger_id - A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

$sel:component:GreengrassLogger', greengrassLogger_component - The component that will be subject to logging.

greengrassLogger_space :: Lens' GreengrassLogger (Maybe Int) Source #

The amount of file space, in KB, to use if the local file system is used for logging purposes.

greengrassLogger_type :: Lens' GreengrassLogger LoggerType Source #

The type of log output which will be used.

greengrassLogger_id :: Lens' GreengrassLogger Text Source #

A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

greengrassLogger_component :: Lens' GreengrassLogger LoggerComponent Source #

The component that will be subject to logging.