Values_0.CreateHubContentPresignedUrlsRequestSourceCreates 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.
type nonrec t = {hubName : HubNameOrArn.t;The name or Amazon Resource Name (ARN) of the hub that contains the content. For public content, use SageMakerPublicHub.
*)hubContentType : HubContentType.t;The type of hub content to access. Valid values include Model, Notebook, and ModelReference.
*)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.
*)hubContentVersion : HubContentVersion.t option;The version of the hub content. If not specified, the latest version is used.
*)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.
*)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.
*)nextToken : NextToken.t option;A token for pagination. Use this token to retrieve the next set of presigned URLs when the response is truncated.
*)}val make :
?hubContentVersion:??? ->
?accessConfig:??? ->
?maxResults:??? ->
?nextToken:??? ->
hubName:HubNameOrArn.t ->
hubContentType:HubContentType.t ->
hubContentName:HubContentName.t ->
unit ->
tval 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 ]