Menu
AWS IoT
Developer Guide

GetLoggingOptions

Gets the logging options.

Request syntax:

GET /loggingOptions

Response syntax:

Content-type: application/json { "roleArn": "string", "logLevel": "string" }

Response Body Parameters:

Name

Type

Req?

Description

roleArn

AwsArn

no

The ARN of the IAM role that grants access.

logLevel

LogLevel

no

The logging level.

Errors:

InternalException

An unexpected error has occurred.

HTTP response code: 500

InvalidRequestException

The contents of the request were invalid. For example, this code is returned when an UpdateJobExecution request contains invalid status details. The message contains details about the error.

HTTP response code: 400

ServiceUnavailableException

The service is temporarily unavailable.

HTTP response code: 503

CLI

Synopsis:

aws iot get-logging-options \ [--cli-input-json <value>] \ [--generate-cli-skeleton]

cli-input-json format:

{ }

Output:

{ "roleArn": "string", "logLevel": "string" }

cli output fields:

Name

Type

Description

roleArn

string

The ARN of the IAM role that grants access.

logLevel

string

enum: DEBUG | INFO | ERROR | WARN | DISABLED

java class: iot.goldeneye.service.LogLevel

The logging level.

On this page: