ManagedintegrationsforIoTDeviceManagement / Client / create_notification_configuration
create_notification_configuration¶
- ManagedintegrationsforIoTDeviceManagement.Client.create_notification_configuration(**kwargs)¶
- Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created. - See also: AWS API Documentation - Request Syntax- response = client.create_notification_configuration( EventType='DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT', DestinationName='string', ClientToken='string', Tags={ 'string': 'string' } ) - Parameters:
- EventType (string) – - [REQUIRED] - The type of event triggering a device notification to the customer-managed destination. 
- DestinationName (string) – - [REQUIRED] - The name of the destination for the notification 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. 
- Tags (dict) – - A set of key/value pairs that are used to manage the notification configuration. - (string) – - (string) – 
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'EventType': 'DEVICE_COMMAND'|'DEVICE_COMMAND_REQUEST'|'DEVICE_DISCOVERY_STATUS'|'DEVICE_EVENT'|'DEVICE_LIFE_CYCLE'|'DEVICE_STATE'|'DEVICE_OTA'|'CONNECTOR_ASSOCIATION'|'ACCOUNT_ASSOCIATION'|'CONNECTOR_ERROR_REPORT' } - Response Structure- (dict) – - EventType (string) – - The type of event triggering a device notification to the customer-managed destination. 
 
 
 - Exceptions- ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
- ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
- ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
- ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException
- ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException