Module Values.DeleteRepositoryPermissionsPolicyRequestSource

Deletes the resource policy that is set on a repository. After a resource policy is deleted, the permissions allowed and denied by the deleted policy are removed. The effect of deleting a resource policy might not be immediate. Use DeleteRepositoryPermissionsPolicy with caution. After a policy is deleted, Amazon Web Services users, roles, and accounts lose permissions to perform the repository actions granted by the deleted policy.

Sourcetype nonrec t = {
  1. domain : DomainName.t;
    (*

    The name of the domain that contains the repository associated with the resource policy to be deleted.

    *)
  2. domainOwner : AccountId.t option;
    (*

    The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.

    *)
  3. repository : RepositoryName.t;
    (*

    The name of the repository that is associated with the resource policy to be deleted

    *)
  4. policyRevision : PolicyRevision.t option;
    (*

    The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainOwner:??? -> ?policyRevision:??? -> domain:DomainName.t -> repository:RepositoryName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DomainName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t