UpdateEventConfigurations - AWS IoT

UpdateEventConfigurations

Updates the event configurations.

Requires permission to access the UpdateEventConfigurations action.

Request Syntax

PATCH /event-configurations HTTP/1.1 Content-type: application/json { "eventConfigurations": { "string" : { "Enabled": boolean } } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

eventConfigurations

The new event configuration values.

Type: String to Configuration object map

Valid Keys: THING | THING_GROUP | THING_TYPE | THING_GROUP_MEMBERSHIP | THING_GROUP_HIERARCHY | THING_TYPE_ASSOCIATION | JOB | JOB_EXECUTION | POLICY | CERTIFICATE | CA_CERTIFICATE

Required: No

Response Syntax

HTTP/1.1 200

Response Elements

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

Errors

InternalFailureException

An unexpected error has occurred.

HTTP Status Code: 500

InvalidRequestException

The request is not valid.

HTTP Status Code: 400

ThrottlingException

The rate exceeds the limit.

HTTP Status Code: 400

See Also

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