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.InvalidRequestException
IoT.Client.exceptions.ResourceNotFoundException
IoT.Client.exceptions.ThrottlingException
IoT.Client.exceptions.UnauthorizedException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.InternalFailureException