Module Values.AssociateExternalConnectionRequestSource

Adds an existing external connection to a repository. One external connection is allowed per repository. A repository can have one or more upstream repositories, or an external connection.

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

    The name of the domain that contains the repository.

    *)
  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 to which the external connection is added.

    *)
  4. externalConnection : ExternalConnectionName.t;
    (*

    The name of the external connection to add to the repository. The following values are supported: public:npmjs - for the npm public repository. public:nuget-org - for the NuGet Gallery. public:pypi - for the Python Package Index. public:maven-central - for Maven Central. public:maven-googleandroid - for the Google Android repository. public:maven-gradleplugins - for the Gradle plugins repository. public:maven-commonsware - for the CommonsWare Android repository. public:maven-clojars - for the Clojars repository. public:ruby-gems-org - for RubyGems.org. public:crates-io - for Crates.io.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainOwner:??? -> domain:DomainName.t -> repository:RepositoryName.t -> externalConnection:ExternalConnectionName.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