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

Description

Gets the logging options.

NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.

Requires permission to access the GetLoggingOptions action.

Synopsis

Creating a Request

data GetLoggingOptions Source #

The input for the GetLoggingOptions operation.

See: newGetLoggingOptions smart constructor.

Constructors

GetLoggingOptions' 

Instances

Instances details
Eq GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Read GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Show GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Generic GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type Rep GetLoggingOptions :: Type -> Type #

NFData GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Methods

rnf :: GetLoggingOptions -> () #

Hashable GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

AWSRequest GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type AWSResponse GetLoggingOptions #

ToHeaders GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

ToPath GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

ToQuery GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

type Rep GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

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

Defined in Amazonka.IoT.GetLoggingOptions

newGetLoggingOptions :: GetLoggingOptions Source #

Create a value of GetLoggingOptions with all optional fields omitted.

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

Destructuring the Response

data GetLoggingOptionsResponse Source #

The output from the GetLoggingOptions operation.

See: newGetLoggingOptionsResponse smart constructor.

Constructors

GetLoggingOptionsResponse' 

Fields

Instances

Instances details
Eq GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Read GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Show GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Generic GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type Rep GetLoggingOptionsResponse :: Type -> Type #

NFData GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

type Rep GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

type Rep GetLoggingOptionsResponse = D1 ('MetaData "GetLoggingOptionsResponse" "Amazonka.IoT.GetLoggingOptions" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetLoggingOptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logLevel") '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))))

newGetLoggingOptionsResponse Source #

Create a value of GetLoggingOptionsResponse 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:logLevel:GetLoggingOptionsResponse', getLoggingOptionsResponse_logLevel - The logging level.

$sel:roleArn:GetLoggingOptionsResponse', getLoggingOptionsResponse_roleArn - The ARN of the IAM role that grants access.

$sel:httpStatus:GetLoggingOptionsResponse', getLoggingOptionsResponse_httpStatus - The response's http status code.

Response Lenses

getLoggingOptionsResponse_roleArn :: Lens' GetLoggingOptionsResponse (Maybe Text) Source #

The ARN of the IAM role that grants access.