create_notification_configuration
¶
create_notification_configuration(
event_type: EventType,
destination_name: DestinationName,
*,
config_overrides: Optional[IoTManagedIntegrationsClientConfig] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagsMap] = None,
) -> CreateNotificationConfigurationResponse
Creates a notification configuration. A configuration is a connection between an event type and a destination that you have already created.
Parameters:
-
event_type(EventType) –The type of event triggering a device notification to the customer-managed destination.
-
destination_name(DestinationName) –The name of the destination for the notification configuration.
-
client_token(Optional[ClientToken], default:None) –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.
-
tags(Optional[TagsMap], default:None) –A set of key/value pairs that are used to manage the notification configuration.
Raises:
-
AccessDeniedException–User is not authorized.
-
ConflictException–There is a conflict with the request.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_managed_integrations/_services/io_t_managed_integrations.py
4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 | |