libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.SetV2LoggingOptions

Description

Sets the logging options for the V2 logging service.

Requires permission to access the SetV2LoggingOptions action.

Synopsis

Creating a Request

data SetV2LoggingOptions Source #

See: newSetV2LoggingOptions smart constructor.

Constructors

SetV2LoggingOptions' 

Fields

Instances

Instances details
Eq SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Read SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Show SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Generic SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Associated Types

type Rep SetV2LoggingOptions :: Type -> Type #

NFData SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Methods

rnf :: SetV2LoggingOptions -> () #

Hashable SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

ToJSON SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

AWSRequest SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Associated Types

type AWSResponse SetV2LoggingOptions #

ToHeaders SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

ToPath SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

ToQuery SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

type Rep SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

type Rep SetV2LoggingOptions = D1 ('MetaData "SetV2LoggingOptions" "Amazonka.IoT.SetV2LoggingOptions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "SetV2LoggingOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "disableAllLogs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "defaultLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogLevel)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse SetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

newSetV2LoggingOptions :: SetV2LoggingOptions Source #

Create a value of SetV2LoggingOptions 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:disableAllLogs:SetV2LoggingOptions', setV2LoggingOptions_disableAllLogs - If true all logs are disabled. The default is false.

$sel:defaultLogLevel:SetV2LoggingOptions', setV2LoggingOptions_defaultLogLevel - The default logging level.

$sel:roleArn:SetV2LoggingOptions', setV2LoggingOptions_roleArn - The ARN of the role that allows IoT to write to Cloudwatch logs.

Request Lenses

setV2LoggingOptions_disableAllLogs :: Lens' SetV2LoggingOptions (Maybe Bool) Source #

If true all logs are disabled. The default is false.

setV2LoggingOptions_roleArn :: Lens' SetV2LoggingOptions (Maybe Text) Source #

The ARN of the role that allows IoT to write to Cloudwatch logs.

Destructuring the Response

data SetV2LoggingOptionsResponse Source #

See: newSetV2LoggingOptionsResponse smart constructor.

Instances

Instances details
Eq SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Read SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Show SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Generic SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

Associated Types

type Rep SetV2LoggingOptionsResponse :: Type -> Type #

NFData SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

type Rep SetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.SetV2LoggingOptions

type Rep SetV2LoggingOptionsResponse = D1 ('MetaData "SetV2LoggingOptionsResponse" "Amazonka.IoT.SetV2LoggingOptions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "SetV2LoggingOptionsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSetV2LoggingOptionsResponse :: SetV2LoggingOptionsResponse Source #

Create a value of SetV2LoggingOptionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.