update_resource_event_configuration
¶
update_resource_event_configuration(
identifier: Identifier,
identifier_type: IdentifierType,
*,
config_overrides: Optional[IoTWirelessClientConfig] = None,
partner_type: Optional[EventNotificationPartnerType] = None,
device_registration_state: Optional[
DeviceRegistrationStateEventConfiguration
] = None,
proximity: Optional[ProximityEventConfiguration] = None,
join: Optional[JoinEventConfiguration] = None,
connection_status: Optional[ConnectionStatusEventConfiguration] = None,
message_delivery_status: Optional[MessageDeliveryStatusEventConfiguration] = None,
) -> UpdateResourceEventConfigurationResponse
Update the event configuration for a particular resource identifier.
Parameters:
-
identifier(Identifier) –Resource identifier to opt in for event messaging.
-
identifier_type(IdentifierType) –Identifier type of the particular resource identifier for event configuration.
-
partner_type(Optional[EventNotificationPartnerType], default:None) –Partner type of the resource if the identifier type is
PartnerAccountId -
device_registration_state(Optional[DeviceRegistrationStateEventConfiguration], default:None) –Event configuration for the device registration state event.
-
proximity(Optional[ProximityEventConfiguration], default:None) –Event configuration for the proximity event.
-
join(Optional[JoinEventConfiguration], default:None) –Event configuration for the join event.
-
connection_status(Optional[ConnectionStatusEventConfiguration], default:None) –Event configuration for the connection status event.
-
message_delivery_status(Optional[MessageDeliveryStatusEventConfiguration], default:None) –Event configuration for the message delivery status event.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
ConflictException–Adding, updating, or deleting the resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/io_t_wireless.py
6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 | |