SageMaker

public struct SageMaker

Client object for interacting with AWS SageMaker service.

Provides APIs for creating and managing Amazon SageMaker resources. Other Resources: Amazon SageMaker Developer Guide Amazon Augmented AI Runtime API Reference

  • Initialize the SageMaker client

    Declaration

    Swift

    public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)

    Parameters

    accessKeyId

    Public access key provided by AWS

    secretAccessKey

    Private access key provided by AWS

    sessionToken

    Token provided by STS.AssumeRole() which allows access to another AWS account

    region

    Region of server you want to communicate with

    endpoint

    Custom endpoint URL to use instead of standard AWS servers

    middlewares

    Array of middlewares to apply to requests and responses

    eventLoopGroupProvider

    EventLoopGroup to use. Use useAWSClientShared if the client shall manage its own EventLoopGroup.

  • Adds or overwrites one or more tags for the specified Amazon 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 AWS Tagging Strategies. 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

    Declaration

    Swift

    public func addTags(_ input: AddTagsInput) -> EventLoopFuture<AddTagsOutput>
  • 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.

    Declaration

    Swift

    public func associateTrialComponent(_ input: AssociateTrialComponentRequest) -> EventLoopFuture<AssociateTrialComponentResponse>
  • Create a machine learning algorithm that you can use in Amazon SageMaker and list in the AWS Marketplace.

    Declaration

    Swift

    public func createAlgorithm(_ input: CreateAlgorithmInput) -> EventLoopFuture<CreateAlgorithmOutput>
  • Creates a running App for the specified UserProfile. Supported Apps are JupyterServer and KernelGateway. This operation is automatically invoked by Amazon SageMaker Studio upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

    Declaration

    Swift

    public func createApp(_ input: CreateAppRequest) -> EventLoopFuture<CreateAppResponse>
  • Creates an Autopilot job. Find the best performing model after you run an Autopilot job by calling . Deploy that model by following the steps described in Step 6.1: Deploy the Model to Amazon SageMaker Hosting Services. For information about how to use Autopilot, see Automate Model Development with Amazon SageMaker Autopilot.

    Declaration

    Swift

    public func createAutoMLJob(_ input: CreateAutoMLJobRequest) -> EventLoopFuture<CreateAutoMLJobResponse>
  • Creates a Git repository as a resource in your Amazon 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 Amazon 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 AWS CodeCommit or in any other Git repository.

    Declaration

    Swift

    public func createCodeRepository(_ input: CreateCodeRepositoryInput) -> EventLoopFuture<CreateCodeRepositoryOutput>
  • 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 AWS 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.

    Declaration

    Swift

    public func createCompilationJob(_ input: CreateCompilationJobRequest) -> EventLoopFuture<CreateCompilationJobResponse>
  • Creates a Domain used by SageMaker Studio. A domain consists of an associated directory, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. An AWS account is limited to one domain per region. Users within a domain can share notebook files and other artifacts with each other. When a domain is created, an Amazon Elastic File System (EFS) volume is also created for use by all of the users within the domain. Each user receives a private home directory within the EFS for notebooks, Git repositories, and data files. All traffic between the domain and the EFS volume is communicated through the specified subnet IDs. All other traffic goes over the Internet through an Amazon SageMaker system VPC. The EFS traffic uses the NFS/TCP protocol over port 2049. NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a SageMaker Studio app successfully.

    Declaration

    Swift

    public func createDomain(_ input: CreateDomainRequest) -> EventLoopFuture<CreateDomainResponse>
  • Creates an endpoint using the endpoint configuration specified in the request. Amazon 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 Amazon SageMaker hosting services. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)). 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 AWS Region in your AWS account. When it receives the request, Amazon SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. 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 Amazon SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. Amazon 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, Amazon SageMaker uses AWS Security Token Service to download model artifacts from the S3 path you provided. AWS STS is activated in your IAM user account by default. If you previously deactivated AWS STS for a region, you need to reactivate AWS STS for that region. For more information, see Activating and Deactivating AWS STS in an AWS Region in the AWS Identity and Access Management User Guide.

    Declaration

    Swift

    public func createEndpoint(_ input: CreateEndpointInput) -> EventLoopFuture<CreateEndpointOutput>
  • Creates an endpoint configuration that Amazon 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 Amazon SageMaker to provision. Then you call the CreateEndpoint API. Use this API if you want to use Amazon 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 Amazon 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. Amazon SageMaker distributes two-thirds of the traffic to Model A, and one-third to model B. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)). 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.

    Declaration

    Swift

    public func createEndpointConfig(_ input: CreateEndpointConfigInput) -> EventLoopFuture<CreateEndpointConfigOutput>
  • Creates an 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. 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 Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS 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.

    Declaration

    Swift

    public func createExperiment(_ input: CreateExperimentRequest) -> EventLoopFuture<CreateExperimentResponse>
  • Creates a flow definition.

    Declaration

    Swift

    public func createFlowDefinition(_ input: CreateFlowDefinitionRequest) -> EventLoopFuture<CreateFlowDefinitionResponse>
  • 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.

    Declaration

    Swift

    public func createHumanTaskUi(_ input: CreateHumanTaskUiRequest) -> EventLoopFuture<CreateHumanTaskUiResponse>
  • 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.

    Declaration

    Swift

    public func createHyperParameterTuningJob(_ input: CreateHyperParameterTuningJobRequest) -> EventLoopFuture<CreateHyperParameterTuningJobResponse>
  • Creates a job that uses workers to label the data objects in your input dataset. You can use the labeled data to train machine learning models. You can select your workforce from one of three providers: A private workforce that you create. It can include employees, contractors, and outside experts. Use a private workforce when want the data to stay within your organization or when a specific set of skills is required. One or more vendors that you select from the AWS Marketplace. Vendors provide expertise in specific areas. The Amazon Mechanical Turk workforce. This is the largest workforce, but it should only be used for public data or data that has been stripped of any personally identifiable information. You can also use automated data labeling to reduce the number of data objects that need to be labeled by a human. Automated data labeling uses active learning to determine if a data object can be labeled by machine or if it needs to be sent to a human worker. For more information, see Using Automated Data Labeling. The data objects to be labeled are contained in an Amazon S3 bucket. You create a manifest file that describes the location of each object. For more information, see Using Input and Output Data. The output can be used as the manifest file for another labeling job or as training data for your machine learning models.

    Declaration

    Swift

    public func createLabelingJob(_ input: CreateLabelingJobRequest) -> EventLoopFuture<CreateLabelingJobResponse>
  • Creates a model in Amazon SageMaker. In the request, you name the model and describe a primary container. For the primary container, you specify the Docker image that contains inference code, artifacts (from prior training), and a custom environment map that the inference code uses when you deploy the model for predictions. Use this API to create a model if you want to use Amazon SageMaker hosting services or run a batch transform job. To host your model, you create an endpoint configuration with the CreateEndpointConfig API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker then deploys all of the containers that you defined for the model in the hosting environment. For an example that calls this method when deploying a model to Amazon SageMaker hosting services, see Deploy the Model to Amazon SageMaker Hosting Services (AWS SDK for Python (Boto 3)). To run a batch transform using your model, you start a job with the CreateTransformJob API. Amazon SageMaker uses your model and your dataset to get inferences which are then saved to a specified S3 location. In the CreateModel request, you must define a container with the PrimaryContainer parameter. In the request, you also provide an IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on ML compute hosting instances or for batch transform jobs. In addition, you also use the IAM role to manage permissions the inference code needs. For example, if the inference code access any other AWS resources, you grant necessary permissions via this role.

    Declaration

    Swift

    public func createModel(_ input: CreateModelInput) -> EventLoopFuture<CreateModelOutput>
  • Creates a model package that you can use to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker. To create a model package by specifying a Docker container that contains your inference code and the Amazon S3 location of your model artifacts, provide values for InferenceSpecification. To create a model from an algorithm resource that you created or subscribed to in AWS Marketplace, provide a value for SourceAlgorithmSpecification.

    Declaration

    Swift

    public func createModelPackage(_ input: CreateModelPackageInput) -> EventLoopFuture<CreateModelPackageOutput>
  • Creates a schedule that regularly starts Amazon SageMaker Processing Jobs to monitor the data captured for an Amazon SageMaker Endoint.

    Declaration

    Swift

    public func createMonitoringSchedule(_ input: CreateMonitoringScheduleRequest) -> EventLoopFuture<CreateMonitoringScheduleResponse>
  • Creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook. In a CreateNotebookInstance request, specify the type of ML compute instance that you want to run. Amazon SageMaker launches the instance, installs common libraries that you can use to explore datasets for model training, and attaches an ML storage volume to the notebook instance. Amazon SageMaker also provides a set of example notebooks. Each notebook demonstrates how to use Amazon SageMaker with a specific algorithm or with a machine learning framework. After receiving the request, Amazon SageMaker does the following: Creates a network interface in the Amazon SageMaker VPC. (Option) If you specified SubnetId, Amazon SageMaker creates a network interface in your own VPC, which is inferred from the subnet ID that you provide in the input. When creating this network interface, Amazon SageMaker attaches the security group that you specified in the request to the network interface that it creates in your VPC. Launches an EC2 instance of the type specified in the request in the Amazon SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies both network interfaces when launching this instance. This enables inbound traffic from your own VPC to the notebook instance, assuming that the security groups allow it. After creating the notebook instance, Amazon SageMaker returns its Amazon Resource Name (ARN). You can’t change the name of a notebook instance after you create it. After Amazon SageMaker creates the notebook instance, you can connect to the Jupyter server and work in Jupyter notebooks. For example, you can write code to explore a dataset that you can use for model training, train a model, host models by creating Amazon SageMaker endpoints, and validate hosted models. For more information, see How It Works.

    Declaration

    Swift

    public func createNotebookInstance(_ input: CreateNotebookInstanceInput) -> EventLoopFuture<CreateNotebookInstanceOutput>
  • Creates a lifecycle configuration that you can associate with a notebook instance. A lifecycle configuration is a collection of shell scripts that run when you create or start a notebook instance. Each lifecycle configuration script has a limit of 16384 characters. The value of the $PATH environment variable that is available to both scripts is /sbin:bin:/usr/sbin:/usr/bin. View CloudWatch Logs for notebook instance lifecycle configurations in log group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook]. Lifecycle configuration scripts cannot run for longer than 5 minutes. If a script runs for longer than 5 minutes, it fails and the notebook instance is not created or started. For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance.

    Declaration

    Swift

    public func createNotebookInstanceLifecycleConfig(_ input: CreateNotebookInstanceLifecycleConfigInput) -> EventLoopFuture<CreateNotebookInstanceLifecycleConfigOutput>
  • Creates a URL for a specified UserProfile in a Domain. When accessed in a web browser, the user will be automatically signed in to Amazon SageMaker Studio, and granted access to all of the Apps and files associated with the Domain’s Amazon Elastic File System (EFS) volume. This operation can only be called when the authentication mode equals IAM.

    Declaration

    Swift

    public func createPresignedDomainUrl(_ input: CreatePresignedDomainUrlRequest) -> EventLoopFuture<CreatePresignedDomainUrlResponse>
  • Returns a URL that you can use to connect to the Jupyter server from a notebook instance. In the Amazon SageMaker console, when you choose Open next to a notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server home page from the notebook instance. The console uses this API to get the URL and show the page. The IAM role or user used to call this API defines the permissions to access the notebook instance. Once the presigned URL is created, no additional permission is required to access this URL. IAM authorization policies for this API are also enforced for every HTTP request and WebSocket frame that attempts to connect to the notebook instance. You can restrict access to this API and to the URL that it returns to a list of IP addresses that you specify. Use the NotIpAddress condition operator and the aws:SourceIP condition context key to specify the list of IP addresses that you want to have access to the notebook instance. For more information, see Limit Access to a Notebook Instance by IP Address. The URL that you get from a call to CreatePresignedNotebookInstanceUrl is valid only for 5 minutes. If you try to use the URL after the 5-minute limit expires, you are directed to the AWS console sign-in page.

    Declaration

    Swift

    public func createPresignedNotebookInstanceUrl(_ input: CreatePresignedNotebookInstanceUrlInput) -> EventLoopFuture<CreatePresignedNotebookInstanceUrlOutput>
  • Creates a processing job.

    Declaration

    Swift

    public func createProcessingJob(_ input: CreateProcessingJobRequest) -> EventLoopFuture<CreateProcessingJobResponse>
  • Starts a model training job. After training completes, Amazon SageMaker saves the resulting model artifacts to an Amazon S3 location 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 in a machine learning service other than Amazon SageMaker, provided that you know how to use them for inferences. In the request body, you provide the following: AlgorithmSpecification - Identifies the training algorithm to use. HyperParameters - Specify these algorithm-specific parameters to enable the estimation of model parameters during training. Hyperparameters can be tuned to optimize this learning process. For a list of hyperparameters for each training algorithm provided by Amazon SageMaker, see Algorithms. InputDataConfig - Describes the training dataset and the Amazon S3, EFS, or FSx location where it is stored. OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon SageMaker to save the results of model training. ResourceConfig - Identifies the resources, ML compute instances, and ML storage volumes to deploy for model training. In distributed training, you specify more than one instance. EnableManagedSpotTraining - Optimize the cost of training machine learning models by up to 80% by using Amazon EC2 Spot instances. For more information, see Managed Spot Training. RoleARN - The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf during model training. You must grant this role the necessary permissions so that Amazon SageMaker can successfully complete model training. StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds to set a time limit for training. Use MaxWaitTimeInSeconds to specify how long you are willing to wait for a managed spot training job to complete. For more information about Amazon SageMaker, see How It Works.

    Declaration

    Swift

    public func createTrainingJob(_ input: CreateTrainingJobRequest) -> EventLoopFuture<CreateTrainingJobResponse>
  • Starts a transform job. A transform job uses a trained model to get inferences on a dataset and saves these results to an Amazon S3 location that you specify. To perform batch transformations, you create a transform job and use the data that you have readily available. In the request body, you provide the following: TransformJobName - Identifies the transform job. The name must be unique within an AWS Region in an AWS account. ModelName - Identifies the model to use. ModelName must be the name of an existing Amazon SageMaker model in the same AWS Region and AWS account. For information on creating a model, see CreateModel. TransformInput - Describes the dataset to be transformed and the Amazon S3 location where it is stored. TransformOutput - Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the transform job. TransformResources - Identifies the ML compute instances for the transform job. For more information about how batch transformation works, see Batch Transform.

    Declaration

    Swift

    public func createTransformJob(_ input: CreateTransformJobRequest) -> EventLoopFuture<CreateTransformJobResponse>
  • Creates an Amazon SageMaker trial. A trial is a set of steps called trial components that produce a machine learning model. A trial is part of a single Amazon SageMaker experiment. When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK. You can add tags to a trial and then use the Search API to search for the tags. To get a list of all your trials, call the ListTrials API. To view a trial’s properties, call the DescribeTrial API. To create a trial component, call the CreateTrialComponent API.

    Declaration

    Swift

    public func createTrial(_ input: CreateTrialRequest) -> EventLoopFuture<CreateTrialResponse>
  • Creates a trial component, which is a stage of a machine learning trial. A trial is composed of one or more trial components. A trial component can be used in multiple trials. Trial components include pre-processing jobs, training jobs, and batch transform jobs. When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK, all experiments, trials, and trial components are automatically tracked, logged, and indexed. When you use the AWS SDK for Python (Boto), you must use the logging APIs provided by the SDK. You can add tags to a trial component and then use the Search API to search for the tags. CreateTrialComponent can only be invoked from within an Amazon SageMaker managed environment. This includes Amazon SageMaker training jobs, processing jobs, transform jobs, and Amazon SageMaker notebooks. A call to CreateTrialComponent from outside one of these environments results in an error.

    Declaration

    Swift

    public func createTrialComponent(_ input: CreateTrialComponentRequest) -> EventLoopFuture<CreateTrialComponentResponse>
  • Creates a user profile. A user profile represents a single user within a domain, and is the main way to reference a “person” for the purposes of sharing, reporting, and other user-oriented features. This entity is created when a user onboards to Amazon SageMaker Studio. If an administrator invites a person by email or imports them from SSO, a user profile is automatically created. A user profile is the primary holder of settings for an individual user and has a reference to the user’s private Amazon Elastic File System (EFS) home directory.

    Declaration

    Swift

    public func createUserProfile(_ input: CreateUserProfileRequest) -> EventLoopFuture<CreateUserProfileResponse>
  • Use this operation to create a workforce. This operation will return an error if a workforce already exists in the AWS Region that you specify. You can only create one workforce in each AWS Region per AWS account. If you want to create a new workforce in an AWS Region where a workforce already exists, use the API operation to delete the existing workforce and then use CreateWorkforce to create a new workforce. To create a private workforce using Amazon Cognito, you must specify a Cognito user pool in CognitoConfig. You can also create an Amazon Cognito workforce using the Amazon SageMaker console. For more information, see Create a Private Workforce (Amazon Cognito). To create a private workforce using your own OIDC Identity Provider (IdP), specify your IdP configuration in OidcConfig. Your OIDC IdP must support groups because groups are used by Ground Truth and Amazon A2I to create work teams. For more information, see Create a Private Workforce (OIDC IdP).

    Declaration

    Swift

    public func createWorkforce(_ input: CreateWorkforceRequest) -> EventLoopFuture<CreateWorkforceResponse>
  • Creates a new work team for labeling your data. A work team is defined by one or more Amazon Cognito user pools. You must first create the user pools before you can create a work team. You cannot create more than 25 work teams in an account and region.

    Declaration

    Swift

    public func createWorkteam(_ input: CreateWorkteamRequest) -> EventLoopFuture<CreateWorkteamResponse>
  • Removes the specified algorithm from your account.

    Declaration

    Swift

    @discardableResult
    public func deleteAlgorithm(_ input: DeleteAlgorithmInput) -> EventLoopFuture<Void>
  • Used to stop and delete an app.

    Declaration

    Swift

    @discardableResult
    public func deleteApp(_ input: DeleteAppRequest) -> EventLoopFuture<Void>
  • Deletes the specified Git repository from your account.

    Declaration

    Swift

    @discardableResult
    public func deleteCodeRepository(_ input: DeleteCodeRepositoryInput) -> EventLoopFuture<Void>
  • Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts.

    Declaration

    Swift

    @discardableResult
    public func deleteDomain(_ input: DeleteDomainRequest) -> EventLoopFuture<Void>
  • Deletes an endpoint. Amazon SageMaker frees up all of the resources that were deployed when the endpoint was created. Amazon SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don’t need to use the RevokeGrant API call.

    Declaration

    Swift

    @discardableResult
    public func deleteEndpoint(_ input: DeleteEndpointInput) -> EventLoopFuture<Void>
  • Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only the specified configuration. It does not delete endpoints created using the configuration. You must not delete an EndpointConfig in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.

    Declaration

    Swift

    @discardableResult
    public func deleteEndpointConfig(_ input: DeleteEndpointConfigInput) -> EventLoopFuture<Void>
  • Deletes an Amazon SageMaker experiment. All trials associated with the experiment must be deleted first. Use the ListTrials API to get a list of the trials associated with the experiment.

    Declaration

    Swift

    public func deleteExperiment(_ input: DeleteExperimentRequest) -> EventLoopFuture<DeleteExperimentResponse>
  • Deletes the specified flow definition.

    Declaration

    Swift

    public func deleteFlowDefinition(_ input: DeleteFlowDefinitionRequest) -> EventLoopFuture<DeleteFlowDefinitionResponse>
  • Use this operation to delete a human task user interface (worker task template). To see a list of human task user interfaces (work task templates) in your account, use . When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.

    Declaration

    Swift

    public func deleteHumanTaskUi(_ input: DeleteHumanTaskUiRequest) -> EventLoopFuture<DeleteHumanTaskUiResponse>
  • Deletes a model. The DeleteModel API deletes only the model entry that was created in Amazon SageMaker when you called the CreateModel API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

    Declaration

    Swift

    @discardableResult
    public func deleteModel(_ input: DeleteModelInput) -> EventLoopFuture<Void>
  • Deletes a model package. A model package is used to create Amazon SageMaker models or list on AWS Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace to create models in Amazon SageMaker.

    Declaration

    Swift

    @discardableResult
    public func deleteModelPackage(_ input: DeleteModelPackageInput) -> EventLoopFuture<Void>
  • Deletes a monitoring schedule. Also stops the schedule had not already been stopped. This does not delete the job execution history of the monitoring schedule.

    Declaration

    Swift

    @discardableResult
    public func deleteMonitoringSchedule(_ input: DeleteMonitoringScheduleRequest) -> EventLoopFuture<Void>
  • Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook instance, you must call the StopNotebookInstance API. When you delete a notebook instance, you lose all of your data. Amazon SageMaker removes the ML compute instance, and deletes the ML storage volume and the network interface associated with the notebook instance.

    Declaration

    Swift

    @discardableResult
    public func deleteNotebookInstance(_ input: DeleteNotebookInstanceInput) -> EventLoopFuture<Void>
  • Deletes a notebook instance lifecycle configuration.

    Declaration

    Swift

    @discardableResult
    public func deleteNotebookInstanceLifecycleConfig(_ input: DeleteNotebookInstanceLifecycleConfigInput) -> EventLoopFuture<Void>
  • Deletes the specified tags from an Amazon SageMaker resource. To list a resource’s tags, use the ListTags API. When you call this API to delete tags from a hyperparameter tuning job, the deleted tags are not removed from training jobs that the hyperparameter tuning job launched before you called this API.

    Declaration

    Swift

    public func deleteTags(_ input: DeleteTagsInput) -> EventLoopFuture<DeleteTagsOutput>
  • Deletes the specified trial. All trial components that make up the trial must be deleted first. Use the DescribeTrialComponent API to get the list of trial components.

    Declaration

    Swift

    public func deleteTrial(_ input: DeleteTrialRequest) -> EventLoopFuture<DeleteTrialResponse>
  • Deletes the specified trial component. A trial component must be disassociated from all trials before the trial component can be deleted. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.

    Declaration

    Swift

    public func deleteTrialComponent(_ input: DeleteTrialComponentRequest) -> EventLoopFuture<DeleteTrialComponentResponse>
  • Deletes a user profile. When a user profile is deleted, the user loses access to their EFS volume, including data, notebooks, and other artifacts.

    Declaration

    Swift

    @discardableResult
    public func deleteUserProfile(_ input: DeleteUserProfileRequest) -> EventLoopFuture<Void>
  • Use this operation to delete a workforce. If you want to create a new workforce in an AWS Region where a workforce already exists, use this operation to delete the existing workforce and then use to create a new workforce. If a private workforce contains one or more work teams, you must use the operation to delete all work teams before you delete the workforce. If you try to delete a workforce that contains one or more work teams, you will recieve a ResourceInUse error.

    Declaration

    Swift

    public func deleteWorkforce(_ input: DeleteWorkforceRequest) -> EventLoopFuture<DeleteWorkforceResponse>
  • Deletes an existing work team. This operation can’t be undone.

    Declaration

    Swift

    public func deleteWorkteam(_ input: DeleteWorkteamRequest) -> EventLoopFuture<DeleteWorkteamResponse>
  • Returns a description of the specified algorithm that is in your account.

    Declaration

    Swift

    public func describeAlgorithm(_ input: DescribeAlgorithmInput) -> EventLoopFuture<DescribeAlgorithmOutput>
  • Describes the app.

    Declaration

    Swift

    public func describeApp(_ input: DescribeAppRequest) -> EventLoopFuture<DescribeAppResponse>
  • Returns information about an Amazon SageMaker job.

    Declaration

    Swift

    public func describeAutoMLJob(_ input: DescribeAutoMLJobRequest) -> EventLoopFuture<DescribeAutoMLJobResponse>
  • Gets details about the specified Git repository.

    Declaration

    Swift

    public func describeCodeRepository(_ input: DescribeCodeRepositoryInput) -> EventLoopFuture<DescribeCodeRepositoryOutput>
  • Returns information about a model compilation job. To create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

    Declaration

    Swift

    public func describeCompilationJob(_ input: DescribeCompilationJobRequest) -> EventLoopFuture<DescribeCompilationJobResponse>
  • The description of the domain.

    Declaration

    Swift

    public func describeDomain(_ input: DescribeDomainRequest) -> EventLoopFuture<DescribeDomainResponse>
  • Returns the description of an endpoint.

    Declaration

    Swift

    public func describeEndpoint(_ input: DescribeEndpointInput) -> EventLoopFuture<DescribeEndpointOutput>
  • Returns the description of an endpoint configuration created using the CreateEndpointConfig API.

    Declaration

    Swift

    public func describeEndpointConfig(_ input: DescribeEndpointConfigInput) -> EventLoopFuture<DescribeEndpointConfigOutput>
  • Provides a list of an experiment’s properties.

    Declaration

    Swift

    public func describeExperiment(_ input: DescribeExperimentRequest) -> EventLoopFuture<DescribeExperimentResponse>
  • Returns information about the specified flow definition.

    Declaration

    Swift

    public func describeFlowDefinition(_ input: DescribeFlowDefinitionRequest) -> EventLoopFuture<DescribeFlowDefinitionResponse>
  • Returns information about the requested human task user interface (worker task template).

    Declaration

    Swift

    public func describeHumanTaskUi(_ input: DescribeHumanTaskUiRequest) -> EventLoopFuture<DescribeHumanTaskUiResponse>
  • Gets a description of a hyperparameter tuning job.

    Declaration

    Swift

    public func describeHyperParameterTuningJob(_ input: DescribeHyperParameterTuningJobRequest) -> EventLoopFuture<DescribeHyperParameterTuningJobResponse>
  • Gets information about a labeling job.

    Declaration

    Swift

    public func describeLabelingJob(_ input: DescribeLabelingJobRequest) -> EventLoopFuture<DescribeLabelingJobResponse>
  • Describes a model that you created using the CreateModel API.

    Declaration

    Swift

    public func describeModel(_ input: DescribeModelInput) -> EventLoopFuture<DescribeModelOutput>
  • Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on AWS Marketplace. To create models in Amazon SageMaker, buyers can subscribe to model packages listed on AWS Marketplace.

    Declaration

    Swift

    public func describeModelPackage(_ input: DescribeModelPackageInput) -> EventLoopFuture<DescribeModelPackageOutput>
  • Describes the schedule for a monitoring job.

    Declaration

    Swift

    public func describeMonitoringSchedule(_ input: DescribeMonitoringScheduleRequest) -> EventLoopFuture<DescribeMonitoringScheduleResponse>
  • Returns information about a notebook instance.

    Declaration

    Swift

    public func describeNotebookInstance(_ input: DescribeNotebookInstanceInput) -> EventLoopFuture<DescribeNotebookInstanceOutput>
  • Returns a description of a notebook instance lifecycle configuration. For information about notebook instance lifestyle configurations, see Step 2.1: (Optional) Customize a Notebook Instance.

    Declaration

    Swift

    public func describeNotebookInstanceLifecycleConfig(_ input: DescribeNotebookInstanceLifecycleConfigInput) -> EventLoopFuture<DescribeNotebookInstanceLifecycleConfigOutput>
  • Returns a description of a processing job.

    Declaration

    Swift

    public func describeProcessingJob(_ input: DescribeProcessingJobRequest) -> EventLoopFuture<DescribeProcessingJobResponse>
  • Gets information about a work team provided by a vendor. It returns details about the subscription with a vendor in the AWS Marketplace.

    Declaration

    Swift

    public func describeSubscribedWorkteam(_ input: DescribeSubscribedWorkteamRequest) -> EventLoopFuture<DescribeSubscribedWorkteamResponse>
  • Returns information about a training job.

    Declaration

    Swift

    public func describeTrainingJob(_ input: DescribeTrainingJobRequest) -> EventLoopFuture<DescribeTrainingJobResponse>
  • Returns information about a transform job.

    Declaration

    Swift

    public func describeTransformJob(_ input: DescribeTransformJobRequest) -> EventLoopFuture<DescribeTransformJobResponse>
  • Provides a list of a trial’s properties.

    Declaration

    Swift

    public func describeTrial(_ input: DescribeTrialRequest) -> EventLoopFuture<DescribeTrialResponse>
  • Provides a list of a trials component’s properties.

    Declaration

    Swift

    public func describeTrialComponent(_ input: DescribeTrialComponentRequest) -> EventLoopFuture<DescribeTrialComponentResponse>
  • Describes a user profile. For more information, see CreateUserProfile.

    Declaration

    Swift

    public func describeUserProfile(_ input: DescribeUserProfileRequest) -> EventLoopFuture<DescribeUserProfileResponse>
  • Lists private workforce information, including workforce name, Amazon Resource Name (ARN), and, if applicable, allowed IP address ranges (CIDRs). Allowable IP address ranges are the IP addresses that workers can use to access tasks. This operation applies only to private workforces.

    Declaration

    Swift

    public func describeWorkforce(_ input: DescribeWorkforceRequest) -> EventLoopFuture<DescribeWorkforceResponse>
  • Gets information about a specific work team. You can see information such as the create date, the last updated date, membership information, and the work team’s Amazon Resource Name (ARN).

    Declaration

    Swift

    public func describeWorkteam(_ input: DescribeWorkteamRequest) -> EventLoopFuture<DescribeWorkteamResponse>
  • Disassociates a trial component from a trial. This doesn’t effect other trials the component is associated with. Before you can delete a component, you must disassociate the component from all trials it is associated with. To associate a trial component with a trial, call the AssociateTrialComponent API. To get a list of the trials a component is associated with, use the Search API. Specify ExperimentTrialComponent for the Resource parameter. The list appears in the response under Results.TrialComponent.Parents.

    Declaration

    Swift

    public func disassociateTrialComponent(_ input: DisassociateTrialComponentRequest) -> EventLoopFuture<DisassociateTrialComponentResponse>
  • An auto-complete API for the search functionality in the Amazon SageMaker console. It returns suggestions of possible matches for the property name to use in Search queries. Provides suggestions for HyperParameters, Tags, and Metrics.

    Declaration

    Swift

    public func getSearchSuggestions(_ input: GetSearchSuggestionsRequest) -> EventLoopFuture<GetSearchSuggestionsResponse>
  • Lists the machine learning algorithms that have been created.

    Declaration

    Swift

    public func listAlgorithms(_ input: ListAlgorithmsInput) -> EventLoopFuture<ListAlgorithmsOutput>
  • Lists apps.

    Declaration

    Swift

    public func listApps(_ input: ListAppsRequest) -> EventLoopFuture<ListAppsResponse>
  • Request a list of jobs.

    Declaration

    Swift

    public func listAutoMLJobs(_ input: ListAutoMLJobsRequest) -> EventLoopFuture<ListAutoMLJobsResponse>
  • List the Candidates created for the job.

    Declaration

    Swift

    public func listCandidatesForAutoMLJob(_ input: ListCandidatesForAutoMLJobRequest) -> EventLoopFuture<ListCandidatesForAutoMLJobResponse>
  • Gets a list of the Git repositories in your account.

    Declaration

    Swift

    public func listCodeRepositories(_ input: ListCodeRepositoriesInput) -> EventLoopFuture<ListCodeRepositoriesOutput>
  • Lists model compilation jobs that satisfy various filters. To create a model compilation job, use CreateCompilationJob. To get information about a particular model compilation job you have created, use DescribeCompilationJob.

    Declaration

    Swift

    public func listCompilationJobs(_ input: ListCompilationJobsRequest) -> EventLoopFuture<ListCompilationJobsResponse>
  • Lists the domains.

    Declaration

    Swift

    public func listDomains(_ input: ListDomainsRequest) -> EventLoopFuture<ListDomainsResponse>
  • Lists endpoint configurations.

    Declaration

    Swift

    public func listEndpointConfigs(_ input: ListEndpointConfigsInput) -> EventLoopFuture<ListEndpointConfigsOutput>
  • Lists endpoints.

    Declaration

    Swift

    public func listEndpoints(_ input: ListEndpointsInput) -> EventLoopFuture<ListEndpointsOutput>
  • Lists all the experiments in your account. The list can be filtered to show only experiments that were created in a specific time range. The list can be sorted by experiment name or creation time.

    Declaration

    Swift

    public func listExperiments(_ input: ListExperimentsRequest) -> EventLoopFuture<ListExperimentsResponse>
  • Returns information about the flow definitions in your account.

    Declaration

    Swift

    public func listFlowDefinitions(_ input: ListFlowDefinitionsRequest) -> EventLoopFuture<ListFlowDefinitionsResponse>
  • Returns information about the human task user interfaces in your account.

    Declaration

    Swift

    public func listHumanTaskUis(_ input: ListHumanTaskUisRequest) -> EventLoopFuture<ListHumanTaskUisResponse>
  • Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter tuning jobs launched in your account.

    Declaration

    Swift

    public func listHyperParameterTuningJobs(_ input: ListHyperParameterTuningJobsRequest) -> EventLoopFuture<ListHyperParameterTuningJobsResponse>
  • Gets a list of labeling jobs.

    Declaration

    Swift

    public func listLabelingJobs(_ input: ListLabelingJobsRequest) -> EventLoopFuture<ListLabelingJobsResponse>
  • Gets a list of labeling jobs assigned to a specified work team.

    Declaration

    Swift

    public func listLabelingJobsForWorkteam(_ input: ListLabelingJobsForWorkteamRequest) -> EventLoopFuture<ListLabelingJobsForWorkteamResponse>
  • Lists the model packages that have been created.

    Declaration

    Swift

    public func listModelPackages(_ input: ListModelPackagesInput) -> EventLoopFuture<ListModelPackagesOutput>
  • Lists models created with the CreateModel API.

    Declaration

    Swift

    public func listModels(_ input: ListModelsInput) -> EventLoopFuture<ListModelsOutput>
  • Returns list of all monitoring job executions.

    Declaration

    Swift

    public func listMonitoringExecutions(_ input: ListMonitoringExecutionsRequest) -> EventLoopFuture<ListMonitoringExecutionsResponse>
  • Returns list of all monitoring schedules.

    Declaration

    Swift

    public func listMonitoringSchedules(_ input: ListMonitoringSchedulesRequest) -> EventLoopFuture<ListMonitoringSchedulesResponse>
  • Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig API.

    Declaration

    Swift

    public func listNotebookInstanceLifecycleConfigs(_ input: ListNotebookInstanceLifecycleConfigsInput) -> EventLoopFuture<ListNotebookInstanceLifecycleConfigsOutput>
  • Returns a list of the Amazon SageMaker notebook instances in the requester’s account in an AWS Region.

    Declaration

    Swift

    public func listNotebookInstances(_ input: ListNotebookInstancesInput) -> EventLoopFuture<ListNotebookInstancesOutput>
  • Lists processing jobs that satisfy various filters.

    Declaration

    Swift

    public func listProcessingJobs(_ input: ListProcessingJobsRequest) -> EventLoopFuture<ListProcessingJobsResponse>
  • Gets a list of the work teams that you are subscribed to in the AWS Marketplace. The list may be empty if no work team satisfies the filter specified in the NameContains parameter.

    Declaration

    Swift

    public func listSubscribedWorkteams(_ input: ListSubscribedWorkteamsRequest) -> EventLoopFuture<ListSubscribedWorkteamsResponse>
  • Returns the tags for the specified Amazon SageMaker resource.

    Declaration

    Swift

    public func listTags(_ input: ListTagsInput) -> EventLoopFuture<ListTagsOutput>
  • Lists training jobs.

    Declaration

    Swift

    public func listTrainingJobs(_ input: ListTrainingJobsRequest) -> EventLoopFuture<ListTrainingJobsResponse>
  • Gets a list of TrainingJobSummary objects that describe the training jobs that a hyperparameter tuning job launched.

    Declaration

    Swift

    public func listTrainingJobsForHyperParameterTuningJob(_ input: ListTrainingJobsForHyperParameterTuningJobRequest) -> EventLoopFuture<ListTrainingJobsForHyperParameterTuningJobResponse>
  • Lists transform jobs.

    Declaration

    Swift

    public func listTransformJobs(_ input: ListTransformJobsRequest) -> EventLoopFuture<ListTransformJobsResponse>
  • Lists the trial components in your account. You can sort the list by trial component name or creation time. You can filter the list to show only components that were created in a specific time range. You can also filter on one of the following: ExperimentName SourceArn TrialName

    Declaration

    Swift

    public func listTrialComponents(_ input: ListTrialComponentsRequest) -> EventLoopFuture<ListTrialComponentsResponse>
  • Lists the trials in your account. Specify an experiment name to limit the list to the trials that are part of that experiment. Specify a trial component name to limit the list to the trials that associated with that trial component. The list can be filtered to show only trials that were created in a specific time range. The list can be sorted by trial name or creation time.

    Declaration

    Swift

    public func listTrials(_ input: ListTrialsRequest) -> EventLoopFuture<ListTrialsResponse>
  • Lists user profiles.

    Declaration

    Swift

    public func listUserProfiles(_ input: ListUserProfilesRequest) -> EventLoopFuture<ListUserProfilesResponse>
  • Use this operation to list all private and vendor workforces in an AWS Region. Note that you can only have one private workforce per AWS Region.

    Declaration

    Swift

    public func listWorkforces(_ input: ListWorkforcesRequest) -> EventLoopFuture<ListWorkforcesResponse>
  • Gets a list of private work teams that you have defined in a region. The list may be empty if no work team satisfies the filter specified in the NameContains parameter.

    Declaration

    Swift

    public func listWorkteams(_ input: ListWorkteamsRequest) -> EventLoopFuture<ListWorkteamsResponse>
  • Renders the UI template so that you can preview the worker’s experience.

    Declaration

    Swift

    public func renderUiTemplate(_ input: RenderUiTemplateRequest) -> EventLoopFuture<RenderUiTemplateResponse>
  • Finds Amazon SageMaker resources that match a search query. Matching resources are returned as a list of SearchRecord objects in the response. You can sort the search results by any resource property in a ascending or descending order. You can query against the following value types: numeric, text, Boolean, and timestamp.

    Declaration

    Swift

    public func search(_ input: SearchRequest) -> EventLoopFuture<SearchResponse>
  • Starts a previously stopped monitoring schedule. New monitoring schedules are immediately started after creation.

    Declaration

    Swift

    @discardableResult
    public func startMonitoringSchedule(_ input: StartMonitoringScheduleRequest) -> EventLoopFuture<Void>
  • Launches an ML compute instance with the latest version of the libraries and attaches your ML storage volume. After configuring the notebook instance, Amazon SageMaker sets the notebook instance status to InService. A notebook instance’s status must be InService before you can connect to your Jupyter notebook.

    Declaration

    Swift

    @discardableResult
    public func startNotebookInstance(_ input: StartNotebookInstanceInput) -> EventLoopFuture<Void>
  • A method for forcing the termination of a running job.

    Declaration

    Swift

    @discardableResult
    public func stopAutoMLJob(_ input: StopAutoMLJobRequest) -> EventLoopFuture<Void>
  • Stops a model compilation job. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This gracefully shuts the job down. If the job hasn’t stopped, it sends the SIGKILL signal. When it receives a StopCompilationJob request, Amazon SageMaker changes the CompilationJobSummary$CompilationJobStatus of the job to Stopping. After Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus to Stopped.

    Declaration

    Swift

    @discardableResult
    public func stopCompilationJob(_ input: StopCompilationJobRequest) -> EventLoopFuture<Void>
  • Stops a running hyperparameter tuning job and all running training jobs that the tuning job launched. All model artifacts output from the training jobs are stored in Amazon Simple Storage Service (Amazon S3). All data that the training jobs write to Amazon CloudWatch Logs are still available in CloudWatch. After the tuning job moves to the Stopped state, it releases all reserved resources for the tuning job.

    Declaration

    Swift

    @discardableResult
    public func stopHyperParameterTuningJob(_ input: StopHyperParameterTuningJobRequest) -> EventLoopFuture<Void>
  • Stops a running labeling job. A job that is stopped cannot be restarted. Any results obtained before the job is stopped are placed in the Amazon S3 output bucket.

    Declaration

    Swift

    @discardableResult
    public func stopLabelingJob(_ input: StopLabelingJobRequest) -> EventLoopFuture<Void>
  • Stops a previously started monitoring schedule.

    Declaration

    Swift

    @discardableResult
    public func stopMonitoringSchedule(_ input: StopMonitoringScheduleRequest) -> EventLoopFuture<Void>
  • Terminates the ML compute instance. Before terminating the instance, Amazon SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves the ML storage volume. Amazon SageMaker stops charging you for the ML compute instance when you call StopNotebookInstance. To access data on the ML storage volume for a notebook instance that has been terminated, call the StartNotebookInstance API. StartNotebookInstance launches another ML compute instance, configures it, and attaches the preserved ML storage volume so you can continue your work.

    Declaration

    Swift

    @discardableResult
    public func stopNotebookInstance(_ input: StopNotebookInstanceInput) -> EventLoopFuture<Void>
  • Stops a processing job.

    Declaration

    Swift

    @discardableResult
    public func stopProcessingJob(_ input: StopProcessingJobRequest) -> EventLoopFuture<Void>
  • Stops a training job. To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which delays job termination for 120 seconds. Algorithms might use this 120-second window to save the model artifacts, so the results of the training is not lost. When it receives a StopTrainingJob request, Amazon SageMaker changes the status of the job to Stopping. After Amazon SageMaker stops the job, it sets the status to Stopped.

    Declaration

    Swift

    @discardableResult
    public func stopTrainingJob(_ input: StopTrainingJobRequest) -> EventLoopFuture<Void>
  • Stops a transform job. When Amazon SageMaker receives a StopTransformJob request, the status of the job changes to Stopping. After Amazon SageMaker stops the job, the status is set to Stopped. When you stop a transform job before it is completed, Amazon SageMaker doesn’t store the job’s output in Amazon S3.

    Declaration

    Swift

    @discardableResult
    public func stopTransformJob(_ input: StopTransformJobRequest) -> EventLoopFuture<Void>
  • Updates the specified Git repository with the specified values.

    Declaration

    Swift

    public func updateCodeRepository(_ input: UpdateCodeRepositoryInput) -> EventLoopFuture<UpdateCodeRepositoryOutput>
  • Updates the default settings for new user profiles in the domain.

    Declaration

    Swift

    public func updateDomain(_ input: UpdateDomainRequest) -> EventLoopFuture<UpdateDomainResponse>
  • Deploys the new EndpointConfig specified in the request, switches to using newly created endpoint, and then deletes resources provisioned for the endpoint using the previous EndpointConfig (there is no availability loss). When Amazon SageMaker receives the request, it sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API. You must not delete an EndpointConfig 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. If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.

    Declaration

    Swift

    public func updateEndpoint(_ input: UpdateEndpointInput) -> EventLoopFuture<UpdateEndpointOutput>
  • Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API.

    Declaration

    Swift

    public func updateEndpointWeightsAndCapacities(_ input: UpdateEndpointWeightsAndCapacitiesInput) -> EventLoopFuture<UpdateEndpointWeightsAndCapacitiesOutput>
  • Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.

    Declaration

    Swift

    public func updateExperiment(_ input: UpdateExperimentRequest) -> EventLoopFuture<UpdateExperimentResponse>
  • Updates a previously created schedule.

    Declaration

    Swift

    public func updateMonitoringSchedule(_ input: UpdateMonitoringScheduleRequest) -> EventLoopFuture<UpdateMonitoringScheduleResponse>
  • Updates a notebook instance. NotebookInstance updates include upgrading or downgrading the ML compute instance used for your notebook instance to accommodate changes in your workload requirements.

    Declaration

    Swift

    public func updateNotebookInstance(_ input: UpdateNotebookInstanceInput) -> EventLoopFuture<UpdateNotebookInstanceOutput>
  • Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig API.

    Declaration

    Swift

    public func updateNotebookInstanceLifecycleConfig(_ input: UpdateNotebookInstanceLifecycleConfigInput) -> EventLoopFuture<UpdateNotebookInstanceLifecycleConfigOutput>
  • Updates the display name of a trial.

    Declaration

    Swift

    public func updateTrial(_ input: UpdateTrialRequest) -> EventLoopFuture<UpdateTrialResponse>
  • Updates one or more properties of a trial component.

    Declaration

    Swift

    public func updateTrialComponent(_ input: UpdateTrialComponentRequest) -> EventLoopFuture<UpdateTrialComponentResponse>
  • Updates a user profile.

    Declaration

    Swift

    public func updateUserProfile(_ input: UpdateUserProfileRequest) -> EventLoopFuture<UpdateUserProfileResponse>
  • Use this operation to update your workforce. You can use this operation to require that workers use specific IP addresses to work on tasks and to update your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration. Use SourceIpConfig to restrict worker access to tasks to a specific range of IP addresses. You specify allowed IP addresses by creating a list of up to ten CIDRs. By default, a workforce isn’t restricted to specific IP addresses. If you specify a range of IP addresses, workers who attempt to access tasks using any IP address outside the specified range are denied and get a Not Found error message on the worker portal. Use OidcConfig to update the configuration of a workforce created using your own OIDC IdP. You can only update your OIDC IdP configuration when there are no work teams associated with your workforce. You can delete work teams using the operation. After restricting access to a range of IP addresses or updating your OIDC IdP configuration with this operation, you can view details about your update workforce using the operation. This operation only applies to private workforces.

    Declaration

    Swift

    public func updateWorkforce(_ input: UpdateWorkforceRequest) -> EventLoopFuture<UpdateWorkforceResponse>
  • Updates an existing work team with new member definitions or description.

    Declaration

    Swift

    public func updateWorkteam(_ input: UpdateWorkteamRequest) -> EventLoopFuture<UpdateWorkteamResponse>
  • Undocumented

    See more

    Declaration

    Swift

    public enum AlgorithmSortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AlgorithmStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AppInstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AppSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AppStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AppType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AssemblyType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AuthMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLJobObjectiveType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLJobSecondaryStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLMetricEnum : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLS3DataType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLSortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AutoMLSortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum AwsManagedHumanLoopRequestSource : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum BatchStrategy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum BooleanOperator : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CandidateSortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CandidateStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CandidateStepType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CaptureMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CaptureStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CodeRepositorySortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CodeRepositorySortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CompilationJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum CompressionType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ContainerMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ContentClassifier : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum DetailedAlgorithmStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum DetailedModelPackageStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum DirectInternetAccess : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum DomainStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum EndpointConfigSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum EndpointSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum EndpointStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ExecutionStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum FileSystemAccessMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum FileSystemType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum FlowDefinitionStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Framework : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HumanTaskUiStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterScalingType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterTuningJobObjectiveType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterTuningJobSortByOptions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterTuningJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterTuningJobStrategyType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum HyperParameterTuningJobWarmStartType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum InstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum JoinSource : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum LabelingJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ListCompilationJobsSortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ListLabelingJobsForWorkteamSortByOptions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ListWorkforcesSortByOptions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ListWorkteamsSortByOptions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ModelPackageSortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ModelPackageStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ModelSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum MonitoringExecutionSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum MonitoringScheduleSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceAcceleratorType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceLifecycleConfigSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceLifecycleConfigSortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceSortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookInstanceStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NotebookOutputOption : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ObjectiveStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Operator : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum OrderKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ParameterType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProblemType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingInstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingS3CompressionType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingS3DataDistributionType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingS3DataType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingS3InputMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProcessingS3UploadMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProductionVariantAcceleratorType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ProductionVariantInstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RecordWrapper : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RepositoryAccessMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ResourceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RetentionType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RootAccess : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum RuleEvaluationStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum S3DataDistribution : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum S3DataType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ScheduleStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SearchSortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SecondaryStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SortBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SortExperimentsBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SortOrder : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SortTrialComponentsBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SortTrialsBy : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SplitType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TargetDevice : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TargetPlatformAccelerator : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TargetPlatformArch : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TargetPlatformOs : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrainingInputMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrainingInstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrainingJobEarlyStoppingType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrainingJobSortByOptions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrainingJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TransformInstanceType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TransformJobStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TrialComponentPrimaryStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum UserProfileSortKey : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum UserProfileStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum VariantPropertyType : String, CustomStringConvertible, Codable