aws-sdk-sagemaker 1.290.0 → 1.292.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +249 -6
- data/lib/aws-sdk-sagemaker/client_api.rb +77 -0
- data/lib/aws-sdk-sagemaker/types.rb +359 -12
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +86 -5
- data/sig/types.rbs +66 -2
- metadata +2 -2
@@ -2989,11 +2989,18 @@ module Aws::SageMaker
|
|
2989
2989
|
# @!attribute [rw] node_ids
|
2990
2990
|
# A list of node IDs to be deleted from the specified cluster.
|
2991
2991
|
#
|
2992
|
-
# <note markdown="1"> For SageMaker HyperPod clusters using the Slurm workload manager,
|
2993
|
-
#
|
2994
|
-
#
|
2992
|
+
# <note markdown="1"> * For SageMaker HyperPod clusters using the Slurm workload manager,
|
2993
|
+
# you cannot remove instances that are configured as Slurm
|
2994
|
+
# controller nodes.
|
2995
|
+
#
|
2996
|
+
# * If you need to delete more than 99 instances, contact [Support][1]
|
2997
|
+
# for assistance.
|
2995
2998
|
#
|
2996
2999
|
# </note>
|
3000
|
+
#
|
3001
|
+
#
|
3002
|
+
#
|
3003
|
+
# [1]: http://aws.amazon.com/contact-us/
|
2997
3004
|
# @return [Array<String>]
|
2998
3005
|
#
|
2999
3006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchDeleteClusterNodesRequest AWS API Documentation
|
@@ -15462,6 +15469,10 @@ module Aws::SageMaker
|
|
15462
15469
|
# The date and time that hub content was created.
|
15463
15470
|
# @return [Time]
|
15464
15471
|
#
|
15472
|
+
# @!attribute [rw] last_modified_time
|
15473
|
+
# The last modified time of the hub content.
|
15474
|
+
# @return [Time]
|
15475
|
+
#
|
15465
15476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContentResponse AWS API Documentation
|
15466
15477
|
#
|
15467
15478
|
class DescribeHubContentResponse < Struct.new(
|
@@ -15483,7 +15494,8 @@ module Aws::SageMaker
|
|
15483
15494
|
:hub_content_dependencies,
|
15484
15495
|
:hub_content_status,
|
15485
15496
|
:failure_reason,
|
15486
|
-
:creation_time
|
15497
|
+
:creation_time,
|
15498
|
+
:last_modified_time)
|
15487
15499
|
SENSITIVE = []
|
15488
15500
|
include Aws::Structure
|
15489
15501
|
end
|
@@ -16028,6 +16040,11 @@ module Aws::SageMaker
|
|
16028
16040
|
# The status of the inference component.
|
16029
16041
|
# @return [String]
|
16030
16042
|
#
|
16043
|
+
# @!attribute [rw] last_deployment_config
|
16044
|
+
# The deployment and rollback settings that you assigned to the
|
16045
|
+
# inference component.
|
16046
|
+
# @return [Types::InferenceComponentDeploymentConfig]
|
16047
|
+
#
|
16031
16048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceComponentOutput AWS API Documentation
|
16032
16049
|
#
|
16033
16050
|
class DescribeInferenceComponentOutput < Struct.new(
|
@@ -16041,7 +16058,8 @@ module Aws::SageMaker
|
|
16041
16058
|
:runtime_config,
|
16042
16059
|
:creation_time,
|
16043
16060
|
:last_modified_time,
|
16044
|
-
:inference_component_status
|
16061
|
+
:inference_component_status,
|
16062
|
+
:last_deployment_config)
|
16045
16063
|
SENSITIVE = []
|
16046
16064
|
include Aws::Structure
|
16047
16065
|
end
|
@@ -21280,10 +21298,12 @@ module Aws::SageMaker
|
|
21280
21298
|
end
|
21281
21299
|
|
21282
21300
|
# The properties of an experiment as returned by the [Search][1] API.
|
21301
|
+
# For information about experiments, see the [CreateExperiment][2] API.
|
21283
21302
|
#
|
21284
21303
|
#
|
21285
21304
|
#
|
21286
21305
|
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Search.html
|
21306
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateExperiment.html
|
21287
21307
|
#
|
21288
21308
|
# @!attribute [rw] experiment_name
|
21289
21309
|
# The name of the experiment.
|
@@ -22597,6 +22617,30 @@ module Aws::SageMaker
|
|
22597
22617
|
include Aws::Structure
|
22598
22618
|
end
|
22599
22619
|
|
22620
|
+
# The configuration for a private hub model reference that points to a
|
22621
|
+
# public SageMaker JumpStart model.
|
22622
|
+
#
|
22623
|
+
# For more information about private hubs, see [Private curated hubs for
|
22624
|
+
# foundation model access control in JumpStart][1].
|
22625
|
+
#
|
22626
|
+
#
|
22627
|
+
#
|
22628
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html
|
22629
|
+
#
|
22630
|
+
# @!attribute [rw] hub_content_arn
|
22631
|
+
# The ARN of your private model hub content. This should be a
|
22632
|
+
# `ModelReference` resource type that points to a SageMaker JumpStart
|
22633
|
+
# public hub model.
|
22634
|
+
# @return [String]
|
22635
|
+
#
|
22636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HubAccessConfig AWS API Documentation
|
22637
|
+
#
|
22638
|
+
class HubAccessConfig < Struct.new(
|
22639
|
+
:hub_content_arn)
|
22640
|
+
SENSITIVE = []
|
22641
|
+
include Aws::Structure
|
22642
|
+
end
|
22643
|
+
|
22600
22644
|
# Any dependencies related to hub content, such as scripts, model
|
22601
22645
|
# artifacts, datasets, or notebooks.
|
22602
22646
|
#
|
@@ -25333,6 +25377,10 @@ module Aws::SageMaker
|
|
25333
25377
|
# content such as type, associated containers, scripts, and more.
|
25334
25378
|
# @return [String]
|
25335
25379
|
#
|
25380
|
+
# @!attribute [rw] support_status
|
25381
|
+
# The status of the hub content resource.
|
25382
|
+
# @return [String]
|
25383
|
+
#
|
25336
25384
|
# @!attribute [rw] hub_content_search_keywords
|
25337
25385
|
# The searchable keywords of the hub content.
|
25338
25386
|
# @return [Array<String>]
|
@@ -25353,6 +25401,7 @@ module Aws::SageMaker
|
|
25353
25401
|
:hub_content_description,
|
25354
25402
|
:hub_content_markdown,
|
25355
25403
|
:hub_content_document,
|
25404
|
+
:support_status,
|
25356
25405
|
:hub_content_search_keywords,
|
25357
25406
|
:tags)
|
25358
25407
|
SENSITIVE = []
|
@@ -25376,6 +25425,47 @@ module Aws::SageMaker
|
|
25376
25425
|
include Aws::Structure
|
25377
25426
|
end
|
25378
25427
|
|
25428
|
+
# Specifies the type and size of the endpoint capacity to activate for a
|
25429
|
+
# rolling deployment or a rollback strategy. You can specify your
|
25430
|
+
# batches as either of the following:
|
25431
|
+
#
|
25432
|
+
# * A count of inference component copies
|
25433
|
+
#
|
25434
|
+
# * The overall percentage or your fleet
|
25435
|
+
#
|
25436
|
+
# For a rollback strategy, if you don't specify the fields in this
|
25437
|
+
# object, or if you set the `Value` parameter to 100%, then SageMaker AI
|
25438
|
+
# uses a blue/green rollback strategy and rolls all traffic back to the
|
25439
|
+
# blue fleet.
|
25440
|
+
#
|
25441
|
+
# @!attribute [rw] type
|
25442
|
+
# Specifies the endpoint capacity type.
|
25443
|
+
#
|
25444
|
+
# COPY\_COUNT
|
25445
|
+
#
|
25446
|
+
# : The endpoint activates based on the number of inference component
|
25447
|
+
# copies.
|
25448
|
+
#
|
25449
|
+
# CAPACITY\_PERCENT
|
25450
|
+
#
|
25451
|
+
# : The endpoint activates based on the specified percentage of
|
25452
|
+
# capacity.
|
25453
|
+
# @return [String]
|
25454
|
+
#
|
25455
|
+
# @!attribute [rw] value
|
25456
|
+
# Defines the capacity size, either as a number of inference component
|
25457
|
+
# copies or a capacity percentage.
|
25458
|
+
# @return [Integer]
|
25459
|
+
#
|
25460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentCapacitySize AWS API Documentation
|
25461
|
+
#
|
25462
|
+
class InferenceComponentCapacitySize < Struct.new(
|
25463
|
+
:type,
|
25464
|
+
:value)
|
25465
|
+
SENSITIVE = []
|
25466
|
+
include Aws::Structure
|
25467
|
+
end
|
25468
|
+
|
25379
25469
|
# Defines the compute resources to allocate to run a model, plus any
|
25380
25470
|
# adapter models, that you assign to an inference component. These
|
25381
25471
|
# resources include CPU cores, accelerators, and memory.
|
@@ -25481,6 +25571,69 @@ module Aws::SageMaker
|
|
25481
25571
|
include Aws::Structure
|
25482
25572
|
end
|
25483
25573
|
|
25574
|
+
# The deployment configuration for an endpoint that hosts inference
|
25575
|
+
# components. The configuration includes the desired deployment strategy
|
25576
|
+
# and rollback settings.
|
25577
|
+
#
|
25578
|
+
# @!attribute [rw] rolling_update_policy
|
25579
|
+
# Specifies a rolling deployment strategy for updating a SageMaker AI
|
25580
|
+
# endpoint.
|
25581
|
+
# @return [Types::InferenceComponentRollingUpdatePolicy]
|
25582
|
+
#
|
25583
|
+
# @!attribute [rw] auto_rollback_configuration
|
25584
|
+
# Automatic rollback configuration for handling endpoint deployment
|
25585
|
+
# failures and recovery.
|
25586
|
+
# @return [Types::AutoRollbackConfig]
|
25587
|
+
#
|
25588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentDeploymentConfig AWS API Documentation
|
25589
|
+
#
|
25590
|
+
class InferenceComponentDeploymentConfig < Struct.new(
|
25591
|
+
:rolling_update_policy,
|
25592
|
+
:auto_rollback_configuration)
|
25593
|
+
SENSITIVE = []
|
25594
|
+
include Aws::Structure
|
25595
|
+
end
|
25596
|
+
|
25597
|
+
# Specifies a rolling deployment strategy for updating a SageMaker AI
|
25598
|
+
# inference component.
|
25599
|
+
#
|
25600
|
+
# @!attribute [rw] maximum_batch_size
|
25601
|
+
# The batch size for each rolling step in the deployment process. For
|
25602
|
+
# each step, SageMaker AI provisions capacity on the new endpoint
|
25603
|
+
# fleet, routes traffic to that fleet, and terminates capacity on the
|
25604
|
+
# old endpoint fleet. The value must be between 5% to 50% of the copy
|
25605
|
+
# count of the inference component.
|
25606
|
+
# @return [Types::InferenceComponentCapacitySize]
|
25607
|
+
#
|
25608
|
+
# @!attribute [rw] wait_interval_in_seconds
|
25609
|
+
# The length of the baking period, during which SageMaker AI monitors
|
25610
|
+
# alarms for each batch on the new fleet.
|
25611
|
+
# @return [Integer]
|
25612
|
+
#
|
25613
|
+
# @!attribute [rw] maximum_execution_timeout_in_seconds
|
25614
|
+
# The time limit for the total deployment. Exceeding this limit causes
|
25615
|
+
# a timeout.
|
25616
|
+
# @return [Integer]
|
25617
|
+
#
|
25618
|
+
# @!attribute [rw] rollback_maximum_batch_size
|
25619
|
+
# The batch size for a rollback to the old endpoint fleet. If this
|
25620
|
+
# field is absent, the value is set to the default, which is 100% of
|
25621
|
+
# the total capacity. When the default is used, SageMaker AI
|
25622
|
+
# provisions the entire capacity of the old fleet at once during
|
25623
|
+
# rollback.
|
25624
|
+
# @return [Types::InferenceComponentCapacitySize]
|
25625
|
+
#
|
25626
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceComponentRollingUpdatePolicy AWS API Documentation
|
25627
|
+
#
|
25628
|
+
class InferenceComponentRollingUpdatePolicy < Struct.new(
|
25629
|
+
:maximum_batch_size,
|
25630
|
+
:wait_interval_in_seconds,
|
25631
|
+
:maximum_execution_timeout_in_seconds,
|
25632
|
+
:rollback_maximum_batch_size)
|
25633
|
+
SENSITIVE = []
|
25634
|
+
include Aws::Structure
|
25635
|
+
end
|
25636
|
+
|
25484
25637
|
# Runtime settings for a model that is deployed with an inference
|
25485
25638
|
# component.
|
25486
25639
|
#
|
@@ -34551,10 +34704,29 @@ module Aws::SageMaker
|
|
34551
34704
|
include Aws::Structure
|
34552
34705
|
end
|
34553
34706
|
|
34554
|
-
# A
|
34707
|
+
# A container for your trained model that can be deployed for SageMaker
|
34708
|
+
# inference. This can include inference code, artifacts, and metadata.
|
34709
|
+
# The model package type can be one of the following.
|
34710
|
+
#
|
34711
|
+
# * Versioned model: A part of a model package group in Model Registry.
|
34712
|
+
#
|
34713
|
+
# * Unversioned model: Not part of a model package group and used in
|
34714
|
+
# Amazon Web Services Marketplace.
|
34715
|
+
#
|
34716
|
+
# For more information, see [ `CreateModelPackage` ][1].
|
34717
|
+
#
|
34718
|
+
#
|
34719
|
+
#
|
34720
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModelPackage.html
|
34555
34721
|
#
|
34556
34722
|
# @!attribute [rw] model_package_name
|
34557
|
-
# The name of the model.
|
34723
|
+
# The name of the model package. The name can be as follows:
|
34724
|
+
#
|
34725
|
+
# * For a versioned model, the name is automatically generated by
|
34726
|
+
# SageMaker Model Registry and follows the format
|
34727
|
+
# '`ModelPackageGroupName/ModelPackageVersion`'.
|
34728
|
+
#
|
34729
|
+
# * For an unversioned model, you must provide the name.
|
34558
34730
|
# @return [String]
|
34559
34731
|
#
|
34560
34732
|
# @!attribute [rw] model_package_group_name
|
@@ -34879,7 +35051,7 @@ module Aws::SageMaker
|
|
34879
35051
|
include Aws::Structure
|
34880
35052
|
end
|
34881
35053
|
|
34882
|
-
# A group of versioned models in the
|
35054
|
+
# A group of versioned models in the Model Registry.
|
34883
35055
|
#
|
34884
35056
|
# @!attribute [rw] model_package_group_name
|
34885
35057
|
# The name of the model group.
|
@@ -41846,6 +42018,30 @@ module Aws::SageMaker
|
|
41846
42018
|
# source.
|
41847
42019
|
# @return [Array<String>]
|
41848
42020
|
#
|
42021
|
+
# @!attribute [rw] model_access_config
|
42022
|
+
# The access configuration file to control access to the ML model. You
|
42023
|
+
# can explicitly accept the model end-user license agreement (EULA)
|
42024
|
+
# within the `ModelAccessConfig`.
|
42025
|
+
#
|
42026
|
+
# * If you are a Jumpstart user, see the [End-user license
|
42027
|
+
# agreements][1] section for more details on accepting the EULA.
|
42028
|
+
#
|
42029
|
+
# * If you are an AutoML user, see the *Optional Parameters* section
|
42030
|
+
# of *Create an AutoML job to fine-tune text generation models using
|
42031
|
+
# the API* for details on [How to set the EULA acceptance when
|
42032
|
+
# fine-tuning a model using the AutoML API][2].
|
42033
|
+
#
|
42034
|
+
#
|
42035
|
+
#
|
42036
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
|
42037
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params
|
42038
|
+
# @return [Types::ModelAccessConfig]
|
42039
|
+
#
|
42040
|
+
# @!attribute [rw] hub_access_config
|
42041
|
+
# The configuration for a private hub model reference that points to a
|
42042
|
+
# SageMaker JumpStart public hub model.
|
42043
|
+
# @return [Types::HubAccessConfig]
|
42044
|
+
#
|
41849
42045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3DataSource AWS API Documentation
|
41850
42046
|
#
|
41851
42047
|
class S3DataSource < Struct.new(
|
@@ -41853,7 +42049,9 @@ module Aws::SageMaker
|
|
41853
42049
|
:s3_uri,
|
41854
42050
|
:s3_data_distribution_type,
|
41855
42051
|
:attribute_names,
|
41856
|
-
:instance_group_names
|
42052
|
+
:instance_group_names,
|
42053
|
+
:model_access_config,
|
42054
|
+
:hub_access_config)
|
41857
42055
|
SENSITIVE = []
|
41858
42056
|
include Aws::Structure
|
41859
42057
|
end
|
@@ -42316,11 +42514,25 @@ module Aws::SageMaker
|
|
42316
42514
|
# @return [Types::Endpoint]
|
42317
42515
|
#
|
42318
42516
|
# @!attribute [rw] model_package
|
42319
|
-
# A
|
42517
|
+
# A container for your trained model that can be deployed for
|
42518
|
+
# SageMaker inference. This can include inference code, artifacts, and
|
42519
|
+
# metadata. The model package type can be one of the following.
|
42520
|
+
#
|
42521
|
+
# * Versioned model: A part of a model package group in Model
|
42522
|
+
# Registry.
|
42523
|
+
#
|
42524
|
+
# * Unversioned model: Not part of a model package group and used in
|
42525
|
+
# Amazon Web Services Marketplace.
|
42526
|
+
#
|
42527
|
+
# For more information, see [ `CreateModelPackage` ][1].
|
42528
|
+
#
|
42529
|
+
#
|
42530
|
+
#
|
42531
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModelPackage.html
|
42320
42532
|
# @return [Types::ModelPackage]
|
42321
42533
|
#
|
42322
42534
|
# @!attribute [rw] model_package_group
|
42323
|
-
# A group of versioned models in the
|
42535
|
+
# A group of versioned models in the Model Registry.
|
42324
42536
|
# @return [Types::ModelPackageGroup]
|
42325
42537
|
#
|
42326
42538
|
# @!attribute [rw] pipeline
|
@@ -47990,6 +48202,134 @@ module Aws::SageMaker
|
|
47990
48202
|
include Aws::Structure
|
47991
48203
|
end
|
47992
48204
|
|
48205
|
+
# @!attribute [rw] hub_name
|
48206
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48207
|
+
# to update. You can optionally use the hub ARN instead.
|
48208
|
+
# @return [String]
|
48209
|
+
#
|
48210
|
+
# @!attribute [rw] hub_content_name
|
48211
|
+
# The name of the hub content resource that you want to update.
|
48212
|
+
# @return [String]
|
48213
|
+
#
|
48214
|
+
# @!attribute [rw] hub_content_type
|
48215
|
+
# The content type of the resource that you want to update. Only
|
48216
|
+
# specify a `ModelReference` resource for this API. To update a
|
48217
|
+
# `Model` or `Notebook` resource, use the `UpdateHubContent` API
|
48218
|
+
# instead.
|
48219
|
+
# @return [String]
|
48220
|
+
#
|
48221
|
+
# @!attribute [rw] min_version
|
48222
|
+
# The minimum hub content version of the referenced model that you
|
48223
|
+
# want to use. The minimum version must be older than the latest
|
48224
|
+
# available version of the referenced model. To support all versions
|
48225
|
+
# of a model, set the value to `1.0.0`.
|
48226
|
+
# @return [String]
|
48227
|
+
#
|
48228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceRequest AWS API Documentation
|
48229
|
+
#
|
48230
|
+
class UpdateHubContentReferenceRequest < Struct.new(
|
48231
|
+
:hub_name,
|
48232
|
+
:hub_content_name,
|
48233
|
+
:hub_content_type,
|
48234
|
+
:min_version)
|
48235
|
+
SENSITIVE = []
|
48236
|
+
include Aws::Structure
|
48237
|
+
end
|
48238
|
+
|
48239
|
+
# @!attribute [rw] hub_arn
|
48240
|
+
# The ARN of the private model hub that contains the updated hub
|
48241
|
+
# content.
|
48242
|
+
# @return [String]
|
48243
|
+
#
|
48244
|
+
# @!attribute [rw] hub_content_arn
|
48245
|
+
# The ARN of the hub content resource that was updated.
|
48246
|
+
# @return [String]
|
48247
|
+
#
|
48248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceResponse AWS API Documentation
|
48249
|
+
#
|
48250
|
+
class UpdateHubContentReferenceResponse < Struct.new(
|
48251
|
+
:hub_arn,
|
48252
|
+
:hub_content_arn)
|
48253
|
+
SENSITIVE = []
|
48254
|
+
include Aws::Structure
|
48255
|
+
end
|
48256
|
+
|
48257
|
+
# @!attribute [rw] hub_name
|
48258
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48259
|
+
# to update. You can optionally use the hub ARN instead.
|
48260
|
+
# @return [String]
|
48261
|
+
#
|
48262
|
+
# @!attribute [rw] hub_content_name
|
48263
|
+
# The name of the hub content resource that you want to update.
|
48264
|
+
# @return [String]
|
48265
|
+
#
|
48266
|
+
# @!attribute [rw] hub_content_type
|
48267
|
+
# The content type of the resource that you want to update. Only
|
48268
|
+
# specify a `Model` or `Notebook` resource for this API. To update a
|
48269
|
+
# `ModelReference`, use the `UpdateHubContentReference` API instead.
|
48270
|
+
# @return [String]
|
48271
|
+
#
|
48272
|
+
# @!attribute [rw] hub_content_version
|
48273
|
+
# The hub content version that you want to update. For example, if you
|
48274
|
+
# have two versions of a resource in your hub, you can update the
|
48275
|
+
# second version.
|
48276
|
+
# @return [String]
|
48277
|
+
#
|
48278
|
+
# @!attribute [rw] hub_content_display_name
|
48279
|
+
# The display name of the hub content.
|
48280
|
+
# @return [String]
|
48281
|
+
#
|
48282
|
+
# @!attribute [rw] hub_content_description
|
48283
|
+
# The description of the hub content.
|
48284
|
+
# @return [String]
|
48285
|
+
#
|
48286
|
+
# @!attribute [rw] hub_content_markdown
|
48287
|
+
# A string that provides a description of the hub content. This string
|
48288
|
+
# can include links, tables, and standard markdown formatting.
|
48289
|
+
# @return [String]
|
48290
|
+
#
|
48291
|
+
# @!attribute [rw] hub_content_search_keywords
|
48292
|
+
# The searchable keywords of the hub content.
|
48293
|
+
# @return [Array<String>]
|
48294
|
+
#
|
48295
|
+
# @!attribute [rw] support_status
|
48296
|
+
# Indicates the current status of the hub content resource.
|
48297
|
+
# @return [String]
|
48298
|
+
#
|
48299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentRequest AWS API Documentation
|
48300
|
+
#
|
48301
|
+
class UpdateHubContentRequest < Struct.new(
|
48302
|
+
:hub_name,
|
48303
|
+
:hub_content_name,
|
48304
|
+
:hub_content_type,
|
48305
|
+
:hub_content_version,
|
48306
|
+
:hub_content_display_name,
|
48307
|
+
:hub_content_description,
|
48308
|
+
:hub_content_markdown,
|
48309
|
+
:hub_content_search_keywords,
|
48310
|
+
:support_status)
|
48311
|
+
SENSITIVE = []
|
48312
|
+
include Aws::Structure
|
48313
|
+
end
|
48314
|
+
|
48315
|
+
# @!attribute [rw] hub_arn
|
48316
|
+
# The ARN of the private model hub that contains the updated hub
|
48317
|
+
# content.
|
48318
|
+
# @return [String]
|
48319
|
+
#
|
48320
|
+
# @!attribute [rw] hub_content_arn
|
48321
|
+
# The ARN of the hub content resource that was updated.
|
48322
|
+
# @return [String]
|
48323
|
+
#
|
48324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentResponse AWS API Documentation
|
48325
|
+
#
|
48326
|
+
class UpdateHubContentResponse < Struct.new(
|
48327
|
+
:hub_arn,
|
48328
|
+
:hub_content_arn)
|
48329
|
+
SENSITIVE = []
|
48330
|
+
include Aws::Structure
|
48331
|
+
end
|
48332
|
+
|
47993
48333
|
# @!attribute [rw] hub_name
|
47994
48334
|
# The name of the hub to update.
|
47995
48335
|
# @return [String]
|
@@ -48193,12 +48533,19 @@ module Aws::SageMaker
|
|
48193
48533
|
# component.
|
48194
48534
|
# @return [Types::InferenceComponentRuntimeConfig]
|
48195
48535
|
#
|
48536
|
+
# @!attribute [rw] deployment_config
|
48537
|
+
# The deployment configuration for the inference component. The
|
48538
|
+
# configuration contains the desired deployment strategy and rollback
|
48539
|
+
# settings.
|
48540
|
+
# @return [Types::InferenceComponentDeploymentConfig]
|
48541
|
+
#
|
48196
48542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateInferenceComponentInput AWS API Documentation
|
48197
48543
|
#
|
48198
48544
|
class UpdateInferenceComponentInput < Struct.new(
|
48199
48545
|
:inference_component_name,
|
48200
48546
|
:specification,
|
48201
|
-
:runtime_config
|
48547
|
+
:runtime_config,
|
48548
|
+
:deployment_config)
|
48202
48549
|
SENSITIVE = []
|
48203
48550
|
include Aws::Structure
|
48204
48551
|
end
|
data/lib/aws-sdk-sagemaker.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -300,7 +300,13 @@ module Aws
|
|
300
300
|
s3_uri: ::String,
|
301
301
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
302
302
|
attribute_names: Array[::String]?,
|
303
|
-
instance_group_names: Array[::String]
|
303
|
+
instance_group_names: Array[::String]?,
|
304
|
+
model_access_config: {
|
305
|
+
accept_eula: bool
|
306
|
+
}?,
|
307
|
+
hub_access_config: {
|
308
|
+
hub_content_arn: ::String
|
309
|
+
}?
|
304
310
|
}?,
|
305
311
|
file_system_data_source: {
|
306
312
|
file_system_id: ::String,
|
@@ -1977,7 +1983,13 @@ module Aws
|
|
1977
1983
|
s3_uri: ::String,
|
1978
1984
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
1979
1985
|
attribute_names: Array[::String]?,
|
1980
|
-
instance_group_names: Array[::String]
|
1986
|
+
instance_group_names: Array[::String]?,
|
1987
|
+
model_access_config: {
|
1988
|
+
accept_eula: bool
|
1989
|
+
}?,
|
1990
|
+
hub_access_config: {
|
1991
|
+
hub_content_arn: ::String
|
1992
|
+
}?
|
1981
1993
|
}?,
|
1982
1994
|
file_system_data_source: {
|
1983
1995
|
file_system_id: ::String,
|
@@ -2109,7 +2121,13 @@ module Aws
|
|
2109
2121
|
s3_uri: ::String,
|
2110
2122
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
2111
2123
|
attribute_names: Array[::String]?,
|
2112
|
-
instance_group_names: Array[::String]
|
2124
|
+
instance_group_names: Array[::String]?,
|
2125
|
+
model_access_config: {
|
2126
|
+
accept_eula: bool
|
2127
|
+
}?,
|
2128
|
+
hub_access_config: {
|
2129
|
+
hub_content_arn: ::String
|
2130
|
+
}?
|
2113
2131
|
}?,
|
2114
2132
|
file_system_data_source: {
|
2115
2133
|
file_system_id: ::String,
|
@@ -3960,7 +3978,13 @@ module Aws
|
|
3960
3978
|
s3_uri: ::String,
|
3961
3979
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
3962
3980
|
attribute_names: Array[::String]?,
|
3963
|
-
instance_group_names: Array[::String]
|
3981
|
+
instance_group_names: Array[::String]?,
|
3982
|
+
model_access_config: {
|
3983
|
+
accept_eula: bool
|
3984
|
+
}?,
|
3985
|
+
hub_access_config: {
|
3986
|
+
hub_content_arn: ::String
|
3987
|
+
}?
|
3964
3988
|
}?,
|
3965
3989
|
file_system_data_source: {
|
3966
3990
|
file_system_id: ::String,
|
@@ -5571,12 +5595,13 @@ module Aws
|
|
5571
5595
|
def hub_content_document: () -> ::String
|
5572
5596
|
def sage_maker_public_hub_content_arn: () -> ::String
|
5573
5597
|
def reference_min_version: () -> ::String
|
5574
|
-
def support_status: () -> ("Supported" | "Deprecated")
|
5598
|
+
def support_status: () -> ("Supported" | "Deprecated" | "Restricted")
|
5575
5599
|
def hub_content_search_keywords: () -> ::Array[::String]
|
5576
5600
|
def hub_content_dependencies: () -> ::Array[Types::HubContentDependency]
|
5577
5601
|
def hub_content_status: () -> ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
5578
5602
|
def failure_reason: () -> ::String
|
5579
5603
|
def creation_time: () -> ::Time
|
5604
|
+
def last_modified_time: () -> ::Time
|
5580
5605
|
end
|
5581
5606
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_hub_content-instance_method
|
5582
5607
|
def describe_hub_content: (
|
@@ -5686,6 +5711,7 @@ module Aws
|
|
5686
5711
|
def creation_time: () -> ::Time
|
5687
5712
|
def last_modified_time: () -> ::Time
|
5688
5713
|
def inference_component_status: () -> ("InService" | "Creating" | "Updating" | "Failed" | "Deleting")
|
5714
|
+
def last_deployment_config: () -> Types::InferenceComponentDeploymentConfig
|
5689
5715
|
end
|
5690
5716
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_inference_component-instance_method
|
5691
5717
|
def describe_inference_component: (
|
@@ -6570,6 +6596,7 @@ module Aws
|
|
6570
6596
|
?hub_content_description: ::String,
|
6571
6597
|
?hub_content_markdown: ::String,
|
6572
6598
|
hub_content_document: ::String,
|
6599
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted"),
|
6573
6600
|
?hub_content_search_keywords: Array[::String],
|
6574
6601
|
?tags: Array[
|
6575
6602
|
{
|
@@ -9129,6 +9156,39 @@ module Aws
|
|
9129
9156
|
) -> _UpdateHubResponseSuccess
|
9130
9157
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubResponseSuccess
|
9131
9158
|
|
9159
|
+
interface _UpdateHubContentResponseSuccess
|
9160
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentResponse]
|
9161
|
+
def hub_arn: () -> ::String
|
9162
|
+
def hub_content_arn: () -> ::String
|
9163
|
+
end
|
9164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content-instance_method
|
9165
|
+
def update_hub_content: (
|
9166
|
+
hub_name: ::String,
|
9167
|
+
hub_content_name: ::String,
|
9168
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9169
|
+
hub_content_version: ::String,
|
9170
|
+
?hub_content_display_name: ::String,
|
9171
|
+
?hub_content_description: ::String,
|
9172
|
+
?hub_content_markdown: ::String,
|
9173
|
+
?hub_content_search_keywords: Array[::String],
|
9174
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted")
|
9175
|
+
) -> _UpdateHubContentResponseSuccess
|
9176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentResponseSuccess
|
9177
|
+
|
9178
|
+
interface _UpdateHubContentReferenceResponseSuccess
|
9179
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentReferenceResponse]
|
9180
|
+
def hub_arn: () -> ::String
|
9181
|
+
def hub_content_arn: () -> ::String
|
9182
|
+
end
|
9183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content_reference-instance_method
|
9184
|
+
def update_hub_content_reference: (
|
9185
|
+
hub_name: ::String,
|
9186
|
+
hub_content_name: ::String,
|
9187
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9188
|
+
?min_version: ::String
|
9189
|
+
) -> _UpdateHubContentReferenceResponseSuccess
|
9190
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentReferenceResponseSuccess
|
9191
|
+
|
9132
9192
|
interface _UpdateImageResponseSuccess
|
9133
9193
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateImageResponse]
|
9134
9194
|
def image_arn: () -> ::String
|
@@ -9192,6 +9252,27 @@ module Aws
|
|
9192
9252
|
},
|
9193
9253
|
?runtime_config: {
|
9194
9254
|
copy_count: ::Integer
|
9255
|
+
},
|
9256
|
+
?deployment_config: {
|
9257
|
+
rolling_update_policy: {
|
9258
|
+
maximum_batch_size: {
|
9259
|
+
type: ("COPY_COUNT" | "CAPACITY_PERCENT"),
|
9260
|
+
value: ::Integer
|
9261
|
+
},
|
9262
|
+
wait_interval_in_seconds: ::Integer,
|
9263
|
+
maximum_execution_timeout_in_seconds: ::Integer?,
|
9264
|
+
rollback_maximum_batch_size: {
|
9265
|
+
type: ("COPY_COUNT" | "CAPACITY_PERCENT"),
|
9266
|
+
value: ::Integer
|
9267
|
+
}?
|
9268
|
+
},
|
9269
|
+
auto_rollback_configuration: {
|
9270
|
+
alarms: Array[
|
9271
|
+
{
|
9272
|
+
alarm_name: ::String?
|
9273
|
+
},
|
9274
|
+
]?
|
9275
|
+
}?
|
9195
9276
|
}
|
9196
9277
|
) -> _UpdateInferenceComponentResponseSuccess
|
9197
9278
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInferenceComponentResponseSuccess
|