Module Values_0.CreateAppRequestSource

Creates a running app for the specified UserProfile. This operation is automatically invoked by Amazon SageMaker AI upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

Sourcetype nonrec t = {
  1. domainId : DomainId.t;
    (*

    The domain ID.

    *)
  2. userProfileName : UserProfileName.t option;
    (*

    The user profile name. If this value is not set, then SpaceName must be set.

    *)
  3. spaceName : SpaceName.t option;
    (*

    The name of the space. If this value is not set, then UserProfileName must be set.

    *)
  4. appType : AppType.t;
    (*

    The type of app.

    *)
  5. appName : AppName.t;
    (*

    The name of the app.

    *)
  6. tags : TagList.t option;
    (*

    Each tag consists of a key and an optional value. Tag keys must be unique per resource.

    *)
  7. resourceSpec : ResourceSpec.t option;
    (*

    The instance type and the Amazon Resource Name (ARN) of the SageMaker AI image created on the instance. The value of InstanceType passed as part of the ResourceSpec in the CreateApp call overrides the value passed as part of the ResourceSpec configured for the user profile or the domain. If InstanceType is not specified in any of those three ResourceSpec values for a KernelGateway app, the CreateApp call fails with a request validation error.

    *)
  8. recoveryMode : Boolean.t option;
    (*

    Indicates whether the application is launched in recovery mode.

    *)
}
Sourceval context_ : string
Sourceval make : ?userProfileName:??? -> ?spaceName:??? -> ?tags:??? -> ?resourceSpec:??? -> ?recoveryMode:??? -> domainId:DomainId.t -> appType:AppType.t -> appName:AppName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of DomainId.t | `Structure of (string * [> `Enum of string | `String of ImageArn.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