DescribeLoggingOptions - AWS IoT Events

DescribeLoggingOptions

Retrieves the current settings of the AWS IoT Events logging options.

Request Syntax

GET /logging HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "loggingOptions": { "detectorDebugOptions": [ { "detectorModelName": "string", "keyValue": "string" } ], "enabled": boolean, "level": "string", "roleArn": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

loggingOptions

The current settings of the AWS IoT Events logging options.

Type: LoggingOptions object

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalFailureException

An internal failure occurred.

HTTP Status Code: 500

InvalidRequestException

The request was invalid.

HTTP Status Code: 400

ResourceNotFoundException

The resource was not found.

HTTP Status Code: 404

ServiceUnavailableException

The service is currently unavailable.

HTTP Status Code: 503

ThrottlingException

The request could not be completed due to throttling.

HTTP Status Code: 429

UnsupportedOperationException

The requested operation is not supported.

HTTP Status Code: 501

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: