ManagedintegrationsforIoTDeviceManagement / Client / create_provisioning_profile
create_provisioning_profile#
- ManagedintegrationsforIoTDeviceManagement.Client.create_provisioning_profile(**kwargs)#
Create a provisioning profile for a device to execute the provisioning flows using a provisioning template. The provisioning template is a document that defines the set of resources and policies applied to a device during the provisioning process.
See also: AWS API Documentation
Request Syntax
response = client.create_provisioning_profile( ProvisioningType='FLEET_PROVISIONING'|'JITR', CaCertificate='string', Name='string', ClientToken='string', Tags={ 'string': 'string' } )
- Parameters:
ProvisioningType (string) –
[REQUIRED]
The type of provisioning workflow the device uses for onboarding to IoT managed integrations.
CaCertificate (string) – The id of the certificate authority (CA) certificate.
Name (string) – The name of the provisioning template.
ClientToken (string) –
An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.
This field is autopopulated if not provided.
Tags (dict) –
A set of key/value pairs that are used to manage the provisioning profile.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'Name': 'string', 'ProvisioningType': 'FLEET_PROVISIONING'|'JITR', 'Id': 'string', 'ClaimCertificate': 'string', 'ClaimCertificatePrivateKey': 'string' }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the provisioning template used in the provisioning profile.
Name (string) –
The name of the provisioning template.
ProvisioningType (string) –
The type of provisioning workflow the device uses for onboarding to IoT managed integrations.
Id (string) –
The identifier of the provisioning profile.
ClaimCertificate (string) –
The id of the claim certificate.
ClaimCertificatePrivateKey (string) –
The private key of the claim certificate. This is stored securely on the device for validating the connection endpoint with IoT managed integrations using the public key.
Exceptions
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceUnavailableException
ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException