Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Update the event configuration for a particular resource identifier.
Synopsis
- data UpdateResourceEventConfiguration = UpdateResourceEventConfiguration' {
- connectionStatus :: Maybe ConnectionStatusEventConfiguration
- deviceRegistrationState :: Maybe DeviceRegistrationStateEventConfiguration
- join :: Maybe JoinEventConfiguration
- messageDeliveryStatus :: Maybe MessageDeliveryStatusEventConfiguration
- partnerType :: Maybe EventNotificationPartnerType
- proximity :: Maybe ProximityEventConfiguration
- identifier :: Text
- identifierType :: IdentifierType
- newUpdateResourceEventConfiguration :: Text -> IdentifierType -> UpdateResourceEventConfiguration
- updateResourceEventConfiguration_connectionStatus :: Lens' UpdateResourceEventConfiguration (Maybe ConnectionStatusEventConfiguration)
- updateResourceEventConfiguration_deviceRegistrationState :: Lens' UpdateResourceEventConfiguration (Maybe DeviceRegistrationStateEventConfiguration)
- updateResourceEventConfiguration_join :: Lens' UpdateResourceEventConfiguration (Maybe JoinEventConfiguration)
- updateResourceEventConfiguration_messageDeliveryStatus :: Lens' UpdateResourceEventConfiguration (Maybe MessageDeliveryStatusEventConfiguration)
- updateResourceEventConfiguration_partnerType :: Lens' UpdateResourceEventConfiguration (Maybe EventNotificationPartnerType)
- updateResourceEventConfiguration_proximity :: Lens' UpdateResourceEventConfiguration (Maybe ProximityEventConfiguration)
- updateResourceEventConfiguration_identifier :: Lens' UpdateResourceEventConfiguration Text
- updateResourceEventConfiguration_identifierType :: Lens' UpdateResourceEventConfiguration IdentifierType
- data UpdateResourceEventConfigurationResponse = UpdateResourceEventConfigurationResponse' {
- httpStatus :: Int
- newUpdateResourceEventConfigurationResponse :: Int -> UpdateResourceEventConfigurationResponse
- updateResourceEventConfigurationResponse_httpStatus :: Lens' UpdateResourceEventConfigurationResponse Int
Creating a Request
data UpdateResourceEventConfiguration Source #
See: newUpdateResourceEventConfiguration
smart constructor.
UpdateResourceEventConfiguration' | |
|
Instances
newUpdateResourceEventConfiguration Source #
Create a value of UpdateResourceEventConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_connectionStatus
- Event configuration for the connection status event.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_deviceRegistrationState
- Event configuration for the device registration state event.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_join
- Event configuration for the join event.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_messageDeliveryStatus
- Event configuration for the message delivery status event.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_partnerType
- Partner type of the resource if the identifier type is
PartnerAccountId
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_proximity
- Event configuration for the proximity event.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_identifier
- Resource identifier to opt in for event messaging.
UpdateResourceEventConfiguration
, updateResourceEventConfiguration_identifierType
- Identifier type of the particular resource identifier for event
configuration.
Request Lenses
updateResourceEventConfiguration_connectionStatus :: Lens' UpdateResourceEventConfiguration (Maybe ConnectionStatusEventConfiguration) Source #
Event configuration for the connection status event.
updateResourceEventConfiguration_deviceRegistrationState :: Lens' UpdateResourceEventConfiguration (Maybe DeviceRegistrationStateEventConfiguration) Source #
Event configuration for the device registration state event.
updateResourceEventConfiguration_join :: Lens' UpdateResourceEventConfiguration (Maybe JoinEventConfiguration) Source #
Event configuration for the join event.
updateResourceEventConfiguration_messageDeliveryStatus :: Lens' UpdateResourceEventConfiguration (Maybe MessageDeliveryStatusEventConfiguration) Source #
Event configuration for the message delivery status event.
updateResourceEventConfiguration_partnerType :: Lens' UpdateResourceEventConfiguration (Maybe EventNotificationPartnerType) Source #
Partner type of the resource if the identifier type is
PartnerAccountId
updateResourceEventConfiguration_proximity :: Lens' UpdateResourceEventConfiguration (Maybe ProximityEventConfiguration) Source #
Event configuration for the proximity event.
updateResourceEventConfiguration_identifier :: Lens' UpdateResourceEventConfiguration Text Source #
Resource identifier to opt in for event messaging.
updateResourceEventConfiguration_identifierType :: Lens' UpdateResourceEventConfiguration IdentifierType Source #
Identifier type of the particular resource identifier for event configuration.
Destructuring the Response
data UpdateResourceEventConfigurationResponse Source #
See: newUpdateResourceEventConfigurationResponse
smart constructor.
UpdateResourceEventConfigurationResponse' | |
|
Instances
Generic UpdateResourceEventConfigurationResponse Source # | |
Defined in Amazonka.IoTWireless.UpdateResourceEventConfiguration type Rep UpdateResourceEventConfigurationResponse :: Type -> Type # | |
Read UpdateResourceEventConfigurationResponse Source # | |
Show UpdateResourceEventConfigurationResponse Source # | |
NFData UpdateResourceEventConfigurationResponse Source # | |
Eq UpdateResourceEventConfigurationResponse Source # | |
type Rep UpdateResourceEventConfigurationResponse Source # | |
Defined in Amazonka.IoTWireless.UpdateResourceEventConfiguration type Rep UpdateResourceEventConfigurationResponse = D1 ('MetaData "UpdateResourceEventConfigurationResponse" "Amazonka.IoTWireless.UpdateResourceEventConfiguration" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "UpdateResourceEventConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateResourceEventConfigurationResponse Source #
Create a value of UpdateResourceEventConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateResourceEventConfigurationResponse'
, updateResourceEventConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateResourceEventConfigurationResponse_httpStatus :: Lens' UpdateResourceEventConfigurationResponse Int Source #
The response's http status code.