start_thing_registration_task
¶
start_thing_registration_task(
template_body: TemplateBody,
input_file_bucket: RegistryS3BucketName,
input_file_key: RegistryS3KeyName,
role_arn: RoleArn,
*,
config_overrides: Optional[IoTClientConfig] = None,
) -> StartThingRegistrationTaskResponse
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
Parameters:
-
template_body(TemplateBody) –The provisioning template.
-
input_file_bucket(RegistryS3BucketName) –The S3 bucket that contains the input file.
-
input_file_key(RegistryS3KeyName) –The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
-
role_arn(RoleArn) –The IAM role ARN that grants permission the input file.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 | |