Replaces existing policy condition criteria with the policy condition criteria specified in the request.
Policy condition criteria defines criteria for assigning a policy condition to a location. Locations that that match the specified criteria may are assigned the specified policy condition. Alternatively, locations may be assigned policy conditions using location conditions. The condition criteria may be used to define a query that selects locations. Locations that match the specified criteria may be assigned the policy condition.
The request defines an array of condition objects.
[
{
"closePar": "",
"field": "COUNTRY",
"logic": "",
"openPar": "",
"operator": "=",
"value": "US"
},
{
"closePar": "",
"field": "COUNTRY",
"logic": "AND",
"openPar": "(",
"operator": "=",
"value": "US"
},
{
"closePar": ")",
"field": "COUNTRY",
"logic": "OR",
"openPar": "",
"operator": "=",
"value": "US"
}
]Within each object,the field, operator, and value parameters are required.
Request payload sizeThe request payload for this operation is limited to approximately 5 MB. This limit is enforced at the API gateway, before the request reaches the service.
If the request exceeds the 5 MB limit, this operation return
413 Content Too Largestatus code and no policy condition criteria are replaced. Partial updates are not applied. To work with a large set of policy condition criteria, divide the criteria into smaller batches and submit each batch as a separate request.
413Payload Too Large.
The request body exceeds the maximum size enforced at the API gateway (approximately 5 MB). Split the criteria into smaller batches and resubmit.
