aws-sdk-sagemaker 1.252.0 → 1.253.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 +432 -1
- data/lib/aws-sdk-sagemaker/client_api.rb +223 -0
- data/lib/aws-sdk-sagemaker/endpoints.rb +70 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-sagemaker/types.rb +690 -7
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +151 -0
- data/sig/types.rbs +163 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65643daae5732b90c7adde25e2bfa40d8347c730294d6d82d770eafc10aff6a
|
4
|
+
data.tar.gz: 4a9c353264dbf3efc88ff09ef3067b95fc06b439b7319cc5cfe1669212ed6df9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f64a1e24eabde074d6c6be63887a2f695cb17cb26f6f37bab979410aab9fb0f2fdc80d76311f0fa14f66cbca2bc3cd37b9f7fbc7b4f0b927b660f2bbe66867b4
|
7
|
+
data.tar.gz: '088e50c97fab14b5214acd5cb4df0dcc8c15b5b814f3655c241ccc4717521d8eaa5ad8d2eb71ab1a57ceb5fc207569a59f201b051f9b3e0e134d73ba8687b6df'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.253.0 (2024-07-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action.
|
8
|
+
|
4
9
|
1.252.0 (2024-07-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.253.0
|
@@ -2688,6 +2688,10 @@ module Aws::SageMaker
|
|
2688
2688
|
# enable_docker_access: "ENABLED", # accepts ENABLED, DISABLED
|
2689
2689
|
# vpc_only_trusted_accounts: ["AccountId"],
|
2690
2690
|
# },
|
2691
|
+
# amazon_q_settings: {
|
2692
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2693
|
+
# q_profile_arn: "QProfileArn",
|
2694
|
+
# },
|
2691
2695
|
# },
|
2692
2696
|
# subnet_ids: ["SubnetId"], # required
|
2693
2697
|
# vpc_id: "VpcId", # required
|
@@ -5686,6 +5690,22 @@ module Aws::SageMaker
|
|
5686
5690
|
# },
|
5687
5691
|
# },
|
5688
5692
|
# },
|
5693
|
+
# additional_model_data_sources: [
|
5694
|
+
# {
|
5695
|
+
# channel_name: "AdditionalModelChannelName", # required
|
5696
|
+
# s3_data_source: { # required
|
5697
|
+
# s3_uri: "S3ModelUri", # required
|
5698
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
5699
|
+
# compression_type: "None", # required, accepts None, Gzip
|
5700
|
+
# model_access_config: {
|
5701
|
+
# accept_eula: false, # required
|
5702
|
+
# },
|
5703
|
+
# hub_access_config: {
|
5704
|
+
# hub_content_arn: "HubContentArn", # required
|
5705
|
+
# },
|
5706
|
+
# },
|
5707
|
+
# },
|
5708
|
+
# ],
|
5689
5709
|
# environment: {
|
5690
5710
|
# "EnvironmentKey" => "EnvironmentValue",
|
5691
5711
|
# },
|
@@ -5720,6 +5740,22 @@ module Aws::SageMaker
|
|
5720
5740
|
# },
|
5721
5741
|
# },
|
5722
5742
|
# },
|
5743
|
+
# additional_model_data_sources: [
|
5744
|
+
# {
|
5745
|
+
# channel_name: "AdditionalModelChannelName", # required
|
5746
|
+
# s3_data_source: { # required
|
5747
|
+
# s3_uri: "S3ModelUri", # required
|
5748
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
5749
|
+
# compression_type: "None", # required, accepts None, Gzip
|
5750
|
+
# model_access_config: {
|
5751
|
+
# accept_eula: false, # required
|
5752
|
+
# },
|
5753
|
+
# hub_access_config: {
|
5754
|
+
# hub_content_arn: "HubContentArn", # required
|
5755
|
+
# },
|
5756
|
+
# },
|
5757
|
+
# },
|
5758
|
+
# ],
|
5723
5759
|
# environment: {
|
5724
5760
|
# "EnvironmentKey" => "EnvironmentValue",
|
5725
5761
|
# },
|
@@ -7330,6 +7366,169 @@ module Aws::SageMaker
|
|
7330
7366
|
req.send_request(options)
|
7331
7367
|
end
|
7332
7368
|
|
7369
|
+
# Creates a job that optimizes a model for inference performance. To
|
7370
|
+
# create the job, you provide the location of a source model, and you
|
7371
|
+
# provide the settings for the optimization techniques that you want the
|
7372
|
+
# job to apply. When the job completes successfully, SageMaker uploads
|
7373
|
+
# the new optimized model to the output destination that you specify.
|
7374
|
+
#
|
7375
|
+
# For more information about how to use this action, and about the
|
7376
|
+
# supported optimization techniques, see [Optimize model inference with
|
7377
|
+
# Amazon SageMaker][1].
|
7378
|
+
#
|
7379
|
+
#
|
7380
|
+
#
|
7381
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/model-optimize.html
|
7382
|
+
#
|
7383
|
+
# @option params [required, String] :optimization_job_name
|
7384
|
+
# A custom name for the new optimization job.
|
7385
|
+
#
|
7386
|
+
# @option params [required, String] :role_arn
|
7387
|
+
# The Amazon Resource Name (ARN) of an IAM role that enables Amazon
|
7388
|
+
# SageMaker to perform tasks on your behalf.
|
7389
|
+
#
|
7390
|
+
# During model optimization, Amazon SageMaker needs your permission to:
|
7391
|
+
#
|
7392
|
+
# * Read input data from an S3 bucket
|
7393
|
+
#
|
7394
|
+
# * Write model artifacts to an S3 bucket
|
7395
|
+
#
|
7396
|
+
# * Write logs to Amazon CloudWatch Logs
|
7397
|
+
#
|
7398
|
+
# * Publish metrics to Amazon CloudWatch
|
7399
|
+
#
|
7400
|
+
# You grant permissions for all of these tasks to an IAM role. To pass
|
7401
|
+
# this role to Amazon SageMaker, the caller of this API must have the
|
7402
|
+
# `iam:PassRole` permission. For more information, see [Amazon SageMaker
|
7403
|
+
# Roles.][1]
|
7404
|
+
#
|
7405
|
+
#
|
7406
|
+
#
|
7407
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html
|
7408
|
+
#
|
7409
|
+
# @option params [required, Types::OptimizationJobModelSource] :model_source
|
7410
|
+
# The location of the source model to optimize with an optimization job.
|
7411
|
+
#
|
7412
|
+
# @option params [required, String] :deployment_instance_type
|
7413
|
+
# The type of instance that hosts the optimized model that you create
|
7414
|
+
# with the optimization job.
|
7415
|
+
#
|
7416
|
+
# @option params [Hash<String,String>] :optimization_environment
|
7417
|
+
# The environment variables to set in the model container.
|
7418
|
+
#
|
7419
|
+
# @option params [required, Array<Types::OptimizationConfig>] :optimization_configs
|
7420
|
+
# Settings for each of the optimization techniques that the job applies.
|
7421
|
+
#
|
7422
|
+
# @option params [required, Types::OptimizationJobOutputConfig] :output_config
|
7423
|
+
# Details for where to store the optimized model that you create with
|
7424
|
+
# the optimization job.
|
7425
|
+
#
|
7426
|
+
# @option params [required, Types::StoppingCondition] :stopping_condition
|
7427
|
+
# Specifies a limit to how long a job can run. When the job reaches the
|
7428
|
+
# time limit, SageMaker ends the job. Use this API to cap costs.
|
7429
|
+
#
|
7430
|
+
# To stop a training job, SageMaker sends the algorithm the `SIGTERM`
|
7431
|
+
# signal, which delays job termination for 120 seconds. Algorithms can
|
7432
|
+
# use this 120-second window to save the model artifacts, so the results
|
7433
|
+
# of training are not lost.
|
7434
|
+
#
|
7435
|
+
# The training algorithms provided by SageMaker automatically save the
|
7436
|
+
# intermediate results of a model training job when possible. This
|
7437
|
+
# attempt to save artifacts is only a best effort case as model might
|
7438
|
+
# not be in a state from which it can be saved. For example, if training
|
7439
|
+
# has just started, the model might not be ready to save. When saved,
|
7440
|
+
# this intermediate data is a valid model artifact. You can use it to
|
7441
|
+
# create a model with `CreateModel`.
|
7442
|
+
#
|
7443
|
+
# <note markdown="1"> The Neural Topic Model (NTM) currently does not support saving
|
7444
|
+
# intermediate model artifacts. When training NTMs, make sure that the
|
7445
|
+
# maximum runtime is sufficient for the training job to complete.
|
7446
|
+
#
|
7447
|
+
# </note>
|
7448
|
+
#
|
7449
|
+
# @option params [Array<Types::Tag>] :tags
|
7450
|
+
# A list of key-value pairs associated with the optimization job. For
|
7451
|
+
# more information, see [Tagging Amazon Web Services resources][1] in
|
7452
|
+
# the *Amazon Web Services General Reference Guide*.
|
7453
|
+
#
|
7454
|
+
#
|
7455
|
+
#
|
7456
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
7457
|
+
#
|
7458
|
+
# @option params [Types::OptimizationVpcConfig] :vpc_config
|
7459
|
+
# A VPC in Amazon VPC that your optimized model has access to.
|
7460
|
+
#
|
7461
|
+
# @return [Types::CreateOptimizationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7462
|
+
#
|
7463
|
+
# * {Types::CreateOptimizationJobResponse#optimization_job_arn #optimization_job_arn} => String
|
7464
|
+
#
|
7465
|
+
# @example Request syntax with placeholder values
|
7466
|
+
#
|
7467
|
+
# resp = client.create_optimization_job({
|
7468
|
+
# optimization_job_name: "EntityName", # required
|
7469
|
+
# role_arn: "RoleArn", # required
|
7470
|
+
# model_source: { # required
|
7471
|
+
# s3: {
|
7472
|
+
# s3_uri: "S3Uri",
|
7473
|
+
# model_access_config: {
|
7474
|
+
# accept_eula: false, # required
|
7475
|
+
# },
|
7476
|
+
# },
|
7477
|
+
# },
|
7478
|
+
# deployment_instance_type: "ml.p4d.24xlarge", # required, accepts ml.p4d.24xlarge, ml.p4de.24xlarge, ml.p5.48xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.12xlarge, ml.g5.16xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.inf2.xlarge, ml.inf2.8xlarge, ml.inf2.24xlarge, ml.inf2.48xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge
|
7479
|
+
# optimization_environment: {
|
7480
|
+
# "NonEmptyString256" => "String256",
|
7481
|
+
# },
|
7482
|
+
# optimization_configs: [ # required
|
7483
|
+
# {
|
7484
|
+
# model_quantization_config: {
|
7485
|
+
# image: "OptimizationContainerImage",
|
7486
|
+
# override_environment: {
|
7487
|
+
# "NonEmptyString256" => "String256",
|
7488
|
+
# },
|
7489
|
+
# },
|
7490
|
+
# model_compilation_config: {
|
7491
|
+
# image: "OptimizationContainerImage",
|
7492
|
+
# override_environment: {
|
7493
|
+
# "NonEmptyString256" => "String256",
|
7494
|
+
# },
|
7495
|
+
# },
|
7496
|
+
# },
|
7497
|
+
# ],
|
7498
|
+
# output_config: { # required
|
7499
|
+
# kms_key_id: "KmsKeyId",
|
7500
|
+
# s3_output_location: "S3Uri", # required
|
7501
|
+
# },
|
7502
|
+
# stopping_condition: { # required
|
7503
|
+
# max_runtime_in_seconds: 1,
|
7504
|
+
# max_wait_time_in_seconds: 1,
|
7505
|
+
# max_pending_time_in_seconds: 1,
|
7506
|
+
# },
|
7507
|
+
# tags: [
|
7508
|
+
# {
|
7509
|
+
# key: "TagKey", # required
|
7510
|
+
# value: "TagValue", # required
|
7511
|
+
# },
|
7512
|
+
# ],
|
7513
|
+
# vpc_config: {
|
7514
|
+
# security_group_ids: ["OptimizationVpcSecurityGroupId"], # required
|
7515
|
+
# subnets: ["OptimizationVpcSubnetId"], # required
|
7516
|
+
# },
|
7517
|
+
# })
|
7518
|
+
#
|
7519
|
+
# @example Response structure
|
7520
|
+
#
|
7521
|
+
# resp.optimization_job_arn #=> String
|
7522
|
+
#
|
7523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateOptimizationJob AWS API Documentation
|
7524
|
+
#
|
7525
|
+
# @overload create_optimization_job(params = {})
|
7526
|
+
# @param [Hash] params ({})
|
7527
|
+
def create_optimization_job(params = {}, options = {})
|
7528
|
+
req = build_request(:create_optimization_job, params)
|
7529
|
+
req.send_request(options)
|
7530
|
+
end
|
7531
|
+
|
7333
7532
|
# Creates a pipeline using a JSON pipeline definition.
|
7334
7533
|
#
|
7335
7534
|
# @option params [required, String] :pipeline_name
|
@@ -10585,6 +10784,28 @@ module Aws::SageMaker
|
|
10585
10784
|
req.send_request(options)
|
10586
10785
|
end
|
10587
10786
|
|
10787
|
+
# Deletes an optimization job.
|
10788
|
+
#
|
10789
|
+
# @option params [required, String] :optimization_job_name
|
10790
|
+
# The name that you assigned to the optimization job.
|
10791
|
+
#
|
10792
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10793
|
+
#
|
10794
|
+
# @example Request syntax with placeholder values
|
10795
|
+
#
|
10796
|
+
# resp = client.delete_optimization_job({
|
10797
|
+
# optimization_job_name: "EntityName", # required
|
10798
|
+
# })
|
10799
|
+
#
|
10800
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteOptimizationJob AWS API Documentation
|
10801
|
+
#
|
10802
|
+
# @overload delete_optimization_job(params = {})
|
10803
|
+
# @param [Hash] params ({})
|
10804
|
+
def delete_optimization_job(params = {}, options = {})
|
10805
|
+
req = build_request(:delete_optimization_job, params)
|
10806
|
+
req.send_request(options)
|
10807
|
+
end
|
10808
|
+
|
10588
10809
|
# Deletes a pipeline if there are no running instances of the pipeline.
|
10589
10810
|
# To delete a pipeline, you must stop all running instances of the
|
10590
10811
|
# pipeline using the `StopPipelineExecution` API. When you delete a
|
@@ -12326,6 +12547,8 @@ module Aws::SageMaker
|
|
12326
12547
|
# resp.domain_settings.docker_settings.enable_docker_access #=> String, one of "ENABLED", "DISABLED"
|
12327
12548
|
# resp.domain_settings.docker_settings.vpc_only_trusted_accounts #=> Array
|
12328
12549
|
# resp.domain_settings.docker_settings.vpc_only_trusted_accounts[0] #=> String
|
12550
|
+
# resp.domain_settings.amazon_q_settings.status #=> String, one of "ENABLED", "DISABLED"
|
12551
|
+
# resp.domain_settings.amazon_q_settings.q_profile_arn #=> String
|
12329
12552
|
# resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly"
|
12330
12553
|
# resp.home_efs_file_system_kms_key_id #=> String
|
12331
12554
|
# resp.subnet_ids #=> Array
|
@@ -14219,6 +14442,13 @@ module Aws::SageMaker
|
|
14219
14442
|
# resp.primary_container.model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14220
14443
|
# resp.primary_container.model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14221
14444
|
# resp.primary_container.model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14445
|
+
# resp.primary_container.additional_model_data_sources #=> Array
|
14446
|
+
# resp.primary_container.additional_model_data_sources[0].channel_name #=> String
|
14447
|
+
# resp.primary_container.additional_model_data_sources[0].s3_data_source.s3_uri #=> String
|
14448
|
+
# resp.primary_container.additional_model_data_sources[0].s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14449
|
+
# resp.primary_container.additional_model_data_sources[0].s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14450
|
+
# resp.primary_container.additional_model_data_sources[0].s3_data_source.model_access_config.accept_eula #=> Boolean
|
14451
|
+
# resp.primary_container.additional_model_data_sources[0].s3_data_source.hub_access_config.hub_content_arn #=> String
|
14222
14452
|
# resp.primary_container.environment #=> Hash
|
14223
14453
|
# resp.primary_container.environment["EnvironmentKey"] #=> String
|
14224
14454
|
# resp.primary_container.model_package_name #=> String
|
@@ -14236,6 +14466,13 @@ module Aws::SageMaker
|
|
14236
14466
|
# resp.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14237
14467
|
# resp.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14238
14468
|
# resp.containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14469
|
+
# resp.containers[0].additional_model_data_sources #=> Array
|
14470
|
+
# resp.containers[0].additional_model_data_sources[0].channel_name #=> String
|
14471
|
+
# resp.containers[0].additional_model_data_sources[0].s3_data_source.s3_uri #=> String
|
14472
|
+
# resp.containers[0].additional_model_data_sources[0].s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14473
|
+
# resp.containers[0].additional_model_data_sources[0].s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14474
|
+
# resp.containers[0].additional_model_data_sources[0].s3_data_source.model_access_config.accept_eula #=> Boolean
|
14475
|
+
# resp.containers[0].additional_model_data_sources[0].s3_data_source.hub_access_config.hub_content_arn #=> String
|
14239
14476
|
# resp.containers[0].environment #=> Hash
|
14240
14477
|
# resp.containers[0].environment["EnvironmentKey"] #=> String
|
14241
14478
|
# resp.containers[0].model_package_name #=> String
|
@@ -15189,6 +15426,80 @@ module Aws::SageMaker
|
|
15189
15426
|
req.send_request(options)
|
15190
15427
|
end
|
15191
15428
|
|
15429
|
+
# Provides the properties of the specified optimization job.
|
15430
|
+
#
|
15431
|
+
# @option params [required, String] :optimization_job_name
|
15432
|
+
# The name that you assigned to the optimization job.
|
15433
|
+
#
|
15434
|
+
# @return [Types::DescribeOptimizationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
15435
|
+
#
|
15436
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_job_arn #optimization_job_arn} => String
|
15437
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_job_status #optimization_job_status} => String
|
15438
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_start_time #optimization_start_time} => Time
|
15439
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_end_time #optimization_end_time} => Time
|
15440
|
+
# * {Types::DescribeOptimizationJobResponse#creation_time #creation_time} => Time
|
15441
|
+
# * {Types::DescribeOptimizationJobResponse#last_modified_time #last_modified_time} => Time
|
15442
|
+
# * {Types::DescribeOptimizationJobResponse#failure_reason #failure_reason} => String
|
15443
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_job_name #optimization_job_name} => String
|
15444
|
+
# * {Types::DescribeOptimizationJobResponse#model_source #model_source} => Types::OptimizationJobModelSource
|
15445
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_environment #optimization_environment} => Hash<String,String>
|
15446
|
+
# * {Types::DescribeOptimizationJobResponse#deployment_instance_type #deployment_instance_type} => String
|
15447
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_configs #optimization_configs} => Array<Types::OptimizationConfig>
|
15448
|
+
# * {Types::DescribeOptimizationJobResponse#output_config #output_config} => Types::OptimizationJobOutputConfig
|
15449
|
+
# * {Types::DescribeOptimizationJobResponse#optimization_output #optimization_output} => Types::OptimizationOutput
|
15450
|
+
# * {Types::DescribeOptimizationJobResponse#role_arn #role_arn} => String
|
15451
|
+
# * {Types::DescribeOptimizationJobResponse#stopping_condition #stopping_condition} => Types::StoppingCondition
|
15452
|
+
# * {Types::DescribeOptimizationJobResponse#vpc_config #vpc_config} => Types::OptimizationVpcConfig
|
15453
|
+
#
|
15454
|
+
# @example Request syntax with placeholder values
|
15455
|
+
#
|
15456
|
+
# resp = client.describe_optimization_job({
|
15457
|
+
# optimization_job_name: "EntityName", # required
|
15458
|
+
# })
|
15459
|
+
#
|
15460
|
+
# @example Response structure
|
15461
|
+
#
|
15462
|
+
# resp.optimization_job_arn #=> String
|
15463
|
+
# resp.optimization_job_status #=> String, one of "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED"
|
15464
|
+
# resp.optimization_start_time #=> Time
|
15465
|
+
# resp.optimization_end_time #=> Time
|
15466
|
+
# resp.creation_time #=> Time
|
15467
|
+
# resp.last_modified_time #=> Time
|
15468
|
+
# resp.failure_reason #=> String
|
15469
|
+
# resp.optimization_job_name #=> String
|
15470
|
+
# resp.model_source.s3.s3_uri #=> String
|
15471
|
+
# resp.model_source.s3.model_access_config.accept_eula #=> Boolean
|
15472
|
+
# resp.optimization_environment #=> Hash
|
15473
|
+
# resp.optimization_environment["NonEmptyString256"] #=> String
|
15474
|
+
# resp.deployment_instance_type #=> String, one of "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge"
|
15475
|
+
# resp.optimization_configs #=> Array
|
15476
|
+
# resp.optimization_configs[0].model_quantization_config.image #=> String
|
15477
|
+
# resp.optimization_configs[0].model_quantization_config.override_environment #=> Hash
|
15478
|
+
# resp.optimization_configs[0].model_quantization_config.override_environment["NonEmptyString256"] #=> String
|
15479
|
+
# resp.optimization_configs[0].model_compilation_config.image #=> String
|
15480
|
+
# resp.optimization_configs[0].model_compilation_config.override_environment #=> Hash
|
15481
|
+
# resp.optimization_configs[0].model_compilation_config.override_environment["NonEmptyString256"] #=> String
|
15482
|
+
# resp.output_config.kms_key_id #=> String
|
15483
|
+
# resp.output_config.s3_output_location #=> String
|
15484
|
+
# resp.optimization_output.recommended_inference_image #=> String
|
15485
|
+
# resp.role_arn #=> String
|
15486
|
+
# resp.stopping_condition.max_runtime_in_seconds #=> Integer
|
15487
|
+
# resp.stopping_condition.max_wait_time_in_seconds #=> Integer
|
15488
|
+
# resp.stopping_condition.max_pending_time_in_seconds #=> Integer
|
15489
|
+
# resp.vpc_config.security_group_ids #=> Array
|
15490
|
+
# resp.vpc_config.security_group_ids[0] #=> String
|
15491
|
+
# resp.vpc_config.subnets #=> Array
|
15492
|
+
# resp.vpc_config.subnets[0] #=> String
|
15493
|
+
#
|
15494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeOptimizationJob AWS API Documentation
|
15495
|
+
#
|
15496
|
+
# @overload describe_optimization_job(params = {})
|
15497
|
+
# @param [Hash] params ({})
|
15498
|
+
def describe_optimization_job(params = {}, options = {})
|
15499
|
+
req = build_request(:describe_optimization_job, params)
|
15500
|
+
req.send_request(options)
|
15501
|
+
end
|
15502
|
+
|
15192
15503
|
# Describes the details of a pipeline.
|
15193
15504
|
#
|
15194
15505
|
# @option params [required, String] :pipeline_name
|
@@ -21274,6 +21585,100 @@ module Aws::SageMaker
|
|
21274
21585
|
req.send_request(options)
|
21275
21586
|
end
|
21276
21587
|
|
21588
|
+
# Lists the optimization jobs in your account and their properties.
|
21589
|
+
#
|
21590
|
+
# @option params [String] :next_token
|
21591
|
+
# A token that you use to get the next set of results following a
|
21592
|
+
# truncated response. If the response to the previous request was
|
21593
|
+
# truncated, that response provides the value for this token.
|
21594
|
+
#
|
21595
|
+
# @option params [Integer] :max_results
|
21596
|
+
# The maximum number of optimization jobs to return in the response. The
|
21597
|
+
# default is 50.
|
21598
|
+
#
|
21599
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_after
|
21600
|
+
# Filters the results to only those optimization jobs that were created
|
21601
|
+
# after the specified time.
|
21602
|
+
#
|
21603
|
+
# @option params [Time,DateTime,Date,Integer,String] :creation_time_before
|
21604
|
+
# Filters the results to only those optimization jobs that were created
|
21605
|
+
# before the specified time.
|
21606
|
+
#
|
21607
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_modified_time_after
|
21608
|
+
# Filters the results to only those optimization jobs that were updated
|
21609
|
+
# after the specified time.
|
21610
|
+
#
|
21611
|
+
# @option params [Time,DateTime,Date,Integer,String] :last_modified_time_before
|
21612
|
+
# Filters the results to only those optimization jobs that were updated
|
21613
|
+
# before the specified time.
|
21614
|
+
#
|
21615
|
+
# @option params [String] :optimization_contains
|
21616
|
+
# Filters the results to only those optimization jobs that apply the
|
21617
|
+
# specified optimization techniques. You can specify either
|
21618
|
+
# `Quantization` or `Compilation`.
|
21619
|
+
#
|
21620
|
+
# @option params [String] :name_contains
|
21621
|
+
# Filters the results to only those optimization jobs with a name that
|
21622
|
+
# contains the specified string.
|
21623
|
+
#
|
21624
|
+
# @option params [String] :status_equals
|
21625
|
+
# Filters the results to only those optimization jobs with the specified
|
21626
|
+
# status.
|
21627
|
+
#
|
21628
|
+
# @option params [String] :sort_by
|
21629
|
+
# The field by which to sort the optimization jobs in the response. The
|
21630
|
+
# default is `CreationTime`
|
21631
|
+
#
|
21632
|
+
# @option params [String] :sort_order
|
21633
|
+
# The sort order for results. The default is `Ascending`
|
21634
|
+
#
|
21635
|
+
# @return [Types::ListOptimizationJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
21636
|
+
#
|
21637
|
+
# * {Types::ListOptimizationJobsResponse#optimization_job_summaries #optimization_job_summaries} => Array<Types::OptimizationJobSummary>
|
21638
|
+
# * {Types::ListOptimizationJobsResponse#next_token #next_token} => String
|
21639
|
+
#
|
21640
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
21641
|
+
#
|
21642
|
+
# @example Request syntax with placeholder values
|
21643
|
+
#
|
21644
|
+
# resp = client.list_optimization_jobs({
|
21645
|
+
# next_token: "NextToken",
|
21646
|
+
# max_results: 1,
|
21647
|
+
# creation_time_after: Time.now,
|
21648
|
+
# creation_time_before: Time.now,
|
21649
|
+
# last_modified_time_after: Time.now,
|
21650
|
+
# last_modified_time_before: Time.now,
|
21651
|
+
# optimization_contains: "NameContains",
|
21652
|
+
# name_contains: "NameContains",
|
21653
|
+
# status_equals: "INPROGRESS", # accepts INPROGRESS, COMPLETED, FAILED, STARTING, STOPPING, STOPPED
|
21654
|
+
# sort_by: "Name", # accepts Name, CreationTime, Status
|
21655
|
+
# sort_order: "Ascending", # accepts Ascending, Descending
|
21656
|
+
# })
|
21657
|
+
#
|
21658
|
+
# @example Response structure
|
21659
|
+
#
|
21660
|
+
# resp.optimization_job_summaries #=> Array
|
21661
|
+
# resp.optimization_job_summaries[0].optimization_job_name #=> String
|
21662
|
+
# resp.optimization_job_summaries[0].optimization_job_arn #=> String
|
21663
|
+
# resp.optimization_job_summaries[0].creation_time #=> Time
|
21664
|
+
# resp.optimization_job_summaries[0].optimization_job_status #=> String, one of "INPROGRESS", "COMPLETED", "FAILED", "STARTING", "STOPPING", "STOPPED"
|
21665
|
+
# resp.optimization_job_summaries[0].optimization_start_time #=> Time
|
21666
|
+
# resp.optimization_job_summaries[0].optimization_end_time #=> Time
|
21667
|
+
# resp.optimization_job_summaries[0].last_modified_time #=> Time
|
21668
|
+
# resp.optimization_job_summaries[0].deployment_instance_type #=> String, one of "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.p5.48xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.12xlarge", "ml.g5.16xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge"
|
21669
|
+
# resp.optimization_job_summaries[0].optimization_types #=> Array
|
21670
|
+
# resp.optimization_job_summaries[0].optimization_types[0] #=> String
|
21671
|
+
# resp.next_token #=> String
|
21672
|
+
#
|
21673
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListOptimizationJobs AWS API Documentation
|
21674
|
+
#
|
21675
|
+
# @overload list_optimization_jobs(params = {})
|
21676
|
+
# @param [Hash] params ({})
|
21677
|
+
def list_optimization_jobs(params = {}, options = {})
|
21678
|
+
req = build_request(:list_optimization_jobs, params)
|
21679
|
+
req.send_request(options)
|
21680
|
+
end
|
21681
|
+
|
21277
21682
|
# Gets a list of `PipeLineExecutionStep` objects.
|
21278
21683
|
#
|
21279
21684
|
# @option params [String] :pipeline_execution_arn
|
@@ -23793,6 +24198,28 @@ module Aws::SageMaker
|
|
23793
24198
|
req.send_request(options)
|
23794
24199
|
end
|
23795
24200
|
|
24201
|
+
# Ends a running inference optimization job.
|
24202
|
+
#
|
24203
|
+
# @option params [required, String] :optimization_job_name
|
24204
|
+
# The name that you assigned to the optimization job.
|
24205
|
+
#
|
24206
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
24207
|
+
#
|
24208
|
+
# @example Request syntax with placeholder values
|
24209
|
+
#
|
24210
|
+
# resp = client.stop_optimization_job({
|
24211
|
+
# optimization_job_name: "EntityName", # required
|
24212
|
+
# })
|
24213
|
+
#
|
24214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopOptimizationJob AWS API Documentation
|
24215
|
+
#
|
24216
|
+
# @overload stop_optimization_job(params = {})
|
24217
|
+
# @param [Hash] params ({})
|
24218
|
+
def stop_optimization_job(params = {}, options = {})
|
24219
|
+
req = build_request(:stop_optimization_job, params)
|
24220
|
+
req.send_request(options)
|
24221
|
+
end
|
24222
|
+
|
23796
24223
|
# Stops a pipeline execution.
|
23797
24224
|
#
|
23798
24225
|
# **Callback Step**
|
@@ -24585,6 +25012,10 @@ module Aws::SageMaker
|
|
24585
25012
|
# enable_docker_access: "ENABLED", # accepts ENABLED, DISABLED
|
24586
25013
|
# vpc_only_trusted_accounts: ["AccountId"],
|
24587
25014
|
# },
|
25015
|
+
# amazon_q_settings: {
|
25016
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
25017
|
+
# q_profile_arn: "QProfileArn",
|
25018
|
+
# },
|
24588
25019
|
# },
|
24589
25020
|
# app_security_group_management: "Service", # accepts Service, Customer
|
24590
25021
|
# default_space_settings: {
|
@@ -27047,7 +27478,7 @@ module Aws::SageMaker
|
|
27047
27478
|
params: params,
|
27048
27479
|
config: config)
|
27049
27480
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
27050
|
-
context[:gem_version] = '1.
|
27481
|
+
context[:gem_version] = '1.253.0'
|
27051
27482
|
Seahorse::Client::Request.new(handlers, context)
|
27052
27483
|
end
|
27053
27484
|
|