create_service_profile
¶
create_service_profile(
*,
config_overrides: Optional[IoTWirelessClientConfig] = None,
name: Optional[ServiceProfileName] = None,
lo_ra_wan: Optional[LoRaWANServiceProfile] = None,
tags: Optional[TagList] = None,
client_request_token: Optional[ClientRequestToken] = None,
) -> CreateServiceProfileResponse
Creates a new service profile.
Parameters:
-
name(Optional[ServiceProfileName], default:None) –The name of the new resource.
The following special characters aren't accepted:
<>^#~$ -
lo_ra_wan(Optional[LoRaWANServiceProfile], default:None) –The service profile information to use to create the service profile.
-
tags(Optional[TagList], default:None) –The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.
-
client_request_token(Optional[ClientRequestToken], default:None) –Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
ConflictException–Adding, updating, or deleting the resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/io_t_wireless.py
1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 | |