Smaws_Client_ServiceCatalog.CreateProductCreates a product.
A delegated admin is authorized to invoke this command.
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
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_product_input ->
(Types.create_product_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_product_input ->
(Types.create_product_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `TagOptionNotMigratedException of Types.tag_option_not_migrated_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result