IoT.Client.create_provisioning_claim(**kwargs)¶Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
See also: AWS API Documentation
Request Syntax
response = client.create_provisioning_claim(
templateName='string'
)
[REQUIRED]
The name of the provisioning template to use.
{
'certificateId': 'string',
'certificatePem': 'string',
'keyPair': {
'PublicKey': 'string',
'PrivateKey': 'string'
},
'expiration': datetime(2015, 1, 1)
}
Response Structure
The ID of the certificate.
The provisioning claim certificate.
The provisioning claim key pair.
The public key.
The private key.
The provisioning claim expiration time.
Exceptions
IoT.Client.exceptions.InvalidRequestExceptionIoT.Client.exceptions.ResourceNotFoundExceptionIoT.Client.exceptions.ThrottlingExceptionIoT.Client.exceptions.UnauthorizedExceptionIoT.Client.exceptions.ServiceUnavailableExceptionIoT.Client.exceptions.InternalFailureException