Module Smaws_Client_ACMPCA.CreatePermission

Grants one or more permissions on a private CA to the Certificate Manager (ACM) service principal (acm.amazonaws.com). These permissions allow ACM to issue and renew ACM certificates that reside in the same Amazon Web Services account as the CA.

You can list current permissions with the ListPermissions action and revoke them with the DeletePermission action.

About Permissions

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `PermissionAlreadyExistsException of Types.permission_already_exists_exception | `RequestFailedException of Types.request_failed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_permission_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `PermissionAlreadyExistsException of Types.permission_already_exists_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.create_permission_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `InvalidArnException of Types.invalid_arn_exception | `InvalidStateException of Types.invalid_state_exception | `LimitExceededException of Types.limit_exceeded_exception | `PermissionAlreadyExistsException of Types.permission_already_exists_exception | `RequestFailedException of Types.request_failed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result