Smaws_Client_CloudFormation.PublishTypePublishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.
To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.publish_type_input ->
(Types.publish_type_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.publish_type_input ->
(Types.publish_type_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result