update_resource_event_configuration
async
¶
update_resource_event_configuration(
identifier: Identifier,
identifier_type: IdentifierType,
*,
config_overrides: Optional[AsyncIoTWirelessClientConfig] = 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/async_io_t_wireless.py
6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 | |