Module Values_0.CreateHubContentPresignedUrlsRequestSource

Creates presigned URLs for accessing hub content artifacts. This operation generates time-limited, secure URLs that allow direct download of model artifacts and associated files from Amazon SageMaker hub content, including gated models that require end-user license agreement acceptance.

Sourcetype nonrec t = {
  1. hubName : HubNameOrArn.t;
    (*

    The name or Amazon Resource Name (ARN) of the hub that contains the content. For public content, use SageMakerPublicHub.

    *)
  2. hubContentType : HubContentType.t;
    (*

    The type of hub content to access. Valid values include Model, Notebook, and ModelReference.

    *)
  3. hubContentName : HubContentName.t;
    (*

    The name of the hub content for which to generate presigned URLs. This identifies the specific model or content within the hub.

    *)
  4. hubContentVersion : HubContentVersion.t option;
    (*

    The version of the hub content. If not specified, the latest version is used.

    *)
  5. accessConfig : PresignedUrlAccessConfig.t option;
    (*

    Configuration settings for accessing the hub content, including end-user license agreement acceptance for gated models and expected S3 URL validation.

    *)
  6. maxResults : MaxResults.t option;
    (*

    The maximum number of presigned URLs to return in the response. Default value is 100. Large models may contain hundreds of files, requiring pagination to retrieve all URLs.

    *)
  7. nextToken : NextToken.t option;
    (*

    A token for pagination. Use this token to retrieve the next set of presigned URLs when the response is truncated.

    *)
}
Sourceval context_ : string
Sourceval make : ?hubContentVersion:??? -> ?accessConfig:??? -> ?maxResults:??? -> ?nextToken:??? -> hubName:HubNameOrArn.t -> hubContentType:HubContentType.t -> hubContentName:HubContentName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxResults.t | `String of HubNameOrArn.t | `Structure of (string * [> `Boolean of Boolean.t | `String of S3ModelUri.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