v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1438244196.2 KB

Updates the resource-based policy.

put/policies/{arn}

Path parameters

arnstring required

The Amazon Resource Name (ARN) of the resource for which the policy needs to be updated.

Request body

tokenstring

A unique identifier for the current revision of the policy.

policystring required
<p>The resource-based policy.</p> <important> <p>If you set the value of the <code>effect</code> parameter in the <code>policy</code> to <code>Deny</code> for the <code>PutPolicy</code> operation, you must also set the value of the <code>effect</code> parameter to <code>Deny</code> for the <code>AddPolicyStatement</code> operation.</p> </important>

Response

Success

arnstring required

The Entity Resolution resource ARN.

tokenstring required

A unique identifier for the current revision of the policy.

policystring

The resource-based policy.