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.GetV2LoggingOptions

Description

Gets the fine grained logging options.

Requires permission to access the GetV2LoggingOptions action.

Synopsis

Creating a Request

data GetV2LoggingOptions Source #

See: newGetV2LoggingOptions smart constructor.

Constructors

GetV2LoggingOptions' 

Instances

Instances details
Eq GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Read GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Show GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Generic GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Associated Types

type Rep GetV2LoggingOptions :: Type -> Type #

NFData GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Methods

rnf :: GetV2LoggingOptions -> () #

Hashable GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

AWSRequest GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Associated Types

type AWSResponse GetV2LoggingOptions #

ToHeaders GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

ToPath GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

ToQuery GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

type Rep GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

type Rep GetV2LoggingOptions = D1 ('MetaData "GetV2LoggingOptions" "Amazonka.IoT.GetV2LoggingOptions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetV2LoggingOptions'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetV2LoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

newGetV2LoggingOptions :: GetV2LoggingOptions Source #

Create a value of GetV2LoggingOptions with all optional fields omitted.

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

Destructuring the Response

data GetV2LoggingOptionsResponse Source #

See: newGetV2LoggingOptionsResponse smart constructor.

Constructors

GetV2LoggingOptionsResponse' 

Fields

Instances

Instances details
Eq GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Read GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Show GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Generic GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

Associated Types

type Rep GetV2LoggingOptionsResponse :: Type -> Type #

NFData GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

type Rep GetV2LoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetV2LoggingOptions

type Rep GetV2LoggingOptionsResponse = D1 ('MetaData "GetV2LoggingOptionsResponse" "Amazonka.IoT.GetV2LoggingOptions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetV2LoggingOptionsResponse'" '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)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetV2LoggingOptionsResponse Source #

Create a value of GetV2LoggingOptionsResponse 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:GetV2LoggingOptionsResponse', getV2LoggingOptionsResponse_disableAllLogs - Disables all logs.

$sel:defaultLogLevel:GetV2LoggingOptionsResponse', getV2LoggingOptionsResponse_defaultLogLevel - The default log level.

$sel:roleArn:GetV2LoggingOptionsResponse', getV2LoggingOptionsResponse_roleArn - The IAM role ARN IoT uses to write to your CloudWatch logs.

$sel:httpStatus:GetV2LoggingOptionsResponse', getV2LoggingOptionsResponse_httpStatus - The response's http status code.

Response Lenses

getV2LoggingOptionsResponse_roleArn :: Lens' GetV2LoggingOptionsResponse (Maybe Text) Source #

The IAM role ARN IoT uses to write to your CloudWatch logs.