aws-sdk-sagemaker 1.419.0 → 1.420.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +1180 -20
- data/lib/aws-sdk-sagemaker/client_api.rb +663 -0
- data/lib/aws-sdk-sagemaker/types.rb +1849 -7
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +330 -12
- data/sig/params.rbs +17 -1
- data/sig/types.rbs +465 -12
- metadata +1 -1
|
@@ -550,6 +550,118 @@ module Aws::SageMaker
|
|
|
550
550
|
req.send_request(options)
|
|
551
551
|
end
|
|
552
552
|
|
|
553
|
+
# Adds a candidate and its evaluation metrics to a leaderboard, or adds
|
|
554
|
+
# evaluation metrics to an existing candidate.
|
|
555
|
+
#
|
|
556
|
+
# The candidate configuration (`CandidateConfig`) identifies the
|
|
557
|
+
# candidate. SageMaker derives the `CandidateId` from the configuration,
|
|
558
|
+
# so the same configuration always produces the same `CandidateId` on a
|
|
559
|
+
# leaderboard. The display name and labels aren't part of the identity.
|
|
560
|
+
#
|
|
561
|
+
# If a candidate with the same configuration already exists on the
|
|
562
|
+
# leaderboard, `AddCandidate` updates it as follows:
|
|
563
|
+
#
|
|
564
|
+
# * Adds the evaluation metrics in the request to the candidate's
|
|
565
|
+
# existing metrics.
|
|
566
|
+
#
|
|
567
|
+
# * Replaces the candidate's labels if you specify `Labels`. If you
|
|
568
|
+
# don't specify `Labels`, the existing labels are kept.
|
|
569
|
+
#
|
|
570
|
+
# * Keeps the existing display name. `DisplayName` takes effect only
|
|
571
|
+
# when the candidate is created.
|
|
572
|
+
#
|
|
573
|
+
# @option params [required, String] :leaderboard_arn
|
|
574
|
+
# The Amazon Resource Name (ARN) of the leaderboard to add the candidate
|
|
575
|
+
# to.
|
|
576
|
+
#
|
|
577
|
+
# @option params [String] :display_name
|
|
578
|
+
# A display name for the candidate. SageMaker uses this value only when
|
|
579
|
+
# it creates the candidate. If the candidate already exists, SageMaker
|
|
580
|
+
# keeps its existing display name. The display name can't contain
|
|
581
|
+
# control characters or format characters.
|
|
582
|
+
#
|
|
583
|
+
# @option params [Hash<String,String>] :labels
|
|
584
|
+
# Key-value pairs that describe the candidate. Labels aren't part of
|
|
585
|
+
# the candidate's identity. If the candidate already exists, these
|
|
586
|
+
# labels replace its existing labels. To remove all labels, specify an
|
|
587
|
+
# empty map. If you don't specify labels, the existing labels are kept.
|
|
588
|
+
# Label keys and values can contain only Unicode letters, numbers,
|
|
589
|
+
# spaces, and the following characters: `_ . : / = + - @`.
|
|
590
|
+
#
|
|
591
|
+
# @option params [required, Types::LeaderboardCandidateConfig] :candidate_config
|
|
592
|
+
# The configuration that identifies the candidate. Candidates with the
|
|
593
|
+
# same configuration have the same `CandidateId`.
|
|
594
|
+
#
|
|
595
|
+
# @option params [required, Array<Types::LeaderboardEvaluationResult>] :evaluation_results
|
|
596
|
+
# The evaluation metrics to add to the candidate, grouped by evaluation
|
|
597
|
+
# criterion.
|
|
598
|
+
#
|
|
599
|
+
# @option params [String] :client_token
|
|
600
|
+
# A unique, case-sensitive identifier for the request. If you don't
|
|
601
|
+
# specify a client token, the Amazon Web Services SDKs and the Amazon
|
|
602
|
+
# Web Services CLI generate one for you.
|
|
603
|
+
#
|
|
604
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
605
|
+
# not need to pass this option.**
|
|
606
|
+
#
|
|
607
|
+
# @return [Types::AddCandidateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
608
|
+
#
|
|
609
|
+
# * {Types::AddCandidateResponse#candidate_id #candidate_id} => String
|
|
610
|
+
#
|
|
611
|
+
# @example Request syntax with placeholder values
|
|
612
|
+
#
|
|
613
|
+
# resp = client.add_candidate({
|
|
614
|
+
# leaderboard_arn: "LeaderboardArn", # required
|
|
615
|
+
# display_name: "LeaderboardCandidateDisplayName",
|
|
616
|
+
# labels: {
|
|
617
|
+
# "LeaderboardLabelKey" => "LeaderboardLabelValue",
|
|
618
|
+
# },
|
|
619
|
+
# candidate_config: { # required
|
|
620
|
+
# customer_model_config: {
|
|
621
|
+
# model_ref: "LeaderboardModelRef", # required
|
|
622
|
+
# dataset_arn: "LeaderboardDatasetArn",
|
|
623
|
+
# eval_criteria_arn: "LeaderboardEvalCriteriaArn", # required
|
|
624
|
+
# prompt_template_arn: "LeaderboardPromptTemplateArn",
|
|
625
|
+
# dimensions: [
|
|
626
|
+
# {
|
|
627
|
+
# key: "LeaderboardCandidateDimensionKey", # required
|
|
628
|
+
# value: "LeaderboardCandidateDimensionValue", # required
|
|
629
|
+
# },
|
|
630
|
+
# ],
|
|
631
|
+
# },
|
|
632
|
+
# },
|
|
633
|
+
# evaluation_results: [ # required
|
|
634
|
+
# {
|
|
635
|
+
# criterion_name: "LeaderboardCriterionName", # required
|
|
636
|
+
# metrics: { # required
|
|
637
|
+
# "LeaderboardMetricName" => 1.0,
|
|
638
|
+
# },
|
|
639
|
+
# producer: "MLFLOW", # accepts MLFLOW, EXTERNAL
|
|
640
|
+
# source_id: "LeaderboardSourceId",
|
|
641
|
+
# source_url: "LeaderboardSourceUrl",
|
|
642
|
+
# references: {
|
|
643
|
+
# "LeaderboardReferenceKey" => "LeaderboardReferenceValue",
|
|
644
|
+
# },
|
|
645
|
+
# recorded_at: Time.now, # required
|
|
646
|
+
# ingested_at: Time.now,
|
|
647
|
+
# },
|
|
648
|
+
# ],
|
|
649
|
+
# client_token: "LeaderboardClientToken",
|
|
650
|
+
# })
|
|
651
|
+
#
|
|
652
|
+
# @example Response structure
|
|
653
|
+
#
|
|
654
|
+
# resp.candidate_id #=> String
|
|
655
|
+
#
|
|
656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddCandidate AWS API Documentation
|
|
657
|
+
#
|
|
658
|
+
# @overload add_candidate(params = {})
|
|
659
|
+
# @param [Hash] params ({})
|
|
660
|
+
def add_candidate(params = {}, options = {})
|
|
661
|
+
req = build_request(:add_candidate, params)
|
|
662
|
+
req.send_request(options)
|
|
663
|
+
end
|
|
664
|
+
|
|
553
665
|
# Adds an in-cluster inference gateway to a global inference gateway.
|
|
554
666
|
# This operation is asynchronous: the in-cluster inference gateway
|
|
555
667
|
# starts in the `ADDING` status. To check its status, call
|
|
@@ -4300,7 +4412,7 @@ module Aws::SageMaker
|
|
|
4300
4412
|
# },
|
|
4301
4413
|
# ],
|
|
4302
4414
|
# studio_web_portal_settings: {
|
|
4303
|
-
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators
|
|
4415
|
+
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators, Optimizer
|
|
4304
4416
|
# hidden_app_types: ["JupyterServer"], # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas
|
|
4305
4417
|
# hidden_instance_types: ["system"], # accepts 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.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.p5en.48xlarge, ml.p6-b200.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, ml.p5.4xlarge, ml.g7.2xlarge, ml.g7.4xlarge, ml.g7.8xlarge, ml.g7.12xlarge, ml.g7.24xlarge, ml.g7.48xlarge, ml.g7e.2xlarge, ml.g7e.4xlarge, ml.g7e.8xlarge, ml.g7e.12xlarge, ml.g7e.24xlarge, ml.g7e.48xlarge
|
|
4306
4418
|
# hidden_sage_maker_image_version_aliases: [
|
|
@@ -5014,6 +5126,10 @@ module Aws::SageMaker
|
|
|
5014
5126
|
# @option params [Types::MetricsConfig] :metrics_config
|
|
5015
5127
|
# The configuration parameters for utilization metrics.
|
|
5016
5128
|
#
|
|
5129
|
+
# @option params [Types::TracingConfig] :tracing_config
|
|
5130
|
+
# The configuration for tracing the inference requests that the endpoint
|
|
5131
|
+
# receives.
|
|
5132
|
+
#
|
|
5017
5133
|
# @option params [Types::CrossRegionTrafficConfig] :cross_region_traffic_config
|
|
5018
5134
|
# The cross-Region traffic cap for the endpoint. The cap limits the
|
|
5019
5135
|
# requests per second that the endpoint accepts from inference routers
|
|
@@ -5230,6 +5346,12 @@ module Aws::SageMaker
|
|
|
5230
5346
|
# enable_detailed_observability: false,
|
|
5231
5347
|
# metric_publish_frequency_in_seconds: 1,
|
|
5232
5348
|
# },
|
|
5349
|
+
# tracing_config: {
|
|
5350
|
+
# enable_tracing: false, # required
|
|
5351
|
+
# initial_sampling_percentage: 1, # required
|
|
5352
|
+
# large_payload_delivery_s3_uri: "DestinationS3Uri",
|
|
5353
|
+
# kms_key_id: "KmsKeyId",
|
|
5354
|
+
# },
|
|
5233
5355
|
# cross_region_traffic_config: {
|
|
5234
5356
|
# max_invocations_per_second_per_instance: 1, # required
|
|
5235
5357
|
# max_cross_region_percent_per_endpoint: 1, # required
|
|
@@ -7389,6 +7511,20 @@ module Aws::SageMaker
|
|
|
7389
7511
|
# : Transform datasets into the format you need, for example for model
|
|
7390
7512
|
# customization.
|
|
7391
7513
|
#
|
|
7514
|
+
# GapAnalysis
|
|
7515
|
+
#
|
|
7516
|
+
# : Run a gap analysis job. Analyze completed model evaluation results
|
|
7517
|
+
# against your evaluation criteria to find the records that fail and
|
|
7518
|
+
# categorize the failures behind model underperformance in your
|
|
7519
|
+
# domain.
|
|
7520
|
+
#
|
|
7521
|
+
# GenAIEvaluation
|
|
7522
|
+
#
|
|
7523
|
+
# : Evaluate models against evaluation criteria, such as large language
|
|
7524
|
+
# model (LLM)-as-a-judge evaluators, or score your own pre-generated
|
|
7525
|
+
# responses. Use this category to check response quality before you
|
|
7526
|
+
# deploy.
|
|
7527
|
+
#
|
|
7392
7528
|
# SyntheticDataGeneration
|
|
7393
7529
|
#
|
|
7394
7530
|
# : Generate synthetic training and testing datasets from your context
|
|
@@ -7453,7 +7589,7 @@ module Aws::SageMaker
|
|
|
7453
7589
|
# resp = client.create_job({
|
|
7454
7590
|
# job_name: "JobName", # required
|
|
7455
7591
|
# role_arn: "RoleArn", # required
|
|
7456
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
7592
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
7457
7593
|
# job_config_schema_version: "JobSchemaVersion", # required
|
|
7458
7594
|
# job_config_document: "JobConfigDocument", # required
|
|
7459
7595
|
# tags: [
|
|
@@ -7784,6 +7920,90 @@ module Aws::SageMaker
|
|
|
7784
7920
|
req.send_request(options)
|
|
7785
7921
|
end
|
|
7786
7922
|
|
|
7923
|
+
# Creates a leaderboard. A leaderboard ranks candidates, such as your
|
|
7924
|
+
# models, by the evaluation metrics that you add to it with
|
|
7925
|
+
# `AddCandidate`.
|
|
7926
|
+
#
|
|
7927
|
+
# The leaderboard name must be unique in your account in the current
|
|
7928
|
+
# Region. If a leaderboard with the same name already exists,
|
|
7929
|
+
# `CreateLeaderboard` returns a `ResourceAlreadyExists` error.
|
|
7930
|
+
#
|
|
7931
|
+
# @option params [required, String] :name
|
|
7932
|
+
# The name of the leaderboard. The name must be unique in your account
|
|
7933
|
+
# in the current Region.
|
|
7934
|
+
#
|
|
7935
|
+
# @option params [required, String] :type
|
|
7936
|
+
# The type of the leaderboard. The type determines what kind of
|
|
7937
|
+
# candidates the leaderboard ranks.
|
|
7938
|
+
#
|
|
7939
|
+
# @option params [String] :description
|
|
7940
|
+
# A description of the leaderboard.
|
|
7941
|
+
#
|
|
7942
|
+
# @option params [Array<Types::LeaderboardRequiredMetric>] :required_metrics
|
|
7943
|
+
# The metrics that you expect each candidate on the leaderboard to
|
|
7944
|
+
# report, grouped by evaluation criterion. SageMaker stores this list
|
|
7945
|
+
# with the leaderboard and returns it in `GetLeaderboard`.
|
|
7946
|
+
# `AddCandidate` doesn't check evaluation metrics against this list.
|
|
7947
|
+
# You can't change the list after you create the leaderboard.
|
|
7948
|
+
#
|
|
7949
|
+
# @option params [String] :client_token
|
|
7950
|
+
# A unique, case-sensitive identifier for the request. If you don't
|
|
7951
|
+
# specify a client token, the Amazon Web Services SDKs and the Amazon
|
|
7952
|
+
# Web Services CLI generate one for you.
|
|
7953
|
+
#
|
|
7954
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
7955
|
+
# not need to pass this option.**
|
|
7956
|
+
#
|
|
7957
|
+
# @option params [Array<Types::Tag>] :tags
|
|
7958
|
+
# Tags to apply to the leaderboard. You can add tags to your leaderboard
|
|
7959
|
+
# in the same way you add them in other Amazon Web Services services
|
|
7960
|
+
# that support tagging. For more information about tagging Amazon Web
|
|
7961
|
+
# Services resources, see [Tagging your Amazon Web Services
|
|
7962
|
+
# resources][1] in the *Tagging Amazon Web Services Resources User
|
|
7963
|
+
# Guide*.
|
|
7964
|
+
#
|
|
7965
|
+
#
|
|
7966
|
+
#
|
|
7967
|
+
# [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/tagging.html
|
|
7968
|
+
#
|
|
7969
|
+
# @return [Types::CreateLeaderboardResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7970
|
+
#
|
|
7971
|
+
# * {Types::CreateLeaderboardResponse#arn #arn} => String
|
|
7972
|
+
#
|
|
7973
|
+
# @example Request syntax with placeholder values
|
|
7974
|
+
#
|
|
7975
|
+
# resp = client.create_leaderboard({
|
|
7976
|
+
# name: "LeaderboardName", # required
|
|
7977
|
+
# type: "CUSTOMER_MODEL", # required, accepts CUSTOMER_MODEL
|
|
7978
|
+
# description: "LeaderboardDescription",
|
|
7979
|
+
# required_metrics: [
|
|
7980
|
+
# {
|
|
7981
|
+
# criterion_name: "LeaderboardCriterionName", # required
|
|
7982
|
+
# metric_names: ["LeaderboardMetricName"], # required
|
|
7983
|
+
# },
|
|
7984
|
+
# ],
|
|
7985
|
+
# client_token: "LeaderboardClientToken",
|
|
7986
|
+
# tags: [
|
|
7987
|
+
# {
|
|
7988
|
+
# key: "TagKey", # required
|
|
7989
|
+
# value: "TagValue", # required
|
|
7990
|
+
# },
|
|
7991
|
+
# ],
|
|
7992
|
+
# })
|
|
7993
|
+
#
|
|
7994
|
+
# @example Response structure
|
|
7995
|
+
#
|
|
7996
|
+
# resp.arn #=> String
|
|
7997
|
+
#
|
|
7998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLeaderboard AWS API Documentation
|
|
7999
|
+
#
|
|
8000
|
+
# @overload create_leaderboard(params = {})
|
|
8001
|
+
# @param [Hash] params ({})
|
|
8002
|
+
def create_leaderboard(params = {}, options = {})
|
|
8003
|
+
req = build_request(:create_leaderboard, params)
|
|
8004
|
+
req.send_request(options)
|
|
8005
|
+
end
|
|
8006
|
+
|
|
7787
8007
|
# Creates an MLflow Tracking Server using a general purpose Amazon S3
|
|
7788
8008
|
# bucket as the artifact store.
|
|
7789
8009
|
#
|
|
@@ -7805,6 +8025,13 @@ module Aws::SageMaker
|
|
|
7805
8025
|
# rest associated with the MLflow App. If you don't specify a value,
|
|
7806
8026
|
# the MLflow App is not encrypted with a customer-managed key.
|
|
7807
8027
|
#
|
|
8028
|
+
# @option params [Types::AccessControlConfiguration] :access_control_configuration
|
|
8029
|
+
# Specifies the fine-grained access control (FGAC) configuration for the
|
|
8030
|
+
# MLflow App, including whether FGAC is enabled and the Platform Admin.
|
|
8031
|
+
# To enable FGAC when you create the app, set `Status` to `ENABLED` and
|
|
8032
|
+
# specify an `AdminPrincipalArn`. If you don't specify this parameter,
|
|
8033
|
+
# the app doesn't use FGAC.
|
|
8034
|
+
#
|
|
7808
8035
|
# @option params [String] :model_registration_mode
|
|
7809
8036
|
# Whether to enable or disable automatic registration of new MLflow
|
|
7810
8037
|
# models to the SageMaker Model Registry. To enable automatic model
|
|
@@ -7842,6 +8069,10 @@ module Aws::SageMaker
|
|
|
7842
8069
|
# artifact_store_uri: "S3Uri", # required
|
|
7843
8070
|
# role_arn: "RoleArn", # required
|
|
7844
8071
|
# kms_key_id: "KmsKeyId",
|
|
8072
|
+
# access_control_configuration: {
|
|
8073
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
8074
|
+
# admin_principal_arn: "RoleArn",
|
|
8075
|
+
# },
|
|
7845
8076
|
# model_registration_mode: "AutoModelRegistrationEnabled", # accepts AutoModelRegistrationEnabled, AutoModelRegistrationDisabled
|
|
7846
8077
|
# weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
|
|
7847
8078
|
# account_default_status: "ENABLED", # accepts ENABLED, DISABLED
|
|
@@ -8658,6 +8889,118 @@ module Aws::SageMaker
|
|
|
8658
8889
|
req.send_request(options)
|
|
8659
8890
|
end
|
|
8660
8891
|
|
|
8892
|
+
# Creates a model monitor configuration.
|
|
8893
|
+
#
|
|
8894
|
+
# The operation runs synchronously and is idempotent. If you retry the
|
|
8895
|
+
# request with the same `ClientToken`, you get the result of the
|
|
8896
|
+
# original request.
|
|
8897
|
+
#
|
|
8898
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
8899
|
+
# and is subject to change. This feature is not recommended for
|
|
8900
|
+
# production environments.
|
|
8901
|
+
#
|
|
8902
|
+
# </note>
|
|
8903
|
+
#
|
|
8904
|
+
# @option params [required, String] :model_monitor_config_name
|
|
8905
|
+
# The name of the model monitor configuration.
|
|
8906
|
+
#
|
|
8907
|
+
# @option params [required, Types::MonitoringSource] :monitoring_source
|
|
8908
|
+
# The source that the model monitor configuration monitors.
|
|
8909
|
+
#
|
|
8910
|
+
# @option params [Types::EvaluationConfig] :evaluation_config
|
|
8911
|
+
# The evaluation monitoring settings. Specify `EvaluationConfig`.
|
|
8912
|
+
#
|
|
8913
|
+
# @option params [required, Types::ModelMonitorScheduleConfig] :schedule_config
|
|
8914
|
+
# The schedule on which the model monitor configuration runs.
|
|
8915
|
+
#
|
|
8916
|
+
# @option params [required, String] :role_arn
|
|
8917
|
+
# The Amazon Resource Name (ARN) of the IAM role that the model monitor
|
|
8918
|
+
# configuration uses.
|
|
8919
|
+
#
|
|
8920
|
+
# @option params [Array<Types::Tag>] :tags
|
|
8921
|
+
# A list of key-value pairs to apply to the model monitor configuration.
|
|
8922
|
+
# For information about tagging, see [Tagging Amazon Web Services
|
|
8923
|
+
# resources][1] in the *Amazon Web Services General Reference*.
|
|
8924
|
+
#
|
|
8925
|
+
#
|
|
8926
|
+
#
|
|
8927
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
8928
|
+
#
|
|
8929
|
+
# @option params [String] :client_token
|
|
8930
|
+
# A unique, case-sensitive identifier that you provide to ensure that
|
|
8931
|
+
# the operation completes no more than one time. If you retry a request
|
|
8932
|
+
# with the same client token, you get the result of the original request
|
|
8933
|
+
# and no error.
|
|
8934
|
+
#
|
|
8935
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
8936
|
+
# not need to pass this option.**
|
|
8937
|
+
#
|
|
8938
|
+
# @return [Types::CreateModelMonitorConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8939
|
+
#
|
|
8940
|
+
# * {Types::CreateModelMonitorConfigResponse#model_monitor_config_arn #model_monitor_config_arn} => String
|
|
8941
|
+
#
|
|
8942
|
+
# @example Request syntax with placeholder values
|
|
8943
|
+
#
|
|
8944
|
+
# resp = client.create_model_monitor_config({
|
|
8945
|
+
# model_monitor_config_name: "ModelMonitorConfigName", # required
|
|
8946
|
+
# monitoring_source: { # required
|
|
8947
|
+
# sage_maker_endpoint: {
|
|
8948
|
+
# endpoint_name: "SageMakerEndpointSourceEndpointNameString", # required
|
|
8949
|
+
# variant_name: "SageMakerEndpointSourceVariantNameString",
|
|
8950
|
+
# },
|
|
8951
|
+
# bedrock_model: {
|
|
8952
|
+
# model_id: "BedrockModelSourceModelIdString", # required
|
|
8953
|
+
# request_metadata: {
|
|
8954
|
+
# "BedrockRequestMetadataKey" => "BedrockRequestMetadataValue",
|
|
8955
|
+
# },
|
|
8956
|
+
# },
|
|
8957
|
+
# },
|
|
8958
|
+
# evaluation_config: {
|
|
8959
|
+
# eval_criteria: {
|
|
8960
|
+
# eval_criteria_arn: "EvalCriteriaConfigEvalCriteriaArnString", # required
|
|
8961
|
+
# eval_criteria_version: "EvalCriteriaConfigEvalCriteriaVersionString",
|
|
8962
|
+
# sampling: { # required
|
|
8963
|
+
# sampling_percentage: 1.0, # required
|
|
8964
|
+
# max_records: 1,
|
|
8965
|
+
# },
|
|
8966
|
+
# },
|
|
8967
|
+
# eval_criteria_list: [
|
|
8968
|
+
# {
|
|
8969
|
+
# eval_criteria_arn: "EvalCriteriaConfigEvalCriteriaArnString", # required
|
|
8970
|
+
# eval_criteria_version: "EvalCriteriaConfigEvalCriteriaVersionString",
|
|
8971
|
+
# sampling: { # required
|
|
8972
|
+
# sampling_percentage: 1.0, # required
|
|
8973
|
+
# max_records: 1,
|
|
8974
|
+
# },
|
|
8975
|
+
# },
|
|
8976
|
+
# ],
|
|
8977
|
+
# },
|
|
8978
|
+
# schedule_config: { # required
|
|
8979
|
+
# schedule_expression: "ModelMonitorScheduleConfigScheduleExpressionString", # required
|
|
8980
|
+
# },
|
|
8981
|
+
# role_arn: "RoleArn", # required
|
|
8982
|
+
# tags: [
|
|
8983
|
+
# {
|
|
8984
|
+
# key: "TagKey", # required
|
|
8985
|
+
# value: "TagValue", # required
|
|
8986
|
+
# },
|
|
8987
|
+
# ],
|
|
8988
|
+
# client_token: "ModelMonitorClientToken",
|
|
8989
|
+
# })
|
|
8990
|
+
#
|
|
8991
|
+
# @example Response structure
|
|
8992
|
+
#
|
|
8993
|
+
# resp.model_monitor_config_arn #=> String
|
|
8994
|
+
#
|
|
8995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelMonitorConfig AWS API Documentation
|
|
8996
|
+
#
|
|
8997
|
+
# @overload create_model_monitor_config(params = {})
|
|
8998
|
+
# @param [Hash] params ({})
|
|
8999
|
+
def create_model_monitor_config(params = {}, options = {})
|
|
9000
|
+
req = build_request(:create_model_monitor_config, params)
|
|
9001
|
+
req.send_request(options)
|
|
9002
|
+
end
|
|
9003
|
+
|
|
8661
9004
|
# Creates a model package that you can use to create SageMaker models or
|
|
8662
9005
|
# list on Amazon Web Services Marketplace, or a versioned model that is
|
|
8663
9006
|
# part of a model group. Buyers can subscribe to model packages listed
|
|
@@ -10833,9 +11176,20 @@ module Aws::SageMaker
|
|
|
10833
11176
|
req.send_request(options)
|
|
10834
11177
|
end
|
|
10835
11178
|
|
|
10836
|
-
# Creates a machine learning (ML) project
|
|
10837
|
-
#
|
|
10838
|
-
#
|
|
11179
|
+
# Creates a machine learning (ML) project. You can create the following
|
|
11180
|
+
# types of projects:
|
|
11181
|
+
#
|
|
11182
|
+
# * `CLASSIC` - A project that contains one or more templates that set
|
|
11183
|
+
# up an ML pipeline from training to deploying an approved model. To
|
|
11184
|
+
# create a `CLASSIC` project, specify
|
|
11185
|
+
# `ServiceCatalogProvisioningDetails` or `TemplateProviders`.
|
|
11186
|
+
#
|
|
11187
|
+
# * `STANDARD` - A project that SageMaker sets up with an Amazon Web
|
|
11188
|
+
# Services CodeCommit repository and a leaderboard. To create a
|
|
11189
|
+
# `STANDARD` project, specify `ProjectConfig`.
|
|
11190
|
+
#
|
|
11191
|
+
# `STANDARD` projects are available only in the US East (N. Virginia)
|
|
11192
|
+
# and US West (Oregon) Regions.
|
|
10839
11193
|
#
|
|
10840
11194
|
# @option params [required, String] :project_name
|
|
10841
11195
|
# The name of the project.
|
|
@@ -10868,6 +11222,11 @@ module Aws::SageMaker
|
|
|
10868
11222
|
# An array of template provider configurations for creating
|
|
10869
11223
|
# infrastructure resources for the project.
|
|
10870
11224
|
#
|
|
11225
|
+
# @option params [Types::ProjectConfig] :project_config
|
|
11226
|
+
# The configuration for a `STANDARD` project. Specify this to create a
|
|
11227
|
+
# `STANDARD` project. You can't specify `ProjectConfig` together with
|
|
11228
|
+
# `ServiceCatalogProvisioningDetails` or `TemplateProviders`.
|
|
11229
|
+
#
|
|
10871
11230
|
# @return [Types::CreateProjectOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10872
11231
|
#
|
|
10873
11232
|
# * {Types::CreateProjectOutput#project_arn #project_arn} => String
|
|
@@ -10910,6 +11269,14 @@ module Aws::SageMaker
|
|
|
10910
11269
|
# },
|
|
10911
11270
|
# },
|
|
10912
11271
|
# ],
|
|
11272
|
+
# project_config: {
|
|
11273
|
+
# repository_config: {
|
|
11274
|
+
# code_commit_config: {
|
|
11275
|
+
# repository_name: "CodeCommitRepositoryName", # required
|
|
11276
|
+
# },
|
|
11277
|
+
# },
|
|
11278
|
+
# leaderboard_arn: "LeaderboardArn",
|
|
11279
|
+
# },
|
|
10913
11280
|
# })
|
|
10914
11281
|
#
|
|
10915
11282
|
# @example Response structure
|
|
@@ -12584,7 +12951,7 @@ module Aws::SageMaker
|
|
|
12584
12951
|
# },
|
|
12585
12952
|
# ],
|
|
12586
12953
|
# studio_web_portal_settings: {
|
|
12587
|
-
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators
|
|
12954
|
+
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators, Optimizer
|
|
12588
12955
|
# hidden_app_types: ["JupyterServer"], # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas
|
|
12589
12956
|
# hidden_instance_types: ["system"], # accepts 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.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.p5en.48xlarge, ml.p6-b200.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, ml.p5.4xlarge, ml.g7.2xlarge, ml.g7.4xlarge, ml.g7.8xlarge, ml.g7.12xlarge, ml.g7.24xlarge, ml.g7.48xlarge, ml.g7e.2xlarge, ml.g7e.4xlarge, ml.g7e.8xlarge, ml.g7e.12xlarge, ml.g7e.24xlarge, ml.g7e.48xlarge
|
|
12590
12957
|
# hidden_sage_maker_image_version_aliases: [
|
|
@@ -13126,6 +13493,34 @@ module Aws::SageMaker
|
|
|
13126
13493
|
req.send_request(options)
|
|
13127
13494
|
end
|
|
13128
13495
|
|
|
13496
|
+
# Deletes a candidate and all of its evaluation metrics from a
|
|
13497
|
+
# leaderboard.
|
|
13498
|
+
#
|
|
13499
|
+
# @option params [required, String] :leaderboard_arn
|
|
13500
|
+
# The Amazon Resource Name (ARN) of the leaderboard that the candidate
|
|
13501
|
+
# belongs to.
|
|
13502
|
+
#
|
|
13503
|
+
# @option params [required, String] :candidate_id
|
|
13504
|
+
# The ID of the candidate to delete.
|
|
13505
|
+
#
|
|
13506
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
13507
|
+
#
|
|
13508
|
+
# @example Request syntax with placeholder values
|
|
13509
|
+
#
|
|
13510
|
+
# resp = client.delete_candidate({
|
|
13511
|
+
# leaderboard_arn: "LeaderboardArn", # required
|
|
13512
|
+
# candidate_id: "LeaderboardCandidateId", # required
|
|
13513
|
+
# })
|
|
13514
|
+
#
|
|
13515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCandidate AWS API Documentation
|
|
13516
|
+
#
|
|
13517
|
+
# @overload delete_candidate(params = {})
|
|
13518
|
+
# @param [Hash] params ({})
|
|
13519
|
+
def delete_candidate(params = {}, options = {})
|
|
13520
|
+
req = build_request(:delete_candidate, params)
|
|
13521
|
+
req.send_request(options)
|
|
13522
|
+
end
|
|
13523
|
+
|
|
13129
13524
|
# Delete a SageMaker HyperPod cluster.
|
|
13130
13525
|
#
|
|
13131
13526
|
# @option params [required, String] :cluster_name
|
|
@@ -13989,7 +14384,7 @@ module Aws::SageMaker
|
|
|
13989
14384
|
#
|
|
13990
14385
|
# resp = client.delete_job({
|
|
13991
14386
|
# job_name: "JobName", # required
|
|
13992
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
14387
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
13993
14388
|
# })
|
|
13994
14389
|
#
|
|
13995
14390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteJob AWS API Documentation
|
|
@@ -14001,6 +14396,32 @@ module Aws::SageMaker
|
|
|
14001
14396
|
req.send_request(options)
|
|
14002
14397
|
end
|
|
14003
14398
|
|
|
14399
|
+
# Deletes a leaderboard and its tags.
|
|
14400
|
+
#
|
|
14401
|
+
# You can't delete a leaderboard that has candidates. Delete its
|
|
14402
|
+
# candidates first with `DeleteCandidate`. If the leaderboard still has
|
|
14403
|
+
# candidates, `DeleteLeaderboard` returns a `ConflictException` error.
|
|
14404
|
+
#
|
|
14405
|
+
# @option params [required, String] :arn
|
|
14406
|
+
# The Amazon Resource Name (ARN) of the leaderboard to delete.
|
|
14407
|
+
#
|
|
14408
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
14409
|
+
#
|
|
14410
|
+
# @example Request syntax with placeholder values
|
|
14411
|
+
#
|
|
14412
|
+
# resp = client.delete_leaderboard({
|
|
14413
|
+
# arn: "LeaderboardArn", # required
|
|
14414
|
+
# })
|
|
14415
|
+
#
|
|
14416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteLeaderboard AWS API Documentation
|
|
14417
|
+
#
|
|
14418
|
+
# @overload delete_leaderboard(params = {})
|
|
14419
|
+
# @param [Hash] params ({})
|
|
14420
|
+
def delete_leaderboard(params = {}, options = {})
|
|
14421
|
+
req = build_request(:delete_leaderboard, params)
|
|
14422
|
+
req.send_request(options)
|
|
14423
|
+
end
|
|
14424
|
+
|
|
14004
14425
|
# Deletes an MLflow App.
|
|
14005
14426
|
#
|
|
14006
14427
|
# @option params [required, String] :arn
|
|
@@ -14153,6 +14574,43 @@ module Aws::SageMaker
|
|
|
14153
14574
|
req.send_request(options)
|
|
14154
14575
|
end
|
|
14155
14576
|
|
|
14577
|
+
# Deletes a model monitor configuration. You identify the configuration
|
|
14578
|
+
# by its name or Amazon Resource Name (ARN). Deletion is asynchronous:
|
|
14579
|
+
# the status of the configuration changes to `Deleting`, and SageMaker
|
|
14580
|
+
# AI removes the configuration when deletion completes. The response is
|
|
14581
|
+
# empty.
|
|
14582
|
+
#
|
|
14583
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
14584
|
+
# and is subject to change. This feature is not recommended for
|
|
14585
|
+
# production environments.
|
|
14586
|
+
#
|
|
14587
|
+
# </note>
|
|
14588
|
+
#
|
|
14589
|
+
# @option params [required, String] :model_monitor_config_name_or_arn
|
|
14590
|
+
# The name or Amazon Resource Name (ARN) of the model monitor
|
|
14591
|
+
# configuration. Specify one of the following:
|
|
14592
|
+
#
|
|
14593
|
+
# * The name of the model monitor configuration.
|
|
14594
|
+
#
|
|
14595
|
+
# * The Amazon Resource Name (ARN) of the model monitor configuration.
|
|
14596
|
+
#
|
|
14597
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
14598
|
+
#
|
|
14599
|
+
# @example Request syntax with placeholder values
|
|
14600
|
+
#
|
|
14601
|
+
# resp = client.delete_model_monitor_config({
|
|
14602
|
+
# model_monitor_config_name_or_arn: "ModelMonitorConfigNameOrArn", # required
|
|
14603
|
+
# })
|
|
14604
|
+
#
|
|
14605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelMonitorConfig AWS API Documentation
|
|
14606
|
+
#
|
|
14607
|
+
# @overload delete_model_monitor_config(params = {})
|
|
14608
|
+
# @param [Hash] params ({})
|
|
14609
|
+
def delete_model_monitor_config(params = {}, options = {})
|
|
14610
|
+
req = build_request(:delete_model_monitor_config, params)
|
|
14611
|
+
req.send_request(options)
|
|
14612
|
+
end
|
|
14613
|
+
|
|
14156
14614
|
# Deletes a model package.
|
|
14157
14615
|
#
|
|
14158
14616
|
# A model package is used to create SageMaker models or list on Amazon
|
|
@@ -17083,7 +17541,7 @@ module Aws::SageMaker
|
|
|
17083
17541
|
# resp.default_user_settings.custom_file_system_configs[0].s3_file_system_config.mount_path #=> String
|
|
17084
17542
|
# resp.default_user_settings.custom_file_system_configs[0].s3_file_system_config.s3_uri #=> String
|
|
17085
17543
|
# resp.default_user_settings.studio_web_portal_settings.hidden_ml_tools #=> Array
|
|
17086
|
-
# resp.default_user_settings.studio_web_portal_settings.hidden_ml_tools[0] #=> String, one of "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters", "RunningInstances", "Datasets", "Evaluators"
|
|
17544
|
+
# resp.default_user_settings.studio_web_portal_settings.hidden_ml_tools[0] #=> String, one of "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters", "RunningInstances", "Datasets", "Evaluators", "Optimizer"
|
|
17087
17545
|
# resp.default_user_settings.studio_web_portal_settings.hidden_app_types #=> Array
|
|
17088
17546
|
# resp.default_user_settings.studio_web_portal_settings.hidden_app_types[0] #=> String, one of "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas"
|
|
17089
17547
|
# resp.default_user_settings.studio_web_portal_settings.hidden_instance_types #=> Array
|
|
@@ -17357,6 +17815,7 @@ module Aws::SageMaker
|
|
|
17357
17815
|
# * {Types::DescribeEndpointOutput#explainer_config #explainer_config} => Types::ExplainerConfig
|
|
17358
17816
|
# * {Types::DescribeEndpointOutput#shadow_production_variants #shadow_production_variants} => Array<Types::ProductionVariantSummary>
|
|
17359
17817
|
# * {Types::DescribeEndpointOutput#metrics_config #metrics_config} => Types::MetricsConfig
|
|
17818
|
+
# * {Types::DescribeEndpointOutput#tracing_config #tracing_config} => Types::TracingConfig
|
|
17360
17819
|
# * {Types::DescribeEndpointOutput#cross_region_traffic_config #cross_region_traffic_config} => Types::CrossRegionTrafficConfig
|
|
17361
17820
|
#
|
|
17362
17821
|
# @example Request syntax with placeholder values
|
|
@@ -17595,6 +18054,10 @@ module Aws::SageMaker
|
|
|
17595
18054
|
# resp.metrics_config.enable_enhanced_metrics #=> Boolean
|
|
17596
18055
|
# resp.metrics_config.enable_detailed_observability #=> Boolean
|
|
17597
18056
|
# resp.metrics_config.metric_publish_frequency_in_seconds #=> Integer
|
|
18057
|
+
# resp.tracing_config.enable_tracing #=> Boolean
|
|
18058
|
+
# resp.tracing_config.initial_sampling_percentage #=> Integer
|
|
18059
|
+
# resp.tracing_config.large_payload_delivery_s3_uri #=> String
|
|
18060
|
+
# resp.tracing_config.kms_key_id #=> String
|
|
17598
18061
|
# resp.cross_region_traffic_config.max_invocations_per_second_per_instance #=> Integer
|
|
17599
18062
|
# resp.cross_region_traffic_config.max_cross_region_percent_per_endpoint #=> Integer
|
|
17600
18063
|
#
|
|
@@ -17634,6 +18097,7 @@ module Aws::SageMaker
|
|
|
17634
18097
|
# * {Types::DescribeEndpointConfigOutput#vpc_config #vpc_config} => Types::VpcConfig
|
|
17635
18098
|
# * {Types::DescribeEndpointConfigOutput#enable_network_isolation #enable_network_isolation} => Boolean
|
|
17636
18099
|
# * {Types::DescribeEndpointConfigOutput#metrics_config #metrics_config} => Types::MetricsConfig
|
|
18100
|
+
# * {Types::DescribeEndpointConfigOutput#tracing_config #tracing_config} => Types::TracingConfig
|
|
17637
18101
|
# * {Types::DescribeEndpointConfigOutput#cross_region_traffic_config #cross_region_traffic_config} => Types::CrossRegionTrafficConfig
|
|
17638
18102
|
#
|
|
17639
18103
|
# @example Request syntax with placeholder values
|
|
@@ -17770,6 +18234,10 @@ module Aws::SageMaker
|
|
|
17770
18234
|
# resp.metrics_config.enable_enhanced_metrics #=> Boolean
|
|
17771
18235
|
# resp.metrics_config.enable_detailed_observability #=> Boolean
|
|
17772
18236
|
# resp.metrics_config.metric_publish_frequency_in_seconds #=> Integer
|
|
18237
|
+
# resp.tracing_config.enable_tracing #=> Boolean
|
|
18238
|
+
# resp.tracing_config.initial_sampling_percentage #=> Integer
|
|
18239
|
+
# resp.tracing_config.large_payload_delivery_s3_uri #=> String
|
|
18240
|
+
# resp.tracing_config.kms_key_id #=> String
|
|
17773
18241
|
# resp.cross_region_traffic_config.max_invocations_per_second_per_instance #=> Integer
|
|
17774
18242
|
# resp.cross_region_traffic_config.max_cross_region_percent_per_endpoint #=> Integer
|
|
17775
18243
|
#
|
|
@@ -19148,7 +19616,7 @@ module Aws::SageMaker
|
|
|
19148
19616
|
#
|
|
19149
19617
|
# resp = client.describe_job({
|
|
19150
19618
|
# job_name: "JobName", # required
|
|
19151
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
19619
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
19152
19620
|
# })
|
|
19153
19621
|
#
|
|
19154
19622
|
# @example Response structure
|
|
@@ -19156,7 +19624,7 @@ module Aws::SageMaker
|
|
|
19156
19624
|
# resp.job_name #=> String
|
|
19157
19625
|
# resp.job_arn #=> String
|
|
19158
19626
|
# resp.role_arn #=> String
|
|
19159
|
-
# resp.job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "DataTransformation"
|
|
19627
|
+
# resp.job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "GenAIEvaluation", "GapAnalysis", "DataTransformation"
|
|
19160
19628
|
# resp.job_config_schema_version #=> String
|
|
19161
19629
|
# resp.job_config_document #=> String
|
|
19162
19630
|
# resp.creation_time #=> Time
|
|
@@ -19211,13 +19679,13 @@ module Aws::SageMaker
|
|
|
19211
19679
|
# @example Request syntax with placeholder values
|
|
19212
19680
|
#
|
|
19213
19681
|
# resp = client.describe_job_schema_version({
|
|
19214
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
19682
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
19215
19683
|
# job_config_schema_version: "JobSchemaVersion",
|
|
19216
19684
|
# })
|
|
19217
19685
|
#
|
|
19218
19686
|
# @example Response structure
|
|
19219
19687
|
#
|
|
19220
|
-
# resp.job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "DataTransformation"
|
|
19688
|
+
# resp.job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "GenAIEvaluation", "GapAnalysis", "DataTransformation"
|
|
19221
19689
|
# resp.job_config_schema_version #=> String
|
|
19222
19690
|
# resp.job_config_schema #=> String
|
|
19223
19691
|
#
|
|
@@ -19397,6 +19865,7 @@ module Aws::SageMaker
|
|
|
19397
19865
|
# * {Types::DescribeMlflowAppResponse#mlflow_version #mlflow_version} => String
|
|
19398
19866
|
# * {Types::DescribeMlflowAppResponse#role_arn #role_arn} => String
|
|
19399
19867
|
# * {Types::DescribeMlflowAppResponse#kms_key_id #kms_key_id} => String
|
|
19868
|
+
# * {Types::DescribeMlflowAppResponse#access_control_configuration #access_control_configuration} => Types::AccessControlConfiguration
|
|
19400
19869
|
# * {Types::DescribeMlflowAppResponse#status #status} => String
|
|
19401
19870
|
# * {Types::DescribeMlflowAppResponse#model_registration_mode #model_registration_mode} => String
|
|
19402
19871
|
# * {Types::DescribeMlflowAppResponse#account_default_status #account_default_status} => String
|
|
@@ -19422,6 +19891,8 @@ module Aws::SageMaker
|
|
|
19422
19891
|
# resp.mlflow_version #=> String
|
|
19423
19892
|
# resp.role_arn #=> String
|
|
19424
19893
|
# resp.kms_key_id #=> String
|
|
19894
|
+
# resp.access_control_configuration.status #=> String, one of "ENABLED", "DISABLED"
|
|
19895
|
+
# resp.access_control_configuration.admin_principal_arn #=> String
|
|
19425
19896
|
# resp.status #=> String, one of "Creating", "Created", "CreateFailed", "Updating", "Updated", "UpdateFailed", "Deleting", "DeleteFailed", "Deleted"
|
|
19426
19897
|
# resp.model_registration_mode #=> String, one of "AutoModelRegistrationEnabled", "AutoModelRegistrationDisabled"
|
|
19427
19898
|
# resp.account_default_status #=> String, one of "ENABLED", "DISABLED"
|
|
@@ -21182,6 +21653,8 @@ module Aws::SageMaker
|
|
|
21182
21653
|
# * {Types::DescribeProjectOutput#creation_time #creation_time} => Time
|
|
21183
21654
|
# * {Types::DescribeProjectOutput#last_modified_time #last_modified_time} => Time
|
|
21184
21655
|
# * {Types::DescribeProjectOutput#last_modified_by #last_modified_by} => Types::UserContext
|
|
21656
|
+
# * {Types::DescribeProjectOutput#project_type #project_type} => String
|
|
21657
|
+
# * {Types::DescribeProjectOutput#project_config_details #project_config_details} => Types::ProjectConfigDetails
|
|
21185
21658
|
#
|
|
21186
21659
|
# @example Request syntax with placeholder values
|
|
21187
21660
|
#
|
|
@@ -21228,6 +21701,11 @@ module Aws::SageMaker
|
|
|
21228
21701
|
# resp.last_modified_by.iam_identity.arn #=> String
|
|
21229
21702
|
# resp.last_modified_by.iam_identity.principal_id #=> String
|
|
21230
21703
|
# resp.last_modified_by.iam_identity.source_identity #=> String
|
|
21704
|
+
# resp.project_type #=> String, one of "CLASSIC", "STANDARD"
|
|
21705
|
+
# resp.project_config_details.repository_config.code_commit_config.repository_name #=> String
|
|
21706
|
+
# resp.project_config_details.repository_url #=> String
|
|
21707
|
+
# resp.project_config_details.leaderboard_arn #=> String
|
|
21708
|
+
# resp.project_config_details.status_message #=> String
|
|
21231
21709
|
#
|
|
21232
21710
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject AWS API Documentation
|
|
21233
21711
|
#
|
|
@@ -22392,7 +22870,7 @@ module Aws::SageMaker
|
|
|
22392
22870
|
# resp.user_settings.custom_file_system_configs[0].s3_file_system_config.mount_path #=> String
|
|
22393
22871
|
# resp.user_settings.custom_file_system_configs[0].s3_file_system_config.s3_uri #=> String
|
|
22394
22872
|
# resp.user_settings.studio_web_portal_settings.hidden_ml_tools #=> Array
|
|
22395
|
-
# resp.user_settings.studio_web_portal_settings.hidden_ml_tools[0] #=> String, one of "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters", "RunningInstances", "Datasets", "Evaluators"
|
|
22873
|
+
# resp.user_settings.studio_web_portal_settings.hidden_ml_tools[0] #=> String, one of "DataWrangler", "FeatureStore", "EmrClusters", "AutoMl", "Experiments", "Training", "ModelEvaluation", "Pipelines", "Models", "JumpStart", "InferenceRecommender", "Endpoints", "Projects", "InferenceOptimization", "PerformanceEvaluation", "LakeraGuard", "Comet", "DeepchecksLLMEvaluation", "Fiddler", "HyperPodClusters", "RunningInstances", "Datasets", "Evaluators", "Optimizer"
|
|
22396
22874
|
# resp.user_settings.studio_web_portal_settings.hidden_app_types #=> Array
|
|
22397
22875
|
# resp.user_settings.studio_web_portal_settings.hidden_app_types[0] #=> String, one of "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas"
|
|
22398
22876
|
# resp.user_settings.studio_web_portal_settings.hidden_instance_types #=> Array
|
|
@@ -22708,6 +23186,71 @@ module Aws::SageMaker
|
|
|
22708
23186
|
req.send_request(options)
|
|
22709
23187
|
end
|
|
22710
23188
|
|
|
23189
|
+
# Returns information about a candidate on a leaderboard, including all
|
|
23190
|
+
# of its evaluation metrics.
|
|
23191
|
+
#
|
|
23192
|
+
# @option params [required, String] :leaderboard_arn
|
|
23193
|
+
# The Amazon Resource Name (ARN) of the leaderboard that the candidate
|
|
23194
|
+
# belongs to.
|
|
23195
|
+
#
|
|
23196
|
+
# @option params [required, String] :candidate_id
|
|
23197
|
+
# The ID of the candidate.
|
|
23198
|
+
#
|
|
23199
|
+
# @return [Types::GetCandidateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
23200
|
+
#
|
|
23201
|
+
# * {Types::GetCandidateResponse#candidate_id #candidate_id} => String
|
|
23202
|
+
# * {Types::GetCandidateResponse#leaderboard_arn #leaderboard_arn} => String
|
|
23203
|
+
# * {Types::GetCandidateResponse#display_name #display_name} => String
|
|
23204
|
+
# * {Types::GetCandidateResponse#labels #labels} => Hash<String,String>
|
|
23205
|
+
# * {Types::GetCandidateResponse#candidate_config #candidate_config} => Types::LeaderboardCandidateConfig
|
|
23206
|
+
# * {Types::GetCandidateResponse#evaluation_results #evaluation_results} => Array<Types::LeaderboardEvaluationResult>
|
|
23207
|
+
# * {Types::GetCandidateResponse#creation_time #creation_time} => Time
|
|
23208
|
+
# * {Types::GetCandidateResponse#last_modified_time #last_modified_time} => Time
|
|
23209
|
+
#
|
|
23210
|
+
# @example Request syntax with placeholder values
|
|
23211
|
+
#
|
|
23212
|
+
# resp = client.get_candidate({
|
|
23213
|
+
# leaderboard_arn: "LeaderboardArn", # required
|
|
23214
|
+
# candidate_id: "LeaderboardCandidateId", # required
|
|
23215
|
+
# })
|
|
23216
|
+
#
|
|
23217
|
+
# @example Response structure
|
|
23218
|
+
#
|
|
23219
|
+
# resp.candidate_id #=> String
|
|
23220
|
+
# resp.leaderboard_arn #=> String
|
|
23221
|
+
# resp.display_name #=> String
|
|
23222
|
+
# resp.labels #=> Hash
|
|
23223
|
+
# resp.labels["LeaderboardLabelKey"] #=> String
|
|
23224
|
+
# resp.candidate_config.customer_model_config.model_ref #=> String
|
|
23225
|
+
# resp.candidate_config.customer_model_config.dataset_arn #=> String
|
|
23226
|
+
# resp.candidate_config.customer_model_config.eval_criteria_arn #=> String
|
|
23227
|
+
# resp.candidate_config.customer_model_config.prompt_template_arn #=> String
|
|
23228
|
+
# resp.candidate_config.customer_model_config.dimensions #=> Array
|
|
23229
|
+
# resp.candidate_config.customer_model_config.dimensions[0].key #=> String
|
|
23230
|
+
# resp.candidate_config.customer_model_config.dimensions[0].value #=> String
|
|
23231
|
+
# resp.evaluation_results #=> Array
|
|
23232
|
+
# resp.evaluation_results[0].criterion_name #=> String
|
|
23233
|
+
# resp.evaluation_results[0].metrics #=> Hash
|
|
23234
|
+
# resp.evaluation_results[0].metrics["LeaderboardMetricName"] #=> Float
|
|
23235
|
+
# resp.evaluation_results[0].producer #=> String, one of "MLFLOW", "EXTERNAL"
|
|
23236
|
+
# resp.evaluation_results[0].source_id #=> String
|
|
23237
|
+
# resp.evaluation_results[0].source_url #=> String
|
|
23238
|
+
# resp.evaluation_results[0].references #=> Hash
|
|
23239
|
+
# resp.evaluation_results[0].references["LeaderboardReferenceKey"] #=> String
|
|
23240
|
+
# resp.evaluation_results[0].recorded_at #=> Time
|
|
23241
|
+
# resp.evaluation_results[0].ingested_at #=> Time
|
|
23242
|
+
# resp.creation_time #=> Time
|
|
23243
|
+
# resp.last_modified_time #=> Time
|
|
23244
|
+
#
|
|
23245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetCandidate AWS API Documentation
|
|
23246
|
+
#
|
|
23247
|
+
# @overload get_candidate(params = {})
|
|
23248
|
+
# @param [Hash] params ({})
|
|
23249
|
+
def get_candidate(params = {}, options = {})
|
|
23250
|
+
req = build_request(:get_candidate, params)
|
|
23251
|
+
req.send_request(options)
|
|
23252
|
+
end
|
|
23253
|
+
|
|
22711
23254
|
# Returns the number of instances in use from a SageMaker Capacity
|
|
22712
23255
|
# Reservation, for each account that uses them.
|
|
22713
23256
|
#
|
|
@@ -22858,6 +23401,51 @@ module Aws::SageMaker
|
|
|
22858
23401
|
req.send_request(options)
|
|
22859
23402
|
end
|
|
22860
23403
|
|
|
23404
|
+
# Returns information about a leaderboard.
|
|
23405
|
+
#
|
|
23406
|
+
# @option params [required, String] :arn
|
|
23407
|
+
# The Amazon Resource Name (ARN) of the leaderboard.
|
|
23408
|
+
#
|
|
23409
|
+
# @return [Types::GetLeaderboardResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
23410
|
+
#
|
|
23411
|
+
# * {Types::GetLeaderboardResponse#arn #arn} => String
|
|
23412
|
+
# * {Types::GetLeaderboardResponse#name #name} => String
|
|
23413
|
+
# * {Types::GetLeaderboardResponse#type #type} => String
|
|
23414
|
+
# * {Types::GetLeaderboardResponse#description #description} => String
|
|
23415
|
+
# * {Types::GetLeaderboardResponse#required_metrics #required_metrics} => Array<Types::LeaderboardRequiredMetric>
|
|
23416
|
+
# * {Types::GetLeaderboardResponse#tags #tags} => Array<Types::Tag>
|
|
23417
|
+
# * {Types::GetLeaderboardResponse#creation_time #creation_time} => Time
|
|
23418
|
+
#
|
|
23419
|
+
# @example Request syntax with placeholder values
|
|
23420
|
+
#
|
|
23421
|
+
# resp = client.get_leaderboard({
|
|
23422
|
+
# arn: "LeaderboardArn", # required
|
|
23423
|
+
# })
|
|
23424
|
+
#
|
|
23425
|
+
# @example Response structure
|
|
23426
|
+
#
|
|
23427
|
+
# resp.arn #=> String
|
|
23428
|
+
# resp.name #=> String
|
|
23429
|
+
# resp.type #=> String, one of "CUSTOMER_MODEL"
|
|
23430
|
+
# resp.description #=> String
|
|
23431
|
+
# resp.required_metrics #=> Array
|
|
23432
|
+
# resp.required_metrics[0].criterion_name #=> String
|
|
23433
|
+
# resp.required_metrics[0].metric_names #=> Array
|
|
23434
|
+
# resp.required_metrics[0].metric_names[0] #=> String
|
|
23435
|
+
# resp.tags #=> Array
|
|
23436
|
+
# resp.tags[0].key #=> String
|
|
23437
|
+
# resp.tags[0].value #=> String
|
|
23438
|
+
# resp.creation_time #=> Time
|
|
23439
|
+
#
|
|
23440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetLeaderboard AWS API Documentation
|
|
23441
|
+
#
|
|
23442
|
+
# @overload get_leaderboard(params = {})
|
|
23443
|
+
# @param [Hash] params ({})
|
|
23444
|
+
def get_leaderboard(params = {}, options = {})
|
|
23445
|
+
req = build_request(:get_leaderboard, params)
|
|
23446
|
+
req.send_request(options)
|
|
23447
|
+
end
|
|
23448
|
+
|
|
22861
23449
|
# The resource policy for the lineage group.
|
|
22862
23450
|
#
|
|
22863
23451
|
# @option params [required, String] :lineage_group_name
|
|
@@ -22888,6 +23476,161 @@ module Aws::SageMaker
|
|
|
22888
23476
|
req.send_request(options)
|
|
22889
23477
|
end
|
|
22890
23478
|
|
|
23479
|
+
# Returns information about a model monitor configuration. You identify
|
|
23480
|
+
# the configuration by its name or Amazon Resource Name (ARN).
|
|
23481
|
+
#
|
|
23482
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
23483
|
+
# and is subject to change. This feature is not recommended for
|
|
23484
|
+
# production environments.
|
|
23485
|
+
#
|
|
23486
|
+
# </note>
|
|
23487
|
+
#
|
|
23488
|
+
# @option params [required, String] :model_monitor_config_name_or_arn
|
|
23489
|
+
# The name or Amazon Resource Name (ARN) of the model monitor
|
|
23490
|
+
# configuration. Specify one of the following:
|
|
23491
|
+
#
|
|
23492
|
+
# * The name of the model monitor configuration.
|
|
23493
|
+
#
|
|
23494
|
+
# * The Amazon Resource Name (ARN) of the model monitor configuration.
|
|
23495
|
+
#
|
|
23496
|
+
# @return [Types::GetModelMonitorConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
23497
|
+
#
|
|
23498
|
+
# * {Types::GetModelMonitorConfigResponse#model_monitor_config_arn #model_monitor_config_arn} => String
|
|
23499
|
+
# * {Types::GetModelMonitorConfigResponse#model_monitor_config_name #model_monitor_config_name} => String
|
|
23500
|
+
# * {Types::GetModelMonitorConfigResponse#monitoring_source #monitoring_source} => Types::MonitoringSource
|
|
23501
|
+
# * {Types::GetModelMonitorConfigResponse#evaluation_config #evaluation_config} => Types::EvaluationConfig
|
|
23502
|
+
# * {Types::GetModelMonitorConfigResponse#schedule_config #schedule_config} => Types::ModelMonitorScheduleConfig
|
|
23503
|
+
# * {Types::GetModelMonitorConfigResponse#status #status} => String
|
|
23504
|
+
# * {Types::GetModelMonitorConfigResponse#status_reason #status_reason} => String
|
|
23505
|
+
# * {Types::GetModelMonitorConfigResponse#version #version} => Integer
|
|
23506
|
+
# * {Types::GetModelMonitorConfigResponse#role_arn #role_arn} => String
|
|
23507
|
+
# * {Types::GetModelMonitorConfigResponse#created_at #created_at} => Time
|
|
23508
|
+
# * {Types::GetModelMonitorConfigResponse#updated_at #updated_at} => Time
|
|
23509
|
+
#
|
|
23510
|
+
# @example Request syntax with placeholder values
|
|
23511
|
+
#
|
|
23512
|
+
# resp = client.get_model_monitor_config({
|
|
23513
|
+
# model_monitor_config_name_or_arn: "ModelMonitorConfigNameOrArn", # required
|
|
23514
|
+
# })
|
|
23515
|
+
#
|
|
23516
|
+
# @example Response structure
|
|
23517
|
+
#
|
|
23518
|
+
# resp.model_monitor_config_arn #=> String
|
|
23519
|
+
# resp.model_monitor_config_name #=> String
|
|
23520
|
+
# resp.monitoring_source.sage_maker_endpoint.endpoint_name #=> String
|
|
23521
|
+
# resp.monitoring_source.sage_maker_endpoint.variant_name #=> String
|
|
23522
|
+
# resp.monitoring_source.bedrock_model.model_id #=> String
|
|
23523
|
+
# resp.monitoring_source.bedrock_model.request_metadata #=> Hash
|
|
23524
|
+
# resp.monitoring_source.bedrock_model.request_metadata["BedrockRequestMetadataKey"] #=> String
|
|
23525
|
+
# resp.evaluation_config.eval_criteria.eval_criteria_arn #=> String
|
|
23526
|
+
# resp.evaluation_config.eval_criteria.eval_criteria_version #=> String
|
|
23527
|
+
# resp.evaluation_config.eval_criteria.sampling.sampling_percentage #=> Float
|
|
23528
|
+
# resp.evaluation_config.eval_criteria.sampling.max_records #=> Integer
|
|
23529
|
+
# resp.evaluation_config.eval_criteria_list #=> Array
|
|
23530
|
+
# resp.evaluation_config.eval_criteria_list[0].eval_criteria_arn #=> String
|
|
23531
|
+
# resp.evaluation_config.eval_criteria_list[0].eval_criteria_version #=> String
|
|
23532
|
+
# resp.evaluation_config.eval_criteria_list[0].sampling.sampling_percentage #=> Float
|
|
23533
|
+
# resp.evaluation_config.eval_criteria_list[0].sampling.max_records #=> Integer
|
|
23534
|
+
# resp.schedule_config.schedule_expression #=> String
|
|
23535
|
+
# resp.status #=> String, one of "Creating", "Active", "Inactive", "Updating", "Deleting", "Failed", "DeleteFailed"
|
|
23536
|
+
# resp.status_reason #=> String
|
|
23537
|
+
# resp.version #=> Integer
|
|
23538
|
+
# resp.role_arn #=> String
|
|
23539
|
+
# resp.created_at #=> Time
|
|
23540
|
+
# resp.updated_at #=> Time
|
|
23541
|
+
#
|
|
23542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelMonitorConfig AWS API Documentation
|
|
23543
|
+
#
|
|
23544
|
+
# @overload get_model_monitor_config(params = {})
|
|
23545
|
+
# @param [Hash] params ({})
|
|
23546
|
+
def get_model_monitor_config(params = {}, options = {})
|
|
23547
|
+
req = build_request(:get_model_monitor_config, params)
|
|
23548
|
+
req.send_request(options)
|
|
23549
|
+
end
|
|
23550
|
+
|
|
23551
|
+
# Returns information about one execution of a model monitor
|
|
23552
|
+
# configuration. You identify the execution by the name or Amazon
|
|
23553
|
+
# Resource Name (ARN) of the configuration and the time that the
|
|
23554
|
+
# execution was scheduled to run.
|
|
23555
|
+
#
|
|
23556
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
23557
|
+
# and is subject to change. This feature is not recommended for
|
|
23558
|
+
# production environments.
|
|
23559
|
+
#
|
|
23560
|
+
# </note>
|
|
23561
|
+
#
|
|
23562
|
+
# @option params [required, String] :model_monitor_config_name_or_arn
|
|
23563
|
+
# The name or Amazon Resource Name (ARN) of the model monitor
|
|
23564
|
+
# configuration. Specify one of the following:
|
|
23565
|
+
#
|
|
23566
|
+
# * The name of the model monitor configuration.
|
|
23567
|
+
#
|
|
23568
|
+
# * The Amazon Resource Name (ARN) of the model monitor configuration.
|
|
23569
|
+
#
|
|
23570
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :scheduled_at
|
|
23571
|
+
# The date and time that the execution was scheduled to run.
|
|
23572
|
+
#
|
|
23573
|
+
# @return [Types::GetModelMonitorExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
23574
|
+
#
|
|
23575
|
+
# * {Types::GetModelMonitorExecutionResponse#model_monitor_config_arn #model_monitor_config_arn} => String
|
|
23576
|
+
# * {Types::GetModelMonitorExecutionResponse#model_monitor_config_name #model_monitor_config_name} => String
|
|
23577
|
+
# * {Types::GetModelMonitorExecutionResponse#config_version #config_version} => Integer
|
|
23578
|
+
# * {Types::GetModelMonitorExecutionResponse#scheduled_at #scheduled_at} => Time
|
|
23579
|
+
# * {Types::GetModelMonitorExecutionResponse#started_at #started_at} => Time
|
|
23580
|
+
# * {Types::GetModelMonitorExecutionResponse#ended_at #ended_at} => Time
|
|
23581
|
+
# * {Types::GetModelMonitorExecutionResponse#status #status} => String
|
|
23582
|
+
# * {Types::GetModelMonitorExecutionResponse#failure_reason #failure_reason} => String
|
|
23583
|
+
# * {Types::GetModelMonitorExecutionResponse#reason_code #reason_code} => String
|
|
23584
|
+
# * {Types::GetModelMonitorExecutionResponse#traces_read #traces_read} => Integer
|
|
23585
|
+
# * {Types::GetModelMonitorExecutionResponse#traces_sampled #traces_sampled} => Integer
|
|
23586
|
+
# * {Types::GetModelMonitorExecutionResponse#scorer_count #scorer_count} => Integer
|
|
23587
|
+
# * {Types::GetModelMonitorExecutionResponse#scorer_invocations_run #scorer_invocations_run} => Integer
|
|
23588
|
+
# * {Types::GetModelMonitorExecutionResponse#scorer_invocations_succeeded #scorer_invocations_succeeded} => Integer
|
|
23589
|
+
# * {Types::GetModelMonitorExecutionResponse#scorer_invocations_failed #scorer_invocations_failed} => Integer
|
|
23590
|
+
# * {Types::GetModelMonitorExecutionResponse#per_scorer #per_scorer} => Array<Types::ModelMonitorScorerStat>
|
|
23591
|
+
# * {Types::GetModelMonitorExecutionResponse#eval_criteria_version #eval_criteria_version} => String
|
|
23592
|
+
#
|
|
23593
|
+
# @example Request syntax with placeholder values
|
|
23594
|
+
#
|
|
23595
|
+
# resp = client.get_model_monitor_execution({
|
|
23596
|
+
# model_monitor_config_name_or_arn: "ModelMonitorConfigNameOrArn", # required
|
|
23597
|
+
# scheduled_at: Time.now, # required
|
|
23598
|
+
# })
|
|
23599
|
+
#
|
|
23600
|
+
# @example Response structure
|
|
23601
|
+
#
|
|
23602
|
+
# resp.model_monitor_config_arn #=> String
|
|
23603
|
+
# resp.model_monitor_config_name #=> String
|
|
23604
|
+
# resp.config_version #=> Integer
|
|
23605
|
+
# resp.scheduled_at #=> Time
|
|
23606
|
+
# resp.started_at #=> Time
|
|
23607
|
+
# resp.ended_at #=> Time
|
|
23608
|
+
# resp.status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
|
23609
|
+
# resp.failure_reason #=> String
|
|
23610
|
+
# resp.reason_code #=> String, one of "NoTraffic", "MostlyUnparsable", "SpansMissingTraceId", "NoUsableSpans", "TracesIncomplete", "SamplingExcludedAll", "AllUnevaluable", "TraceFormatNotSupported"
|
|
23611
|
+
# resp.traces_read #=> Integer
|
|
23612
|
+
# resp.traces_sampled #=> Integer
|
|
23613
|
+
# resp.scorer_count #=> Integer
|
|
23614
|
+
# resp.scorer_invocations_run #=> Integer
|
|
23615
|
+
# resp.scorer_invocations_succeeded #=> Integer
|
|
23616
|
+
# resp.scorer_invocations_failed #=> Integer
|
|
23617
|
+
# resp.per_scorer #=> Array
|
|
23618
|
+
# resp.per_scorer[0].evaluator_arn #=> String
|
|
23619
|
+
# resp.per_scorer[0].scorer_invocations_run #=> Integer
|
|
23620
|
+
# resp.per_scorer[0].scorer_invocations_succeeded #=> Integer
|
|
23621
|
+
# resp.per_scorer[0].scorer_invocations_failed #=> Integer
|
|
23622
|
+
# resp.per_scorer[0].failure_kind #=> String
|
|
23623
|
+
# resp.eval_criteria_version #=> String
|
|
23624
|
+
#
|
|
23625
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelMonitorExecution AWS API Documentation
|
|
23626
|
+
#
|
|
23627
|
+
# @overload get_model_monitor_execution(params = {})
|
|
23628
|
+
# @param [Hash] params ({})
|
|
23629
|
+
def get_model_monitor_execution(params = {}, options = {})
|
|
23630
|
+
req = build_request(:get_model_monitor_execution, params)
|
|
23631
|
+
req.send_request(options)
|
|
23632
|
+
end
|
|
23633
|
+
|
|
22891
23634
|
# Gets a resource policy that manages access for a model group. For
|
|
22892
23635
|
# information about resource policies, see [Identity-based policies and
|
|
22893
23636
|
# resource-based policies][1] in the *Amazon Web Services Identity and
|
|
@@ -23982,6 +24725,104 @@ module Aws::SageMaker
|
|
|
23982
24725
|
req.send_request(options)
|
|
23983
24726
|
end
|
|
23984
24727
|
|
|
24728
|
+
# Lists the candidates on a leaderboard. You can filter the candidates
|
|
24729
|
+
# by dataset or by evaluation criteria, and sort them by creation time
|
|
24730
|
+
# or by a metric.
|
|
24731
|
+
#
|
|
24732
|
+
# For each evaluation criterion, `ListCandidates` returns the metrics
|
|
24733
|
+
# from the candidate's most recent evaluation run. To get all of a
|
|
24734
|
+
# candidate's evaluation metrics, use `GetCandidate`.
|
|
24735
|
+
#
|
|
24736
|
+
# Changes that you make with `AddCandidate` or `DeleteCandidate` can
|
|
24737
|
+
# take a short time to appear in `ListCandidates` results.
|
|
24738
|
+
#
|
|
24739
|
+
# @option params [required, String] :leaderboard_arn
|
|
24740
|
+
# The Amazon Resource Name (ARN) of the leaderboard.
|
|
24741
|
+
#
|
|
24742
|
+
# @option params [Types::LeaderboardCandidateFilters] :filters
|
|
24743
|
+
# Filters that return only the candidates that match all of the filter
|
|
24744
|
+
# values that you specify.
|
|
24745
|
+
#
|
|
24746
|
+
# @option params [String] :sort_by
|
|
24747
|
+
# The field to sort the candidates by. If you specify `METRIC`, you must
|
|
24748
|
+
# also specify `SortMetric`. If you don't specify `SortBy`, the
|
|
24749
|
+
# candidates are sorted by `CandidateId`.
|
|
24750
|
+
#
|
|
24751
|
+
# @option params [Types::LeaderboardSortMetric] :sort_metric
|
|
24752
|
+
# The metric to sort the candidates by. Required when `SortBy` is
|
|
24753
|
+
# `METRIC`. The response includes only the candidates whose most recent
|
|
24754
|
+
# evaluation run reports this metric.
|
|
24755
|
+
#
|
|
24756
|
+
# @option params [String] :sort_order
|
|
24757
|
+
# The sort order. The default is `DESCENDING`.
|
|
24758
|
+
#
|
|
24759
|
+
# @option params [Integer] :max_results
|
|
24760
|
+
# The maximum number of candidates to return in the response. The
|
|
24761
|
+
# default is 20.
|
|
24762
|
+
#
|
|
24763
|
+
# @option params [String] :next_token
|
|
24764
|
+
# If the result of the previous `ListCandidates` request was truncated,
|
|
24765
|
+
# the response includes a `NextToken`. To retrieve the next set of
|
|
24766
|
+
# candidates, use the token in the next request. Use the same `Filters`,
|
|
24767
|
+
# `SortBy`, `SortMetric`, and `SortOrder` as in the previous request.
|
|
24768
|
+
# Otherwise, `ListCandidates` returns a `ValidationException` error.
|
|
24769
|
+
#
|
|
24770
|
+
# @return [Types::ListCandidatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
24771
|
+
#
|
|
24772
|
+
# * {Types::ListCandidatesResponse#items #items} => Array<Types::LeaderboardCandidateSummary>
|
|
24773
|
+
# * {Types::ListCandidatesResponse#next_token #next_token} => String
|
|
24774
|
+
#
|
|
24775
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
24776
|
+
#
|
|
24777
|
+
# @example Request syntax with placeholder values
|
|
24778
|
+
#
|
|
24779
|
+
# resp = client.list_candidates({
|
|
24780
|
+
# leaderboard_arn: "LeaderboardArn", # required
|
|
24781
|
+
# filters: {
|
|
24782
|
+
# dataset_arn: "LeaderboardDatasetArn",
|
|
24783
|
+
# eval_criteria_arn: "LeaderboardEvalCriteriaArn",
|
|
24784
|
+
# },
|
|
24785
|
+
# sort_by: "CREATION_TIME", # accepts CREATION_TIME, METRIC
|
|
24786
|
+
# sort_metric: {
|
|
24787
|
+
# criterion_name: "LeaderboardCriterionName", # required
|
|
24788
|
+
# metric_name: "LeaderboardMetricName", # required
|
|
24789
|
+
# },
|
|
24790
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
|
24791
|
+
# max_results: 1,
|
|
24792
|
+
# next_token: "NextToken",
|
|
24793
|
+
# })
|
|
24794
|
+
#
|
|
24795
|
+
# @example Response structure
|
|
24796
|
+
#
|
|
24797
|
+
# resp.items #=> Array
|
|
24798
|
+
# resp.items[0].candidate_id #=> String
|
|
24799
|
+
# resp.items[0].display_name #=> String
|
|
24800
|
+
# resp.items[0].labels #=> Hash
|
|
24801
|
+
# resp.items[0].labels["LeaderboardLabelKey"] #=> String
|
|
24802
|
+
# resp.items[0].candidate_config.customer_model_config.model_ref #=> String
|
|
24803
|
+
# resp.items[0].candidate_config.customer_model_config.dataset_arn #=> String
|
|
24804
|
+
# resp.items[0].candidate_config.customer_model_config.eval_criteria_arn #=> String
|
|
24805
|
+
# resp.items[0].candidate_config.customer_model_config.prompt_template_arn #=> String
|
|
24806
|
+
# resp.items[0].candidate_config.customer_model_config.dimensions #=> Array
|
|
24807
|
+
# resp.items[0].candidate_config.customer_model_config.dimensions[0].key #=> String
|
|
24808
|
+
# resp.items[0].candidate_config.customer_model_config.dimensions[0].value #=> String
|
|
24809
|
+
# resp.items[0].evaluation_results #=> Array
|
|
24810
|
+
# resp.items[0].evaluation_results[0].criterion_name #=> String
|
|
24811
|
+
# resp.items[0].evaluation_results[0].metrics #=> Hash
|
|
24812
|
+
# resp.items[0].evaluation_results[0].metrics["LeaderboardMetricName"] #=> Float
|
|
24813
|
+
# resp.items[0].evaluation_results[0].source_id #=> String
|
|
24814
|
+
# resp.items[0].evaluation_results[0].recorded_at #=> Time
|
|
24815
|
+
# resp.next_token #=> String
|
|
24816
|
+
#
|
|
24817
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidates AWS API Documentation
|
|
24818
|
+
#
|
|
24819
|
+
# @overload list_candidates(params = {})
|
|
24820
|
+
# @param [Hash] params ({})
|
|
24821
|
+
def list_candidates(params = {}, options = {})
|
|
24822
|
+
req = build_request(:list_candidates, params)
|
|
24823
|
+
req.send_request(options)
|
|
24824
|
+
end
|
|
24825
|
+
|
|
23985
24826
|
# List the candidates created for the job.
|
|
23986
24827
|
#
|
|
23987
24828
|
# @option params [required, String] :auto_ml_job_name
|
|
@@ -27001,7 +27842,7 @@ module Aws::SageMaker
|
|
|
27001
27842
|
# @example Request syntax with placeholder values
|
|
27002
27843
|
#
|
|
27003
27844
|
# resp = client.list_job_schema_versions({
|
|
27004
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
27845
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
27005
27846
|
# next_token: "NextToken",
|
|
27006
27847
|
# max_results: 1,
|
|
27007
27848
|
# })
|
|
@@ -27079,7 +27920,7 @@ module Aws::SageMaker
|
|
|
27079
27920
|
# @example Request syntax with placeholder values
|
|
27080
27921
|
#
|
|
27081
27922
|
# resp = client.list_jobs({
|
|
27082
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
27923
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
27083
27924
|
# next_token: "NextToken",
|
|
27084
27925
|
# max_results: 1,
|
|
27085
27926
|
# creation_time_after: Time.now,
|
|
@@ -27098,7 +27939,7 @@ module Aws::SageMaker
|
|
|
27098
27939
|
# resp.job_summaries #=> Array
|
|
27099
27940
|
# resp.job_summaries[0].job_arn #=> String
|
|
27100
27941
|
# resp.job_summaries[0].job_name #=> String
|
|
27101
|
-
# resp.job_summaries[0].job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "DataTransformation"
|
|
27942
|
+
# resp.job_summaries[0].job_category #=> String, one of "AgentRFT", "SyntheticDataGeneration", "DataQualityEvaluation", "AgentRFTEvaluation", "GenAIEvaluation", "GapAnalysis", "DataTransformation"
|
|
27102
27943
|
# resp.job_summaries[0].job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting", "DeleteFailed"
|
|
27103
27944
|
# resp.job_summaries[0].job_secondary_status #=> String, one of "Starting", "Downloading", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Interrupted", "Failed", "Completed", "Restarting", "Pending", "Generating", "PartialGeneration", "Evaluating", "Validating", "Preparing", "Executing", "Publishing", "Finalizing", "Transforming", "Deleting", "DeleteFailed"
|
|
27104
27945
|
# resp.job_summaries[0].creation_time #=> Time
|
|
@@ -27285,6 +28126,49 @@ module Aws::SageMaker
|
|
|
27285
28126
|
req.send_request(options)
|
|
27286
28127
|
end
|
|
27287
28128
|
|
|
28129
|
+
# Lists the leaderboards in the caller's account and Region.
|
|
28130
|
+
#
|
|
28131
|
+
# @option params [Integer] :max_results
|
|
28132
|
+
# The maximum number of leaderboards to return in the response. The
|
|
28133
|
+
# default is 20.
|
|
28134
|
+
#
|
|
28135
|
+
# @option params [String] :next_token
|
|
28136
|
+
# If the result of the previous `ListLeaderboards` request was
|
|
28137
|
+
# truncated, the response includes a `NextToken`. To retrieve the next
|
|
28138
|
+
# set of leaderboards, use the token in the next request.
|
|
28139
|
+
#
|
|
28140
|
+
# @return [Types::ListLeaderboardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28141
|
+
#
|
|
28142
|
+
# * {Types::ListLeaderboardsResponse#items #items} => Array<Types::LeaderboardSummary>
|
|
28143
|
+
# * {Types::ListLeaderboardsResponse#next_token #next_token} => String
|
|
28144
|
+
#
|
|
28145
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
28146
|
+
#
|
|
28147
|
+
# @example Request syntax with placeholder values
|
|
28148
|
+
#
|
|
28149
|
+
# resp = client.list_leaderboards({
|
|
28150
|
+
# max_results: 1,
|
|
28151
|
+
# next_token: "NextToken",
|
|
28152
|
+
# })
|
|
28153
|
+
#
|
|
28154
|
+
# @example Response structure
|
|
28155
|
+
#
|
|
28156
|
+
# resp.items #=> Array
|
|
28157
|
+
# resp.items[0].arn #=> String
|
|
28158
|
+
# resp.items[0].name #=> String
|
|
28159
|
+
# resp.items[0].creation_time #=> Time
|
|
28160
|
+
# resp.items[0].last_modified_time #=> Time
|
|
28161
|
+
# resp.next_token #=> String
|
|
28162
|
+
#
|
|
28163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLeaderboards AWS API Documentation
|
|
28164
|
+
#
|
|
28165
|
+
# @overload list_leaderboards(params = {})
|
|
28166
|
+
# @param [Hash] params ({})
|
|
28167
|
+
def list_leaderboards(params = {}, options = {})
|
|
28168
|
+
req = build_request(:list_leaderboards, params)
|
|
28169
|
+
req.send_request(options)
|
|
28170
|
+
end
|
|
28171
|
+
|
|
27288
28172
|
# A list of lineage groups shared with your Amazon Web Services account.
|
|
27289
28173
|
# For more information, see [ Cross-Account Lineage Tracking ][1] in the
|
|
27290
28174
|
# *Amazon SageMaker Developer Guide*.
|
|
@@ -27946,6 +28830,144 @@ module Aws::SageMaker
|
|
|
27946
28830
|
req.send_request(options)
|
|
27947
28831
|
end
|
|
27948
28832
|
|
|
28833
|
+
# Lists the model monitor configurations that are attached to a single
|
|
28834
|
+
# target, a SageMaker AI endpoint or an Amazon Bedrock model, in your
|
|
28835
|
+
# account. SageMaker AI lists the configurations newest first. Results
|
|
28836
|
+
# are paginated. To get the next page, use `NextToken`. A target can
|
|
28837
|
+
# have more than one configuration, so the response includes every
|
|
28838
|
+
# configuration that is attached to the target that you specify.
|
|
28839
|
+
#
|
|
28840
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
28841
|
+
# and is subject to change. This feature is not recommended for
|
|
28842
|
+
# production environments.
|
|
28843
|
+
#
|
|
28844
|
+
# </note>
|
|
28845
|
+
#
|
|
28846
|
+
# @option params [required, String] :target_type
|
|
28847
|
+
# The type of the target whose model monitor configurations you want to
|
|
28848
|
+
# list.
|
|
28849
|
+
#
|
|
28850
|
+
# @option params [required, String] :target_name
|
|
28851
|
+
# The name of the target whose model monitor configurations you want to
|
|
28852
|
+
# list: the endpoint name or the Amazon Bedrock model ID, depending on
|
|
28853
|
+
# `TargetType`.
|
|
28854
|
+
#
|
|
28855
|
+
# @option params [String] :next_token
|
|
28856
|
+
# If the previous response was truncated, you receive this token. To get
|
|
28857
|
+
# the next set of results, use it in your next request.
|
|
28858
|
+
#
|
|
28859
|
+
# @option params [Integer] :max_results
|
|
28860
|
+
# The maximum number of results to return in the response.
|
|
28861
|
+
#
|
|
28862
|
+
# @return [Types::ListModelMonitorConfigsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28863
|
+
#
|
|
28864
|
+
# * {Types::ListModelMonitorConfigsResponse#model_monitor_config_summaries #model_monitor_config_summaries} => Array<Types::ModelMonitorConfigSummary>
|
|
28865
|
+
# * {Types::ListModelMonitorConfigsResponse#next_token #next_token} => String
|
|
28866
|
+
#
|
|
28867
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
28868
|
+
#
|
|
28869
|
+
# @example Request syntax with placeholder values
|
|
28870
|
+
#
|
|
28871
|
+
# resp = client.list_model_monitor_configs({
|
|
28872
|
+
# target_type: "SageMakerEndpoint", # required, accepts SageMakerEndpoint, BedrockModel
|
|
28873
|
+
# target_name: "ModelMonitorTargetName", # required
|
|
28874
|
+
# next_token: "NextToken",
|
|
28875
|
+
# max_results: 1,
|
|
28876
|
+
# })
|
|
28877
|
+
#
|
|
28878
|
+
# @example Response structure
|
|
28879
|
+
#
|
|
28880
|
+
# resp.model_monitor_config_summaries #=> Array
|
|
28881
|
+
# resp.model_monitor_config_summaries[0].model_monitor_config_arn #=> String
|
|
28882
|
+
# resp.model_monitor_config_summaries[0].model_monitor_config_name #=> String
|
|
28883
|
+
# resp.model_monitor_config_summaries[0].status #=> String, one of "Creating", "Active", "Inactive", "Updating", "Deleting", "Failed", "DeleteFailed"
|
|
28884
|
+
# resp.model_monitor_config_summaries[0].target.target_type #=> String, one of "SageMakerEndpoint", "BedrockModel"
|
|
28885
|
+
# resp.model_monitor_config_summaries[0].target.target_name #=> String
|
|
28886
|
+
# resp.model_monitor_config_summaries[0].created_at #=> Time
|
|
28887
|
+
# resp.next_token #=> String
|
|
28888
|
+
#
|
|
28889
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelMonitorConfigs AWS API Documentation
|
|
28890
|
+
#
|
|
28891
|
+
# @overload list_model_monitor_configs(params = {})
|
|
28892
|
+
# @param [Hash] params ({})
|
|
28893
|
+
def list_model_monitor_configs(params = {}, options = {})
|
|
28894
|
+
req = build_request(:list_model_monitor_configs, params)
|
|
28895
|
+
req.send_request(options)
|
|
28896
|
+
end
|
|
28897
|
+
|
|
28898
|
+
# Lists the executions of a model monitor configuration, newest first.
|
|
28899
|
+
# Results are paginated. To get the next page, use `NextToken`.
|
|
28900
|
+
#
|
|
28901
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
28902
|
+
# and is subject to change. This feature is not recommended for
|
|
28903
|
+
# production environments.
|
|
28904
|
+
#
|
|
28905
|
+
# </note>
|
|
28906
|
+
#
|
|
28907
|
+
# @option params [required, String] :model_monitor_config_name_or_arn
|
|
28908
|
+
# The name or Amazon Resource Name (ARN) of the model monitor
|
|
28909
|
+
# configuration. Specify one of the following:
|
|
28910
|
+
#
|
|
28911
|
+
# * The name of the model monitor configuration.
|
|
28912
|
+
#
|
|
28913
|
+
# * The Amazon Resource Name (ARN) of the model monitor configuration.
|
|
28914
|
+
#
|
|
28915
|
+
# @option params [String] :status_equals
|
|
28916
|
+
# A filter that returns only executions with the specified status.
|
|
28917
|
+
#
|
|
28918
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_after
|
|
28919
|
+
# A filter that returns only executions that were scheduled to run after
|
|
28920
|
+
# the specified time.
|
|
28921
|
+
#
|
|
28922
|
+
# @option params [Time,DateTime,Date,Integer,String] :scheduled_before
|
|
28923
|
+
# A filter that returns only executions that were scheduled to run
|
|
28924
|
+
# before the specified time.
|
|
28925
|
+
#
|
|
28926
|
+
# @option params [String] :next_token
|
|
28927
|
+
# If the previous response was truncated, you receive this token. To get
|
|
28928
|
+
# the next set of results, use it in your next request.
|
|
28929
|
+
#
|
|
28930
|
+
# @option params [Integer] :max_results
|
|
28931
|
+
# The maximum number of results to return in the response.
|
|
28932
|
+
#
|
|
28933
|
+
# @return [Types::ListModelMonitorExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
28934
|
+
#
|
|
28935
|
+
# * {Types::ListModelMonitorExecutionsResponse#model_monitor_execution_summaries #model_monitor_execution_summaries} => Array<Types::ModelMonitorExecutionSummary>
|
|
28936
|
+
# * {Types::ListModelMonitorExecutionsResponse#next_token #next_token} => String
|
|
28937
|
+
#
|
|
28938
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
28939
|
+
#
|
|
28940
|
+
# @example Request syntax with placeholder values
|
|
28941
|
+
#
|
|
28942
|
+
# resp = client.list_model_monitor_executions({
|
|
28943
|
+
# model_monitor_config_name_or_arn: "ModelMonitorConfigNameOrArn", # required
|
|
28944
|
+
# status_equals: "Pending", # accepts Pending, InProgress, Completed, Failed, Stopping, Stopped
|
|
28945
|
+
# scheduled_after: Time.now,
|
|
28946
|
+
# scheduled_before: Time.now,
|
|
28947
|
+
# next_token: "NextToken",
|
|
28948
|
+
# max_results: 1,
|
|
28949
|
+
# })
|
|
28950
|
+
#
|
|
28951
|
+
# @example Response structure
|
|
28952
|
+
#
|
|
28953
|
+
# resp.model_monitor_execution_summaries #=> Array
|
|
28954
|
+
# resp.model_monitor_execution_summaries[0].scheduled_at #=> Time
|
|
28955
|
+
# resp.model_monitor_execution_summaries[0].status #=> String, one of "Pending", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
|
28956
|
+
# resp.model_monitor_execution_summaries[0].started_at #=> Time
|
|
28957
|
+
# resp.model_monitor_execution_summaries[0].ended_at #=> Time
|
|
28958
|
+
# resp.model_monitor_execution_summaries[0].traces_sampled #=> Integer
|
|
28959
|
+
# resp.model_monitor_execution_summaries[0].reason_code #=> String, one of "NoTraffic", "MostlyUnparsable", "SpansMissingTraceId", "NoUsableSpans", "TracesIncomplete", "SamplingExcludedAll", "AllUnevaluable", "TraceFormatNotSupported"
|
|
28960
|
+
# resp.next_token #=> String
|
|
28961
|
+
#
|
|
28962
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelMonitorExecutions AWS API Documentation
|
|
28963
|
+
#
|
|
28964
|
+
# @overload list_model_monitor_executions(params = {})
|
|
28965
|
+
# @param [Hash] params ({})
|
|
28966
|
+
def list_model_monitor_executions(params = {}, options = {})
|
|
28967
|
+
req = build_request(:list_model_monitor_executions, params)
|
|
28968
|
+
req.send_request(options)
|
|
28969
|
+
end
|
|
28970
|
+
|
|
27949
28971
|
# Gets a list of the model groups in your Amazon Web Services account.
|
|
27950
28972
|
#
|
|
27951
28973
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
@@ -29431,6 +30453,10 @@ module Aws::SageMaker
|
|
|
29431
30453
|
# @option params [String] :sort_order
|
|
29432
30454
|
# The sort order for results. The default is `Ascending`.
|
|
29433
30455
|
#
|
|
30456
|
+
# @option params [String] :project_type
|
|
30457
|
+
# A filter that returns only projects of the specified type. A `CLASSIC`
|
|
30458
|
+
# filter also returns projects that have no project type.
|
|
30459
|
+
#
|
|
29434
30460
|
# @return [Types::ListProjectsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
29435
30461
|
#
|
|
29436
30462
|
# * {Types::ListProjectsOutput#project_summary_list #project_summary_list} => Array<Types::ProjectSummary>
|
|
@@ -29448,6 +30474,7 @@ module Aws::SageMaker
|
|
|
29448
30474
|
# next_token: "NextToken",
|
|
29449
30475
|
# sort_by: "Name", # accepts Name, CreationTime
|
|
29450
30476
|
# sort_order: "Ascending", # accepts Ascending, Descending
|
|
30477
|
+
# project_type: "CLASSIC", # accepts CLASSIC, STANDARD
|
|
29451
30478
|
# })
|
|
29452
30479
|
#
|
|
29453
30480
|
# @example Response structure
|
|
@@ -29459,6 +30486,7 @@ module Aws::SageMaker
|
|
|
29459
30486
|
# resp.project_summary_list[0].project_id #=> String
|
|
29460
30487
|
# resp.project_summary_list[0].creation_time #=> Time
|
|
29461
30488
|
# resp.project_summary_list[0].project_status #=> String, one of "Pending", "CreateInProgress", "CreateCompleted", "CreateFailed", "DeleteInProgress", "DeleteFailed", "DeleteCompleted", "UpdateInProgress", "UpdateCompleted", "UpdateFailed"
|
|
30489
|
+
# resp.project_summary_list[0].project_type #=> String, one of "CLASSIC", "STANDARD"
|
|
29462
30490
|
# resp.next_token #=> String
|
|
29463
30491
|
#
|
|
29464
30492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects AWS API Documentation
|
|
@@ -30999,6 +32027,10 @@ module Aws::SageMaker
|
|
|
30999
32027
|
#
|
|
31000
32028
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking-entities.html
|
|
31001
32029
|
#
|
|
32030
|
+
# @option params [Boolean] :include_source
|
|
32031
|
+
# Set to `True` to include the `Source` of each lineage entity in the
|
|
32032
|
+
# response. The default is `False`.
|
|
32033
|
+
#
|
|
31002
32034
|
# @option params [Types::QueryFilters] :filters
|
|
31003
32035
|
# A set of filtering parameters that allow you to specify which entities
|
|
31004
32036
|
# should be returned.
|
|
@@ -31042,6 +32074,7 @@ module Aws::SageMaker
|
|
|
31042
32074
|
# start_arns: ["AssociationEntityArn"],
|
|
31043
32075
|
# direction: "Both", # accepts Both, Ascendants, Descendants
|
|
31044
32076
|
# include_edges: false,
|
|
32077
|
+
# include_source: false,
|
|
31045
32078
|
# filters: {
|
|
31046
32079
|
# types: ["String40"],
|
|
31047
32080
|
# lineage_types: ["TrialComponent"], # accepts TrialComponent, Artifact, Context, Action
|
|
@@ -31064,6 +32097,7 @@ module Aws::SageMaker
|
|
|
31064
32097
|
# resp.vertices[0].arn #=> String
|
|
31065
32098
|
# resp.vertices[0].type #=> String
|
|
31066
32099
|
# resp.vertices[0].lineage_type #=> String, one of "TrialComponent", "Artifact", "Context", "Action"
|
|
32100
|
+
# resp.vertices[0].source.source_uri #=> String
|
|
31067
32101
|
# resp.edges #=> Array
|
|
31068
32102
|
# resp.edges[0].source_arn #=> String
|
|
31069
32103
|
# resp.edges[0].destination_arn #=> String
|
|
@@ -32257,7 +33291,7 @@ module Aws::SageMaker
|
|
|
32257
33291
|
#
|
|
32258
33292
|
# resp = client.stop_job({
|
|
32259
33293
|
# job_name: "JobName", # required
|
|
32260
|
-
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, DataTransformation
|
|
33294
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, SyntheticDataGeneration, DataQualityEvaluation, AgentRFTEvaluation, GenAIEvaluation, GapAnalysis, DataTransformation
|
|
32261
33295
|
# })
|
|
32262
33296
|
#
|
|
32263
33297
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopJob AWS API Documentation
|
|
@@ -33772,7 +34806,7 @@ module Aws::SageMaker
|
|
|
33772
34806
|
# },
|
|
33773
34807
|
# ],
|
|
33774
34808
|
# studio_web_portal_settings: {
|
|
33775
|
-
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators
|
|
34809
|
+
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators, Optimizer
|
|
33776
34810
|
# hidden_app_types: ["JupyterServer"], # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas
|
|
33777
34811
|
# hidden_instance_types: ["system"], # accepts 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.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.p5en.48xlarge, ml.p6-b200.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, ml.p5.4xlarge, ml.g7.2xlarge, ml.g7.4xlarge, ml.g7.8xlarge, ml.g7.12xlarge, ml.g7.24xlarge, ml.g7.48xlarge, ml.g7e.2xlarge, ml.g7e.4xlarge, ml.g7e.8xlarge, ml.g7e.12xlarge, ml.g7e.24xlarge, ml.g7e.48xlarge
|
|
33778
34812
|
# hidden_sage_maker_image_version_aliases: [
|
|
@@ -35103,6 +36137,15 @@ module Aws::SageMaker
|
|
|
35103
36137
|
# @option params [String] :account_default_status
|
|
35104
36138
|
# Indicates whether this this MLflow App is the default for the account.
|
|
35105
36139
|
#
|
|
36140
|
+
# @option params [Types::AccessControlConfiguration] :access_control_configuration
|
|
36141
|
+
# Specifies the fine-grained access control (FGAC) configuration for the
|
|
36142
|
+
# MLflow App. Use this parameter to enable or disable FGAC, or to change
|
|
36143
|
+
# the Platform Admin. Enable FGAC when you need to control which IAM
|
|
36144
|
+
# principals can access specific MLflow resources in the app. If you
|
|
36145
|
+
# disable FGAC, the app stops enforcing permissions. If you re-enable
|
|
36146
|
+
# FGAC, the app enforces the permissions that you configured before you
|
|
36147
|
+
# disabled it.
|
|
36148
|
+
#
|
|
35106
36149
|
# @return [Types::UpdateMlflowAppResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
35107
36150
|
#
|
|
35108
36151
|
# * {Types::UpdateMlflowAppResponse#arn #arn} => String
|
|
@@ -35117,6 +36160,10 @@ module Aws::SageMaker
|
|
|
35117
36160
|
# weekly_maintenance_window_start: "WeeklyMaintenanceWindowStart",
|
|
35118
36161
|
# default_domain_id_list: ["DomainId"],
|
|
35119
36162
|
# account_default_status: "ENABLED", # accepts ENABLED, DISABLED
|
|
36163
|
+
# access_control_configuration: {
|
|
36164
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
36165
|
+
# admin_principal_arn: "RoleArn",
|
|
36166
|
+
# },
|
|
35120
36167
|
# })
|
|
35121
36168
|
#
|
|
35122
36169
|
# @example Response structure
|
|
@@ -35251,6 +36298,119 @@ module Aws::SageMaker
|
|
|
35251
36298
|
req.send_request(options)
|
|
35252
36299
|
end
|
|
35253
36300
|
|
|
36301
|
+
# Updates a model monitor configuration. Parameters that you don't
|
|
36302
|
+
# specify keep their current values. If another request modifies the
|
|
36303
|
+
# configuration at the same time, you get a `ConflictException`.
|
|
36304
|
+
#
|
|
36305
|
+
# The operation runs synchronously and is idempotent. If you retry the
|
|
36306
|
+
# request with the same `ClientToken`, you get the result of the
|
|
36307
|
+
# original request.
|
|
36308
|
+
#
|
|
36309
|
+
# <note markdown="1"> This operation is in public preview release for Amazon SageMaker AI
|
|
36310
|
+
# and is subject to change. This feature is not recommended for
|
|
36311
|
+
# production environments.
|
|
36312
|
+
#
|
|
36313
|
+
# </note>
|
|
36314
|
+
#
|
|
36315
|
+
# @option params [required, String] :model_monitor_config_name_or_arn
|
|
36316
|
+
# The name or Amazon Resource Name (ARN) of the model monitor
|
|
36317
|
+
# configuration. Specify one of the following:
|
|
36318
|
+
#
|
|
36319
|
+
# * The name of the model monitor configuration.
|
|
36320
|
+
#
|
|
36321
|
+
# * The Amazon Resource Name (ARN) of the model monitor configuration.
|
|
36322
|
+
#
|
|
36323
|
+
# @option params [Types::EvaluationConfig] :evaluation_config
|
|
36324
|
+
# The evaluation monitoring settings. The settings that you specify
|
|
36325
|
+
# replace the current evaluation settings. If you omit this parameter,
|
|
36326
|
+
# the current value doesn't change.
|
|
36327
|
+
#
|
|
36328
|
+
# @option params [Types::ModelMonitorScheduleConfig] :schedule_config
|
|
36329
|
+
# The schedule on which the model monitor configuration runs. If you
|
|
36330
|
+
# omit this parameter, the current value doesn't change.
|
|
36331
|
+
#
|
|
36332
|
+
# @option params [String] :role_arn
|
|
36333
|
+
# The Amazon Resource Name (ARN) of the IAM role that the model monitor
|
|
36334
|
+
# configuration uses. If you omit this parameter, the current value
|
|
36335
|
+
# doesn't change.
|
|
36336
|
+
#
|
|
36337
|
+
# @option params [Boolean] :enabled
|
|
36338
|
+
# Specifies whether the model monitor configuration is enabled. Use this
|
|
36339
|
+
# parameter to pause or resume the configuration.
|
|
36340
|
+
#
|
|
36341
|
+
# * `true` - Resume the configuration. The status becomes `Active`, and
|
|
36342
|
+
# the configuration runs on its schedule.
|
|
36343
|
+
#
|
|
36344
|
+
# * `false` - Pause the configuration. The status becomes `Inactive`.
|
|
36345
|
+
# The configuration keeps its schedule but doesn't run.
|
|
36346
|
+
#
|
|
36347
|
+
# If you omit this parameter, the configuration stays enabled or
|
|
36348
|
+
# disabled as it is. You can enable or disable a configuration only when
|
|
36349
|
+
# its status is `Active` or `Inactive`. Otherwise, you get a
|
|
36350
|
+
# `ConflictException`.
|
|
36351
|
+
#
|
|
36352
|
+
# @option params [String] :client_token
|
|
36353
|
+
# A unique, case-sensitive identifier that you provide to ensure that
|
|
36354
|
+
# the operation completes no more than one time. If you retry a request
|
|
36355
|
+
# with the same client token, you get the result of the original request
|
|
36356
|
+
# and no error.
|
|
36357
|
+
#
|
|
36358
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
36359
|
+
# not need to pass this option.**
|
|
36360
|
+
#
|
|
36361
|
+
# @return [Types::UpdateModelMonitorConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
36362
|
+
#
|
|
36363
|
+
# * {Types::UpdateModelMonitorConfigResponse#model_monitor_config_arn #model_monitor_config_arn} => String
|
|
36364
|
+
# * {Types::UpdateModelMonitorConfigResponse#version #version} => Integer
|
|
36365
|
+
# * {Types::UpdateModelMonitorConfigResponse#status #status} => String
|
|
36366
|
+
#
|
|
36367
|
+
# @example Request syntax with placeholder values
|
|
36368
|
+
#
|
|
36369
|
+
# resp = client.update_model_monitor_config({
|
|
36370
|
+
# model_monitor_config_name_or_arn: "ModelMonitorConfigNameOrArn", # required
|
|
36371
|
+
# evaluation_config: {
|
|
36372
|
+
# eval_criteria: {
|
|
36373
|
+
# eval_criteria_arn: "EvalCriteriaConfigEvalCriteriaArnString", # required
|
|
36374
|
+
# eval_criteria_version: "EvalCriteriaConfigEvalCriteriaVersionString",
|
|
36375
|
+
# sampling: { # required
|
|
36376
|
+
# sampling_percentage: 1.0, # required
|
|
36377
|
+
# max_records: 1,
|
|
36378
|
+
# },
|
|
36379
|
+
# },
|
|
36380
|
+
# eval_criteria_list: [
|
|
36381
|
+
# {
|
|
36382
|
+
# eval_criteria_arn: "EvalCriteriaConfigEvalCriteriaArnString", # required
|
|
36383
|
+
# eval_criteria_version: "EvalCriteriaConfigEvalCriteriaVersionString",
|
|
36384
|
+
# sampling: { # required
|
|
36385
|
+
# sampling_percentage: 1.0, # required
|
|
36386
|
+
# max_records: 1,
|
|
36387
|
+
# },
|
|
36388
|
+
# },
|
|
36389
|
+
# ],
|
|
36390
|
+
# },
|
|
36391
|
+
# schedule_config: {
|
|
36392
|
+
# schedule_expression: "ModelMonitorScheduleConfigScheduleExpressionString", # required
|
|
36393
|
+
# },
|
|
36394
|
+
# role_arn: "RoleArn",
|
|
36395
|
+
# enabled: false,
|
|
36396
|
+
# client_token: "ModelMonitorClientToken",
|
|
36397
|
+
# })
|
|
36398
|
+
#
|
|
36399
|
+
# @example Response structure
|
|
36400
|
+
#
|
|
36401
|
+
# resp.model_monitor_config_arn #=> String
|
|
36402
|
+
# resp.version #=> Integer
|
|
36403
|
+
# resp.status #=> String, one of "Creating", "Active", "Inactive", "Updating", "Deleting", "Failed", "DeleteFailed"
|
|
36404
|
+
#
|
|
36405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelMonitorConfig AWS API Documentation
|
|
36406
|
+
#
|
|
36407
|
+
# @overload update_model_monitor_config(params = {})
|
|
36408
|
+
# @param [Hash] params ({})
|
|
36409
|
+
def update_model_monitor_config(params = {}, options = {})
|
|
36410
|
+
req = build_request(:update_model_monitor_config, params)
|
|
36411
|
+
req.send_request(options)
|
|
36412
|
+
end
|
|
36413
|
+
|
|
35254
36414
|
# Updates a versioned model.
|
|
35255
36415
|
#
|
|
35256
36416
|
# @option params [required, String] :model_package_arn
|
|
@@ -36865,7 +38025,7 @@ module Aws::SageMaker
|
|
|
36865
38025
|
# },
|
|
36866
38026
|
# ],
|
|
36867
38027
|
# studio_web_portal_settings: {
|
|
36868
|
-
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators
|
|
38028
|
+
# hidden_ml_tools: ["DataWrangler"], # accepts DataWrangler, FeatureStore, EmrClusters, AutoMl, Experiments, Training, ModelEvaluation, Pipelines, Models, JumpStart, InferenceRecommender, Endpoints, Projects, InferenceOptimization, PerformanceEvaluation, LakeraGuard, Comet, DeepchecksLLMEvaluation, Fiddler, HyperPodClusters, RunningInstances, Datasets, Evaluators, Optimizer
|
|
36869
38029
|
# hidden_app_types: ["JupyterServer"], # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas
|
|
36870
38030
|
# hidden_instance_types: ["system"], # accepts 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.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.p5en.48xlarge, ml.p6-b200.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, ml.p5.4xlarge, ml.g7.2xlarge, ml.g7.4xlarge, ml.g7.8xlarge, ml.g7.12xlarge, ml.g7.24xlarge, ml.g7.48xlarge, ml.g7e.2xlarge, ml.g7e.4xlarge, ml.g7e.8xlarge, ml.g7e.12xlarge, ml.g7e.24xlarge, ml.g7e.48xlarge
|
|
36871
38031
|
# hidden_sage_maker_image_version_aliases: [
|
|
@@ -37173,7 +38333,7 @@ module Aws::SageMaker
|
|
|
37173
38333
|
tracer: tracer
|
|
37174
38334
|
)
|
|
37175
38335
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
37176
|
-
context[:gem_version] = '1.
|
|
38336
|
+
context[:gem_version] = '1.420.0'
|
|
37177
38337
|
Seahorse::Client::Request.new(handlers, context)
|
|
37178
38338
|
end
|
|
37179
38339
|
|