start_thing_registration_task
async
¶
start_thing_registration_task(
template_body: TemplateBody,
input_file_bucket: RegistryS3BucketName,
input_file_key: RegistryS3KeyName,
role_arn: RoleArn,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 | |