Module Values.PackageGroupOriginRestrictionSource

Contains information about the configured restrictions of the origin controls of a package group.

Sourcetype nonrec t = {
  1. mode : PackageGroupOriginRestrictionMode.t option;
    (*

    The package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

    *)
  2. effectiveMode : PackageGroupOriginRestrictionMode.t option;
    (*

    The effective package group origin restriction setting. If the value of mode is ALLOW, ALLOW_SPECIFIC_REPOSITORIES, or BLOCK, then the value of effectiveMode is the same. Otherwise, when the value of mode is INHERIT, then the value of effectiveMode is the value of mode of the first parent group which does not have a value of INHERIT.

    *)
  3. inheritedFrom : PackageGroupReference.t option;
    (*

    The parent package group that the package group origin restrictions are inherited from.

    *)
  4. repositoriesCount : LongOptional.t option;
    (*

    The number of repositories in the allowed repository list.

    *)
}
Sourceval make : ?mode:??? -> ?effectiveMode:??? -> ?inheritedFrom:??? -> ?repositoriesCount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of LongOptional.t | `Structure of (string * [> `String of Arn.t ]) list ]) 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