/AWS1/CL_FNT=>UPDATECONTDEPLOYMENTPOLICY()
¶
About UpdateContinuousDeploymentPolicy¶
Updates a continuous deployment policy. You can update a continuous deployment policy to enable or disable it, to change the percentage of traffic that it sends to the staging distribution, or to change the staging distribution that it sends traffic to.
When you update a continuous deployment policy configuration, all the fields are updated with the values that are provided in the request. You cannot update some fields independent of others. To update a continuous deployment policy configuration:
-
Use
GetContinuousDeploymentPolicyConfig
to get the current configuration. -
Locally modify the fields in the continuous deployment policy configuration that you want to update.
-
Use
UpdateContinuousDeploymentPolicy
, providing the entire continuous deployment policy configuration, including the fields that you modified and those that you didn't.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_CONTDEPLOYMENTPLYCONFIG
TYPE REF TO /AWS1/CL_FNTCONTDEPLOYMENTPL00
/AWS1/CL_FNTCONTDEPLOYMENTPL00
¶
The continuous deployment policy configuration.
IV_ID
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The identifier of the continuous deployment policy that you are updating.
Optional arguments:¶
IV_IFMATCH
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The current version (
ETag
value) of the continuous deployment policy that you are updating.