{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.IoTWireless.Types
(
defaultService,
_AccessDeniedException,
_ConflictException,
_InternalServerException,
_ResourceNotFoundException,
_ThrottlingException,
_TooManyTagsException,
_ValidationException,
ApplicationConfigType (..),
BatteryLevel (..),
ConnectionStatus (..),
DeviceState (..),
DlClass (..),
DownlinkMode (..),
Event (..),
EventNotificationPartnerType (..),
EventNotificationResourceType (..),
EventNotificationTopicStatus (..),
ExpressionType (..),
FuotaDeviceStatus (..),
FuotaTaskStatus (..),
IdentifierType (..),
LogLevel (..),
MessageType (..),
PartnerType (..),
PositionResourceType (..),
PositioningConfigStatus (..),
SigningAlg (..),
SupportedRfRegion (..),
WirelessDeviceEvent (..),
WirelessDeviceFrameInfo (..),
WirelessDeviceIdType (..),
WirelessDeviceType (..),
WirelessGatewayEvent (..),
WirelessGatewayIdType (..),
WirelessGatewayServiceType (..),
WirelessGatewayTaskDefinitionType (..),
WirelessGatewayTaskStatus (..),
WirelessGatewayType (..),
AbpV1_0_x (..),
newAbpV1_0_x,
abpV1_0_x_devAddr,
abpV1_0_x_fCntStart,
abpV1_0_x_sessionKeys,
AbpV1_1 (..),
newAbpV1_1,
abpV1_1_devAddr,
abpV1_1_fCntStart,
abpV1_1_sessionKeys,
ApplicationConfig (..),
newApplicationConfig,
applicationConfig_destinationName,
applicationConfig_fPort,
applicationConfig_type,
Beaconing (..),
newBeaconing,
beaconing_dataRate,
beaconing_frequencies,
CdmaLocalId (..),
newCdmaLocalId,
cdmaLocalId_pnOffset,
cdmaLocalId_cdmaChannel,
CdmaNmrObj (..),
newCdmaNmrObj,
cdmaNmrObj_baseStationId,
cdmaNmrObj_pilotPower,
cdmaNmrObj_pnOffset,
cdmaNmrObj_cdmaChannel,
CdmaObj (..),
newCdmaObj,
cdmaObj_baseLat,
cdmaObj_baseLng,
cdmaObj_cdmaLocalId,
cdmaObj_cdmaNmr,
cdmaObj_pilotPower,
cdmaObj_registrationZone,
cdmaObj_systemId,
cdmaObj_networkId,
cdmaObj_baseStationId,
CellTowers (..),
newCellTowers,
cellTowers_cdma,
cellTowers_gsm,
cellTowers_lte,
cellTowers_tdscdma,
cellTowers_wcdma,
CertificateList (..),
newCertificateList,
certificateList_signingAlg,
certificateList_value,
ConnectionStatusEventConfiguration (..),
newConnectionStatusEventConfiguration,
connectionStatusEventConfiguration_loRaWAN,
connectionStatusEventConfiguration_wirelessGatewayIdEventTopic,
ConnectionStatusResourceTypeEventConfiguration (..),
newConnectionStatusResourceTypeEventConfiguration,
connectionStatusResourceTypeEventConfiguration_loRaWAN,
Destinations (..),
newDestinations,
destinations_arn,
destinations_description,
destinations_expression,
destinations_expressionType,
destinations_name,
destinations_roleArn,
DeviceProfile (..),
newDeviceProfile,
deviceProfile_arn,
deviceProfile_id,
deviceProfile_name,
DeviceRegistrationStateEventConfiguration (..),
newDeviceRegistrationStateEventConfiguration,
deviceRegistrationStateEventConfiguration_sidewalk,
deviceRegistrationStateEventConfiguration_wirelessDeviceIdEventTopic,
DeviceRegistrationStateResourceTypeEventConfiguration (..),
newDeviceRegistrationStateResourceTypeEventConfiguration,
deviceRegistrationStateResourceTypeEventConfiguration_sidewalk,
DownlinkQueueMessage (..),
newDownlinkQueueMessage,
downlinkQueueMessage_loRaWAN,
downlinkQueueMessage_messageId,
downlinkQueueMessage_receivedAt,
downlinkQueueMessage_transmitMode,
EventConfigurationItem (..),
newEventConfigurationItem,
eventConfigurationItem_events,
eventConfigurationItem_identifier,
eventConfigurationItem_identifierType,
eventConfigurationItem_partnerType,
EventNotificationItemConfigurations (..),
newEventNotificationItemConfigurations,
eventNotificationItemConfigurations_connectionStatus,
eventNotificationItemConfigurations_deviceRegistrationState,
eventNotificationItemConfigurations_join,
eventNotificationItemConfigurations_messageDeliveryStatus,
eventNotificationItemConfigurations_proximity,
FPorts (..),
newFPorts,
fPorts_applications,
fPorts_clockSync,
fPorts_fuota,
fPorts_multicast,
fPorts_positioning,
FuotaTask (..),
newFuotaTask,
fuotaTask_arn,
fuotaTask_id,
fuotaTask_name,
GatewayListItem (..),
newGatewayListItem,
gatewayListItem_gatewayId,
gatewayListItem_downlinkFrequency,
GlobalIdentity (..),
newGlobalIdentity,
globalIdentity_lac,
globalIdentity_geranCid,
Gnss (..),
newGnss,
gnss_assistAltitude,
gnss_assistPosition,
gnss_captureTime,
gnss_captureTimeAccuracy,
gnss_use2DSolver,
gnss_payload,
GsmLocalId (..),
newGsmLocalId,
gsmLocalId_bsic,
gsmLocalId_bcch,
GsmNmrObj (..),
newGsmNmrObj,
gsmNmrObj_globalIdentity,
gsmNmrObj_rxLevel,
gsmNmrObj_bsic,
gsmNmrObj_bcch,
GsmObj (..),
newGsmObj,
gsmObj_gsmLocalId,
gsmObj_gsmNmr,
gsmObj_gsmTimingAdvance,
gsmObj_rxLevel,
gsmObj_mcc,
gsmObj_mnc,
gsmObj_lac,
gsmObj_geranCid,
Ip (..),
newIp,
ip_ipAddress,
JoinEventConfiguration (..),
newJoinEventConfiguration,
joinEventConfiguration_loRaWAN,
joinEventConfiguration_wirelessDeviceIdEventTopic,
JoinResourceTypeEventConfiguration (..),
newJoinResourceTypeEventConfiguration,
joinResourceTypeEventConfiguration_loRaWAN,
LoRaWANConnectionStatusEventNotificationConfigurations (..),
newLoRaWANConnectionStatusEventNotificationConfigurations,
loRaWANConnectionStatusEventNotificationConfigurations_gatewayEuiEventTopic,
LoRaWANConnectionStatusResourceTypeEventConfiguration (..),
newLoRaWANConnectionStatusResourceTypeEventConfiguration,
loRaWANConnectionStatusResourceTypeEventConfiguration_wirelessGatewayEventTopic,
LoRaWANDevice (..),
newLoRaWANDevice,
loRaWANDevice_abpV1_0_x,
loRaWANDevice_abpV1_1,
loRaWANDevice_devEui,
loRaWANDevice_deviceProfileId,
loRaWANDevice_fPorts,
loRaWANDevice_otaaV1_0_x,
loRaWANDevice_otaaV1_1,
loRaWANDevice_serviceProfileId,
LoRaWANDeviceMetadata (..),
newLoRaWANDeviceMetadata,
loRaWANDeviceMetadata_dataRate,
loRaWANDeviceMetadata_devEui,
loRaWANDeviceMetadata_fPort,
loRaWANDeviceMetadata_frequency,
loRaWANDeviceMetadata_gateways,
loRaWANDeviceMetadata_timestamp,
LoRaWANDeviceProfile (..),
newLoRaWANDeviceProfile,
loRaWANDeviceProfile_classBTimeout,
loRaWANDeviceProfile_classCTimeout,
loRaWANDeviceProfile_factoryPresetFreqsList,
loRaWANDeviceProfile_macVersion,
loRaWANDeviceProfile_maxDutyCycle,
loRaWANDeviceProfile_maxEirp,
loRaWANDeviceProfile_pingSlotDr,
loRaWANDeviceProfile_pingSlotFreq,
loRaWANDeviceProfile_pingSlotPeriod,
loRaWANDeviceProfile_regParamsRevision,
loRaWANDeviceProfile_rfRegion,
loRaWANDeviceProfile_rxDataRate2,
loRaWANDeviceProfile_rxDelay1,
loRaWANDeviceProfile_rxDrOffset1,
loRaWANDeviceProfile_rxFreq2,
loRaWANDeviceProfile_supports32BitFCnt,
loRaWANDeviceProfile_supportsClassB,
loRaWANDeviceProfile_supportsClassC,
loRaWANDeviceProfile_supportsJoin,
LoRaWANFuotaTask (..),
newLoRaWANFuotaTask,
loRaWANFuotaTask_rfRegion,
LoRaWANFuotaTaskGetInfo (..),
newLoRaWANFuotaTaskGetInfo,
loRaWANFuotaTaskGetInfo_rfRegion,
loRaWANFuotaTaskGetInfo_startTime,
LoRaWANGateway (..),
newLoRaWANGateway,
loRaWANGateway_beaconing,
loRaWANGateway_gatewayEui,
loRaWANGateway_joinEuiFilters,
loRaWANGateway_netIdFilters,
loRaWANGateway_rfRegion,
loRaWANGateway_subBands,
LoRaWANGatewayCurrentVersion (..),
newLoRaWANGatewayCurrentVersion,
loRaWANGatewayCurrentVersion_currentVersion,
LoRaWANGatewayMetadata (..),
newLoRaWANGatewayMetadata,
loRaWANGatewayMetadata_gatewayEui,
loRaWANGatewayMetadata_rssi,
loRaWANGatewayMetadata_snr,
LoRaWANGatewayVersion (..),
newLoRaWANGatewayVersion,
loRaWANGatewayVersion_model,
loRaWANGatewayVersion_packageVersion,
loRaWANGatewayVersion_station,
LoRaWANGetServiceProfileInfo (..),
newLoRaWANGetServiceProfileInfo,
loRaWANGetServiceProfileInfo_addGwMetadata,
loRaWANGetServiceProfileInfo_channelMask,
loRaWANGetServiceProfileInfo_devStatusReqFreq,
loRaWANGetServiceProfileInfo_dlBucketSize,
loRaWANGetServiceProfileInfo_dlRate,
loRaWANGetServiceProfileInfo_dlRatePolicy,
loRaWANGetServiceProfileInfo_drMax,
loRaWANGetServiceProfileInfo_drMin,
loRaWANGetServiceProfileInfo_hrAllowed,
loRaWANGetServiceProfileInfo_minGwDiversity,
loRaWANGetServiceProfileInfo_nwkGeoLoc,
loRaWANGetServiceProfileInfo_prAllowed,
loRaWANGetServiceProfileInfo_raAllowed,
loRaWANGetServiceProfileInfo_reportDevStatusBattery,
loRaWANGetServiceProfileInfo_reportDevStatusMargin,
loRaWANGetServiceProfileInfo_targetPer,
loRaWANGetServiceProfileInfo_ulBucketSize,
loRaWANGetServiceProfileInfo_ulRate,
loRaWANGetServiceProfileInfo_ulRatePolicy,
LoRaWANJoinEventNotificationConfigurations (..),
newLoRaWANJoinEventNotificationConfigurations,
loRaWANJoinEventNotificationConfigurations_devEuiEventTopic,
LoRaWANJoinResourceTypeEventConfiguration (..),
newLoRaWANJoinResourceTypeEventConfiguration,
loRaWANJoinResourceTypeEventConfiguration_wirelessDeviceEventTopic,
LoRaWANListDevice (..),
newLoRaWANListDevice,
loRaWANListDevice_devEui,
LoRaWANMulticast (..),
newLoRaWANMulticast,
loRaWANMulticast_dlClass,
loRaWANMulticast_rfRegion,
LoRaWANMulticastGet (..),
newLoRaWANMulticastGet,
loRaWANMulticastGet_dlClass,
loRaWANMulticastGet_numberOfDevicesInGroup,
loRaWANMulticastGet_numberOfDevicesRequested,
loRaWANMulticastGet_rfRegion,
LoRaWANMulticastMetadata (..),
newLoRaWANMulticastMetadata,
loRaWANMulticastMetadata_fPort,
LoRaWANMulticastSession (..),
newLoRaWANMulticastSession,
loRaWANMulticastSession_dlDr,
loRaWANMulticastSession_dlFreq,
loRaWANMulticastSession_sessionStartTime,
loRaWANMulticastSession_sessionTimeout,
LoRaWANSendDataToDevice (..),
newLoRaWANSendDataToDevice,
loRaWANSendDataToDevice_fPort,
loRaWANSendDataToDevice_participatingGateways,
LoRaWANServiceProfile (..),
newLoRaWANServiceProfile,
loRaWANServiceProfile_addGwMetadata,
loRaWANServiceProfile_drMax,
loRaWANServiceProfile_drMin,
LoRaWANStartFuotaTask (..),
newLoRaWANStartFuotaTask,
loRaWANStartFuotaTask_startTime,
LoRaWANUpdateDevice (..),
newLoRaWANUpdateDevice,
loRaWANUpdateDevice_abpV1_0_x,
loRaWANUpdateDevice_abpV1_1,
loRaWANUpdateDevice_deviceProfileId,
loRaWANUpdateDevice_fPorts,
loRaWANUpdateDevice_serviceProfileId,
LoRaWANUpdateGatewayTaskCreate (..),
newLoRaWANUpdateGatewayTaskCreate,
loRaWANUpdateGatewayTaskCreate_currentVersion,
loRaWANUpdateGatewayTaskCreate_sigKeyCrc,
loRaWANUpdateGatewayTaskCreate_updateSignature,
loRaWANUpdateGatewayTaskCreate_updateVersion,
LoRaWANUpdateGatewayTaskEntry (..),
newLoRaWANUpdateGatewayTaskEntry,
loRaWANUpdateGatewayTaskEntry_currentVersion,
loRaWANUpdateGatewayTaskEntry_updateVersion,
LteLocalId (..),
newLteLocalId,
lteLocalId_pci,
lteLocalId_earfcn,
LteNmrObj (..),
newLteNmrObj,
lteNmrObj_rsrp,
lteNmrObj_rsrq,
lteNmrObj_pci,
lteNmrObj_earfcn,
lteNmrObj_eutranCid,
LteObj (..),
newLteObj,
lteObj_lteLocalId,
lteObj_lteNmr,
lteObj_lteTimingAdvance,
lteObj_nrCapable,
lteObj_rsrp,
lteObj_rsrq,
lteObj_tac,
lteObj_mcc,
lteObj_mnc,
lteObj_eutranCid,
MessageDeliveryStatusEventConfiguration (..),
newMessageDeliveryStatusEventConfiguration,
messageDeliveryStatusEventConfiguration_sidewalk,
messageDeliveryStatusEventConfiguration_wirelessDeviceIdEventTopic,
MessageDeliveryStatusResourceTypeEventConfiguration (..),
newMessageDeliveryStatusResourceTypeEventConfiguration,
messageDeliveryStatusResourceTypeEventConfiguration_sidewalk,
MulticastGroup (..),
newMulticastGroup,
multicastGroup_arn,
multicastGroup_id,
multicastGroup_name,
MulticastGroupByFuotaTask (..),
newMulticastGroupByFuotaTask,
multicastGroupByFuotaTask_id,
MulticastWirelessMetadata (..),
newMulticastWirelessMetadata,
multicastWirelessMetadata_loRaWAN,
NetworkAnalyzerConfigurations (..),
newNetworkAnalyzerConfigurations,
networkAnalyzerConfigurations_arn,
networkAnalyzerConfigurations_name,
OtaaV1_0_x (..),
newOtaaV1_0_x,
otaaV1_0_x_appEui,
otaaV1_0_x_appKey,
otaaV1_0_x_genAppKey,
OtaaV1_1 (..),
newOtaaV1_1,
otaaV1_1_appKey,
otaaV1_1_joinEui,
otaaV1_1_nwkKey,
ParticipatingGateways (..),
newParticipatingGateways,
participatingGateways_downlinkMode,
participatingGateways_gatewayList,
participatingGateways_transmissionInterval,
Positioning (..),
newPositioning,
positioning_clockSync,
positioning_gnss,
positioning_stream,
ProximityEventConfiguration (..),
newProximityEventConfiguration,
proximityEventConfiguration_sidewalk,
proximityEventConfiguration_wirelessDeviceIdEventTopic,
ProximityResourceTypeEventConfiguration (..),
newProximityResourceTypeEventConfiguration,
proximityResourceTypeEventConfiguration_sidewalk,
ServiceProfile (..),
newServiceProfile,
serviceProfile_arn,
serviceProfile_id,
serviceProfile_name,
SessionKeysAbpV1_0_x (..),
newSessionKeysAbpV1_0_x,
sessionKeysAbpV1_0_x_appSKey,
sessionKeysAbpV1_0_x_nwkSKey,
SessionKeysAbpV1_1 (..),
newSessionKeysAbpV1_1,
sessionKeysAbpV1_1_appSKey,
sessionKeysAbpV1_1_fNwkSIntKey,
sessionKeysAbpV1_1_nwkSEncKey,
sessionKeysAbpV1_1_sNwkSIntKey,
SidewalkAccountInfo (..),
newSidewalkAccountInfo,
sidewalkAccountInfo_amazonId,
sidewalkAccountInfo_appServerPrivateKey,
SidewalkAccountInfoWithFingerprint (..),
newSidewalkAccountInfoWithFingerprint,
sidewalkAccountInfoWithFingerprint_amazonId,
sidewalkAccountInfoWithFingerprint_arn,
sidewalkAccountInfoWithFingerprint_fingerprint,
SidewalkDevice (..),
newSidewalkDevice,
sidewalkDevice_amazonId,
sidewalkDevice_deviceCertificates,
sidewalkDevice_sidewalkId,
sidewalkDevice_sidewalkManufacturingSn,
SidewalkDeviceMetadata (..),
newSidewalkDeviceMetadata,
sidewalkDeviceMetadata_batteryLevel,
sidewalkDeviceMetadata_deviceState,
sidewalkDeviceMetadata_event,
sidewalkDeviceMetadata_rssi,
SidewalkEventNotificationConfigurations (..),
newSidewalkEventNotificationConfigurations,
sidewalkEventNotificationConfigurations_amazonIdEventTopic,
SidewalkListDevice (..),
newSidewalkListDevice,
sidewalkListDevice_amazonId,
sidewalkListDevice_deviceCertificates,
sidewalkListDevice_sidewalkId,
sidewalkListDevice_sidewalkManufacturingSn,
SidewalkResourceTypeEventConfiguration (..),
newSidewalkResourceTypeEventConfiguration,
sidewalkResourceTypeEventConfiguration_wirelessDeviceEventTopic,
SidewalkSendDataToDevice (..),
newSidewalkSendDataToDevice,
sidewalkSendDataToDevice_ackModeRetryDurationSecs,
sidewalkSendDataToDevice_messageType,
sidewalkSendDataToDevice_seq,
SidewalkUpdateAccount (..),
newSidewalkUpdateAccount,
sidewalkUpdateAccount_appServerPrivateKey,
Tag (..),
newTag,
tag_key,
tag_value,
TdscdmaLocalId (..),
newTdscdmaLocalId,
tdscdmaLocalId_uarfcn,
tdscdmaLocalId_cellParams,
TdscdmaNmrObj (..),
newTdscdmaNmrObj,
tdscdmaNmrObj_pathLoss,
tdscdmaNmrObj_rscp,
tdscdmaNmrObj_utranCid,
tdscdmaNmrObj_uarfcn,
tdscdmaNmrObj_cellParams,
TdscdmaObj (..),
newTdscdmaObj,
tdscdmaObj_lac,
tdscdmaObj_pathLoss,
tdscdmaObj_rscp,
tdscdmaObj_tdscdmaLocalId,
tdscdmaObj_tdscdmaNmr,
tdscdmaObj_tdscdmaTimingAdvance,
tdscdmaObj_mcc,
tdscdmaObj_mnc,
tdscdmaObj_utranCid,
TraceContent (..),
newTraceContent,
traceContent_logLevel,
traceContent_wirelessDeviceFrameInfo,
UpdateAbpV1_0_x (..),
newUpdateAbpV1_0_x,
updateAbpV1_0_x_fCntStart,
UpdateAbpV1_1 (..),
newUpdateAbpV1_1,
updateAbpV1_1_fCntStart,
UpdateFPorts (..),
newUpdateFPorts,
updateFPorts_applications,
updateFPorts_positioning,
UpdateWirelessGatewayTaskCreate (..),
newUpdateWirelessGatewayTaskCreate,
updateWirelessGatewayTaskCreate_loRaWAN,
updateWirelessGatewayTaskCreate_updateDataRole,
updateWirelessGatewayTaskCreate_updateDataSource,
UpdateWirelessGatewayTaskEntry (..),
newUpdateWirelessGatewayTaskEntry,
updateWirelessGatewayTaskEntry_arn,
updateWirelessGatewayTaskEntry_id,
updateWirelessGatewayTaskEntry_loRaWAN,
WcdmaLocalId (..),
newWcdmaLocalId,
wcdmaLocalId_uarfcndl,
wcdmaLocalId_psc,
WcdmaNmrObj (..),
newWcdmaNmrObj,
wcdmaNmrObj_pathLoss,
wcdmaNmrObj_rscp,
wcdmaNmrObj_uarfcndl,
wcdmaNmrObj_psc,
wcdmaNmrObj_utranCid,
WcdmaObj (..),
newWcdmaObj,
wcdmaObj_lac,
wcdmaObj_pathLoss,
wcdmaObj_rscp,
wcdmaObj_wcdmaLocalId,
wcdmaObj_wcdmaNmr,
wcdmaObj_mcc,
wcdmaObj_mnc,
wcdmaObj_utranCid,
WiFiAccessPoint (..),
newWiFiAccessPoint,
wiFiAccessPoint_macAddress,
wiFiAccessPoint_rss,
WirelessDeviceEventLogOption (..),
newWirelessDeviceEventLogOption,
wirelessDeviceEventLogOption_event,
wirelessDeviceEventLogOption_logLevel,
WirelessDeviceLogOption (..),
newWirelessDeviceLogOption,
wirelessDeviceLogOption_events,
wirelessDeviceLogOption_type,
wirelessDeviceLogOption_logLevel,
WirelessDeviceStatistics (..),
newWirelessDeviceStatistics,
wirelessDeviceStatistics_arn,
wirelessDeviceStatistics_destinationName,
wirelessDeviceStatistics_fuotaDeviceStatus,
wirelessDeviceStatistics_id,
wirelessDeviceStatistics_lastUplinkReceivedAt,
wirelessDeviceStatistics_loRaWAN,
wirelessDeviceStatistics_mcGroupId,
wirelessDeviceStatistics_multicastDeviceStatus,
wirelessDeviceStatistics_name,
wirelessDeviceStatistics_sidewalk,
wirelessDeviceStatistics_type,
WirelessGatewayEventLogOption (..),
newWirelessGatewayEventLogOption,
wirelessGatewayEventLogOption_event,
wirelessGatewayEventLogOption_logLevel,
WirelessGatewayLogOption (..),
newWirelessGatewayLogOption,
wirelessGatewayLogOption_events,
wirelessGatewayLogOption_type,
wirelessGatewayLogOption_logLevel,
WirelessGatewayStatistics (..),
newWirelessGatewayStatistics,
wirelessGatewayStatistics_arn,
wirelessGatewayStatistics_description,
wirelessGatewayStatistics_id,
wirelessGatewayStatistics_lastUplinkReceivedAt,
wirelessGatewayStatistics_loRaWAN,
wirelessGatewayStatistics_name,
WirelessMetadata (..),
newWirelessMetadata,
wirelessMetadata_loRaWAN,
wirelessMetadata_sidewalk,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import Amazonka.IoTWireless.Types.AbpV1_0_x
import Amazonka.IoTWireless.Types.AbpV1_1
import Amazonka.IoTWireless.Types.ApplicationConfig
import Amazonka.IoTWireless.Types.ApplicationConfigType
import Amazonka.IoTWireless.Types.BatteryLevel
import Amazonka.IoTWireless.Types.Beaconing
import Amazonka.IoTWireless.Types.CdmaLocalId
import Amazonka.IoTWireless.Types.CdmaNmrObj
import Amazonka.IoTWireless.Types.CdmaObj
import Amazonka.IoTWireless.Types.CellTowers
import Amazonka.IoTWireless.Types.CertificateList
import Amazonka.IoTWireless.Types.ConnectionStatus
import Amazonka.IoTWireless.Types.ConnectionStatusEventConfiguration
import Amazonka.IoTWireless.Types.ConnectionStatusResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.Destinations
import Amazonka.IoTWireless.Types.DeviceProfile
import Amazonka.IoTWireless.Types.DeviceRegistrationStateEventConfiguration
import Amazonka.IoTWireless.Types.DeviceRegistrationStateResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.DeviceState
import Amazonka.IoTWireless.Types.DlClass
import Amazonka.IoTWireless.Types.DownlinkMode
import Amazonka.IoTWireless.Types.DownlinkQueueMessage
import Amazonka.IoTWireless.Types.Event
import Amazonka.IoTWireless.Types.EventConfigurationItem
import Amazonka.IoTWireless.Types.EventNotificationItemConfigurations
import Amazonka.IoTWireless.Types.EventNotificationPartnerType
import Amazonka.IoTWireless.Types.EventNotificationResourceType
import Amazonka.IoTWireless.Types.EventNotificationTopicStatus
import Amazonka.IoTWireless.Types.ExpressionType
import Amazonka.IoTWireless.Types.FPorts
import Amazonka.IoTWireless.Types.FuotaDeviceStatus
import Amazonka.IoTWireless.Types.FuotaTask
import Amazonka.IoTWireless.Types.FuotaTaskStatus
import Amazonka.IoTWireless.Types.GatewayListItem
import Amazonka.IoTWireless.Types.GlobalIdentity
import Amazonka.IoTWireless.Types.Gnss
import Amazonka.IoTWireless.Types.GsmLocalId
import Amazonka.IoTWireless.Types.GsmNmrObj
import Amazonka.IoTWireless.Types.GsmObj
import Amazonka.IoTWireless.Types.IdentifierType
import Amazonka.IoTWireless.Types.Ip
import Amazonka.IoTWireless.Types.JoinEventConfiguration
import Amazonka.IoTWireless.Types.JoinResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.LoRaWANConnectionStatusEventNotificationConfigurations
import Amazonka.IoTWireless.Types.LoRaWANConnectionStatusResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.LoRaWANDevice
import Amazonka.IoTWireless.Types.LoRaWANDeviceMetadata
import Amazonka.IoTWireless.Types.LoRaWANDeviceProfile
import Amazonka.IoTWireless.Types.LoRaWANFuotaTask
import Amazonka.IoTWireless.Types.LoRaWANFuotaTaskGetInfo
import Amazonka.IoTWireless.Types.LoRaWANGateway
import Amazonka.IoTWireless.Types.LoRaWANGatewayCurrentVersion
import Amazonka.IoTWireless.Types.LoRaWANGatewayMetadata
import Amazonka.IoTWireless.Types.LoRaWANGatewayVersion
import Amazonka.IoTWireless.Types.LoRaWANGetServiceProfileInfo
import Amazonka.IoTWireless.Types.LoRaWANJoinEventNotificationConfigurations
import Amazonka.IoTWireless.Types.LoRaWANJoinResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.LoRaWANListDevice
import Amazonka.IoTWireless.Types.LoRaWANMulticast
import Amazonka.IoTWireless.Types.LoRaWANMulticastGet
import Amazonka.IoTWireless.Types.LoRaWANMulticastMetadata
import Amazonka.IoTWireless.Types.LoRaWANMulticastSession
import Amazonka.IoTWireless.Types.LoRaWANSendDataToDevice
import Amazonka.IoTWireless.Types.LoRaWANServiceProfile
import Amazonka.IoTWireless.Types.LoRaWANStartFuotaTask
import Amazonka.IoTWireless.Types.LoRaWANUpdateDevice
import Amazonka.IoTWireless.Types.LoRaWANUpdateGatewayTaskCreate
import Amazonka.IoTWireless.Types.LoRaWANUpdateGatewayTaskEntry
import Amazonka.IoTWireless.Types.LogLevel
import Amazonka.IoTWireless.Types.LteLocalId
import Amazonka.IoTWireless.Types.LteNmrObj
import Amazonka.IoTWireless.Types.LteObj
import Amazonka.IoTWireless.Types.MessageDeliveryStatusEventConfiguration
import Amazonka.IoTWireless.Types.MessageDeliveryStatusResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.MessageType
import Amazonka.IoTWireless.Types.MulticastGroup
import Amazonka.IoTWireless.Types.MulticastGroupByFuotaTask
import Amazonka.IoTWireless.Types.MulticastWirelessMetadata
import Amazonka.IoTWireless.Types.NetworkAnalyzerConfigurations
import Amazonka.IoTWireless.Types.OtaaV1_0_x
import Amazonka.IoTWireless.Types.OtaaV1_1
import Amazonka.IoTWireless.Types.ParticipatingGateways
import Amazonka.IoTWireless.Types.PartnerType
import Amazonka.IoTWireless.Types.PositionResourceType
import Amazonka.IoTWireless.Types.Positioning
import Amazonka.IoTWireless.Types.PositioningConfigStatus
import Amazonka.IoTWireless.Types.ProximityEventConfiguration
import Amazonka.IoTWireless.Types.ProximityResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.ServiceProfile
import Amazonka.IoTWireless.Types.SessionKeysAbpV1_0_x
import Amazonka.IoTWireless.Types.SessionKeysAbpV1_1
import Amazonka.IoTWireless.Types.SidewalkAccountInfo
import Amazonka.IoTWireless.Types.SidewalkAccountInfoWithFingerprint
import Amazonka.IoTWireless.Types.SidewalkDevice
import Amazonka.IoTWireless.Types.SidewalkDeviceMetadata
import Amazonka.IoTWireless.Types.SidewalkEventNotificationConfigurations
import Amazonka.IoTWireless.Types.SidewalkListDevice
import Amazonka.IoTWireless.Types.SidewalkResourceTypeEventConfiguration
import Amazonka.IoTWireless.Types.SidewalkSendDataToDevice
import Amazonka.IoTWireless.Types.SidewalkUpdateAccount
import Amazonka.IoTWireless.Types.SigningAlg
import Amazonka.IoTWireless.Types.SupportedRfRegion
import Amazonka.IoTWireless.Types.Tag
import Amazonka.IoTWireless.Types.TdscdmaLocalId
import Amazonka.IoTWireless.Types.TdscdmaNmrObj
import Amazonka.IoTWireless.Types.TdscdmaObj
import Amazonka.IoTWireless.Types.TraceContent
import Amazonka.IoTWireless.Types.UpdateAbpV1_0_x
import Amazonka.IoTWireless.Types.UpdateAbpV1_1
import Amazonka.IoTWireless.Types.UpdateFPorts
import Amazonka.IoTWireless.Types.UpdateWirelessGatewayTaskCreate
import Amazonka.IoTWireless.Types.UpdateWirelessGatewayTaskEntry
import Amazonka.IoTWireless.Types.WcdmaLocalId
import Amazonka.IoTWireless.Types.WcdmaNmrObj
import Amazonka.IoTWireless.Types.WcdmaObj
import Amazonka.IoTWireless.Types.WiFiAccessPoint
import Amazonka.IoTWireless.Types.WirelessDeviceEvent
import Amazonka.IoTWireless.Types.WirelessDeviceEventLogOption
import Amazonka.IoTWireless.Types.WirelessDeviceFrameInfo
import Amazonka.IoTWireless.Types.WirelessDeviceIdType
import Amazonka.IoTWireless.Types.WirelessDeviceLogOption
import Amazonka.IoTWireless.Types.WirelessDeviceStatistics
import Amazonka.IoTWireless.Types.WirelessDeviceType
import Amazonka.IoTWireless.Types.WirelessGatewayEvent
import Amazonka.IoTWireless.Types.WirelessGatewayEventLogOption
import Amazonka.IoTWireless.Types.WirelessGatewayIdType
import Amazonka.IoTWireless.Types.WirelessGatewayLogOption
import Amazonka.IoTWireless.Types.WirelessGatewayServiceType
import Amazonka.IoTWireless.Types.WirelessGatewayStatistics
import Amazonka.IoTWireless.Types.WirelessGatewayTaskDefinitionType
import Amazonka.IoTWireless.Types.WirelessGatewayTaskStatus
import Amazonka.IoTWireless.Types.WirelessGatewayType
import Amazonka.IoTWireless.Types.WirelessMetadata
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"IoTWireless",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"api.iotwireless",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"iotwireless",
$sel:version:Service :: ByteString
Core.version = ByteString
"2020-11-22",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"IoTWireless",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_AccessDeniedException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_AccessDeniedException :: forall a. AsError a => Fold a ServiceError
_AccessDeniedException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
403
_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ConflictException :: forall a. AsError a => Fold a ServiceError
_ConflictException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
409
_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InternalServerException :: forall a. AsError a => Fold a ServiceError
_InternalServerException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500
_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFoundException :: forall a. AsError a => Fold a ServiceError
_ResourceNotFoundException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
404
_ThrottlingException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ThrottlingException :: forall a. AsError a => Fold a ServiceError
_ThrottlingException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429
_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyTagsException :: forall a. AsError a => Fold a ServiceError
_TooManyTagsException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTagsException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ValidationException :: forall a. AsError a => Fold a ServiceError
_ValidationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400