aws-sdk-sagemaker 1.230.0 → 1.232.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +214 -37
- data/lib/aws-sdk-sagemaker/client_api.rb +31 -0
- data/lib/aws-sdk-sagemaker/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-sagemaker/endpoints.rb +14 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-sagemaker/types.rb +189 -67
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +114 -2
- data/sig/types.rbs +23 -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: 4efbfed49aed78ab58c538b099857aeead22ccf1a9389bfc7dcb11fc311e05d0
|
4
|
+
data.tar.gz: 00260b0dea0b22e618ff9b57991c0b0a62276d45ab7d65f66b005e9e1c979494
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01b72c9596e1908ec957e27b3198cdb3883a967b7a0255fb2b96818467ca7bc9e9b530c5a26ccf3f7db313e223aebdc109bc322e32c120594bf8948192f5fefa
|
7
|
+
data.tar.gz: fb0c2307ea47231d3d0efdaa7a38fb04cdf2342fbff71630c9d721b2091541abf80557f17526991026474694ed49c044d04cf68e1ca60f26f398e595de24821b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.232.0 (2024-02-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for ModelDataSource in Model Packages to support unzipped models. Adds support to specify SourceUri for models which allows registration of models without mandating a container for hosting. Using SourceUri, customers can decouple the model from hosting information during registration.
|
8
|
+
|
9
|
+
1.231.0 (2024-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon SageMaker Canvas adds GenerativeAiSettings support for CanvasAppSettings.
|
13
|
+
|
4
14
|
1.230.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.232.0
|
@@ -611,6 +611,10 @@ module Aws::SageMaker
|
|
611
611
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].image #=> String
|
612
612
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].image_digest #=> String
|
613
613
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_url #=> String
|
614
|
+
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.s3_uri #=> String
|
615
|
+
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
616
|
+
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
617
|
+
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
614
618
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].product_id #=> String
|
615
619
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].environment #=> Hash
|
616
620
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -861,6 +865,16 @@ module Aws::SageMaker
|
|
861
865
|
# image: "ContainerImage", # required
|
862
866
|
# image_digest: "ImageDigest",
|
863
867
|
# model_data_url: "Url",
|
868
|
+
# model_data_source: {
|
869
|
+
# s3_data_source: {
|
870
|
+
# s3_uri: "S3ModelUri", # required
|
871
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
872
|
+
# compression_type: "None", # required, accepts None, Gzip
|
873
|
+
# model_access_config: {
|
874
|
+
# accept_eula: false, # required
|
875
|
+
# },
|
876
|
+
# },
|
877
|
+
# },
|
864
878
|
# product_id: "ProductId",
|
865
879
|
# environment: {
|
866
880
|
# "EnvironmentKey" => "EnvironmentValue",
|
@@ -1081,8 +1095,8 @@ module Aws::SageMaker
|
|
1081
1095
|
|
1082
1096
|
# Creates a configuration for running a SageMaker image as a
|
1083
1097
|
# KernelGateway app. The configuration specifies the Amazon Elastic File
|
1084
|
-
# System
|
1085
|
-
#
|
1098
|
+
# System storage volume on the image, and a list of the kernels in the
|
1099
|
+
# image.
|
1086
1100
|
#
|
1087
1101
|
# @option params [required, String] :app_image_config_name
|
1088
1102
|
# The name of the AppImageConfig. Must be unique to your account.
|
@@ -1286,8 +1300,8 @@ module Aws::SageMaker
|
|
1286
1300
|
#
|
1287
1301
|
# @option params [String] :problem_type
|
1288
1302
|
# Defines the type of supervised learning problem available for the
|
1289
|
-
# candidates. For more information, see [
|
1290
|
-
#
|
1303
|
+
# candidates. For more information, see [ SageMaker Autopilot problem
|
1304
|
+
# types][1].
|
1291
1305
|
#
|
1292
1306
|
#
|
1293
1307
|
#
|
@@ -2515,6 +2529,9 @@ module Aws::SageMaker
|
|
2515
2529
|
# kendra_settings: {
|
2516
2530
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
2517
2531
|
# },
|
2532
|
+
# generative_ai_settings: {
|
2533
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
2534
|
+
# },
|
2518
2535
|
# },
|
2519
2536
|
# code_editor_app_settings: {
|
2520
2537
|
# default_resource_spec: {
|
@@ -4356,8 +4373,8 @@ module Aws::SageMaker
|
|
4356
4373
|
|
4357
4374
|
# Creates a custom SageMaker image. A SageMaker image is a set of image
|
4358
4375
|
# versions. Each image version represents a container image stored in
|
4359
|
-
# Amazon
|
4360
|
-
#
|
4376
|
+
# Amazon ECR. For more information, see [Bring your own SageMaker
|
4377
|
+
# image][1].
|
4361
4378
|
#
|
4362
4379
|
#
|
4363
4380
|
#
|
@@ -4413,13 +4430,13 @@ module Aws::SageMaker
|
|
4413
4430
|
end
|
4414
4431
|
|
4415
4432
|
# Creates a version of the SageMaker image specified by `ImageName`. The
|
4416
|
-
# version represents the Amazon
|
4417
|
-
#
|
4433
|
+
# version represents the Amazon ECR container image specified by
|
4434
|
+
# `BaseImage`.
|
4418
4435
|
#
|
4419
4436
|
# @option params [required, String] :base_image
|
4420
4437
|
# The registry path of the container image to use as the starting point
|
4421
|
-
# for this version. The path is an Amazon
|
4422
|
-
#
|
4438
|
+
# for this version. The path is an Amazon ECR URI in the following
|
4439
|
+
# format:
|
4423
4440
|
#
|
4424
4441
|
# `<acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or
|
4425
4442
|
# [@digest]>`
|
@@ -5296,10 +5313,6 @@ module Aws::SageMaker
|
|
5296
5313
|
# `CreateEndpoint` API. SageMaker then deploys all of the containers
|
5297
5314
|
# that you defined for the model in the hosting environment.
|
5298
5315
|
#
|
5299
|
-
# For an example that calls this method when deploying a model to
|
5300
|
-
# SageMaker hosting services, see [Create a Model (Amazon Web Services
|
5301
|
-
# SDK for Python (Boto 3)).][1]
|
5302
|
-
#
|
5303
5316
|
# To run a batch transform using your model, you start a job with the
|
5304
5317
|
# `CreateTransformJob` API. SageMaker uses your model and your dataset
|
5305
5318
|
# to get inferences which are then saved to a specified S3 location.
|
@@ -5311,10 +5324,6 @@ module Aws::SageMaker
|
|
5311
5324
|
# needs. For example, if the inference code access any other Amazon Web
|
5312
5325
|
# Services resources, you grant necessary permissions via this role.
|
5313
5326
|
#
|
5314
|
-
#
|
5315
|
-
#
|
5316
|
-
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-deployment.html#realtime-endpoints-deployment-create-model
|
5317
|
-
#
|
5318
5327
|
# @option params [required, String] :model_name
|
5319
5328
|
# The name of the new model.
|
5320
5329
|
#
|
@@ -5945,8 +5954,8 @@ module Aws::SageMaker
|
|
5945
5954
|
# A description of the model package.
|
5946
5955
|
#
|
5947
5956
|
# @option params [Types::InferenceSpecification] :inference_specification
|
5948
|
-
# Specifies details about inference jobs that can
|
5949
|
-
# based on this model package, including the following:
|
5957
|
+
# Specifies details about inference jobs that you can run with models
|
5958
|
+
# based on this model package, including the following information:
|
5950
5959
|
#
|
5951
5960
|
# * The Amazon ECR paths of containers that contain the inference code
|
5952
5961
|
# and model artifacts.
|
@@ -6054,6 +6063,11 @@ module Aws::SageMaker
|
|
6054
6063
|
# @option params [String] :skip_model_validation
|
6055
6064
|
# Indicates if you want to skip model validation.
|
6056
6065
|
#
|
6066
|
+
# @option params [String] :source_uri
|
6067
|
+
# The URI of the source for the model package. If you want to clone a
|
6068
|
+
# model package, set it to the model package Amazon Resource Name (ARN).
|
6069
|
+
# If you want to register a model, set it to the model ARN.
|
6070
|
+
#
|
6057
6071
|
# @return [Types::CreateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6058
6072
|
#
|
6059
6073
|
# * {Types::CreateModelPackageOutput#model_package_arn #model_package_arn} => String
|
@@ -6071,6 +6085,16 @@ module Aws::SageMaker
|
|
6071
6085
|
# image: "ContainerImage", # required
|
6072
6086
|
# image_digest: "ImageDigest",
|
6073
6087
|
# model_data_url: "Url",
|
6088
|
+
# model_data_source: {
|
6089
|
+
# s3_data_source: {
|
6090
|
+
# s3_uri: "S3ModelUri", # required
|
6091
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
6092
|
+
# compression_type: "None", # required, accepts None, Gzip
|
6093
|
+
# model_access_config: {
|
6094
|
+
# accept_eula: false, # required
|
6095
|
+
# },
|
6096
|
+
# },
|
6097
|
+
# },
|
6074
6098
|
# product_id: "ProductId",
|
6075
6099
|
# environment: {
|
6076
6100
|
# "EnvironmentKey" => "EnvironmentValue",
|
@@ -6135,6 +6159,16 @@ module Aws::SageMaker
|
|
6135
6159
|
# source_algorithms: [ # required
|
6136
6160
|
# {
|
6137
6161
|
# model_data_url: "Url",
|
6162
|
+
# model_data_source: {
|
6163
|
+
# s3_data_source: {
|
6164
|
+
# s3_uri: "S3ModelUri", # required
|
6165
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
6166
|
+
# compression_type: "None", # required, accepts None, Gzip
|
6167
|
+
# model_access_config: {
|
6168
|
+
# accept_eula: false, # required
|
6169
|
+
# },
|
6170
|
+
# },
|
6171
|
+
# },
|
6138
6172
|
# algorithm_name: "ArnOrName", # required
|
6139
6173
|
# },
|
6140
6174
|
# ],
|
@@ -6275,6 +6309,16 @@ module Aws::SageMaker
|
|
6275
6309
|
# image: "ContainerImage", # required
|
6276
6310
|
# image_digest: "ImageDigest",
|
6277
6311
|
# model_data_url: "Url",
|
6312
|
+
# model_data_source: {
|
6313
|
+
# s3_data_source: {
|
6314
|
+
# s3_uri: "S3ModelUri", # required
|
6315
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
6316
|
+
# compression_type: "None", # required, accepts None, Gzip
|
6317
|
+
# model_access_config: {
|
6318
|
+
# accept_eula: false, # required
|
6319
|
+
# },
|
6320
|
+
# },
|
6321
|
+
# },
|
6278
6322
|
# product_id: "ProductId",
|
6279
6323
|
# environment: {
|
6280
6324
|
# "EnvironmentKey" => "EnvironmentValue",
|
@@ -6299,6 +6343,7 @@ module Aws::SageMaker
|
|
6299
6343
|
# },
|
6300
6344
|
# ],
|
6301
6345
|
# skip_model_validation: "All", # accepts All, None
|
6346
|
+
# source_uri: "ModelPackageSourceUri",
|
6302
6347
|
# })
|
6303
6348
|
#
|
6304
6349
|
# @example Response structure
|
@@ -6911,9 +6956,9 @@ module Aws::SageMaker
|
|
6911
6956
|
# The value of the `$PATH` environment variable that is available to
|
6912
6957
|
# both scripts is `/sbin:bin:/usr/sbin:/usr/bin`.
|
6913
6958
|
#
|
6914
|
-
# View CloudWatch Logs for notebook instance lifecycle
|
6915
|
-
# log group `/aws/sagemaker/NotebookInstances` in log
|
6916
|
-
# `[notebook-instance-name]/[LifecycleConfigHook]`.
|
6959
|
+
# View Amazon CloudWatch Logs for notebook instance lifecycle
|
6960
|
+
# configurations in log group `/aws/sagemaker/NotebookInstances` in log
|
6961
|
+
# stream `[notebook-instance-name]/[LifecycleConfigHook]`.
|
6917
6962
|
#
|
6918
6963
|
# Lifecycle configuration scripts cannot run for longer than 5 minutes.
|
6919
6964
|
# If a script runs for longer than 5 minutes, it fails and the notebook
|
@@ -7059,8 +7104,8 @@ module Aws::SageMaker
|
|
7059
7104
|
# Creates a URL for a specified UserProfile in a Domain. When accessed
|
7060
7105
|
# in a web browser, the user will be automatically signed in to the
|
7061
7106
|
# domain, and granted access to all of the Apps and files associated
|
7062
|
-
# with the Domain's Amazon Elastic File System
|
7063
|
-
#
|
7107
|
+
# with the Domain's Amazon Elastic File System volume. This operation
|
7108
|
+
# can only be called when the authentication mode equals IAM.
|
7064
7109
|
#
|
7065
7110
|
# The IAM role or user passed to this API defines the permissions to
|
7066
7111
|
# access the app. Once the presigned URL is created, no additional
|
@@ -7475,10 +7520,10 @@ module Aws::SageMaker
|
|
7475
7520
|
req.send_request(options)
|
7476
7521
|
end
|
7477
7522
|
|
7478
|
-
# Creates a space used for real time collaboration in a
|
7523
|
+
# Creates a space used for real time collaboration in a domain.
|
7479
7524
|
#
|
7480
7525
|
# @option params [required, String] :domain_id
|
7481
|
-
# The ID of the associated
|
7526
|
+
# The ID of the associated domain.
|
7482
7527
|
#
|
7483
7528
|
# @option params [required, String] :space_name
|
7484
7529
|
# The name of the space.
|
@@ -8578,8 +8623,8 @@ module Aws::SageMaker
|
|
8578
8623
|
# administrator invites a person by email or imports them from IAM
|
8579
8624
|
# Identity Center, a user profile is automatically created. A user
|
8580
8625
|
# profile is the primary holder of settings for an individual user and
|
8581
|
-
# has a reference to the user's private Amazon Elastic File System
|
8582
|
-
#
|
8626
|
+
# has a reference to the user's private Amazon Elastic File System home
|
8627
|
+
# directory.
|
8583
8628
|
#
|
8584
8629
|
# @option params [required, String] :domain_id
|
8585
8630
|
# The ID of the associated Domain.
|
@@ -8723,6 +8768,9 @@ module Aws::SageMaker
|
|
8723
8768
|
# kendra_settings: {
|
8724
8769
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
8725
8770
|
# },
|
8771
|
+
# generative_ai_settings: {
|
8772
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
8773
|
+
# },
|
8726
8774
|
# },
|
8727
8775
|
# code_editor_app_settings: {
|
8728
8776
|
# default_resource_spec: {
|
@@ -10151,7 +10199,7 @@ module Aws::SageMaker
|
|
10151
10199
|
# Used to delete a space.
|
10152
10200
|
#
|
10153
10201
|
# @option params [required, String] :domain_id
|
10154
|
-
# The ID of the associated
|
10202
|
+
# The ID of the associated domain.
|
10155
10203
|
#
|
10156
10204
|
# @option params [required, String] :space_name
|
10157
10205
|
# The name of the space.
|
@@ -10572,6 +10620,10 @@ module Aws::SageMaker
|
|
10572
10620
|
# resp.inference_specification.containers[0].image #=> String
|
10573
10621
|
# resp.inference_specification.containers[0].image_digest #=> String
|
10574
10622
|
# resp.inference_specification.containers[0].model_data_url #=> String
|
10623
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_uri #=> String
|
10624
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
10625
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
10626
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
10575
10627
|
# resp.inference_specification.containers[0].product_id #=> String
|
10576
10628
|
# resp.inference_specification.containers[0].environment #=> Hash
|
10577
10629
|
# resp.inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -11749,6 +11801,7 @@ module Aws::SageMaker
|
|
11749
11801
|
# resp.default_user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String
|
11750
11802
|
# resp.default_user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED"
|
11751
11803
|
# resp.default_user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED"
|
11804
|
+
# resp.default_user_settings.canvas_app_settings.generative_ai_settings.amazon_bedrock_role_arn #=> String
|
11752
11805
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
|
11753
11806
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
|
11754
11807
|
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
|
@@ -13976,6 +14029,7 @@ module Aws::SageMaker
|
|
13976
14029
|
# * {Types::DescribeModelPackageOutput#drift_check_baselines #drift_check_baselines} => Types::DriftCheckBaselines
|
13977
14030
|
# * {Types::DescribeModelPackageOutput#additional_inference_specifications #additional_inference_specifications} => Array<Types::AdditionalInferenceSpecificationDefinition>
|
13978
14031
|
# * {Types::DescribeModelPackageOutput#skip_model_validation #skip_model_validation} => String
|
14032
|
+
# * {Types::DescribeModelPackageOutput#source_uri #source_uri} => String
|
13979
14033
|
#
|
13980
14034
|
# @example Request syntax with placeholder values
|
13981
14035
|
#
|
@@ -13996,6 +14050,10 @@ module Aws::SageMaker
|
|
13996
14050
|
# resp.inference_specification.containers[0].image #=> String
|
13997
14051
|
# resp.inference_specification.containers[0].image_digest #=> String
|
13998
14052
|
# resp.inference_specification.containers[0].model_data_url #=> String
|
14053
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_uri #=> String
|
14054
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14055
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14056
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
13999
14057
|
# resp.inference_specification.containers[0].product_id #=> String
|
14000
14058
|
# resp.inference_specification.containers[0].environment #=> Hash
|
14001
14059
|
# resp.inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -14016,6 +14074,10 @@ module Aws::SageMaker
|
|
14016
14074
|
# resp.inference_specification.supported_response_mime_types[0] #=> String
|
14017
14075
|
# resp.source_algorithm_specification.source_algorithms #=> Array
|
14018
14076
|
# resp.source_algorithm_specification.source_algorithms[0].model_data_url #=> String
|
14077
|
+
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.s3_uri #=> String
|
14078
|
+
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14079
|
+
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14080
|
+
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14019
14081
|
# resp.source_algorithm_specification.source_algorithms[0].algorithm_name #=> String
|
14020
14082
|
# resp.validation_specification.validation_role #=> String
|
14021
14083
|
# resp.validation_specification.validation_profiles #=> Array
|
@@ -14130,6 +14192,10 @@ module Aws::SageMaker
|
|
14130
14192
|
# resp.additional_inference_specifications[0].containers[0].image #=> String
|
14131
14193
|
# resp.additional_inference_specifications[0].containers[0].image_digest #=> String
|
14132
14194
|
# resp.additional_inference_specifications[0].containers[0].model_data_url #=> String
|
14195
|
+
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.s3_uri #=> String
|
14196
|
+
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14197
|
+
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14198
|
+
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14133
14199
|
# resp.additional_inference_specifications[0].containers[0].product_id #=> String
|
14134
14200
|
# resp.additional_inference_specifications[0].containers[0].environment #=> Hash
|
14135
14201
|
# resp.additional_inference_specifications[0].containers[0].environment["EnvironmentKey"] #=> String
|
@@ -14149,6 +14215,7 @@ module Aws::SageMaker
|
|
14149
14215
|
# resp.additional_inference_specifications[0].supported_response_mime_types #=> Array
|
14150
14216
|
# resp.additional_inference_specifications[0].supported_response_mime_types[0] #=> String
|
14151
14217
|
# resp.skip_model_validation #=> String, one of "All", "None"
|
14218
|
+
# resp.source_uri #=> String
|
14152
14219
|
#
|
14153
14220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage AWS API Documentation
|
14154
14221
|
#
|
@@ -14886,7 +14953,7 @@ module Aws::SageMaker
|
|
14886
14953
|
# Describes the space.
|
14887
14954
|
#
|
14888
14955
|
# @option params [required, String] :domain_id
|
14889
|
-
# The ID of the associated
|
14956
|
+
# The ID of the associated domain.
|
14890
14957
|
#
|
14891
14958
|
# @option params [required, String] :space_name
|
14892
14959
|
# The name of the space.
|
@@ -15609,6 +15676,7 @@ module Aws::SageMaker
|
|
15609
15676
|
# resp.user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String
|
15610
15677
|
# resp.user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED"
|
15611
15678
|
# resp.user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED"
|
15679
|
+
# resp.user_settings.canvas_app_settings.generative_ai_settings.amazon_bedrock_role_arn #=> String
|
15612
15680
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
|
15613
15681
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
|
15614
15682
|
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
|
@@ -21021,7 +21089,7 @@ module Aws::SageMaker
|
|
21021
21089
|
# `CreationTime`.
|
21022
21090
|
#
|
21023
21091
|
# @option params [String] :domain_id_equals
|
21024
|
-
# A parameter to search for the
|
21092
|
+
# A parameter to search for the domain ID.
|
21025
21093
|
#
|
21026
21094
|
# @option params [String] :space_name_contains
|
21027
21095
|
# A parameter by which to filter the results.
|
@@ -23256,7 +23324,7 @@ module Aws::SageMaker
|
|
23256
23324
|
req.send_request(options)
|
23257
23325
|
end
|
23258
23326
|
|
23259
|
-
#
|
23327
|
+
# Updates a SageMaker HyperPod cluster.
|
23260
23328
|
#
|
23261
23329
|
# @option params [required, String] :cluster_name
|
23262
23330
|
# Specify the name of the SageMaker HyperPod cluster you want to update.
|
@@ -23300,6 +23368,41 @@ module Aws::SageMaker
|
|
23300
23368
|
req.send_request(options)
|
23301
23369
|
end
|
23302
23370
|
|
23371
|
+
# Updates the platform software of a SageMaker HyperPod cluster for
|
23372
|
+
# security patching. To learn how to use this API, see [Update the
|
23373
|
+
# SageMaker HyperPod platform software of a cluster][1].
|
23374
|
+
#
|
23375
|
+
#
|
23376
|
+
#
|
23377
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-operate.html#sagemaker-hyperpod-operate-cli-command-update-cluster-software
|
23378
|
+
#
|
23379
|
+
# @option params [required, String] :cluster_name
|
23380
|
+
# Specify the name or the Amazon Resource Name (ARN) of the SageMaker
|
23381
|
+
# HyperPod cluster you want to update for security patching.
|
23382
|
+
#
|
23383
|
+
# @return [Types::UpdateClusterSoftwareResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
23384
|
+
#
|
23385
|
+
# * {Types::UpdateClusterSoftwareResponse#cluster_arn #cluster_arn} => String
|
23386
|
+
#
|
23387
|
+
# @example Request syntax with placeholder values
|
23388
|
+
#
|
23389
|
+
# resp = client.update_cluster_software({
|
23390
|
+
# cluster_name: "ClusterNameOrArn", # required
|
23391
|
+
# })
|
23392
|
+
#
|
23393
|
+
# @example Response structure
|
23394
|
+
#
|
23395
|
+
# resp.cluster_arn #=> String
|
23396
|
+
#
|
23397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateClusterSoftware AWS API Documentation
|
23398
|
+
#
|
23399
|
+
# @overload update_cluster_software(params = {})
|
23400
|
+
# @param [Hash] params ({})
|
23401
|
+
def update_cluster_software(params = {}, options = {})
|
23402
|
+
req = build_request(:update_cluster_software, params)
|
23403
|
+
req.send_request(options)
|
23404
|
+
end
|
23405
|
+
|
23303
23406
|
# Updates the specified Git repository with the specified values.
|
23304
23407
|
#
|
23305
23408
|
# @option params [required, String] :code_repository_name
|
@@ -23482,7 +23585,7 @@ module Aws::SageMaker
|
|
23482
23585
|
# must be set to `Service`.
|
23483
23586
|
#
|
23484
23587
|
# @option params [Types::DefaultSpaceSettings] :default_space_settings
|
23485
|
-
# The default settings used to create a space within the
|
23588
|
+
# The default settings used to create a space within the domain.
|
23486
23589
|
#
|
23487
23590
|
# @option params [Array<String>] :subnet_ids
|
23488
23591
|
# The VPC subnets that Studio uses for communication.
|
@@ -23610,6 +23713,9 @@ module Aws::SageMaker
|
|
23610
23713
|
# kendra_settings: {
|
23611
23714
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
23612
23715
|
# },
|
23716
|
+
# generative_ai_settings: {
|
23717
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
23718
|
+
# },
|
23613
23719
|
# },
|
23614
23720
|
# code_editor_app_settings: {
|
23615
23721
|
# default_resource_spec: {
|
@@ -23980,7 +24086,9 @@ module Aws::SageMaker
|
|
23980
24086
|
# the feature group *after the feature group is updated*. If a record
|
23981
24087
|
# level `TtlDuration` exists from using the `PutRecord` API, the record
|
23982
24088
|
# level `TtlDuration` applies to that record instead of the default
|
23983
|
-
# `TtlDuration`.
|
24089
|
+
# `TtlDuration`. To remove the default `TtlDuration` from an existing
|
24090
|
+
# feature group, use the `UpdateFeatureGroup` API and set the
|
24091
|
+
# `TtlDuration` `Unit` and `Value` to `null`.
|
23984
24092
|
#
|
23985
24093
|
# @option params [required, String] :feature_group_name
|
23986
24094
|
# The name or Amazon Resource Name (ARN) of the feature group that
|
@@ -24559,6 +24667,22 @@ module Aws::SageMaker
|
|
24559
24667
|
# package that can be used on inference endpoints. Generally used with
|
24560
24668
|
# SageMaker Neo to store the compiled artifacts.
|
24561
24669
|
#
|
24670
|
+
# @option params [Types::InferenceSpecification] :inference_specification
|
24671
|
+
# Specifies details about inference jobs that you can run with models
|
24672
|
+
# based on this model package, including the following information:
|
24673
|
+
#
|
24674
|
+
# * The Amazon ECR paths of containers that contain the inference code
|
24675
|
+
# and model artifacts.
|
24676
|
+
#
|
24677
|
+
# * The instance types that the model package supports for transform
|
24678
|
+
# jobs and real-time endpoints used for inference.
|
24679
|
+
#
|
24680
|
+
# * The input and output content formats that the model package supports
|
24681
|
+
# for inference.
|
24682
|
+
#
|
24683
|
+
# @option params [String] :source_uri
|
24684
|
+
# The URI of the source for the model package.
|
24685
|
+
#
|
24562
24686
|
# @return [Types::UpdateModelPackageOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
24563
24687
|
#
|
24564
24688
|
# * {Types::UpdateModelPackageOutput#model_package_arn #model_package_arn} => String
|
@@ -24583,6 +24707,16 @@ module Aws::SageMaker
|
|
24583
24707
|
# image: "ContainerImage", # required
|
24584
24708
|
# image_digest: "ImageDigest",
|
24585
24709
|
# model_data_url: "Url",
|
24710
|
+
# model_data_source: {
|
24711
|
+
# s3_data_source: {
|
24712
|
+
# s3_uri: "S3ModelUri", # required
|
24713
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
24714
|
+
# compression_type: "None", # required, accepts None, Gzip
|
24715
|
+
# model_access_config: {
|
24716
|
+
# accept_eula: false, # required
|
24717
|
+
# },
|
24718
|
+
# },
|
24719
|
+
# },
|
24586
24720
|
# product_id: "ProductId",
|
24587
24721
|
# environment: {
|
24588
24722
|
# "EnvironmentKey" => "EnvironmentValue",
|
@@ -24606,6 +24740,46 @@ module Aws::SageMaker
|
|
24606
24740
|
# supported_response_mime_types: ["ResponseMIMEType"],
|
24607
24741
|
# },
|
24608
24742
|
# ],
|
24743
|
+
# inference_specification: {
|
24744
|
+
# containers: [ # required
|
24745
|
+
# {
|
24746
|
+
# container_hostname: "ContainerHostname",
|
24747
|
+
# image: "ContainerImage", # required
|
24748
|
+
# image_digest: "ImageDigest",
|
24749
|
+
# model_data_url: "Url",
|
24750
|
+
# model_data_source: {
|
24751
|
+
# s3_data_source: {
|
24752
|
+
# s3_uri: "S3ModelUri", # required
|
24753
|
+
# s3_data_type: "S3Prefix", # required, accepts S3Prefix, S3Object
|
24754
|
+
# compression_type: "None", # required, accepts None, Gzip
|
24755
|
+
# model_access_config: {
|
24756
|
+
# accept_eula: false, # required
|
24757
|
+
# },
|
24758
|
+
# },
|
24759
|
+
# },
|
24760
|
+
# product_id: "ProductId",
|
24761
|
+
# environment: {
|
24762
|
+
# "EnvironmentKey" => "EnvironmentValue",
|
24763
|
+
# },
|
24764
|
+
# model_input: {
|
24765
|
+
# data_input_config: "DataInputConfig", # required
|
24766
|
+
# },
|
24767
|
+
# framework: "String",
|
24768
|
+
# framework_version: "ModelPackageFrameworkVersion",
|
24769
|
+
# nearest_model_name: "String",
|
24770
|
+
# additional_s3_data_source: {
|
24771
|
+
# s3_data_type: "S3Object", # required, accepts S3Object, S3Prefix
|
24772
|
+
# s3_uri: "S3Uri", # required
|
24773
|
+
# compression_type: "None", # accepts None, Gzip
|
24774
|
+
# },
|
24775
|
+
# },
|
24776
|
+
# ],
|
24777
|
+
# supported_transform_instance_types: ["ml.m4.xlarge"], # accepts ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge
|
24778
|
+
# supported_realtime_inference_instance_types: ["ml.t2.medium"], # accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.12xlarge, ml.m5d.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge, ml.c5d.large, ml.c5d.xlarge, ml.c5d.2xlarge, ml.c5d.4xlarge, ml.c5d.9xlarge, ml.c5d.18xlarge, 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.12xlarge, ml.r5.24xlarge, ml.r5d.large, ml.r5d.xlarge, ml.r5d.2xlarge, ml.r5d.4xlarge, ml.r5d.12xlarge, ml.r5d.24xlarge, ml.inf1.xlarge, ml.inf1.2xlarge, ml.inf1.6xlarge, ml.inf1.24xlarge, ml.dl1.24xlarge, 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.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.12xlarge, ml.g5.16xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.p4d.24xlarge, ml.c7g.large, ml.c7g.xlarge, ml.c7g.2xlarge, ml.c7g.4xlarge, ml.c7g.8xlarge, ml.c7g.12xlarge, ml.c7g.16xlarge, ml.m6g.large, ml.m6g.xlarge, ml.m6g.2xlarge, ml.m6g.4xlarge, ml.m6g.8xlarge, ml.m6g.12xlarge, ml.m6g.16xlarge, ml.m6gd.large, ml.m6gd.xlarge, ml.m6gd.2xlarge, ml.m6gd.4xlarge, ml.m6gd.8xlarge, ml.m6gd.12xlarge, ml.m6gd.16xlarge, ml.c6g.large, ml.c6g.xlarge, ml.c6g.2xlarge, ml.c6g.4xlarge, ml.c6g.8xlarge, ml.c6g.12xlarge, ml.c6g.16xlarge, ml.c6gd.large, ml.c6gd.xlarge, ml.c6gd.2xlarge, ml.c6gd.4xlarge, ml.c6gd.8xlarge, ml.c6gd.12xlarge, ml.c6gd.16xlarge, ml.c6gn.large, ml.c6gn.xlarge, ml.c6gn.2xlarge, ml.c6gn.4xlarge, ml.c6gn.8xlarge, ml.c6gn.12xlarge, ml.c6gn.16xlarge, ml.r6g.large, ml.r6g.xlarge, ml.r6g.2xlarge, ml.r6g.4xlarge, ml.r6g.8xlarge, ml.r6g.12xlarge, ml.r6g.16xlarge, ml.r6gd.large, ml.r6gd.xlarge, ml.r6gd.2xlarge, ml.r6gd.4xlarge, ml.r6gd.8xlarge, ml.r6gd.12xlarge, ml.r6gd.16xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.inf2.xlarge, ml.inf2.8xlarge, ml.inf2.24xlarge, ml.inf2.48xlarge, ml.p5.48xlarge, 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.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.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
|
24779
|
+
# supported_content_types: ["ContentType"],
|
24780
|
+
# supported_response_mime_types: ["ResponseMIMEType"],
|
24781
|
+
# },
|
24782
|
+
# source_uri: "ModelPackageSourceUri",
|
24609
24783
|
# })
|
24610
24784
|
#
|
24611
24785
|
# @example Response structure
|
@@ -25185,7 +25359,7 @@ module Aws::SageMaker
|
|
25185
25359
|
# Updates the settings of a space.
|
25186
25360
|
#
|
25187
25361
|
# @option params [required, String] :domain_id
|
25188
|
-
# The ID of the associated
|
25362
|
+
# The ID of the associated domain.
|
25189
25363
|
#
|
25190
25364
|
# @option params [required, String] :space_name
|
25191
25365
|
# The name of the space.
|
@@ -25617,6 +25791,9 @@ module Aws::SageMaker
|
|
25617
25791
|
# kendra_settings: {
|
25618
25792
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
25619
25793
|
# },
|
25794
|
+
# generative_ai_settings: {
|
25795
|
+
# amazon_bedrock_role_arn: "RoleArn",
|
25796
|
+
# },
|
25620
25797
|
# },
|
25621
25798
|
# code_editor_app_settings: {
|
25622
25799
|
# default_resource_spec: {
|
@@ -25926,7 +26103,7 @@ module Aws::SageMaker
|
|
25926
26103
|
params: params,
|
25927
26104
|
config: config)
|
25928
26105
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
25929
|
-
context[:gem_version] = '1.
|
26106
|
+
context[:gem_version] = '1.232.0'
|
25930
26107
|
Seahorse::Client::Request.new(handlers, context)
|
25931
26108
|
end
|
25932
26109
|
|