/AWS1/IF_IOT=>UPDATECACERTIFICATE()¶
About UpdateCACertificate¶
Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
Method Signature¶
METHODS /AWS1/IF_IOT~UPDATECACERTIFICATE
IMPORTING
!IV_CERTIFICATEID TYPE /AWS1/IOTCERTIFICATEID OPTIONAL
!IV_NEWSTATUS TYPE /AWS1/IOTCACERTIFICATESTATUS OPTIONAL
!IV_NEWAUTOREGISTRATIONSTATUS TYPE /AWS1/IOTAUTOREGSTATUS OPTIONAL
!IO_REGISTRATIONCONFIG TYPE REF TO /AWS1/CL_IOTREGISTRATIONCONFIG OPTIONAL
!IV_REMOVEAUTOREGISTRATION TYPE /AWS1/IOTREMOVEAUTOREG OPTIONAL
RAISING
/AWS1/CX_IOTINTERNALFAILUREEX
/AWS1/CX_IOTINVALIDREQUESTEX
/AWS1/CX_IOTRESOURCENOTFOUNDEX
/AWS1/CX_IOTSERVICEUNAVAILEX
/AWS1/CX_IOTTHROTTLINGEX
/AWS1/CX_IOTUNAUTHORIZEDEX
/AWS1/CX_IOTCLIENTEXC
/AWS1/CX_IOTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_certificateid TYPE /AWS1/IOTCERTIFICATEID /AWS1/IOTCERTIFICATEID¶
The CA certificate identifier.
Optional arguments:¶
iv_newstatus TYPE /AWS1/IOTCACERTIFICATESTATUS /AWS1/IOTCACERTIFICATESTATUS¶
The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
iv_newautoregistrationstatus TYPE /AWS1/IOTAUTOREGSTATUS /AWS1/IOTAUTOREGSTATUS¶
The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
io_registrationconfig TYPE REF TO /AWS1/CL_IOTREGISTRATIONCONFIG /AWS1/CL_IOTREGISTRATIONCONFIG¶
Information about the registration configuration.
iv_removeautoregistration TYPE /AWS1/IOTREMOVEAUTOREG /AWS1/IOTREMOVEAUTOREG¶
If true, removes auto registration.
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.
lo_client->updatecacertificate(
io_registrationconfig = new /aws1/cl_iotregistrationconfig(
iv_rolearn = |string|
iv_templatebody = |string|
iv_templatename = |string|
)
iv_certificateid = |string|
iv_newautoregistrationstatus = |string|
iv_newstatus = |string|
iv_removeautoregistration = ABAP_TRUE
).