Module Smaws_Client_ACMPCA.DeletePolicy

Deletes the resource-based policy attached to a private CA. Deletion will remove any access that the policy has granted. If there is no policy attached to the private CA, this action will return successful.

If you delete a policy that was applied through Amazon Web Services Resource Access Manager (RAM), the CA will be removed from all shares in which it was included.

The Certificate Manager Service Linked Role that the policy supports is not affected when you delete the policy.

The current policy can be shown with GetPolicy and updated with PutPolicy.

About Policies

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LockoutPreventedException of Types.lockout_prevented_exception | `RequestFailedException of Types.request_failed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.delete_policy_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LockoutPreventedException of Types.lockout_prevented_exception | `RequestFailedException of Types.request_failed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.delete_policy_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LockoutPreventedException of Types.lockout_prevented_exception | `RequestFailedException of Types.request_failed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result