Module Values_2.SearchRequestSource

Finds SageMaker resources that match a search query. Matching resources are returned as a list of SearchRecord objects in the response. You can sort the search results by any resource property in a ascending or descending order. You can query against the following value types: numeric, text, Boolean, and timestamp. The Search API may provide access to otherwise restricted data. See Amazon SageMaker API Permissions: Actions, Permissions, and Resources Reference for more information.

Sourcetype nonrec t = {
  1. resource : ResourceType.t;
    (*

    The name of the SageMaker resource to search for.

    *)
  2. searchExpression : SearchExpression.t option;
    (*

    A Boolean conditional statement. Resources must satisfy this condition to be included in search results. You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive SubExpressions, NestedFilters, and Filters that can be included in a SearchExpression object is 50.

    *)
  3. sortBy : ResourcePropertyName.t option;
    (*

    The name of the resource property used to sort the SearchResults. The default is LastModifiedTime.

    *)
  4. sortOrder : SearchSortOrder.t option;
    (*

    How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.

    *)
  5. nextToken : Values_0.NextToken.t option;
    (*

    If more than MaxResults resources match the specified SearchExpression, the response includes a NextToken. The NextToken can be passed to the next SearchRequest to continue retrieving results.

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

    The maximum number of results to return.

    *)
  7. crossAccountFilterOption : Values_1.CrossAccountFilterOption.t option;
    (*

    A cross account filter option. When the value is "CrossAccount" the search results will only include resources made discoverable to you from other accounts. When the value is "SameAccount" or null the search results will only include resources from your account. Default is null. For more information on searching for resources made discoverable to your account, see Search discoverable resources in the SageMaker Developer Guide. The maximum number of ResourceCatalogs viewable is 1000.

    *)
  8. visibilityConditions : VisibilityConditionsList.t option;
    (*

    Limits the results of your search request to the resources that you can access.

    *)
}
Sourceval context_ : string
Sourceval make : ?searchExpression:??? -> ?sortBy:??? -> ?sortOrder:??? -> ?nextToken:??? -> ?maxResults:??? -> ?crossAccountFilterOption:??? -> ?visibilityConditions:??? -> resource:ResourceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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