Module Values.UpdatePackageGroupOriginConfigurationRequestSource

Updates the package origin configuration for a package group. The package origin configuration determines how new versions of a package can be added to a repository. You can allow or block direct publishing of new package versions, or ingestion and retaining of new package versions from an external connection or upstream source. For more information about package group origin controls and configuration, see Package group origin controls in the CodeArtifact User Guide.

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

    The name of the domain which contains the package group for which to update the origin configuration.

    *)
  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. packageGroup : PackageGroupPattern.t;
    (*

    The pattern of the package group for which to update the origin configuration.

    *)
  4. restrictions : OriginRestrictions.t option;
    (*

    The origin configuration settings that determine how package versions can enter repositories.

    *)
  5. addAllowedRepositories : PackageGroupAllowedRepositoryList.t option;
    (*

    The repository name and restrictions to add to the allowed repository list of the specified package group.

    *)
  6. removeAllowedRepositories : PackageGroupAllowedRepositoryList.t option;
    (*

    The repository name and restrictions to remove from the allowed repository list of the specified package group.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainOwner:??? -> ?restrictions:??? -> ?addAllowedRepositories:??? -> ?removeAllowedRepositories:??? -> domain:DomainName.t -> packageGroup:PackageGroupPattern.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of RepositoryName.t ]) list ] list | `Map of ([> `Enum of string ] * [> `Enum of string ]) list | `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