aws-sdk-sagemaker 1.251.0 → 1.253.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66c42e35664aa157cf3feab11216096fd285fb5569d17da2e6cfbf2c260ce5d7
4
- data.tar.gz: 7a67b89ac0e32fce939b58c4aee139551e1d9e4e05828adb379037ba855938ed
3
+ metadata.gz: c65643daae5732b90c7adde25e2bfa40d8347c730294d6d82d770eafc10aff6a
4
+ data.tar.gz: 4a9c353264dbf3efc88ff09ef3067b95fc06b439b7319cc5cfe1669212ed6df9
5
5
  SHA512:
6
- metadata.gz: 01afdf05d542f0bc9098096354b5791ce05ec92378bfc51d68dba8c8f6b60cbd4f1420b44a037bd16f9a325ebd082f7ad72f87cba69c8691b9b76960b0926677
7
- data.tar.gz: '0848911cf040a724b2928c5a76aa604ffdb5073001e001c4a6884d539d879c67ce009628d78104146c4a1f943f29258ea3081579a0ffcf6cc1fb607f09d81baa'
6
+ metadata.gz: f64a1e24eabde074d6c6be63887a2f695cb17cb26f6f37bab979410aab9fb0f2fdc80d76311f0fa14f66cbca2bc3cd37b9f7fbc7b4f0b927b660f2bbe66867b4
7
+ data.tar.gz: '088e50c97fab14b5214acd5cb4df0dcc8c15b5b814f3655c241ccc4717521d8eaa5ad8d2eb71ab1a57ceb5fc207569a59f201b051f9b3e0e134d73ba8687b6df'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.252.0 (2024-07-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.251.0 (2024-06-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.251.0
1
+ 1.253.0
@@ -312,6 +312,15 @@ module Aws::SageMaker
312
312
  #
313
313
  # @option options [String] :session_token
314
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
315
324
  # @option options [Boolean] :simple_json (false)
316
325
  # Disables request parameter conversion, validation, and formatting.
317
326
  # Also disables response data type conversions. The request parameters
@@ -2679,6 +2688,10 @@ module Aws::SageMaker
2679
2688
  # enable_docker_access: "ENABLED", # accepts ENABLED, DISABLED
2680
2689
  # vpc_only_trusted_accounts: ["AccountId"],
2681
2690
  # },
2691
+ # amazon_q_settings: {
2692
+ # status: "ENABLED", # accepts ENABLED, DISABLED
2693
+ # q_profile_arn: "QProfileArn",
2694
+ # },
2682
2695
  # },
2683
2696
  # subnet_ids: ["SubnetId"], # required
2684
2697
  # vpc_id: "VpcId", # required
@@ -5677,6 +5690,22 @@ module Aws::SageMaker
5677
5690
  # },
5678
5691
  # },
5679
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
+ # ],
5680
5709
  # environment: {
5681
5710
  # "EnvironmentKey" => "EnvironmentValue",
5682
5711
  # },
@@ -5711,6 +5740,22 @@ module Aws::SageMaker
5711
5740
  # },
5712
5741
  # },
5713
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
+ # ],
5714
5759
  # environment: {
5715
5760
  # "EnvironmentKey" => "EnvironmentValue",
5716
5761
  # },
@@ -7321,6 +7366,169 @@ module Aws::SageMaker
7321
7366
  req.send_request(options)
7322
7367
  end
7323
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
+
7324
7532
  # Creates a pipeline using a JSON pipeline definition.
7325
7533
  #
7326
7534
  # @option params [required, String] :pipeline_name
@@ -10576,6 +10784,28 @@ module Aws::SageMaker
10576
10784
  req.send_request(options)
10577
10785
  end
10578
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
+
10579
10809
  # Deletes a pipeline if there are no running instances of the pipeline.
10580
10810
  # To delete a pipeline, you must stop all running instances of the
10581
10811
  # pipeline using the `StopPipelineExecution` API. When you delete a
@@ -12317,6 +12547,8 @@ module Aws::SageMaker
12317
12547
  # resp.domain_settings.docker_settings.enable_docker_access #=> String, one of "ENABLED", "DISABLED"
12318
12548
  # resp.domain_settings.docker_settings.vpc_only_trusted_accounts #=> Array
12319
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
12320
12552
  # resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly"
12321
12553
  # resp.home_efs_file_system_kms_key_id #=> String
12322
12554
  # resp.subnet_ids #=> Array
@@ -14210,6 +14442,13 @@ module Aws::SageMaker
14210
14442
  # resp.primary_container.model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
14211
14443
  # resp.primary_container.model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
14212
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
14213
14452
  # resp.primary_container.environment #=> Hash
14214
14453
  # resp.primary_container.environment["EnvironmentKey"] #=> String
14215
14454
  # resp.primary_container.model_package_name #=> String
@@ -14227,6 +14466,13 @@ module Aws::SageMaker
14227
14466
  # resp.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
14228
14467
  # resp.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
14229
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
14230
14476
  # resp.containers[0].environment #=> Hash
14231
14477
  # resp.containers[0].environment["EnvironmentKey"] #=> String
14232
14478
  # resp.containers[0].model_package_name #=> String
@@ -15180,6 +15426,80 @@ module Aws::SageMaker
15180
15426
  req.send_request(options)
15181
15427
  end
15182
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&lt;String,String&gt;
15446
+ # * {Types::DescribeOptimizationJobResponse#deployment_instance_type #deployment_instance_type} => String
15447
+ # * {Types::DescribeOptimizationJobResponse#optimization_configs #optimization_configs} => Array&lt;Types::OptimizationConfig&gt;
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
+
15183
15503
  # Describes the details of a pipeline.
15184
15504
  #
15185
15505
  # @option params [required, String] :pipeline_name
@@ -21265,6 +21585,100 @@ module Aws::SageMaker
21265
21585
  req.send_request(options)
21266
21586
  end
21267
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&lt;Types::OptimizationJobSummary&gt;
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
+
21268
21682
  # Gets a list of `PipeLineExecutionStep` objects.
21269
21683
  #
21270
21684
  # @option params [String] :pipeline_execution_arn
@@ -23784,6 +24198,28 @@ module Aws::SageMaker
23784
24198
  req.send_request(options)
23785
24199
  end
23786
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
+
23787
24223
  # Stops a pipeline execution.
23788
24224
  #
23789
24225
  # **Callback Step**
@@ -24576,6 +25012,10 @@ module Aws::SageMaker
24576
25012
  # enable_docker_access: "ENABLED", # accepts ENABLED, DISABLED
24577
25013
  # vpc_only_trusted_accounts: ["AccountId"],
24578
25014
  # },
25015
+ # amazon_q_settings: {
25016
+ # status: "ENABLED", # accepts ENABLED, DISABLED
25017
+ # q_profile_arn: "QProfileArn",
25018
+ # },
24579
25019
  # },
24580
25020
  # app_security_group_management: "Service", # accepts Service, Customer
24581
25021
  # default_space_settings: {
@@ -27038,7 +27478,7 @@ module Aws::SageMaker
27038
27478
  params: params,
27039
27479
  config: config)
27040
27480
  context[:gem_name] = 'aws-sdk-sagemaker'
27041
- context[:gem_version] = '1.251.0'
27481
+ context[:gem_version] = '1.253.0'
27042
27482
  Seahorse::Client::Request.new(handlers, context)
27043
27483
  end
27044
27484