/AWS1/CL_FRM=>PUBLISHTYPE()
¶
About PublishType¶
Publishes 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.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_type
TYPE /AWS1/FRMTHIRDPARTYTYPE
/AWS1/FRMTHIRDPARTYTYPE
¶
The type of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
iv_arn
TYPE /AWS1/FRMPRIVATETYPEARN
/AWS1/FRMPRIVATETYPEARN
¶
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
iv_typename
TYPE /AWS1/FRMTYPENAME
/AWS1/FRMTYPENAME
¶
The name of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
iv_publicversionnumber
TYPE /AWS1/FRMPUBLICVERSIONNUMBER
/AWS1/FRMPUBLICVERSIONNUMBER
¶
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0
.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_frmpublishtypeoutput
/AWS1/CL_FRMPUBLISHTYPEOUTPUT
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_frm~publishtype(
iv_arn = |string|
iv_publicversionnumber = |string|
iv_type = |string|
iv_typename = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_typearn = lo_result->get_publictypearn( ).
ENDIF.