Module Smaws_Client_VerifiedPermissions.UpdatePolicy

Modifies a Cedar static policy in the specified policy store. You can change only certain elements of the UpdatePolicyDefinition parameter. You can directly update only static policies. To change a template-linked policy, you must update the template instead, using UpdatePolicyTemplate.

Verified Permissions is eventually consistent. It can take a few seconds for a new or changed element to propagate through the service and be visible in the results of other Verified Permissions operations.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_policy_input -> (Types.update_policy_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_policy_input -> (Types.update_policy_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ] * Smaws_Lib.Response.metadata) Stdlib.result