create_provisioning_profile
¶
create_provisioning_profile(
provisioning_type: ProvisioningType,
*,
config_overrides: Optional[IoTManagedIntegrationsClientConfig] = None,
ca_certificate: Optional[CaCertificate] = None,
claim_certificate: Optional[ClaimCertificate] = None,
name: Optional[ProvisioningProfileName] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[TagsMap] = None,
) -> CreateProvisioningProfileResponse
Create a provisioning profile for executing device provisioning flows. The provisioning profile is a document that defines the set of resources and policies applied to a device during the provisioning process.
Parameters:
-
provisioning_type(ProvisioningType) –The type of provisioning workflow the device uses for onboarding to IoT managed integrations.
-
ca_certificate(Optional[CaCertificate], default:None) –The body of the PEM-encoded certificate authority (CA) certificate.
-
claim_certificate(Optional[ClaimCertificate], default:None) –The body of the PEM-encoded claim certificate. If a claim certificate is provided, it will be used for the provisioning profile. Otherwise, a claim certificate will be generated.
-
name(Optional[ProvisioningProfileName], default:None) –The name of the provisioning profile.
-
client_token(Optional[ClientToken], default:None) –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.
-
tags(Optional[TagsMap], default:None) –A set of key/value pairs that are used to manage the provisioning profile.
Raises:
-
AccessDeniedException–User is not authorized.
-
ConflictException–There is a conflict with the request.
-
InternalServerException–Internal error from the service that indicates an unexpected error or that the service is unavailable.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
ValidationException–A validation error occurred when performing the API request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_managed_integrations/_services/io_t_managed_integrations.py
5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 | |