ManagedintegrationsforIoTDeviceManagement / Client / create_event_log_configuration

create_event_log_configuration#

ManagedintegrationsforIoTDeviceManagement.Client.create_event_log_configuration(**kwargs)#

Set the event log configuration for the account, resource type, or specific resource.

See also: AWS API Documentation

Request Syntax

response = client.create_event_log_configuration(
    ResourceType='string',
    ResourceId='string',
    EventLogLevel='DEBUG'|'ERROR'|'INFO'|'WARN',
    ClientToken='string'
)
Parameters:
  • ResourceType (string) –

    [REQUIRED]

    The type of resource for the event log configuration.

  • ResourceId (string) – The identifier of the resource for the event log configuration.

  • EventLogLevel (string) –

    [REQUIRED]

    The logging level for the event log configuration.

  • ClientToken (string) –

    An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'Id': 'string'
}

Response Structure

  • (dict) –

    • Id (string) –

      The identifier of the event log configuration request.

Exceptions