aws-sdk-sagemaker 1.369.0 → 1.370.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 +438 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +212 -0
- data/lib/aws-sdk-sagemaker/types.rb +490 -1
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +111 -0
- data/sig/types.rbs +135 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 498cd22927a5354b0f77c1259519c4cd48cc4a5f3de5ba03badfe63f5c246a12
|
|
4
|
+
data.tar.gz: e28559dee29925ffc3bf4bb11dfc302f6735ec7a64e7f9ddf6ef9392a90a872d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76676db4011ffbae317d8b620e71caa64b95ae55d7e63de710c88198c7c9ddca10a3b5a09fdd80a5e61c513c8a6958dfc8d8c8c16776fa68962fa9ee84684e26
|
|
7
|
+
data.tar.gz: a40369691b61de8eed6ed50349d46182e10dc2baa99dc67b84ee522894eaa1d6409fe9ff956b81c204dd9d1611c78ac24740df6b65fe5ba345a8e1d9b9931d82
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.370.0 (2026-06-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon SageMaker Job is a new service to help you manage various workloads related to model fine tuning, evaluation etc. Two job categories are supported today, AgentRFT for multi-turn agentic reinforcement fine tuning, and AgentRFTEvaluation for evaluating base model or trained model from AgentRFT.
|
|
8
|
+
|
|
4
9
|
1.369.0 (2026-05-27)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.370.0
|
|
@@ -6769,6 +6769,101 @@ module Aws::SageMaker
|
|
|
6769
6769
|
req.send_request(options)
|
|
6770
6770
|
end
|
|
6771
6771
|
|
|
6772
|
+
# Creates a model customization job in Amazon SageMaker. A job runs a
|
|
6773
|
+
# workload based on the job category and configuration you provide. You
|
|
6774
|
+
# specify the job category, a schema-versioned configuration document,
|
|
6775
|
+
# and an IAM role that grants Amazon SageMaker permission to access
|
|
6776
|
+
# resources on your behalf.
|
|
6777
|
+
#
|
|
6778
|
+
# Use the `AgentRFT` category to fine-tune a model using multi-turn
|
|
6779
|
+
# reinforcement learning with reward signals. Use the
|
|
6780
|
+
# `AgentRFTEvaluation` category to evaluate a fine-tuned or base model
|
|
6781
|
+
# by running multi-turn rollouts against a held-out prompt dataset and
|
|
6782
|
+
# computing metrics such as pass@k and mean reward.
|
|
6783
|
+
#
|
|
6784
|
+
# Before creating a job, call `ListJobSchemaVersions` and
|
|
6785
|
+
# `DescribeJobSchemaVersion` to retrieve the configuration schema for
|
|
6786
|
+
# your job category. The `JobConfigDocument` must conform to the schema
|
|
6787
|
+
# specified by `JobConfigSchemaVersion`.
|
|
6788
|
+
#
|
|
6789
|
+
# The following operations are related to `CreateJob`:
|
|
6790
|
+
#
|
|
6791
|
+
# * `DescribeJob`
|
|
6792
|
+
#
|
|
6793
|
+
# * `ListJobs`
|
|
6794
|
+
#
|
|
6795
|
+
# * `StopJob`
|
|
6796
|
+
#
|
|
6797
|
+
# * `DeleteJob`
|
|
6798
|
+
#
|
|
6799
|
+
# * `ListJobSchemaVersions`
|
|
6800
|
+
#
|
|
6801
|
+
# * `DescribeJobSchemaVersion`
|
|
6802
|
+
#
|
|
6803
|
+
# @option params [required, String] :job_name
|
|
6804
|
+
# The name of the job. The name must be unique within your account and
|
|
6805
|
+
# Amazon Web Services Region.
|
|
6806
|
+
#
|
|
6807
|
+
# @option params [required, String] :role_arn
|
|
6808
|
+
# The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
|
|
6809
|
+
# assumes to perform the job. The role must have the necessary
|
|
6810
|
+
# permissions to access the resources required by the job configuration.
|
|
6811
|
+
#
|
|
6812
|
+
# @option params [required, String] :job_category
|
|
6813
|
+
# The category of the job. The category determines the type of workload
|
|
6814
|
+
# that the job runs.
|
|
6815
|
+
#
|
|
6816
|
+
# @option params [required, String] :job_config_schema_version
|
|
6817
|
+
# The version of the configuration schema to use for the job
|
|
6818
|
+
# configuration document. Use `ListJobSchemaVersions` to get available
|
|
6819
|
+
# schema versions for a job category.
|
|
6820
|
+
#
|
|
6821
|
+
# @option params [required, String] :job_config_document
|
|
6822
|
+
# The JSON configuration document for the job. The document must conform
|
|
6823
|
+
# to the schema specified by `JobConfigSchemaVersion`. Use
|
|
6824
|
+
# `DescribeJobSchemaVersion` to retrieve the schema for validation.
|
|
6825
|
+
#
|
|
6826
|
+
# @option params [Array<Types::Tag>] :tags
|
|
6827
|
+
# An array of key-value pairs to apply to the job as tags. For more
|
|
6828
|
+
# information, see [Tagging Amazon Web Services Resources][1].
|
|
6829
|
+
#
|
|
6830
|
+
#
|
|
6831
|
+
#
|
|
6832
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
6833
|
+
#
|
|
6834
|
+
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6835
|
+
#
|
|
6836
|
+
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
|
6837
|
+
#
|
|
6838
|
+
# @example Request syntax with placeholder values
|
|
6839
|
+
#
|
|
6840
|
+
# resp = client.create_job({
|
|
6841
|
+
# job_name: "JobName", # required
|
|
6842
|
+
# role_arn: "RoleArn", # required
|
|
6843
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
6844
|
+
# job_config_schema_version: "JobSchemaVersion", # required
|
|
6845
|
+
# job_config_document: "JobConfigDocument", # required
|
|
6846
|
+
# tags: [
|
|
6847
|
+
# {
|
|
6848
|
+
# key: "TagKey", # required
|
|
6849
|
+
# value: "TagValue", # required
|
|
6850
|
+
# },
|
|
6851
|
+
# ],
|
|
6852
|
+
# })
|
|
6853
|
+
#
|
|
6854
|
+
# @example Response structure
|
|
6855
|
+
#
|
|
6856
|
+
# resp.job_arn #=> String
|
|
6857
|
+
#
|
|
6858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateJob AWS API Documentation
|
|
6859
|
+
#
|
|
6860
|
+
# @overload create_job(params = {})
|
|
6861
|
+
# @param [Hash] params ({})
|
|
6862
|
+
def create_job(params = {}, options = {})
|
|
6863
|
+
req = build_request(:create_job, params)
|
|
6864
|
+
req.send_request(options)
|
|
6865
|
+
end
|
|
6866
|
+
|
|
6772
6867
|
# Creates a job that uses workers to label the data objects in your
|
|
6773
6868
|
# input dataset. You can use the labeled data to train machine learning
|
|
6774
6869
|
# models.
|
|
@@ -12928,6 +13023,41 @@ module Aws::SageMaker
|
|
|
12928
13023
|
req.send_request(options)
|
|
12929
13024
|
end
|
|
12930
13025
|
|
|
13026
|
+
# Deletes a job. This operation is idempotent. If the job is currently
|
|
13027
|
+
# running, you must stop it before deleting it by calling `StopJob`.
|
|
13028
|
+
#
|
|
13029
|
+
# The following operations are related to `DeleteJob`:
|
|
13030
|
+
#
|
|
13031
|
+
# * `CreateJob`
|
|
13032
|
+
#
|
|
13033
|
+
# * `StopJob`
|
|
13034
|
+
#
|
|
13035
|
+
# * `DescribeJob`
|
|
13036
|
+
#
|
|
13037
|
+
# @option params [required, String] :job_name
|
|
13038
|
+
# The name of the job to delete.
|
|
13039
|
+
#
|
|
13040
|
+
# @option params [required, String] :job_category
|
|
13041
|
+
# The category of the job to delete.
|
|
13042
|
+
#
|
|
13043
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
13044
|
+
#
|
|
13045
|
+
# @example Request syntax with placeholder values
|
|
13046
|
+
#
|
|
13047
|
+
# resp = client.delete_job({
|
|
13048
|
+
# job_name: "JobName", # required
|
|
13049
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
13050
|
+
# })
|
|
13051
|
+
#
|
|
13052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteJob AWS API Documentation
|
|
13053
|
+
#
|
|
13054
|
+
# @overload delete_job(params = {})
|
|
13055
|
+
# @param [Hash] params ({})
|
|
13056
|
+
def delete_job(params = {}, options = {})
|
|
13057
|
+
req = build_request(:delete_job, params)
|
|
13058
|
+
req.send_request(options)
|
|
13059
|
+
end
|
|
13060
|
+
|
|
12931
13061
|
# Deletes an MLflow App.
|
|
12932
13062
|
#
|
|
12933
13063
|
# @option params [required, String] :arn
|
|
@@ -17582,6 +17712,131 @@ module Aws::SageMaker
|
|
|
17582
17712
|
req.send_request(options)
|
|
17583
17713
|
end
|
|
17584
17714
|
|
|
17715
|
+
# Returns detailed information about a job, including its current
|
|
17716
|
+
# status, secondary status, configuration, and timestamps. Use
|
|
17717
|
+
# `SecondaryStatus` for granular progress tracking and
|
|
17718
|
+
# `SecondaryStatusTransitions` to see the full history of status changes
|
|
17719
|
+
# with timestamps.
|
|
17720
|
+
#
|
|
17721
|
+
# The following operations are related to `DescribeJob`:
|
|
17722
|
+
#
|
|
17723
|
+
# * `CreateJob`
|
|
17724
|
+
#
|
|
17725
|
+
# * `ListJobs`
|
|
17726
|
+
#
|
|
17727
|
+
# * `StopJob`
|
|
17728
|
+
#
|
|
17729
|
+
# * `DeleteJob`
|
|
17730
|
+
#
|
|
17731
|
+
# @option params [required, String] :job_name
|
|
17732
|
+
# The name of the job to describe.
|
|
17733
|
+
#
|
|
17734
|
+
# @option params [required, String] :job_category
|
|
17735
|
+
# The category of the job.
|
|
17736
|
+
#
|
|
17737
|
+
# @return [Types::DescribeJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
17738
|
+
#
|
|
17739
|
+
# * {Types::DescribeJobResponse#job_name #job_name} => String
|
|
17740
|
+
# * {Types::DescribeJobResponse#job_arn #job_arn} => String
|
|
17741
|
+
# * {Types::DescribeJobResponse#role_arn #role_arn} => String
|
|
17742
|
+
# * {Types::DescribeJobResponse#job_category #job_category} => String
|
|
17743
|
+
# * {Types::DescribeJobResponse#job_config_schema_version #job_config_schema_version} => String
|
|
17744
|
+
# * {Types::DescribeJobResponse#job_config_document #job_config_document} => String
|
|
17745
|
+
# * {Types::DescribeJobResponse#creation_time #creation_time} => Time
|
|
17746
|
+
# * {Types::DescribeJobResponse#last_modified_time #last_modified_time} => Time
|
|
17747
|
+
# * {Types::DescribeJobResponse#end_time #end_time} => Time
|
|
17748
|
+
# * {Types::DescribeJobResponse#job_status #job_status} => String
|
|
17749
|
+
# * {Types::DescribeJobResponse#secondary_status #secondary_status} => String
|
|
17750
|
+
# * {Types::DescribeJobResponse#secondary_status_transitions #secondary_status_transitions} => Array<Types::JobSecondaryStatusTransition>
|
|
17751
|
+
# * {Types::DescribeJobResponse#failure_reason #failure_reason} => String
|
|
17752
|
+
# * {Types::DescribeJobResponse#tags #tags} => Array<Types::Tag>
|
|
17753
|
+
#
|
|
17754
|
+
# @example Request syntax with placeholder values
|
|
17755
|
+
#
|
|
17756
|
+
# resp = client.describe_job({
|
|
17757
|
+
# job_name: "JobName", # required
|
|
17758
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
17759
|
+
# })
|
|
17760
|
+
#
|
|
17761
|
+
# @example Response structure
|
|
17762
|
+
#
|
|
17763
|
+
# resp.job_name #=> String
|
|
17764
|
+
# resp.job_arn #=> String
|
|
17765
|
+
# resp.role_arn #=> String
|
|
17766
|
+
# resp.job_category #=> String, one of "AgentRFT", "AgentRFTEvaluation"
|
|
17767
|
+
# resp.job_config_schema_version #=> String
|
|
17768
|
+
# resp.job_config_document #=> String
|
|
17769
|
+
# resp.creation_time #=> Time
|
|
17770
|
+
# resp.last_modified_time #=> Time
|
|
17771
|
+
# resp.end_time #=> Time
|
|
17772
|
+
# resp.job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting", "DeleteFailed"
|
|
17773
|
+
# resp.secondary_status #=> String, one of "Starting", "Downloading", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Interrupted", "Failed", "Completed", "Restarting", "Pending", "Evaluating", "Deleting", "DeleteFailed"
|
|
17774
|
+
# resp.secondary_status_transitions #=> Array
|
|
17775
|
+
# resp.secondary_status_transitions[0].status #=> String, one of "Starting", "Downloading", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Interrupted", "Failed", "Completed", "Restarting", "Pending", "Evaluating", "Deleting", "DeleteFailed"
|
|
17776
|
+
# resp.secondary_status_transitions[0].start_time #=> Time
|
|
17777
|
+
# resp.secondary_status_transitions[0].end_time #=> Time
|
|
17778
|
+
# resp.secondary_status_transitions[0].status_message #=> String
|
|
17779
|
+
# resp.failure_reason #=> String
|
|
17780
|
+
# resp.tags #=> Array
|
|
17781
|
+
# resp.tags[0].key #=> String
|
|
17782
|
+
# resp.tags[0].value #=> String
|
|
17783
|
+
#
|
|
17784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeJob AWS API Documentation
|
|
17785
|
+
#
|
|
17786
|
+
# @overload describe_job(params = {})
|
|
17787
|
+
# @param [Hash] params ({})
|
|
17788
|
+
def describe_job(params = {}, options = {})
|
|
17789
|
+
req = build_request(:describe_job, params)
|
|
17790
|
+
req.send_request(options)
|
|
17791
|
+
end
|
|
17792
|
+
|
|
17793
|
+
# Returns the JSON schema for a specified job category and schema
|
|
17794
|
+
# version. Use this schema to validate your `JobConfigDocument` before
|
|
17795
|
+
# calling `CreateJob`. If you don't specify a schema version, the
|
|
17796
|
+
# latest version is returned. The schema defines required fields,
|
|
17797
|
+
# allowed values, and constraints for the job configuration.
|
|
17798
|
+
#
|
|
17799
|
+
# The following operations are related to `DescribeJobSchemaVersion`:
|
|
17800
|
+
#
|
|
17801
|
+
# * `ListJobSchemaVersions`
|
|
17802
|
+
#
|
|
17803
|
+
# * `CreateJob`
|
|
17804
|
+
#
|
|
17805
|
+
# @option params [required, String] :job_category
|
|
17806
|
+
# The category of the job schema to describe.
|
|
17807
|
+
#
|
|
17808
|
+
# @option params [String] :job_config_schema_version
|
|
17809
|
+
# The version of the schema to retrieve. If not specified, the latest
|
|
17810
|
+
# version is returned.
|
|
17811
|
+
#
|
|
17812
|
+
# @return [Types::DescribeJobSchemaVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
17813
|
+
#
|
|
17814
|
+
# * {Types::DescribeJobSchemaVersionResponse#job_category #job_category} => String
|
|
17815
|
+
# * {Types::DescribeJobSchemaVersionResponse#job_config_schema_version #job_config_schema_version} => String
|
|
17816
|
+
# * {Types::DescribeJobSchemaVersionResponse#job_config_schema #job_config_schema} => String
|
|
17817
|
+
#
|
|
17818
|
+
# @example Request syntax with placeholder values
|
|
17819
|
+
#
|
|
17820
|
+
# resp = client.describe_job_schema_version({
|
|
17821
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
17822
|
+
# job_config_schema_version: "JobSchemaVersion",
|
|
17823
|
+
# })
|
|
17824
|
+
#
|
|
17825
|
+
# @example Response structure
|
|
17826
|
+
#
|
|
17827
|
+
# resp.job_category #=> String, one of "AgentRFT", "AgentRFTEvaluation"
|
|
17828
|
+
# resp.job_config_schema_version #=> String
|
|
17829
|
+
# resp.job_config_schema #=> String
|
|
17830
|
+
#
|
|
17831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeJobSchemaVersion AWS API Documentation
|
|
17832
|
+
#
|
|
17833
|
+
# @overload describe_job_schema_version(params = {})
|
|
17834
|
+
# @param [Hash] params ({})
|
|
17835
|
+
def describe_job_schema_version(params = {}, options = {})
|
|
17836
|
+
req = build_request(:describe_job_schema_version, params)
|
|
17837
|
+
req.send_request(options)
|
|
17838
|
+
end
|
|
17839
|
+
|
|
17585
17840
|
# Gets information about a labeling job.
|
|
17586
17841
|
#
|
|
17587
17842
|
# @option params [required, String] :labeling_job_name
|
|
@@ -24564,6 +24819,150 @@ module Aws::SageMaker
|
|
|
24564
24819
|
req.send_request(options)
|
|
24565
24820
|
end
|
|
24566
24821
|
|
|
24822
|
+
# Lists available configuration schema versions for a specified job
|
|
24823
|
+
# category. Use the schema versions with `DescribeJobSchemaVersion` to
|
|
24824
|
+
# retrieve the full schema document.
|
|
24825
|
+
#
|
|
24826
|
+
# The following operations are related to `ListJobSchemaVersions`:
|
|
24827
|
+
#
|
|
24828
|
+
# * `DescribeJobSchemaVersion`
|
|
24829
|
+
#
|
|
24830
|
+
# * `CreateJob`
|
|
24831
|
+
#
|
|
24832
|
+
# @option params [required, String] :job_category
|
|
24833
|
+
# The category of job schemas to list.
|
|
24834
|
+
#
|
|
24835
|
+
# @option params [String] :next_token
|
|
24836
|
+
# If the previous response was truncated, this token retrieves the next
|
|
24837
|
+
# set of results.
|
|
24838
|
+
#
|
|
24839
|
+
# @option params [Integer] :max_results
|
|
24840
|
+
# The maximum number of schema versions to return in the response. The
|
|
24841
|
+
# default value is 5.
|
|
24842
|
+
#
|
|
24843
|
+
# @return [Types::ListJobSchemaVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
24844
|
+
#
|
|
24845
|
+
# * {Types::ListJobSchemaVersionsResponse#next_token #next_token} => String
|
|
24846
|
+
# * {Types::ListJobSchemaVersionsResponse#job_config_schemas #job_config_schemas} => Array<Types::JobConfigSchemaVersionSummary>
|
|
24847
|
+
#
|
|
24848
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
24849
|
+
#
|
|
24850
|
+
# @example Request syntax with placeholder values
|
|
24851
|
+
#
|
|
24852
|
+
# resp = client.list_job_schema_versions({
|
|
24853
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
24854
|
+
# next_token: "NextToken",
|
|
24855
|
+
# max_results: 1,
|
|
24856
|
+
# })
|
|
24857
|
+
#
|
|
24858
|
+
# @example Response structure
|
|
24859
|
+
#
|
|
24860
|
+
# resp.next_token #=> String
|
|
24861
|
+
# resp.job_config_schemas #=> Array
|
|
24862
|
+
# resp.job_config_schemas[0].job_config_schema_version #=> String
|
|
24863
|
+
#
|
|
24864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListJobSchemaVersions AWS API Documentation
|
|
24865
|
+
#
|
|
24866
|
+
# @overload list_job_schema_versions(params = {})
|
|
24867
|
+
# @param [Hash] params ({})
|
|
24868
|
+
def list_job_schema_versions(params = {}, options = {})
|
|
24869
|
+
req = build_request(:list_job_schema_versions, params)
|
|
24870
|
+
req.send_request(options)
|
|
24871
|
+
end
|
|
24872
|
+
|
|
24873
|
+
# Lists jobs in a specified category. You can filter results by creation
|
|
24874
|
+
# time, last modified time, name, and status. Results are sorted by the
|
|
24875
|
+
# field you specify in `SortBy`. Use pagination to retrieve large result
|
|
24876
|
+
# sets efficiently.
|
|
24877
|
+
#
|
|
24878
|
+
# The following operations are related to `ListJobs`:
|
|
24879
|
+
#
|
|
24880
|
+
# * `CreateJob`
|
|
24881
|
+
#
|
|
24882
|
+
# * `DescribeJob`
|
|
24883
|
+
#
|
|
24884
|
+
# @option params [required, String] :job_category
|
|
24885
|
+
# The category of jobs to list.
|
|
24886
|
+
#
|
|
24887
|
+
# @option params [String] :next_token
|
|
24888
|
+
# If the previous response was truncated, this token retrieves the next
|
|
24889
|
+
# set of results.
|
|
24890
|
+
#
|
|
24891
|
+
# @option params [Integer] :max_results
|
|
24892
|
+
# The maximum number of jobs to return in the response. The default
|
|
24893
|
+
# value is 50.
|
|
24894
|
+
#
|
|
24895
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
24896
|
+
# A filter that returns only jobs created after the specified time.
|
|
24897
|
+
#
|
|
24898
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_before
|
|
24899
|
+
# A filter that returns only jobs created before the specified time.
|
|
24900
|
+
#
|
|
24901
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_modified_time_after
|
|
24902
|
+
# A filter that returns only jobs modified after the specified time.
|
|
24903
|
+
#
|
|
24904
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
|
|
24905
|
+
# A filter that returns only jobs modified before the specified time.
|
|
24906
|
+
#
|
|
24907
|
+
# @option params [String] :name_contains
|
|
24908
|
+
# A string in the job name to filter results. Only jobs whose name
|
|
24909
|
+
# contains the specified string are returned.
|
|
24910
|
+
#
|
|
24911
|
+
# @option params [String] :sort_by
|
|
24912
|
+
# The field to sort results by.
|
|
24913
|
+
#
|
|
24914
|
+
# @option params [String] :sort_order
|
|
24915
|
+
# The sort order for results. Valid values are `Ascending` and
|
|
24916
|
+
# `Descending`.
|
|
24917
|
+
#
|
|
24918
|
+
# @option params [String] :status_equals
|
|
24919
|
+
# A filter that returns only jobs with the specified status.
|
|
24920
|
+
#
|
|
24921
|
+
# @return [Types::ListJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
24922
|
+
#
|
|
24923
|
+
# * {Types::ListJobsResponse#next_token #next_token} => String
|
|
24924
|
+
# * {Types::ListJobsResponse#job_summaries #job_summaries} => Array<Types::JobSummary>
|
|
24925
|
+
#
|
|
24926
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
24927
|
+
#
|
|
24928
|
+
# @example Request syntax with placeholder values
|
|
24929
|
+
#
|
|
24930
|
+
# resp = client.list_jobs({
|
|
24931
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
24932
|
+
# next_token: "NextToken",
|
|
24933
|
+
# max_results: 1,
|
|
24934
|
+
# creation_time_after: Time.now,
|
|
24935
|
+
# creation_time_before: Time.now,
|
|
24936
|
+
# last_modified_time_after: Time.now,
|
|
24937
|
+
# last_modified_time_before: Time.now,
|
|
24938
|
+
# name_contains: "NameContains",
|
|
24939
|
+
# sort_by: "Name", # accepts Name, CreationTime, Status
|
|
24940
|
+
# sort_order: "Ascending", # accepts Ascending, Descending
|
|
24941
|
+
# status_equals: "InProgress", # accepts InProgress, Completed, Failed, Stopping, Stopped, Deleting, DeleteFailed
|
|
24942
|
+
# })
|
|
24943
|
+
#
|
|
24944
|
+
# @example Response structure
|
|
24945
|
+
#
|
|
24946
|
+
# resp.next_token #=> String
|
|
24947
|
+
# resp.job_summaries #=> Array
|
|
24948
|
+
# resp.job_summaries[0].job_arn #=> String
|
|
24949
|
+
# resp.job_summaries[0].job_name #=> String
|
|
24950
|
+
# resp.job_summaries[0].job_category #=> String, one of "AgentRFT", "AgentRFTEvaluation"
|
|
24951
|
+
# resp.job_summaries[0].job_status #=> String, one of "InProgress", "Completed", "Failed", "Stopping", "Stopped", "Deleting", "DeleteFailed"
|
|
24952
|
+
# resp.job_summaries[0].job_secondary_status #=> String, one of "Starting", "Downloading", "Training", "Uploading", "Stopping", "Stopped", "MaxRuntimeExceeded", "Interrupted", "Failed", "Completed", "Restarting", "Pending", "Evaluating", "Deleting", "DeleteFailed"
|
|
24953
|
+
# resp.job_summaries[0].creation_time #=> Time
|
|
24954
|
+
# resp.job_summaries[0].last_modified_time #=> Time
|
|
24955
|
+
# resp.job_summaries[0].end_time #=> Time
|
|
24956
|
+
#
|
|
24957
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListJobs AWS API Documentation
|
|
24958
|
+
#
|
|
24959
|
+
# @overload list_jobs(params = {})
|
|
24960
|
+
# @param [Hash] params ({})
|
|
24961
|
+
def list_jobs(params = {}, options = {})
|
|
24962
|
+
req = build_request(:list_jobs, params)
|
|
24963
|
+
req.send_request(options)
|
|
24964
|
+
end
|
|
24965
|
+
|
|
24567
24966
|
# Gets a list of labeling jobs.
|
|
24568
24967
|
#
|
|
24569
24968
|
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
|
@@ -26470,6 +26869,7 @@ module Aws::SageMaker
|
|
|
26470
26869
|
# resp.pipeline_execution_steps[0].metadata.lineage.associations #=> Array
|
|
26471
26870
|
# resp.pipeline_execution_steps[0].metadata.lineage.associations[0].source_arn #=> String
|
|
26472
26871
|
# resp.pipeline_execution_steps[0].metadata.lineage.associations[0].destination_arn #=> String
|
|
26872
|
+
# resp.pipeline_execution_steps[0].metadata.job.arn #=> String
|
|
26473
26873
|
# resp.pipeline_execution_steps[0].attempt_count #=> Integer
|
|
26474
26874
|
# resp.pipeline_execution_steps[0].selective_execution_result.source_pipeline_execution_arn #=> String
|
|
26475
26875
|
# resp.next_token #=> String
|
|
@@ -29302,6 +29702,43 @@ module Aws::SageMaker
|
|
|
29302
29702
|
req.send_request(options)
|
|
29303
29703
|
end
|
|
29304
29704
|
|
|
29705
|
+
# Stops a running job. When you call `StopJob`, Amazon SageMaker sets
|
|
29706
|
+
# the job status to `Stopping`. After the job stops, the status changes
|
|
29707
|
+
# to `Stopped`. Partial results may be available in the output location
|
|
29708
|
+
# if the job was in progress. To delete a stopped job, call `DeleteJob`.
|
|
29709
|
+
#
|
|
29710
|
+
# The following operations are related to `StopJob`:
|
|
29711
|
+
#
|
|
29712
|
+
# * `CreateJob`
|
|
29713
|
+
#
|
|
29714
|
+
# * `DescribeJob`
|
|
29715
|
+
#
|
|
29716
|
+
# * `DeleteJob`
|
|
29717
|
+
#
|
|
29718
|
+
# @option params [required, String] :job_name
|
|
29719
|
+
# The name of the job to stop.
|
|
29720
|
+
#
|
|
29721
|
+
# @option params [required, String] :job_category
|
|
29722
|
+
# The category of the job to stop.
|
|
29723
|
+
#
|
|
29724
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
29725
|
+
#
|
|
29726
|
+
# @example Request syntax with placeholder values
|
|
29727
|
+
#
|
|
29728
|
+
# resp = client.stop_job({
|
|
29729
|
+
# job_name: "JobName", # required
|
|
29730
|
+
# job_category: "AgentRFT", # required, accepts AgentRFT, AgentRFTEvaluation
|
|
29731
|
+
# })
|
|
29732
|
+
#
|
|
29733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopJob AWS API Documentation
|
|
29734
|
+
#
|
|
29735
|
+
# @overload stop_job(params = {})
|
|
29736
|
+
# @param [Hash] params ({})
|
|
29737
|
+
def stop_job(params = {}, options = {})
|
|
29738
|
+
req = build_request(:stop_job, params)
|
|
29739
|
+
req.send_request(options)
|
|
29740
|
+
end
|
|
29741
|
+
|
|
29305
29742
|
# Stops a running labeling job. A job that is stopped cannot be
|
|
29306
29743
|
# restarted. Any results obtained before the job is stopped are placed
|
|
29307
29744
|
# in the Amazon S3 output bucket.
|
|
@@ -33871,7 +34308,7 @@ module Aws::SageMaker
|
|
|
33871
34308
|
tracer: tracer
|
|
33872
34309
|
)
|
|
33873
34310
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
|
33874
|
-
context[:gem_version] = '1.
|
|
34311
|
+
context[:gem_version] = '1.370.0'
|
|
33875
34312
|
Seahorse::Client::Request.new(handlers, context)
|
|
33876
34313
|
end
|
|
33877
34314
|
|