Smaws_Client_ServiceCatalog.CreateProvisioningArtifactCreates a provisioning artifact (also known as a version) for the specified product.
You cannot create a provisioning artifact for a product that was shared with you.
The user or role that performs this operation must have the cloudformation:GetTemplate IAM policy permission. This policy permission is required when using the ImportFromPhysicalId template source in the information data section.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_provisioning_artifact_input ->
(Types.create_provisioning_artifact_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_provisioning_artifact_input ->
(Types.create_provisioning_artifact_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result