amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type AWSResponse GetLoggingOptions #

Generic GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type Rep GetLoggingOptions :: Type -> Type #

Read GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Show GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

NFData GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Methods

rnf :: GetLoggingOptions -> () #

Eq GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Hashable GetLoggingOptions Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

type AWSResponse 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" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "GetLoggingOptions'" 'PrefixI 'False) (U1 :: Type -> Type))

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
Generic GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Associated Types

type Rep GetLoggingOptionsResponse :: Type -> Type #

Read GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Show GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

NFData GetLoggingOptionsResponse Source # 
Instance details

Defined in Amazonka.IoT.GetLoggingOptions

Eq 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" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" '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:

GetLoggingOptionsResponse, getLoggingOptionsResponse_logLevel - The logging level.

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.