We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.SageMaker

Inherits:
AWS.Service show all
Identifier:
sagemaker
API Version:
2017-07-24
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Provides APIs for creating and managing SageMaker resources.

Other Resources:

Sending a Request Using SageMaker

var sagemaker = new AWS.SageMaker();
sagemaker.addAssociation(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the SageMaker object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var sagemaker = new AWS.SageMaker({apiVersion: '2017-07-24'});

You can also set the API version globally in AWS.config.apiVersions using the sagemaker service identifier:

AWS.config.apiVersions = {
  sagemaker: '2017-07-24',
  // other service API versions
};

var sagemaker = new AWS.SageMaker();

Version:

  • 2017-07-24

Waiter Resource States

This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:

notebookInstanceInService, notebookInstanceStopped, notebookInstanceDeleted, trainingJobCompletedOrStopped, endpointInService, endpointDeleted, transformJobCompletedOrStopped, processingJobCompletedOrStopped, imageCreated, imageUpdated, imageDeleted, imageVersionCreated, imageVersionDeleted

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService

Constructor Details

new AWS.SageMaker(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a SageMaker object

var sagemaker = new AWS.SageMaker({apiVersion: '2017-07-24'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.SageMaker.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.SageMaker.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.SageMaker.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

addAssociation(params = {}, callback) ⇒ AWS.Request

Creates an association between the source and the destination. A source can be associated with multiple destinations, and a destination can be associated with multiple sources. An association is a lineage tracking entity. For more information, see Amazon SageMaker ML Lineage Tracking.

Service Reference:

Examples:

Calling the addAssociation operation

var params = {
  DestinationArn: 'STRING_VALUE', /* required */
  SourceArn: 'STRING_VALUE', /* required */
  AssociationType: ContributedTo | AssociatedWith | DerivedFrom | Produced | SameAs
};
sagemaker.addAssociation(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • SourceArn — (String)

      The ARN of the source.

    • DestinationArn — (String)

      The Amazon Resource Name (ARN) of the destination.

    • AssociationType — (String)

      The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.

      • ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.

      • AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.

      • DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.

      • Produced - The source generated the destination. For example, a training job produced a model artifact.

      Possible values include:
      • "ContributedTo"
      • "AssociatedWith"
      • "DerivedFrom"
      • "Produced"
      • "SameAs"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • SourceArn — (String)

        The ARN of the source.

      • DestinationArn — (String)

        The Amazon Resource Name (ARN) of the destination.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

addTags(params = {}, callback) ⇒ AWS.Request

Adds or overwrites one or more tags for the specified SageMaker resource. You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints.

Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see For more information, see Amazon Web Services Tagging Strategies.

Note: Tags that you add to a hyperparameter tuning job by calling this API are also added to any training jobs that the hyperparameter tuning job launches after you call this API, but not to training jobs that the hyperparameter tuning job launched before you called this API. To make sure that the tags associated with a hyperparameter tuning job are also added to all training jobs that the hyperparameter tuning job launches, add the tags when you first create the tuning job by specifying them in the Tags parameter of CreateHyperParameterTuningJob
Note: Tags that you add to a SageMaker Domain or User Profile by calling this API are also added to any Apps that the Domain or User Profile launches after you call this API, but not to Apps that the Domain or User Profile launched before you called this API. To make sure that the tags associated with a Domain or User Profile are also added to all Apps that the Domain or User Profile launches, add the tags when you first create the Domain or User Profile by specifying them in the Tags parameter of CreateDomain or CreateUserProfile.

Service Reference:

Examples:

Calling the addTags operation

var params = {
  ResourceArn: 'STRING_VALUE', /* required */
  Tags: [ /* required */
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.addTags(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ResourceArn — (String)

      The Amazon Resource Name (ARN) of the resource that you want to tag.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Tags — (Array<map>)

        A list of tags associated with the SageMaker resource.

        • Keyrequired — (String)

          The tag key. Tag keys must be unique per resource.

        • Valuerequired — (String)

          The tag value.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

associateTrialComponent(params = {}, callback) ⇒ AWS.Request

Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

Service Reference:

Examples:

Calling the associateTrialComponent operation

var params = {
  TrialComponentName: 'STRING_VALUE', /* required */
  TrialName: 'STRING_VALUE' /* required */
};
sagemaker.associateTrialComponent(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • TrialComponentName — (String)

      The name of the component to associated with the trial.

    • TrialName — (String)

      The name of the trial to associate with.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • TrialComponentArn — (String)

        The Amazon Resource Name (ARN) of the trial component.

      • TrialArn — (String)

        The Amazon Resource Name (ARN) of the trial.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchDescribeModelPackage(params = {}, callback) ⇒ AWS.Request

This action batch describes a list of versioned model packages

Service Reference:

Examples:

Calling the batchDescribeModelPackage operation

var params = {
  ModelPackageArnList: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
sagemaker.batchDescribeModelPackage(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ModelPackageArnList — (Array<String>)

      The list of Amazon Resource Name (ARN) of the model package groups.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ModelPackageSummaries — (map<map>)

        The summaries for the model package versions

        • ModelPackageGroupNamerequired — (String)

          The group name for the model package

        • ModelPackageVersion — (Integer)

          The version number of a versioned model.

        • ModelPackageArnrequired — (String)

          The Amazon Resource Name (ARN) of the model package.

        • ModelPackageDescription — (String)

          The description of the model package.

        • CreationTimerequired — (Date)

          The creation time of the mortgage package summary.

        • InferenceSpecificationrequired — (map)

          Defines how to perform inference generation after a training job is run.

          • Containersrequired — (Array<map>)

            The Amazon ECR registry path of the Docker image that contains the inference code.

            • ContainerHostname — (String)

              The DNS host name for the Docker container.

            • Imagerequired — (String)

              The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

              If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

            • ImageDigest — (String)

              An MD5 hash of the training algorithm that identifies the Docker image used for training.

            • ModelDataUrl — (String)

              The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

              Note: The model artifacts must be in an S3 bucket that is in the same region as the model package.
            • ModelDataSource — (map)

              Specifies the location of ML model data to deploy during endpoint creation.

              • S3DataSource — (map)

                Specifies the S3 location of ML model data to deploy.

                • S3Urirequired — (String)

                  Specifies the S3 path of ML model data to deploy.

                • S3DataTyperequired — (String)

                  Specifies the type of ML model data to deploy.

                  If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix as part of the ML model data to deploy. A valid key name prefix identified by S3Uri always ends with a forward slash (/).

                  If you choose S3Object, S3Uri identifies an object that is the ML model data to deploy.

                  Possible values include:
                  • "S3Prefix"
                  • "S3Object"
                • CompressionTyperequired — (String)

                  Specifies how the ML model data is prepared.

                  If you choose Gzip and choose S3Object as the value of S3DataType, S3Uri identifies an object that is a gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during model deployment.

                  If you choose None and chooose S3Object as the value of S3DataType, S3Uri identifies an object that represents an uncompressed ML model to deploy.

                  If you choose None and choose S3Prefix as the value of S3DataType, S3Uri identifies a key name prefix, under which all objects represents the uncompressed ML model to deploy.

                  If you choose None, then SageMaker will follow rules below when creating model data files under /opt/ml/model directory for use by your inference code:

                  • If you choose S3Object as the value of S3DataType, then SageMaker will split the key of the S3 object referenced by S3Uri by slash (/), and use the last part as the filename of the file holding the content of the S3 object.

                  • If you choose S3Prefix as the value of S3DataType, then for each S3 object under the key name pefix referenced by S3Uri, SageMaker will trim its key by the prefix, and use the remainder as the path (relative to /opt/ml/model) of the file holding the content of the S3 object. SageMaker will split the remainder by slash (/), using intermediate parts as directory names and the last part as filename of the file holding the content of the S3 object.

                  • Do not use any of the following as file names or directory names:

                    • An empty or blank string

                    • A string which contains null bytes

                    • A string longer than 255 bytes

                    • A single dot (.)

                    • A double dot (..)

                  • Ambiguous file names will result in model deployment failure. For example, if your uncompressed ML model consists of two S3 objects s3://mybucket/model/weights and s3://mybucket/model/weights/part1 and you specify s3://mybucket/model/ as the value of S3Uri and S3Prefix as the value of S3DataType, then it will result in name clash between /opt/ml/model/weights (a regular file) and /opt/ml/model/weights/ (a directory).

                  • Do not organize the model artifacts in S3 console using folders. When you create a folder in S3 console, S3 creates a 0-byte object with a key set to the folder name you provide. They key of the 0-byte object ends with a slash (/) which violates SageMaker restrictions on model artifact file names, leading to model deployment failure.

                  Possible values include:
                  • "None"
                  • "Gzip"
                • ModelAccessConfig — (map)

                  Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

                  • AcceptEularequired — (Boolean)

                    Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

                • HubAccessConfig — (map)

                  Configuration information for hub access.

                  • HubContentArnrequired — (String)

                    The ARN of the hub content for which deployment access is allowed.

            • ProductId — (String)

              The Amazon Web Services Marketplace product ID of the model package.

            • Environment — (map<String>)

              The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.

            • ModelInput — (map)

              A structure with Model Input details.

              • DataInputConfigrequired — (String)

                The input configuration object for the model.

            • Framework — (String)

              The machine learning framework of the model package container image.

            • FrameworkVersion — (String)

              The framework version of the Model Package Container Image.

            • NearestModelName — (String)

              The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. You can find a list of benchmarked models by calling ListModelMetadata.

            • AdditionalS3DataSource — (map)

              The additional data source that is used during inference in the Docker container for your model package.

              • S3DataTyperequired — (String)

                The data type of the additional data source that you specify for use in inference or training.

                Possible values include:
                • "S3Object"
                • "S3Prefix"
              • S3Urirequired — (String)

                The uniform resource identifier (URI) used to identify an additional data source used in inference or training.

              • CompressionType — (String)

                The type of compression used for an additional data source used in inference or training. Specify None if your additional data source is not compressed.

                Possible values include:
                • "None"
                • "Gzip"
          • SupportedTransformInstanceTypes — (Array<String>)

            A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

            This parameter is required for unversioned models, and optional for versioned models.

          • SupportedRealtimeInferenceInstanceTypes — (Array<String>)

            A list of the instance types that are used to generate inferences in real-time.

            This parameter is required for unversioned models, and optional for versioned models.

          • SupportedContentTypes — (Array<String>)

            The supported MIME types for the input data.

          • SupportedResponseMIMETypes — (Array<String>)

            The supported MIME types for the output data.

        • ModelPackageStatusrequired — (String)

          The status of the mortgage package.

          Possible values include:
          • "Pending"
          • "InProgress"
          • "Completed"
          • "Failed"
          • "Deleting"
        • ModelApprovalStatus — (String)

          The approval status of the model.

          Possible values include:
          • "Approved"
          • "Rejected"
          • "PendingManualApproval"
      • BatchDescribeModelPackageErrorMap — (map<map>)

        A map of the resource and BatchDescribeModelPackageError objects reporting the error associated with describing the model package.

        • ErrorCoderequired — (String)

        • ErrorResponserequired — (String)

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAction(params = {}, callback) ⇒ AWS.Request

Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.

Service Reference:

Examples:

Calling the createAction operation

var params = {
  ActionName: 'STRING_VALUE', /* required */
  ActionType: 'STRING_VALUE', /* required */
  Source: { /* required */
    SourceUri: 'STRING_VALUE', /* required */
    SourceId: 'STRING_VALUE',
    SourceType: 'STRING_VALUE'
  },
  Description: 'STRING_VALUE',
  MetadataProperties: {
    CommitId: 'STRING_VALUE',
    GeneratedBy: 'STRING_VALUE',
    ProjectId: 'STRING_VALUE',
    Repository: 'STRING_VALUE'
  },
  Properties: {
    '<StringParameterValue>': 'STRING_VALUE',
    /* '<StringParameterValue>': ... */
  },
  Status: Unknown | InProgress | Completed | Failed | Stopping | Stopped,
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createAction(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ActionName — (String)

      The name of the action. Must be unique to your account in an Amazon Web Services Region.

    • Source — (map)

      The source type, ID, and URI.

      • SourceUrirequired — (String)

        The URI of the source.

      • SourceType — (String)

        The type of the source.

      • SourceId — (String)

        The ID of the source.

    • ActionType — (String)

      The action type.

    • Description — (String)

      The description of the action.

    • Status — (String)

      The status of the action.

      Possible values include:
      • "Unknown"
      • "InProgress"
      • "Completed"
      • "Failed"
      • "Stopping"
      • "Stopped"
    • Properties — (map<String>)

      A list of properties to add to the action.

    • MetadataProperties — (map)

      Metadata properties of the tracking entity, trial, or trial component.

      • CommitId — (String)

        The commit ID.

      • Repository — (String)

        The repository.

      • GeneratedBy — (String)

        The entity this entity was generated by.

      • ProjectId — (String)

        The project ID.

    • Tags — (Array<map>)

      A list of tags to apply to the action.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ActionArn — (String)

        The Amazon Resource Name (ARN) of the action.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAlgorithm(params = {}, callback) ⇒ AWS.Request

Create a machine learning algorithm that you can use in SageMaker and list in the Amazon Web Services Marketplace.

Service Reference:

Examples:

Calling the createAlgorithm operation

var params = {
  AlgorithmName: 'STRING_VALUE', /* required */
  TrainingSpecification: { /* required */
    SupportedTrainingInstanceTypes: [ /* required */
      ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
      /* more items */
    ],
    TrainingChannels: [ /* required */
      {
        Name: 'STRING_VALUE', /* required */
        SupportedContentTypes: [ /* required */
          'STRING_VALUE',
          /* more items */
        ],
        SupportedInputModes: [ /* required */
          Pipe | File | FastFile,
          /* more items */
        ],
        Description: 'STRING_VALUE',
        IsRequired: true || false,
        SupportedCompressionTypes: [
          None | Gzip,
          /* more items */
        ]
      },
      /* more items */
    ],
    TrainingImage: 'STRING_VALUE', /* required */
    AdditionalS3DataSource: {
      S3DataType: S3Object | S3Prefix, /* required */
      S3Uri: 'STRING_VALUE', /* required */
      CompressionType: None | Gzip
    },
    MetricDefinitions: [
      {
        Name: 'STRING_VALUE', /* required */
        Regex: 'STRING_VALUE' /* required */
      },
      /* more items */
    ],
    SupportedHyperParameters: [
      {
        Name: 'STRING_VALUE', /* required */
        Type: Integer | Continuous | Categorical | FreeText, /* required */
        DefaultValue: 'STRING_VALUE',
        Description: 'STRING_VALUE',
        IsRequired: true || false,
        IsTunable: true || false,
        Range: {
          CategoricalParameterRangeSpecification: {
            Values: [ /* required */
              'STRING_VALUE',
              /* more items */
            ]
          },
          ContinuousParameterRangeSpecification: {
            MaxValue: 'STRING_VALUE', /* required */
            MinValue: 'STRING_VALUE' /* required */
          },
          IntegerParameterRangeSpecification: {
            MaxValue: 'STRING_VALUE', /* required */
            MinValue: 'STRING_VALUE' /* required */
          }
        }
      },
      /* more items */
    ],
    SupportedTuningJobObjectiveMetrics: [
      {
        MetricName: 'STRING_VALUE', /* required */
        Type: Maximize | Minimize /* required */
      },
      /* more items */
    ],
    SupportsDistributedTraining: true || false,
    TrainingImageDigest: 'STRING_VALUE'
  },
  AlgorithmDescription: 'STRING_VALUE',
  CertifyForMarketplace: true || false,
  InferenceSpecification: {
    Containers: [ /* required */
      {
        Image: 'STRING_VALUE', /* required */
        AdditionalS3DataSource: {
          S3DataType: S3Object | S3Prefix, /* required */
          S3Uri: 'STRING_VALUE', /* required */
          CompressionType: None | Gzip
        },
        ContainerHostname: 'STRING_VALUE',
        Environment: {
          '<EnvironmentKey>': 'STRING_VALUE',
          /* '<EnvironmentKey>': ... */
        },
        Framework: 'STRING_VALUE',
        FrameworkVersion: 'STRING_VALUE',
        ImageDigest: 'STRING_VALUE',
        ModelDataSource: {
          S3DataSource: {
            CompressionType: None | Gzip, /* required */
            S3DataType: S3Prefix | S3Object, /* required */
            S3Uri: 'STRING_VALUE', /* required */
            HubAccessConfig: {
              HubContentArn: 'STRING_VALUE' /* required */
            },
            ModelAccessConfig: {
              AcceptEula: true || false /* required */
            }
          }
        },
        ModelDataUrl: 'STRING_VALUE',
        ModelInput: {
          DataInputConfig: 'STRING_VALUE' /* required */
        },
        NearestModelName: 'STRING_VALUE',
        ProductId: 'STRING_VALUE'
      },
      /* more items */
    ],
    SupportedContentTypes: [
      'STRING_VALUE',
      /* more items */
    ],
    SupportedRealtimeInferenceInstanceTypes: [
      ml.t2.medium | ml.t2.large | ml.t2.xlarge | ml.t2.2xlarge | ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.12xlarge | ml.m5d.24xlarge | ml.c4.large | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5d.large | ml.c5d.xlarge | ml.c5d.2xlarge | ml.c5d.4xlarge | ml.c5d.9xlarge | ml.c5d.18xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.12xlarge | ml.r5.24xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.12xlarge | ml.r5d.24xlarge | ml.inf1.xlarge | ml.inf1.2xlarge | ml.inf1.6xlarge | ml.inf1.24xlarge | ml.dl1.24xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.p4d.24xlarge | ml.c7g.large | ml.c7g.xlarge | ml.c7g.2xlarge | ml.c7g.4xlarge | ml.c7g.8xlarge | ml.c7g.12xlarge | ml.c7g.16xlarge | ml.m6g.large | ml.m6g.xlarge | ml.m6g.2xlarge | ml.m6g.4xlarge | ml.m6g.8xlarge | ml.m6g.12xlarge | ml.m6g.16xlarge | ml.m6gd.large | ml.m6gd.xlarge | ml.m6gd.2xlarge | ml.m6gd.4xlarge | ml.m6gd.8xlarge | ml.m6gd.12xlarge | ml.m6gd.16xlarge | ml.c6g.large | ml.c6g.xlarge | ml.c6g.2xlarge | ml.c6g.4xlarge | ml.c6g.8xlarge | ml.c6g.12xlarge | ml.c6g.16xlarge | ml.c6gd.large | ml.c6gd.xlarge | ml.c6gd.2xlarge | ml.c6gd.4xlarge | ml.c6gd.8xlarge | ml.c6gd.12xlarge | ml.c6gd.16xlarge | ml.c6gn.large | ml.c6gn.xlarge | ml.c6gn.2xlarge | ml.c6gn.4xlarge | ml.c6gn.8xlarge | ml.c6gn.12xlarge | ml.c6gn.16xlarge | ml.r6g.large | ml.r6g.xlarge | ml.r6g.2xlarge | ml.r6g.4xlarge | ml.r6g.8xlarge | ml.r6g.12xlarge | ml.r6g.16xlarge | ml.r6gd.large | ml.r6gd.xlarge | ml.r6gd.2xlarge | ml.r6gd.4xlarge | ml.r6gd.8xlarge | ml.r6gd.12xlarge | ml.r6gd.16xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.inf2.xlarge | ml.inf2.8xlarge | ml.inf2.24xlarge | ml.inf2.48xlarge | ml.p5.48xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge,
      /* more items */
    ],
    SupportedResponseMIMETypes: [
      'STRING_VALUE',
      /* more items */
    ],
    SupportedTransformInstanceTypes: [
      ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge,
      /* more items */
    ]
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  ValidationSpecification: {
    ValidationProfiles: [ /* required */
      {
        ProfileName: 'STRING_VALUE', /* required */
        TrainingJobDefinition: { /* required */
          InputDataConfig: [ /* required */
            {
              ChannelName: 'STRING_VALUE', /* required */
              DataSource: { /* required */
                FileSystemDataSource: {
                  DirectoryPath: 'STRING_VALUE', /* required */
                  FileSystemAccessMode: rw | ro, /* required */
                  FileSystemId: 'STRING_VALUE', /* required */
                  FileSystemType: EFS | FSxLustre /* required */
                },
                S3DataSource: {
                  S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
                  S3Uri: 'STRING_VALUE', /* required */
                  AttributeNames: [
                    'STRING_VALUE',
                    /* more items */
                  ],
                  InstanceGroupNames: [
                    'STRING_VALUE',
                    /* more items */
                  ],
                  S3DataDistributionType: FullyReplicated | ShardedByS3Key
                }
              },
              CompressionType: None | Gzip,
              ContentType: 'STRING_VALUE',
              InputMode: Pipe | File | FastFile,
              RecordWrapperType: None | RecordIO,
              ShuffleConfig: {
                Seed: 'NUMBER_VALUE' /* required */
              }
            },
            /* more items */
          ],
          OutputDataConfig: { /* required */
            S3OutputPath: 'STRING_VALUE', /* required */
            CompressionType: GZIP | NONE,
            KmsKeyId: 'STRING_VALUE'
          },
          ResourceConfig: { /* required */
            VolumeSizeInGB: 'NUMBER_VALUE', /* required */
            InstanceCount: 'NUMBER_VALUE',
            InstanceGroups: [
              {
                InstanceCount: 'NUMBER_VALUE', /* required */
                InstanceGroupName: 'STRING_VALUE', /* required */
                InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge /* required */
              },
              /* more items */
            ],
            InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
            KeepAlivePeriodInSeconds: 'NUMBER_VALUE',
            VolumeKmsKeyId: 'STRING_VALUE'
          },
          StoppingCondition: { /* required */
            MaxPendingTimeInSeconds: 'NUMBER_VALUE',
            MaxRuntimeInSeconds: 'NUMBER_VALUE',
            MaxWaitTimeInSeconds: 'NUMBER_VALUE'
          },
          TrainingInputMode: Pipe | File | FastFile, /* required */
          HyperParameters: {
            '<HyperParameterKey>': 'STRING_VALUE',
            /* '<HyperParameterKey>': ... */
          }
        },
        TransformJobDefinition: {
          TransformInput: { /* required */
            DataSource: { /* required */
              S3DataSource: { /* required */
                S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
                S3Uri: 'STRING_VALUE' /* required */
              }
            },
            CompressionType: None | Gzip,
            ContentType: 'STRING_VALUE',
            SplitType: None | Line | RecordIO | TFRecord
          },
          TransformOutput: { /* required */
            S3OutputPath: 'STRING_VALUE', /* required */
            Accept: 'STRING_VALUE',
            AssembleWith: None | Line,
            KmsKeyId: 'STRING_VALUE'
          },
          TransformResources: { /* required */
            InstanceCount: 'NUMBER_VALUE', /* required */
            InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge, /* required */
            VolumeKmsKeyId: 'STRING_VALUE'
          },
          BatchStrategy: MultiRecord | SingleRecord,
          Environment: {
            '<TransformEnvironmentKey>': 'STRING_VALUE',
            /* '<TransformEnvironmentKey>': ... */
          },
          MaxConcurrentTransforms: 'NUMBER_VALUE',
          MaxPayloadInMB: 'NUMBER_VALUE'
        }
      },
      /* more items */
    ],
    ValidationRole: 'STRING_VALUE' /* required */
  }
};
sagemaker.createAlgorithm(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AlgorithmName — (String)

      The name of the algorithm.

    • AlgorithmDescription — (String)

      A description of the algorithm.

    • TrainingSpecification — (map)

      Specifies details about training jobs run by this algorithm, including the following:

      • The Amazon ECR path of the container and the version digest of the algorithm.

      • The hyperparameters that the algorithm supports.

      • The instance types that the algorithm supports for training.

      • Whether the algorithm supports distributed training.

      • The metrics that the algorithm emits to Amazon CloudWatch.

      • Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.

      • The input channels that the algorithm supports for training data. For example, an algorithm might support train, validation, and test channels.

      • TrainingImagerequired — (String)

        The Amazon ECR registry path of the Docker image that contains the training algorithm.

      • TrainingImageDigest — (String)

        An MD5 hash of the training algorithm that identifies the Docker image used for training.

      • SupportedHyperParameters — (Array<map>)

        A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>

        • Namerequired — (String)

          The name of this hyperparameter. The name must be unique.

        • Description — (String)

          A brief description of the hyperparameter.

        • Typerequired — (String)

          The type of this hyperparameter. The valid types are Integer, Continuous, Categorical, and FreeText.

          Possible values include:
          • "Integer"
          • "Continuous"
          • "Categorical"
          • "FreeText"
        • Range — (map)

          The allowed range for this hyperparameter.

          • IntegerParameterRangeSpecification — (map)

            A IntegerParameterRangeSpecification object that defines the possible values for an integer hyperparameter.

            • MinValuerequired — (String)

              The minimum integer value allowed.

            • MaxValuerequired — (String)

              The maximum integer value allowed.

          • ContinuousParameterRangeSpecification — (map)

            A ContinuousParameterRangeSpecification object that defines the possible values for a continuous hyperparameter.

            • MinValuerequired — (String)

              The minimum floating-point value allowed.

            • MaxValuerequired — (String)

              The maximum floating-point value allowed.

          • CategoricalParameterRangeSpecification — (map)

            A CategoricalParameterRangeSpecification object that defines the possible values for a categorical hyperparameter.

            • Valuesrequired — (Array<String>)

              The allowed categories for the hyperparameter.

        • IsTunable — (Boolean)

          Indicates whether this hyperparameter is tunable in a hyperparameter tuning job.

        • IsRequired — (Boolean)

          Indicates whether this hyperparameter is required.

        • DefaultValue — (String)

          The default value for this hyperparameter. If a default value is specified, a hyperparameter cannot be required.

      • SupportedTrainingInstanceTypesrequired — (Array<String>)

        A list of the instance types that this algorithm can use for training.

      • SupportsDistributedTraining — (Boolean)

        Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.

      • MetricDefinitions — (Array<map>)

        A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.

        • Namerequired — (String)

          The name of the metric.

        • Regexrequired — (String)

          A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

      • TrainingChannelsrequired — (Array<map>)

        A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.

        • Namerequired — (String)

          The name of the channel.

        • Description — (String)

          A brief description of the channel.

        • IsRequired — (Boolean)

          Indicates whether the channel is required by the algorithm.

        • SupportedContentTypesrequired — (Array<String>)

          The supported MIME types for the data.

        • SupportedCompressionTypes — (Array<String>)

          The allowed compression types, if data compression is used.

        • SupportedInputModesrequired — (Array<String>)

          The allowed input mode, either FILE or PIPE.

          In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode.

          In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.

      • SupportedTuningJobObjectiveMetrics — (Array<map>)

        A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.

        • Typerequired — (String)

          Whether to minimize or maximize the objective metric.

          Possible values include:
          • "Maximize"
          • "Minimize"
        • MetricNamerequired — (String)

          The name of the metric to use for the objective metric.

      • AdditionalS3DataSource — (map)

        The additional data source used during the training job.

        • S3DataTyperequired — (String)

          The data type of the additional data source that you specify for use in inference or training.

          Possible values include:
          • "S3Object"
          • "S3Prefix"
        • S3Urirequired — (String)

          The uniform resource identifier (URI) used to identify an additional data source used in inference or training.

        • CompressionType — (String)

          The type of compression used for an additional data source used in inference or training. Specify None if your additional data source is not compressed.

          Possible values include:
          • "None"
          • "Gzip"
    • InferenceSpecification — (map)

      Specifies details about inference jobs that the algorithm runs, including the following:

      • The Amazon ECR paths of containers that contain the inference code and model artifacts.

      • The instance types that the algorithm supports for transform jobs and real-time endpoints used for inference.

      • The input and output content formats that the algorithm supports for inference.

      • Containersrequired — (Array<map>)

        The Amazon ECR registry path of the Docker image that contains the inference code.

        • ContainerHostname — (String)

          The DNS host name for the Docker container.

        • Imagerequired — (String)

          The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

          If you are using your own custom algorithm instead of an algorithm provided by SageMaker, the inference code must meet SageMaker requirements. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

        • ImageDigest — (String)

          An MD5 hash of the training algorithm that identifies the Docker image used for training.

        • ModelDataUrl — (String)

          The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

          Note: The model artifacts must be in an S3 bucket that is in the same region as the model package.
        • ModelDataSource — (map)

          Specifies the location of ML model data to deploy during endpoint creation.

          • S3DataSource — (map)

            Specifies the S3 location of ML model data to deploy.

            • S3Urirequired — (String)

              Specifies the S3 path of ML model data to deploy.

            • S3DataTyperequired — (String)

              Specifies the type of ML model data to deploy.

              If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix as part of the ML model data to deploy. A valid key name prefix identified by S3Uri always ends with a forward slash (/).

              If you choose S3Object, S3Uri identifies an object that is the ML model data to deploy.

              Possible values include:
              • "S3Prefix"
              • "S3Object"
            • CompressionTyperequired — (String)

              Specifies how the ML model data is prepared.

              If you choose Gzip and choose S3Object as the value of S3DataType, S3Uri identifies an object that is a gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during model deployment.

              If you choose None and chooose S3Object as the value of S3DataType, S3Uri identifies an object that represents an uncompressed ML model to deploy.

              If you choose None and choose S3Prefix as the value of S3DataType, S3Uri identifies a key name prefix, under which all objects represents the uncompressed ML model to deploy.

              If you choose None, then SageMaker will follow rules below when creating model data files under /opt/ml/model directory for use by your inference code:

              • If you choose S3Object as the value of S3DataType, then SageMaker will split the key of the S3 object referenced by S3Uri by slash (/), and use the last part as the filename of the file holding the content of the S3 object.

              • If you choose S3Prefix as the value of S3DataType, then for each S3 object under the key name pefix referenced by S3Uri, SageMaker will trim its key by the prefix, and use the remainder as the path (relative to /opt/ml/model) of the file holding the content of the S3 object. SageMaker will split the remainder by slash (/), using intermediate parts as directory names and the last part as filename of the file holding the content of the S3 object.

              • Do not use any of the following as file names or directory names:

                • An empty or blank string

                • A string which contains null bytes

                • A string longer than 255 bytes

                • A single dot (.)

                • A double dot (..)

              • Ambiguous file names will result in model deployment failure. For example, if your uncompressed ML model consists of two S3 objects s3://mybucket/model/weights and s3://mybucket/model/weights/part1 and you specify s3://mybucket/model/ as the value of S3Uri and S3Prefix as the value of S3DataType, then it will result in name clash between /opt/ml/model/weights (a regular file) and /opt/ml/model/weights/ (a directory).

              • Do not organize the model artifacts in S3 console using folders. When you create a folder in S3 console, S3 creates a 0-byte object with a key set to the folder name you provide. They key of the 0-byte object ends with a slash (/) which violates SageMaker restrictions on model artifact file names, leading to model deployment failure.

              Possible values include:
              • "None"
              • "Gzip"
            • ModelAccessConfig — (map)

              Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

              • AcceptEularequired — (Boolean)

                Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

            • HubAccessConfig — (map)

              Configuration information for hub access.

              • HubContentArnrequired — (String)

                The ARN of the hub content for which deployment access is allowed.

        • ProductId — (String)

          The Amazon Web Services Marketplace product ID of the model package.

        • Environment — (map<String>)

          The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.

        • ModelInput — (map)

          A structure with Model Input details.

          • DataInputConfigrequired — (String)

            The input configuration object for the model.

        • Framework — (String)

          The machine learning framework of the model package container image.

        • FrameworkVersion — (String)

          The framework version of the Model Package Container Image.

        • NearestModelName — (String)

          The name of a pre-trained machine learning benchmarked by Amazon SageMaker Inference Recommender model that matches your model. You can find a list of benchmarked models by calling ListModelMetadata.

        • AdditionalS3DataSource — (map)

          The additional data source that is used during inference in the Docker container for your model package.

          • S3DataTyperequired — (String)

            The data type of the additional data source that you specify for use in inference or training.

            Possible values include:
            • "S3Object"
            • "S3Prefix"
          • S3Urirequired — (String)

            The uniform resource identifier (URI) used to identify an additional data source used in inference or training.

          • CompressionType — (String)

            The type of compression used for an additional data source used in inference or training. Specify None if your additional data source is not compressed.

            Possible values include:
            • "None"
            • "Gzip"
      • SupportedTransformInstanceTypes — (Array<String>)

        A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.

        This parameter is required for unversioned models, and optional for versioned models.

      • SupportedRealtimeInferenceInstanceTypes — (Array<String>)

        A list of the instance types that are used to generate inferences in real-time.

        This parameter is required for unversioned models, and optional for versioned models.

      • SupportedContentTypes — (Array<String>)

        The supported MIME types for the input data.

      • SupportedResponseMIMETypes — (Array<String>)

        The supported MIME types for the output data.

    • ValidationSpecification — (map)

      Specifies configurations for one or more training jobs and that SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that SageMaker runs to test the algorithm's inference code.

      • ValidationRolerequired — (String)

        The IAM roles that SageMaker uses to run the training jobs.

      • ValidationProfilesrequired — (Array<map>)

        An array of AlgorithmValidationProfile objects, each of which specifies a training job and batch transform job that SageMaker runs to validate your algorithm.

        • ProfileNamerequired — (String)

          The name of the profile for the algorithm. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

        • TrainingJobDefinitionrequired — (map)

          The TrainingJobDefinition object that describes the training job that SageMaker runs to validate your algorithm.

          • TrainingInputModerequired — (String)

            The training input mode that the algorithm supports. For more information about input modes, see Algorithms.

            Pipe mode

            If an algorithm supports Pipe mode, Amazon SageMaker streams data directly from Amazon S3 to the container.

            File mode

            If an algorithm supports File mode, SageMaker downloads the training data from S3 to the provisioned ML storage volume, and mounts the directory to the Docker volume for the training container.

            You must provision the ML storage volume with sufficient capacity to accommodate the data downloaded from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container uses the ML storage volume to also store intermediate information, if any.

            For distributed algorithms, training data is distributed uniformly. Your training duration is predictable if the input data objects sizes are approximately the same. SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed when one host in a training cluster is overloaded, thus becoming a bottleneck in training.

            FastFile mode

            If an algorithm supports FastFile mode, SageMaker streams data directly from S3 to the container with no code changes, and provides file system access to the data. Users can author their training script to interact with these files as if they were stored on disk.

            FastFile mode works best when the data is read sequentially. Augmented manifest files aren't supported. The startup time is lower when there are fewer files in the S3 bucket provided.

            Possible values include:
            • "Pipe"
            • "File"
            • "FastFile"
          • HyperParameters — (map<String>)

            The hyperparameters used for the training job.

          • InputDataConfigrequired — (Array<map>)

            An array of Channel objects, each of which specifies an input source.

            • ChannelNamerequired — (String)

              The name of the channel.

            • DataSourcerequired — (map)

              The location of the channel data.

              • S3DataSource — (map)

                The S3 location of the data source that is associated with a channel.

                • S3DataTyperequired — (String)

                  If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.

                  If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.

                  If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile can only be used if the Channel's input mode is Pipe.

                  Possible values include:
                  • "ManifestFile"
                  • "S3Prefix"
                  • "AugmentedManifestFile"
                • S3Urirequired — (String)

                  Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example:

                  • A key name prefix might look like this: s3://bucketname/exampleprefix/

                  • A manifest might look like this: s3://bucketname/example.manifest

                    A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets.

                    The following code example shows a valid manifest format:

                    [ {"prefix": "s3://customer_bucket/some/prefix/"},

                    "relative/path/to/custdata-1",

                    "relative/path/custdata-2",

                    ...

                    "relative/path/custdata-N"

                    ]

                    This JSON is equivalent to the following S3Uri list:

                    s3://customer_bucket/some/prefix/relative/path/to/custdata-1

                    s3://customer_bucket/some/prefix/relative/path/custdata-2

                    ...

                    s3://customer_bucket/some/prefix/relative/path/custdata-N

                    The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf.

                  Your input bucket must be located in same Amazon Web Services region as your training job.

                • S3DataDistributionType — (String)

                  If you want SageMaker to replicate the entire dataset on each ML compute instance that is launched for model training, specify FullyReplicated.

                  If you want SageMaker to replicate a subset of data on each ML compute instance that is launched for model training, specify ShardedByS3Key. If there are n ML compute instances launched for a training job, each instance gets approximately 1/n of the number of S3 objects. In this case, model training on each machine uses only the subset of training data.

                  Don't choose more ML compute instances for training than available S3 objects. If you do, some nodes won't get any data and you will pay for nodes that aren't getting any training data. This applies in both File and Pipe modes. Keep this in mind when developing algorithms.

                  In distributed training, where you use multiple ML compute EC2 instances, you might choose ShardedByS3Key. If the algorithm requires copying training data to the ML storage volume (when TrainingInputMode is set to File), this copies 1/n of the number of objects.

                  Possible values include:
                  • "FullyReplicated"
                  • "ShardedByS3Key"
                • AttributeNames — (Array<String>)

                  A list of one or more attribute names to use that are found in a specified augmented manifest file.

                • InstanceGroupNames — (Array<String>)

                  A list of names of instance groups that get data from the S3 data source.

              • FileSystemDataSource — (map)

                The file system that is associated with a channel.

                • FileSystemIdrequired — (String)

                  The file system id.

                • FileSystemAccessModerequired — (String)

                  The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode.

                  Possible values include:
                  • "rw"
                  • "ro"
                • FileSystemTyperequired — (String)

                  The file system type.

                  Possible values include:
                  • "EFS"
                  • "FSxLustre"
                • DirectoryPathrequired — (String)

                  The full path to the directory to associate with the channel.

            • ContentType — (String)

              The MIME type of the data.

            • CompressionType — (String)

              If training data is compressed, the compression type. The default value is None. CompressionType is used only in Pipe input mode. In File mode, leave this field unset or set it to None.

              Possible values include:
              • "None"
              • "Gzip"
            • RecordWrapperType — (String)

              Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format. In this case, SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.

              In File mode, leave this field unset or set it to None.

              Possible values include:
              • "None"
              • "RecordIO"
            • InputMode — (String)

              (Optional) The input mode to use for the data channel in a training job. If you don't set a value for InputMode, SageMaker uses the value set for TrainingInputMode. Use this parameter to override the TrainingInputMode setting in a AlgorithmSpecification request when you have a channel that needs a different input mode from the training job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a Docker volume, use File input mode. To stream data directly from Amazon S3 to the container, choose Pipe input mode.

              To use a model for incremental training, choose File input model.

              Possible values include:
              • "Pipe"
              • "File"
              • "FastFile"
            • ShuffleConfig — (map)

              A configuration for a shuffle option for input data in a channel. If you use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix matches. If you use ManifestFile, the order of the S3 object references in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling order is determined using the Seed value.

              For Pipe input mode, shuffling is done at the start of every epoch. With large datasets this ensures that the order of the training data is different for each epoch, it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.

              • Seedrequired — (Integer)

                Determines the shuffling order in ShuffleConfig value.

          • OutputDataConfigrequired — (map)

            the path to the S3 bucket where you want to store model artifacts. SageMaker creates subfolders for the artifacts.

            • KmsKeyId — (String)

              The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

              • // KMS Key ID

                "1234abcd-12ab-34cd-56ef-1234567890ab"

              • // Amazon Resource Name (ARN) of a KMS Key

                "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

              • // KMS Key Alias

                "alias/ExampleAlias"

              • // Amazon Resource Name (ARN) of a KMS Key Alias

                "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

              If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide. If the output data is stored in Amazon S3 Express One Zone, it is encrypted with server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported for Amazon S3 Express One Zone

              The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

            • S3OutputPathrequired — (String)

              Identifies the S3 path where you want SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix.

            • CompressionType — (String)

              The model output compression type. Select None to output an uncompressed model, recommended for large model outputs. Defaults to gzip.

              Possible values include:
              • "GZIP"
              • "NONE"
          • ResourceConfigrequired — (map)

            The resources, including the ML compute instances and ML storage volumes, to use for model training.

            • InstanceType — (String)

              The ML compute instance type.

              Note: SageMaker Training on Amazon Elastic Compute Cloud (EC2) P4de instances is in preview release starting December 9th, 2022. Amazon EC2 P4de instances (currently in preview) are powered by 8 NVIDIA A100 GPUs with 80GB high-performance HBM2e GPU memory, which accelerate the speed of training ML models that need to be trained on large datasets of high-resolution data. In this preview release, Amazon SageMaker supports ML training jobs on P4de instances (ml.p4de.24xlarge) to reduce model training time. The ml.p4de.24xlarge instances are available in the following Amazon Web Services Regions.
              • US East (N. Virginia) (us-east-1)
              • US West (Oregon) (us-west-2)
              To request quota limit increase and start using P4de instances, contact the SageMaker Training service team through your account team.
              Possible values include:
              • "ml.m4.xlarge"
              • "ml.m4.2xlarge"
              • "ml.m4.4xlarge"
              • "ml.m4.10xlarge"
              • "ml.m4.16xlarge"
              • "ml.g4dn.xlarge"
              • "ml.g4dn.2xlarge"
              • "ml.g4dn.4xlarge"
              • "ml.g4dn.8xlarge"
              • "ml.g4dn.12xlarge"
              • "ml.g4dn.16xlarge"
              • "ml.m5.large"
              • "ml.m5.xlarge"
              • "ml.m5.2xlarge"
              • "ml.m5.4xlarge"
              • "ml.m5.12xlarge"
              • "ml.m5.24xlarge"
              • "ml.c4.xlarge"
              • "ml.c4.2xlarge"
              • "ml.c4.4xlarge"
              • "ml.c4.8xlarge"
              • "ml.p2.xlarge"
              • "ml.p2.8xlarge"
              • "ml.p2.16xlarge"
              • "ml.p3.2xlarge"
              • "ml.p3.8xlarge"
              • "ml.p3.16xlarge"
              • "ml.p3dn.24xlarge"
              • "ml.p4d.24xlarge"
              • "ml.p4de.24xlarge"
              • "ml.p5.48xlarge"
              • "ml.c5.xlarge"
              • "ml.c5.2xlarge"
              • "ml.c5.4xlarge"
              • "ml.c5.9xlarge"
              • "ml.c5.18xlarge"
              • "ml.c5n.xlarge"
              • "ml.c5n.2xlarge"
              • "ml.c5n.4xlarge"
              • "ml.c5n.9xlarge"
              • "ml.c5n.18xlarge"
              • "ml.g5.xlarge"
              • "ml.g5.2xlarge"
              • "ml.g5.4xlarge"
              • "ml.g5.8xlarge"
              • "ml.g5.16xlarge"
              • "ml.g5.12xlarge"
              • "ml.g5.24xlarge"
              • "ml.g5.48xlarge"
              • "ml.trn1.2xlarge"
              • "ml.trn1.32xlarge"
              • "ml.trn1n.32xlarge"
              • "ml.m6i.large"
              • "ml.m6i.xlarge"
              • "ml.m6i.2xlarge"
              • "ml.m6i.4xlarge"
              • "ml.m6i.8xlarge"
              • "ml.m6i.12xlarge"
              • "ml.m6i.16xlarge"
              • "ml.m6i.24xlarge"
              • "ml.m6i.32xlarge"
              • "ml.c6i.xlarge"
              • "ml.c6i.2xlarge"
              • "ml.c6i.8xlarge"
              • "ml.c6i.4xlarge"
              • "ml.c6i.12xlarge"
              • "ml.c6i.16xlarge"
              • "ml.c6i.24xlarge"
              • "ml.c6i.32xlarge"
              • "ml.r5d.large"
              • "ml.r5d.xlarge"
              • "ml.r5d.2xlarge"
              • "ml.r5d.4xlarge"
              • "ml.r5d.8xlarge"
              • "ml.r5d.12xlarge"
              • "ml.r5d.16xlarge"
              • "ml.r5d.24xlarge"
              • "ml.t3.medium"
              • "ml.t3.large"
              • "ml.t3.xlarge"
              • "ml.t3.2xlarge"
              • "ml.r5.large"
              • "ml.r5.xlarge"
              • "ml.r5.2xlarge"
              • "ml.r5.4xlarge"
              • "ml.r5.8xlarge"
              • "ml.r5.12xlarge"
              • "ml.r5.16xlarge"
              • "ml.r5.24xlarge"
            • InstanceCount — (Integer)

              The number of ML compute instances to use. For distributed training, provide a value greater than 1.

            • VolumeSizeInGBrequired — (Integer)

              The size of the ML storage volume that you want to provision.

              ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose File as the TrainingInputMode in the algorithm specification.

              When using an ML instance with NVMe SSD volumes, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage. Available storage is fixed to the NVMe-type instance's storage capacity. SageMaker configures storage paths for training datasets, checkpoints, model artifacts, and outputs to use the entire capacity of the instance storage. For example, ML instance families with the NVMe-type instance storage include ml.p4d, ml.g4dn, and ml.g5.

              When using an ML instance with the EBS-only storage option and without instance storage, you must define the size of EBS volume through VolumeSizeInGB in the ResourceConfig API. For example, ML instance families that use EBS volumes include ml.c5 and ml.p2.

              To look up instance types and their instance storage types and volumes, see Amazon EC2 Instance Types.

              To find the default local paths defined by the SageMaker training platform, see Amazon SageMaker Training Storage Folders for Training Datasets, Checkpoints, Model Artifacts, and Outputs.

            • VolumeKmsKeyId — (String)

              The Amazon Web Services KMS key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.

              Note: Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes.

              The VolumeKmsKeyId can be in any of the following formats:

              • // KMS Key ID

                "1234abcd-12ab-34cd-56ef-1234567890ab"

              • // Amazon Resource Name (ARN) of a KMS Key

                "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

            • KeepAlivePeriodInSeconds — (Integer)

              The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

            • InstanceGroups — (Array<map>)

              The configuration of a heterogeneous cluster in JSON format.

              • InstanceTyperequired — (String)

                Specifies the instance type of the instance group.

                Possible values include:
                • "ml.m4.xlarge"
                • "ml.m4.2xlarge"
                • "ml.m4.4xlarge"
                • "ml.m4.10xlarge"
                • "ml.m4.16xlarge"
                • "ml.g4dn.xlarge"
                • "ml.g4dn.2xlarge"
                • "ml.g4dn.4xlarge"
                • "ml.g4dn.8xlarge"
                • "ml.g4dn.12xlarge"
                • "ml.g4dn.16xlarge"
                • "ml.m5.large"
                • "ml.m5.xlarge"
                • "ml.m5.2xlarge"
                • "ml.m5.4xlarge"
                • "ml.m5.12xlarge"
                • "ml.m5.24xlarge"
                • "ml.c4.xlarge"
                • "ml.c4.2xlarge"
                • "ml.c4.4xlarge"
                • "ml.c4.8xlarge"
                • "ml.p2.xlarge"
                • "ml.p2.8xlarge"
                • "ml.p2.16xlarge"
                • "ml.p3.2xlarge"
                • "ml.p3.8xlarge"
                • "ml.p3.16xlarge"
                • "ml.p3dn.24xlarge"
                • "ml.p4d.24xlarge"
                • "ml.p4de.24xlarge"
                • "ml.p5.48xlarge"
                • "ml.c5.xlarge"
                • "ml.c5.2xlarge"
                • "ml.c5.4xlarge"
                • "ml.c5.9xlarge"
                • "ml.c5.18xlarge"
                • "ml.c5n.xlarge"
                • "ml.c5n.2xlarge"
                • "ml.c5n.4xlarge"
                • "ml.c5n.9xlarge"
                • "ml.c5n.18xlarge"
                • "ml.g5.xlarge"
                • "ml.g5.2xlarge"
                • "ml.g5.4xlarge"
                • "ml.g5.8xlarge"
                • "ml.g5.16xlarge"
                • "ml.g5.12xlarge"
                • "ml.g5.24xlarge"
                • "ml.g5.48xlarge"
                • "ml.trn1.2xlarge"
                • "ml.trn1.32xlarge"
                • "ml.trn1n.32xlarge"
                • "ml.m6i.large"
                • "ml.m6i.xlarge"
                • "ml.m6i.2xlarge"
                • "ml.m6i.4xlarge"
                • "ml.m6i.8xlarge"
                • "ml.m6i.12xlarge"
                • "ml.m6i.16xlarge"
                • "ml.m6i.24xlarge"
                • "ml.m6i.32xlarge"
                • "ml.c6i.xlarge"
                • "ml.c6i.2xlarge"
                • "ml.c6i.8xlarge"
                • "ml.c6i.4xlarge"
                • "ml.c6i.12xlarge"
                • "ml.c6i.16xlarge"
                • "ml.c6i.24xlarge"
                • "ml.c6i.32xlarge"
                • "ml.r5d.large"
                • "ml.r5d.xlarge"
                • "ml.r5d.2xlarge"
                • "ml.r5d.4xlarge"
                • "ml.r5d.8xlarge"
                • "ml.r5d.12xlarge"
                • "ml.r5d.16xlarge"
                • "ml.r5d.24xlarge"
                • "ml.t3.medium"
                • "ml.t3.large"
                • "ml.t3.xlarge"
                • "ml.t3.2xlarge"
                • "ml.r5.large"
                • "ml.r5.xlarge"
                • "ml.r5.2xlarge"
                • "ml.r5.4xlarge"
                • "ml.r5.8xlarge"
                • "ml.r5.12xlarge"
                • "ml.r5.16xlarge"
                • "ml.r5.24xlarge"
              • InstanceCountrequired — (Integer)

                Specifies the number of instances of the instance group.

              • InstanceGroupNamerequired — (String)

                Specifies the name of the instance group.

          • StoppingConditionrequired — (map)

            Specifies a limit to how long a model training job can run. It also specifies how long a managed Spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.

            To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms can use this 120-second window to save the model artifacts.

            • MaxRuntimeInSeconds — (Integer)

              The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

              For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.

              For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.

              The maximum time that a TrainingJob can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.

            • MaxWaitTimeInSeconds — (Integer)

              The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, SageMaker ends the job.

              When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt.

            • MaxPendingTimeInSeconds — (Integer)

              The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped.

        • TransformJobDefinition — (map)

          The TransformJobDefinition object that describes the transform job that SageMaker runs to validate your algorithm.

          • MaxConcurrentTransforms — (Integer)

            The maximum number of parallel requests that can be sent to each instance in a transform job. The default value is 1.

          • MaxPayloadInMB — (Integer)

            The maximum payload size allowed, in MB. A payload is the data portion of a record (without metadata).

          • BatchStrategy — (String)

            A string that determines the number of records included in a single mini-batch.

            SingleRecord means only one record is used per mini-batch. MultiRecord means a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB limit.

            Possible values include:
            • "MultiRecord"
            • "SingleRecord"
          • Environment — (map<String>)

            The environment variables to set in the Docker container. We support up to 16 key and values entries in the map.

          • TransformInputrequired — (map)

            A description of the input source and the way the transform job consumes it.

            • DataSourcerequired — (map)

              Describes the location of the channel data, which is, the S3 location of the input data that the model can consume.

              • S3DataSourcerequired — (map)

                The S3 location of the data source that is associated with a channel.

                • S3DataTyperequired — (String)

                  If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for batch transform.

                  If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for batch transform.

                  The following values are compatible: ManifestFile, S3Prefix

                  The following value is not compatible: AugmentedManifestFile

                  Possible values include:
                  • "ManifestFile"
                  • "S3Prefix"
                  • "AugmentedManifestFile"
                • S3Urirequired — (String)

                  Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example:

                  • A key name prefix might look like this: s3://bucketname/exampleprefix/.

                  • A manifest might look like this: s3://bucketname/example.manifest

                    The manifest is an S3 object which is a JSON file with the following format:

                    [ {"prefix": "s3://customer_bucket/some/prefix/"},

                    "relative/path/to/custdata-1",

                    "relative/path/custdata-2",

                    ...

                    "relative/path/custdata-N"

                    ]

                    The preceding JSON matches the following S3Uris:

                    s3://customer_bucket/some/prefix/relative/path/to/custdata-1

                    s3://customer_bucket/some/prefix/relative/path/custdata-2

                    ...

                    s3://customer_bucket/some/prefix/relative/path/custdata-N

                    The complete set of S3Uris in this manifest constitutes the input data for the channel for this datasource. The object that each S3Uris points to must be readable by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.

            • ContentType — (String)

              The multipurpose internet mail extension (MIME) type of the data. Amazon SageMaker uses the MIME type with each http call to transfer data to the transform job.

            • CompressionType — (String)

              If your transform data is compressed, specify the compression type. Amazon SageMaker automatically decompresses the data for the transform job accordingly. The default value is None.

              Possible values include:
              • "None"
              • "Gzip"
            • SplitType — (String)

              The method to use to split the transform job's data files into smaller batches. Splitting is necessary when the total size of each object is too large to fit in a single request. You can also use data splitting to improve performance by processing multiple concurrent mini-batches. The default value for SplitType is None, which indicates that input data files are not split, and request payloads contain the entire contents of an input object. Set the value of this parameter to Line to split records on a newline character boundary. SplitType also supports a number of record-oriented binary data formats. Currently, the supported record formats are:

              • RecordIO

              • TFRecord

              When splitting is enabled, the size of a mini-batch depends on the values of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy is MultiRecord, Amazon SageMaker sends the maximum number of records in each request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is SingleRecord, Amazon SageMaker sends individual records in each request.

              Note: Some data formats represent a record as a binary payload wrapped with extra padding bytes. When splitting is applied to a binary data format, padding is removed if the value of BatchStrategy is set to SingleRecord. Padding is not removed if the value of BatchStrategy is set to MultiRecord. For more information about RecordIO, see Create a Dataset Using RecordIO in the MXNet documentation. For more information about TFRecord, see Consuming TFRecord data in the TensorFlow documentation.
              Possible values include:
              • "None"
              • "Line"
              • "RecordIO"
              • "TFRecord"
          • TransformOutputrequired — (map)

            Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job.

            • S3OutputPathrequired — (String)

              The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. For example, s3://bucket-name/key-name-prefix.

              For every S3 object used as input for the transform job, batch transform stores the transformed data with an .out suffix in a corresponding subfolder in the location in the output prefix. For example, for the input data stored at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out. Batch transform doesn't upload partially processed objects. For an input S3 object that contains multiple records, it creates an .out file only if the transform job succeeds on the entire file. When the input contains multiple S3 objects, the batch transform job processes the listed S3 objects and uploads only the output for successfully processed objects. If any object fails in the transform job batch transform marks the job as failed to prompt investigation.

            • Accept — (String)

              The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.

            • AssembleWith — (String)

              Defines how to assemble the results of the transform job as a single S3 object. Choose a format that is most convenient to you. To concatenate the results in binary format, specify None. To add a newline character at the end of every transformed record, specify Line.

              Possible values include:
              • "None"
              • "Line"
            • KmsKeyId — (String)

              The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

              • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

              • Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

              • Alias name: alias/ExampleAlias

              • Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

              If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

              The KMS key policy must grant permission to the IAM role that you specify in your CreateModel request. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

          • TransformResourcesrequired — (map)

            Identifies the ML compute instances for the transform job.

            • InstanceTyperequired — (String)

              The ML compute instance type for the transform job. If you are using built-in algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge or ml.m5.largeinstance types.

              Possible values include:
              • "ml.m4.xlarge"
              • "ml.m4.2xlarge"
              • "ml.m4.4xlarge"
              • "ml.m4.10xlarge"
              • "ml.m4.16xlarge"
              • "ml.c4.xlarge"
              • "ml.c4.2xlarge"
              • "ml.c4.4xlarge"
              • "ml.c4.8xlarge"
              • "ml.p2.xlarge"
              • "ml.p2.8xlarge"
              • "ml.p2.16xlarge"
              • "ml.p3.2xlarge"
              • "ml.p3.8xlarge"
              • "ml.p3.16xlarge"
              • "ml.c5.xlarge"
              • "ml.c5.2xlarge"
              • "ml.c5.4xlarge"
              • "ml.c5.9xlarge"
              • "ml.c5.18xlarge"
              • "ml.m5.large"
              • "ml.m5.xlarge"
              • "ml.m5.2xlarge"
              • "ml.m5.4xlarge"
              • "ml.m5.12xlarge"
              • "ml.m5.24xlarge"
              • "ml.m6i.large"
              • "ml.m6i.xlarge"
              • "ml.m6i.2xlarge"
              • "ml.m6i.4xlarge"
              • "ml.m6i.8xlarge"
              • "ml.m6i.12xlarge"
              • "ml.m6i.16xlarge"
              • "ml.m6i.24xlarge"
              • "ml.m6i.32xlarge"
              • "ml.c6i.large"
              • "ml.c6i.xlarge"
              • "ml.c6i.2xlarge"
              • "ml.c6i.4xlarge"
              • "ml.c6i.8xlarge"
              • "ml.c6i.12xlarge"
              • "ml.c6i.16xlarge"
              • "ml.c6i.24xlarge"
              • "ml.c6i.32xlarge"
              • "ml.r6i.large"
              • "ml.r6i.xlarge"
              • "ml.r6i.2xlarge"
              • "ml.r6i.4xlarge"
              • "ml.r6i.8xlarge"
              • "ml.r6i.12xlarge"
              • "ml.r6i.16xlarge"
              • "ml.r6i.24xlarge"
              • "ml.r6i.32xlarge"
              • "ml.m7i.large"
              • "ml.m7i.xlarge"
              • "ml.m7i.2xlarge"
              • "ml.m7i.4xlarge"
              • "ml.m7i.8xlarge"
              • "ml.m7i.12xlarge"
              • "ml.m7i.16xlarge"
              • "ml.m7i.24xlarge"
              • "ml.m7i.48xlarge"
              • "ml.c7i.large"
              • "ml.c7i.xlarge"
              • "ml.c7i.2xlarge"
              • "ml.c7i.4xlarge"
              • "ml.c7i.8xlarge"
              • "ml.c7i.12xlarge"
              • "ml.c7i.16xlarge"
              • "ml.c7i.24xlarge"
              • "ml.c7i.48xlarge"
              • "ml.r7i.large"
              • "ml.r7i.xlarge"
              • "ml.r7i.2xlarge"
              • "ml.r7i.4xlarge"
              • "ml.r7i.8xlarge"
              • "ml.r7i.12xlarge"
              • "ml.r7i.16xlarge"
              • "ml.r7i.24xlarge"
              • "ml.r7i.48xlarge"
              • "ml.g4dn.xlarge"
              • "ml.g4dn.2xlarge"
              • "ml.g4dn.4xlarge"
              • "ml.g4dn.8xlarge"
              • "ml.g4dn.12xlarge"
              • "ml.g4dn.16xlarge"
              • "ml.g5.xlarge"
              • "ml.g5.2xlarge"
              • "ml.g5.4xlarge"
              • "ml.g5.8xlarge"
              • "ml.g5.12xlarge"
              • "ml.g5.16xlarge"
              • "ml.g5.24xlarge"
              • "ml.g5.48xlarge"
            • InstanceCountrequired — (Integer)

              The number of ML compute instances to use in the transform job. The default value is 1, and the maximum is 100. For distributed transform jobs, specify a value greater than 1.

            • VolumeKmsKeyId — (String)

              The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt model data on the storage volume attached to the ML compute instance(s) that run the batch transform job.

              Note: Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes.

              The VolumeKmsKeyId can be any of the following formats:

              • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

              • Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

              • Alias name: alias/ExampleAlias

              • Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

    • CertifyForMarketplace — (Boolean)

      Whether to certify the algorithm so that it can be listed in Amazon Web Services Marketplace.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AlgorithmArn — (String)

        The Amazon Resource Name (ARN) of the new algorithm.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createApp(params = {}, callback) ⇒ AWS.Request

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

Service Reference:

Examples:

Calling the createApp operation

var params = {
  AppName: 'STRING_VALUE', /* required */
  AppType: JupyterServer | KernelGateway | DetailedProfiler | TensorBoard | CodeEditor | JupyterLab | RStudioServerPro | RSessionGateway | Canvas, /* required */
  DomainId: 'STRING_VALUE', /* required */
  ResourceSpec: {
    InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
    LifecycleConfigArn: 'STRING_VALUE',
    SageMakerImageArn: 'STRING_VALUE',
    SageMakerImageVersionAlias: 'STRING_VALUE',
    SageMakerImageVersionArn: 'STRING_VALUE'
  },
  SpaceName: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  UserProfileName: 'STRING_VALUE'
};
sagemaker.createApp(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainId — (String)

      The domain ID.

    • UserProfileName — (String)

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

    • SpaceName — (String)

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

    • AppType — (String)

      The type of app.

      Possible values include:
      • "JupyterServer"
      • "KernelGateway"
      • "DetailedProfiler"
      • "TensorBoard"
      • "CodeEditor"
      • "JupyterLab"
      • "RStudioServerPro"
      • "RSessionGateway"
      • "Canvas"
    • AppName — (String)

      The name of the app.

    • Tags — (Array<map>)

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

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • ResourceSpec — (map)

      The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

      Note: 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.
      • SageMakerImageArn — (String)

        The ARN of the SageMaker image that the image version belongs to.

      • SageMakerImageVersionArn — (String)

        The ARN of the image version created on the instance.

      • SageMakerImageVersionAlias — (String)

        The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

      • InstanceType — (String)

        The instance type that the image version runs on.

        Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
        Possible values include:
        • "system"
        • "ml.t3.micro"
        • "ml.t3.small"
        • "ml.t3.medium"
        • "ml.t3.large"
        • "ml.t3.xlarge"
        • "ml.t3.2xlarge"
        • "ml.m5.large"
        • "ml.m5.xlarge"
        • "ml.m5.2xlarge"
        • "ml.m5.4xlarge"
        • "ml.m5.8xlarge"
        • "ml.m5.12xlarge"
        • "ml.m5.16xlarge"
        • "ml.m5.24xlarge"
        • "ml.m5d.large"
        • "ml.m5d.xlarge"
        • "ml.m5d.2xlarge"
        • "ml.m5d.4xlarge"
        • "ml.m5d.8xlarge"
        • "ml.m5d.12xlarge"
        • "ml.m5d.16xlarge"
        • "ml.m5d.24xlarge"
        • "ml.c5.large"
        • "ml.c5.xlarge"
        • "ml.c5.2xlarge"
        • "ml.c5.4xlarge"
        • "ml.c5.9xlarge"
        • "ml.c5.12xlarge"
        • "ml.c5.18xlarge"
        • "ml.c5.24xlarge"
        • "ml.p3.2xlarge"
        • "ml.p3.8xlarge"
        • "ml.p3.16xlarge"
        • "ml.p3dn.24xlarge"
        • "ml.g4dn.xlarge"
        • "ml.g4dn.2xlarge"
        • "ml.g4dn.4xlarge"
        • "ml.g4dn.8xlarge"
        • "ml.g4dn.12xlarge"
        • "ml.g4dn.16xlarge"
        • "ml.r5.large"
        • "ml.r5.xlarge"
        • "ml.r5.2xlarge"
        • "ml.r5.4xlarge"
        • "ml.r5.8xlarge"
        • "ml.r5.12xlarge"
        • "ml.r5.16xlarge"
        • "ml.r5.24xlarge"
        • "ml.g5.xlarge"
        • "ml.g5.2xlarge"
        • "ml.g5.4xlarge"
        • "ml.g5.8xlarge"
        • "ml.g5.16xlarge"
        • "ml.g5.12xlarge"
        • "ml.g5.24xlarge"
        • "ml.g5.48xlarge"
        • "ml.g6.xlarge"
        • "ml.g6.2xlarge"
        • "ml.g6.4xlarge"
        • "ml.g6.8xlarge"
        • "ml.g6.12xlarge"
        • "ml.g6.16xlarge"
        • "ml.g6.24xlarge"
        • "ml.g6.48xlarge"
        • "ml.geospatial.interactive"
        • "ml.p4d.24xlarge"
        • "ml.p4de.24xlarge"
        • "ml.trn1.2xlarge"
        • "ml.trn1.32xlarge"
        • "ml.trn1n.32xlarge"
        • "ml.p5.48xlarge"
        • "ml.m6i.large"
        • "ml.m6i.xlarge"
        • "ml.m6i.2xlarge"
        • "ml.m6i.4xlarge"
        • "ml.m6i.8xlarge"
        • "ml.m6i.12xlarge"
        • "ml.m6i.16xlarge"
        • "ml.m6i.24xlarge"
        • "ml.m6i.32xlarge"
        • "ml.m7i.large"
        • "ml.m7i.xlarge"
        • "ml.m7i.2xlarge"
        • "ml.m7i.4xlarge"
        • "ml.m7i.8xlarge"
        • "ml.m7i.12xlarge"
        • "ml.m7i.16xlarge"
        • "ml.m7i.24xlarge"
        • "ml.m7i.48xlarge"
        • "ml.c6i.large"
        • "ml.c6i.xlarge"
        • "ml.c6i.2xlarge"
        • "ml.c6i.4xlarge"
        • "ml.c6i.8xlarge"
        • "ml.c6i.12xlarge"
        • "ml.c6i.16xlarge"
        • "ml.c6i.24xlarge"
        • "ml.c6i.32xlarge"
        • "ml.c7i.large"
        • "ml.c7i.xlarge"
        • "ml.c7i.2xlarge"
        • "ml.c7i.4xlarge"
        • "ml.c7i.8xlarge"
        • "ml.c7i.12xlarge"
        • "ml.c7i.16xlarge"
        • "ml.c7i.24xlarge"
        • "ml.c7i.48xlarge"
        • "ml.r6i.large"
        • "ml.r6i.xlarge"
        • "ml.r6i.2xlarge"
        • "ml.r6i.4xlarge"
        • "ml.r6i.8xlarge"
        • "ml.r6i.12xlarge"
        • "ml.r6i.16xlarge"
        • "ml.r6i.24xlarge"
        • "ml.r6i.32xlarge"
        • "ml.r7i.large"
        • "ml.r7i.xlarge"
        • "ml.r7i.2xlarge"
        • "ml.r7i.4xlarge"
        • "ml.r7i.8xlarge"
        • "ml.r7i.12xlarge"
        • "ml.r7i.16xlarge"
        • "ml.r7i.24xlarge"
        • "ml.r7i.48xlarge"
        • "ml.m6id.large"
        • "ml.m6id.xlarge"
        • "ml.m6id.2xlarge"
        • "ml.m6id.4xlarge"
        • "ml.m6id.8xlarge"
        • "ml.m6id.12xlarge"
        • "ml.m6id.16xlarge"
        • "ml.m6id.24xlarge"
        • "ml.m6id.32xlarge"
        • "ml.c6id.large"
        • "ml.c6id.xlarge"
        • "ml.c6id.2xlarge"
        • "ml.c6id.4xlarge"
        • "ml.c6id.8xlarge"
        • "ml.c6id.12xlarge"
        • "ml.c6id.16xlarge"
        • "ml.c6id.24xlarge"
        • "ml.c6id.32xlarge"
        • "ml.r6id.large"
        • "ml.r6id.xlarge"
        • "ml.r6id.2xlarge"
        • "ml.r6id.4xlarge"
        • "ml.r6id.8xlarge"
        • "ml.r6id.12xlarge"
        • "ml.r6id.16xlarge"
        • "ml.r6id.24xlarge"
        • "ml.r6id.32xlarge"
      • LifecycleConfigArn — (String)

        The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AppArn — (String)

        The Amazon Resource Name (ARN) of the app.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAppImageConfig(params = {}, callback) ⇒ AWS.Request

Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System storage volume on the image, and a list of the kernels in the image.

Service Reference:

Examples:

Calling the createAppImageConfig operation

var params = {
  AppImageConfigName: 'STRING_VALUE', /* required */
  CodeEditorAppImageConfig: {
    ContainerConfig: {
      ContainerArguments: [
        'STRING_VALUE',
        /* more items */
      ],
      ContainerEntrypoint: [
        'STRING_VALUE',
        /* more items */
      ],
      ContainerEnvironmentVariables: {
        '<NonEmptyString256>': 'STRING_VALUE',
        /* '<NonEmptyString256>': ... */
      }
    },
    FileSystemConfig: {
      DefaultGid: 'NUMBER_VALUE',
      DefaultUid: 'NUMBER_VALUE',
      MountPath: 'STRING_VALUE'
    }
  },
  JupyterLabAppImageConfig: {
    ContainerConfig: {
      ContainerArguments: [
        'STRING_VALUE',
        /* more items */
      ],
      ContainerEntrypoint: [
        'STRING_VALUE',
        /* more items */
      ],
      ContainerEnvironmentVariables: {
        '<NonEmptyString256>': 'STRING_VALUE',
        /* '<NonEmptyString256>': ... */
      }
    },
    FileSystemConfig: {
      DefaultGid: 'NUMBER_VALUE',
      DefaultUid: 'NUMBER_VALUE',
      MountPath: 'STRING_VALUE'
    }
  },
  KernelGatewayImageConfig: {
    KernelSpecs: [ /* required */
      {
        Name: 'STRING_VALUE', /* required */
        DisplayName: 'STRING_VALUE'
      },
      /* more items */
    ],
    FileSystemConfig: {
      DefaultGid: 'NUMBER_VALUE',
      DefaultUid: 'NUMBER_VALUE',
      MountPath: 'STRING_VALUE'
    }
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createAppImageConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AppImageConfigName — (String)

      The name of the AppImageConfig. Must be unique to your account.

    • Tags — (Array<map>)

      A list of tags to apply to the AppImageConfig.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • KernelGatewayImageConfig — (map)

      The KernelGatewayImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel will be shown to users before the image starts. Once the image runs, all kernels are visible in JupyterLab.

      • KernelSpecsrequired — (Array<map>)

        The specification of the Jupyter kernels in the image.

        • Namerequired — (String)

          The name of the Jupyter kernel in the image. This value is case sensitive.

        • DisplayName — (String)

          The display name of the kernel.

      • FileSystemConfig — (map)

        The Amazon Elastic File System storage configuration for a SageMaker image.

        • MountPath — (String)

          The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.

        • DefaultUid — (Integer)

          The default POSIX user ID (UID). If not specified, defaults to 1000.

        • DefaultGid — (Integer)

          The default POSIX group ID (GID). If not specified, defaults to 100.

    • JupyterLabAppImageConfig — (map)

      The JupyterLabAppImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.

      • FileSystemConfig — (map)

        The Amazon Elastic File System storage configuration for a SageMaker image.

        • MountPath — (String)

          The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.

        • DefaultUid — (Integer)

          The default POSIX user ID (UID). If not specified, defaults to 1000.

        • DefaultGid — (Integer)

          The default POSIX group ID (GID). If not specified, defaults to 100.

      • ContainerConfig — (map)

        The configuration used to run the application image container.

        • ContainerArguments — (Array<String>)

          The arguments for the container when you're running the application.

        • ContainerEntrypoint — (Array<String>)

          The entrypoint used to run the application in the container.

        • ContainerEnvironmentVariables — (map<String>)

          The environment variables to set in the container

    • CodeEditorAppImageConfig — (map)

      The CodeEditorAppImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in Code Editor.

      • FileSystemConfig — (map)

        The Amazon Elastic File System storage configuration for a SageMaker image.

        • MountPath — (String)

          The path within the image to mount the user's EFS home directory. The directory should be empty. If not specified, defaults to /home/sagemaker-user.

        • DefaultUid — (Integer)

          The default POSIX user ID (UID). If not specified, defaults to 1000.

        • DefaultGid — (Integer)

          The default POSIX group ID (GID). If not specified, defaults to 100.

      • ContainerConfig — (map)

        The configuration used to run the application image container.

        • ContainerArguments — (Array<String>)

          The arguments for the container when you're running the application.

        • ContainerEntrypoint — (Array<String>)

          The entrypoint used to run the application in the container.

        • ContainerEnvironmentVariables — (map<String>)

          The environment variables to set in the container

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AppImageConfigArn — (String)

        The ARN of the AppImageConfig.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createArtifact(params = {}, callback) ⇒ AWS.Request

Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.

Service Reference:

Examples:

Calling the createArtifact operation

var params = {
  ArtifactType: 'STRING_VALUE', /* required */
  Source: { /* required */
    SourceUri: 'STRING_VALUE', /* required */
    SourceTypes: [
      {
        SourceIdType: MD5Hash | S3ETag | S3Version | Custom, /* required */
        Value: 'STRING_VALUE' /* required */
      },
      /* more items */
    ]
  },
  ArtifactName: 'STRING_VALUE',
  MetadataProperties: {
    CommitId: 'STRING_VALUE',
    GeneratedBy: 'STRING_VALUE',
    ProjectId: 'STRING_VALUE',
    Repository: 'STRING_VALUE'
  },
  Properties: {
    '<StringParameterValue>': 'STRING_VALUE',
    /* '<StringParameterValue>': ... */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createArtifact(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ArtifactName — (String)

      The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

    • Source — (map)

      The ID, ID type, and URI of the source.

      • SourceUrirequired — (String)

        The URI of the source.

      • SourceTypes — (Array<map>)

        A list of source types.

        • SourceIdTyperequired — (String)

          The type of ID.

          Possible values include:
          • "MD5Hash"
          • "S3ETag"
          • "S3Version"
          • "Custom"
        • Valuerequired — (String)

          The ID.

    • ArtifactType — (String)

      The artifact type.

    • Properties — (map<String>)

      A list of properties to add to the artifact.

    • MetadataProperties — (map)

      Metadata properties of the tracking entity, trial, or trial component.

      • CommitId — (String)

        The commit ID.

      • Repository — (String)

        The repository.

      • GeneratedBy — (String)

        The entity this entity was generated by.

      • ProjectId — (String)

        The project ID.

    • Tags — (Array<map>)

      A list of tags to apply to the artifact.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ArtifactArn — (String)

        The Amazon Resource Name (ARN) of the artifact.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAutoMLJob(params = {}, callback) ⇒ AWS.Request

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

An AutoML job in SageMaker is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment.

For more information about AutoML jobs, see https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html in the SageMaker developer guide.

Note: We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility. CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning). Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

Service Reference:

Examples:

Calling the createAutoMLJob operation

var params = {
  AutoMLJobName: 'STRING_VALUE', /* required */
  InputDataConfig: [ /* required */
    {
      TargetAttributeName: 'STRING_VALUE', /* required */
      ChannelType: training | validation,
      CompressionType: None | Gzip,
      ContentType: 'STRING_VALUE',
      DataSource: {
        S3DataSource: { /* required */
          S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
          S3Uri: 'STRING_VALUE' /* required */
        }
      },
      SampleWeightAttributeName: 'STRING_VALUE'
    },
    /* more items */
  ],
  OutputDataConfig: { /* required */
    S3OutputPath: 'STRING_VALUE', /* required */
    KmsKeyId: 'STRING_VALUE'
  },
  RoleArn: 'STRING_VALUE', /* required */
  AutoMLJobConfig: {
    CandidateGenerationConfig: {
      AlgorithmsConfig: [
        {
          AutoMLAlgorithms: [ /* required */
            xgboost | linear-learner | mlp | lightgbm | catboost | randomforest | extra-trees | nn-torch | fastai | cnn-qr | deepar | prophet | npts | arima | ets,
            /* more items */
          ]
        },
        /* more items */
      ],
      FeatureSpecificationS3Uri: 'STRING_VALUE'
    },
    CompletionCriteria: {
      MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
      MaxCandidates: 'NUMBER_VALUE',
      MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
    },
    DataSplitConfig: {
      ValidationFraction: 'NUMBER_VALUE'
    },
    Mode: AUTO | ENSEMBLING | HYPERPARAMETER_TUNING,
    SecurityConfig: {
      EnableInterContainerTrafficEncryption: true || false,
      VolumeKmsKeyId: 'STRING_VALUE',
      VpcConfig: {
        SecurityGroupIds: [ /* required */
          'STRING_VALUE',
          /* more items */
        ],
        Subnets: [ /* required */
          'STRING_VALUE',
          /* more items */
        ]
      }
    }
  },
  AutoMLJobObjective: {
    MetricName: Accuracy | MSE | F1 | F1macro | AUC | RMSE | BalancedAccuracy | R2 | Recall | RecallMacro | Precision | PrecisionMacro | MAE | MAPE | MASE | WAPE | AverageWeightedQuantileLoss /* required */
  },
  GenerateCandidateDefinitionsOnly: true || false,
  ModelDeployConfig: {
    AutoGenerateEndpointName: true || false,
    EndpointName: 'STRING_VALUE'
  },
  ProblemType: BinaryClassification | MulticlassClassification | Regression,
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createAutoMLJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AutoMLJobName — (String)

      Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

    • InputDataConfig — (Array<map>)

      An array of channel objects that describes the input data and its location. Each channel is a named input source. Similar to InputDataConfig supported by HyperParameterTrainingJobDefinition. Format(s) supported: CSV, Parquet. A minimum of 500 rows is required for the training dataset. There is not a minimum number of rows required for the validation dataset.

      • DataSource — (map)

        The data source for an AutoML channel.

        • S3DataSourcerequired — (map)

          The Amazon S3 location of the input data.

          • S3DataTyperequired — (String)

            The data type.

            • If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.

              The S3Prefix should have the following format:

              s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE

            • If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.

              A ManifestFile should have the format shown below:

              [ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},

              "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",

              "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",

              ... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]

            • If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling CreateAutoMLJobV2).

              Here is a minimal, single-record example of an AugmentedManifestFile:

              {"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",

              "label-metadata": {"class-name": "cat" }

              For more information on AugmentedManifestFile, see Provide Dataset Metadata to Training Jobs with an Augmented Manifest File.

            Possible values include:
            • "ManifestFile"
            • "S3Prefix"
            • "AugmentedManifestFile"
          • S3Urirequired — (String)

            The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.

      • CompressionType — (String)

        You can use Gzip or None. The default value is None.

        Possible values include:
        • "None"
        • "Gzip"
      • TargetAttributeNamerequired — (String)

        The name of the target variable in supervised learning, usually represented by 'y'.

      • ContentType — (String)

        The content type of the data from the input source. You can use text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

      • ChannelType — (String)

        The channel type (optional) is an enum string. The default value is training. Channels for training and validation must share the same ContentType and TargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets.

        Possible values include:
        • "training"
        • "validation"
      • SampleWeightAttributeName — (String)

        If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation.

        Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded.

        Support for sample weights is available in Ensembling mode only.

    • OutputDataConfig — (map)

      Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job. Format(s) supported: CSV.

      • KmsKeyId — (String)

        The Key Management Service encryption key ID.

      • S3OutputPathrequired — (String)

        The Amazon S3 output path. Must be 512 characters or less.

    • ProblemType — (String)

      Defines the type of supervised learning problem available for the candidates. For more information, see SageMaker Autopilot problem types.

      Possible values include:
      • "BinaryClassification"
      • "MulticlassClassification"
      • "Regression"
    • AutoMLJobObjective — (map)

      Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. See AutoMLJobObjective for the default values.

      • MetricNamerequired — (String)

        The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

        The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

        • For tabular problem types:

          • List of available metrics:

            • Regression: MAE, MSE, R2, RMSE

            • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, Precision, Recall

            • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, PrecisionMacro, RecallMacro

            For a description of each metric, see Autopilot metrics for classification and regression.

          • Default objective metrics:

            • Regression: MSE.

            • Binary classification: F1.

            • Multiclass classification: Accuracy.

        • For image or text classification problem types:

        • For time-series forecasting problem types:

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        Possible values include:
        • "Accuracy"
        • "MSE"
        • "F1"
        • "F1macro"
        • "AUC"
        • "RMSE"
        • "BalancedAccuracy"
        • "R2"
        • "Recall"
        • "RecallMacro"
        • "Precision"
        • "PrecisionMacro"
        • "MAE"
        • "MAPE"
        • "MASE"
        • "WAPE"
        • "AverageWeightedQuantileLoss"
    • AutoMLJobConfig — (map)

      A collection of settings used to configure an AutoML job.

      • CompletionCriteria — (map)

        How long an AutoML job is allowed to run, or how many candidates a job is allowed to generate.

        • MaxCandidates — (Integer)

          The maximum number of times a training job is allowed to run.

          For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

        • MaxRuntimePerTrainingJobInSeconds — (Integer)

          The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

          For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

          For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

        • MaxAutoMLJobRuntimeInSeconds — (Integer)

          The maximum runtime, in seconds, an AutoML job has to complete.

          If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

      • SecurityConfig — (map)

        The security configuration for traffic encryption or Amazon VPC settings.

        • VolumeKmsKeyId — (String)

          The key used to encrypt stored data.

        • EnableInterContainerTrafficEncryption — (Boolean)

          Whether to use traffic encryption between the container layers.

        • VpcConfig — (map)

          The VPC configuration.

          • SecurityGroupIdsrequired — (Array<String>)

            The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

          • Subnetsrequired — (Array<String>)

            The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

      • CandidateGenerationConfig — (map)

        The configuration for generating a candidate for an AutoML job (optional).

        • FeatureSpecificationS3Uri — (String)

          A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job. You can input FeatureAttributeNames (optional) in JSON format as shown below:

          { "FeatureAttributeNames":["col1", "col2", ...] }.

          You can also specify the data type of the feature (optional) in the format shown below:

          { "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }

          Note: These column keys may not include the target column.

          In ensembling mode, Autopilot only supports the following data types: numeric, categorical, text, and datetime. In HPO mode, Autopilot can support numeric, categorical, text, datetime, and sequence.

          If only FeatureDataTypes is provided, the column keys (col1, col2,..) should be a subset of the column names in the input data.

          If both FeatureDataTypes and FeatureAttributeNames are provided, then the column keys should be a subset of the column names provided in FeatureAttributeNames.

          The key name FeatureAttributeNames is fixed. The values listed in ["col1", "col2", ...] are case sensitive and should be a list of strings containing unique values that are a subset of the column names in the input data. The list of columns provided must not include the target column.

        • AlgorithmsConfig — (Array<map>)

          Stores the configuration information for the selection of algorithms trained on tabular data.

          The list of available algorithms to choose from depends on the training mode set in TabularJobConfig.Mode .

          • AlgorithmsConfig should not be set if the training mode is set on AUTO.

          • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.

            If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

          • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

          For the list of all algorithms per problem type and training mode, see AutoMLAlgorithmConfig.

          For more information on each algorithm, see the Algorithm support section in Autopilot developer guide.

          • AutoMLAlgorithmsrequired — (Array<String>)

            The selection of algorithms trained on your dataset to generate the model candidates for an Autopilot job.

            • For the tabular problem type TabularJobConfig:

              Note: Selected algorithms must belong to the list corresponding to the training mode set in AutoMLJobConfig.Mode (ENSEMBLING or HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.
              • In ENSEMBLING mode:

                • "catboost"

                • "extra-trees"

                • "fastai"

                • "lightgbm"

                • "linear-learner"

                • "nn-torch"

                • "randomforest"

                • "xgboost"

              • In HYPERPARAMETER_TUNING mode:

                • "linear-learner"

                • "mlp"

                • "xgboost"

            • For the time-series forecasting problem type TimeSeriesForecastingJobConfig:

              • Choose your algorithms from this list.

                • "cnn-qr"

                • "deepar"

                • "prophet"

                • "arima"

                • "npts"

                • "ets"

      • DataSplitConfig — (map)

        The configuration for splitting the input training dataset.

        Type: AutoMLDataSplitConfig

        • ValidationFraction — (Float)

          The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.

      • Mode — (String)

        The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones.

        The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING mode.

        The HYPERPARAMETER_TUNING (HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING mode.

        Possible values include:
        • "AUTO"
        • "ENSEMBLING"
        • "HYPERPARAMETER_TUNING"
    • RoleArn — (String)

      The ARN of the role that is used to access the data.

    • GenerateCandidateDefinitionsOnly — (Boolean)

      Generates possible candidates without training the models. A candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • ModelDeployConfig — (map)

      Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

      • AutoGenerateEndpointName — (Boolean)

        Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

        Note: If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.
      • EndpointName — (String)

        Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

        Note: Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AutoMLJobArn — (String)

        The unique ARN assigned to the AutoML job when it is created.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAutoMLJobV2(params = {}, callback) ⇒ AWS.Request

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

An AutoML job in SageMaker is a fully automated process that allows you to build machine learning models with minimal effort and machine learning expertise. When initiating an AutoML job, you provide your data and optionally specify parameters tailored to your use case. SageMaker then automates the entire model development lifecycle, including data preprocessing, model training, tuning, and evaluation. AutoML jobs are designed to simplify and accelerate the model building process by automating various tasks and exploring different combinations of machine learning algorithms, data preprocessing techniques, and hyperparameter values. The output of an AutoML job comprises one or more trained models ready for deployment and inference. Additionally, SageMaker AutoML jobs generate a candidate model leaderboard, allowing you to select the best-performing model for deployment.

For more information about AutoML jobs, see https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html in the SageMaker developer guide.

AutoML jobs V2 support various problem types such as regression, binary, and multiclass classification with tabular data, text and image classification, time-series forecasting, and fine-tuning of large language models (LLMs) for text generation.

Note: CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility. CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning). Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

Service Reference:

Examples:

Calling the createAutoMLJobV2 operation

var params = {
  AutoMLJobInputDataConfig: [ /* required */
    {
      ChannelType: training | validation,
      CompressionType: None | Gzip,
      ContentType: 'STRING_VALUE',
      DataSource: {
        S3DataSource: { /* required */
          S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
          S3Uri: 'STRING_VALUE' /* required */
        }
      }
    },
    /* more items */
  ],
  AutoMLJobName: 'STRING_VALUE', /* required */
  AutoMLProblemTypeConfig: { /* required */
    ImageClassificationJobConfig: {
      CompletionCriteria: {
        MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
        MaxCandidates: 'NUMBER_VALUE',
        MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
      }
    },
    TabularJobConfig: {
      TargetAttributeName: 'STRING_VALUE', /* required */
      CandidateGenerationConfig: {
        AlgorithmsConfig: [
          {
            AutoMLAlgorithms: [ /* required */
              xgboost | linear-learner | mlp | lightgbm | catboost | randomforest | extra-trees | nn-torch | fastai | cnn-qr | deepar | prophet | npts | arima | ets,
              /* more items */
            ]
          },
          /* more items */
        ]
      },
      CompletionCriteria: {
        MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
        MaxCandidates: 'NUMBER_VALUE',
        MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
      },
      FeatureSpecificationS3Uri: 'STRING_VALUE',
      GenerateCandidateDefinitionsOnly: true || false,
      Mode: AUTO | ENSEMBLING | HYPERPARAMETER_TUNING,
      ProblemType: BinaryClassification | MulticlassClassification | Regression,
      SampleWeightAttributeName: 'STRING_VALUE'
    },
    TextClassificationJobConfig: {
      ContentColumn: 'STRING_VALUE', /* required */
      TargetLabelColumn: 'STRING_VALUE', /* required */
      CompletionCriteria: {
        MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
        MaxCandidates: 'NUMBER_VALUE',
        MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
      }
    },
    TextGenerationJobConfig: {
      BaseModelName: 'STRING_VALUE',
      CompletionCriteria: {
        MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
        MaxCandidates: 'NUMBER_VALUE',
        MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
      },
      ModelAccessConfig: {
        AcceptEula: true || false /* required */
      },
      TextGenerationHyperParameters: {
        '<TextGenerationHyperParameterKey>': 'STRING_VALUE',
        /* '<TextGenerationHyperParameterKey>': ... */
      }
    },
    TimeSeriesForecastingJobConfig: {
      ForecastFrequency: 'STRING_VALUE', /* required */
      ForecastHorizon: 'NUMBER_VALUE', /* required */
      TimeSeriesConfig: { /* required */
        ItemIdentifierAttributeName: 'STRING_VALUE', /* required */
        TargetAttributeName: 'STRING_VALUE', /* required */
        TimestampAttributeName: 'STRING_VALUE', /* required */
        GroupingAttributeNames: [
          'STRING_VALUE',
          /* more items */
        ]
      },
      CandidateGenerationConfig: {
        AlgorithmsConfig: [
          {
            AutoMLAlgorithms: [ /* required */
              xgboost | linear-learner | mlp | lightgbm | catboost | randomforest | extra-trees | nn-torch | fastai | cnn-qr | deepar | prophet | npts | arima | ets,
              /* more items */
            ]
          },
          /* more items */
        ]
      },
      CompletionCriteria: {
        MaxAutoMLJobRuntimeInSeconds: 'NUMBER_VALUE',
        MaxCandidates: 'NUMBER_VALUE',
        MaxRuntimePerTrainingJobInSeconds: 'NUMBER_VALUE'
      },
      FeatureSpecificationS3Uri: 'STRING_VALUE',
      ForecastQuantiles: [
        'STRING_VALUE',
        /* more items */
      ],
      HolidayConfig: [
        {
          CountryCode: 'STRING_VALUE'
        },
        /* more items */
      ],
      Transformations: {
        Aggregation: {
          '<TransformationAttributeName>': sum | avg | first | min | max,
          /* '<TransformationAttributeName>': ... */
        },
        Filling: {
          '<TransformationAttributeName>': {
            '<FillingType>': 'STRING_VALUE',
            /* '<FillingType>': ... */
          },
          /* '<TransformationAttributeName>': ... */
        }
      }
    }
  },
  OutputDataConfig: { /* required */
    S3OutputPath: 'STRING_VALUE', /* required */
    KmsKeyId: 'STRING_VALUE'
  },
  RoleArn: 'STRING_VALUE', /* required */
  AutoMLComputeConfig: {
    EmrServerlessComputeConfig: {
      ExecutionRoleARN: 'STRING_VALUE' /* required */
    }
  },
  AutoMLJobObjective: {
    MetricName: Accuracy | MSE | F1 | F1macro | AUC | RMSE | BalancedAccuracy | R2 | Recall | RecallMacro | Precision | PrecisionMacro | MAE | MAPE | MASE | WAPE | AverageWeightedQuantileLoss /* required */
  },
  DataSplitConfig: {
    ValidationFraction: 'NUMBER_VALUE'
  },
  ModelDeployConfig: {
    AutoGenerateEndpointName: true || false,
    EndpointName: 'STRING_VALUE'
  },
  SecurityConfig: {
    EnableInterContainerTrafficEncryption: true || false,
    VolumeKmsKeyId: 'STRING_VALUE',
    VpcConfig: {
      SecurityGroupIds: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Subnets: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    }
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createAutoMLJobV2(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • AutoMLJobName — (String)

      Identifies an Autopilot job. The name must be unique to your account and is case insensitive.

    • AutoMLJobInputDataConfig — (Array<map>)

      An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend on the problem type:

      • For tabular problem types: S3Prefix, ManifestFile.

      • For image classification: S3Prefix, ManifestFile, AugmentedManifestFile.

      • For text classification: S3Prefix.

      • For time-series forecasting: S3Prefix.

      • For text generation (LLMs fine-tuning): S3Prefix.

      • ChannelType — (String)

        The type of channel. Defines whether the data are used for training or validation. The default value is training. Channels for training and validation must share the same ContentType

        Note: The type of channel defaults to training for the time-series forecasting problem type.
        Possible values include:
        • "training"
        • "validation"
      • ContentType — (String)

        The content type of the data from the input source. The following are the allowed content types for different problems:

        • For tabular problem types: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

        • For image classification: image/png, image/jpeg, or image/*. The default value is image/*.

        • For text classification: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

        • For time-series forecasting: text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

        • For text generation (LLMs fine-tuning): text/csv;header=present or x-application/vnd.amazon+parquet. The default value is text/csv;header=present.

      • CompressionType — (String)

        The allowed compression types depend on the input format and problem type. We allow the compression type Gzip for S3Prefix inputs on tabular data only. For all other inputs, the compression type should be None. If no compression type is provided, we default to None.

        Possible values include:
        • "None"
        • "Gzip"
      • DataSource — (map)

        The data source for an AutoML channel (Required).

        • S3DataSourcerequired — (map)

          The Amazon S3 location of the input data.

          • S3DataTyperequired — (String)

            The data type.

            • If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.

              The S3Prefix should have the following format:

              s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE

            • If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.

              A ManifestFile should have the format shown below:

              [ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"},

              "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1",

              "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2",

              ... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]

            • If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling CreateAutoMLJobV2).

              Here is a minimal, single-record example of an AugmentedManifestFile:

              {"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg",

              "label-metadata": {"class-name": "cat" }

              For more information on AugmentedManifestFile, see Provide Dataset Metadata to Training Jobs with an Augmented Manifest File.

            Possible values include:
            • "ManifestFile"
            • "S3Prefix"
            • "AugmentedManifestFile"
          • S3Urirequired — (String)

            The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.

    • OutputDataConfig — (map)

      Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job.

      • KmsKeyId — (String)

        The Key Management Service encryption key ID.

      • S3OutputPathrequired — (String)

        The Amazon S3 output path. Must be 512 characters or less.

    • AutoMLProblemTypeConfig — (map)

      Defines the configuration settings of one of the supported problem types.

      • ImageClassificationJobConfig — (map)

        Settings used to configure an AutoML job V2 for the image classification problem type.

        • CompletionCriteria — (map)

          How long a job is allowed to run, or how many candidates a job is allowed to generate.

          • MaxCandidates — (Integer)

            The maximum number of times a training job is allowed to run.

            For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

          • MaxRuntimePerTrainingJobInSeconds — (Integer)

            The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

            For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

            For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

          • MaxAutoMLJobRuntimeInSeconds — (Integer)

            The maximum runtime, in seconds, an AutoML job has to complete.

            If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

      • TextClassificationJobConfig — (map)

        Settings used to configure an AutoML job V2 for the text classification problem type.

        • CompletionCriteria — (map)

          How long a job is allowed to run, or how many candidates a job is allowed to generate.

          • MaxCandidates — (Integer)

            The maximum number of times a training job is allowed to run.

            For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

          • MaxRuntimePerTrainingJobInSeconds — (Integer)

            The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

            For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

            For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

          • MaxAutoMLJobRuntimeInSeconds — (Integer)

            The maximum runtime, in seconds, an AutoML job has to complete.

            If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

        • ContentColumnrequired — (String)

          The name of the column used to provide the sentences to be classified. It should not be the same as the target column.

        • TargetLabelColumnrequired — (String)

          The name of the column used to provide the class labels. It should not be same as the content column.

      • TimeSeriesForecastingJobConfig — (map)

        Settings used to configure an AutoML job V2 for the time-series forecasting problem type.

        • FeatureSpecificationS3Uri — (String)

          A URL to the Amazon S3 data source containing additional selected features that complement the target, itemID, timestamp, and grouped columns set in TimeSeriesConfig. When not provided, the AutoML job V2 includes all the columns from the original dataset that are not already declared in TimeSeriesConfig. If provided, the AutoML job V2 only considers these additional columns as a complement to the ones declared in TimeSeriesConfig.

          You can input FeatureAttributeNames (optional) in JSON format as shown below:

          { "FeatureAttributeNames":["col1", "col2", ...] }.

          You can also specify the data type of the feature (optional) in the format shown below:

          { "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }

          Autopilot supports the following data types: numeric, categorical, text, and datetime.

          Note: These column keys must not include any column set in TimeSeriesConfig.
        • CompletionCriteria — (map)

          How long a job is allowed to run, or how many candidates a job is allowed to generate.

          • MaxCandidates — (Integer)

            The maximum number of times a training job is allowed to run.

            For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

          • MaxRuntimePerTrainingJobInSeconds — (Integer)

            The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

            For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

            For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

          • MaxAutoMLJobRuntimeInSeconds — (Integer)

            The maximum runtime, in seconds, an AutoML job has to complete.

            If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

        • ForecastFrequencyrequired — (String)

          The frequency of predictions in a forecast.

          Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, 1D indicates every day and 15min indicates every 15 minutes. The value of a frequency must not overlap with the next larger frequency. For example, you must use a frequency of 1H instead of 60min.

          The valid values for each frequency are the following:

          • Minute - 1-59

          • Hour - 1-23

          • Day - 1-6

          • Week - 1-4

          • Month - 1-11

          • Year - 1

        • ForecastHorizonrequired — (Integer)

          The number of time-steps that the model predicts. The forecast horizon is also called the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4 of the time-steps in the dataset.

        • ForecastQuantiles — (Array<String>)

          The quantiles used to train the model for forecasts at a specified quantile. You can specify quantiles from 0.01 (p1) to 0.99 (p99), by increments of 0.01 or higher. Up to five forecast quantiles can be specified. When ForecastQuantiles is not provided, the AutoML job uses the quantiles p10, p50, and p90 as default.

        • Transformations — (map)

          The transformations modifying specific attributes of the time-series, such as filling strategies for missing values.

          • Filling — (map<map<String>>)

            A key value pair defining the filling method for a column, where the key is the column name and the value is an object which defines the filling logic. You can specify multiple filling methods for a single column.

            The supported filling methods and their corresponding options are:

            • frontfill: none (Supported only for target column)

            • middlefill: zero, value, median, mean, min, max

            • backfill: zero, value, median, mean, min, max

            • futurefill: zero, value, median, mean, min, max

            To set a filling method to a specific value, set the fill parameter to the chosen filling method value (for example "backfill" : "value"), and define the filling value in an additional parameter prefixed with "_value". For example, to set backfill to a value of 2, you must include two parameters: "backfill": "value" and "backfill_value":"2".

          • Aggregation — (map<String>)

            A key value pair defining the aggregation method for a column, where the key is the column name and the value is the aggregation method.

            The supported aggregation methods are sum (default), avg, first, min, max.

            Note: Aggregation is only supported for the target column.
        • TimeSeriesConfigrequired — (map)

          The collection of components that defines the time-series.

          • TargetAttributeNamerequired — (String)

            The name of the column representing the target variable that you want to predict for each item in your dataset. The data type of the target variable must be numerical.

          • TimestampAttributeNamerequired — (String)

            The name of the column indicating a point in time at which the target value of a given item is recorded.

          • ItemIdentifierAttributeNamerequired — (String)

            The name of the column that represents the set of item identifiers for which you want to predict the target value.

          • GroupingAttributeNames — (Array<String>)

            A set of columns names that can be grouped with the item identifier column to create a composite key for which a target value is predicted.

        • HolidayConfig — (Array<map>)

          The collection of holiday featurization attributes used to incorporate national holiday information into your forecasting model.

          • CountryCode — (String)

            The country code for the holiday calendar.

            For the list of public holiday calendars supported by AutoML job V2, see Country Codes. Use the country code corresponding to the country of your choice.

        • CandidateGenerationConfig — (map)

          Stores the configuration information for how model candidates are generated using an AutoML job V2.

          • AlgorithmsConfig — (Array<map>)

            Your Autopilot job trains a default set of algorithms on your dataset. For tabular and time-series data, you can customize the algorithm list by selecting a subset of algorithms for your problem type.

            AlgorithmsConfig stores the customized selection of algorithms to train on your data.

            • For the tabular problem type TabularJobConfig, the list of available algorithms to choose from depends on the training mode set in AutoMLJobConfig.Mode .

              • AlgorithmsConfig should not be set when the training mode AutoMLJobConfig.Mode is set to AUTO.

              • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.

                If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

              • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

              For the list of all algorithms per training mode, see AlgorithmConfig.

              For more information on each algorithm, see the Algorithm support section in the Autopilot developer guide.

            • For the time-series forecasting problem type TimeSeriesForecastingJobConfig, choose your algorithms from the list provided in AlgorithmConfig.

              For more information on each algorithm, see the Algorithms support for time-series forecasting section in the Autopilot developer guide.

              • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.

                If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for time-series forecasting.

              • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for time-series forecasting.

            • AutoMLAlgorithmsrequired — (Array<String>)

              The selection of algorithms trained on your dataset to generate the model candidates for an Autopilot job.

              • For the tabular problem type TabularJobConfig:

                Note: Selected algorithms must belong to the list corresponding to the training mode set in AutoMLJobConfig.Mode (ENSEMBLING or HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.
                • In ENSEMBLING mode:

                  • "catboost"

                  • "extra-trees"

                  • "fastai"

                  • "lightgbm"

                  • "linear-learner"

                  • "nn-torch"

                  • "randomforest"

                  • "xgboost"

                • In HYPERPARAMETER_TUNING mode:

                  • "linear-learner"

                  • "mlp"

                  • "xgboost"

              • For the time-series forecasting problem type TimeSeriesForecastingJobConfig:

                • Choose your algorithms from this list.

                  • "cnn-qr"

                  • "deepar"

                  • "prophet"

                  • "arima"

                  • "npts"

                  • "ets"

      • TabularJobConfig — (map)

        Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).

        • CandidateGenerationConfig — (map)

          The configuration information of how model candidates are generated.

          • AlgorithmsConfig — (Array<map>)

            Your Autopilot job trains a default set of algorithms on your dataset. For tabular and time-series data, you can customize the algorithm list by selecting a subset of algorithms for your problem type.

            AlgorithmsConfig stores the customized selection of algorithms to train on your data.

            • For the tabular problem type TabularJobConfig, the list of available algorithms to choose from depends on the training mode set in AutoMLJobConfig.Mode .

              • AlgorithmsConfig should not be set when the training mode AutoMLJobConfig.Mode is set to AUTO.

              • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.

                If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

              • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for the given training mode.

              For the list of all algorithms per training mode, see AlgorithmConfig.

              For more information on each algorithm, see the Algorithm support section in the Autopilot developer guide.

            • For the time-series forecasting problem type TimeSeriesForecastingJobConfig, choose your algorithms from the list provided in AlgorithmConfig.

              For more information on each algorithm, see the Algorithms support for time-series forecasting section in the Autopilot developer guide.

              • When AlgorithmsConfig is provided, one AutoMLAlgorithms attribute must be set and one only.

                If the list of algorithms provided as values for AutoMLAlgorithms is empty, CandidateGenerationConfig uses the full set of algorithms for time-series forecasting.

              • When AlgorithmsConfig is not provided, CandidateGenerationConfig uses the full set of algorithms for time-series forecasting.

            • AutoMLAlgorithmsrequired — (Array<String>)

              The selection of algorithms trained on your dataset to generate the model candidates for an Autopilot job.

              • For the tabular problem type TabularJobConfig:

                Note: Selected algorithms must belong to the list corresponding to the training mode set in AutoMLJobConfig.Mode (ENSEMBLING or HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.
                • In ENSEMBLING mode:

                  • "catboost"

                  • "extra-trees"

                  • "fastai"

                  • "lightgbm"

                  • "linear-learner"

                  • "nn-torch"

                  • "randomforest"

                  • "xgboost"

                • In HYPERPARAMETER_TUNING mode:

                  • "linear-learner"

                  • "mlp"

                  • "xgboost"

              • For the time-series forecasting problem type TimeSeriesForecastingJobConfig:

                • Choose your algorithms from this list.

                  • "cnn-qr"

                  • "deepar"

                  • "prophet"

                  • "arima"

                  • "npts"

                  • "ets"

        • CompletionCriteria — (map)

          How long a job is allowed to run, or how many candidates a job is allowed to generate.

          • MaxCandidates — (Integer)

            The maximum number of times a training job is allowed to run.

            For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

          • MaxRuntimePerTrainingJobInSeconds — (Integer)

            The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

            For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

            For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

          • MaxAutoMLJobRuntimeInSeconds — (Integer)

            The maximum runtime, in seconds, an AutoML job has to complete.

            If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

        • FeatureSpecificationS3Uri — (String)

          A URL to the Amazon S3 data source containing selected features from the input data source to run an Autopilot job V2. You can input FeatureAttributeNames (optional) in JSON format as shown below:

          { "FeatureAttributeNames":["col1", "col2", ...] }.

          You can also specify the data type of the feature (optional) in the format shown below:

          { "FeatureDataTypes":{"col1":"numeric", "col2":"categorical" ... } }

          Note: These column keys may not include the target column.

          In ensembling mode, Autopilot only supports the following data types: numeric, categorical, text, and datetime. In HPO mode, Autopilot can support numeric, categorical, text, datetime, and sequence.

          If only FeatureDataTypes is provided, the column keys (col1, col2,..) should be a subset of the column names in the input data.

          If both FeatureDataTypes and FeatureAttributeNames are provided, then the column keys should be a subset of the column names provided in FeatureAttributeNames.

          The key name FeatureAttributeNames is fixed. The values listed in ["col1", "col2", ...] are case sensitive and should be a list of strings containing unique values that are a subset of the column names in the input data. The list of columns provided must not include the target column.

        • Mode — (String)

          The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones.

          The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING mode.

          The HYPERPARAMETER_TUNING (HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING mode.

          Possible values include:
          • "AUTO"
          • "ENSEMBLING"
          • "HYPERPARAMETER_TUNING"
        • GenerateCandidateDefinitionsOnly — (Boolean)

          Generates possible candidates without training the models. A model candidate is a combination of data preprocessors, algorithms, and algorithm parameter settings.

        • ProblemType — (String)

          The type of supervised learning problem available for the model candidates of the AutoML job V2. For more information, see SageMaker Autopilot problem types.

          Note: You must either specify the type of supervised learning problem in ProblemType and provide the AutoMLJobObjective metric, or none at all.
          Possible values include:
          • "BinaryClassification"
          • "MulticlassClassification"
          • "Regression"
        • TargetAttributeNamerequired — (String)

          The name of the target variable in supervised learning, usually represented by 'y'.

        • SampleWeightAttributeName — (String)

          If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation.

          Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded.

          Support for sample weights is available in Ensembling mode only.

      • TextGenerationJobConfig — (map)

        Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.

        Note: The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.
        • CompletionCriteria — (map)

          How long a fine-tuning job is allowed to run. For TextGenerationJobConfig problem types, the MaxRuntimePerTrainingJobInSeconds attribute of AutoMLJobCompletionCriteria defaults to 72h (259200s).

          • MaxCandidates — (Integer)

            The maximum number of times a training job is allowed to run.

            For text and image classification, time-series forecasting, as well as text generation (LLMs fine-tuning) problem types, the supported value is 1. For tabular problem types, the maximum value is 750.

          • MaxRuntimePerTrainingJobInSeconds — (Integer)

            The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the StoppingCondition used by the CreateHyperParameterTuningJob action.

            For job V2s (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.

            For TextGenerationJobConfig problem types, the maximum time defaults to 72 hours (259200 seconds).

          • MaxAutoMLJobRuntimeInSeconds — (Integer)

            The maximum runtime, in seconds, an AutoML job has to complete.

            If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.

        • BaseModelName — (String)

          The name of the base model to fine-tune. Autopilot supports fine-tuning a variety of large language models. For information on the list of supported models, see Text generation models supporting fine-tuning in Autopilot. If no BaseModelName is provided, the default model used is Falcon7BInstruct.

        • TextGenerationHyperParameters — (map<String>)

          The hyperparameters used to configure and optimize the learning process of the base model. You can set any combination of the following hyperparameters for all base models. For more information on each supported hyperparameter, see Optimize the learning process of your text generation models with hyperparameters.

          • "epochCount": The number of times the model goes through the entire training dataset. Its value should be a string containing an integer value within the range of "1" to "10".

          • "batchSize": The number of data samples used in each iteration of training. Its value should be a string containing an integer value within the range of "1" to "64".

          • "learningRate": The step size at which a model's parameters are updated during training. Its value should be a string containing a floating-point value within the range of "0" to "1".

          • "learningRateWarmupSteps": The number of training steps during which the learning rate gradually increases before reaching its target or maximum value. Its value should be a string containing an integer value within the range of "0" to "250".

          Here is an example where all four hyperparameters are configured.

          { "epochCount":"5", "learningRate":"0.5", "batchSize": "32", "learningRateWarmupSteps": "10" }

        • ModelAccessConfig — (map)

          The access configuration file to control access to the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig.

          • AcceptEularequired — (Boolean)

            Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

    • RoleArn — (String)

      The ARN of the role that is used to access the data.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • SecurityConfig — (map)

      The security configuration for traffic encryption or Amazon VPC settings.

      • VolumeKmsKeyId — (String)

        The key used to encrypt stored data.

      • EnableInterContainerTrafficEncryption — (Boolean)

        Whether to use traffic encryption between the container layers.

      • VpcConfig — (map)

        The VPC configuration.

        • SecurityGroupIdsrequired — (Array<String>)

          The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • Subnetsrequired — (Array<String>)

          The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

    • AutoMLJobObjective — (map)

      Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective.

      Note:
      • For tabular problem types: You must either provide both the AutoMLJobObjective and indicate the type of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType), or none at all.
      • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.
      • MetricNamerequired — (String)

        The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset.

        The list of available metrics supported by Autopilot and the default metric applied when you do not specify a metric name explicitly depend on the problem type.

        • For tabular problem types:

          • List of available metrics:

            • Regression: MAE, MSE, R2, RMSE

            • Binary classification: Accuracy, AUC, BalancedAccuracy, F1, Precision, Recall

            • Multiclass classification: Accuracy, BalancedAccuracy, F1macro, PrecisionMacro, RecallMacro

            For a description of each metric, see Autopilot metrics for classification and regression.

          • Default objective metrics:

            • Regression: MSE.

            • Binary classification: F1.

            • Multiclass classification: Accuracy.

        • For image or text classification problem types:

        • For time-series forecasting problem types:

        • For text generation problem types (LLMs fine-tuning): Fine-tuning language models in Autopilot does not require setting the AutoMLJobObjective field. Autopilot fine-tunes LLMs without requiring multiple candidates to be trained and evaluated. Instead, using your dataset, Autopilot directly fine-tunes your target model to enhance a default objective metric, the cross-entropy loss. After fine-tuning a language model, you can evaluate the quality of its generated text using different metrics. For a list of the available metrics, see Metrics for fine-tuning LLMs in Autopilot.

        Possible values include:
        • "Accuracy"
        • "MSE"
        • "F1"
        • "F1macro"
        • "AUC"
        • "RMSE"
        • "BalancedAccuracy"
        • "R2"
        • "Recall"
        • "RecallMacro"
        • "Precision"
        • "PrecisionMacro"
        • "MAE"
        • "MAPE"
        • "MASE"
        • "WAPE"
        • "AverageWeightedQuantileLoss"
    • ModelDeployConfig — (map)

      Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.

      • AutoGenerateEndpointName — (Boolean)

        Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

        Note: If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.
      • EndpointName — (String)

        Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

        Note: Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.
    • DataSplitConfig — (map)

      This structure specifies how to split the data into train and validation datasets.

      The validation and training datasets must contain the same headers. For jobs created by calling CreateAutoMLJob, the validation dataset must be less than 2 GB in size.

      Note: This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits the input dataset into training and validation sets.
      • ValidationFraction — (Float)

        The validation fraction (optional) is a float that specifies the portion of the training dataset to be used for validation. The default value is 0.2, and values must be greater than 0 and less than 1. We recommend setting this value to be less than 0.5.

    • AutoMLComputeConfig — (map)

      Specifies the compute configuration for the AutoML job V2.

      • EmrServerlessComputeConfig — (map)

        The configuration for using EMR Serverless to run the AutoML job V2.

        To allow your AutoML job V2 to automatically initiate a remote job on EMR Serverless when additional compute resources are needed to process large datasets, you need to provide an EmrServerlessComputeConfig object, which includes an ExecutionRoleARN attribute, to the AutoMLComputeConfig of the AutoML job V2 input request.

        By seamlessly transitioning to EMR Serverless when required, the AutoML job can handle datasets that would otherwise exceed the initially provisioned resources, without any manual intervention from you.

        EMR Serverless is available for the tabular and time series problem types. We recommend setting up this option for tabular datasets larger than 5 GB and time series datasets larger than 30 GB.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • AutoMLJobArn — (String)

        The unique ARN assigned to the AutoMLJob when it is created.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createCluster(params = {}, callback) ⇒ AWS.Request

Creates a SageMaker HyperPod cluster. SageMaker HyperPod is a capability of SageMaker for creating and managing persistent clusters for developing large machine learning models, such as large language models (LLMs) and diffusion models. To learn more, see Amazon SageMaker HyperPod in the Amazon SageMaker Developer Guide.

Service Reference:

Examples:

Calling the createCluster operation

var params = {
  ClusterName: 'STRING_VALUE', /* required */
  InstanceGroups: [ /* required */
    {
      ExecutionRole: 'STRING_VALUE', /* required */
      InstanceCount: 'NUMBER_VALUE', /* required */
      InstanceGroupName: 'STRING_VALUE', /* required */
      InstanceType: ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.c5n.large | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge, /* required */
      LifeCycleConfig: { /* required */
        OnCreate: 'STRING_VALUE', /* required */
        SourceS3Uri: 'STRING_VALUE' /* required */
      },
      InstanceStorageConfigs: [
        {
          EbsVolumeConfig: {
            VolumeSizeInGB: 'NUMBER_VALUE' /* required */
          }
        },
        /* more items */
      ],
      ThreadsPerCore: 'NUMBER_VALUE'
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VpcConfig: {
    SecurityGroupIds: [ /* required */
      'STRING_VALUE',
      /* more items */
    ],
    Subnets: [ /* required */
      'STRING_VALUE',
      /* more items */
    ]
  }
};
sagemaker.createCluster(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ClusterName — (String)

      The name for the new SageMaker HyperPod cluster.

    • InstanceGroups — (Array<map>)

      The instance groups to be created in the SageMaker HyperPod cluster.

      • InstanceCountrequired — (Integer)

        Specifies the number of instances to add to the instance group of a SageMaker HyperPod cluster.

      • InstanceGroupNamerequired — (String)

        Specifies the name of the instance group.

      • InstanceTyperequired — (String)

        Specifies the instance type of the instance group.

        Possible values include:
        • "ml.p4d.24xlarge"
        • "ml.p4de.24xlarge"
        • "ml.p5.48xlarge"
        • "ml.trn1.32xlarge"
        • "ml.trn1n.32xlarge"
        • "ml.g5.xlarge"
        • "ml.g5.2xlarge"
        • "ml.g5.4xlarge"
        • "ml.g5.8xlarge"
        • "ml.g5.12xlarge"
        • "ml.g5.16xlarge"
        • "ml.g5.24xlarge"
        • "ml.g5.48xlarge"
        • "ml.c5.large"
        • "ml.c5.xlarge"
        • "ml.c5.2xlarge"
        • "ml.c5.4xlarge"
        • "ml.c5.9xlarge"
        • "ml.c5.12xlarge"
        • "ml.c5.18xlarge"
        • "ml.c5.24xlarge"
        • "ml.c5n.large"
        • "ml.c5n.2xlarge"
        • "ml.c5n.4xlarge"
        • "ml.c5n.9xlarge"
        • "ml.c5n.18xlarge"
        • "ml.m5.large"
        • "ml.m5.xlarge"
        • "ml.m5.2xlarge"
        • "ml.m5.4xlarge"
        • "ml.m5.8xlarge"
        • "ml.m5.12xlarge"
        • "ml.m5.16xlarge"
        • "ml.m5.24xlarge"
        • "ml.t3.medium"
        • "ml.t3.large"
        • "ml.t3.xlarge"
        • "ml.t3.2xlarge"
      • LifeCycleConfigrequired — (map)

        Specifies the LifeCycle configuration for the instance group.

        • SourceS3Urirequired — (String)

          An Amazon S3 bucket path where your lifecycle scripts are stored.

          Make sure that the S3 bucket path starts with s3://sagemaker-. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy attached, which allows access to S3 buckets with the specific prefix sagemaker-.

        • OnCreaterequired — (String)

          The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

      • ExecutionRolerequired — (String)

        Specifies an IAM execution role to be assumed by the instance group.

      • ThreadsPerCore — (Integer)

        Specifies the value for Threads per core. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For instance types that doesn't support multithreading, specify 1. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

      • InstanceStorageConfigs — (Array<map>)

        Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

        • EbsVolumeConfig — (map)

          Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeSizeInGBrequired — (Integer)

            The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

    • VpcConfig — (map)

      Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

      • SecurityGroupIdsrequired — (Array<String>)

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

      • Subnetsrequired — (Array<String>)

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

    • Tags — (Array<map>)

      Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ClusterArn — (String)

        The Amazon Resource Name (ARN) of the cluster.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createCodeRepository(params = {}, callback) ⇒ AWS.Request

Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in Amazon Web Services CodeCommit or in any other Git repository.

Service Reference:

Examples:

Calling the createCodeRepository operation

var params = {
  CodeRepositoryName: 'STRING_VALUE', /* required */
  GitConfig: { /* required */
    RepositoryUrl: 'STRING_VALUE', /* required */
    Branch: 'STRING_VALUE',
    SecretArn: 'STRING_VALUE'
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createCodeRepository(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CodeRepositoryName — (String)

      The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

    • GitConfig — (map)

      Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.

      • RepositoryUrlrequired — (String)

        The URL where the Git repository is located.

      • Branch — (String)

        The default branch for the Git repository.

      • SecretArn — (String)

        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of AWSCURRENT and must be in the following format:

        {"username": UserName, "password": Password}

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CodeRepositoryArn — (String)

        The Amazon Resource Name (ARN) of the new repository.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createCompilationJob(params = {}, callback) ⇒ AWS.Request

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with Amazon Web Services IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

  • A name for the compilation job

  • Information about the input model artifacts

  • The output location for the compiled model and the device (target) that the model runs on

  • The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to perform the model compilation job.

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

Service Reference:

Examples:

Calling the createCompilationJob operation

var params = {
  CompilationJobName: 'STRING_VALUE', /* required */
  OutputConfig: { /* required */
    S3OutputLocation: 'STRING_VALUE', /* required */
    CompilerOptions: 'STRING_VALUE',
    KmsKeyId: 'STRING_VALUE',
    TargetDevice: lambda | ml_m4 | ml_m5 | ml_m6g | ml_c4 | ml_c5 | ml_c6g | ml_p2 | ml_p3 | ml_g4dn | ml_inf1 | ml_inf2 | ml_trn1 | ml_eia2 | jetson_tx1 | jetson_tx2 | jetson_nano | jetson_xavier | rasp3b | rasp4b | imx8qm | deeplens | rk3399 | rk3288 | aisage | sbe_c | qcs605 | qcs603 | sitara_am57x | amba_cv2 | amba_cv22 | amba_cv25 | x86_win32 | x86_win64 | coreml | jacinto_tda4vm | imx8mplus,
    TargetPlatform: {
      Arch: X86_64 | X86 | ARM64 | ARM_EABI | ARM_EABIHF, /* required */
      Os: ANDROID | LINUX, /* required */
      Accelerator: INTEL_GRAPHICS | MALI | NVIDIA | NNA
    }
  },
  RoleArn: 'STRING_VALUE', /* required */
  StoppingCondition: { /* required */
    MaxPendingTimeInSeconds: 'NUMBER_VALUE',
    MaxRuntimeInSeconds: 'NUMBER_VALUE',
    MaxWaitTimeInSeconds: 'NUMBER_VALUE'
  },
  InputConfig: {
    Framework: TENSORFLOW | KERAS | MXNET | ONNX | PYTORCH | XGBOOST | TFLITE | DARKNET | SKLEARN, /* required */
    S3Uri: 'STRING_VALUE', /* required */
    DataInputConfig: 'STRING_VALUE',
    FrameworkVersion: 'STRING_VALUE'
  },
  ModelPackageVersionArn: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VpcConfig: {
    SecurityGroupIds: [ /* required */
      'STRING_VALUE',
      /* more items */
    ],
    Subnets: [ /* required */
      'STRING_VALUE',
      /* more items */
    ]
  }
};
sagemaker.createCompilationJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CompilationJobName — (String)

      A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

      During model compilation, Amazon SageMaker needs your permission to:

      • Read input data from an S3 bucket

      • Write model artifacts to an S3 bucket

      • Write logs to Amazon CloudWatch Logs

      • Publish metrics to Amazon CloudWatch

      You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.

    • ModelPackageVersionArn — (String)

      The Amazon Resource Name (ARN) of a versioned model package. Provide either a ModelPackageVersionArn or an InputConfig object in the request syntax. The presence of both objects in the CreateCompilationJob request will return an exception.

    • InputConfig — (map)

      Provides information about the location of input model artifacts, the name and shape of the expected data inputs, and the framework in which the model was trained.

      • S3Urirequired — (String)

        The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

      • DataInputConfig — (String)

        Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. The data inputs are Framework specific.

        • TensorFlow: You must specify the name and shape (NHWC format) of the expected data inputs using a dictionary format for your trained model. The dictionary formats required for the console and CLI are different.

          • Examples for one input:

            • If using the console, {"input":[1,1024,1024,3]}

            • If using the CLI, {\"input\":[1,1024,1024,3]}

          • Examples for two inputs:

            • If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]}

            • If using the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}

        • KERAS: You must specify the name and shape (NCHW format) of expected data inputs using a dictionary format for your trained model. Note that while Keras model artifacts should be uploaded in NHWC (channel-last) format, DataInputConfig should be specified in NCHW (channel-first) format. The dictionary formats required for the console and CLI are different.

          • Examples for one input:

            • If using the console, {"input_1":[1,3,224,224]}

            • If using the CLI, {\"input_1\":[1,3,224,224]}

          • Examples for two inputs:

            • If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]}

            • If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]}

        • MXNET/ONNX/DARKNET: You must specify the name and shape (NCHW format) of the expected data inputs in order using a dictionary format for your trained model. The dictionary formats required for the console and CLI are different.

          • Examples for one input:

            • If using the console, {"data":[1,3,1024,1024]}

            • If using the CLI, {\"data\":[1,3,1024,1024]}

          • Examples for two inputs:

            • If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]}

            • If using the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}

        • PyTorch: You can either specify the name and shape (NCHW format) of expected data inputs in order using a dictionary format for your trained model or you can specify the shape only using a list format. The dictionary formats required for the console and CLI are different. The list formats for the console and CLI are the same.

          • Examples for one input in dictionary format:

            • If using the console, {"input0":[1,3,224,224]}

            • If using the CLI, {\"input0\":[1,3,224,224]}

          • Example for one input in list format: [[1,3,224,224]]

          • Examples for two inputs in dictionary format:

            • If using the console, {"input0":[1,3,224,224], "input1":[1,3,224,224]}

            • If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}

          • Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]

        • XGBOOST: input data name and shape are not needed.

        DataInputConfig supports the following parameters for CoreML TargetDevice (ML Model format):

        • shape: Input shape, for example {"input_1": {"shape": [1,224,224,3]}}. In addition to static input shapes, CoreML converter supports Flexible input shapes:

          • Range Dimension. You can use the Range Dimension feature if you know the input shape will be within some specific interval in that dimension, for example: {"input_1": {"shape": ["1..10", 224, 224, 3]}}

          • Enumerated shapes. Sometimes, the models are trained to work only on a select set of inputs. You can enumerate all supported input shapes, for example: {"input_1": {"shape": [[1, 224, 224, 3], [1, 160, 160, 3]]}}

        • default_shape: Default input shape. You can set a default shape during conversion for both Range Dimension and Enumerated Shapes. For example {"input_1": {"shape": ["1..10", 224, 224, 3], "default_shape": [1, 224, 224, 3]}}

        • type: Input type. Allowed values: Image and Tensor. By default, the converter generates an ML Model with inputs of type Tensor (MultiArray). User can set input type to be Image. Image input type requires additional input parameters such as bias and scale.

        • bias: If the input type is an Image, you need to provide the bias vector.

        • scale: If the input type is an Image, you need to provide a scale factor.

        CoreML ClassifierConfig parameters can be specified using OutputConfig CompilerOptions. CoreML converter supports Tensorflow and PyTorch models. CoreML conversion examples:

        • Tensor type input:

          • "DataInputConfig": {"input_1": {"shape": [[1,224,224,3], [1,160,160,3]], "default_shape": [1,224,224,3]}}

        • Tensor type input without input name (PyTorch):

          • "DataInputConfig": [{"shape": [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224]}]

        • Image type input:

          • "DataInputConfig": {"input_1": {"shape": [[1,224,224,3], [1,160,160,3]], "default_shape": [1,224,224,3], "type": "Image", "bias": [-1,-1,-1], "scale": 0.007843137255}}

          • "CompilerOptions": {"class_labels": "imagenet_labels_1000.txt"}

        • Image type input without input name (PyTorch):

          • "DataInputConfig": [{"shape": [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224], "type": "Image", "bias": [-1,-1,-1], "scale": 0.007843137255}]

          • "CompilerOptions": {"class_labels": "imagenet_labels_1000.txt"}

        Depending on the model format, DataInputConfig requires the following parameters for ml_eia2 OutputConfig:TargetDevice.

        • For TensorFlow models saved in the SavedModel format, specify the input names from signature_def_key and the input model shapes for DataInputConfig. Specify the signature_def_key in OutputConfig:CompilerOptions if the model does not use TensorFlow's default signature def key. For example:

          • "DataInputConfig": {"inputs": [1, 224, 224, 3]}

          • "CompilerOptions": {"signature_def_key": "serving_custom"}

        • For TensorFlow models saved as a frozen graph, specify the input tensor names and shapes in DataInputConfig and the output tensor names for output_names in OutputConfig:CompilerOptions . For example:

          • "DataInputConfig": {"input_tensor:0": [1, 224, 224, 3]}

          • "CompilerOptions": {"output_names": ["output_tensor:0"]}

      • Frameworkrequired — (String)

        Identifies the framework in which the model was trained. For example: TENSORFLOW.

        Possible values include:
        • "TENSORFLOW"
        • "KERAS"
        • "MXNET"
        • "ONNX"
        • "PYTORCH"
        • "XGBOOST"
        • "TFLITE"
        • "DARKNET"
        • "SKLEARN"
      • FrameworkVersion — (String)

        Specifies the framework version to use. This API field is only supported for the MXNet, PyTorch, TensorFlow and TensorFlow Lite frameworks.

        For information about framework versions supported for cloud targets and edge devices, see Cloud Supported Instance Types and Frameworks and Edge Supported Frameworks.

    • OutputConfig — (map)

      Provides information about the output location for the compiled model and the target device the model runs on.

      • S3OutputLocationrequired — (String)

        Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix.

      • TargetDevice — (String)

        Identifies the target device or the machine learning instance that you want to run your model on after the compilation has completed. Alternatively, you can specify OS, architecture, and accelerator using TargetPlatform fields. It can be used instead of TargetPlatform.

        Note: Currently ml_trn1 is available only in US East (N. Virginia) Region, and ml_inf2 is available only in US East (Ohio) Region.
        Possible values include:
        • "lambda"
        • "ml_m4"
        • "ml_m5"
        • "ml_m6g"
        • "ml_c4"
        • "ml_c5"
        • "ml_c6g"
        • "ml_p2"
        • "ml_p3"
        • "ml_g4dn"
        • "ml_inf1"
        • "ml_inf2"
        • "ml_trn1"
        • "ml_eia2"
        • "jetson_tx1"
        • "jetson_tx2"
        • "jetson_nano"
        • "jetson_xavier"
        • "rasp3b"
        • "rasp4b"
        • "imx8qm"
        • "deeplens"
        • "rk3399"
        • "rk3288"
        • "aisage"
        • "sbe_c"
        • "qcs605"
        • "qcs603"
        • "sitara_am57x"
        • "amba_cv2"
        • "amba_cv22"
        • "amba_cv25"
        • "x86_win32"
        • "x86_win64"
        • "coreml"
        • "jacinto_tda4vm"
        • "imx8mplus"
      • TargetPlatform — (map)

        Contains information about a target platform that you want your model to run on, such as OS, architecture, and accelerators. It is an alternative of TargetDevice.

        The following examples show how to configure the TargetPlatform and CompilerOptions JSON strings for popular target platforms:

        • Raspberry Pi 3 Model B+

          "TargetPlatform": {"Os": "LINUX", "Arch": "ARM_EABIHF"},

          "CompilerOptions": {'mattr': ['+neon']}

        • Jetson TX2

          "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator": "NVIDIA"},

          "CompilerOptions": {'gpu-code': 'sm_62', 'trt-ver': '6.0.1', 'cuda-ver': '10.0'}

        • EC2 m5.2xlarge instance OS

          "TargetPlatform": {"Os": "LINUX", "Arch": "X86_64", "Accelerator": "NVIDIA"},

          "CompilerOptions": {'mcpu': 'skylake-avx512'}

        • RK3399

          "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator": "MALI"}

        • ARMv7 phone (CPU)

          "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM_EABI"},

          "CompilerOptions": {'ANDROID_PLATFORM': 25, 'mattr': ['+neon']}

        • ARMv8 phone (CPU)

          "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM64"},

          "CompilerOptions": {'ANDROID_PLATFORM': 29}

        • Osrequired — (String)

          Specifies a target platform OS.

          • LINUX: Linux-based operating systems.

          • ANDROID: Android operating systems. Android API level can be specified using the ANDROID_PLATFORM compiler option. For example, "CompilerOptions": {'ANDROID_PLATFORM': 28}

          Possible values include:
          • "ANDROID"
          • "LINUX"
        • Archrequired — (String)

          Specifies a target platform architecture.

          • X86_64: 64-bit version of the x86 instruction set.

          • X86: 32-bit version of the x86 instruction set.

          • ARM64: ARMv8 64-bit CPU.

          • ARM_EABIHF: ARMv7 32-bit, Hard Float.

          • ARM_EABI: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.

          Possible values include:
          • "X86_64"
          • "X86"
          • "ARM64"
          • "ARM_EABI"
          • "ARM_EABIHF"
        • Accelerator — (String)

          Specifies a target platform accelerator (optional).

          • NVIDIA: Nvidia graphics processing unit. It also requires gpu-code, trt-ver, cuda-ver compiler options

          • MALI: ARM Mali graphics processor

          • INTEL_GRAPHICS: Integrated Intel graphics

          Possible values include:
          • "INTEL_GRAPHICS"
          • "MALI"
          • "NVIDIA"
          • "NNA"
      • CompilerOptions — (String)

        Specifies additional parameters for compiler options in JSON format. The compiler options are TargetPlatform specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify CompilerOptions.

        • DTYPE: Specifies the data type for the input. When compiling for ml_* (except for ml_inf) instances using PyTorch framework, provide the data type (dtype) of the model's input. "float32" is used if "DTYPE" is not specified. Options for data type are:

          • float32: Use either "float" or "float32".

          • int64: Use either "int64" or "long".

          For example, {"dtype" : "float32"}.

        • CPU: Compilation for CPU supports the following compiler options.

          • mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'}

          • mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}

        • ARM: Details of ARM CPU compilations.

          • NEON: NEON is an implementation of the Advanced SIMD extension used in ARMv7 processors.

            For example, add {'mattr': ['+neon']} to the compiler options if compiling for ARM 32-bit platform with the NEON support.

        • NVIDIA: Compilation for NVIDIA GPU supports the following compiler options.

          • gpu_code: Specifies the targeted architecture.

          • trt-ver: Specifies the TensorRT versions in x.y.z. format.

          • cuda-ver: Specifies the CUDA version in x.y format.

          For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': '10.1'}

        • ANDROID: Compilation for the Android OS supports the following compiler options:

          • ANDROID_PLATFORM: Specifies the Android API levels. Available levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}.

          • mattr: Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit platform with NEON support.

        • INFERENTIA: Compilation for target ml_inf1 uses compiler options passed in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores 2 -O2\"".

          For information about supported compiler options, see Neuron Compiler CLI Reference Guide.

        • CoreML: Compilation for the CoreML OutputConfig TargetDevice supports the following compiler options:

          • class_labels: Specifies the classification labels file name inside input tar.gz file. For example, {"class_labels": "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated by newlines.

        • EIA: Compilation for the Elastic Inference Accelerator supports the following compiler options:

          • precision_mode: Specifies the precision of compiled artifacts. Supported values are "FP16" and "FP32". Default is "FP32".

          • signature_def_key: Specifies the signature to use for models in SavedModel format. Defaults is TensorFlow's default signature def key.

          • output_names: Specifies a list of output tensor names for models in FrozenGraph format. Set at most one API field, either: signature_def_key or output_names.

          For example: {"precision_mode": "FP32", "output_names": ["output:0"]}

      • KmsKeyId — (String)

        The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker uses to encrypt your output models with Amazon S3 server-side encryption after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

        The KmsKeyId can be any of the following formats:

        • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

        • Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

        • Alias name: alias/ExampleAlias

        • Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

    • VpcConfig — (map)

      A VpcConfig object that specifies the VPC that you want your compilation job to connect to. Control access to your models by configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.

      • SecurityGroupIdsrequired — (Array<String>)

        The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

      • Subnetsrequired — (Array<String>)

        The ID of the subnets in the VPC that you want to connect the compilation job to for accessing the model in Amazon S3.

    • StoppingCondition — (map)

      Specifies a limit to how long a model compilation job can run. When the job reaches the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training costs.

      • MaxRuntimeInSeconds — (Integer)

        The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

        For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.

        For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.

        The maximum time that a TrainingJob can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.

      • MaxWaitTimeInSeconds — (Integer)

        The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, SageMaker ends the job.

        When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt.

      • MaxPendingTimeInSeconds — (Integer)

        The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • CompilationJobArn — (String)

        If the action is successful, the service sends back an HTTP 200 response. Amazon SageMaker returns the following data in JSON format:

        • CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createContext(params = {}, callback) ⇒ AWS.Request

Creates a context. A context is a lineage tracking entity that represents a logical grouping of other tracking or experiment entities. Some examples are an endpoint and a model package. For more information, see Amazon SageMaker ML Lineage Tracking.

Service Reference:

Examples:

Calling the createContext operation

var params = {
  ContextName: 'STRING_VALUE', /* required */
  ContextType: 'STRING_VALUE', /* required */
  Source: { /* required */
    SourceUri: 'STRING_VALUE', /* required */
    SourceId: 'STRING_VALUE',
    SourceType: 'STRING_VALUE'
  },
  Description: 'STRING_VALUE',
  Properties: {
    '<StringParameterValue>': 'STRING_VALUE',
    /* '<StringParameterValue>': ... */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createContext(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ContextName — (String)

      The name of the context. Must be unique to your account in an Amazon Web Services Region.

    • Source — (map)

      The source type, ID, and URI.

      • SourceUrirequired — (String)

        The URI of the source.

      • SourceType — (String)

        The type of the source.

      • SourceId — (String)

        The ID of the source.

    • ContextType — (String)

      The context type.

    • Description — (String)

      The description of the context.

    • Properties — (map<String>)

      A list of properties to add to the context.

    • Tags — (Array<map>)

      A list of tags to apply to the context.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ContextArn — (String)

        The Amazon Resource Name (ARN) of the context.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDataQualityJobDefinition(params = {}, callback) ⇒ AWS.Request

Creates a definition for a job that monitors data quality and drift. For information about model monitor, see Amazon SageMaker Model Monitor.

Service Reference:

Examples:

Calling the createDataQualityJobDefinition operation

var params = {
  DataQualityAppSpecification: { /* required */
    ImageUri: 'STRING_VALUE', /* required */
    ContainerArguments: [
      'STRING_VALUE',
      /* more items */
    ],
    ContainerEntrypoint: [
      'STRING_VALUE',
      /* more items */
    ],
    Environment: {
      '<ProcessingEnvironmentKey>': 'STRING_VALUE',
      /* '<ProcessingEnvironmentKey>': ... */
    },
    PostAnalyticsProcessorSourceUri: 'STRING_VALUE',
    RecordPreprocessorSourceUri: 'STRING_VALUE'
  },
  DataQualityJobInput: { /* required */
    BatchTransformInput: {
      DataCapturedDestinationS3Uri: 'STRING_VALUE', /* required */
      DatasetFormat: { /* required */
        Csv: {
          Header: true || false
        },
        Json: {
          Line: true || false
        },
        Parquet: {
        }
      },
      LocalPath: 'STRING_VALUE', /* required */
      EndTimeOffset: 'STRING_VALUE',
      ExcludeFeaturesAttribute: 'STRING_VALUE',
      FeaturesAttribute: 'STRING_VALUE',
      InferenceAttribute: 'STRING_VALUE',
      ProbabilityAttribute: 'STRING_VALUE',
      ProbabilityThresholdAttribute: 'NUMBER_VALUE',
      S3DataDistributionType: FullyReplicated | ShardedByS3Key,
      S3InputMode: Pipe | File,
      StartTimeOffset: 'STRING_VALUE'
    },
    EndpointInput: {
      EndpointName: 'STRING_VALUE', /* required */
      LocalPath: 'STRING_VALUE', /* required */
      EndTimeOffset: 'STRING_VALUE',
      ExcludeFeaturesAttribute: 'STRING_VALUE',
      FeaturesAttribute: 'STRING_VALUE',
      InferenceAttribute: 'STRING_VALUE',
      ProbabilityAttribute: 'STRING_VALUE',
      ProbabilityThresholdAttribute: 'NUMBER_VALUE',
      S3DataDistributionType: FullyReplicated | ShardedByS3Key,
      S3InputMode: Pipe | File,
      StartTimeOffset: 'STRING_VALUE'
    }
  },
  DataQualityJobOutputConfig: { /* required */
    MonitoringOutputs: [ /* required */
      {
        S3Output: { /* required */
          LocalPath: 'STRING_VALUE', /* required */
          S3Uri: 'STRING_VALUE', /* required */
          S3UploadMode: Continuous | EndOfJob
        }
      },
      /* more items */
    ],
    KmsKeyId: 'STRING_VALUE'
  },
  JobDefinitionName: 'STRING_VALUE', /* required */
  JobResources: { /* required */
    ClusterConfig: { /* required */
      InstanceCount: 'NUMBER_VALUE', /* required */
      InstanceType: ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge, /* required */
      VolumeSizeInGB: 'NUMBER_VALUE', /* required */
      VolumeKmsKeyId: 'STRING_VALUE'
    }
  },
  RoleArn: 'STRING_VALUE', /* required */
  DataQualityBaselineConfig: {
    BaseliningJobName: 'STRING_VALUE',
    ConstraintsResource: {
      S3Uri: 'STRING_VALUE'
    },
    StatisticsResource: {
      S3Uri: 'STRING_VALUE'
    }
  },
  NetworkConfig: {
    EnableInterContainerTrafficEncryption: true || false,
    EnableNetworkIsolation: true || false,
    VpcConfig: {
      SecurityGroupIds: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Subnets: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    }
  },
  StoppingCondition: {
    MaxRuntimeInSeconds: 'NUMBER_VALUE' /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createDataQualityJobDefinition(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • JobDefinitionName — (String)

      The name for the monitoring job definition.

    • DataQualityBaselineConfig — (map)

      Configures the constraints and baselines for the monitoring job.

      • BaseliningJobName — (String)

        The name of the job that performs baselining for the data quality monitoring job.

      • ConstraintsResource — (map)

        The constraints resource for a monitoring job.

        • S3Uri — (String)

          The Amazon S3 URI for the constraints resource.

      • StatisticsResource — (map)

        The statistics resource for a monitoring job.

        • S3Uri — (String)

          The Amazon S3 URI for the statistics resource.

    • DataQualityAppSpecification — (map)

      Specifies the container that runs the monitoring job.

      • ImageUrirequired — (String)

        The container image that the data quality monitoring job runs.

      • ContainerEntrypoint — (Array<String>)

        The entrypoint for a container used to run a monitoring job.

      • ContainerArguments — (Array<String>)

        The arguments to send to the container that the monitoring job runs.

      • RecordPreprocessorSourceUri — (String)

        An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.

      • PostAnalyticsProcessorSourceUri — (String)

        An Amazon S3 URI to a script that is called after analysis has been performed. Applicable only for the built-in (first party) containers.

      • Environment — (map<String>)

        Sets the environment variables in the container that the monitoring job runs.

    • DataQualityJobInput — (map)

      A list of inputs for the monitoring job. Currently endpoints are supported as monitoring inputs.

      • EndpointInput — (map)

        Input object for the endpoint

        • EndpointNamerequired — (String)

          An endpoint in customer's account which has enabled DataCaptureConfig enabled.

        • LocalPathrequired — (String)

          Path to the filesystem where the endpoint data is available to the container.

        • S3InputMode — (String)

          Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.

          Possible values include:
          • "Pipe"
          • "File"
        • S3DataDistributionType — (String)

          Whether input data distributed in Amazon S3 is fully replicated or sharded by an Amazon S3 key. Defaults to FullyReplicated

          Possible values include:
          • "FullyReplicated"
          • "ShardedByS3Key"
        • FeaturesAttribute — (String)

          The attributes of the input data that are the input features.

        • InferenceAttribute — (String)

          The attribute of the input data that represents the ground truth label.

        • ProbabilityAttribute — (String)

          In a classification problem, the attribute that represents the class probability.

        • ProbabilityThresholdAttribute — (Float)

          The threshold for the class probability to be evaluated as a positive result.

        • StartTimeOffset — (String)

          If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.

        • EndTimeOffset — (String)

          If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.

        • ExcludeFeaturesAttribute — (String)

          The attributes of the input data to exclude from the analysis.

      • BatchTransformInput — (map)

        Input object for the batch transform job.

        • DataCapturedDestinationS3Urirequired — (String)

          The Amazon S3 location being used to capture the data.

        • DatasetFormatrequired — (map)

          The dataset format for your batch transform job.

          • Csv — (map)

            The CSV dataset used in the monitoring job.

            • Header — (Boolean)

              Indicates if the CSV data has a header.

          • Json — (map)

            The JSON dataset used in the monitoring job

            • Line — (Boolean)

              Indicates if the file should be read as a JSON object per line.

          • Parquet — (map)

            The Parquet dataset used in the monitoring job

        • LocalPathrequired — (String)

          Path to the filesystem where the batch transform data is available to the container.

        • S3InputMode — (String)

          Whether the Pipe or File is used as the input mode for transferring data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.

          Possible values include:
          • "Pipe"
          • "File"
        • S3DataDistributionType — (String)

          Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defaults to FullyReplicated

          Possible values include:
          • "FullyReplicated"
          • "ShardedByS3Key"
        • FeaturesAttribute — (String)

          The attributes of the input data that are the input features.

        • InferenceAttribute — (String)

          The attribute of the input data that represents the ground truth label.

        • ProbabilityAttribute — (String)

          In a classification problem, the attribute that represents the class probability.

        • ProbabilityThresholdAttribute — (Float)

          The threshold for the class probability to be evaluated as a positive result.

        • StartTimeOffset — (String)

          If specified, monitoring jobs substract this time from the start time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.

        • EndTimeOffset — (String)

          If specified, monitoring jobs subtract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.

        • ExcludeFeaturesAttribute — (String)

          The attributes of the input data to exclude from the analysis.

    • DataQualityJobOutputConfig — (map)

      The output configuration for monitoring jobs.

      • MonitoringOutputsrequired — (Array<map>)

        Monitoring outputs for monitoring jobs. This is where the output of the periodic monitoring jobs is uploaded.

        • S3Outputrequired — (map)

          The Amazon S3 storage location where the results of a monitoring job are saved.

          • S3Urirequired — (String)

            A URI that identifies the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job.

          • LocalPathrequired — (String)

            The local path to the Amazon S3 storage location where Amazon SageMaker saves the results of a monitoring job. LocalPath is an absolute path for the output data.

          • S3UploadMode — (String)

            Whether to upload the results of the monitoring job continuously or after the job completes.

            Possible values include:
            • "Continuous"
            • "EndOfJob"
      • KmsKeyId — (String)

        The Key Management Service (KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.

    • JobResources — (map)

      Identifies the resources to deploy for a monitoring job.

      • ClusterConfigrequired — (map)

        The configuration for the cluster resources used to run the processing job.

        • InstanceCountrequired — (Integer)

          The number of ML compute instances to use in the model monitoring job. For distributed processing jobs, specify a value greater than 1. The default value is 1.

        • InstanceTyperequired — (String)

          The ML compute instance type for the processing job.

          Possible values include:
          • "ml.t3.medium"
          • "ml.t3.large"
          • "ml.t3.xlarge"
          • "ml.t3.2xlarge"
          • "ml.m4.xlarge"
          • "ml.m4.2xlarge"
          • "ml.m4.4xlarge"
          • "ml.m4.10xlarge"
          • "ml.m4.16xlarge"
          • "ml.c4.xlarge"
          • "ml.c4.2xlarge"
          • "ml.c4.4xlarge"
          • "ml.c4.8xlarge"
          • "ml.p2.xlarge"
          • "ml.p2.8xlarge"
          • "ml.p2.16xlarge"
          • "ml.p3.2xlarge"
          • "ml.p3.8xlarge"
          • "ml.p3.16xlarge"
          • "ml.c5.xlarge"
          • "ml.c5.2xlarge"
          • "ml.c5.4xlarge"
          • "ml.c5.9xlarge"
          • "ml.c5.18xlarge"
          • "ml.m5.large"
          • "ml.m5.xlarge"
          • "ml.m5.2xlarge"
          • "ml.m5.4xlarge"
          • "ml.m5.12xlarge"
          • "ml.m5.24xlarge"
          • "ml.r5.large"
          • "ml.r5.xlarge"
          • "ml.r5.2xlarge"
          • "ml.r5.4xlarge"
          • "ml.r5.8xlarge"
          • "ml.r5.12xlarge"
          • "ml.r5.16xlarge"
          • "ml.r5.24xlarge"
          • "ml.g4dn.xlarge"
          • "ml.g4dn.2xlarge"
          • "ml.g4dn.4xlarge"
          • "ml.g4dn.8xlarge"
          • "ml.g4dn.12xlarge"
          • "ml.g4dn.16xlarge"
          • "ml.g5.xlarge"
          • "ml.g5.2xlarge"
          • "ml.g5.4xlarge"
          • "ml.g5.8xlarge"
          • "ml.g5.16xlarge"
          • "ml.g5.12xlarge"
          • "ml.g5.24xlarge"
          • "ml.g5.48xlarge"
          • "ml.r5d.large"
          • "ml.r5d.xlarge"
          • "ml.r5d.2xlarge"
          • "ml.r5d.4xlarge"
          • "ml.r5d.8xlarge"
          • "ml.r5d.12xlarge"
          • "ml.r5d.16xlarge"
          • "ml.r5d.24xlarge"
        • VolumeSizeInGBrequired — (Integer)

          The size of the ML storage volume, in gigabytes, that you want to provision. You must specify sufficient ML storage for your scenario.

        • VolumeKmsKeyId — (String)

          The Key Management Service (KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the model monitoring job.

    • NetworkConfig — (map)

      Specifies networking configuration for the monitoring job.

      • EnableInterContainerTrafficEncryption — (Boolean)

        Whether to encrypt all communications between the instances used for the monitoring jobs. Choose True to encrypt communications. Encryption provides greater security for distributed jobs, but the processing might take longer.

      • EnableNetworkIsolation — (Boolean)

        Whether to allow inbound and outbound network calls to and from the containers used for the monitoring job.

      • VpcConfig — (map)

        Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

        • SecurityGroupIdsrequired — (Array<String>)

          The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • Subnetsrequired — (Array<String>)

          The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on your behalf.

    • StoppingCondition — (map)

      A time limit for how long the monitoring job is allowed to run before stopping.

      • MaxRuntimeInSecondsrequired — (Integer)

        The maximum runtime allowed in seconds.

        Note: The MaxRuntimeInSeconds cannot exceed the frequency of the job. For data quality and model explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly schedules, this can be up to 1800 seconds.
    • Tags — (Array<map>)

      (Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • JobDefinitionArn — (String)

        The Amazon Resource Name (ARN) of the job definition.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDeviceFleet(params = {}, callback) ⇒ AWS.Request

Creates a device fleet.

Service Reference:

Examples:

Calling the createDeviceFleet operation

var params = {
  DeviceFleetName: 'STRING_VALUE', /* required */
  OutputConfig: { /* required */
    S3OutputLocation: 'STRING_VALUE', /* required */
    KmsKeyId: 'STRING_VALUE',
    PresetDeploymentConfig: 'STRING_VALUE',
    PresetDeploymentType: GreengrassV2Component
  },
  Description: 'STRING_VALUE',
  EnableIotRoleAlias: true || false,
  RoleArn: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createDeviceFleet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DeviceFleetName — (String)

      The name of the fleet that the device belongs to.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).

    • Description — (String)

      A description of the fleet.

    • OutputConfig — (map)

      The output configuration for storing sample data collected by the fleet.

      • S3OutputLocationrequired — (String)

        The Amazon Simple Storage (S3) bucker URI.

      • KmsKeyId — (String)

        The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.

      • PresetDeploymentType — (String)

        The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.

        Possible values include:
        • "GreengrassV2Component"
      • PresetDeploymentConfig — (String)

        The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:

        • ComponentName (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job.

        • ComponentDescription (optional) - Description of the component.

        • ComponentVersion (optional) - The version of the component.

          Note: Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
        • PlatformOS (optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux.

        • PlatformArchitecture (optional) - The processor architecture for the platform.

          Supported architectures Windows include: Windows32_x86, Windows64_x64.

          Supported architectures for Linux include: Linux x86_64, Linux ARMV8.

    • Tags — (Array<map>)

      Creates tags for the specified fleet.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • EnableIotRoleAlias — (Boolean)

      Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".

      For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createDomain(params = {}, callback) ⇒ AWS.Request

Creates a Domain. A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other.

EFS storage

When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files.

SageMaker uses the Amazon Web Services Key Management Service (Amazon Web Services KMS) to encrypt the EFS volume attached to the domain with an Amazon Web Services managed key by default. For more control, you can specify a customer managed key. For more information, see Protect Data at Rest Using Encryption.

VPC configuration

All traffic between the domain and the Amazon EFS volume is through the specified VPC and subnets. For other traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to the domain. The following options are available:

  • PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value.

  • VpcOnly - All traffic is through the specified VPC and subnets. Internet access is disabled by default. To allow internet access, you must specify a NAT gateway.

    When internet access is disabled, you won't be able to run a Amazon SageMaker Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime or a NAT gateway and your security groups allow outbound connections.

NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a Amazon SageMaker Studio app successfully.

For more information, see Connect Amazon SageMaker Studio Notebooks to Resources in a VPC.

Service Reference:

Examples:

Calling the createDomain operation

var params = {
  AuthMode: SSO | IAM, /* required */
  DefaultUserSettings: { /* required */
    AutoMountHomeEFS: Enabled | Disabled | DefaultAsDomain,
    CanvasAppSettings: {
      DirectDeploySettings: {
        Status: ENABLED | DISABLED
      },
      EmrServerlessSettings: {
        ExecutionRoleArn: 'STRING_VALUE',
        Status: ENABLED | DISABLED
      },
      GenerativeAiSettings: {
        AmazonBedrockRoleArn: 'STRING_VALUE'
      },
      IdentityProviderOAuthSettings: [
        {
          DataSourceName: SalesforceGenie | Snowflake,
          SecretArn: 'STRING_VALUE',
          Status: ENABLED | DISABLED
        },
        /* more items */
      ],
      KendraSettings: {
        Status: ENABLED | DISABLED
      },
      ModelRegisterSettings: {
        CrossAccountModelRegisterRoleArn: 'STRING_VALUE',
        Status: ENABLED | DISABLED
      },
      TimeSeriesForecastingSettings: {
        AmazonForecastRoleArn: 'STRING_VALUE',
        Status: ENABLED | DISABLED
      },
      WorkspaceSettings: {
        S3ArtifactPath: 'STRING_VALUE',
        S3KmsKeyId: 'STRING_VALUE'
      }
    },
    CodeEditorAppSettings: {
      AppLifecycleManagement: {
        IdleSettings: {
          IdleTimeoutInMinutes: 'NUMBER_VALUE',
          LifecycleManagement: ENABLED | DISABLED,
          MaxIdleTimeoutInMinutes: 'NUMBER_VALUE',
          MinIdleTimeoutInMinutes: 'NUMBER_VALUE'
        }
      },
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    CustomFileSystemConfigs: [
      {
        EFSFileSystemConfig: {
          FileSystemId: 'STRING_VALUE', /* required */
          FileSystemPath: 'STRING_VALUE'
        }
      },
      /* more items */
    ],
    CustomPosixUserConfig: {
      Gid: 'NUMBER_VALUE', /* required */
      Uid: 'NUMBER_VALUE' /* required */
    },
    DefaultLandingUri: 'STRING_VALUE',
    ExecutionRole: 'STRING_VALUE',
    JupyterLabAppSettings: {
      AppLifecycleManagement: {
        IdleSettings: {
          IdleTimeoutInMinutes: 'NUMBER_VALUE',
          LifecycleManagement: ENABLED | DISABLED,
          MaxIdleTimeoutInMinutes: 'NUMBER_VALUE',
          MinIdleTimeoutInMinutes: 'NUMBER_VALUE'
        }
      },
      CodeRepositories: [
        {
          RepositoryUrl: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      EmrSettings: {
        AssumableRoleArns: [
          'STRING_VALUE',
          /* more items */
        ],
        ExecutionRoleArns: [
          'STRING_VALUE',
          /* more items */
        ]
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    JupyterServerAppSettings: {
      CodeRepositories: [
        {
          RepositoryUrl: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    KernelGatewayAppSettings: {
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    RSessionAppSettings: {
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      }
    },
    RStudioServerProAppSettings: {
      AccessStatus: ENABLED | DISABLED,
      UserGroup: R_STUDIO_ADMIN | R_STUDIO_USER
    },
    SecurityGroups: [
      'STRING_VALUE',
      /* more items */
    ],
    SharingSettings: {
      NotebookOutputOption: Allowed | Disabled,
      S3KmsKeyId: 'STRING_VALUE',
      S3OutputPath: 'STRING_VALUE'
    },
    SpaceStorageSettings: {
      DefaultEbsStorageSettings: {
        DefaultEbsVolumeSizeInGb: 'NUMBER_VALUE', /* required */
        MaximumEbsVolumeSizeInGb: 'NUMBER_VALUE' /* required */
      }
    },
    StudioWebPortal: ENABLED | DISABLED,
    StudioWebPortalSettings: {
      HiddenAppTypes: [
        JupyterServer | KernelGateway | DetailedProfiler | TensorBoard | CodeEditor | JupyterLab | RStudioServerPro | RSessionGateway | Canvas,
        /* more items */
      ],
      HiddenMlTools: [
        DataWrangler | FeatureStore | EmrClusters | AutoMl | Experiments | Training | ModelEvaluation | Pipelines | Models | JumpStart | InferenceRecommender | Endpoints | Projects | InferenceOptimization,
        /* more items */
      ]
    },
    TensorBoardAppSettings: {
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      }
    }
  },
  DomainName: 'STRING_VALUE', /* required */
  SubnetIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  VpcId: 'STRING_VALUE', /* required */
  AppNetworkAccessType: PublicInternetOnly | VpcOnly,
  AppSecurityGroupManagement: Service | Customer,
  DefaultSpaceSettings: {
    CustomFileSystemConfigs: [
      {
        EFSFileSystemConfig: {
          FileSystemId: 'STRING_VALUE', /* required */
          FileSystemPath: 'STRING_VALUE'
        }
      },
      /* more items */
    ],
    CustomPosixUserConfig: {
      Gid: 'NUMBER_VALUE', /* required */
      Uid: 'NUMBER_VALUE' /* required */
    },
    ExecutionRole: 'STRING_VALUE',
    JupyterLabAppSettings: {
      AppLifecycleManagement: {
        IdleSettings: {
          IdleTimeoutInMinutes: 'NUMBER_VALUE',
          LifecycleManagement: ENABLED | DISABLED,
          MaxIdleTimeoutInMinutes: 'NUMBER_VALUE',
          MinIdleTimeoutInMinutes: 'NUMBER_VALUE'
        }
      },
      CodeRepositories: [
        {
          RepositoryUrl: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      EmrSettings: {
        AssumableRoleArns: [
          'STRING_VALUE',
          /* more items */
        ],
        ExecutionRoleArns: [
          'STRING_VALUE',
          /* more items */
        ]
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    JupyterServerAppSettings: {
      CodeRepositories: [
        {
          RepositoryUrl: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    KernelGatewayAppSettings: {
      CustomImages: [
        {
          AppImageConfigName: 'STRING_VALUE', /* required */
          ImageName: 'STRING_VALUE', /* required */
          ImageVersionNumber: 'NUMBER_VALUE'
        },
        /* more items */
      ],
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      LifecycleConfigArns: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    SecurityGroups: [
      'STRING_VALUE',
      /* more items */
    ],
    SpaceStorageSettings: {
      DefaultEbsStorageSettings: {
        DefaultEbsVolumeSizeInGb: 'NUMBER_VALUE', /* required */
        MaximumEbsVolumeSizeInGb: 'NUMBER_VALUE' /* required */
      }
    }
  },
  DomainSettings: {
    AmazonQSettings: {
      QProfileArn: 'STRING_VALUE',
      Status: ENABLED | DISABLED
    },
    DockerSettings: {
      EnableDockerAccess: ENABLED | DISABLED,
      VpcOnlyTrustedAccounts: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    ExecutionRoleIdentityConfig: USER_PROFILE_NAME | DISABLED,
    RStudioServerProDomainSettings: {
      DomainExecutionRoleArn: 'STRING_VALUE', /* required */
      DefaultResourceSpec: {
        InstanceType: system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.geospatial.interactive | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.p5.48xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r6i.large | ml.r6i.xlarge | ml.r6i.2xlarge | ml.r6i.4xlarge | ml.r6i.8xlarge | ml.r6i.12xlarge | ml.r6i.16xlarge | ml.r6i.24xlarge | ml.r6i.32xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge | ml.m6id.large | ml.m6id.xlarge | ml.m6id.2xlarge | ml.m6id.4xlarge | ml.m6id.8xlarge | ml.m6id.12xlarge | ml.m6id.16xlarge | ml.m6id.24xlarge | ml.m6id.32xlarge | ml.c6id.large | ml.c6id.xlarge | ml.c6id.2xlarge | ml.c6id.4xlarge | ml.c6id.8xlarge | ml.c6id.12xlarge | ml.c6id.16xlarge | ml.c6id.24xlarge | ml.c6id.32xlarge | ml.r6id.large | ml.r6id.xlarge | ml.r6id.2xlarge | ml.r6id.4xlarge | ml.r6id.8xlarge | ml.r6id.12xlarge | ml.r6id.16xlarge | ml.r6id.24xlarge | ml.r6id.32xlarge,
        LifecycleConfigArn: 'STRING_VALUE',
        SageMakerImageArn: 'STRING_VALUE',
        SageMakerImageVersionAlias: 'STRING_VALUE',
        SageMakerImageVersionArn: 'STRING_VALUE'
      },
      RStudioConnectUrl: 'STRING_VALUE',
      RStudioPackageManagerUrl: 'STRING_VALUE'
    },
    SecurityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ]
  },
  HomeEfsFileSystemKmsKeyId: 'STRING_VALUE',
  KmsKeyId: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createDomain(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • DomainName — (String)

      A name for the domain.

    • AuthMode — (String)

      The mode of authentication that members use to access the domain.

      Possible values include:
      • "SSO"
      • "IAM"
    • DefaultUserSettings — (map)

      The default settings to use to create a user profile when UserSettings isn't specified in the call to the CreateUserProfile API.

      SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings, the values specified in CreateUserProfile take precedence over those specified in CreateDomain.

      • ExecutionRole — (String)

        The execution role for the user.

      • SecurityGroups — (Array<String>)

        The security groups for the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

        Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.

        Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly, unless specified as part of the DefaultUserSettings for the domain.

        Amazon SageMaker adds a security group to allow NFS traffic from Amazon SageMaker Studio. Therefore, the number of security groups that you can specify is one less than the maximum number shown.

      • SharingSettings — (map)

        Specifies options for sharing Amazon SageMaker Studio notebooks.

        • NotebookOutputOption — (String)

          Whether to include the notebook cell output when sharing the notebook. The default is Disabled.

          Possible values include:
          • "Allowed"
          • "Disabled"
        • S3OutputPath — (String)

          When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store the shared notebook snapshots.

        • S3KmsKeyId — (String)

          When NotebookOutputOption is Allowed, the Amazon Web Services Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.

      • JupyterServerAppSettings — (map)

        The Jupyter server's app settings.

        • DefaultResourceSpec — (map)

          The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

          Note: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
        • CodeRepositories — (Array<map>)

          A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

          • RepositoryUrlrequired — (String)

            The URL of the Git repository.

      • KernelGatewayAppSettings — (map)

        The kernel gateway app settings.

        • DefaultResourceSpec — (map)

          The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

          Note: The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a KernelGateway app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

          Note: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
      • TensorBoardAppSettings — (map)

        The TensorBoard app settings.

        • DefaultResourceSpec — (map)

          The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

      • RStudioServerProAppSettings — (map)

        A collection of settings that configure user interaction with the RStudioServerPro app.

        • AccessStatus — (String)

          Indicates whether the current user has access to the RStudioServerPro app.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
        • UserGroup — (String)

          The level of permissions that the user has within the RStudioServerPro app. This value defaults to User. The Admin value allows the user access to the RStudio Administrative Dashboard.

          Possible values include:
          • "R_STUDIO_ADMIN"
          • "R_STUDIO_USER"
      • RSessionAppSettings — (map)

        A collection of settings that configure the RSessionGateway app.

        • DefaultResourceSpec — (map)

          Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a RSession app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

      • CanvasAppSettings — (map)

        The Canvas app settings.

        • TimeSeriesForecastingSettings — (map)

          Time series forecast settings for the SageMaker Canvas application.

          • Status — (String)

            Describes whether time series forecasting is enabled or disabled in the Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
          • AmazonForecastRoleArn — (String)

            The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the execution role specified in the UserProfile that launches the Canvas application. If an execution role is not specified in the UserProfile, Canvas uses the execution role specified in the Domain that owns the UserProfile. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached and forecast.amazonaws.com added in the trust relationship as a service principal.

        • ModelRegisterSettings — (map)

          The model registry settings for the SageMaker Canvas application.

          • Status — (String)

            Describes whether the integration to the model registry is enabled or disabled in the Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
          • CrossAccountModelRegisterRoleArn — (String)

            The Amazon Resource Name (ARN) of the SageMaker model registry account. Required only to register model versions created by a different SageMaker Canvas Amazon Web Services account than the Amazon Web Services account in which SageMaker model registry is set up.

        • WorkspaceSettings — (map)

          The workspace settings for the SageMaker Canvas application.

          • S3ArtifactPath — (String)

            The Amazon S3 bucket used to store artifacts generated by Canvas. Updating the Amazon S3 location impacts existing configuration settings, and Canvas users no longer have access to their artifacts. Canvas users must log out and log back in to apply the new location.

          • S3KmsKeyId — (String)

            The Amazon Web Services Key Management Service (KMS) encryption key ID that is used to encrypt artifacts generated by Canvas in the Amazon S3 bucket.

        • IdentityProviderOAuthSettings — (Array<map>)

          The settings for connecting to an external data source with OAuth.

          • DataSourceName — (String)

            The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.

            Possible values include:
            • "SalesforceGenie"
            • "Snowflake"
          • Status — (String)

            Describes whether OAuth for a data source is enabled or disabled in the Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
          • SecretArn — (String)

            The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.

        • DirectDeploySettings — (map)

          The model deployment settings for the SageMaker Canvas application.

          • Status — (String)

            Describes whether model deployment permissions are enabled or disabled in the Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
        • KendraSettings — (map)

          The settings for document querying.

          • Status — (String)

            Describes whether the document querying feature is enabled or disabled in the Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
        • GenerativeAiSettings — (map)

          The generative AI settings for the SageMaker Canvas application.

          • AmazonBedrockRoleArn — (String)

            The ARN of an Amazon Web Services IAM role that allows fine-tuning of large language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3 read and write permissions, as well as a trust relationship that establishes bedrock.amazonaws.com as a service principal.

        • EmrServerlessSettings — (map)

          The settings for running Amazon EMR Serverless data processing jobs in SageMaker Canvas.

          • ExecutionRoleArn — (String)

            The Amazon Resource Name (ARN) of the Amazon Web Services IAM role that is assumed for running Amazon EMR Serverless jobs in SageMaker Canvas. This role should have the necessary permissions to read and write data attached and a trust relationship with EMR Serverless.

          • Status — (String)

            Describes whether Amazon EMR Serverless job capabilities are enabled or disabled in the SageMaker Canvas application.

            Possible values include:
            • "ENABLED"
            • "DISABLED"
      • CodeEditorAppSettings — (map)

        The Code Editor application settings.

        • DefaultResourceSpec — (map)

          Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a Code Editor app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.

        • AppLifecycleManagement — (map)

          Settings that are used to configure and manage the lifecycle of CodeEditor applications.

          • IdleSettings — (map)

            Settings related to idle shutdown of Studio applications.

            • LifecycleManagement — (String)

              Indicates whether idle shutdown is activated for the application type.

              Possible values include:
              • "ENABLED"
              • "DISABLED"
            • IdleTimeoutInMinutes — (Integer)

              The time that SageMaker waits after the application becomes idle before shutting it down.

            • MinIdleTimeoutInMinutes — (Integer)

              The minimum value in minutes that custom idle shutdown can be set to by the user.

            • MaxIdleTimeoutInMinutes — (Integer)

              The maximum value in minutes that custom idle shutdown can be set to by the user.

      • JupyterLabAppSettings — (map)

        The settings for the JupyterLab application.

        • DefaultResourceSpec — (map)

          Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a JupyterLab app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.

        • CodeRepositories — (Array<map>)

          A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

          • RepositoryUrlrequired — (String)

            The URL of the Git repository.

        • AppLifecycleManagement — (map)

          Indicates whether idle shutdown is activated for JupyterLab applications.

          • IdleSettings — (map)

            Settings related to idle shutdown of Studio applications.

            • LifecycleManagement — (String)

              Indicates whether idle shutdown is activated for the application type.

              Possible values include:
              • "ENABLED"
              • "DISABLED"
            • IdleTimeoutInMinutes — (Integer)

              The time that SageMaker waits after the application becomes idle before shutting it down.

            • MinIdleTimeoutInMinutes — (Integer)

              The minimum value in minutes that custom idle shutdown can be set to by the user.

            • MaxIdleTimeoutInMinutes — (Integer)

              The maximum value in minutes that custom idle shutdown can be set to by the user.

        • EmrSettings — (map)

          The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.

          • AssumableRoleArns — (Array<String>)

            An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different Amazon Web Services account than the SageMaker domain.

          • ExecutionRoleArns — (Array<String>)

            An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other Amazon Web Services services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other Amazon Web Services services based on the particular workload requirements.

      • SpaceStorageSettings — (map)

        The storage settings for a space.

        • DefaultEbsStorageSettings — (map)

          The default EBS storage settings for a space.

          • DefaultEbsVolumeSizeInGbrequired — (Integer)

            The default size of the EBS storage volume for a space.

          • MaximumEbsVolumeSizeInGbrequired — (Integer)

            The maximum size of the EBS storage volume for a space.

      • DefaultLandingUri — (String)

        The default experience that the user is directed to when accessing the domain. The supported values are:

        • studio::: Indicates that Studio is the default experience. This value can only be passed if StudioWebPortal is set to ENABLED.

        • app:JupyterServer:: Indicates that Studio Classic is the default experience.

      • StudioWebPortal — (String)

        Whether the user can access Studio. If this value is set to DISABLED, the user cannot access Studio, even if that is the default experience for the domain.

        Possible values include:
        • "ENABLED"
        • "DISABLED"
      • CustomPosixUserConfig — (map)

        Details about the POSIX identity that is used for file system operations.

        • Uidrequired — (Integer)

          The POSIX user ID.

        • Gidrequired — (Integer)

          The POSIX group ID.

      • CustomFileSystemConfigs — (Array<map>)

        The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

        • EFSFileSystemConfig — (map)

          The settings for a custom Amazon EFS file system.

          • FileSystemIdrequired — (String)

            The ID of your Amazon EFS file system.

          • FileSystemPath — (String)

            The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.

      • StudioWebPortalSettings — (map)

        Studio settings. If these settings are applied on a user level, they take priority over the settings applied on a domain level.

        • HiddenMlTools — (Array<String>)

          The machine learning tools that are hidden from the Studio left navigation pane.

        • HiddenAppTypes — (Array<String>)

          The Applications supported in Studio that are hidden from the Studio left navigation pane.

      • AutoMountHomeEFS — (String)

        Indicates whether auto-mounting of an EFS volume is supported for the user profile. The DefaultAsDomain value is only supported for user profiles. Do not use the DefaultAsDomain value when setting this parameter for a domain.

        Possible values include:
        • "Enabled"
        • "Disabled"
        • "DefaultAsDomain"
    • DomainSettings — (map)

      A collection of Domain settings.

      • SecurityGroupIds — (Array<String>)

        The security groups for the Amazon Virtual Private Cloud that the Domain uses for communication between Domain-level apps and user apps.

      • RStudioServerProDomainSettings — (map)

        A collection of settings that configure the RStudioServerPro Domain-level app.

        • DomainExecutionRoleArnrequired — (String)

          The ARN of the execution role for the RStudioServerPro Domain-level app.

        • RStudioConnectUrl — (String)

          A URL pointing to an RStudio Connect server.

        • RStudioPackageManagerUrl — (String)

          A URL pointing to an RStudio Package Manager server.

        • DefaultResourceSpec — (map)

          Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

      • ExecutionRoleIdentityConfig — (String)

        The configuration for attaching a SageMaker user profile name to the execution role as a sts:SourceIdentity key.

        Possible values include:
        • "USER_PROFILE_NAME"
        • "DISABLED"
      • DockerSettings — (map)

        A collection of settings that configure the domain's Docker interaction.

        • EnableDockerAccess — (String)

          Indicates whether the domain can access Docker.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
        • VpcOnlyTrustedAccounts — (Array<String>)

          The list of Amazon Web Services accounts that are trusted when the domain is created in VPC-only mode.

      • AmazonQSettings — (map)

        A collection of settings that configure the Amazon Q experience within the domain. The AuthMode that you use to create the domain must be SSO.

        • Status — (String)

          Whether Amazon Q has been enabled within the domain.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
        • QProfileArn — (String)

          The ARN of the Amazon Q profile used within the domain.

    • SubnetIds — (Array<String>)

      The VPC subnets that the domain uses for communication.

    • VpcId — (String)

      The ID of the Amazon Virtual Private Cloud (VPC) that the domain uses for communication.

    • Tags — (Array<map>)

      Tags to associated with the Domain. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.

      Tags that you specify for the Domain are also added to all Apps that the Domain launches.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • AppNetworkAccessType — (String)

      Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.

      • PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access

      • VpcOnly - All traffic is through the specified VPC and subnets

      Possible values include:
      • "PublicInternetOnly"
      • "VpcOnly"
    • HomeEfsFileSystemKmsKeyId — (String)

      Use KmsKeyId.

    • KmsKeyId — (String)

      SageMaker uses Amazon Web Services KMS to encrypt EFS and EBS volumes attached to the domain with an Amazon Web Services managed key by default. For more control, specify a customer managed key.

    • AppSecurityGroupManagement — (String)

      The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up the domain for use with RStudio, this value must be set to Service.

      Possible values include:
      • "Service"
      • "Customer"
    • DefaultSpaceSettings — (map)

      The default settings used to create a space.

      • ExecutionRole — (String)

        The ARN of the execution role for the space.

      • SecurityGroups — (Array<String>)

        The security group IDs for the Amazon VPC that the space uses for communication.

      • JupyterServerAppSettings — (map)

        The JupyterServer app settings.

        • DefaultResourceSpec — (map)

          The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

          Note: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
        • CodeRepositories — (Array<map>)

          A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

          • RepositoryUrlrequired — (String)

            The URL of the Git repository.

      • KernelGatewayAppSettings — (map)

        The KernelGateway app settings.

        • DefaultResourceSpec — (map)

          The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

          Note: The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the CLI or CloudFormation and the instance type parameter value is not passed.
          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a KernelGateway app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

          Note: To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.
      • JupyterLabAppSettings — (map)

        The settings for the JupyterLab application.

        • DefaultResourceSpec — (map)

          Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

          • SageMakerImageArn — (String)

            The ARN of the SageMaker image that the image version belongs to.

          • SageMakerImageVersionArn — (String)

            The ARN of the image version created on the instance.

          • SageMakerImageVersionAlias — (String)

            The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

          • InstanceType — (String)

            The instance type that the image version runs on.

            Note: JupyterServer apps only support the system value. For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.
            Possible values include:
            • "system"
            • "ml.t3.micro"
            • "ml.t3.small"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.8xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.16xlarge"
            • "ml.m5.24xlarge"
            • "ml.m5d.large"
            • "ml.m5d.xlarge"
            • "ml.m5d.2xlarge"
            • "ml.m5d.4xlarge"
            • "ml.m5d.8xlarge"
            • "ml.m5d.12xlarge"
            • "ml.m5d.16xlarge"
            • "ml.m5d.24xlarge"
            • "ml.c5.large"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.12xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5.24xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.g6.xlarge"
            • "ml.g6.2xlarge"
            • "ml.g6.4xlarge"
            • "ml.g6.8xlarge"
            • "ml.g6.12xlarge"
            • "ml.g6.16xlarge"
            • "ml.g6.24xlarge"
            • "ml.g6.48xlarge"
            • "ml.geospatial.interactive"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.p5.48xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.m7i.large"
            • "ml.m7i.xlarge"
            • "ml.m7i.2xlarge"
            • "ml.m7i.4xlarge"
            • "ml.m7i.8xlarge"
            • "ml.m7i.12xlarge"
            • "ml.m7i.16xlarge"
            • "ml.m7i.24xlarge"
            • "ml.m7i.48xlarge"
            • "ml.c6i.large"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.c7i.large"
            • "ml.c7i.xlarge"
            • "ml.c7i.2xlarge"
            • "ml.c7i.4xlarge"
            • "ml.c7i.8xlarge"
            • "ml.c7i.12xlarge"
            • "ml.c7i.16xlarge"
            • "ml.c7i.24xlarge"
            • "ml.c7i.48xlarge"
            • "ml.r6i.large"
            • "ml.r6i.xlarge"
            • "ml.r6i.2xlarge"
            • "ml.r6i.4xlarge"
            • "ml.r6i.8xlarge"
            • "ml.r6i.12xlarge"
            • "ml.r6i.16xlarge"
            • "ml.r6i.24xlarge"
            • "ml.r6i.32xlarge"
            • "ml.r7i.large"
            • "ml.r7i.xlarge"
            • "ml.r7i.2xlarge"
            • "ml.r7i.4xlarge"
            • "ml.r7i.8xlarge"
            • "ml.r7i.12xlarge"
            • "ml.r7i.16xlarge"
            • "ml.r7i.24xlarge"
            • "ml.r7i.48xlarge"
            • "ml.m6id.large"
            • "ml.m6id.xlarge"
            • "ml.m6id.2xlarge"
            • "ml.m6id.4xlarge"
            • "ml.m6id.8xlarge"
            • "ml.m6id.12xlarge"
            • "ml.m6id.16xlarge"
            • "ml.m6id.24xlarge"
            • "ml.m6id.32xlarge"
            • "ml.c6id.large"
            • "ml.c6id.xlarge"
            • "ml.c6id.2xlarge"
            • "ml.c6id.4xlarge"
            • "ml.c6id.8xlarge"
            • "ml.c6id.12xlarge"
            • "ml.c6id.16xlarge"
            • "ml.c6id.24xlarge"
            • "ml.c6id.32xlarge"
            • "ml.r6id.large"
            • "ml.r6id.xlarge"
            • "ml.r6id.2xlarge"
            • "ml.r6id.4xlarge"
            • "ml.r6id.8xlarge"
            • "ml.r6id.12xlarge"
            • "ml.r6id.16xlarge"
            • "ml.r6id.24xlarge"
            • "ml.r6id.32xlarge"
          • LifecycleConfigArn — (String)

            The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

        • CustomImages — (Array<map>)

          A list of custom SageMaker images that are configured to run as a JupyterLab app.

          • ImageNamerequired — (String)

            The name of the CustomImage. Must be unique to your account.

          • ImageVersionNumber — (Integer)

            The version number of the CustomImage.

          • AppImageConfigNamerequired — (String)

            The name of the AppImageConfig.

        • LifecycleConfigArns — (Array<String>)

          The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.

        • CodeRepositories — (Array<map>)

          A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

          • RepositoryUrlrequired — (String)

            The URL of the Git repository.

        • AppLifecycleManagement — (map)

          Indicates whether idle shutdown is activated for JupyterLab applications.

          • IdleSettings — (map)

            Settings related to idle shutdown of Studio applications.

            • LifecycleManagement — (String)

              Indicates whether idle shutdown is activated for the application type.

              Possible values include:
              • "ENABLED"
              • "DISABLED"
            • IdleTimeoutInMinutes — (Integer)

              The time that SageMaker waits after the application becomes idle before shutting it down.

            • MinIdleTimeoutInMinutes — (Integer)

              The minimum value in minutes that custom idle shutdown can be set to by the user.

            • MaxIdleTimeoutInMinutes — (Integer)

              The maximum value in minutes that custom idle shutdown can be set to by the user.

        • EmrSettings — (map)

          The configuration parameters that specify the IAM roles assumed by the execution role of SageMaker (assumable roles) and the cluster instances or job execution environments (execution roles or runtime roles) to manage and access resources required for running Amazon EMR clusters or Amazon EMR Serverless applications.

          • AssumableRoleArns — (Array<String>)

            An array of Amazon Resource Names (ARNs) of the IAM roles that the execution role of SageMaker can assume for performing operations or tasks related to Amazon EMR clusters or Amazon EMR Serverless applications. These roles define the permissions and access policies required when performing Amazon EMR-related operations, such as listing, connecting to, or terminating Amazon EMR clusters or Amazon EMR Serverless applications. They are typically used in cross-account access scenarios, where the Amazon EMR resources (clusters or serverless applications) are located in a different Amazon Web Services account than the SageMaker domain.

          • ExecutionRoleArns — (Array<String>)

            An array of Amazon Resource Names (ARNs) of the IAM roles used by the Amazon EMR cluster instances or job execution environments to access other Amazon Web Services services and resources needed during the runtime of your Amazon EMR or Amazon EMR Serverless workloads, such as Amazon S3 for data access, Amazon CloudWatch for logging, or other Amazon Web Services services based on the particular workload requirements.

      • SpaceStorageSettings — (map)

        The default storage settings for a space.

        • DefaultEbsStorageSettings — (map)

          The default EBS storage settings for a space.

          • DefaultEbsVolumeSizeInGbrequired — (Integer)

            The default size of the EBS storage volume for a space.

          • MaximumEbsVolumeSizeInGbrequired — (Integer)

            The maximum size of the EBS storage volume for a space.

      • CustomPosixUserConfig — (map)

        Details about the POSIX identity that is used for file system operations.

        • Uidrequired — (Integer)

          The POSIX user ID.

        • Gidrequired — (Integer)

          The POSIX group ID.

      • CustomFileSystemConfigs — (Array<map>)

        The settings for assigning a custom file system to a domain. Permitted users can access this file system in Amazon SageMaker Studio.

        • EFSFileSystemConfig — (map)

          The settings for a custom Amazon EFS file system.

          • FileSystemIdrequired — (String)

            The ID of your Amazon EFS file system.

          • FileSystemPath — (String)

            The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • DomainArn — (String)

        The Amazon Resource Name (ARN) of the created domain.

      • Url — (String)

        The URL to the created domain.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEdgeDeploymentPlan(params = {}, callback) ⇒ AWS.Request

Creates an edge deployment plan, consisting of multiple stages. Each stage may have a different deployment configuration and devices.

Service Reference:

Examples:

Calling the createEdgeDeploymentPlan operation

var params = {
  DeviceFleetName: 'STRING_VALUE', /* required */
  EdgeDeploymentPlanName: 'STRING_VALUE', /* required */
  ModelConfigs: [ /* required */
    {
      EdgePackagingJobName: 'STRING_VALUE', /* required */
      ModelHandle: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  Stages: [
    {
      DeviceSelectionConfig: { /* required */
        DeviceSubsetType: PERCENTAGE | SELECTION | NAMECONTAINS, /* required */
        DeviceNameContains: 'STRING_VALUE',
        DeviceNames: [
          'STRING_VALUE',
          /* more items */
        ],
        Percentage: 'NUMBER_VALUE'
      },
      StageName: 'STRING_VALUE', /* required */
      DeploymentConfig: {
        FailureHandlingPolicy: ROLLBACK_ON_FAILURE | DO_NOTHING /* required */
      }
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createEdgeDeploymentPlan(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EdgeDeploymentPlanName — (String)

      The name of the edge deployment plan.

    • ModelConfigs — (Array<map>)

      List of models associated with the edge deployment plan.

      • ModelHandlerequired — (String)

        The name the device application uses to reference this model.

      • EdgePackagingJobNamerequired — (String)

        The edge packaging job associated with this deployment.

    • DeviceFleetName — (String)

      The device fleet used for this edge deployment plan.

    • Stages — (Array<map>)

      List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment.

      • StageNamerequired — (String)

        The name of the stage.

      • DeviceSelectionConfigrequired — (map)

        Configuration of the devices in the stage.

        • DeviceSubsetTyperequired — (String)

          Type of device subsets to deploy to the current stage.

          Possible values include:
          • "PERCENTAGE"
          • "SELECTION"
          • "NAMECONTAINS"
        • Percentage — (Integer)

          Percentage of devices in the fleet to deploy to the current stage.

        • DeviceNames — (Array<String>)

          List of devices chosen to deploy.

        • DeviceNameContains — (String)

          A filter to select devices with names containing this name.

      • DeploymentConfig — (map)

        Configuration of the deployment details.

        • FailureHandlingPolicyrequired — (String)

          Toggle that determines whether to rollback to previous configuration if the current deployment fails. By default this is turned on. You may turn this off if you want to investigate the errors yourself.

          Possible values include:
          • "ROLLBACK_ON_FAILURE"
          • "DO_NOTHING"
    • Tags — (Array<map>)

      List of tags with which to tag the edge deployment plan.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EdgeDeploymentPlanArn — (String)

        The ARN of the edge deployment plan.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEdgeDeploymentStage(params = {}, callback) ⇒ AWS.Request

Creates a new stage in an existing edge deployment plan.

Service Reference:

Examples:

Calling the createEdgeDeploymentStage operation

var params = {
  EdgeDeploymentPlanName: 'STRING_VALUE', /* required */
  Stages: [ /* required */
    {
      DeviceSelectionConfig: { /* required */
        DeviceSubsetType: PERCENTAGE | SELECTION | NAMECONTAINS, /* required */
        DeviceNameContains: 'STRING_VALUE',
        DeviceNames: [
          'STRING_VALUE',
          /* more items */
        ],
        Percentage: 'NUMBER_VALUE'
      },
      StageName: 'STRING_VALUE', /* required */
      DeploymentConfig: {
        FailureHandlingPolicy: ROLLBACK_ON_FAILURE | DO_NOTHING /* required */
      }
    },
    /* more items */
  ]
};
sagemaker.createEdgeDeploymentStage(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EdgeDeploymentPlanName — (String)

      The name of the edge deployment plan.

    • Stages — (Array<map>)

      List of stages to be added to the edge deployment plan.

      • StageNamerequired — (String)

        The name of the stage.

      • DeviceSelectionConfigrequired — (map)

        Configuration of the devices in the stage.

        • DeviceSubsetTyperequired — (String)

          Type of device subsets to deploy to the current stage.

          Possible values include:
          • "PERCENTAGE"
          • "SELECTION"
          • "NAMECONTAINS"
        • Percentage — (Integer)

          Percentage of devices in the fleet to deploy to the current stage.

        • DeviceNames — (Array<String>)

          List of devices chosen to deploy.

        • DeviceNameContains — (String)

          A filter to select devices with names containing this name.

      • DeploymentConfig — (map)

        Configuration of the deployment details.

        • FailureHandlingPolicyrequired — (String)

          Toggle that determines whether to rollback to previous configuration if the current deployment fails. By default this is turned on. You may turn this off if you want to investigate the errors yourself.

          Possible values include:
          • "ROLLBACK_ON_FAILURE"
          • "DO_NOTHING"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEdgePackagingJob(params = {}, callback) ⇒ AWS.Request

Starts a SageMaker Edge Manager model packaging job. Edge Manager will use the model artifacts from the Amazon Simple Storage Service bucket that you specify. After the model has been packaged, Amazon SageMaker saves the resulting artifacts to an S3 bucket that you specify.

Service Reference:

Examples:

Calling the createEdgePackagingJob operation

var params = {
  CompilationJobName: 'STRING_VALUE', /* required */
  EdgePackagingJobName: 'STRING_VALUE', /* required */
  ModelName: 'STRING_VALUE', /* required */
  ModelVersion: 'STRING_VALUE', /* required */
  OutputConfig: { /* required */
    S3OutputLocation: 'STRING_VALUE', /* required */
    KmsKeyId: 'STRING_VALUE',
    PresetDeploymentConfig: 'STRING_VALUE',
    PresetDeploymentType: GreengrassV2Component
  },
  RoleArn: 'STRING_VALUE', /* required */
  ResourceKey: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createEdgePackagingJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EdgePackagingJobName — (String)

      The name of the edge packaging job.

    • CompilationJobName — (String)

      The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.

    • ModelName — (String)

      The name of the model.

    • ModelVersion — (String)

      The version of the model.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.

    • OutputConfig — (map)

      Provides information about the output location for the packaged model.

      • S3OutputLocationrequired — (String)

        The Amazon Simple Storage (S3) bucker URI.

      • KmsKeyId — (String)

        The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.

      • PresetDeploymentType — (String)

        The deployment type SageMaker Edge Manager will create. Currently only supports Amazon Web Services IoT Greengrass Version 2 components.

        Possible values include:
        • "GreengrassV2Component"
      • PresetDeploymentConfig — (String)

        The configuration used to create deployment artifacts. Specify configuration options with a JSON string. The available configuration options for each type are:

        • ComponentName (optional) - Name of the GreenGrass V2 component. If not specified, the default name generated consists of "SagemakerEdgeManager" and the name of your SageMaker Edge Manager packaging job.

        • ComponentDescription (optional) - Description of the component.

        • ComponentVersion (optional) - The version of the component.

          Note: Amazon Web Services IoT Greengrass uses semantic versions for components. Semantic versions follow a major.minor.patch number system. For example, version 1.0.0 represents the first major release for a component. For more information, see the semantic version specification.
        • PlatformOS (optional) - The name of the operating system for the platform. Supported platforms include Windows and Linux.

        • PlatformArchitecture (optional) - The processor architecture for the platform.

          Supported architectures Windows include: Windows32_x86, Windows64_x64.

          Supported architectures for Linux include: Linux x86_64, Linux ARMV8.

    • ResourceKey — (String)

      The Amazon Web Services KMS key to use when encrypting the EBS volume the edge packaging job runs on.

    • Tags — (Array<map>)

      Creates tags for the packaging job.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEndpoint(params = {}, callback) ⇒ AWS.Request

Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API.

Use this API to deploy models using SageMaker hosting services.

Note: You must not delete an EndpointConfig that is in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.

The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account.

When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them.

Note: When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API.

If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

Note: To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role.
  • Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy.
  • Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference.

Service Reference:

Examples:

Calling the createEndpoint operation

var params = {
  EndpointConfigName: 'STRING_VALUE', /* required */
  EndpointName: 'STRING_VALUE', /* required */
  DeploymentConfig: {
    AutoRollbackConfiguration: {
      Alarms: [
        {
          AlarmName: 'STRING_VALUE'
        },
        /* more items */
      ]
    },
    BlueGreenUpdatePolicy: {
      TrafficRoutingConfiguration: { /* required */
        Type: ALL_AT_ONCE | CANARY | LINEAR, /* required */
        WaitIntervalInSeconds: 'NUMBER_VALUE', /* required */
        CanarySize: {
          Type: INSTANCE_COUNT | CAPACITY_PERCENT, /* required */
          Value: 'NUMBER_VALUE' /* required */
        },
        LinearStepSize: {
          Type: INSTANCE_COUNT | CAPACITY_PERCENT, /* required */
          Value: 'NUMBER_VALUE' /* required */
        }
      },
      MaximumExecutionTimeoutInSeconds: 'NUMBER_VALUE',
      TerminationWaitInSeconds: 'NUMBER_VALUE'
    },
    RollingUpdatePolicy: {
      MaximumBatchSize: { /* required */
        Type: INSTANCE_COUNT | CAPACITY_PERCENT, /* required */
        Value: 'NUMBER_VALUE' /* required */
      },
      WaitIntervalInSeconds: 'NUMBER_VALUE', /* required */
      MaximumExecutionTimeoutInSeconds: 'NUMBER_VALUE',
      RollbackMaximumBatchSize: {
        Type: INSTANCE_COUNT | CAPACITY_PERCENT, /* required */
        Value: 'NUMBER_VALUE' /* required */
      }
    }
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createEndpoint(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointName — (String)

      The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account. The name is case-insensitive in CreateEndpoint, but the case is preserved and must be matched in InvokeEndpoint.

    • EndpointConfigName — (String)

      The name of an endpoint configuration. For more information, see CreateEndpointConfig.

    • DeploymentConfig — (map)

      The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

      • BlueGreenUpdatePolicy — (map)

        Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

        • TrafficRoutingConfigurationrequired — (map)

          Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.

          • Typerequired — (String)

            Traffic routing strategy type.

            • ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step.

            • CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic.

            • LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.

            Possible values include:
            • "ALL_AT_ONCE"
            • "CANARY"
            • "LINEAR"
          • WaitIntervalInSecondsrequired — (Integer)

            The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.

          • CanarySize — (map)

            Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.

            • Typerequired — (String)

              Specifies the endpoint capacity type.

              • INSTANCE_COUNT: The endpoint activates based on the number of instances.

              • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

              Possible values include:
              • "INSTANCE_COUNT"
              • "CAPACITY_PERCENT"
            • Valuerequired — (Integer)

              Defines the capacity size, either as a number of instances or a capacity percentage.

          • LinearStepSize — (map)

            Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.

            • Typerequired — (String)

              Specifies the endpoint capacity type.

              • INSTANCE_COUNT: The endpoint activates based on the number of instances.

              • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

              Possible values include:
              • "INSTANCE_COUNT"
              • "CAPACITY_PERCENT"
            • Valuerequired — (Integer)

              Defines the capacity size, either as a number of instances or a capacity percentage.

        • TerminationWaitInSeconds — (Integer)

          Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.

        • MaximumExecutionTimeoutInSeconds — (Integer)

          Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

      • RollingUpdatePolicy — (map)

        Specifies a rolling deployment strategy for updating a SageMaker endpoint.

        • MaximumBatchSizerequired — (map)

          Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.

          • Typerequired — (String)

            Specifies the endpoint capacity type.

            • INSTANCE_COUNT: The endpoint activates based on the number of instances.

            • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

            Possible values include:
            • "INSTANCE_COUNT"
            • "CAPACITY_PERCENT"
          • Valuerequired — (Integer)

            Defines the capacity size, either as a number of instances or a capacity percentage.

        • WaitIntervalInSecondsrequired — (Integer)

          The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.

        • MaximumExecutionTimeoutInSeconds — (Integer)

          The time limit for the total deployment. Exceeding this limit causes a timeout.

        • RollbackMaximumBatchSize — (map)

          Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.

          • Typerequired — (String)

            Specifies the endpoint capacity type.

            • INSTANCE_COUNT: The endpoint activates based on the number of instances.

            • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

            Possible values include:
            • "INSTANCE_COUNT"
            • "CAPACITY_PERCENT"
          • Valuerequired — (Integer)

            Defines the capacity size, either as a number of instances or a capacity percentage.

      • AutoRollbackConfiguration — (map)

        Automatic rollback configuration for handling endpoint deployment failures and recovery.

        • Alarms — (Array<map>)

          List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

          • AlarmName — (String)

            The name of a CloudWatch alarm in your account.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EndpointArn — (String)

        The Amazon Resource Name (ARN) of the endpoint.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createEndpointConfig(params = {}, callback) ⇒ AWS.Request

Creates an endpoint configuration that SageMaker hosting services uses to deploy models. In the configuration, you identify one or more models, created using the CreateModel API, to deploy and the resources that you want SageMaker to provision. Then you call the CreateEndpoint API.

Note: Use this API if you want to use SageMaker hosting services to deploy models into production.

In the request, you define a ProductionVariant, for each model that you want to deploy. Each ProductionVariant parameter also describes the resources that you want SageMaker to provision. This includes the number and type of ML compute instances to deploy.

If you are hosting multiple models, you also assign a VariantWeight to specify how much traffic you want to allocate to each model. For example, suppose that you want to host two models, A and B, and you assign traffic weight 2 for model A and 1 for model B. SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B.

Note: When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read.

Service Reference:

Examples:

Calling the createEndpointConfig operation

var params = {
  EndpointConfigName: 'STRING_VALUE', /* required */
  ProductionVariants: [ /* required */
    {
      VariantName: 'STRING_VALUE', /* required */
      AcceleratorType: ml.eia1.medium | ml.eia1.large | ml.eia1.xlarge | ml.eia2.medium | ml.eia2.large | ml.eia2.xlarge,
      ContainerStartupHealthCheckTimeoutInSeconds: 'NUMBER_VALUE',
      CoreDumpConfig: {
        DestinationS3Uri: 'STRING_VALUE', /* required */
        KmsKeyId: 'STRING_VALUE'
      },
      EnableSSMAccess: true || false,
      InferenceAmiVersion: al2-ami-sagemaker-inference-gpu-2,
      InitialInstanceCount: 'NUMBER_VALUE',
      InitialVariantWeight: 'NUMBER_VALUE',
      InstanceType: ml.t2.medium | ml.t2.large | ml.t2.xlarge | ml.t2.2xlarge | ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.12xlarge | ml.m5d.24xlarge | ml.c4.large | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5d.large | ml.c5d.xlarge | ml.c5d.2xlarge | ml.c5d.4xlarge | ml.c5d.9xlarge | ml.c5d.18xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.12xlarge | ml.r5.24xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.12xlarge | ml.r5d.24xlarge | ml.inf1.xlarge | ml.inf1.2xlarge | ml.inf1.6xlarge | ml.inf1.24xlarge | ml.dl1.24xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.p4d.24xlarge | ml.c7g.large | ml.c7g.xlarge | ml.c7g.2xlarge | ml.c7g.4xlarge | ml.c7g.8xlarge | ml.c7g.12xlarge | ml.c7g.16xlarge | ml.m6g.large | ml.m6g.xlarge | ml.m6g.2xlarge | ml.m6g.4xlarge | ml.m6g.8xlarge | ml.m6g.12xlarge | ml.m6g.16xlarge | ml.m6gd.large | ml.m6gd.xlarge | ml.m6gd.2xlarge | ml.m6gd.4xlarge | ml.m6gd.8xlarge | ml.m6gd.12xlarge | ml.m6gd.16xlarge | ml.c6g.large | ml.c6g.xlarge | ml.c6g.2xlarge | ml.c6g.4xlarge | ml.c6g.8xlarge | ml.c6g.12xlarge | ml.c6g.16xlarge | ml.c6gd.large | ml.c6gd.xlarge | ml.c6gd.2xlarge | ml.c6gd.4xlarge | ml.c6gd.8xlarge | ml.c6gd.12xlarge | ml.c6gd.16xlarge | ml.c6gn.large | ml.c6gn.xlarge | ml.c6gn.2xlarge | ml.c6gn.4xlarge | ml.c6gn.8xlarge | ml.c6gn.12xlarge | ml.c6gn.16xlarge | ml.r6g.large | ml.r6g.xlarge | ml.r6g.2xlarge | ml.r6g.4xlarge | ml.r6g.8xlarge | ml.r6g.12xlarge | ml.r6g.16xlarge | ml.r6gd.large | ml.r6gd.xlarge | ml.r6gd.2xlarge | ml.r6gd.4xlarge | ml.r6gd.8xlarge | ml.r6gd.12xlarge | ml.r6gd.16xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.inf2.xlarge | ml.inf2.8xlarge | ml.inf2.24xlarge | ml.inf2.48xlarge | ml.p5.48xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge,
      ManagedInstanceScaling: {
        MaxInstanceCount: 'NUMBER_VALUE',
        MinInstanceCount: 'NUMBER_VALUE',
        Status: ENABLED | DISABLED
      },
      ModelDataDownloadTimeoutInSeconds: 'NUMBER_VALUE',
      ModelName: 'STRING_VALUE',
      RoutingConfig: {
        RoutingStrategy: LEAST_OUTSTANDING_REQUESTS | RANDOM /* required */
      },
      ServerlessConfig: {
        MaxConcurrency: 'NUMBER_VALUE', /* required */
        MemorySizeInMB: 'NUMBER_VALUE', /* required */
        ProvisionedConcurrency: 'NUMBER_VALUE'
      },
      VolumeSizeInGB: 'NUMBER_VALUE'
    },
    /* more items */
  ],
  AsyncInferenceConfig: {
    OutputConfig: { /* required */
      KmsKeyId: 'STRING_VALUE',
      NotificationConfig: {
        ErrorTopic: 'STRING_VALUE',
        IncludeInferenceResponseIn: [
          SUCCESS_NOTIFICATION_TOPIC | ERROR_NOTIFICATION_TOPIC,
          /* more items */
        ],
        SuccessTopic: 'STRING_VALUE'
      },
      S3FailurePath: 'STRING_VALUE',
      S3OutputPath: 'STRING_VALUE'
    },
    ClientConfig: {
      MaxConcurrentInvocationsPerInstance: 'NUMBER_VALUE'
    }
  },
  DataCaptureConfig: {
    CaptureOptions: [ /* required */
      {
        CaptureMode: Input | Output | InputAndOutput /* required */
      },
      /* more items */
    ],
    DestinationS3Uri: 'STRING_VALUE', /* required */
    InitialSamplingPercentage: 'NUMBER_VALUE', /* required */
    CaptureContentTypeHeader: {
      CsvContentTypes: [
        'STRING_VALUE',
        /* more items */
      ],
      JsonContentTypes: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    EnableCapture: true || false,
    KmsKeyId: 'STRING_VALUE'
  },
  EnableNetworkIsolation: true || false,
  ExecutionRoleArn: 'STRING_VALUE',
  ExplainerConfig: {
    ClarifyExplainerConfig: {
      ShapConfig: { /* required */
        ShapBaselineConfig: { /* required */
          MimeType: 'STRING_VALUE',
          ShapBaseline: 'STRING_VALUE',
          ShapBaselineUri: 'STRING_VALUE'
        },
        NumberOfSamples: 'NUMBER_VALUE',
        Seed: 'NUMBER_VALUE',
        TextConfig: {
          Granularity: token | sentence | paragraph, /* required */
          Language: af | sq | ar | hy | eu | bn | bg | ca | zh | hr | cs | da | nl | en | et | fi | fr | de | el | gu | he | hi | hu | is | id | ga | it | kn | ky | lv | lt | lb | mk | ml | mr | ne | nb | fa | pl | pt | ro | ru | sa | sr | tn | si | sk | sl | es | sv | tl | ta | tt | te | tr | uk | ur | yo | lij | xx /* required */
        },
        UseLogit: true || false
      },
      EnableExplanations: 'STRING_VALUE',
      InferenceConfig: {
        ContentTemplate: 'STRING_VALUE',
        FeatureHeaders: [
          'STRING_VALUE',
          /* more items */
        ],
        FeatureTypes: [
          numerical | categorical | text,
          /* more items */
        ],
        FeaturesAttribute: 'STRING_VALUE',
        LabelAttribute: 'STRING_VALUE',
        LabelHeaders: [
          'STRING_VALUE',
          /* more items */
        ],
        LabelIndex: 'NUMBER_VALUE',
        MaxPayloadInMB: 'NUMBER_VALUE',
        MaxRecordCount: 'NUMBER_VALUE',
        ProbabilityAttribute: 'STRING_VALUE',
        ProbabilityIndex: 'NUMBER_VALUE'
      }
    }
  },
  KmsKeyId: 'STRING_VALUE',
  ShadowProductionVariants: [
    {
      VariantName: 'STRING_VALUE', /* required */
      AcceleratorType: ml.eia1.medium | ml.eia1.large | ml.eia1.xlarge | ml.eia2.medium | ml.eia2.large | ml.eia2.xlarge,
      ContainerStartupHealthCheckTimeoutInSeconds: 'NUMBER_VALUE',
      CoreDumpConfig: {
        DestinationS3Uri: 'STRING_VALUE', /* required */
        KmsKeyId: 'STRING_VALUE'
      },
      EnableSSMAccess: true || false,
      InferenceAmiVersion: al2-ami-sagemaker-inference-gpu-2,
      InitialInstanceCount: 'NUMBER_VALUE',
      InitialVariantWeight: 'NUMBER_VALUE',
      InstanceType: ml.t2.medium | ml.t2.large | ml.t2.xlarge | ml.t2.2xlarge | ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m5d.large | ml.m5d.xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.12xlarge | ml.m5d.24xlarge | ml.c4.large | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5d.large | ml.c5d.xlarge | ml.c5d.2xlarge | ml.c5d.4xlarge | ml.c5d.9xlarge | ml.c5d.18xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.12xlarge | ml.r5.24xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.12xlarge | ml.r5d.24xlarge | ml.inf1.xlarge | ml.inf1.2xlarge | ml.inf1.6xlarge | ml.inf1.24xlarge | ml.dl1.24xlarge | ml.c6i.large | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.4xlarge | ml.c6i.8xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.g6.xlarge | ml.g6.2xlarge | ml.g6.4xlarge | ml.g6.8xlarge | ml.g6.12xlarge | ml.g6.16xlarge | ml.g6.24xlarge | ml.g6.48xlarge | ml.p4d.24xlarge | ml.c7g.large | ml.c7g.xlarge | ml.c7g.2xlarge | ml.c7g.4xlarge | ml.c7g.8xlarge | ml.c7g.12xlarge | ml.c7g.16xlarge | ml.m6g.large | ml.m6g.xlarge | ml.m6g.2xlarge | ml.m6g.4xlarge | ml.m6g.8xlarge | ml.m6g.12xlarge | ml.m6g.16xlarge | ml.m6gd.large | ml.m6gd.xlarge | ml.m6gd.2xlarge | ml.m6gd.4xlarge | ml.m6gd.8xlarge | ml.m6gd.12xlarge | ml.m6gd.16xlarge | ml.c6g.large | ml.c6g.xlarge | ml.c6g.2xlarge | ml.c6g.4xlarge | ml.c6g.8xlarge | ml.c6g.12xlarge | ml.c6g.16xlarge | ml.c6gd.large | ml.c6gd.xlarge | ml.c6gd.2xlarge | ml.c6gd.4xlarge | ml.c6gd.8xlarge | ml.c6gd.12xlarge | ml.c6gd.16xlarge | ml.c6gn.large | ml.c6gn.xlarge | ml.c6gn.2xlarge | ml.c6gn.4xlarge | ml.c6gn.8xlarge | ml.c6gn.12xlarge | ml.c6gn.16xlarge | ml.r6g.large | ml.r6g.xlarge | ml.r6g.2xlarge | ml.r6g.4xlarge | ml.r6g.8xlarge | ml.r6g.12xlarge | ml.r6g.16xlarge | ml.r6gd.large | ml.r6gd.xlarge | ml.r6gd.2xlarge | ml.r6gd.4xlarge | ml.r6gd.8xlarge | ml.r6gd.12xlarge | ml.r6gd.16xlarge | ml.p4de.24xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.inf2.xlarge | ml.inf2.8xlarge | ml.inf2.24xlarge | ml.inf2.48xlarge | ml.p5.48xlarge | ml.m7i.large | ml.m7i.xlarge | ml.m7i.2xlarge | ml.m7i.4xlarge | ml.m7i.8xlarge | ml.m7i.12xlarge | ml.m7i.16xlarge | ml.m7i.24xlarge | ml.m7i.48xlarge | ml.c7i.large | ml.c7i.xlarge | ml.c7i.2xlarge | ml.c7i.4xlarge | ml.c7i.8xlarge | ml.c7i.12xlarge | ml.c7i.16xlarge | ml.c7i.24xlarge | ml.c7i.48xlarge | ml.r7i.large | ml.r7i.xlarge | ml.r7i.2xlarge | ml.r7i.4xlarge | ml.r7i.8xlarge | ml.r7i.12xlarge | ml.r7i.16xlarge | ml.r7i.24xlarge | ml.r7i.48xlarge,
      ManagedInstanceScaling: {
        MaxInstanceCount: 'NUMBER_VALUE',
        MinInstanceCount: 'NUMBER_VALUE',
        Status: ENABLED | DISABLED
      },
      ModelDataDownloadTimeoutInSeconds: 'NUMBER_VALUE',
      ModelName: 'STRING_VALUE',
      RoutingConfig: {
        RoutingStrategy: LEAST_OUTSTANDING_REQUESTS | RANDOM /* required */
      },
      ServerlessConfig: {
        MaxConcurrency: 'NUMBER_VALUE', /* required */
        MemorySizeInMB: 'NUMBER_VALUE', /* required */
        ProvisionedConcurrency: 'NUMBER_VALUE'
      },
      VolumeSizeInGB: 'NUMBER_VALUE'
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  VpcConfig: {
    SecurityGroupIds: [ /* required */
      'STRING_VALUE',
      /* more items */
    ],
    Subnets: [ /* required */
      'STRING_VALUE',
      /* more items */
    ]
  }
};
sagemaker.createEndpointConfig(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • EndpointConfigName — (String)

      The name of the endpoint configuration. You specify this name in a CreateEndpoint request.

    • ProductionVariants — (Array<map>)

      An array of ProductionVariant objects, one for each model that you want to host at this endpoint.

      • VariantNamerequired — (String)

        The name of the production variant.

      • ModelName — (String)

        The name of the model that you want to host. This is the name that you specified when creating the model.

      • InitialInstanceCount — (Integer)

        Number of instances to launch initially.

      • InstanceType — (String)

        The ML compute instance type.

        Possible values include:
        • "ml.t2.medium"
        • "ml.t2.large"
        • "ml.t2.xlarge"
        • "ml.t2.2xlarge"
        • "ml.m4.xlarge"
        • "ml.m4.2xlarge"
        • "ml.m4.4xlarge"
        • "ml.m4.10xlarge"
        • "ml.m4.16xlarge"
        • "ml.m5.large"
        • "ml.m5.xlarge"
        • "ml.m5.2xlarge"
        • "ml.m5.4xlarge"
        • "ml.m5.12xlarge"
        • "ml.m5.24xlarge"
        • "ml.m5d.large"
        • "ml.m5d.xlarge"
        • "ml.m5d.2xlarge"
        • "ml.m5d.4xlarge"
        • "ml.m5d.12xlarge"
        • "ml.m5d.24xlarge"
        • "ml.c4.large"
        • "ml.c4.xlarge"
        • "ml.c4.2xlarge"
        • "ml.c4.4xlarge"
        • "ml.c4.8xlarge"
        • "ml.p2.xlarge"
        • "ml.p2.8xlarge"
        • "ml.p2.16xlarge"
        • "ml.p3.2xlarge"
        • "ml.p3.8xlarge"
        • "ml.p3.16xlarge"
        • "ml.c5.large"
        • "ml.c5.xlarge"
        • "ml.c5.2xlarge"
        • "ml.c5.4xlarge"
        • "ml.c5.9xlarge"
        • "ml.c5.18xlarge"
        • "ml.c5d.large"
        • "ml.c5d.xlarge"
        • "ml.c5d.2xlarge"
        • "ml.c5d.4xlarge"
        • "ml.c5d.9xlarge"
        • "ml.c5d.18xlarge"
        • "ml.g4dn.xlarge"
        • "ml.g4dn.2xlarge"
        • "ml.g4dn.4xlarge"
        • "ml.g4dn.8xlarge"
        • "ml.g4dn.12xlarge"
        • "ml.g4dn.16xlarge"
        • "ml.r5.large"
        • "ml.r5.xlarge"
        • "ml.r5.2xlarge"
        • "ml.r5.4xlarge"
        • "ml.r5.12xlarge"
        • "ml.r5.24xlarge"
        • "ml.r5d.large"
        • "ml.r5d.xlarge"
        • "ml.r5d.2xlarge"
        • "ml.r5d.4xlarge"
        • "ml.r5d.12xlarge"
        • "ml.r5d.24xlarge"
        • "ml.inf1.xlarge"
        • "ml.inf1.2xlarge"
        • "ml.inf1.6xlarge"
        • "ml.inf1.24xlarge"
        • "ml.dl1.24xlarge"
        • "ml.c6i.large"
        • "ml.c6i.xlarge"
        • "ml.c6i.2xlarge"
        • "ml.c6i.4xlarge"
        • "ml.c6i.8xlarge"
        • "ml.c6i.12xlarge"
        • "ml.c6i.16xlarge"
        • "ml.c6i.24xlarge"
        • "ml.c6i.32xlarge"
        • "ml.g5.xlarge"
        • "ml.g5.2xlarge"
        • "ml.g5.4xlarge"
        • "ml.g5.8xlarge"
        • "ml.g5.12xlarge"
        • "ml.g5.16xlarge"
        • "ml.g5.24xlarge"
        • "ml.g5.48xlarge"
        • "ml.g6.xlarge"
        • "ml.g6.2xlarge"
        • "ml.g6.4xlarge"
        • "ml.g6.8xlarge"
        • "ml.g6.12xlarge"
        • "ml.g6.16xlarge"
        • "ml.g6.24xlarge"
        • "ml.g6.48xlarge"
        • "ml.p4d.24xlarge"
        • "ml.c7g.large"
        • "ml.c7g.xlarge"
        • "ml.c7g.2xlarge"
        • "ml.c7g.4xlarge"
        • "ml.c7g.8xlarge"
        • "ml.c7g.12xlarge"
        • "ml.c7g.16xlarge"
        • "ml.m6g.large"
        • "ml.m6g.xlarge"
        • "ml.m6g.2xlarge"
        • "ml.m6g.4xlarge"
        • "ml.m6g.8xlarge"
        • "ml.m6g.12xlarge"
        • "ml.m6g.16xlarge"
        • "ml.m6gd.large"
        • "ml.m6gd.xlarge"
        • "ml.m6gd.2xlarge"
        • "ml.m6gd.4xlarge"
        • "ml.m6gd.8xlarge"
        • "ml.m6gd.12xlarge"
        • "ml.m6gd.16xlarge"
        • "ml.c6g.large"
        • "ml.c6g.xlarge"
        • "ml.c6g.2xlarge"
        • "ml.c6g.4xlarge"
        • "ml.c6g.8xlarge"
        • "ml.c6g.12xlarge"
        • "ml.c6g.16xlarge"
        • "ml.c6gd.large"
        • "ml.c6gd.xlarge"
        • "ml.c6gd.2xlarge"
        • "ml.c6gd.4xlarge"
        • "ml.c6gd.8xlarge"
        • "ml.c6gd.12xlarge"
        • "ml.c6gd.16xlarge"
        • "ml.c6gn.large"
        • "ml.c6gn.xlarge"
        • "ml.c6gn.2xlarge"
        • "ml.c6gn.4xlarge"
        • "ml.c6gn.8xlarge"
        • "ml.c6gn.12xlarge"
        • "ml.c6gn.16xlarge"
        • "ml.r6g.large"
        • "ml.r6g.xlarge"
        • "ml.r6g.2xlarge"
        • "ml.r6g.4xlarge"
        • "ml.r6g.8xlarge"
        • "ml.r6g.12xlarge"
        • "ml.r6g.16xlarge"
        • "ml.r6gd.large"
        • "ml.r6gd.xlarge"
        • "ml.r6gd.2xlarge"
        • "ml.r6gd.4xlarge"
        • "ml.r6gd.8xlarge"
        • "ml.r6gd.12xlarge"
        • "ml.r6gd.16xlarge"
        • "ml.p4de.24xlarge"
        • "ml.trn1.2xlarge"
        • "ml.trn1.32xlarge"
        • "ml.trn1n.32xlarge"
        • "ml.inf2.xlarge"
        • "ml.inf2.8xlarge"
        • "ml.inf2.24xlarge"
        • "ml.inf2.48xlarge"
        • "ml.p5.48xlarge"
        • "ml.m7i.large"
        • "ml.m7i.xlarge"
        • "ml.m7i.2xlarge"
        • "ml.m7i.4xlarge"
        • "ml.m7i.8xlarge"
        • "ml.m7i.12xlarge"
        • "ml.m7i.16xlarge"
        • "ml.m7i.24xlarge"
        • "ml.m7i.48xlarge"
        • "ml.c7i.large"
        • "ml.c7i.xlarge"
        • "ml.c7i.2xlarge"
        • "ml.c7i.4xlarge"
        • "ml.c7i.8xlarge"
        • "ml.c7i.12xlarge"
        • "ml.c7i.16xlarge"
        • "ml.c7i.24xlarge"
        • "ml.c7i.48xlarge"
        • "ml.r7i.large"
        • "ml.r7i.xlarge"
        • "ml.r7i.2xlarge"
        • "ml.r7i.4xlarge"
        • "ml.r7i.8xlarge"
        • "ml.r7i.12xlarge"
        • "ml.r7i.16xlarge"
        • "ml.r7i.24xlarge"
        • "ml.r7i.48xlarge"
      • InitialVariantWeight — (Float)

        Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

      • AcceleratorType — (String)

        The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

        Possible values include:
        • "ml.eia1.medium"
        • "ml.eia1.large"
        • "ml.eia1.xlarge"
        • "ml.eia2.medium"
        • "ml.eia2.large"
        • "ml.eia2.xlarge"
      • CoreDumpConfig — (map)

        Specifies configuration for a core dump from the model container when the process crashes.

        • DestinationS3Urirequired — (String)

          The Amazon S3 bucket to send the core dump to.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the core dump data at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          • // KMS Key Alias

            "alias/ExampleAlias"

          • // Amazon Resource Name (ARN) of a KMS Key Alias

            "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

          If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for OutputDataConfig. If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

          The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint and UpdateEndpoint requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

      • ServerlessConfig — (map)

        The serverless configuration for an endpoint. Specifies a serverless endpoint configuration instead of an instance-based endpoint configuration.

        • MemorySizeInMBrequired — (Integer)

          The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.

        • MaxConcurrencyrequired — (Integer)

          The maximum number of concurrent invocations your serverless endpoint can process.

        • ProvisionedConcurrency — (Integer)

          The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to MaxConcurrency.

          Note: This field is not supported for serverless endpoint recommendations for Inference Recommender jobs. For more information about creating an Inference Recommender job, see CreateInferenceRecommendationsJobs.
      • VolumeSizeInGB — (Integer)

        The size, in GB, of the ML storage volume attached to individual inference instance associated with the production variant. Currently only Amazon EBS gp2 storage volumes are supported.

      • ModelDataDownloadTimeoutInSeconds — (Integer)

        The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this production variant.

      • ContainerStartupHealthCheckTimeoutInSeconds — (Integer)

        The timeout value, in seconds, for your inference container to pass health check by SageMaker Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.

      • EnableSSMAccess — (Boolean)

        You can use this parameter to turn on native Amazon Web Services Systems Manager (SSM) access for a production variant behind an endpoint. By default, SSM access is disabled for all production variants behind an endpoint. You can turn on or turn off SSM access for a production variant behind an existing endpoint by creating a new endpoint configuration and calling UpdateEndpoint.

      • ManagedInstanceScaling — (map)

        Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.

        • Status — (String)

          Indicates whether managed instance scaling is enabled.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
        • MinInstanceCount — (Integer)

          The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.

        • MaxInstanceCount — (Integer)

          The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.

      • RoutingConfig — (map)

        Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.

        • RoutingStrategyrequired — (String)

          Sets how the endpoint routes incoming traffic:

          • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

          • RANDOM: The endpoint routes each request to a randomly chosen instance.

          Possible values include:
          • "LEAST_OUTSTANDING_REQUESTS"
          • "RANDOM"
      • InferenceAmiVersion — (String)

        Specifies an option from a collection of preconfigured Amazon Machine Image (AMI) images. Each image is configured by Amazon Web Services with a set of software and driver versions. Amazon Web Services optimizes these configurations for different machine learning workloads.

        By selecting an AMI version, you can ensure that your inference environment is compatible with specific software requirements, such as CUDA driver versions, Linux kernel versions, or Amazon Web Services Neuron driver versions.

        The AMI version names, and their configurations, are the following:

        al2-ami-sagemaker-inference-gpu-2
        • Accelerator: GPU

        • NVIDIA driver version: 535.54.03

        • CUDA driver version: 12.2

        • Supported instance types: ml.g4dn., ml.g5., ml.g6., ml.p3., ml.p4d., ml.p4de., ml.p5.*

        Possible values include:
        • "al2-ami-sagemaker-inference-gpu-2"
    • DataCaptureConfig — (map)

      Configuration to control how SageMaker captures inference data.

      • EnableCapture — (Boolean)

        Whether data capture should be enabled or disabled (defaults to enabled).

      • InitialSamplingPercentagerequired — (Integer)

        The percentage of requests SageMaker will capture. A lower value is recommended for Endpoints with high traffic.

      • DestinationS3Urirequired — (String)

        The Amazon S3 location used to capture the data.

      • KmsKeyId — (String)

        The Amazon Resource Name (ARN) of an Key Management Service key that SageMaker uses to encrypt the captured data at rest using Amazon S3 server-side encryption.

        The KmsKeyId can be any of the following formats:

        • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

        • Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

        • Alias name: alias/ExampleAlias

        • Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

      • CaptureOptionsrequired — (Array<map>)

        Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both

        • CaptureModerequired — (String)

          Specify the boundary of data to capture.

          Possible values include:
          • "Input"
          • "Output"
          • "InputAndOutput"
      • CaptureContentTypeHeader — (map)

        Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.

        • CsvContentTypes — (Array<String>)

          The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.

        • JsonContentTypes — (Array<String>)

          The list of all content type headers that SageMaker will treat as JSON and capture accordingly.

    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • KmsKeyId — (String)

      The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.

      The KmsKeyId can be any of the following formats:

      • Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab

      • Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab

      • Alias name: alias/ExampleAlias

      • Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

      The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint, UpdateEndpoint requests. For more information, refer to the Amazon Web Services Key Management Service section Using Key Policies in Amazon Web Services KMS

      Note: Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a KmsKeyId when using an instance type with local storage. If any of the models that you specify in the ProductionVariants parameter use nitro-based instances with local storage, do not specify a value for the KmsKeyId parameter. If you specify a value for KmsKeyId when using any nitro-based instances with local storage, the call to CreateEndpointConfig fails. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes.
    • AsyncInferenceConfig — (map)

      Specifies configuration for how an endpoint performs asynchronous inference. This is a required field in order for your Endpoint to be invoked using InvokeEndpointAsync.

      • ClientConfig — (map)

        Configures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.

        • MaxConcurrentInvocationsPerInstance — (Integer)

          The maximum number of concurrent requests sent by the SageMaker client to the model container. If no value is provided, SageMaker chooses an optimal value.

      • OutputConfigrequired — (map)

        Specifies the configuration for asynchronous inference invocation outputs.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the asynchronous inference output in Amazon S3.

        • S3OutputPath — (String)

          The Amazon S3 location to upload inference responses to.

        • NotificationConfig — (map)

          Specifies the configuration for notifications of inference results for asynchronous inference.

          • SuccessTopic — (String)

            Amazon SNS topic to post a notification to when inference completes successfully. If no topic is provided, no notification is sent on success.

          • ErrorTopic — (String)

            Amazon SNS topic to post a notification to when inference fails. If no topic is provided, no notification is sent on failure.

          • IncludeInferenceResponseIn — (Array<String>)

            The Amazon SNS topics where you want the inference response to be included.

            Note: The inference response is included only if the response size is less than or equal to 128 KB.
        • S3FailurePath — (String)

          The Amazon S3 location to upload failure inference responses to.

    • ExplainerConfig — (map)

      A member of CreateEndpointConfig that enables explainers.

      • ClarifyExplainerConfig — (map)

        A member of ExplainerConfig that contains configuration parameters for the SageMaker Clarify explainer.

        • EnableExplanations — (String)

          A JMESPath boolean expression used to filter which records to explain. Explanations are activated by default. See EnableExplanations for additional information.

        • InferenceConfig — (map)

          The inference configuration parameter for the model container.

          • FeaturesAttribute — (String)

            Provides the JMESPath expression to extract the features from a model container input in JSON Lines format. For example, if FeaturesAttribute is the JMESPath expression 'myfeatures', it extracts a list of features [1,2,3] from request data '{"myfeatures":[1,2,3]}'.

          • ContentTemplate — (String)

            A template string used to format a JSON record into an acceptable model container input. For example, a ContentTemplate string '{"myfeatures":$features}' will format a list of features [1,2,3] into the record string '{"myfeatures":[1,2,3]}'. Required only when the model container input is in JSON Lines format.

          • MaxRecordCount — (Integer)

            The maximum number of records in a request that the model container can process when querying the model container for the predictions of a synthetic dataset. A record is a unit of input data that inference can be made on, for example, a single line in CSV data. If MaxRecordCount is 1, the model container expects one record per request. A value of 2 or greater means that the model expects batch requests, which can reduce overhead and speed up the inferencing process. If this parameter is not provided, the explainer will tune the record count per request according to the model container's capacity at runtime.

          • MaxPayloadInMB — (Integer)

            The maximum payload size (MB) allowed of a request from the explainer to the model container. Defaults to 6 MB.

          • ProbabilityIndex — (Integer)

            A zero-based index used to extract a probability value (score) or list from model container output in CSV format. If this value is not provided, the entire model container output will be treated as a probability value (score) or list.

            Example for a single class model: If the model container output consists of a string-formatted prediction label followed by its probability: '1,0.6', set ProbabilityIndex to 1 to select the probability value 0.6.

            Example for a multiclass model: If the model container output consists of a string-formatted prediction label followed by its probability: '"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"', set ProbabilityIndex to 1 to select the probability values [0.1,0.6,0.3].

          • LabelIndex — (Integer)

            A zero-based index used to extract a label header or list of label headers from model container output in CSV format.

            Example for a multiclass model: If the model container output consists of label headers followed by probabilities: '"[\'cat\',\'dog\',\'fish\']","[0.1,0.6,0.3]"', set LabelIndex to 0 to select the label headers ['cat','dog','fish'].

          • ProbabilityAttribute — (String)

            A JMESPath expression used to extract the probability (or score) from the model container output if the model container is in JSON Lines format.

            Example: If the model container output of a single request is '{"predicted_label":1,"probability":0.6}', then set ProbabilityAttribute to 'probability'.

          • LabelAttribute — (String)

            A JMESPath expression used to locate the list of label headers in the model container output.

            Example: If the model container output of a batch request is '{"labels":["cat","dog","fish"],"probability":[0.6,0.3,0.1]}', then set LabelAttribute to 'labels' to extract the list of label headers ["cat","dog","fish"]

          • LabelHeaders — (Array<String>)

            For multiclass classification problems, the label headers are the names of the classes. Otherwise, the label header is the name of the predicted label. These are used to help readability for the output of the InvokeEndpoint API. See the response section under Invoke the endpoint in the Developer Guide for more information. If there are no label headers in the model container output, provide them manually using this parameter.

          • FeatureHeaders — (Array<String>)

            The names of the features. If provided, these are included in the endpoint response payload to help readability of the InvokeEndpoint output. See the Response section under Invoke the endpoint in the Developer Guide for more information.

          • FeatureTypes — (Array<String>)

            A list of data types of the features (optional). Applicable only to NLP explainability. If provided, FeatureTypes must have at least one 'text' string (for example, ['text']). If FeatureTypes is not provided, the explainer infers the feature types based on the baseline data. The feature types are included in the endpoint response payload. For additional information see the response section under Invoke the endpoint in the Developer Guide for more information.

        • ShapConfigrequired — (map)

          The configuration for SHAP analysis.

          • ShapBaselineConfigrequired — (map)

            The configuration for the SHAP baseline of the Kernal SHAP algorithm.

            • MimeType — (String)

              The MIME type of the baseline data. Choose from 'text/csv' or 'application/jsonlines'. Defaults to 'text/csv'.

            • ShapBaseline — (String)

              The inline SHAP baseline data in string format. ShapBaseline can have one or multiple records to be used as the baseline dataset. The format of the SHAP baseline file should be the same format as the training dataset. For example, if the training dataset is in CSV format and each record contains four features, and all features are numerical, then the format of the baseline data should also share these characteristics. For natural language processing (NLP) of text columns, the baseline value should be the value used to replace the unit of text specified by the Granularity of the TextConfig parameter. The size limit for ShapBasline is 4 KB. Use the ShapBaselineUri parameter if you want to provide more than 4 KB of baseline data.

            • ShapBaselineUri — (String)

              The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is stored. The format of the SHAP baseline file should be the same format as the format of the training dataset. For example, if the training dataset is in CSV format, and each record in the training dataset has four features, and all features are numerical, then the baseline file should also have this same format. Each record should contain only the features. If you are using a virtual private cloud (VPC), the ShapBaselineUri should be accessible to the VPC. For more information about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to Resources in your Amazon Virtual Private Cloud.

          • NumberOfSamples — (Integer)

            The number of samples to be used for analysis by the Kernal SHAP algorithm.

            Note: The number of samples determines the size of the synthetic dataset, which has an impact on latency of explainability requests. For more information, see the Synthetic data of Configure and create an endpoint.
          • UseLogit — (Boolean)

            A Boolean toggle to indicate if you want to use the logit function (true) or log-odds units (false) for model predictions. Defaults to false.

          • Seed — (Integer)

            The starting value used to initialize the random number generator in the explainer. Provide a value for this parameter to obtain a deterministic SHAP result.

          • TextConfig — (map)

            A parameter that indicates if text features are treated as text and explanations are provided for individual units of text. Required for natural language processing (NLP) explainability only.

            • Languagerequired — (String)

              Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.

              Note: For a mix of multiple languages, use code 'xx'.
              Possible values include:
              • "af"
              • "sq"
              • "ar"
              • "hy"
              • "eu"
              • "bn"
              • "bg"
              • "ca"
              • "zh"
              • "hr"
              • "cs"
              • "da"
              • "nl"
              • "en"
              • "et"
              • "fi"
              • "fr"
              • "de"
              • "el"
              • "gu"
              • "he"
              • "hi"
              • "hu"
              • "is"
              • "id"
              • "ga"
              • "it"
              • "kn"
              • "ky"
              • "lv"
              • "lt"
              • "lb"
              • "mk"
              • "ml"
              • "mr"
              • "ne"
              • "nb"
              • "fa"
              • "pl"
              • "pt"
              • "ro"
              • "ru"
              • "sa"
              • "sr"
              • "tn"
              • "si"
              • "sk"
              • "sl"
              • "es"
              • "sv"
              • "tl"
              • "ta"
              • "tt"
              • "te"
              • "tr"
              • "uk"
              • "ur"
              • "yo"
              • "lij"
              • "xx"
            • Granularityrequired — (String)

              The unit of granularity for the analysis of text features. For example, if the unit is 'token', then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for each unit/feature.

              Possible values include:
              • "token"
              • "sentence"
              • "paragraph"
    • ShadowProductionVariants — (Array<map>)

      An array of ProductionVariant objects, one for each model that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants. If you use this field, you can only specify one variant for ProductionVariants and one variant for ShadowProductionVariants.

      • VariantNamerequired — (String)

        The name of the production variant.

      • ModelName — (String)

        The name of the model that you want to host. This is the name that you specified when creating the model.

      • InitialInstanceCount — (Integer)

        Number of instances to launch initially.

      • InstanceType — (String)

        The ML compute instance type.

        Possible values include:
        • "ml.t2.medium"
        • "ml.t2.large"
        • "ml.t2.xlarge"
        • "ml.t2.2xlarge"
        • "ml.m4.xlarge"
        • "ml.m4.2xlarge"
        • "ml.m4.4xlarge"
        • "ml.m4.10xlarge"
        • "ml.m4.16xlarge"
        • "ml.m5.large"
        • "ml.m5.xlarge"
        • "ml.m5.2xlarge"
        • "ml.m5.4xlarge"
        • "ml.m5.12xlarge"
        • "ml.m5.24xlarge"
        • "ml.m5d.large"
        • "ml.m5d.xlarge"
        • "ml.m5d.2xlarge"
        • "ml.m5d.4xlarge"
        • "ml.m5d.12xlarge"
        • "ml.m5d.24xlarge"
        • "ml.c4.large"
        • "ml.c4.xlarge"
        • "ml.c4.2xlarge"
        • "ml.c4.4xlarge"
        • "ml.c4.8xlarge"
        • "ml.p2.xlarge"
        • "ml.p2.8xlarge"
        • "ml.p2.16xlarge"
        • "ml.p3.2xlarge"
        • "ml.p3.8xlarge"
        • "ml.p3.16xlarge"
        • "ml.c5.large"
        • "ml.c5.xlarge"
        • "ml.c5.2xlarge"
        • "ml.c5.4xlarge"
        • "ml.c5.9xlarge"
        • "ml.c5.18xlarge"
        • "ml.c5d.large"
        • "ml.c5d.xlarge"
        • "ml.c5d.2xlarge"
        • "ml.c5d.4xlarge"
        • "ml.c5d.9xlarge"
        • "ml.c5d.18xlarge"
        • "ml.g4dn.xlarge"
        • "ml.g4dn.2xlarge"
        • "ml.g4dn.4xlarge"
        • "ml.g4dn.8xlarge"
        • "ml.g4dn.12xlarge"
        • "ml.g4dn.16xlarge"
        • "ml.r5.large"
        • "ml.r5.xlarge"
        • "ml.r5.2xlarge"
        • "ml.r5.4xlarge"
        • "ml.r5.12xlarge"
        • "ml.r5.24xlarge"
        • "ml.r5d.large"
        • "ml.r5d.xlarge"
        • "ml.r5d.2xlarge"
        • "ml.r5d.4xlarge"
        • "ml.r5d.12xlarge"
        • "ml.r5d.24xlarge"
        • "ml.inf1.xlarge"
        • "ml.inf1.2xlarge"
        • "ml.inf1.6xlarge"
        • "ml.inf1.24xlarge"
        • "ml.dl1.24xlarge"
        • "ml.c6i.large"
        • "ml.c6i.xlarge"
        • "ml.c6i.2xlarge"
        • "ml.c6i.4xlarge"
        • "ml.c6i.8xlarge"
        • "ml.c6i.12xlarge"
        • "ml.c6i.16xlarge"
        • "ml.c6i.24xlarge"
        • "ml.c6i.32xlarge"
        • "ml.g5.xlarge"
        • "ml.g5.2xlarge"
        • "ml.g5.4xlarge"
        • "ml.g5.8xlarge"
        • "ml.g5.12xlarge"
        • "ml.g5.16xlarge"
        • "ml.g5.24xlarge"
        • "ml.g5.48xlarge"
        • "ml.g6.xlarge"
        • "ml.g6.2xlarge"
        • "ml.g6.4xlarge"
        • "ml.g6.8xlarge"
        • "ml.g6.12xlarge"
        • "ml.g6.16xlarge"
        • "ml.g6.24xlarge"
        • "ml.g6.48xlarge"
        • "ml.p4d.24xlarge"
        • "ml.c7g.large"
        • "ml.c7g.xlarge"
        • "ml.c7g.2xlarge"
        • "ml.c7g.4xlarge"
        • "ml.c7g.8xlarge"
        • "ml.c7g.12xlarge"
        • "ml.c7g.16xlarge"
        • "ml.m6g.large"
        • "ml.m6g.xlarge"
        • "ml.m6g.2xlarge"
        • "ml.m6g.4xlarge"
        • "ml.m6g.8xlarge"
        • "ml.m6g.12xlarge"
        • "ml.m6g.16xlarge"
        • "ml.m6gd.large"
        • "ml.m6gd.xlarge"
        • "ml.m6gd.2xlarge"
        • "ml.m6gd.4xlarge"
        • "ml.m6gd.8xlarge"
        • "ml.m6gd.12xlarge"
        • "ml.m6gd.16xlarge"
        • "ml.c6g.large"
        • "ml.c6g.xlarge"
        • "ml.c6g.2xlarge"
        • "ml.c6g.4xlarge"
        • "ml.c6g.8xlarge"
        • "ml.c6g.12xlarge"
        • "ml.c6g.16xlarge"
        • "ml.c6gd.large"
        • "ml.c6gd.xlarge"
        • "ml.c6gd.2xlarge"
        • "ml.c6gd.4xlarge"
        • "ml.c6gd.8xlarge"
        • "ml.c6gd.12xlarge"
        • "ml.c6gd.16xlarge"
        • "ml.c6gn.large"
        • "ml.c6gn.xlarge"
        • "ml.c6gn.2xlarge"
        • "ml.c6gn.4xlarge"
        • "ml.c6gn.8xlarge"
        • "ml.c6gn.12xlarge"
        • "ml.c6gn.16xlarge"
        • "ml.r6g.large"
        • "ml.r6g.xlarge"
        • "ml.r6g.2xlarge"
        • "ml.r6g.4xlarge"
        • "ml.r6g.8xlarge"
        • "ml.r6g.12xlarge"
        • "ml.r6g.16xlarge"
        • "ml.r6gd.large"
        • "ml.r6gd.xlarge"
        • "ml.r6gd.2xlarge"
        • "ml.r6gd.4xlarge"
        • "ml.r6gd.8xlarge"
        • "ml.r6gd.12xlarge"
        • "ml.r6gd.16xlarge"
        • "ml.p4de.24xlarge"
        • "ml.trn1.2xlarge"
        • "ml.trn1.32xlarge"
        • "ml.trn1n.32xlarge"
        • "ml.inf2.xlarge"
        • "ml.inf2.8xlarge"
        • "ml.inf2.24xlarge"
        • "ml.inf2.48xlarge"
        • "ml.p5.48xlarge"
        • "ml.m7i.large"
        • "ml.m7i.xlarge"
        • "ml.m7i.2xlarge"
        • "ml.m7i.4xlarge"
        • "ml.m7i.8xlarge"
        • "ml.m7i.12xlarge"
        • "ml.m7i.16xlarge"
        • "ml.m7i.24xlarge"
        • "ml.m7i.48xlarge"
        • "ml.c7i.large"
        • "ml.c7i.xlarge"
        • "ml.c7i.2xlarge"
        • "ml.c7i.4xlarge"
        • "ml.c7i.8xlarge"
        • "ml.c7i.12xlarge"
        • "ml.c7i.16xlarge"
        • "ml.c7i.24xlarge"
        • "ml.c7i.48xlarge"
        • "ml.r7i.large"
        • "ml.r7i.xlarge"
        • "ml.r7i.2xlarge"
        • "ml.r7i.4xlarge"
        • "ml.r7i.8xlarge"
        • "ml.r7i.12xlarge"
        • "ml.r7i.16xlarge"
        • "ml.r7i.24xlarge"
        • "ml.r7i.48xlarge"
      • InitialVariantWeight — (Float)

        Determines initial traffic distribution among all of the models that you specify in the endpoint configuration. The traffic to a production variant is determined by the ratio of the VariantWeight to the sum of all VariantWeight values across all ProductionVariants. If unspecified, it defaults to 1.0.

      • AcceleratorType — (String)

        The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.

        Possible values include:
        • "ml.eia1.medium"
        • "ml.eia1.large"
        • "ml.eia1.xlarge"
        • "ml.eia2.medium"
        • "ml.eia2.large"
        • "ml.eia2.xlarge"
      • CoreDumpConfig — (map)

        Specifies configuration for a core dump from the model container when the process crashes.

        • DestinationS3Urirequired — (String)

          The Amazon S3 bucket to send the core dump to.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the core dump data at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          • // KMS Key Alias

            "alias/ExampleAlias"

          • // Amazon Resource Name (ARN) of a KMS Key Alias

            "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

          If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for OutputDataConfig. If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

          The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint and UpdateEndpoint requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

      • ServerlessConfig — (map)

        The serverless configuration for an endpoint. Specifies a serverless endpoint configuration instead of an instance-based endpoint configuration.

        • MemorySizeInMBrequired — (Integer)

          The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.

        • MaxConcurrencyrequired — (Integer)

          The maximum number of concurrent invocations your serverless endpoint can process.

        • ProvisionedConcurrency — (Integer)

          The amount of provisioned concurrency to allocate for the serverless endpoint. Should be less than or equal to MaxConcurrency.

          Note: This field is not supported for serverless endpoint recommendations for Inference Recommender jobs. For more information about creating an Inference Recommender job, see CreateInferenceRecommendationsJobs.
      • VolumeSizeInGB — (Integer)

        The size, in GB, of the ML storage volume attached to individual inference instance associated with the production variant. Currently only Amazon EBS gp2 storage volumes are supported.

      • ModelDataDownloadTimeoutInSeconds — (Integer)

        The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this production variant.

      • ContainerStartupHealthCheckTimeoutInSeconds — (Integer)

        The timeout value, in seconds, for your inference container to pass health check by SageMaker Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests.

      • EnableSSMAccess — (Boolean)

        You can use this parameter to turn on native Amazon Web Services Systems Manager (SSM) access for a production variant behind an endpoint. By default, SSM access is disabled for all production variants behind an endpoint. You can turn on or turn off SSM access for a production variant behind an existing endpoint by creating a new endpoint configuration and calling UpdateEndpoint.

      • ManagedInstanceScaling — (map)

        Settings that control the range in the number of instances that the endpoint provisions as it scales up or down to accommodate traffic.

        • Status — (String)

          Indicates whether managed instance scaling is enabled.

          Possible values include:
          • "ENABLED"
          • "DISABLED"
        • MinInstanceCount — (Integer)

          The minimum number of instances that the endpoint must retain when it scales down to accommodate a decrease in traffic.

        • MaxInstanceCount — (Integer)

          The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in traffic.

      • RoutingConfig — (map)

        Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.

        • RoutingStrategyrequired — (String)

          Sets how the endpoint routes incoming traffic:

          • LEAST_OUTSTANDING_REQUESTS: The endpoint routes requests to the specific instances that have more capacity to process them.

          • RANDOM: The endpoint routes each request to a randomly chosen instance.

          Possible values include:
          • "LEAST_OUTSTANDING_REQUESTS"
          • "RANDOM"
      • InferenceAmiVersion — (String)

        Specifies an option from a collection of preconfigured Amazon Machine Image (AMI) images. Each image is configured by Amazon Web Services with a set of software and driver versions. Amazon Web Services optimizes these configurations for different machine learning workloads.

        By selecting an AMI version, you can ensure that your inference environment is compatible with specific software requirements, such as CUDA driver versions, Linux kernel versions, or Amazon Web Services Neuron driver versions.

        The AMI version names, and their configurations, are the following:

        al2-ami-sagemaker-inference-gpu-2
        • Accelerator: GPU

        • NVIDIA driver version: 535.54.03

        • CUDA driver version: 12.2

        • Supported instance types: ml.g4dn., ml.g5., ml.g6., ml.p3., ml.p4d., ml.p4de., ml.p5.*

        Possible values include:
        • "al2-ami-sagemaker-inference-gpu-2"
    • ExecutionRoleArn — (String)

      The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform actions on your behalf. For more information, see SageMaker Roles.

      Note: To be able to pass this role to Amazon SageMaker, the caller of this action must have the iam:PassRole permission.
    • VpcConfig — (map)

      Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

      • SecurityGroupIdsrequired — (Array<String>)

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

      • Subnetsrequired — (Array<String>)

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

    • EnableNetworkIsolation — (Boolean)

      Sets whether all model containers deployed to the endpoint are isolated. If they are, no inbound or outbound network calls can be made to or from the model containers.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • EndpointConfigArn — (String)

        The Amazon Resource Name (ARN) of the endpoint configuration.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createExperiment(params = {}, callback) ⇒ AWS.Request

Creates a SageMaker experiment. An experiment is a collection of trials that are observed, compared and evaluated as a group. A trial is a set of steps, called trial components, that produce a machine learning model.

Note: In the Studio UI, trials are referred to as run groups and trial components are referred to as runs.

The goal of an experiment is to determine the components that produce the best model. Multiple trials are performed, each one isolating and measuring the impact of a change to one or more inputs, while keeping the remaining inputs constant.

When you use SageMaker Studio or the SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the Amazon Web Services SDK for Python (Boto), you must use the logging APIs provided by the SDK.

You can add tags to experiments, trials, trial components and then use the Search API to search for the tags.

To add a description to an experiment, specify the optional Description parameter. To add a description later, or to change the description, call the UpdateExperiment API.

To get a list of all your experiments, call the ListExperiments API. To view an experiment's properties, call the DescribeExperiment API. To get a list of all the trials associated with an experiment, call the ListTrials API. To create a trial call the CreateTrial API.

Service Reference:

Examples:

Calling the createExperiment operation

var params = {
  ExperimentName: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  DisplayName: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createExperiment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ExperimentName — (String)

      The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.

    • DisplayName — (String)

      The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify DisplayName, the value in ExperimentName is displayed.

    • Description — (String)

      The description of the experiment.

    • Tags — (Array<map>)

      A list of tags to associate with the experiment. You can use Search API to search on the tags.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • ExperimentArn — (String)

        The Amazon Resource Name (ARN) of the experiment.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createFeatureGroup(params = {}, callback) ⇒ AWS.Request

Create a new FeatureGroup. A FeatureGroup is a group of Features defined in the FeatureStore to describe a Record.

The FeatureGroup defines the schema and features contained in the FeatureGroup. A FeatureGroup definition is composed of a list of Features, a RecordIdentifierFeatureName, an EventTimeFeatureName and configurations for its OnlineStore and OfflineStore. Check Amazon Web Services service quotas to see the FeatureGroups quota for your Amazon Web Services account.

Note that it can take approximately 10-15 minutes to provision an OnlineStore FeatureGroup with the InMemory StorageType.

You must include at least one of OnlineStoreConfig and OfflineStoreConfig to create a FeatureGroup.

Service Reference:

Examples:

Calling the createFeatureGroup operation

var params = {
  EventTimeFeatureName: 'STRING_VALUE', /* required */
  FeatureDefinitions: [ /* required */
    {
      FeatureName: 'STRING_VALUE', /* required */
      FeatureType: Integral | Fractional | String, /* required */
      CollectionConfig: {
        VectorConfig: {
          Dimension: 'NUMBER_VALUE' /* required */
        }
      },
      CollectionType: List | Set | Vector
    },
    /* more items */
  ],
  FeatureGroupName: 'STRING_VALUE', /* required */
  RecordIdentifierFeatureName: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  OfflineStoreConfig: {
    S3StorageConfig: { /* required */
      S3Uri: 'STRING_VALUE', /* required */
      KmsKeyId: 'STRING_VALUE',
      ResolvedOutputS3Uri: 'STRING_VALUE'
    },
    DataCatalogConfig: {
      Catalog: 'STRING_VALUE', /* required */
      Database: 'STRING_VALUE', /* required */
      TableName: 'STRING_VALUE' /* required */
    },
    DisableGlueTableCreation: true || false,
    TableFormat: Default | Glue | Iceberg
  },
  OnlineStoreConfig: {
    EnableOnlineStore: true || false,
    SecurityConfig: {
      KmsKeyId: 'STRING_VALUE'
    },
    StorageType: Standard | InMemory,
    TtlDuration: {
      Unit: Seconds | Minutes | Hours | Days | Weeks,
      Value: 'NUMBER_VALUE'
    }
  },
  RoleArn: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  ThroughputConfig: {
    ThroughputMode: OnDemand | Provisioned, /* required */
    ProvisionedReadCapacityUnits: 'NUMBER_VALUE',
    ProvisionedWriteCapacityUnits: 'NUMBER_VALUE'
  }
};
sagemaker.createFeatureGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • FeatureGroupName — (String)

      The name of the FeatureGroup. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

      The name:

      • Must start with an alphanumeric character.

      • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

    • RecordIdentifierFeatureName — (String)

      The name of the Feature whose value uniquely identifies a Record defined in the FeatureStore. Only the latest record per identifier value will be stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature definitions' names.

      You use the RecordIdentifierFeatureName to access data in a FeatureStore.

      This name:

      • Must start with an alphanumeric character.

      • Can only contains alphanumeric characters, hyphens, underscores. Spaces are not allowed.

    • EventTimeFeatureName — (String)

      The name of the feature that stores the EventTime of a Record in a FeatureGroup.

      An EventTime is a point in time when a new event occurs that corresponds to the creation or update of a Record in a FeatureGroup. All Records in the FeatureGroup must have a corresponding EventTime.

      An EventTime can be a String or Fractional.

      • Fractional: EventTime feature values must be a Unix timestamp in seconds.

      • String: EventTime feature values must be an ISO-8601 string in the format. The following formats are supported yyyy-MM-dd'T'HH:mm:ssZ and yyyy-MM-dd'T'HH:mm:ss.SSSZ where yyyy, MM, and dd represent the year, month, and day respectively and HH, mm, ss, and if applicable, SSS represent the hour, month, second and milliseconds respsectively. 'T' and Z are constants.

    • FeatureDefinitions — (Array<map>)

      A list of Feature names and types. Name and Type is compulsory per Feature.

      Valid feature FeatureTypes are Integral, Fractional and String.

      FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time

      You can create up to 2,500 FeatureDefinitions per FeatureGroup.

      • FeatureNamerequired — (String)

        The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

        The name:

        • Must start with an alphanumeric character.

        • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.

      • FeatureTyperequired — (String)

        The value type of a feature. Valid values are Integral, Fractional, or String.

        Possible values include:
        • "Integral"
        • "Fractional"
        • "String"
      • CollectionType — (String)

        A grouping of elements where each element within the collection must have the same feature type (String, Integral, or Fractional).

        • List: An ordered collection of elements.

        • Set: An unordered collection of unique elements.

        • Vector: A specialized list that represents a fixed-size array of elements. The vector dimension is determined by you. Must have elements with fractional feature types.

        Possible values include:
        • "List"
        • "Set"
        • "Vector"
      • CollectionConfig — (map)

        Configuration for your collection.

        • VectorConfig — (map)

          Configuration for your vector collection type.

          • Dimension: The number of elements in your vector.

          • Dimensionrequired — (Integer)

            The number of elements in your vector.

    • OnlineStoreConfig — (map)

      You can turn the OnlineStore on or off by specifying True for the EnableOnlineStore flag in OnlineStoreConfig.

      You can also include an Amazon Web Services KMS key ID (KMSKeyId) for at-rest encryption of the OnlineStore.

      The default value is False.

      • SecurityConfig — (map)

        Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of your OnlineStore.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption.

          The caller (either user or IAM role) of CreateFeatureGroup must have below permissions to the OnlineStore KmsKeyId:

          • "kms:Encrypt"

          • "kms:Decrypt"

          • "kms:DescribeKey"

          • "kms:CreateGrant"

          • "kms:RetireGrant"

          • "kms:ReEncryptFrom"

          • "kms:ReEncryptTo"

          • "kms:GenerateDataKey"

          • "kms:ListAliases"

          • "kms:ListGrants"

          • "kms:RevokeGrant"

          The caller (either user or IAM role) to all DataPlane operations (PutRecord, GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId:

          • "kms:Decrypt"

      • EnableOnlineStore — (Boolean)

        Turn OnlineStore off by specifying False for the EnableOnlineStore flag. Turn OnlineStore on by specifying True for the EnableOnlineStore flag.

        The default value is False.

      • TtlDuration — (map)

        Time to live duration, where the record is hard deleted after the expiration time is reached; ExpiresAt = EventTime + TtlDuration. For information on HardDelete, see the DeleteRecord API in the Amazon SageMaker API Reference guide.

        • Unit — (String)

          TtlDuration time unit.

          Possible values include:
          • "Seconds"
          • "Minutes"
          • "Hours"
          • "Days"
          • "Weeks"
        • Value — (Integer)

          TtlDuration time value.

      • StorageType — (String)

        Option for different tiers of low latency storage for real-time data retrieval.

        • Standard: A managed low latency data store for feature groups.

        • InMemory: A managed data store for feature groups that supports very low latency retrieval.

        Possible values include:
        • "Standard"
        • "InMemory"
    • OfflineStoreConfig — (map)

      Use this to configure an OfflineFeatureStore. This parameter allows you to specify:

      • The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore.

      • A configuration for an Amazon Web Services Glue or Amazon Web Services Hive data catalog.

      • An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore. If KMS encryption key is not specified, by default we encrypt all data at rest using Amazon Web Services KMS key. By defining your bucket-level key for SSE, you can reduce Amazon Web Services KMS requests costs by up to 99 percent.

      • Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.

      To learn more about this parameter, see OfflineStoreConfig.

      • S3StorageConfigrequired — (map)

        The Amazon Simple Storage (Amazon S3) location of OfflineStore.

        • S3Urirequired — (String)

          The S3 URI, or location in Amazon S3, of OfflineStore.

          S3 URIs have a format similar to the following: s3://example-bucket/prefix/.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into the OfflineStore S3 location.

          The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below permissions to the KmsKeyId:

          • "kms:GenerateDataKey"

        • ResolvedOutputS3Uri — (String)

          The S3 path where offline records are written.

      • DisableGlueTableCreation — (Boolean)

        Set to True to disable the automatic creation of an Amazon Web Services Glue table when configuring an OfflineStore. If set to False, Feature Store will name the OfflineStore Glue table following Athena's naming recommendations.

        The default value is False.

      • DataCatalogConfig — (map)

        The meta data of the Glue table that is autogenerated when an OfflineStore is created.

        • TableNamerequired — (String)

          The name of the Glue table.

        • Catalogrequired — (String)

          The name of the Glue table catalog.

        • Databaserequired — (String)

          The name of the Glue table database.

      • TableFormat — (String)

        Format for the offline store table. Supported formats are Glue (Default) and Apache Iceberg.

        Possible values include:
        • "Default"
        • "Glue"
        • "Iceberg"
    • ThroughputConfig — (map)

      Used to set feature group throughput configuration. There are two modes: ON_DEMAND and PROVISIONED. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.

      Note: PROVISIONED throughput mode is supported only for feature groups that are offline-only, or use the Standard tier online store.

      • ThroughputModerequired — (String)

        The mode used for your feature group throughput: ON_DEMAND or PROVISIONED.

        Possible values include:
        • "OnDemand"
        • "Provisioned"
      • ProvisionedReadCapacityUnits — (Integer)

        For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.

        This field is not applicable for on-demand feature groups.

      • ProvisionedWriteCapacityUnits — (Integer)

        For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.

        This field is not applicable for on-demand feature groups.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) of the IAM execution role used to persist data into the OfflineStore if an OfflineStoreConfig is provided.

    • Description — (String)

      A free-form description of a FeatureGroup.

    • Tags — (Array<map>)

      Tags used to identify Features in each FeatureGroup.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • FeatureGroupArn — (String)

        The Amazon Resource Name (ARN) of the FeatureGroup. This is a unique identifier for the feature group.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createFlowDefinition(params = {}, callback) ⇒ AWS.Request

Creates a flow definition.

Service Reference:

Examples:

Calling the createFlowDefinition operation

var params = {
  FlowDefinitionName: 'STRING_VALUE', /* required */
  OutputConfig: { /* required */
    S3OutputPath: 'STRING_VALUE', /* required */
    KmsKeyId: 'STRING_VALUE'
  },
  RoleArn: 'STRING_VALUE', /* required */
  HumanLoopActivationConfig: {
    HumanLoopActivationConditionsConfig: { /* required */
      HumanLoopActivationConditions: any /* This value will be JSON encoded on your behalf with JSON.stringify() */ /* required */
    }
  },
  HumanLoopConfig: {
    HumanTaskUiArn: 'STRING_VALUE', /* required */
    TaskCount: 'NUMBER_VALUE', /* required */
    TaskDescription: 'STRING_VALUE', /* required */
    TaskTitle: 'STRING_VALUE', /* required */
    WorkteamArn: 'STRING_VALUE', /* required */
    PublicWorkforceTaskPrice: {
      AmountInUsd: {
        Cents: 'NUMBER_VALUE',
        Dollars: 'NUMBER_VALUE',
        TenthFractionsOfACent: 'NUMBER_VALUE'
      }
    },
    TaskAvailabilityLifetimeInSeconds: 'NUMBER_VALUE',
    TaskKeywords: [
      'STRING_VALUE',
      /* more items */
    ],
    TaskTimeLimitInSeconds: 'NUMBER_VALUE'
  },
  HumanLoopRequestSource: {
    AwsManagedHumanLoopRequestSource: AWS/Rekognition/DetectModerationLabels/Image/V3 | AWS/Textract/AnalyzeDocument/Forms/V1 /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createFlowDefinition(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • FlowDefinitionName — (String)

      The name of your flow definition.

    • HumanLoopRequestSource — (map)

      Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.

      • AwsManagedHumanLoopRequestSourcerequired — (String)

        Specifies whether Amazon Rekognition or Amazon Textract are used as the integration source. The default field settings and JSON parsing rules are different based on the integration source. Valid values:

        Possible values include:
        • "AWS/Rekognition/DetectModerationLabels/Image/V3"
        • "AWS/Textract/AnalyzeDocument/Forms/V1"
    • HumanLoopActivationConfig — (map)

      An object containing information about the events that trigger a human workflow.

      • HumanLoopActivationConditionsConfigrequired — (map)

        Container structure for defining under what conditions SageMaker creates a human loop.

        • HumanLoopActivationConditionsrequired — (String)

          JSON expressing use-case specific conditions declaratively. If any condition is matched, atomic tasks are created against the configured work team. The set of conditions is different for Rekognition and Textract. For more information about how to structure the JSON, see JSON Schema for Human Loop Activation Conditions in Amazon Augmented AI in the Amazon SageMaker Developer Guide.

    • HumanLoopConfig — (map)

      An object containing information about the tasks the human reviewers will perform.

      • WorkteamArnrequired — (String)

        Amazon Resource Name (ARN) of a team of workers. To learn more about the types of workforces and work teams you can create and use with Amazon A2I, see Create and Manage Workforces.

      • HumanTaskUiArnrequired — (String)

        The Amazon Resource Name (ARN) of the human task user interface.

        You can use standard HTML and Crowd HTML Elements to create a custom worker task template. You use this template to create a human task UI.

        To learn how to create a custom HTML template, see Create Custom Worker Task Template.

        To learn how to create a human task UI, which is a worker task template that can be used in a flow definition, see Create and Delete a Worker Task Templates.

      • TaskTitlerequired — (String)

        A title for the human worker task.

      • TaskDescriptionrequired — (String)

        A description for the human worker task.

      • TaskCountrequired — (Integer)

        The number of distinct workers who will perform the same task on each object. For example, if TaskCount is set to 3 for an image classification labeling job, three workers will classify each input image. Increasing TaskCount can improve label accuracy.

      • TaskAvailabilityLifetimeInSeconds — (Integer)

        The length of time that a task remains available for review by human workers.

      • TaskTimeLimitInSeconds — (Integer)

        The amount of time that a worker has to complete a task. The default value is 3,600 seconds (1 hour).

      • TaskKeywords — (Array<String>)

        Keywords used to describe the task so that workers can discover the task.

      • PublicWorkforceTaskPrice — (map)

        Defines the amount of money paid to an Amazon Mechanical Turk worker for each task performed.

        Use one of the following prices for bounding box tasks. Prices are in US dollars and should be based on the complexity of the task; the longer it takes in your initial testing, the more you should offer.

        • 0.036

        • 0.048

        • 0.060

        • 0.072

        • 0.120

        • 0.240

        • 0.360

        • 0.480

        • 0.600

        • 0.720

        • 0.840

        • 0.960

        • 1.080

        • 1.200

        Use one of the following prices for image classification, text classification, and custom tasks. Prices are in US dollars.

        • 0.012

        • 0.024

        • 0.036

        • 0.048

        • 0.060

        • 0.072

        • 0.120

        • 0.240

        • 0.360

        • 0.480

        • 0.600

        • 0.720

        • 0.840

        • 0.960

        • 1.080

        • 1.200

        Use one of the following prices for semantic segmentation tasks. Prices are in US dollars.

        • 0.840

        • 0.960

        • 1.080

        • 1.200

        Use one of the following prices for Textract AnalyzeDocument Important Form Key Amazon Augmented AI review tasks. Prices are in US dollars.

        • 2.400

        • 2.280

        • 2.160

        • 2.040

        • 1.920

        • 1.800

        • 1.680

        • 1.560

        • 1.440

        • 1.320

        • 1.200

        • 1.080

        • 0.960

        • 0.840

        • 0.720

        • 0.600

        • 0.480

        • 0.360

        • 0.240

        • 0.120

        • 0.072

        • 0.060

        • 0.048

        • 0.036

        • 0.024

        • 0.012

        Use one of the following prices for Rekognition DetectModerationLabels Amazon Augmented AI review tasks. Prices are in US dollars.

        • 1.200

        • 1.080

        • 0.960

        • 0.840

        • 0.720

        • 0.600

        • 0.480

        • 0.360

        • 0.240

        • 0.120

        • 0.072

        • 0.060

        • 0.048

        • 0.036

        • 0.024

        • 0.012

        Use one of the following prices for Amazon Augmented AI custom human review tasks. Prices are in US dollars.

        • 1.200

        • 1.080

        • 0.960

        • 0.840

        • 0.720

        • 0.600

        • 0.480

        • 0.360

        • 0.240

        • 0.120

        • 0.072

        • 0.060

        • 0.048

        • 0.036

        • 0.024

        • 0.012

        • AmountInUsd — (map)

          Defines the amount of money paid to an Amazon Mechanical Turk worker in United States dollars.

          • Dollars — (Integer)

            The whole number of dollars in the amount.

          • Cents — (Integer)

            The fractional portion, in cents, of the amount.

          • TenthFractionsOfACent — (Integer)

            Fractions of a cent, in tenths.

    • OutputConfig — (map)

      An object containing information about where the human review results will be uploaded.

      • S3OutputPathrequired — (String)

        The Amazon S3 path where the object containing human output will be made available.

        To learn more about the format of Amazon A2I output data, see Amazon A2I Output Data.

      • KmsKeyId — (String)

        The Amazon Key Management Service (KMS) key ID for server-side encryption.

    • RoleArn — (String)

      The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

    • Tags — (Array<map>)

      An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • FlowDefinitionArn — (String)

        The Amazon Resource Name (ARN) of the flow definition you create.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createHub(params = {}, callback) ⇒ AWS.Request

Create a hub.

Service Reference:

Examples:

Calling the createHub operation

var params = {
  HubDescription: 'STRING_VALUE', /* required */
  HubName: 'STRING_VALUE', /* required */
  HubDisplayName: 'STRING_VALUE',
  HubSearchKeywords: [
    'STRING_VALUE',
    /* more items */
  ],
  S3StorageConfig: {
    S3OutputPath: 'STRING_VALUE'
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createHub(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • HubName — (String)

      The name of the hub to create.

    • HubDescription — (String)

      A description of the hub.

    • HubDisplayName — (String)

      The display name of the hub.

    • HubSearchKeywords — (Array<String>)

      The searchable keywords for the hub.

    • S3StorageConfig — (map)

      The Amazon S3 storage configuration for the hub.

      • S3OutputPath — (String)

        The Amazon S3 bucket prefix for hosting hub content.

    • Tags — (Array<map>)

      Any tags to associate with the hub.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • HubArn — (String)

        The Amazon Resource Name (ARN) of the hub.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createHubContentReference(params = {}, callback) ⇒ AWS.Request

Create a hub content reference in order to add a model in the JumpStart public hub to a private hub.

Service Reference:

Examples:

Calling the createHubContentReference operation

var params = {
  HubName: 'STRING_VALUE', /* required */
  SageMakerPublicHubContentArn: 'STRING_VALUE', /* required */
  HubContentName: 'STRING_VALUE',
  MinVersion: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createHubContentReference(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • HubName — (String)

      The name of the hub to add the hub content reference to.

    • SageMakerPublicHubContentArn — (String)

      The ARN of the public hub content to reference.

    • HubContentName — (String)

      The name of the hub content to reference.

    • MinVersion — (String)

      The minimum version of the hub content to reference.

    • Tags — (Array<map>)

      Any tags associated with the hub content to reference.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • HubArn — (String)

        The ARN of the hub that the hub content reference was added to.

      • HubContentArn — (String)

        The ARN of the hub content.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createHumanTaskUi(params = {}, callback) ⇒ AWS.Request

Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.

Service Reference:

Examples:

Calling the createHumanTaskUi operation

var params = {
  HumanTaskUiName: 'STRING_VALUE', /* required */
  UiTemplate: { /* required */
    Content: 'STRING_VALUE' /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createHumanTaskUi(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • HumanTaskUiName — (String)

      The name of the user interface you are creating.

    • UiTemplate — (map)

      The Liquid template for the worker user interface.

      • Contentrequired — (String)

        The content of the Liquid template for the worker user interface.

    • Tags — (Array<map>)

      An array of key-value pairs that contain metadata to help you categorize and organize a human review workflow user interface. Each tag consists of a key and a value, both of which you define.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • HumanTaskUiArn — (String)

        The Amazon Resource Name (ARN) of the human review workflow user interface you create.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createHyperParameterTuningJob(params = {}, callback) ⇒ AWS.Request

Starts a hyperparameter tuning job. A hyperparameter tuning job finds the best version of a model by running many training jobs on your dataset using the algorithm you choose and values for hyperparameters within ranges that you specify. It then chooses the hyperparameter values that result in a model that performs the best, as measured by an objective metric that you choose.

A hyperparameter tuning job automatically creates Amazon SageMaker experiments, trials, and trial components for each training job that it runs. You can view these entities in Amazon SageMaker Studio. For more information, see View Experiments, Trials, and Trial Components.

Do not include any security-sensitive information including account access IDs, secrets or tokens in any hyperparameter field. If the use of security-sensitive credentials are detected, SageMaker will reject your training job request and return an exception error.

Service Reference:

Examples:

Calling the createHyperParameterTuningJob operation

var params = {
  HyperParameterTuningJobConfig: { /* required */
    ResourceLimits: { /* required */
      MaxParallelTrainingJobs: 'NUMBER_VALUE', /* required */
      MaxNumberOfTrainingJobs: 'NUMBER_VALUE',
      MaxRuntimeInSeconds: 'NUMBER_VALUE'
    },
    Strategy: Bayesian | Random | Hyperband | Grid, /* required */
    HyperParameterTuningJobObjective: {
      MetricName: 'STRING_VALUE', /* required */
      Type: Maximize | Minimize /* required */
    },
    ParameterRanges: {
      AutoParameters: [
        {
          Name: 'STRING_VALUE', /* required */
          ValueHint: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      CategoricalParameterRanges: [
        {
          Name: 'STRING_VALUE', /* required */
          Values: [ /* required */
            'STRING_VALUE',
            /* more items */
          ]
        },
        /* more items */
      ],
      ContinuousParameterRanges: [
        {
          MaxValue: 'STRING_VALUE', /* required */
          MinValue: 'STRING_VALUE', /* required */
          Name: 'STRING_VALUE', /* required */
          ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
        },
        /* more items */
      ],
      IntegerParameterRanges: [
        {
          MaxValue: 'STRING_VALUE', /* required */
          MinValue: 'STRING_VALUE', /* required */
          Name: 'STRING_VALUE', /* required */
          ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
        },
        /* more items */
      ]
    },
    RandomSeed: 'NUMBER_VALUE',
    StrategyConfig: {
      HyperbandStrategyConfig: {
        MaxResource: 'NUMBER_VALUE',
        MinResource: 'NUMBER_VALUE'
      }
    },
    TrainingJobEarlyStoppingType: Off | Auto,
    TuningJobCompletionCriteria: {
      BestObjectiveNotImproving: {
        MaxNumberOfTrainingJobsNotImproving: 'NUMBER_VALUE'
      },
      ConvergenceDetected: {
        CompleteOnConvergence: Disabled | Enabled
      },
      TargetObjectiveMetricValue: 'NUMBER_VALUE'
    }
  },
  HyperParameterTuningJobName: 'STRING_VALUE', /* required */
  Autotune: {
    Mode: Enabled /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  TrainingJobDefinition: {
    AlgorithmSpecification: { /* required */
      TrainingInputMode: Pipe | File | FastFile, /* required */
      AlgorithmName: 'STRING_VALUE',
      MetricDefinitions: [
        {
          Name: 'STRING_VALUE', /* required */
          Regex: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      TrainingImage: 'STRING_VALUE'
    },
    OutputDataConfig: { /* required */
      S3OutputPath: 'STRING_VALUE', /* required */
      CompressionType: GZIP | NONE,
      KmsKeyId: 'STRING_VALUE'
    },
    RoleArn: 'STRING_VALUE', /* required */
    StoppingCondition: { /* required */
      MaxPendingTimeInSeconds: 'NUMBER_VALUE',
      MaxRuntimeInSeconds: 'NUMBER_VALUE',
      MaxWaitTimeInSeconds: 'NUMBER_VALUE'
    },
    CheckpointConfig: {
      S3Uri: 'STRING_VALUE', /* required */
      LocalPath: 'STRING_VALUE'
    },
    DefinitionName: 'STRING_VALUE',
    EnableInterContainerTrafficEncryption: true || false,
    EnableManagedSpotTraining: true || false,
    EnableNetworkIsolation: true || false,
    Environment: {
      '<HyperParameterTrainingJobEnvironmentKey>': 'STRING_VALUE',
      /* '<HyperParameterTrainingJobEnvironmentKey>': ... */
    },
    HyperParameterRanges: {
      AutoParameters: [
        {
          Name: 'STRING_VALUE', /* required */
          ValueHint: 'STRING_VALUE' /* required */
        },
        /* more items */
      ],
      CategoricalParameterRanges: [
        {
          Name: 'STRING_VALUE', /* required */
          Values: [ /* required */
            'STRING_VALUE',
            /* more items */
          ]
        },
        /* more items */
      ],
      ContinuousParameterRanges: [
        {
          MaxValue: 'STRING_VALUE', /* required */
          MinValue: 'STRING_VALUE', /* required */
          Name: 'STRING_VALUE', /* required */
          ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
        },
        /* more items */
      ],
      IntegerParameterRanges: [
        {
          MaxValue: 'STRING_VALUE', /* required */
          MinValue: 'STRING_VALUE', /* required */
          Name: 'STRING_VALUE', /* required */
          ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
        },
        /* more items */
      ]
    },
    HyperParameterTuningResourceConfig: {
      AllocationStrategy: Prioritized,
      InstanceConfigs: [
        {
          InstanceCount: 'NUMBER_VALUE', /* required */
          InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge, /* required */
          VolumeSizeInGB: 'NUMBER_VALUE' /* required */
        },
        /* more items */
      ],
      InstanceCount: 'NUMBER_VALUE',
      InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
      VolumeKmsKeyId: 'STRING_VALUE',
      VolumeSizeInGB: 'NUMBER_VALUE'
    },
    InputDataConfig: [
      {
        ChannelName: 'STRING_VALUE', /* required */
        DataSource: { /* required */
          FileSystemDataSource: {
            DirectoryPath: 'STRING_VALUE', /* required */
            FileSystemAccessMode: rw | ro, /* required */
            FileSystemId: 'STRING_VALUE', /* required */
            FileSystemType: EFS | FSxLustre /* required */
          },
          S3DataSource: {
            S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
            S3Uri: 'STRING_VALUE', /* required */
            AttributeNames: [
              'STRING_VALUE',
              /* more items */
            ],
            InstanceGroupNames: [
              'STRING_VALUE',
              /* more items */
            ],
            S3DataDistributionType: FullyReplicated | ShardedByS3Key
          }
        },
        CompressionType: None | Gzip,
        ContentType: 'STRING_VALUE',
        InputMode: Pipe | File | FastFile,
        RecordWrapperType: None | RecordIO,
        ShuffleConfig: {
          Seed: 'NUMBER_VALUE' /* required */
        }
      },
      /* more items */
    ],
    ResourceConfig: {
      VolumeSizeInGB: 'NUMBER_VALUE', /* required */
      InstanceCount: 'NUMBER_VALUE',
      InstanceGroups: [
        {
          InstanceCount: 'NUMBER_VALUE', /* required */
          InstanceGroupName: 'STRING_VALUE', /* required */
          InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge /* required */
        },
        /* more items */
      ],
      InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
      KeepAlivePeriodInSeconds: 'NUMBER_VALUE',
      VolumeKmsKeyId: 'STRING_VALUE'
    },
    RetryStrategy: {
      MaximumRetryAttempts: 'NUMBER_VALUE' /* required */
    },
    StaticHyperParameters: {
      '<HyperParameterKey>': 'STRING_VALUE',
      /* '<HyperParameterKey>': ... */
    },
    TuningObjective: {
      MetricName: 'STRING_VALUE', /* required */
      Type: Maximize | Minimize /* required */
    },
    VpcConfig: {
      SecurityGroupIds: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      Subnets: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    }
  },
  TrainingJobDefinitions: [
    {
      AlgorithmSpecification: { /* required */
        TrainingInputMode: Pipe | File | FastFile, /* required */
        AlgorithmName: 'STRING_VALUE',
        MetricDefinitions: [
          {
            Name: 'STRING_VALUE', /* required */
            Regex: 'STRING_VALUE' /* required */
          },
          /* more items */
        ],
        TrainingImage: 'STRING_VALUE'
      },
      OutputDataConfig: { /* required */
        S3OutputPath: 'STRING_VALUE', /* required */
        CompressionType: GZIP | NONE,
        KmsKeyId: 'STRING_VALUE'
      },
      RoleArn: 'STRING_VALUE', /* required */
      StoppingCondition: { /* required */
        MaxPendingTimeInSeconds: 'NUMBER_VALUE',
        MaxRuntimeInSeconds: 'NUMBER_VALUE',
        MaxWaitTimeInSeconds: 'NUMBER_VALUE'
      },
      CheckpointConfig: {
        S3Uri: 'STRING_VALUE', /* required */
        LocalPath: 'STRING_VALUE'
      },
      DefinitionName: 'STRING_VALUE',
      EnableInterContainerTrafficEncryption: true || false,
      EnableManagedSpotTraining: true || false,
      EnableNetworkIsolation: true || false,
      Environment: {
        '<HyperParameterTrainingJobEnvironmentKey>': 'STRING_VALUE',
        /* '<HyperParameterTrainingJobEnvironmentKey>': ... */
      },
      HyperParameterRanges: {
        AutoParameters: [
          {
            Name: 'STRING_VALUE', /* required */
            ValueHint: 'STRING_VALUE' /* required */
          },
          /* more items */
        ],
        CategoricalParameterRanges: [
          {
            Name: 'STRING_VALUE', /* required */
            Values: [ /* required */
              'STRING_VALUE',
              /* more items */
            ]
          },
          /* more items */
        ],
        ContinuousParameterRanges: [
          {
            MaxValue: 'STRING_VALUE', /* required */
            MinValue: 'STRING_VALUE', /* required */
            Name: 'STRING_VALUE', /* required */
            ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
          },
          /* more items */
        ],
        IntegerParameterRanges: [
          {
            MaxValue: 'STRING_VALUE', /* required */
            MinValue: 'STRING_VALUE', /* required */
            Name: 'STRING_VALUE', /* required */
            ScalingType: Auto | Linear | Logarithmic | ReverseLogarithmic
          },
          /* more items */
        ]
      },
      HyperParameterTuningResourceConfig: {
        AllocationStrategy: Prioritized,
        InstanceConfigs: [
          {
            InstanceCount: 'NUMBER_VALUE', /* required */
            InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge, /* required */
            VolumeSizeInGB: 'NUMBER_VALUE' /* required */
          },
          /* more items */
        ],
        InstanceCount: 'NUMBER_VALUE',
        InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
        VolumeKmsKeyId: 'STRING_VALUE',
        VolumeSizeInGB: 'NUMBER_VALUE'
      },
      InputDataConfig: [
        {
          ChannelName: 'STRING_VALUE', /* required */
          DataSource: { /* required */
            FileSystemDataSource: {
              DirectoryPath: 'STRING_VALUE', /* required */
              FileSystemAccessMode: rw | ro, /* required */
              FileSystemId: 'STRING_VALUE', /* required */
              FileSystemType: EFS | FSxLustre /* required */
            },
            S3DataSource: {
              S3DataType: ManifestFile | S3Prefix | AugmentedManifestFile, /* required */
              S3Uri: 'STRING_VALUE', /* required */
              AttributeNames: [
                'STRING_VALUE',
                /* more items */
              ],
              InstanceGroupNames: [
                'STRING_VALUE',
                /* more items */
              ],
              S3DataDistributionType: FullyReplicated | ShardedByS3Key
            }
          },
          CompressionType: None | Gzip,
          ContentType: 'STRING_VALUE',
          InputMode: Pipe | File | FastFile,
          RecordWrapperType: None | RecordIO,
          ShuffleConfig: {
            Seed: 'NUMBER_VALUE' /* required */
          }
        },
        /* more items */
      ],
      ResourceConfig: {
        VolumeSizeInGB: 'NUMBER_VALUE', /* required */
        InstanceCount: 'NUMBER_VALUE',
        InstanceGroups: [
          {
            InstanceCount: 'NUMBER_VALUE', /* required */
            InstanceGroupName: 'STRING_VALUE', /* required */
            InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge /* required */
          },
          /* more items */
        ],
        InstanceType: ml.m4.xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.c4.xlarge | ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.p2.xlarge | ml.p2.8xlarge | ml.p2.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.p5.48xlarge | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.18xlarge | ml.c5n.xlarge | ml.c5n.2xlarge | ml.c5n.4xlarge | ml.c5n.9xlarge | ml.c5n.18xlarge | ml.g5.xlarge | ml.g5.2xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.16xlarge | ml.g5.12xlarge | ml.g5.24xlarge | ml.g5.48xlarge | ml.trn1.2xlarge | ml.trn1.32xlarge | ml.trn1n.32xlarge | ml.m6i.large | ml.m6i.xlarge | ml.m6i.2xlarge | ml.m6i.4xlarge | ml.m6i.8xlarge | ml.m6i.12xlarge | ml.m6i.16xlarge | ml.m6i.24xlarge | ml.m6i.32xlarge | ml.c6i.xlarge | ml.c6i.2xlarge | ml.c6i.8xlarge | ml.c6i.4xlarge | ml.c6i.12xlarge | ml.c6i.16xlarge | ml.c6i.24xlarge | ml.c6i.32xlarge | ml.r5d.large | ml.r5d.xlarge | ml.r5d.2xlarge | ml.r5d.4xlarge | ml.r5d.8xlarge | ml.r5d.12xlarge | ml.r5d.16xlarge | ml.r5d.24xlarge | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.r5.large | ml.r5.xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge,
        KeepAlivePeriodInSeconds: 'NUMBER_VALUE',
        VolumeKmsKeyId: 'STRING_VALUE'
      },
      RetryStrategy: {
        MaximumRetryAttempts: 'NUMBER_VALUE' /* required */
      },
      StaticHyperParameters: {
        '<HyperParameterKey>': 'STRING_VALUE',
        /* '<HyperParameterKey>': ... */
      },
      TuningObjective: {
        MetricName: 'STRING_VALUE', /* required */
        Type: Maximize | Minimize /* required */
      },
      VpcConfig: {
        SecurityGroupIds: [ /* required */
          'STRING_VALUE',
          /* more items */
        ],
        Subnets: [ /* required */
          'STRING_VALUE',
          /* more items */
        ]
      }
    },
    /* more items */
  ],
  WarmStartConfig: {
    ParentHyperParameterTuningJobs: [ /* required */
      {
        HyperParameterTuningJobName: 'STRING_VALUE'
      },
      /* more items */
    ],
    WarmStartType: IdenticalDataAndAlgorithm | TransferLearning /* required */
  }
};
sagemaker.createHyperParameterTuningJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • HyperParameterTuningJobName — (String)

      The name of the tuning job. This name is the prefix for the names of all training jobs that this tuning job launches. The name must be unique within the same Amazon Web Services account and Amazon Web Services Region. The name must have 1 to 32 characters. Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case sensitive.

    • HyperParameterTuningJobConfig — (map)

      The HyperParameterTuningJobConfig object that describes the tuning job, including the search strategy, the objective metric used to evaluate training jobs, ranges of parameters to search, and resource limits for the tuning job. For more information, see How Hyperparameter Tuning Works.

      • Strategyrequired — (String)

        Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training job it launches. For information about search strategies, see How Hyperparameter Tuning Works.

        Possible values include:
        • "Bayesian"
        • "Random"
        • "Hyperband"
        • "Grid"
      • StrategyConfig — (map)

        The configuration for the Hyperband optimization strategy. This parameter should be provided only if Hyperband is selected as the strategy for HyperParameterTuningJobConfig.

        • HyperbandStrategyConfig — (map)

          The configuration for the object that specifies the Hyperband strategy. This parameter is only supported for the Hyperband selection for Strategy within the HyperParameterTuningJobConfig API.

          • MinResource — (Integer)

            The minimum number of resources (such as epochs) that can be used by a training job launched by a hyperparameter tuning job. If the value for MinResource has not been reached, the training job is not stopped by Hyperband.

          • MaxResource — (Integer)

            The maximum number of resources (such as epochs) that can be used by a training job launched by a hyperparameter tuning job. Once a job reaches the MaxResource value, it is stopped. If a value for MaxResource is not provided, and Hyperband is selected as the hyperparameter tuning strategy, HyperbandTraining attempts to infer MaxResource from the following keys (if present) in StaticsHyperParameters:

            • epochs

            • numepochs

            • n-epochs

            • n_epochs

            • num_epochs

            If HyperbandStrategyConfig is unable to infer a value for MaxResource, it generates a validation error. The maximum value is 20,000 epochs. All metrics that correspond to an objective metric are used to derive early stopping decisions. For distributed training jobs, ensure that duplicate metrics are not printed in the logs across the individual nodes in a training job. If multiple nodes are publishing duplicate or incorrect metrics, training jobs may make an incorrect stopping decision and stop the job prematurely.

      • HyperParameterTuningJobObjective — (map)

        The HyperParameterTuningJobObjective specifies the objective metric used to evaluate the performance of training jobs launched by this tuning job.

        • Typerequired — (String)

          Whether to minimize or maximize the objective metric.

          Possible values include:
          • "Maximize"
          • "Minimize"
        • MetricNamerequired — (String)

          The name of the metric to use for the objective metric.

      • ResourceLimitsrequired — (map)

        The ResourceLimits object that specifies the maximum number of training and parallel training jobs that can be used for this hyperparameter tuning job.

        • MaxNumberOfTrainingJobs — (Integer)

          The maximum number of training jobs that a hyperparameter tuning job can launch.

        • MaxParallelTrainingJobsrequired — (Integer)

          The maximum number of concurrent training jobs that a hyperparameter tuning job can launch.

        • MaxRuntimeInSeconds — (Integer)

          The maximum time in seconds that a hyperparameter tuning job can run.

      • ParameterRanges — (map)

        The ParameterRanges object that specifies the ranges of hyperparameters that this tuning job searches over to find the optimal configuration for the highest model performance against your chosen objective metric.

        • IntegerParameterRanges — (Array<map>)

          The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the hyperparameter to search.

          • MinValuerequired — (String)

            The minimum value of the hyperparameter to search.

          • MaxValuerequired — (String)

            The maximum value of the hyperparameter to search.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • ContinuousParameterRanges — (Array<map>)

          The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the continuous hyperparameter to tune.

          • MinValuerequired — (String)

            The minimum value for the hyperparameter. The tuning job uses floating-point values between this value and MaxValuefor tuning.

          • MaxValuerequired — (String)

            The maximum value for the hyperparameter. The tuning job uses floating-point values between MinValue value and this value for tuning.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            ReverseLogarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.

            Reverse logarithmic scaling works only for ranges that are entirely within the range 0<=x<1.0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • CategoricalParameterRanges — (Array<map>)

          The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the categorical hyperparameter to tune.

          • Valuesrequired — (Array<String>)

            A list of the categories for the hyperparameter.

        • AutoParameters — (Array<map>)

          A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.

          • Namerequired — (String)

            The name of the hyperparameter to optimize using Autotune.

          • ValueHintrequired — (String)

            An example value of the hyperparameter to optimize using Autotune.

      • TrainingJobEarlyStoppingType — (String)

        Specifies whether to use early stopping for training jobs launched by the hyperparameter tuning job. Because the Hyperband strategy has its own advanced internal early stopping mechanism, TrainingJobEarlyStoppingType must be OFF to use Hyperband. This parameter can take on one of the following values (the default value is OFF):

        OFF

        Training jobs launched by the hyperparameter tuning job do not use early stopping.

        AUTO

        SageMaker stops training jobs launched by the hyperparameter tuning job when they are unlikely to perform better than previously completed training jobs. For more information, see Stop Training Jobs Early.

        Possible values include:
        • "Off"
        • "Auto"
      • TuningJobCompletionCriteria — (map)

        The tuning job's completion criteria.

        • TargetObjectiveMetricValue — (Float)

          The value of the objective metric.

        • BestObjectiveNotImproving — (map)

          A flag to stop your hyperparameter tuning job if model performance fails to improve as evaluated against an objective function.

          • MaxNumberOfTrainingJobsNotImproving — (Integer)

            The number of training jobs that have failed to improve model performance by 1% or greater over prior training jobs as evaluated against an objective function.

        • ConvergenceDetected — (map)

          A flag to top your hyperparameter tuning job if automatic model tuning (AMT) has detected that your model has converged as evaluated against your objective function.

          • CompleteOnConvergence — (String)

            A flag to stop a tuning job once AMT has detected that the job has converged.

            Possible values include:
            • "Disabled"
            • "Enabled"
      • RandomSeed — (Integer)

        A value used to initialize a pseudo-random number generator. Setting a random seed and using the same seed later for the same tuning job will allow hyperparameter optimization to find more a consistent hyperparameter configuration between the two runs.

    • TrainingJobDefinition — (map)

      The HyperParameterTrainingJobDefinition object that describes the training jobs that this tuning job launches, including static hyperparameters, input data configuration, output data configuration, resource configuration, and stopping condition.

      • DefinitionName — (String)

        The job definition name.

      • TuningObjective — (map)

        Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type parameter. If you want to define a custom objective metric, see Define metrics and environment variables.

        • Typerequired — (String)

          Whether to minimize or maximize the objective metric.

          Possible values include:
          • "Maximize"
          • "Minimize"
        • MetricNamerequired — (String)

          The name of the metric to use for the objective metric.

      • HyperParameterRanges — (map)

        Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.

        Note: The maximum number of items specified for Array Members refers to the maximum number of hyperparameters for each range and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of hyperparameters for all the ranges can't exceed the maximum number specified.
        • IntegerParameterRanges — (Array<map>)

          The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the hyperparameter to search.

          • MinValuerequired — (String)

            The minimum value of the hyperparameter to search.

          • MaxValuerequired — (String)

            The maximum value of the hyperparameter to search.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • ContinuousParameterRanges — (Array<map>)

          The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the continuous hyperparameter to tune.

          • MinValuerequired — (String)

            The minimum value for the hyperparameter. The tuning job uses floating-point values between this value and MaxValuefor tuning.

          • MaxValuerequired — (String)

            The maximum value for the hyperparameter. The tuning job uses floating-point values between MinValue value and this value for tuning.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            ReverseLogarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.

            Reverse logarithmic scaling works only for ranges that are entirely within the range 0<=x<1.0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • CategoricalParameterRanges — (Array<map>)

          The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the categorical hyperparameter to tune.

          • Valuesrequired — (Array<String>)

            A list of the categories for the hyperparameter.

        • AutoParameters — (Array<map>)

          A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.

          • Namerequired — (String)

            The name of the hyperparameter to optimize using Autotune.

          • ValueHintrequired — (String)

            An example value of the hyperparameter to optimize using Autotune.

      • StaticHyperParameters — (map<String>)

        Specifies the values of hyperparameters that do not change for the tuning job.

      • AlgorithmSpecificationrequired — (map)

        The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.

        • TrainingImage — (String)

          The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

        • TrainingInputModerequired — (String)

          The training input mode that the algorithm supports. For more information about input modes, see Algorithms.

          Pipe mode

          If an algorithm supports Pipe mode, Amazon SageMaker streams data directly from Amazon S3 to the container.

          File mode

          If an algorithm supports File mode, SageMaker downloads the training data from S3 to the provisioned ML storage volume, and mounts the directory to the Docker volume for the training container.

          You must provision the ML storage volume with sufficient capacity to accommodate the data downloaded from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container uses the ML storage volume to also store intermediate information, if any.

          For distributed algorithms, training data is distributed uniformly. Your training duration is predictable if the input data objects sizes are approximately the same. SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed when one host in a training cluster is overloaded, thus becoming a bottleneck in training.

          FastFile mode

          If an algorithm supports FastFile mode, SageMaker streams data directly from S3 to the container with no code changes, and provides file system access to the data. Users can author their training script to interact with these files as if they were stored on disk.

          FastFile mode works best when the data is read sequentially. Augmented manifest files aren't supported. The startup time is lower when there are fewer files in the S3 bucket provided.

          Possible values include:
          • "Pipe"
          • "File"
          • "FastFile"
        • AlgorithmName — (String)

          The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage.

        • MetricDefinitions — (Array<map>)

          An array of MetricDefinition objects that specify the metrics that the algorithm emits.

          • Namerequired — (String)

            The name of the metric.

          • Regexrequired — (String)

            A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

      • RoleArnrequired — (String)

        The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.

      • InputDataConfig — (Array<map>)

        An array of Channel objects that specify the input for the training jobs that the tuning job launches.

        • ChannelNamerequired — (String)

          The name of the channel.

        • DataSourcerequired — (map)

          The location of the channel data.

          • S3DataSource — (map)

            The S3 location of the data source that is associated with a channel.

            • S3DataTyperequired — (String)

              If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.

              If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.

              If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile can only be used if the Channel's input mode is Pipe.

              Possible values include:
              • "ManifestFile"
              • "S3Prefix"
              • "AugmentedManifestFile"
            • S3Urirequired — (String)

              Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example:

              • A key name prefix might look like this: s3://bucketname/exampleprefix/

              • A manifest might look like this: s3://bucketname/example.manifest

                A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets.

                The following code example shows a valid manifest format:

                [ {"prefix": "s3://customer_bucket/some/prefix/"},

                "relative/path/to/custdata-1",

                "relative/path/custdata-2",

                ...

                "relative/path/custdata-N"

                ]

                This JSON is equivalent to the following S3Uri list:

                s3://customer_bucket/some/prefix/relative/path/to/custdata-1

                s3://customer_bucket/some/prefix/relative/path/custdata-2

                ...

                s3://customer_bucket/some/prefix/relative/path/custdata-N

                The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf.

              Your input bucket must be located in same Amazon Web Services region as your training job.

            • S3DataDistributionType — (String)

              If you want SageMaker to replicate the entire dataset on each ML compute instance that is launched for model training, specify FullyReplicated.

              If you want SageMaker to replicate a subset of data on each ML compute instance that is launched for model training, specify ShardedByS3Key. If there are n ML compute instances launched for a training job, each instance gets approximately 1/n of the number of S3 objects. In this case, model training on each machine uses only the subset of training data.

              Don't choose more ML compute instances for training than available S3 objects. If you do, some nodes won't get any data and you will pay for nodes that aren't getting any training data. This applies in both File and Pipe modes. Keep this in mind when developing algorithms.

              In distributed training, where you use multiple ML compute EC2 instances, you might choose ShardedByS3Key. If the algorithm requires copying training data to the ML storage volume (when TrainingInputMode is set to File), this copies 1/n of the number of objects.

              Possible values include:
              • "FullyReplicated"
              • "ShardedByS3Key"
            • AttributeNames — (Array<String>)

              A list of one or more attribute names to use that are found in a specified augmented manifest file.

            • InstanceGroupNames — (Array<String>)

              A list of names of instance groups that get data from the S3 data source.

          • FileSystemDataSource — (map)

            The file system that is associated with a channel.

            • FileSystemIdrequired — (String)

              The file system id.

            • FileSystemAccessModerequired — (String)

              The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode.

              Possible values include:
              • "rw"
              • "ro"
            • FileSystemTyperequired — (String)

              The file system type.

              Possible values include:
              • "EFS"
              • "FSxLustre"
            • DirectoryPathrequired — (String)

              The full path to the directory to associate with the channel.

        • ContentType — (String)

          The MIME type of the data.

        • CompressionType — (String)

          If training data is compressed, the compression type. The default value is None. CompressionType is used only in Pipe input mode. In File mode, leave this field unset or set it to None.

          Possible values include:
          • "None"
          • "Gzip"
        • RecordWrapperType — (String)

          Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format. In this case, SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.

          In File mode, leave this field unset or set it to None.

          Possible values include:
          • "None"
          • "RecordIO"
        • InputMode — (String)

          (Optional) The input mode to use for the data channel in a training job. If you don't set a value for InputMode, SageMaker uses the value set for TrainingInputMode. Use this parameter to override the TrainingInputMode setting in a AlgorithmSpecification request when you have a channel that needs a different input mode from the training job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a Docker volume, use File input mode. To stream data directly from Amazon S3 to the container, choose Pipe input mode.

          To use a model for incremental training, choose File input model.

          Possible values include:
          • "Pipe"
          • "File"
          • "FastFile"
        • ShuffleConfig — (map)

          A configuration for a shuffle option for input data in a channel. If you use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix matches. If you use ManifestFile, the order of the S3 object references in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling order is determined using the Seed value.

          For Pipe input mode, shuffling is done at the start of every epoch. With large datasets this ensures that the order of the training data is different for each epoch, it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.

          • Seedrequired — (Integer)

            Determines the shuffling order in ShuffleConfig value.

      • VpcConfig — (map)

        The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

        • SecurityGroupIdsrequired — (Array<String>)

          The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • Subnetsrequired — (Array<String>)

          The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

      • OutputDataConfigrequired — (map)

        Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          • // KMS Key Alias

            "alias/ExampleAlias"

          • // Amazon Resource Name (ARN) of a KMS Key Alias

            "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

          If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide. If the output data is stored in Amazon S3 Express One Zone, it is encrypted with server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported for Amazon S3 Express One Zone

          The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

        • S3OutputPathrequired — (String)

          Identifies the S3 path where you want SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix.

        • CompressionType — (String)

          The model output compression type. Select None to output an uncompressed model, recommended for large model outputs. Defaults to gzip.

          Possible values include:
          • "GZIP"
          • "NONE"
      • ResourceConfig — (map)

        The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches.

        Storage volumes store model artifacts and incremental states. Training algorithms might also use storage volumes for scratch space. If you want SageMaker to use the storage volume to store the training data, choose File as the TrainingInputMode in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.

        Note: If you want to use hyperparameter optimization with instance type flexibility, use HyperParameterTuningResourceConfig instead.
        • InstanceType — (String)

          The ML compute instance type.

          Note: SageMaker Training on Amazon Elastic Compute Cloud (EC2) P4de instances is in preview release starting December 9th, 2022. Amazon EC2 P4de instances (currently in preview) are powered by 8 NVIDIA A100 GPUs with 80GB high-performance HBM2e GPU memory, which accelerate the speed of training ML models that need to be trained on large datasets of high-resolution data. In this preview release, Amazon SageMaker supports ML training jobs on P4de instances (ml.p4de.24xlarge) to reduce model training time. The ml.p4de.24xlarge instances are available in the following Amazon Web Services Regions.
          • US East (N. Virginia) (us-east-1)
          • US West (Oregon) (us-west-2)
          To request quota limit increase and start using P4de instances, contact the SageMaker Training service team through your account team.
          Possible values include:
          • "ml.m4.xlarge"
          • "ml.m4.2xlarge"
          • "ml.m4.4xlarge"
          • "ml.m4.10xlarge"
          • "ml.m4.16xlarge"
          • "ml.g4dn.xlarge"
          • "ml.g4dn.2xlarge"
          • "ml.g4dn.4xlarge"
          • "ml.g4dn.8xlarge"
          • "ml.g4dn.12xlarge"
          • "ml.g4dn.16xlarge"
          • "ml.m5.large"
          • "ml.m5.xlarge"
          • "ml.m5.2xlarge"
          • "ml.m5.4xlarge"
          • "ml.m5.12xlarge"
          • "ml.m5.24xlarge"
          • "ml.c4.xlarge"
          • "ml.c4.2xlarge"
          • "ml.c4.4xlarge"
          • "ml.c4.8xlarge"
          • "ml.p2.xlarge"
          • "ml.p2.8xlarge"
          • "ml.p2.16xlarge"
          • "ml.p3.2xlarge"
          • "ml.p3.8xlarge"
          • "ml.p3.16xlarge"
          • "ml.p3dn.24xlarge"
          • "ml.p4d.24xlarge"
          • "ml.p4de.24xlarge"
          • "ml.p5.48xlarge"
          • "ml.c5.xlarge"
          • "ml.c5.2xlarge"
          • "ml.c5.4xlarge"
          • "ml.c5.9xlarge"
          • "ml.c5.18xlarge"
          • "ml.c5n.xlarge"
          • "ml.c5n.2xlarge"
          • "ml.c5n.4xlarge"
          • "ml.c5n.9xlarge"
          • "ml.c5n.18xlarge"
          • "ml.g5.xlarge"
          • "ml.g5.2xlarge"
          • "ml.g5.4xlarge"
          • "ml.g5.8xlarge"
          • "ml.g5.16xlarge"
          • "ml.g5.12xlarge"
          • "ml.g5.24xlarge"
          • "ml.g5.48xlarge"
          • "ml.trn1.2xlarge"
          • "ml.trn1.32xlarge"
          • "ml.trn1n.32xlarge"
          • "ml.m6i.large"
          • "ml.m6i.xlarge"
          • "ml.m6i.2xlarge"
          • "ml.m6i.4xlarge"
          • "ml.m6i.8xlarge"
          • "ml.m6i.12xlarge"
          • "ml.m6i.16xlarge"
          • "ml.m6i.24xlarge"
          • "ml.m6i.32xlarge"
          • "ml.c6i.xlarge"
          • "ml.c6i.2xlarge"
          • "ml.c6i.8xlarge"
          • "ml.c6i.4xlarge"
          • "ml.c6i.12xlarge"
          • "ml.c6i.16xlarge"
          • "ml.c6i.24xlarge"
          • "ml.c6i.32xlarge"
          • "ml.r5d.large"
          • "ml.r5d.xlarge"
          • "ml.r5d.2xlarge"
          • "ml.r5d.4xlarge"
          • "ml.r5d.8xlarge"
          • "ml.r5d.12xlarge"
          • "ml.r5d.16xlarge"
          • "ml.r5d.24xlarge"
          • "ml.t3.medium"
          • "ml.t3.large"
          • "ml.t3.xlarge"
          • "ml.t3.2xlarge"
          • "ml.r5.large"
          • "ml.r5.xlarge"
          • "ml.r5.2xlarge"
          • "ml.r5.4xlarge"
          • "ml.r5.8xlarge"
          • "ml.r5.12xlarge"
          • "ml.r5.16xlarge"
          • "ml.r5.24xlarge"
        • InstanceCount — (Integer)

          The number of ML compute instances to use. For distributed training, provide a value greater than 1.

        • VolumeSizeInGBrequired — (Integer)

          The size of the ML storage volume that you want to provision.

          ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose File as the TrainingInputMode in the algorithm specification.

          When using an ML instance with NVMe SSD volumes, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage. Available storage is fixed to the NVMe-type instance's storage capacity. SageMaker configures storage paths for training datasets, checkpoints, model artifacts, and outputs to use the entire capacity of the instance storage. For example, ML instance families with the NVMe-type instance storage include ml.p4d, ml.g4dn, and ml.g5.

          When using an ML instance with the EBS-only storage option and without instance storage, you must define the size of EBS volume through VolumeSizeInGB in the ResourceConfig API. For example, ML instance families that use EBS volumes include ml.c5 and ml.p2.

          To look up instance types and their instance storage types and volumes, see Amazon EC2 Instance Types.

          To find the default local paths defined by the SageMaker training platform, see Amazon SageMaker Training Storage Folders for Training Datasets, Checkpoints, Model Artifacts, and Outputs.

        • VolumeKmsKeyId — (String)

          The Amazon Web Services KMS key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.

          Note: Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes.

          The VolumeKmsKeyId can be in any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

        • KeepAlivePeriodInSeconds — (Integer)

          The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

        • InstanceGroups — (Array<map>)

          The configuration of a heterogeneous cluster in JSON format.

          • InstanceTyperequired — (String)

            Specifies the instance type of the instance group.

            Possible values include:
            • "ml.m4.xlarge"
            • "ml.m4.2xlarge"
            • "ml.m4.4xlarge"
            • "ml.m4.10xlarge"
            • "ml.m4.16xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.24xlarge"
            • "ml.c4.xlarge"
            • "ml.c4.2xlarge"
            • "ml.c4.4xlarge"
            • "ml.c4.8xlarge"
            • "ml.p2.xlarge"
            • "ml.p2.8xlarge"
            • "ml.p2.16xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.p5.48xlarge"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5n.xlarge"
            • "ml.c5n.2xlarge"
            • "ml.c5n.4xlarge"
            • "ml.c5n.9xlarge"
            • "ml.c5n.18xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.r5d.large"
            • "ml.r5d.xlarge"
            • "ml.r5d.2xlarge"
            • "ml.r5d.4xlarge"
            • "ml.r5d.8xlarge"
            • "ml.r5d.12xlarge"
            • "ml.r5d.16xlarge"
            • "ml.r5d.24xlarge"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
          • InstanceCountrequired — (Integer)

            Specifies the number of instances of the instance group.

          • InstanceGroupNamerequired — (String)

            Specifies the name of the instance group.

      • HyperParameterTuningResourceConfig — (map)

        The configuration for the hyperparameter tuning resources, including the compute instances and storage volumes, used for training jobs launched by the tuning job. By default, storage volumes hold model artifacts and incremental states. Choose File for TrainingInputMode in the AlgorithmSpecification parameter to additionally store training data in the storage volume (optional).

        • InstanceType — (String)

          The instance type used to run hyperparameter optimization tuning jobs. See descriptions of instance types for more information.

          Possible values include:
          • "ml.m4.xlarge"
          • "ml.m4.2xlarge"
          • "ml.m4.4xlarge"
          • "ml.m4.10xlarge"
          • "ml.m4.16xlarge"
          • "ml.g4dn.xlarge"
          • "ml.g4dn.2xlarge"
          • "ml.g4dn.4xlarge"
          • "ml.g4dn.8xlarge"
          • "ml.g4dn.12xlarge"
          • "ml.g4dn.16xlarge"
          • "ml.m5.large"
          • "ml.m5.xlarge"
          • "ml.m5.2xlarge"
          • "ml.m5.4xlarge"
          • "ml.m5.12xlarge"
          • "ml.m5.24xlarge"
          • "ml.c4.xlarge"
          • "ml.c4.2xlarge"
          • "ml.c4.4xlarge"
          • "ml.c4.8xlarge"
          • "ml.p2.xlarge"
          • "ml.p2.8xlarge"
          • "ml.p2.16xlarge"
          • "ml.p3.2xlarge"
          • "ml.p3.8xlarge"
          • "ml.p3.16xlarge"
          • "ml.p3dn.24xlarge"
          • "ml.p4d.24xlarge"
          • "ml.p4de.24xlarge"
          • "ml.p5.48xlarge"
          • "ml.c5.xlarge"
          • "ml.c5.2xlarge"
          • "ml.c5.4xlarge"
          • "ml.c5.9xlarge"
          • "ml.c5.18xlarge"
          • "ml.c5n.xlarge"
          • "ml.c5n.2xlarge"
          • "ml.c5n.4xlarge"
          • "ml.c5n.9xlarge"
          • "ml.c5n.18xlarge"
          • "ml.g5.xlarge"
          • "ml.g5.2xlarge"
          • "ml.g5.4xlarge"
          • "ml.g5.8xlarge"
          • "ml.g5.16xlarge"
          • "ml.g5.12xlarge"
          • "ml.g5.24xlarge"
          • "ml.g5.48xlarge"
          • "ml.trn1.2xlarge"
          • "ml.trn1.32xlarge"
          • "ml.trn1n.32xlarge"
          • "ml.m6i.large"
          • "ml.m6i.xlarge"
          • "ml.m6i.2xlarge"
          • "ml.m6i.4xlarge"
          • "ml.m6i.8xlarge"
          • "ml.m6i.12xlarge"
          • "ml.m6i.16xlarge"
          • "ml.m6i.24xlarge"
          • "ml.m6i.32xlarge"
          • "ml.c6i.xlarge"
          • "ml.c6i.2xlarge"
          • "ml.c6i.8xlarge"
          • "ml.c6i.4xlarge"
          • "ml.c6i.12xlarge"
          • "ml.c6i.16xlarge"
          • "ml.c6i.24xlarge"
          • "ml.c6i.32xlarge"
          • "ml.r5d.large"
          • "ml.r5d.xlarge"
          • "ml.r5d.2xlarge"
          • "ml.r5d.4xlarge"
          • "ml.r5d.8xlarge"
          • "ml.r5d.12xlarge"
          • "ml.r5d.16xlarge"
          • "ml.r5d.24xlarge"
          • "ml.t3.medium"
          • "ml.t3.large"
          • "ml.t3.xlarge"
          • "ml.t3.2xlarge"
          • "ml.r5.large"
          • "ml.r5.xlarge"
          • "ml.r5.2xlarge"
          • "ml.r5.4xlarge"
          • "ml.r5.8xlarge"
          • "ml.r5.12xlarge"
          • "ml.r5.16xlarge"
          • "ml.r5.24xlarge"
        • InstanceCount — (Integer)

          The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1.

        • VolumeSizeInGB — (Integer)

          The volume size in GB for the storage volume to be used in processing hyperparameter optimization jobs (optional). These volumes store model artifacts, incremental states and optionally, scratch space for training algorithms. Do not provide a value for this parameter if a value for InstanceConfigs is also specified.

          Some instance types have a fixed total local storage size. If you select one of these instances for training, VolumeSizeInGB cannot be greater than this total size. For a list of instance types with local instance storage and their sizes, see instance store volumes.

          Note: SageMaker supports only the General Purpose SSD (gp2) storage volume type.
        • VolumeKmsKeyId — (String)

          A key used by Amazon Web Services Key Management Service to encrypt data on the storage volume attached to the compute instances used to run the training job. You can use either of the following formats to specify a key.

          KMS Key ID:

          "1234abcd-12ab-34cd-56ef-1234567890ab"

          Amazon Resource Name (ARN) of a KMS key:

          "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          Some instances use local storage, which use a hardware module to encrypt storage volumes. If you choose one of these instance types, you cannot request a VolumeKmsKeyId. For a list of instance types that use local storage, see instance store volumes. For more information about Amazon Web Services Key Management Service, see KMS encryption for more information.

        • AllocationStrategy — (String)

          The strategy that determines the order of preference for resources specified in InstanceConfigs used in hyperparameter optimization.

          Possible values include:
          • "Prioritized"
        • InstanceConfigs — (Array<map>)

          A list containing the configuration(s) for one or more resources for processing hyperparameter jobs. These resources include compute instances and storage volumes to use in model training jobs launched by hyperparameter tuning jobs. The AllocationStrategy controls the order in which multiple configurations provided in InstanceConfigs are used.

          Note: If you only want to use a single instance configuration inside the HyperParameterTuningResourceConfig API, do not provide a value for InstanceConfigs. Instead, use InstanceType, VolumeSizeInGB and InstanceCount. If you use InstanceConfigs, do not provide values for InstanceType, VolumeSizeInGB or InstanceCount.
          • InstanceTyperequired — (String)

            The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions.

            Possible values include:
            • "ml.m4.xlarge"
            • "ml.m4.2xlarge"
            • "ml.m4.4xlarge"
            • "ml.m4.10xlarge"
            • "ml.m4.16xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.24xlarge"
            • "ml.c4.xlarge"
            • "ml.c4.2xlarge"
            • "ml.c4.4xlarge"
            • "ml.c4.8xlarge"
            • "ml.p2.xlarge"
            • "ml.p2.8xlarge"
            • "ml.p2.16xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.p5.48xlarge"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5n.xlarge"
            • "ml.c5n.2xlarge"
            • "ml.c5n.4xlarge"
            • "ml.c5n.9xlarge"
            • "ml.c5n.18xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.r5d.large"
            • "ml.r5d.xlarge"
            • "ml.r5d.2xlarge"
            • "ml.r5d.4xlarge"
            • "ml.r5d.8xlarge"
            • "ml.r5d.12xlarge"
            • "ml.r5d.16xlarge"
            • "ml.r5d.24xlarge"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
          • InstanceCountrequired — (Integer)

            The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See Step 2: Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK for more information.

          • VolumeSizeInGBrequired — (Integer)

            The volume size in GB of the data to be processed for hyperparameter optimization (optional).

      • StoppingConditionrequired — (map)

        Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.

        • MaxRuntimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

          For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.

          For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.

          The maximum time that a TrainingJob can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.

        • MaxWaitTimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, SageMaker ends the job.

          When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt.

        • MaxPendingTimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped.

      • EnableNetworkIsolation — (Boolean)

        Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If network isolation is used for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.

      • EnableInterContainerTrafficEncryption — (Boolean)

        To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.

      • EnableManagedSpotTraining — (Boolean)

        A Boolean indicating whether managed spot training is enabled (True) or not (False).

      • CheckpointConfig — (map)

        Contains information about the output location for managed spot training checkpoint data.

        • S3Urirequired — (String)

          Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

        • LocalPath — (String)

          (Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

      • RetryStrategy — (map)

        The number of times to retry the job when the job fails due to an InternalServerError.

        • MaximumRetryAttemptsrequired — (Integer)

          The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

      • Environment — (map<String>)

        An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information.

        Note: The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified.
    • TrainingJobDefinitions — (Array<map>)

      A list of the HyperParameterTrainingJobDefinition objects launched for this tuning job.

      • DefinitionName — (String)

        The job definition name.

      • TuningObjective — (map)

        Defines the objective metric for a hyperparameter tuning job. Hyperparameter tuning uses the value of this metric to evaluate the training jobs it launches, and returns the training job that results in either the highest or lowest value for this metric, depending on the value you specify for the Type parameter. If you want to define a custom objective metric, see Define metrics and environment variables.

        • Typerequired — (String)

          Whether to minimize or maximize the objective metric.

          Possible values include:
          • "Maximize"
          • "Minimize"
        • MetricNamerequired — (String)

          The name of the metric to use for the objective metric.

      • HyperParameterRanges — (map)

        Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.

        Note: The maximum number of items specified for Array Members refers to the maximum number of hyperparameters for each range and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of hyperparameters for all the ranges can't exceed the maximum number specified.
        • IntegerParameterRanges — (Array<map>)

          The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the hyperparameter to search.

          • MinValuerequired — (String)

            The minimum value of the hyperparameter to search.

          • MaxValuerequired — (String)

            The maximum value of the hyperparameter to search.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • ContinuousParameterRanges — (Array<map>)

          The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the continuous hyperparameter to tune.

          • MinValuerequired — (String)

            The minimum value for the hyperparameter. The tuning job uses floating-point values between this value and MaxValuefor tuning.

          • MaxValuerequired — (String)

            The maximum value for the hyperparameter. The tuning job uses floating-point values between MinValue value and this value for tuning.

          • ScalingType — (String)

            The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values:

            Auto

            SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.

            Linear

            Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale.

            Logarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale.

            Logarithmic scaling works only for ranges that have only values greater than 0.

            ReverseLogarithmic

            Hyperparameter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale.

            Reverse logarithmic scaling works only for ranges that are entirely within the range 0<=x<1.0.

            Possible values include:
            • "Auto"
            • "Linear"
            • "Logarithmic"
            • "ReverseLogarithmic"
        • CategoricalParameterRanges — (Array<map>)

          The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.

          • Namerequired — (String)

            The name of the categorical hyperparameter to tune.

          • Valuesrequired — (Array<String>)

            A list of the categories for the hyperparameter.

        • AutoParameters — (Array<map>)

          A list containing hyperparameter names and example values to be used by Autotune to determine optimal ranges for your tuning job.

          • Namerequired — (String)

            The name of the hyperparameter to optimize using Autotune.

          • ValueHintrequired — (String)

            An example value of the hyperparameter to optimize using Autotune.

      • StaticHyperParameters — (map<String>)

        Specifies the values of hyperparameters that do not change for the tuning job.

      • AlgorithmSpecificationrequired — (map)

        The HyperParameterAlgorithmSpecification object that specifies the resource algorithm to use for the training jobs that the tuning job launches.

        • TrainingImage — (String)

          The registry path of the Docker image that contains the training algorithm. For information about Docker registry paths for built-in algorithms, see Algorithms Provided by Amazon SageMaker: Common Parameters. SageMaker supports both registry/repository[:tag] and registry/repository[@digest] image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.

        • TrainingInputModerequired — (String)

          The training input mode that the algorithm supports. For more information about input modes, see Algorithms.

          Pipe mode

          If an algorithm supports Pipe mode, Amazon SageMaker streams data directly from Amazon S3 to the container.

          File mode

          If an algorithm supports File mode, SageMaker downloads the training data from S3 to the provisioned ML storage volume, and mounts the directory to the Docker volume for the training container.

          You must provision the ML storage volume with sufficient capacity to accommodate the data downloaded from S3. In addition to the training data, the ML storage volume also stores the output model. The algorithm container uses the ML storage volume to also store intermediate information, if any.

          For distributed algorithms, training data is distributed uniformly. Your training duration is predictable if the input data objects sizes are approximately the same. SageMaker does not split the files any further for model training. If the object sizes are skewed, training won't be optimal as the data distribution is also skewed when one host in a training cluster is overloaded, thus becoming a bottleneck in training.

          FastFile mode

          If an algorithm supports FastFile mode, SageMaker streams data directly from S3 to the container with no code changes, and provides file system access to the data. Users can author their training script to interact with these files as if they were stored on disk.

          FastFile mode works best when the data is read sequentially. Augmented manifest files aren't supported. The startup time is lower when there are fewer files in the S3 bucket provided.

          Possible values include:
          • "Pipe"
          • "File"
          • "FastFile"
        • AlgorithmName — (String)

          The name of the resource algorithm to use for the hyperparameter tuning job. If you specify a value for this parameter, do not specify a value for TrainingImage.

        • MetricDefinitions — (Array<map>)

          An array of MetricDefinition objects that specify the metrics that the algorithm emits.

          • Namerequired — (String)

            The name of the metric.

          • Regexrequired — (String)

            A regular expression that searches the output of a training job and gets the value of the metric. For more information about using regular expressions to define metrics, see Defining metrics and environment variables.

      • RoleArnrequired — (String)

        The Amazon Resource Name (ARN) of the IAM role associated with the training jobs that the tuning job launches.

      • InputDataConfig — (Array<map>)

        An array of Channel objects that specify the input for the training jobs that the tuning job launches.

        • ChannelNamerequired — (String)

          The name of the channel.

        • DataSourcerequired — (map)

          The location of the channel data.

          • S3DataSource — (map)

            The S3 location of the data source that is associated with a channel.

            • S3DataTyperequired — (String)

              If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training.

              If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training.

              If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile can only be used if the Channel's input mode is Pipe.

              Possible values include:
              • "ManifestFile"
              • "S3Prefix"
              • "AugmentedManifestFile"
            • S3Urirequired — (String)

              Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example:

              • A key name prefix might look like this: s3://bucketname/exampleprefix/

              • A manifest might look like this: s3://bucketname/example.manifest

                A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets.

                The following code example shows a valid manifest format:

                [ {"prefix": "s3://customer_bucket/some/prefix/"},

                "relative/path/to/custdata-1",

                "relative/path/custdata-2",

                ...

                "relative/path/custdata-N"

                ]

                This JSON is equivalent to the following S3Uri list:

                s3://customer_bucket/some/prefix/relative/path/to/custdata-1

                s3://customer_bucket/some/prefix/relative/path/custdata-2

                ...

                s3://customer_bucket/some/prefix/relative/path/custdata-N

                The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf.

              Your input bucket must be located in same Amazon Web Services region as your training job.

            • S3DataDistributionType — (String)

              If you want SageMaker to replicate the entire dataset on each ML compute instance that is launched for model training, specify FullyReplicated.

              If you want SageMaker to replicate a subset of data on each ML compute instance that is launched for model training, specify ShardedByS3Key. If there are n ML compute instances launched for a training job, each instance gets approximately 1/n of the number of S3 objects. In this case, model training on each machine uses only the subset of training data.

              Don't choose more ML compute instances for training than available S3 objects. If you do, some nodes won't get any data and you will pay for nodes that aren't getting any training data. This applies in both File and Pipe modes. Keep this in mind when developing algorithms.

              In distributed training, where you use multiple ML compute EC2 instances, you might choose ShardedByS3Key. If the algorithm requires copying training data to the ML storage volume (when TrainingInputMode is set to File), this copies 1/n of the number of objects.

              Possible values include:
              • "FullyReplicated"
              • "ShardedByS3Key"
            • AttributeNames — (Array<String>)

              A list of one or more attribute names to use that are found in a specified augmented manifest file.

            • InstanceGroupNames — (Array<String>)

              A list of names of instance groups that get data from the S3 data source.

          • FileSystemDataSource — (map)

            The file system that is associated with a channel.

            • FileSystemIdrequired — (String)

              The file system id.

            • FileSystemAccessModerequired — (String)

              The access mode of the mount of the directory associated with the channel. A directory can be mounted either in ro (read-only) or rw (read-write) mode.

              Possible values include:
              • "rw"
              • "ro"
            • FileSystemTyperequired — (String)

              The file system type.

              Possible values include:
              • "EFS"
              • "FSxLustre"
            • DirectoryPathrequired — (String)

              The full path to the directory to associate with the channel.

        • ContentType — (String)

          The MIME type of the data.

        • CompressionType — (String)

          If training data is compressed, the compression type. The default value is None. CompressionType is used only in Pipe input mode. In File mode, leave this field unset or set it to None.

          Possible values include:
          • "None"
          • "Gzip"
        • RecordWrapperType — (String)

          Specify RecordIO as the value when input data is in raw format but the training algorithm requires the RecordIO format. In this case, SageMaker wraps each individual S3 object in a RecordIO record. If the input data is already in RecordIO format, you don't need to set this attribute. For more information, see Create a Dataset Using RecordIO.

          In File mode, leave this field unset or set it to None.

          Possible values include:
          • "None"
          • "RecordIO"
        • InputMode — (String)

          (Optional) The input mode to use for the data channel in a training job. If you don't set a value for InputMode, SageMaker uses the value set for TrainingInputMode. Use this parameter to override the TrainingInputMode setting in a AlgorithmSpecification request when you have a channel that needs a different input mode from the training job's general setting. To download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned ML storage volume, and mount the directory to a Docker volume, use File input mode. To stream data directly from Amazon S3 to the container, choose Pipe input mode.

          To use a model for incremental training, choose File input model.

          Possible values include:
          • "Pipe"
          • "File"
          • "FastFile"
        • ShuffleConfig — (map)

          A configuration for a shuffle option for input data in a channel. If you use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix matches. If you use ManifestFile, the order of the S3 object references in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling order is determined using the Seed value.

          For Pipe input mode, shuffling is done at the start of every epoch. With large datasets this ensures that the order of the training data is different for each epoch, it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.

          • Seedrequired — (Integer)

            Determines the shuffling order in ShuffleConfig value.

      • VpcConfig — (map)

        The VpcConfig object that specifies the VPC that you want the training jobs that this hyperparameter tuning job launches to connect to. Control access to and from your training container by configuring the VPC. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

        • SecurityGroupIdsrequired — (Array<String>)

          The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • Subnetsrequired — (Array<String>)

          The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

      • OutputDataConfigrequired — (map)

        Specifies the path to the Amazon S3 bucket where you store model artifacts from the training jobs that the tuning job launches.

        • KmsKeyId — (String)

          The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          • // KMS Key Alias

            "alias/ExampleAlias"

          • // Amazon Resource Name (ARN) of a KMS Key Alias

            "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

          If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide. If the output data is stored in Amazon S3 Express One Zone, it is encrypted with server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported for Amazon S3 Express One Zone

          The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

        • S3OutputPathrequired — (String)

          Identifies the S3 path where you want SageMaker to store the model artifacts. For example, s3://bucket-name/key-name-prefix.

        • CompressionType — (String)

          The model output compression type. Select None to output an uncompressed model, recommended for large model outputs. Defaults to gzip.

          Possible values include:
          • "GZIP"
          • "NONE"
      • ResourceConfig — (map)

        The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches.

        Storage volumes store model artifacts and incremental states. Training algorithms might also use storage volumes for scratch space. If you want SageMaker to use the storage volume to store the training data, choose File as the TrainingInputMode in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.

        Note: If you want to use hyperparameter optimization with instance type flexibility, use HyperParameterTuningResourceConfig instead.
        • InstanceType — (String)

          The ML compute instance type.

          Note: SageMaker Training on Amazon Elastic Compute Cloud (EC2) P4de instances is in preview release starting December 9th, 2022. Amazon EC2 P4de instances (currently in preview) are powered by 8 NVIDIA A100 GPUs with 80GB high-performance HBM2e GPU memory, which accelerate the speed of training ML models that need to be trained on large datasets of high-resolution data. In this preview release, Amazon SageMaker supports ML training jobs on P4de instances (ml.p4de.24xlarge) to reduce model training time. The ml.p4de.24xlarge instances are available in the following Amazon Web Services Regions.
          • US East (N. Virginia) (us-east-1)
          • US West (Oregon) (us-west-2)
          To request quota limit increase and start using P4de instances, contact the SageMaker Training service team through your account team.
          Possible values include:
          • "ml.m4.xlarge"
          • "ml.m4.2xlarge"
          • "ml.m4.4xlarge"
          • "ml.m4.10xlarge"
          • "ml.m4.16xlarge"
          • "ml.g4dn.xlarge"
          • "ml.g4dn.2xlarge"
          • "ml.g4dn.4xlarge"
          • "ml.g4dn.8xlarge"
          • "ml.g4dn.12xlarge"
          • "ml.g4dn.16xlarge"
          • "ml.m5.large"
          • "ml.m5.xlarge"
          • "ml.m5.2xlarge"
          • "ml.m5.4xlarge"
          • "ml.m5.12xlarge"
          • "ml.m5.24xlarge"
          • "ml.c4.xlarge"
          • "ml.c4.2xlarge"
          • "ml.c4.4xlarge"
          • "ml.c4.8xlarge"
          • "ml.p2.xlarge"
          • "ml.p2.8xlarge"
          • "ml.p2.16xlarge"
          • "ml.p3.2xlarge"
          • "ml.p3.8xlarge"
          • "ml.p3.16xlarge"
          • "ml.p3dn.24xlarge"
          • "ml.p4d.24xlarge"
          • "ml.p4de.24xlarge"
          • "ml.p5.48xlarge"
          • "ml.c5.xlarge"
          • "ml.c5.2xlarge"
          • "ml.c5.4xlarge"
          • "ml.c5.9xlarge"
          • "ml.c5.18xlarge"
          • "ml.c5n.xlarge"
          • "ml.c5n.2xlarge"
          • "ml.c5n.4xlarge"
          • "ml.c5n.9xlarge"
          • "ml.c5n.18xlarge"
          • "ml.g5.xlarge"
          • "ml.g5.2xlarge"
          • "ml.g5.4xlarge"
          • "ml.g5.8xlarge"
          • "ml.g5.16xlarge"
          • "ml.g5.12xlarge"
          • "ml.g5.24xlarge"
          • "ml.g5.48xlarge"
          • "ml.trn1.2xlarge"
          • "ml.trn1.32xlarge"
          • "ml.trn1n.32xlarge"
          • "ml.m6i.large"
          • "ml.m6i.xlarge"
          • "ml.m6i.2xlarge"
          • "ml.m6i.4xlarge"
          • "ml.m6i.8xlarge"
          • "ml.m6i.12xlarge"
          • "ml.m6i.16xlarge"
          • "ml.m6i.24xlarge"
          • "ml.m6i.32xlarge"
          • "ml.c6i.xlarge"
          • "ml.c6i.2xlarge"
          • "ml.c6i.8xlarge"
          • "ml.c6i.4xlarge"
          • "ml.c6i.12xlarge"
          • "ml.c6i.16xlarge"
          • "ml.c6i.24xlarge"
          • "ml.c6i.32xlarge"
          • "ml.r5d.large"
          • "ml.r5d.xlarge"
          • "ml.r5d.2xlarge"
          • "ml.r5d.4xlarge"
          • "ml.r5d.8xlarge"
          • "ml.r5d.12xlarge"
          • "ml.r5d.16xlarge"
          • "ml.r5d.24xlarge"
          • "ml.t3.medium"
          • "ml.t3.large"
          • "ml.t3.xlarge"
          • "ml.t3.2xlarge"
          • "ml.r5.large"
          • "ml.r5.xlarge"
          • "ml.r5.2xlarge"
          • "ml.r5.4xlarge"
          • "ml.r5.8xlarge"
          • "ml.r5.12xlarge"
          • "ml.r5.16xlarge"
          • "ml.r5.24xlarge"
        • InstanceCount — (Integer)

          The number of ML compute instances to use. For distributed training, provide a value greater than 1.

        • VolumeSizeInGBrequired — (Integer)

          The size of the ML storage volume that you want to provision.

          ML storage volumes store model artifacts and incremental states. Training algorithms might also use the ML storage volume for scratch space. If you want to store the training data in the ML storage volume, choose File as the TrainingInputMode in the algorithm specification.

          When using an ML instance with NVMe SSD volumes, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage. Available storage is fixed to the NVMe-type instance's storage capacity. SageMaker configures storage paths for training datasets, checkpoints, model artifacts, and outputs to use the entire capacity of the instance storage. For example, ML instance families with the NVMe-type instance storage include ml.p4d, ml.g4dn, and ml.g5.

          When using an ML instance with the EBS-only storage option and without instance storage, you must define the size of EBS volume through VolumeSizeInGB in the ResourceConfig API. For example, ML instance families that use EBS volumes include ml.c5 and ml.p2.

          To look up instance types and their instance storage types and volumes, see Amazon EC2 Instance Types.

          To find the default local paths defined by the SageMaker training platform, see Amazon SageMaker Training Storage Folders for Training Datasets, Checkpoints, Model Artifacts, and Outputs.

        • VolumeKmsKeyId — (String)

          The Amazon Web Services KMS key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.

          Note: Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage. For a list of instance types that support local instance storage, see Instance Store Volumes. For more information about local instance storage encryption, see SSD Instance Store Volumes.

          The VolumeKmsKeyId can be in any of the following formats:

          • // KMS Key ID

            "1234abcd-12ab-34cd-56ef-1234567890ab"

          • // Amazon Resource Name (ARN) of a KMS Key

            "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

        • KeepAlivePeriodInSeconds — (Integer)

          The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

        • InstanceGroups — (Array<map>)

          The configuration of a heterogeneous cluster in JSON format.

          • InstanceTyperequired — (String)

            Specifies the instance type of the instance group.

            Possible values include:
            • "ml.m4.xlarge"
            • "ml.m4.2xlarge"
            • "ml.m4.4xlarge"
            • "ml.m4.10xlarge"
            • "ml.m4.16xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.24xlarge"
            • "ml.c4.xlarge"
            • "ml.c4.2xlarge"
            • "ml.c4.4xlarge"
            • "ml.c4.8xlarge"
            • "ml.p2.xlarge"
            • "ml.p2.8xlarge"
            • "ml.p2.16xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.p5.48xlarge"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5n.xlarge"
            • "ml.c5n.2xlarge"
            • "ml.c5n.4xlarge"
            • "ml.c5n.9xlarge"
            • "ml.c5n.18xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.r5d.large"
            • "ml.r5d.xlarge"
            • "ml.r5d.2xlarge"
            • "ml.r5d.4xlarge"
            • "ml.r5d.8xlarge"
            • "ml.r5d.12xlarge"
            • "ml.r5d.16xlarge"
            • "ml.r5d.24xlarge"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
          • InstanceCountrequired — (Integer)

            Specifies the number of instances of the instance group.

          • InstanceGroupNamerequired — (String)

            Specifies the name of the instance group.

      • HyperParameterTuningResourceConfig — (map)

        The configuration for the hyperparameter tuning resources, including the compute instances and storage volumes, used for training jobs launched by the tuning job. By default, storage volumes hold model artifacts and incremental states. Choose File for TrainingInputMode in the AlgorithmSpecification parameter to additionally store training data in the storage volume (optional).

        • InstanceType — (String)

          The instance type used to run hyperparameter optimization tuning jobs. See descriptions of instance types for more information.

          Possible values include:
          • "ml.m4.xlarge"
          • "ml.m4.2xlarge"
          • "ml.m4.4xlarge"
          • "ml.m4.10xlarge"
          • "ml.m4.16xlarge"
          • "ml.g4dn.xlarge"
          • "ml.g4dn.2xlarge"
          • "ml.g4dn.4xlarge"
          • "ml.g4dn.8xlarge"
          • "ml.g4dn.12xlarge"
          • "ml.g4dn.16xlarge"
          • "ml.m5.large"
          • "ml.m5.xlarge"
          • "ml.m5.2xlarge"
          • "ml.m5.4xlarge"
          • "ml.m5.12xlarge"
          • "ml.m5.24xlarge"
          • "ml.c4.xlarge"
          • "ml.c4.2xlarge"
          • "ml.c4.4xlarge"
          • "ml.c4.8xlarge"
          • "ml.p2.xlarge"
          • "ml.p2.8xlarge"
          • "ml.p2.16xlarge"
          • "ml.p3.2xlarge"
          • "ml.p3.8xlarge"
          • "ml.p3.16xlarge"
          • "ml.p3dn.24xlarge"
          • "ml.p4d.24xlarge"
          • "ml.p4de.24xlarge"
          • "ml.p5.48xlarge"
          • "ml.c5.xlarge"
          • "ml.c5.2xlarge"
          • "ml.c5.4xlarge"
          • "ml.c5.9xlarge"
          • "ml.c5.18xlarge"
          • "ml.c5n.xlarge"
          • "ml.c5n.2xlarge"
          • "ml.c5n.4xlarge"
          • "ml.c5n.9xlarge"
          • "ml.c5n.18xlarge"
          • "ml.g5.xlarge"
          • "ml.g5.2xlarge"
          • "ml.g5.4xlarge"
          • "ml.g5.8xlarge"
          • "ml.g5.16xlarge"
          • "ml.g5.12xlarge"
          • "ml.g5.24xlarge"
          • "ml.g5.48xlarge"
          • "ml.trn1.2xlarge"
          • "ml.trn1.32xlarge"
          • "ml.trn1n.32xlarge"
          • "ml.m6i.large"
          • "ml.m6i.xlarge"
          • "ml.m6i.2xlarge"
          • "ml.m6i.4xlarge"
          • "ml.m6i.8xlarge"
          • "ml.m6i.12xlarge"
          • "ml.m6i.16xlarge"
          • "ml.m6i.24xlarge"
          • "ml.m6i.32xlarge"
          • "ml.c6i.xlarge"
          • "ml.c6i.2xlarge"
          • "ml.c6i.8xlarge"
          • "ml.c6i.4xlarge"
          • "ml.c6i.12xlarge"
          • "ml.c6i.16xlarge"
          • "ml.c6i.24xlarge"
          • "ml.c6i.32xlarge"
          • "ml.r5d.large"
          • "ml.r5d.xlarge"
          • "ml.r5d.2xlarge"
          • "ml.r5d.4xlarge"
          • "ml.r5d.8xlarge"
          • "ml.r5d.12xlarge"
          • "ml.r5d.16xlarge"
          • "ml.r5d.24xlarge"
          • "ml.t3.medium"
          • "ml.t3.large"
          • "ml.t3.xlarge"
          • "ml.t3.2xlarge"
          • "ml.r5.large"
          • "ml.r5.xlarge"
          • "ml.r5.2xlarge"
          • "ml.r5.4xlarge"
          • "ml.r5.8xlarge"
          • "ml.r5.12xlarge"
          • "ml.r5.16xlarge"
          • "ml.r5.24xlarge"
        • InstanceCount — (Integer)

          The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1.

        • VolumeSizeInGB — (Integer)

          The volume size in GB for the storage volume to be used in processing hyperparameter optimization jobs (optional). These volumes store model artifacts, incremental states and optionally, scratch space for training algorithms. Do not provide a value for this parameter if a value for InstanceConfigs is also specified.

          Some instance types have a fixed total local storage size. If you select one of these instances for training, VolumeSizeInGB cannot be greater than this total size. For a list of instance types with local instance storage and their sizes, see instance store volumes.

          Note: SageMaker supports only the General Purpose SSD (gp2) storage volume type.
        • VolumeKmsKeyId — (String)

          A key used by Amazon Web Services Key Management Service to encrypt data on the storage volume attached to the compute instances used to run the training job. You can use either of the following formats to specify a key.

          KMS Key ID:

          "1234abcd-12ab-34cd-56ef-1234567890ab"

          Amazon Resource Name (ARN) of a KMS key:

          "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

          Some instances use local storage, which use a hardware module to encrypt storage volumes. If you choose one of these instance types, you cannot request a VolumeKmsKeyId. For a list of instance types that use local storage, see instance store volumes. For more information about Amazon Web Services Key Management Service, see KMS encryption for more information.

        • AllocationStrategy — (String)

          The strategy that determines the order of preference for resources specified in InstanceConfigs used in hyperparameter optimization.

          Possible values include:
          • "Prioritized"
        • InstanceConfigs — (Array<map>)

          A list containing the configuration(s) for one or more resources for processing hyperparameter jobs. These resources include compute instances and storage volumes to use in model training jobs launched by hyperparameter tuning jobs. The AllocationStrategy controls the order in which multiple configurations provided in InstanceConfigs are used.

          Note: If you only want to use a single instance configuration inside the HyperParameterTuningResourceConfig API, do not provide a value for InstanceConfigs. Instead, use InstanceType, VolumeSizeInGB and InstanceCount. If you use InstanceConfigs, do not provide values for InstanceType, VolumeSizeInGB or InstanceCount.
          • InstanceTyperequired — (String)

            The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions.

            Possible values include:
            • "ml.m4.xlarge"
            • "ml.m4.2xlarge"
            • "ml.m4.4xlarge"
            • "ml.m4.10xlarge"
            • "ml.m4.16xlarge"
            • "ml.g4dn.xlarge"
            • "ml.g4dn.2xlarge"
            • "ml.g4dn.4xlarge"
            • "ml.g4dn.8xlarge"
            • "ml.g4dn.12xlarge"
            • "ml.g4dn.16xlarge"
            • "ml.m5.large"
            • "ml.m5.xlarge"
            • "ml.m5.2xlarge"
            • "ml.m5.4xlarge"
            • "ml.m5.12xlarge"
            • "ml.m5.24xlarge"
            • "ml.c4.xlarge"
            • "ml.c4.2xlarge"
            • "ml.c4.4xlarge"
            • "ml.c4.8xlarge"
            • "ml.p2.xlarge"
            • "ml.p2.8xlarge"
            • "ml.p2.16xlarge"
            • "ml.p3.2xlarge"
            • "ml.p3.8xlarge"
            • "ml.p3.16xlarge"
            • "ml.p3dn.24xlarge"
            • "ml.p4d.24xlarge"
            • "ml.p4de.24xlarge"
            • "ml.p5.48xlarge"
            • "ml.c5.xlarge"
            • "ml.c5.2xlarge"
            • "ml.c5.4xlarge"
            • "ml.c5.9xlarge"
            • "ml.c5.18xlarge"
            • "ml.c5n.xlarge"
            • "ml.c5n.2xlarge"
            • "ml.c5n.4xlarge"
            • "ml.c5n.9xlarge"
            • "ml.c5n.18xlarge"
            • "ml.g5.xlarge"
            • "ml.g5.2xlarge"
            • "ml.g5.4xlarge"
            • "ml.g5.8xlarge"
            • "ml.g5.16xlarge"
            • "ml.g5.12xlarge"
            • "ml.g5.24xlarge"
            • "ml.g5.48xlarge"
            • "ml.trn1.2xlarge"
            • "ml.trn1.32xlarge"
            • "ml.trn1n.32xlarge"
            • "ml.m6i.large"
            • "ml.m6i.xlarge"
            • "ml.m6i.2xlarge"
            • "ml.m6i.4xlarge"
            • "ml.m6i.8xlarge"
            • "ml.m6i.12xlarge"
            • "ml.m6i.16xlarge"
            • "ml.m6i.24xlarge"
            • "ml.m6i.32xlarge"
            • "ml.c6i.xlarge"
            • "ml.c6i.2xlarge"
            • "ml.c6i.8xlarge"
            • "ml.c6i.4xlarge"
            • "ml.c6i.12xlarge"
            • "ml.c6i.16xlarge"
            • "ml.c6i.24xlarge"
            • "ml.c6i.32xlarge"
            • "ml.r5d.large"
            • "ml.r5d.xlarge"
            • "ml.r5d.2xlarge"
            • "ml.r5d.4xlarge"
            • "ml.r5d.8xlarge"
            • "ml.r5d.12xlarge"
            • "ml.r5d.16xlarge"
            • "ml.r5d.24xlarge"
            • "ml.t3.medium"
            • "ml.t3.large"
            • "ml.t3.xlarge"
            • "ml.t3.2xlarge"
            • "ml.r5.large"
            • "ml.r5.xlarge"
            • "ml.r5.2xlarge"
            • "ml.r5.4xlarge"
            • "ml.r5.8xlarge"
            • "ml.r5.12xlarge"
            • "ml.r5.16xlarge"
            • "ml.r5.24xlarge"
          • InstanceCountrequired — (Integer)

            The number of instances of the type specified by InstanceType. Choose an instance count larger than 1 for distributed training algorithms. See Step 2: Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK for more information.

          • VolumeSizeInGBrequired — (Integer)

            The volume size in GB of the data to be processed for hyperparameter optimization (optional).

      • StoppingConditionrequired — (map)

        Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.

        • MaxRuntimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.

          For compilation jobs, if the job does not complete during this time, a TimeOut error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.

          For all other jobs, if the job does not complete during this time, SageMaker ends the job. When RetryStrategy is specified in the job request, MaxRuntimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.

          The maximum time that a TrainingJob can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.

        • MaxWaitTimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a managed Spot training job has to complete. It is the amount of time spent waiting for Spot capacity plus the amount of time the job can run. It must be equal to or greater than MaxRuntimeInSeconds. If the job does not complete during this time, SageMaker ends the job.

          When RetryStrategy is specified in the job request, MaxWaitTimeInSeconds specifies the maximum time for all of the attempts in total, not each individual attempt.

        • MaxPendingTimeInSeconds — (Integer)

          The maximum length of time, in seconds, that a training or compilation job can be pending before it is stopped.

      • EnableNetworkIsolation — (Boolean)

        Isolates the training container. No inbound or outbound network calls can be made, except for calls between peers within a training cluster for distributed training. If network isolation is used for training jobs that are configured to use a VPC, SageMaker downloads and uploads customer data and model artifacts through the specified VPC, but the training container does not have network access.

      • EnableInterContainerTrafficEncryption — (Boolean)

        To encrypt all communications between ML compute instances in distributed training, choose True. Encryption provides greater security for distributed training, but training might take longer. How long it takes depends on the amount of communication between compute instances, especially if you use a deep learning algorithm in distributed training.

      • EnableManagedSpotTraining — (Boolean)

        A Boolean indicating whether managed spot training is enabled (True) or not (False).

      • CheckpointConfig — (map)

        Contains information about the output location for managed spot training checkpoint data.

        • S3Urirequired — (String)

          Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

        • LocalPath — (String)

          (Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/.

      • RetryStrategy — (map)

        The number of times to retry the job when the job fails due to an InternalServerError.

        • MaximumRetryAttemptsrequired — (Integer)

          The number of times to retry the job. When the job is retried, it's SecondaryStatus is changed to STARTING.

      • Environment — (map<String>)

        An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information.

        Note: The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified.
    • WarmStartConfig — (map)

      Specifies the configuration for starting the hyperparameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.

      All training jobs launched by the new hyperparameter tuning job are evaluated by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM as the WarmStartType value for the warm start configuration, the training job that performs the best in the new tuning job is compared to the best training jobs from the parent tuning jobs. From these, the training job that performs the best as measured by the objective metric is returned as the overall best training job.

      Note: All training jobs launched by parent hyperparameter tuning jobs and the new hyperparameter tuning jobs count against the limit of training jobs for the tuning job.
      • ParentHyperParameterTuningJobsrequired — (Array<map>)

        An array of hyperparameter tuning jobs that are used as the starting point for the new hyperparameter tuning job. For more information about warm starting a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job as a Starting Point.

        Hyperparameter tuning jobs created before October 1, 2018 cannot be used as parent jobs for warm start tuning jobs.

        • HyperParameterTuningJobName — (String)

          The name of the hyperparameter tuning job to be used as a starting point for a new hyperparameter tuning job.

      • WarmStartTyperequired — (String)

        Specifies one of the following:

        IDENTICAL_DATA_AND_ALGORITHM

        The new hyperparameter tuning job uses the same input data and training image as the parent tuning jobs. You can change the hyperparameter ranges to search and the maximum number of training jobs that the hyperparameter tuning job launches. You cannot use a new version of the training algorithm, unless the changes in the new version do not affect the algorithm itself. For example, changes that improve logging or adding support for a different data format are allowed. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.

        TRANSFER_LEARNING

        The new hyperparameter tuning job can include input data, hyperparameter ranges, maximum number of concurrent training jobs, and maximum number of training jobs that are different than those of its parent hyperparameter tuning jobs. The training image can also be a different version from the version used in the parent hyperparameter tuning job. You can also change hyperparameters from tunable to static, and from static to tunable, but the total number of static plus tunable hyperparameters must remain the same as it is in all parent jobs. The objective metric for the new tuning job must be the same as for all parent jobs.

        Possible values include:
        • "IdenticalDataAndAlgorithm"
        • "TransferLearning"
    • Tags — (Array<map>)

      An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

      Tags that you specify for the tuning job are also added to all training jobs that the tuning job launches.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

    • Autotune — (map)

      Configures SageMaker Automatic model tuning (AMT) to automatically find optimal parameters for the following fields:

      • ParameterRanges: The names and ranges of parameters that a hyperparameter tuning job can optimize.

      • ResourceLimits: The maximum resources that can be used for a training job. These resources include the maximum number of training jobs, the maximum runtime of a tuning job, and the maximum number of training jobs to run at the same time.

      • TrainingJobEarlyStoppingType: A flag that specifies whether or not to use early stopping for training jobs launched by a hyperparameter tuning job.

      • RetryStrategy: The number of times to retry a training job.

      • Strategy: Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training jobs that it launches.

      • ConvergenceDetected: A flag to indicate that Automatic model tuning (AMT) has detected model convergence.

      • Moderequired — (String)

        Set Mode to Enabled if you want to use Autotune.

        Possible values include:
        • "Enabled"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • HyperParameterTuningJobArn — (String)

        The Amazon Resource Name (ARN) of the tuning job. SageMaker assigns an ARN to a hyperparameter tuning job when you create it.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createImage(params = {}, callback) ⇒ AWS.Request

Creates a custom SageMaker image. A SageMaker image is a set of image versions. Each image version represents a container image stored in Amazon ECR. For more information, see Bring your own SageMaker image.

Service Reference:

Examples:

Calling the createImage operation

var params = {
  ImageName: 'STRING_VALUE', /* required */
  RoleArn: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  DisplayName: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
sagemaker.createImage(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Description — (String)

      The description of the image.

    • DisplayName — (String)

      The display name of the image. If not provided, ImageName is displayed.

    • ImageName — (String)

      The name of the image. Must be unique to your account.

    • RoleArn — (String)

      The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

    • Tags — (Array<map>)

      A list of tags to apply to the image.

      • Keyrequired — (String)

        The tag key. Tag keys must be unique per resource.

      • Valuerequired — (String)

        The tag value.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data