Module Values.GetRepositoryEndpointRequestSource

Returns the endpoint of a repository for a specific package format. A repository has one endpoint for each package format: cargo generic maven npm nuget pypi ruby swift

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 that contains the repository. It does not include dashes or spaces.

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

    The name of the repository.

    *)
  4. format : PackageFormat.t;
    (*

    Returns which endpoint of a repository to return. A repository has one endpoint for each package format.

    *)
  5. endpointType : EndpointType.t option;
    (*

    A string that specifies the type of endpoint.

    *)
}
Sourceval context_ : string
Sourceval make : ?domainOwner:??? -> ?endpointType:??? -> domain:DomainName.t -> repository:RepositoryName.t -> format:PackageFormat.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum 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