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 |
Get the event configuration for a particular resource identifier.
Synopsis
- data GetResourceEventConfiguration = GetResourceEventConfiguration' {}
- newGetResourceEventConfiguration :: Text -> IdentifierType -> GetResourceEventConfiguration
- getResourceEventConfiguration_partnerType :: Lens' GetResourceEventConfiguration (Maybe EventNotificationPartnerType)
- getResourceEventConfiguration_identifier :: Lens' GetResourceEventConfiguration Text
- getResourceEventConfiguration_identifierType :: Lens' GetResourceEventConfiguration IdentifierType
- data GetResourceEventConfigurationResponse = GetResourceEventConfigurationResponse' {
- connectionStatus :: Maybe ConnectionStatusEventConfiguration
- deviceRegistrationState :: Maybe DeviceRegistrationStateEventConfiguration
- join :: Maybe JoinEventConfiguration
- messageDeliveryStatus :: Maybe MessageDeliveryStatusEventConfiguration
- proximity :: Maybe ProximityEventConfiguration
- httpStatus :: Int
- newGetResourceEventConfigurationResponse :: Int -> GetResourceEventConfigurationResponse
- getResourceEventConfigurationResponse_connectionStatus :: Lens' GetResourceEventConfigurationResponse (Maybe ConnectionStatusEventConfiguration)
- getResourceEventConfigurationResponse_deviceRegistrationState :: Lens' GetResourceEventConfigurationResponse (Maybe DeviceRegistrationStateEventConfiguration)
- getResourceEventConfigurationResponse_join :: Lens' GetResourceEventConfigurationResponse (Maybe JoinEventConfiguration)
- getResourceEventConfigurationResponse_messageDeliveryStatus :: Lens' GetResourceEventConfigurationResponse (Maybe MessageDeliveryStatusEventConfiguration)
- getResourceEventConfigurationResponse_proximity :: Lens' GetResourceEventConfigurationResponse (Maybe ProximityEventConfiguration)
- getResourceEventConfigurationResponse_httpStatus :: Lens' GetResourceEventConfigurationResponse Int
Creating a Request
data GetResourceEventConfiguration Source #
See: newGetResourceEventConfiguration
smart constructor.
GetResourceEventConfiguration' | |
|
Instances
newGetResourceEventConfiguration Source #
Create a value of GetResourceEventConfiguration
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:
GetResourceEventConfiguration
, getResourceEventConfiguration_partnerType
- Partner type of the resource if the identifier type is
PartnerAccountId
.
GetResourceEventConfiguration
, getResourceEventConfiguration_identifier
- Resource identifier to opt in for event messaging.
GetResourceEventConfiguration
, getResourceEventConfiguration_identifierType
- Identifier type of the particular resource identifier for event
configuration.
Request Lenses
getResourceEventConfiguration_partnerType :: Lens' GetResourceEventConfiguration (Maybe EventNotificationPartnerType) Source #
Partner type of the resource if the identifier type is
PartnerAccountId
.
getResourceEventConfiguration_identifier :: Lens' GetResourceEventConfiguration Text Source #
Resource identifier to opt in for event messaging.
getResourceEventConfiguration_identifierType :: Lens' GetResourceEventConfiguration IdentifierType Source #
Identifier type of the particular resource identifier for event configuration.
Destructuring the Response
data GetResourceEventConfigurationResponse Source #
See: newGetResourceEventConfigurationResponse
smart constructor.
GetResourceEventConfigurationResponse' | |
|
Instances
newGetResourceEventConfigurationResponse Source #
Create a value of GetResourceEventConfigurationResponse
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:
GetResourceEventConfigurationResponse
, getResourceEventConfigurationResponse_connectionStatus
- Event configuration for the connection status event.
GetResourceEventConfigurationResponse
, getResourceEventConfigurationResponse_deviceRegistrationState
- Event configuration for the device registration state event.
GetResourceEventConfigurationResponse
, getResourceEventConfigurationResponse_join
- Event configuration for the join event.
GetResourceEventConfigurationResponse
, getResourceEventConfigurationResponse_messageDeliveryStatus
- Event configuration for the message delivery status event.
GetResourceEventConfigurationResponse
, getResourceEventConfigurationResponse_proximity
- Event configuration for the proximity event.
$sel:httpStatus:GetResourceEventConfigurationResponse'
, getResourceEventConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceEventConfigurationResponse_connectionStatus :: Lens' GetResourceEventConfigurationResponse (Maybe ConnectionStatusEventConfiguration) Source #
Event configuration for the connection status event.
getResourceEventConfigurationResponse_deviceRegistrationState :: Lens' GetResourceEventConfigurationResponse (Maybe DeviceRegistrationStateEventConfiguration) Source #
Event configuration for the device registration state event.
getResourceEventConfigurationResponse_join :: Lens' GetResourceEventConfigurationResponse (Maybe JoinEventConfiguration) Source #
Event configuration for the join event.
getResourceEventConfigurationResponse_messageDeliveryStatus :: Lens' GetResourceEventConfigurationResponse (Maybe MessageDeliveryStatusEventConfiguration) Source #
Event configuration for the message delivery status event.
getResourceEventConfigurationResponse_proximity :: Lens' GetResourceEventConfigurationResponse (Maybe ProximityEventConfiguration) Source #
Event configuration for the proximity event.
getResourceEventConfigurationResponse_httpStatus :: Lens' GetResourceEventConfigurationResponse Int Source #
The response's http status code.