• 沒有找到結果。

AWS IoT Wireless

N/A
N/A
Protected

Academic year: 2022

Share "AWS IoT Wireless"

Copied!
318
0
0

加載中.... (立即查看全文)

全文

(1)

AWS IoT Wireless

API Reference

API Version 2020-11-22

(2)

AWS IoT Wireless: API Reference

Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.

Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.

(3)

Table of Contents

Welcome ... 1

Actions ... 2

AssociateAwsAccountWithPartnerAccount ... 5

Request Syntax ... 5

URI Request Parameters ... 5

Request Body ... 5

Response Syntax ... 6

Response Elements ... 6

Errors ... 6

See Also ... 7

AssociateMulticastGroupWithFuotaTask ... 8

Request Syntax ... 8

URI Request Parameters ... 8

Request Body ... 8

Response Syntax ... 8

Response Elements ... 8

Errors ... 8

See Also ... 9

AssociateWirelessDeviceWithFuotaTask ... 10

Request Syntax ... 10

URI Request Parameters ... 10

Request Body ... 10

Response Syntax ... 10

Response Elements ... 10

Errors ... 10

See Also ... 11

AssociateWirelessDeviceWithMulticastGroup ... 12

Request Syntax ... 12

URI Request Parameters ... 12

Request Body ... 12

Response Syntax ... 12

Response Elements ... 12

Errors ... 12

See Also ... 13

AssociateWirelessDeviceWithThing ... 14

Request Syntax ... 14

URI Request Parameters ... 14

Request Body ... 14

Response Syntax ... 14

Response Elements ... 14

Errors ... 14

See Also ... 15

AssociateWirelessGatewayWithCertificate ... 16

Request Syntax ... 16

URI Request Parameters ... 16

Request Body ... 16

Response Syntax ... 16

Response Elements ... 16

Errors ... 17

See Also ... 17

AssociateWirelessGatewayWithThing ... 19

Request Syntax ... 19

URI Request Parameters ... 19

Request Body ... 19

(4)

Response Syntax ... 19

Response Elements ... 19

Errors ... 19

See Also ... 20

CancelMulticastGroupSession ... 21

Request Syntax ... 21

URI Request Parameters ... 21

Request Body ... 21

Response Syntax ... 21

Response Elements ... 21

Errors ... 21

See Also ... 22

CreateDestination ... 23

Request Syntax ... 23

URI Request Parameters ... 23

Request Body ... 23

Response Syntax ... 24

Response Elements ... 24

Errors ... 25

See Also ... 25

CreateDeviceProfile ... 27

Request Syntax ... 27

URI Request Parameters ... 27

Request Body ... 27

Response Syntax ... 28

Response Elements ... 28

Errors ... 29

See Also ... 29

CreateFuotaTask ... 30

Request Syntax ... 30

URI Request Parameters ... 30

Request Body ... 30

Response Syntax ... 31

Response Elements ... 31

Errors ... 32

See Also ... 32

CreateMulticastGroup ... 34

Request Syntax ... 34

URI Request Parameters ... 34

Request Body ... 34

Response Syntax ... 35

Response Elements ... 35

Errors ... 35

See Also ... 36

CreateServiceProfile ... 37

Request Syntax ... 37

URI Request Parameters ... 37

Request Body ... 37

Response Syntax ... 38

Response Elements ... 38

Errors ... 38

See Also ... 39

CreateWirelessDevice ... 40

Request Syntax ... 40

URI Request Parameters ... 41

Request Body ... 41

Response Syntax ... 42

(5)

Response Elements ... 42

Errors ... 42

See Also ... 43

CreateWirelessGateway ... 44

Request Syntax ... 44

URI Request Parameters ... 44

Request Body ... 44

Response Syntax ... 45

Response Elements ... 45

Errors ... 46

See Also ... 46

CreateWirelessGatewayTask ... 47

Request Syntax ... 47

URI Request Parameters ... 47

Request Body ... 47

Response Syntax ... 47

Response Elements ... 47

Errors ... 48

See Also ... 49

CreateWirelessGatewayTaskDefinition ... 50

Request Syntax ... 50

URI Request Parameters ... 50

Request Body ... 50

Response Syntax ... 51

Response Elements ... 51

Errors ... 52

See Also ... 52

DeleteDestination ... 54

Request Syntax ... 54

URI Request Parameters ... 54

Request Body ... 54

Response Syntax ... 54

Response Elements ... 54

Errors ... 54

See Also ... 55

DeleteDeviceProfile ... 56

Request Syntax ... 56

URI Request Parameters ... 56

Request Body ... 56

Response Syntax ... 56

Response Elements ... 56

Errors ... 56

See Also ... 57

DeleteFuotaTask ... 58

Request Syntax ... 58

URI Request Parameters ... 58

Request Body ... 58

Response Syntax ... 58

Response Elements ... 58

Errors ... 58

See Also ... 59

DeleteMulticastGroup ... 60

Request Syntax ... 60

URI Request Parameters ... 60

Request Body ... 60

Response Syntax ... 60

Response Elements ... 60

(6)

Errors ... 60

See Also ... 61

DeleteQueuedMessages ... 62

Request Syntax ... 62

URI Request Parameters ... 62

Request Body ... 62

Response Syntax ... 62

Response Elements ... 62

Errors ... 62

See Also ... 63

DeleteServiceProfile ... 64

Request Syntax ... 64

URI Request Parameters ... 64

Request Body ... 64

Response Syntax ... 64

Response Elements ... 64

Errors ... 64

See Also ... 65

DeleteWirelessDevice ... 66

Request Syntax ... 66

URI Request Parameters ... 66

Request Body ... 66

Response Syntax ... 66

Response Elements ... 66

Errors ... 66

See Also ... 67

DeleteWirelessGateway ... 68

Request Syntax ... 68

URI Request Parameters ... 68

Request Body ... 68

Response Syntax ... 68

Response Elements ... 68

Errors ... 68

See Also ... 69

DeleteWirelessGatewayTask ... 70

Request Syntax ... 70

URI Request Parameters ... 70

Request Body ... 70

Response Syntax ... 70

Response Elements ... 70

Errors ... 70

See Also ... 71

DeleteWirelessGatewayTaskDefinition ... 72

Request Syntax ... 72

URI Request Parameters ... 72

Request Body ... 72

Response Syntax ... 72

Response Elements ... 72

Errors ... 72

See Also ... 73

DisassociateAwsAccountFromPartnerAccount ... 74

Request Syntax ... 74

URI Request Parameters ... 74

Request Body ... 74

Response Syntax ... 74

Response Elements ... 74

Errors ... 74

(7)

See Also ... 75

DisassociateMulticastGroupFromFuotaTask ... 76

Request Syntax ... 76

URI Request Parameters ... 76

Request Body ... 76

Response Syntax ... 76

Response Elements ... 76

Errors ... 76

See Also ... 77

DisassociateWirelessDeviceFromFuotaTask ... 78

Request Syntax ... 78

URI Request Parameters ... 78

Request Body ... 78

Response Syntax ... 78

Response Elements ... 78

Errors ... 78

See Also ... 79

DisassociateWirelessDeviceFromMulticastGroup ... 80

Request Syntax ... 80

URI Request Parameters ... 80

Request Body ... 80

Response Syntax ... 80

Response Elements ... 80

Errors ... 80

See Also ... 81

DisassociateWirelessDeviceFromThing ... 82

Request Syntax ... 82

URI Request Parameters ... 82

Request Body ... 82

Response Syntax ... 82

Response Elements ... 82

Errors ... 82

See Also ... 83

DisassociateWirelessGatewayFromCertificate ... 84

Request Syntax ... 84

URI Request Parameters ... 84

Request Body ... 84

Response Syntax ... 84

Response Elements ... 84

Errors ... 84

See Also ... 85

DisassociateWirelessGatewayFromThing ... 86

Request Syntax ... 86

URI Request Parameters ... 86

Request Body ... 86

Response Syntax ... 86

Response Elements ... 86

Errors ... 86

See Also ... 87

GetDestination ... 88

Request Syntax ... 88

URI Request Parameters ... 88

Request Body ... 88

Response Syntax ... 88

Response Elements ... 88

Errors ... 89

See Also ... 90

(8)

GetDeviceProfile ... 91

Request Syntax ... 91

URI Request Parameters ... 91

Request Body ... 91

Response Syntax ... 91

Response Elements ... 92

Errors ... 92

See Also ... 93

GetFuotaTask ... 94

Request Syntax ... 94

URI Request Parameters ... 94

Request Body ... 94

Response Syntax ... 94

Response Elements ... 94

Errors ... 95

See Also ... 96

GetLogLevelsByResourceTypes ... 97

Request Syntax ... 97

URI Request Parameters ... 97

Request Body ... 97

Response Syntax ... 97

Response Elements ... 97

Errors ... 98

See Also ... 98

GetMulticastGroup ... 100

Request Syntax ... 100

URI Request Parameters ... 100

Request Body ... 100

Response Syntax ... 100

Response Elements ... 100

Errors ... 101

See Also ... 102

GetMulticastGroupSession ... 103

Request Syntax ... 103

URI Request Parameters ... 103

Request Body ... 103

Response Syntax ... 103

Response Elements ... 103

Errors ... 103

See Also ... 104

GetNetworkAnalyzerConfiguration ... 105

Request Syntax ... 105

URI Request Parameters ... 105

Request Body ... 105

Response Syntax ... 105

Response Elements ... 105

Errors ... 106

See Also ... 106

GetPartnerAccount ... 108

Request Syntax ... 108

URI Request Parameters ... 108

Request Body ... 108

Response Syntax ... 108

Response Elements ... 108

Errors ... 109

See Also ... 109

GetResourceEventConfiguration ... 110

(9)

Request Syntax ... 110

URI Request Parameters ... 110

Request Body ... 110

Response Syntax ... 110

Response Elements ... 111

Errors ... 111

See Also ... 111

GetResourceLogLevel ... 113

Request Syntax ... 113

URI Request Parameters ... 113

Request Body ... 113

Response Syntax ... 113

Response Elements ... 113

Errors ... 114

See Also ... 114

GetServiceEndpoint ... 115

Request Syntax ... 115

URI Request Parameters ... 115

Request Body ... 115

Response Syntax ... 115

Response Elements ... 115

Errors ... 116

See Also ... 116

GetServiceProfile ... 117

Request Syntax ... 117

URI Request Parameters ... 117

Request Body ... 117

Response Syntax ... 117

Response Elements ... 118

Errors ... 118

See Also ... 119

GetWirelessDevice ... 120

Request Syntax ... 120

URI Request Parameters ... 120

Request Body ... 120

Response Syntax ... 120

Response Elements ... 121

Errors ... 122

See Also ... 123

GetWirelessDeviceStatistics ... 124

Request Syntax ... 124

URI Request Parameters ... 124

Request Body ... 124

Response Syntax ... 124

Response Elements ... 125

Errors ... 125

See Also ... 126

GetWirelessGateway ... 127

Request Syntax ... 127

URI Request Parameters ... 127

Request Body ... 127

Response Syntax ... 127

Response Elements ... 128

Errors ... 128

See Also ... 129

GetWirelessGatewayCertificate ... 130

Request Syntax ... 130

(10)

URI Request Parameters ... 130

Request Body ... 130

Response Syntax ... 130

Response Elements ... 130

Errors ... 131

See Also ... 131

GetWirelessGatewayFirmwareInformation ... 132

Request Syntax ... 132

URI Request Parameters ... 132

Request Body ... 132

Response Syntax ... 132

Response Elements ... 132

Errors ... 132

See Also ... 133

GetWirelessGatewayStatistics ... 134

Request Syntax ... 134

URI Request Parameters ... 134

Request Body ... 134

Response Syntax ... 134

Response Elements ... 134

Errors ... 135

See Also ... 135

GetWirelessGatewayTask ... 137

Request Syntax ... 137

URI Request Parameters ... 137

Request Body ... 137

Response Syntax ... 137

Response Elements ... 137

Errors ... 138

See Also ... 139

GetWirelessGatewayTaskDefinition ... 140

Request Syntax ... 140

URI Request Parameters ... 140

Request Body ... 140

Response Syntax ... 140

Response Elements ... 141

Errors ... 141

See Also ... 142

ListDestinations ... 143

Request Syntax ... 143

URI Request Parameters ... 143

Request Body ... 143

Response Syntax ... 143

Response Elements ... 143

Errors ... 144

See Also ... 144

ListDeviceProfiles ... 145

Request Syntax ... 145

URI Request Parameters ... 145

Request Body ... 145

Response Syntax ... 145

Response Elements ... 145

Errors ... 146

See Also ... 146

ListFuotaTasks ... 147

Request Syntax ... 147

URI Request Parameters ... 147

(11)

Request Body ... 147

Response Syntax ... 147

Response Elements ... 147

Errors ... 148

See Also ... 148

ListMulticastGroups ... 149

Request Syntax ... 149

URI Request Parameters ... 149

Request Body ... 149

Response Syntax ... 149

Response Elements ... 149

Errors ... 150

See Also ... 150

ListMulticastGroupsByFuotaTask ... 151

Request Syntax ... 151

URI Request Parameters ... 151

Request Body ... 151

Response Syntax ... 151

Response Elements ... 151

Errors ... 152

See Also ... 152

ListPartnerAccounts ... 154

Request Syntax ... 154

URI Request Parameters ... 154

Request Body ... 154

Response Syntax ... 154

Response Elements ... 154

Errors ... 155

See Also ... 155

ListQueuedMessages ... 156

Request Syntax ... 156

URI Request Parameters ... 156

Request Body ... 156

Response Syntax ... 156

Response Elements ... 157

Errors ... 157

See Also ... 158

ListServiceProfiles ... 159

Request Syntax ... 159

URI Request Parameters ... 159

Request Body ... 159

Response Syntax ... 159

Response Elements ... 159

Errors ... 160

See Also ... 160

ListTagsForResource ... 161

Request Syntax ... 161

URI Request Parameters ... 161

Request Body ... 161

Response Syntax ... 161

Response Elements ... 161

Errors ... 162

See Also ... 162

ListWirelessDevices ... 163

Request Syntax ... 163

URI Request Parameters ... 163

Request Body ... 164

(12)

Response Syntax ... 164

Response Elements ... 164

Errors ... 165

See Also ... 165

ListWirelessGateways ... 166

Request Syntax ... 166

URI Request Parameters ... 166

Request Body ... 166

Response Syntax ... 166

Response Elements ... 167

Errors ... 167

See Also ... 167

ListWirelessGatewayTaskDefinitions ... 169

Request Syntax ... 169

URI Request Parameters ... 169

Request Body ... 169

Response Syntax ... 169

Response Elements ... 170

Errors ... 170

See Also ... 170

PutResourceLogLevel ... 172

Request Syntax ... 172

URI Request Parameters ... 172

Request Body ... 172

Response Syntax ... 172

Response Elements ... 172

Errors ... 173

See Also ... 173

ResetAllResourceLogLevels ... 174

Request Syntax ... 174

URI Request Parameters ... 174

Request Body ... 174

Response Syntax ... 174

Response Elements ... 174

Errors ... 174

See Also ... 175

ResetResourceLogLevel ... 176

Request Syntax ... 176

URI Request Parameters ... 176

Request Body ... 176

Response Syntax ... 176

Response Elements ... 176

Errors ... 176

See Also ... 177

SendDataToMulticastGroup ... 178

Request Syntax ... 178

URI Request Parameters ... 178

Request Body ... 178

Response Syntax ... 178

Response Elements ... 179

Errors ... 179

See Also ... 179

SendDataToWirelessDevice ... 181

Request Syntax ... 181

URI Request Parameters ... 181

Request Body ... 181

Response Syntax ... 182

(13)

Response Elements ... 182

Errors ... 182

See Also ... 183

StartBulkAssociateWirelessDeviceWithMulticastGroup ... 184

Request Syntax ... 184

URI Request Parameters ... 184

Request Body ... 184

Response Syntax ... 185

Response Elements ... 185

Errors ... 185

See Also ... 185

StartBulkDisassociateWirelessDeviceFromMulticastGroup ... 187

Request Syntax ... 187

URI Request Parameters ... 187

Request Body ... 187

Response Syntax ... 188

Response Elements ... 188

Errors ... 188

See Also ... 188

StartFuotaTask ... 190

Request Syntax ... 190

URI Request Parameters ... 190

Request Body ... 190

Response Syntax ... 190

Response Elements ... 190

Errors ... 190

See Also ... 191

StartMulticastGroupSession ... 192

Request Syntax ... 192

URI Request Parameters ... 192

Request Body ... 192

Response Syntax ... 192

Response Elements ... 192

Errors ... 192

See Also ... 193

TagResource ... 194

Request Syntax ... 194

URI Request Parameters ... 194

Request Body ... 194

Response Syntax ... 194

Response Elements ... 194

Errors ... 195

See Also ... 195

TestWirelessDevice ... 196

Request Syntax ... 196

URI Request Parameters ... 196

Request Body ... 196

Response Syntax ... 196

Response Elements ... 196

Errors ... 196

See Also ... 197

UntagResource ... 198

Request Syntax ... 198

URI Request Parameters ... 198

Request Body ... 198

Response Syntax ... 198

Response Elements ... 198

(14)

Errors ... 198

See Also ... 199

UpdateDestination ... 200

Request Syntax ... 200

URI Request Parameters ... 200

Request Body ... 200

Response Syntax ... 201

Response Elements ... 201

Errors ... 201

See Also ... 201

UpdateFuotaTask ... 203

Request Syntax ... 203

URI Request Parameters ... 203

Request Body ... 203

Response Syntax ... 204

Response Elements ... 204

Errors ... 204

See Also ... 205

UpdateLogLevelsByResourceTypes ... 206

Request Syntax ... 206

URI Request Parameters ... 206

Request Body ... 206

Response Syntax ... 207

Response Elements ... 207

Errors ... 207

See Also ... 208

UpdateMulticastGroup ... 209

Request Syntax ... 209

URI Request Parameters ... 209

Request Body ... 209

Response Syntax ... 210

Response Elements ... 210

Errors ... 210

See Also ... 210

UpdateNetworkAnalyzerConfiguration ... 212

Request Syntax ... 212

URI Request Parameters ... 212

Request Body ... 212

Response Syntax ... 213

Response Elements ... 213

Errors ... 213

See Also ... 214

UpdatePartnerAccount ... 215

Request Syntax ... 215

URI Request Parameters ... 215

Request Body ... 215

Response Syntax ... 215

Response Elements ... 215

Errors ... 216

See Also ... 216

UpdateResourceEventConfiguration ... 217

Request Syntax ... 217

URI Request Parameters ... 217

Request Body ... 217

Response Syntax ... 218

Response Elements ... 218

Errors ... 218

(15)

See Also ... 218

UpdateWirelessDevice ... 220

Request Syntax ... 220

URI Request Parameters ... 220

Request Body ... 220

Response Syntax ... 221

Response Elements ... 221

Errors ... 221

See Also ... 222

UpdateWirelessGateway ... 223

Request Syntax ... 223

URI Request Parameters ... 223

Request Body ... 223

Response Syntax ... 224

Response Elements ... 224

Errors ... 224

See Also ... 225

Data Types ... 226

AbpV1_0_x ... 228

Contents ... 228

See Also ... 228

AbpV1_1 ... 229

Contents ... 229

See Also ... 229

CertificateList ... 230

Contents ... 230

See Also ... 230

Destinations ... 231

Contents ... 231

See Also ... 232

DeviceProfile ... 233

Contents ... 233

See Also ... 233

DeviceRegistrationStateEventConfiguration ... 234

Contents ... 234

See Also ... 234

DownlinkQueueMessage ... 235

Contents ... 235

See Also ... 235

FPorts ... 236

Contents ... 236

See Also ... 236

FuotaTask ... 237

Contents ... 237

See Also ... 237

LoRaWANDevice ... 238

Contents ... 238

See Also ... 239

LoRaWANDeviceMetadata ... 240

Contents ... 240

See Also ... 241

LoRaWANDeviceProfile ... 242

Contents ... 242

See Also ... 244

LoRaWANFuotaTask ... 246

Contents ... 246

See Also ... 246

(16)

LoRaWANFuotaTaskGetInfo ... 247

Contents ... 247

See Also ... 247

LoRaWANGateway ... 248

Contents ... 248

See Also ... 249

LoRaWANGatewayCurrentVersion ... 250

Contents ... 250

See Also ... 250

LoRaWANGatewayMetadata ... 251

Contents ... 251

See Also ... 251

LoRaWANGatewayVersion ... 252

Contents ... 252

See Also ... 252

LoRaWANGetServiceProfileInfo ... 253

Contents ... 253

See Also ... 255

LoRaWANListDevice ... 256

Contents ... 256

See Also ... 256

LoRaWANMulticast ... 257

Contents ... 257

See Also ... 257

LoRaWANMulticastGet ... 258

Contents ... 258

See Also ... 258

LoRaWANMulticastMetadata ... 259

Contents ... 259

See Also ... 259

LoRaWANMulticastSession ... 260

Contents ... 260

See Also ... 260

LoRaWANSendDataToDevice ... 261

Contents ... 261

See Also ... 261

LoRaWANServiceProfile ... 262

Contents ... 262

See Also ... 262

LoRaWANStartFuotaTask ... 263

Contents ... 263

See Also ... 263

LoRaWANUpdateDevice ... 264

Contents ... 264

See Also ... 264

LoRaWANUpdateGatewayTaskCreate ... 265

Contents ... 265

See Also ... 265

LoRaWANUpdateGatewayTaskEntry ... 266

Contents ... 266

See Also ... 266

MulticastGroup ... 267

Contents ... 267

See Also ... 267

MulticastGroupByFuotaTask ... 268

Contents ... 268

See Also ... 268

(17)

MulticastWirelessMetadata ... 269

Contents ... 269

See Also ... 269

OtaaV1_0_x ... 270

Contents ... 270

See Also ... 270

OtaaV1_1 ... 271

Contents ... 271

See Also ... 271

ProximityEventConfiguration ... 272

Contents ... 272

See Also ... 272

ServiceProfile ... 273

Contents ... 273

See Also ... 273

SessionKeysAbpV1_0_x ... 274

Contents ... 274

See Also ... 274

SessionKeysAbpV1_1 ... 275

Contents ... 275

See Also ... 275

SidewalkAccountInfo ... 276

Contents ... 276

See Also ... 276

SidewalkAccountInfoWithFingerprint ... 277

Contents ... 277

See Also ... 277

SidewalkDevice ... 278

Contents ... 278

See Also ... 278

SidewalkDeviceMetadata ... 279

Contents ... 279

See Also ... 279

SidewalkEventNotificationConfigurations ... 280

Contents ... 280

See Also ... 280

SidewalkListDevice ... 281

Contents ... 281

See Also ... 281

SidewalkSendDataToDevice ... 282

Contents ... 282

See Also ... 282

SidewalkUpdateAccount ... 283

Contents ... 283

See Also ... 283

Tag ... 284

Contents ... 284

See Also ... 284

TraceContent ... 285

Contents ... 285

See Also ... 285

UpdateWirelessGatewayTaskCreate ... 286

Contents ... 286

See Also ... 286

UpdateWirelessGatewayTaskEntry ... 287

Contents ... 287

See Also ... 287

(18)

WirelessDeviceEventLogOption ... 288

Contents ... 288

See Also ... 288

WirelessDeviceLogOption ... 289

Contents ... 289

See Also ... 289

WirelessDeviceStatistics ... 290

Contents ... 290

See Also ... 291

WirelessGatewayEventLogOption ... 292

Contents ... 292

See Also ... 292

WirelessGatewayLogOption ... 293

Contents ... 293

See Also ... 293

WirelessGatewayStatistics ... 294

Contents ... 294

See Also ... 295

WirelessMetadata ... 296

Contents ... 296

See Also ... 296

Common Parameters ... 297

Common Errors ... 299

(19)

Welcome

AWS IoT Wireless provides bi-directional communication between internet-connected wireless devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN) communication protocol to communicate with AWS IoT.

Using the API, you can perform create, read, update, and delete operations for your wireless devices, gateways, destinations, and profiles. After onboarding your devices, you can use the API operations to set log levels and monitor your devices with CloudWatch.

You can also use the API operations to create multicast groups and schedule a multicast session for sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware of individual devices or an entire group of devices in a multicast group.

This document was last published on March 6, 2022.

(20)

Actions

The following actions are supported:

• AssociateAwsAccountWithPartnerAccount (p. 5)

• AssociateMulticastGroupWithFuotaTask (p. 8)

• AssociateWirelessDeviceWithFuotaTask (p. 10)

• AssociateWirelessDeviceWithMulticastGroup (p. 12)

• AssociateWirelessDeviceWithThing (p. 14)

• AssociateWirelessGatewayWithCertificate (p. 16)

• AssociateWirelessGatewayWithThing (p. 19)

• CancelMulticastGroupSession (p. 21)

• CreateDestination (p. 23)

• CreateDeviceProfile (p. 27)

• CreateFuotaTask (p. 30)

• CreateMulticastGroup (p. 34)

• CreateServiceProfile (p. 37)

• CreateWirelessDevice (p. 40)

• CreateWirelessGateway (p. 44)

• CreateWirelessGatewayTask (p. 47)

• CreateWirelessGatewayTaskDefinition (p. 50)

• DeleteDestination (p. 54)

• DeleteDeviceProfile (p. 56)

• DeleteFuotaTask (p. 58)

• DeleteMulticastGroup (p. 60)

• DeleteQueuedMessages (p. 62)

• DeleteServiceProfile (p. 64)

• DeleteWirelessDevice (p. 66)

• DeleteWirelessGateway (p. 68)

• DeleteWirelessGatewayTask (p. 70)

• DeleteWirelessGatewayTaskDefinition (p. 72)

• DisassociateAwsAccountFromPartnerAccount (p. 74)

• DisassociateMulticastGroupFromFuotaTask (p. 76)

• DisassociateWirelessDeviceFromFuotaTask (p. 78)

• DisassociateWirelessDeviceFromMulticastGroup (p. 80)

• DisassociateWirelessDeviceFromThing (p. 82)

• DisassociateWirelessGatewayFromCertificate (p. 84)

• DisassociateWirelessGatewayFromThing (p. 86)

• GetDestination (p. 88)

• GetDeviceProfile (p. 91)

• GetFuotaTask (p. 94)

• GetLogLevelsByResourceTypes (p. 97)

• GetMulticastGroup (p. 100)

• GetMulticastGroupSession (p. 103)

(21)

• GetNetworkAnalyzerConfiguration (p. 105)

• GetPartnerAccount (p. 108)

• GetResourceEventConfiguration (p. 110)

• GetResourceLogLevel (p. 113)

• GetServiceEndpoint (p. 115)

• GetServiceProfile (p. 117)

• GetWirelessDevice (p. 120)

• GetWirelessDeviceStatistics (p. 124)

• GetWirelessGateway (p. 127)

• GetWirelessGatewayCertificate (p. 130)

• GetWirelessGatewayFirmwareInformation (p. 132)

• GetWirelessGatewayStatistics (p. 134)

• GetWirelessGatewayTask (p. 137)

• GetWirelessGatewayTaskDefinition (p. 140)

• ListDestinations (p. 143)

• ListDeviceProfiles (p. 145)

• ListFuotaTasks (p. 147)

• ListMulticastGroups (p. 149)

• ListMulticastGroupsByFuotaTask (p. 151)

• ListPartnerAccounts (p. 154)

• ListQueuedMessages (p. 156)

• ListServiceProfiles (p. 159)

• ListTagsForResource (p. 161)

• ListWirelessDevices (p. 163)

• ListWirelessGateways (p. 166)

• ListWirelessGatewayTaskDefinitions (p. 169)

• PutResourceLogLevel (p. 172)

• ResetAllResourceLogLevels (p. 174)

• ResetResourceLogLevel (p. 176)

• SendDataToMulticastGroup (p. 178)

• SendDataToWirelessDevice (p. 181)

• StartBulkAssociateWirelessDeviceWithMulticastGroup (p. 184)

• StartBulkDisassociateWirelessDeviceFromMulticastGroup (p. 187)

• StartFuotaTask (p. 190)

• StartMulticastGroupSession (p. 192)

• TagResource (p. 194)

• TestWirelessDevice (p. 196)

• UntagResource (p. 198)

• UpdateDestination (p. 200)

• UpdateFuotaTask (p. 203)

• UpdateLogLevelsByResourceTypes (p. 206)

• UpdateMulticastGroup (p. 209)

• UpdateNetworkAnalyzerConfiguration (p. 212)

• UpdatePartnerAccount (p. 215)

• UpdateResourceEventConfiguration (p. 217)

• UpdateWirelessDevice (p. 220)

(22)

• UpdateWirelessGateway (p. 223)

(23)

AssociateAwsAccountWithPartnerAccount

AssociateAwsAccountWithPartnerAccount

Associates a partner account with your AWS account.

Request Syntax

POST /partner-accounts HTTP/1.1 Content-type: application/json { "ClientRequestToken": "string", "Sidewalk": {

"AmazonId": "string",

"AppServerPrivateKey": "string"

},

"Tags": [ {

"Key": "string", "Value": "string"

} ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 5)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9-_]+$

Required: No Sidewalk (p. 5)

The Sidewalk account credentials.

Type: SidewalkAccountInfo (p. 276) object Required: Yes

Tags (p. 5)

The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

(24)

Response Syntax

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 200

Content-type: application/json {

"Arn": "string", "Sidewalk": {

"AmazonId": "string",

"AppServerPrivateKey": "string"

} }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Arn (p. 6)

The Amazon Resource Name of the resource.

Type: String Sidewalk (p. 6)

The Sidewalk account credentials.

Type: SidewalkAccountInfo (p. 276) object

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

(25)

See Also

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(26)

AssociateMulticastGroupWithFuotaTask

AssociateMulticastGroupWithFuotaTask

Associate a multicast group with a FUOTA task.

Request Syntax

PUT /fuota-tasks/Id/multicast-group HTTP/1.1 Content-type: application/json

{ "MulticastGroupId": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 8)

The ID of a FUOTA task.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

MulticastGroupId (p. 8)

The ID of the multicast group.

Type: String

Length Constraints: Maximum length of 256.

Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

(27)

See Also

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(28)

AssociateWirelessDeviceWithFuotaTask

AssociateWirelessDeviceWithFuotaTask

Associate a wireless device with a FUOTA task.

Request Syntax

PUT /fuota-tasks/Id/wireless-device HTTP/1.1 Content-type: application/json

{ "WirelessDeviceId": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 10)

The ID of a FUOTA task.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

WirelessDeviceId (p. 10)

The ID of the wireless device.

Type: String

Length Constraints: Maximum length of 256.

Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

(29)

See Also

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(30)

AssociateWirelessDeviceWithMulticastGroup

AssociateWirelessDeviceWithMulticastGroup

Associates a wireless device with a multicast group.

Request Syntax

PUT /multicast-groups/Id/wireless-device HTTP/1.1 Content-type: application/json

{ "WirelessDeviceId": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 12)

The ID of the multicast group.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

WirelessDeviceId (p. 12)

The ID of the wireless device.

Type: String

Length Constraints: Maximum length of 256.

Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

(31)

See Also

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(32)

AssociateWirelessDeviceWithThing

AssociateWirelessDeviceWithThing

Associates a wireless device with a thing.

Request Syntax

PUT /wireless-devices/Id/thing HTTP/1.1 Content-type: application/json

{ "ThingArn": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 14)

The ID of the resource to update.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

ThingArn (p. 14)

The ARN of the thing to associate with the wireless device.

Type: String Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

(33)

See Also

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(34)

AssociateWirelessGatewayWithCertificate

AssociateWirelessGatewayWithCertificate

Associates a wireless gateway with a certificate.

Request Syntax

PUT /wireless-gateways/Id/certificate HTTP/1.1 Content-type: application/json

{

"IotCertificateId": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 16)

The ID of the resource to update.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

IotCertificateId (p. 16)

The ID of the certificate to associate with the wireless gateway.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4096.

Required: Yes

Response Syntax

HTTP/1.1 200

Content-type: application/json { "IotCertificateId": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

(35)

Errors

IotCertificateId (p. 16)

The ID of the certificate associated with the wireless gateway.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4096.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

(36)

See Also

• AWS SDK for Python

• AWS SDK for Ruby V3

(37)

AssociateWirelessGatewayWithThing

AssociateWirelessGatewayWithThing

Associates a wireless gateway with a thing.

Request Syntax

PUT /wireless-gateways/Id/thing HTTP/1.1 Content-type: application/json

{ "ThingArn": "string"

}

URI Request Parameters

The request uses the following URI parameters.

Id (p. 19)

The ID of the resource to update.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request accepts the following data in JSON format.

ThingArn (p. 19)

The ARN of the thing to associate with the wireless gateway.

Type: String Required: Yes

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

(38)

See Also

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(39)

CancelMulticastGroupSession

CancelMulticastGroupSession

Cancels an existing multicast group session.

Request Syntax

DELETE /multicast-groups/Id/session HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.

Id (p. 21)

The ID of the multicast group.

Length Constraints: Maximum length of 256.

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500

(40)

See Also

ResourceNotFoundException Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(41)

CreateDestination

CreateDestination

Creates a new destination that maps a device message to an AWS IoT rule.

Request Syntax

POST /destinations HTTP/1.1 Content-type: application/json {

"ClientRequestToken": "string", "Description": "string", "Expression": "string", "ExpressionType": "string", "Name": "string",

"RoleArn": "string", "Tags": [

{

"Key": "string", "Value": "string"

} ]}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 23)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9-_]+$

Required: No Description (p. 23)

The description of the new resource.

Type: String

Length Constraints: Maximum length of 2048.

Required: No Expression (p. 23)

The rule name or topic rule to send messages to.

(42)

Response Syntax

Type: String

Length Constraints: Maximum length of 2048.

Required: Yes ExpressionType (p. 23)

The type of value in Expression.

Type: String

Valid Values: RuleName | MqttTopic Required: Yes

Name (p. 23)

The name of the new resource.

Type: String

Length Constraints: Maximum length of 128.

Pattern: [a-zA-Z0-9-_]+

Required: Yes RoleArn (p. 23)

The ARN of the IAM Role that authorizes the destination.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Required: Yes Tags (p. 23)

The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 201

Content-type: application/json {

"Arn": "string", "Name": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

(43)

Errors

The following data is returned in JSON format by the service.

Arn (p. 24)

The Amazon Resource Name of the new resource.

Type: String Name (p. 24)

The name of the new resource.

Type: String

Length Constraints: Maximum length of 128.

Pattern: [a-zA-Z0-9-_]+

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

(44)

See Also

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(45)

CreateDeviceProfile

CreateDeviceProfile

Creates a new device profile.

Request Syntax

POST /device-profiles HTTP/1.1 Content-type: application/json { "ClientRequestToken": "string", "LoRaWAN": {

"ClassBTimeout": number, "ClassCTimeout": number,

"FactoryPresetFreqsList": [ number ], "MacVersion": "string",

"MaxDutyCycle": number, "MaxEirp": number, "PingSlotDr": number, "PingSlotFreq": number, "PingSlotPeriod": number, "RegParamsRevision": "string", "RfRegion": "string",

"RxDataRate2": number, "RxDelay1": number, "RxDrOffset1": number, "RxFreq2": number,

"Supports32BitFCnt": boolean, "SupportsClassB": boolean, "SupportsClassC": boolean, "SupportsJoin": boolean },

"Name": "string", "Tags": [ {

"Key": "string", "Value": "string"

} ] }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 27)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

(46)

Response Syntax

Pattern: ^[a-zA-Z0-9-_]+$

Required: No LoRaWAN (p. 27)

The device profile information to use to create the device profile.

Type: LoRaWANDeviceProfile (p. 242) object Required: No

Name (p. 27)

The name of the new resource.

Type: String

Length Constraints: Maximum length of 256.

Required: No Tags (p. 27)

The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 201

Content-type: application/json { "Arn": "string",

"Id": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in JSON format by the service.

Arn (p. 28)

The Amazon Resource Name of the new resource.

Type: String Id (p. 28)

The ID of the new device profile.

Type: String

Length Constraints: Maximum length of 256.

(47)

Errors

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(48)

CreateFuotaTask

CreateFuotaTask

Creates a FUOTA task.

Request Syntax

POST /fuota-tasks HTTP/1.1 Content-type: application/json { "ClientRequestToken": "string", "Description": "string",

"FirmwareUpdateImage": "string", "FirmwareUpdateRole": "string", "LoRaWAN": {

"RfRegion": "string"

},

"Name": "string", "Tags": [ {

"Key": "string", "Value": "string"

} ]}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 30)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9-_]+$

Required: No Description (p. 30)

The description of the new resource.

Type: String

Length Constraints: Maximum length of 2048.

Required: No

(49)

Response Syntax

FirmwareUpdateImage (p. 30)

The S3 URI points to a firmware update image that is to be used with a FUOTA task.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4096.

Required: Yes

FirmwareUpdateRole (p. 30)

The firmware update role that is to be used with a FUOTA task.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: Yes LoRaWAN (p. 30)

The LoRaWAN information used with a FUOTA task.

Type: LoRaWANFuotaTask (p. 246) object Required: No

Name (p. 30)

The name of a FUOTA task.

Type: String

Length Constraints: Maximum length of 256.

Required: No Tags (p. 30)

The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 201

Content-type: application/json { "Arn": "string",

"Id": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

(50)

Errors

The following data is returned in JSON format by the service.

Arn (p. 31)

The arn of a FUOTA task.

Type: String

Length Constraints: Maximum length of 128.

Id (p. 31)

The ID of a FUOTA task.

Type: String

Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

(51)

See Also

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(52)

CreateMulticastGroup

CreateMulticastGroup

Creates a multicast group.

Request Syntax

POST /multicast-groups HTTP/1.1 Content-type: application/json { "ClientRequestToken": "string", "Description": "string", "LoRaWAN": {

"DlClass": "string", "RfRegion": "string"

},

"Name": "string", "Tags": [ {

"Key": "string", "Value": "string"

} ]}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 34)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9-_]+$

Required: No Description (p. 34)

The description of the multicast group.

Type: String

Length Constraints: Maximum length of 2048.

Required: No LoRaWAN (p. 34)

The LoRaWAN information that is to be used with the multicast group.

(53)

Response Syntax

Type: LoRaWANMulticast (p. 257) object Required: Yes

Name (p. 34)

The name of the multicast group.

Type: String

Length Constraints: Maximum length of 256.

Required: No Tags (p. 34)

The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 201

Content-type: application/json { "Arn": "string",

"Id": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in JSON format by the service.

Arn (p. 35)

The arn of the multicast group.

Type: String

Length Constraints: Maximum length of 128.

Id (p. 35)

The ID of the multicast group.

Type: String

Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

(54)

See Also

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ResourceNotFoundException

Resource does not exist.

HTTP Status Code: 404 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

(55)

CreateServiceProfile

CreateServiceProfile

Creates a new service profile.

Request Syntax

POST /service-profiles HTTP/1.1 Content-type: application/json {

"ClientRequestToken": "string", "LoRaWAN": {

"AddGwMetadata": boolean },

"Name": "string", "Tags": [ {

"Key": "string", "Value": "string"

} ]}

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ClientRequestToken (p. 37)

Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z0-9-_]+$

Required: No LoRaWAN (p. 37)

The service profile information to use to create the service profile.

Type: LoRaWANServiceProfile (p. 262) object Required: No

Name (p. 37)

The name of the new resource.

Type: String

(56)

Response Syntax

Length Constraints: Maximum length of 256.

Required: No Tags (p. 37)

The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.

Type: Array of Tag (p. 284) objects

Array Members: Minimum number of 0 items. Maximum number of 200 items.

Required: No

Response Syntax

HTTP/1.1 201

Content-type: application/json { "Arn": "string",

"Id": "string"

}

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in JSON format by the service.

Arn (p. 38)

The Amazon Resource Name of the new resource.

Type: String Id (p. 38)

The ID of the new service profile.

Type: String

Length Constraints: Maximum length of 256.

Errors

For information about the errors that are common to all actions, see Common Errors (p. 299).

AccessDeniedException

User does not have permission to perform this action.

HTTP Status Code: 403 ConflictException

Adding, updating, or deleting the resource can cause an inconsistent state.

(57)

See Also

HTTP Status Code: 409 InternalServerException

An unexpected error occurred while processing a request.

HTTP Status Code: 500 ThrottlingException

The request was denied because it exceeded the allowed API request rate.

HTTP Status Code: 429 ValidationException

The input did not meet the specified constraints.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS Command Line Interface

• AWS SDK for .NET

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for JavaScript

• AWS SDK for PHP V3

• AWS SDK for Python

• AWS SDK for Ruby V3

參考文獻

相關文件

3 Error-correction Coding (Ferng & Lin, ACML Conference 2011, TNNLS Journal 2013). —expand for accuracy: better (than REP) code HAMR

change it with different boards o #define CHANNEL 26 // check correspond frequency in SpectrumAnalyzer o #define TX_DO_CARRIER_SENSE 1. o #define

• Appearance: vectorized mathematical code appears more like the mathematical expressions found in textbooks, making the code easier to understand.. • Less error prone: without

• tiny (a single segment, used by .com programs), small (one code segment and one data segment), medium (multiple code segments and a single data segment), compact (one code

Appearance: Vectorized mathematical code appears more like the mathematical expressions found in textbooks, making the code easier to understand.. Less error prone: Without

In our Fudoki myth, the third, sociological, “code” predominates (= the jealous wife/greedy mistress), while the first, alimentary, code is alluded to (= fish, entrails), and

A network technician reports that he receives a “Request timed out” error message when he attempts to use the ping utility to connect to Server1 from his client computer.. The

An information literate person is able to recognise that information processing skills and freedom of information access are pivotal to sustaining the development of a