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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1496114fc24f8979923e36a35fcda72d6fe3a5f26ceda9b9d4c4bf03e05e0c12
|
4
|
+
data.tar.gz: de8dd429554d7c8ae10b7caa9d3aae69fb10465b2d52a003abffdf3a0737308e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7e02b15f96820ad562bcff63de4f6b571f5c783025721524903553e0cfa83001afde5af6cf8489d005f65c827169ab736492de04c52541096c09f09b6dc2de4
|
7
|
+
data.tar.gz: 1ac9585ccf18610063a73fbf339befa3d92e2d37969ce8cafaf16d6f3ae8f74eb2d55f537b1da52776e4c15669fa62c82e7844c71069a103feb6cfd2606cd13e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.292.0 (2025-02-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference.
|
8
|
+
|
9
|
+
1.291.0 (2025-02-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components.
|
13
|
+
|
4
14
|
1.290.0 (2025-02-20)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.292.0
|
@@ -689,11 +689,19 @@ module Aws::SageMaker
|
|
689
689
|
# @option params [required, Array<String>] :node_ids
|
690
690
|
# A list of node IDs to be deleted from the specified cluster.
|
691
691
|
#
|
692
|
-
# <note markdown="1"> For SageMaker HyperPod clusters using the Slurm workload manager,
|
693
|
-
#
|
692
|
+
# <note markdown="1"> * For SageMaker HyperPod clusters using the Slurm workload manager,
|
693
|
+
# you cannot remove instances that are configured as Slurm controller
|
694
|
+
# nodes.
|
695
|
+
#
|
696
|
+
# * If you need to delete more than 99 instances, contact [Support][1]
|
697
|
+
# for assistance.
|
694
698
|
#
|
695
699
|
# </note>
|
696
700
|
#
|
701
|
+
#
|
702
|
+
#
|
703
|
+
# [1]: http://aws.amazon.com/contact-us/
|
704
|
+
#
|
697
705
|
# @return [Types::BatchDeleteClusterNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
698
706
|
#
|
699
707
|
# * {Types::BatchDeleteClusterNodesResponse#failed #failed} => Array<Types::BatchDeleteClusterNodesError>
|
@@ -1074,6 +1082,12 @@ module Aws::SageMaker
|
|
1074
1082
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
1075
1083
|
# attribute_names: ["AttributeName"],
|
1076
1084
|
# instance_group_names: ["InstanceGroupName"],
|
1085
|
+
# model_access_config: {
|
1086
|
+
# accept_eula: false, # required
|
1087
|
+
# },
|
1088
|
+
# hub_access_config: {
|
1089
|
+
# hub_content_arn: "HubContentArn", # required
|
1090
|
+
# },
|
1077
1091
|
# },
|
1078
1092
|
# file_system_data_source: {
|
1079
1093
|
# file_system_id: "FileSystemId", # required
|
@@ -4739,6 +4753,12 @@ module Aws::SageMaker
|
|
4739
4753
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4740
4754
|
# attribute_names: ["AttributeName"],
|
4741
4755
|
# instance_group_names: ["InstanceGroupName"],
|
4756
|
+
# model_access_config: {
|
4757
|
+
# accept_eula: false, # required
|
4758
|
+
# },
|
4759
|
+
# hub_access_config: {
|
4760
|
+
# hub_content_arn: "HubContentArn", # required
|
4761
|
+
# },
|
4742
4762
|
# },
|
4743
4763
|
# file_system_data_source: {
|
4744
4764
|
# file_system_id: "FileSystemId", # required
|
@@ -4875,6 +4895,12 @@ module Aws::SageMaker
|
|
4875
4895
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4876
4896
|
# attribute_names: ["AttributeName"],
|
4877
4897
|
# instance_group_names: ["InstanceGroupName"],
|
4898
|
+
# model_access_config: {
|
4899
|
+
# accept_eula: false, # required
|
4900
|
+
# },
|
4901
|
+
# hub_access_config: {
|
4902
|
+
# hub_content_arn: "HubContentArn", # required
|
4903
|
+
# },
|
4878
4904
|
# },
|
4879
4905
|
# file_system_data_source: {
|
4880
4906
|
# file_system_id: "FileSystemId", # required
|
@@ -9210,6 +9236,12 @@ module Aws::SageMaker
|
|
9210
9236
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
9211
9237
|
# attribute_names: ["AttributeName"],
|
9212
9238
|
# instance_group_names: ["InstanceGroupName"],
|
9239
|
+
# model_access_config: {
|
9240
|
+
# accept_eula: false, # required
|
9241
|
+
# },
|
9242
|
+
# hub_access_config: {
|
9243
|
+
# hub_content_arn: "HubContentArn", # required
|
9244
|
+
# },
|
9213
9245
|
# },
|
9214
9246
|
# file_system_data_source: {
|
9215
9247
|
# file_system_id: "FileSystemId", # required
|
@@ -12161,6 +12193,8 @@ module Aws::SageMaker
|
|
12161
12193
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
12162
12194
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
12163
12195
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
12196
|
+
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
12197
|
+
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
12164
12198
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
12165
12199
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
12166
12200
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -14455,6 +14489,7 @@ module Aws::SageMaker
|
|
14455
14489
|
# * {Types::DescribeHubContentResponse#hub_content_status #hub_content_status} => String
|
14456
14490
|
# * {Types::DescribeHubContentResponse#failure_reason #failure_reason} => String
|
14457
14491
|
# * {Types::DescribeHubContentResponse#creation_time #creation_time} => Time
|
14492
|
+
# * {Types::DescribeHubContentResponse#last_modified_time #last_modified_time} => Time
|
14458
14493
|
#
|
14459
14494
|
# @example Request syntax with placeholder values
|
14460
14495
|
#
|
@@ -14480,7 +14515,7 @@ module Aws::SageMaker
|
|
14480
14515
|
# resp.hub_content_document #=> String
|
14481
14516
|
# resp.sage_maker_public_hub_content_arn #=> String
|
14482
14517
|
# resp.reference_min_version #=> String
|
14483
|
-
# resp.support_status #=> String, one of "Supported", "Deprecated"
|
14518
|
+
# resp.support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
14484
14519
|
# resp.hub_content_search_keywords #=> Array
|
14485
14520
|
# resp.hub_content_search_keywords[0] #=> String
|
14486
14521
|
# resp.hub_content_dependencies #=> Array
|
@@ -14489,6 +14524,7 @@ module Aws::SageMaker
|
|
14489
14524
|
# resp.hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
14490
14525
|
# resp.failure_reason #=> String
|
14491
14526
|
# resp.creation_time #=> Time
|
14527
|
+
# resp.last_modified_time #=> Time
|
14492
14528
|
#
|
14493
14529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContent AWS API Documentation
|
14494
14530
|
#
|
@@ -14644,6 +14680,8 @@ module Aws::SageMaker
|
|
14644
14680
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14645
14681
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14646
14682
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
14683
|
+
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14684
|
+
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14647
14685
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14648
14686
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
14649
14687
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -14729,6 +14767,8 @@ module Aws::SageMaker
|
|
14729
14767
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14730
14768
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14731
14769
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
14770
|
+
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14771
|
+
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14732
14772
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14733
14773
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
14734
14774
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -14977,6 +15017,7 @@ module Aws::SageMaker
|
|
14977
15017
|
# * {Types::DescribeInferenceComponentOutput#creation_time #creation_time} => Time
|
14978
15018
|
# * {Types::DescribeInferenceComponentOutput#last_modified_time #last_modified_time} => Time
|
14979
15019
|
# * {Types::DescribeInferenceComponentOutput#inference_component_status #inference_component_status} => String
|
15020
|
+
# * {Types::DescribeInferenceComponentOutput#last_deployment_config #last_deployment_config} => Types::InferenceComponentDeploymentConfig
|
14980
15021
|
#
|
14981
15022
|
# @example Request syntax with placeholder values
|
14982
15023
|
#
|
@@ -15011,6 +15052,14 @@ module Aws::SageMaker
|
|
15011
15052
|
# resp.creation_time #=> Time
|
15012
15053
|
# resp.last_modified_time #=> Time
|
15013
15054
|
# resp.inference_component_status #=> String, one of "InService", "Creating", "Updating", "Failed", "Deleting"
|
15055
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_batch_size.type #=> String, one of "COPY_COUNT", "CAPACITY_PERCENT"
|
15056
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_batch_size.value #=> Integer
|
15057
|
+
# resp.last_deployment_config.rolling_update_policy.wait_interval_in_seconds #=> Integer
|
15058
|
+
# resp.last_deployment_config.rolling_update_policy.maximum_execution_timeout_in_seconds #=> Integer
|
15059
|
+
# resp.last_deployment_config.rolling_update_policy.rollback_maximum_batch_size.type #=> String, one of "COPY_COUNT", "CAPACITY_PERCENT"
|
15060
|
+
# resp.last_deployment_config.rolling_update_policy.rollback_maximum_batch_size.value #=> Integer
|
15061
|
+
# resp.last_deployment_config.auto_rollback_configuration.alarms #=> Array
|
15062
|
+
# resp.last_deployment_config.auto_rollback_configuration.alarms[0].alarm_name #=> String
|
15014
15063
|
#
|
15015
15064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceComponent AWS API Documentation
|
15016
15065
|
#
|
@@ -17246,6 +17295,8 @@ module Aws::SageMaker
|
|
17246
17295
|
# resp.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
17247
17296
|
# resp.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
17248
17297
|
# resp.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
17298
|
+
# resp.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
17299
|
+
# resp.input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
17249
17300
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
17250
17301
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
17251
17302
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -18330,6 +18381,9 @@ module Aws::SageMaker
|
|
18330
18381
|
# The hub content document that describes information about the hub
|
18331
18382
|
# content such as type, associated containers, scripts, and more.
|
18332
18383
|
#
|
18384
|
+
# @option params [String] :support_status
|
18385
|
+
# The status of the hub content resource.
|
18386
|
+
#
|
18333
18387
|
# @option params [Array<String>] :hub_content_search_keywords
|
18334
18388
|
# The searchable keywords of the hub content.
|
18335
18389
|
#
|
@@ -18353,6 +18407,7 @@ module Aws::SageMaker
|
|
18353
18407
|
# hub_content_description: "HubContentDescription",
|
18354
18408
|
# hub_content_markdown: "HubContentMarkdown",
|
18355
18409
|
# hub_content_document: "HubContentDocument", # required
|
18410
|
+
# support_status: "Supported", # accepts Supported, Deprecated, Restricted
|
18356
18411
|
# hub_content_search_keywords: ["HubSearchKeyword"],
|
18357
18412
|
# tags: [
|
18358
18413
|
# {
|
@@ -20564,7 +20619,7 @@ module Aws::SageMaker
|
|
20564
20619
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20565
20620
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20566
20621
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20567
|
-
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
20622
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
20568
20623
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20569
20624
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20570
20625
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -20646,7 +20701,7 @@ module Aws::SageMaker
|
|
20646
20701
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20647
20702
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20648
20703
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20649
|
-
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
20704
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
20650
20705
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20651
20706
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20652
20707
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -27375,6 +27430,168 @@ module Aws::SageMaker
|
|
27375
27430
|
req.send_request(options)
|
27376
27431
|
end
|
27377
27432
|
|
27433
|
+
# Updates SageMaker hub content (either a `Model` or `Notebook`
|
27434
|
+
# resource).
|
27435
|
+
#
|
27436
|
+
# You can update the metadata that describes the resource. In addition
|
27437
|
+
# to the required request fields, specify at least one of the following
|
27438
|
+
# fields to update:
|
27439
|
+
#
|
27440
|
+
# * `HubContentDescription`
|
27441
|
+
#
|
27442
|
+
# * `HubContentDisplayName`
|
27443
|
+
#
|
27444
|
+
# * `HubContentMarkdown`
|
27445
|
+
#
|
27446
|
+
# * `HubContentSearchKeywords`
|
27447
|
+
#
|
27448
|
+
# * `SupportStatus`
|
27449
|
+
#
|
27450
|
+
# For more information about hubs, see [Private curated hubs for
|
27451
|
+
# foundation model access control in JumpStart][1].
|
27452
|
+
#
|
27453
|
+
# <note markdown="1"> If you want to update a `ModelReference` resource in your hub, use the
|
27454
|
+
# `UpdateHubContentResource` API instead.
|
27455
|
+
#
|
27456
|
+
# </note>
|
27457
|
+
#
|
27458
|
+
#
|
27459
|
+
#
|
27460
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html
|
27461
|
+
#
|
27462
|
+
# @option params [required, String] :hub_name
|
27463
|
+
# The name of the SageMaker hub that contains the hub content you want
|
27464
|
+
# to update. You can optionally use the hub ARN instead.
|
27465
|
+
#
|
27466
|
+
# @option params [required, String] :hub_content_name
|
27467
|
+
# The name of the hub content resource that you want to update.
|
27468
|
+
#
|
27469
|
+
# @option params [required, String] :hub_content_type
|
27470
|
+
# The content type of the resource that you want to update. Only specify
|
27471
|
+
# a `Model` or `Notebook` resource for this API. To update a
|
27472
|
+
# `ModelReference`, use the `UpdateHubContentReference` API instead.
|
27473
|
+
#
|
27474
|
+
# @option params [required, String] :hub_content_version
|
27475
|
+
# The hub content version that you want to update. For example, if you
|
27476
|
+
# have two versions of a resource in your hub, you can update the second
|
27477
|
+
# version.
|
27478
|
+
#
|
27479
|
+
# @option params [String] :hub_content_display_name
|
27480
|
+
# The display name of the hub content.
|
27481
|
+
#
|
27482
|
+
# @option params [String] :hub_content_description
|
27483
|
+
# The description of the hub content.
|
27484
|
+
#
|
27485
|
+
# @option params [String] :hub_content_markdown
|
27486
|
+
# A string that provides a description of the hub content. This string
|
27487
|
+
# can include links, tables, and standard markdown formatting.
|
27488
|
+
#
|
27489
|
+
# @option params [Array<String>] :hub_content_search_keywords
|
27490
|
+
# The searchable keywords of the hub content.
|
27491
|
+
#
|
27492
|
+
# @option params [String] :support_status
|
27493
|
+
# Indicates the current status of the hub content resource.
|
27494
|
+
#
|
27495
|
+
# @return [Types::UpdateHubContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27496
|
+
#
|
27497
|
+
# * {Types::UpdateHubContentResponse#hub_arn #hub_arn} => String
|
27498
|
+
# * {Types::UpdateHubContentResponse#hub_content_arn #hub_content_arn} => String
|
27499
|
+
#
|
27500
|
+
# @example Request syntax with placeholder values
|
27501
|
+
#
|
27502
|
+
# resp = client.update_hub_content({
|
27503
|
+
# hub_name: "HubNameOrArn", # required
|
27504
|
+
# hub_content_name: "HubContentName", # required
|
27505
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
27506
|
+
# hub_content_version: "HubContentVersion", # required
|
27507
|
+
# hub_content_display_name: "HubContentDisplayName",
|
27508
|
+
# hub_content_description: "HubContentDescription",
|
27509
|
+
# hub_content_markdown: "HubContentMarkdown",
|
27510
|
+
# hub_content_search_keywords: ["HubSearchKeyword"],
|
27511
|
+
# support_status: "Supported", # accepts Supported, Deprecated, Restricted
|
27512
|
+
# })
|
27513
|
+
#
|
27514
|
+
# @example Response structure
|
27515
|
+
#
|
27516
|
+
# resp.hub_arn #=> String
|
27517
|
+
# resp.hub_content_arn #=> String
|
27518
|
+
#
|
27519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContent AWS API Documentation
|
27520
|
+
#
|
27521
|
+
# @overload update_hub_content(params = {})
|
27522
|
+
# @param [Hash] params ({})
|
27523
|
+
def update_hub_content(params = {}, options = {})
|
27524
|
+
req = build_request(:update_hub_content, params)
|
27525
|
+
req.send_request(options)
|
27526
|
+
end
|
27527
|
+
|
27528
|
+
# Updates the contents of a SageMaker hub for a `ModelReference`
|
27529
|
+
# resource. A `ModelReference` allows you to access public SageMaker
|
27530
|
+
# JumpStart models from within your private hub.
|
27531
|
+
#
|
27532
|
+
# When using this API, you can update the `MinVersion` field for
|
27533
|
+
# additional flexibility in the model version. You shouldn't update any
|
27534
|
+
# additional fields when using this API, because the metadata in your
|
27535
|
+
# private hub should match the public JumpStart model's metadata.
|
27536
|
+
#
|
27537
|
+
# <note markdown="1"> If you want to update a `Model` or `Notebook` resource in your hub,
|
27538
|
+
# use the `UpdateHubContent` API instead.
|
27539
|
+
#
|
27540
|
+
# </note>
|
27541
|
+
#
|
27542
|
+
# For more information about adding model references to your hub, see [
|
27543
|
+
# Add models to a private hub][1].
|
27544
|
+
#
|
27545
|
+
#
|
27546
|
+
#
|
27547
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs-admin-guide-add-models.html
|
27548
|
+
#
|
27549
|
+
# @option params [required, String] :hub_name
|
27550
|
+
# The name of the SageMaker hub that contains the hub content you want
|
27551
|
+
# to update. You can optionally use the hub ARN instead.
|
27552
|
+
#
|
27553
|
+
# @option params [required, String] :hub_content_name
|
27554
|
+
# The name of the hub content resource that you want to update.
|
27555
|
+
#
|
27556
|
+
# @option params [required, String] :hub_content_type
|
27557
|
+
# The content type of the resource that you want to update. Only specify
|
27558
|
+
# a `ModelReference` resource for this API. To update a `Model` or
|
27559
|
+
# `Notebook` resource, use the `UpdateHubContent` API instead.
|
27560
|
+
#
|
27561
|
+
# @option params [String] :min_version
|
27562
|
+
# The minimum hub content version of the referenced model that you want
|
27563
|
+
# to use. The minimum version must be older than the latest available
|
27564
|
+
# version of the referenced model. To support all versions of a model,
|
27565
|
+
# set the value to `1.0.0`.
|
27566
|
+
#
|
27567
|
+
# @return [Types::UpdateHubContentReferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27568
|
+
#
|
27569
|
+
# * {Types::UpdateHubContentReferenceResponse#hub_arn #hub_arn} => String
|
27570
|
+
# * {Types::UpdateHubContentReferenceResponse#hub_content_arn #hub_content_arn} => String
|
27571
|
+
#
|
27572
|
+
# @example Request syntax with placeholder values
|
27573
|
+
#
|
27574
|
+
# resp = client.update_hub_content_reference({
|
27575
|
+
# hub_name: "HubNameOrArn", # required
|
27576
|
+
# hub_content_name: "HubContentName", # required
|
27577
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
27578
|
+
# min_version: "HubContentVersion",
|
27579
|
+
# })
|
27580
|
+
#
|
27581
|
+
# @example Response structure
|
27582
|
+
#
|
27583
|
+
# resp.hub_arn #=> String
|
27584
|
+
# resp.hub_content_arn #=> String
|
27585
|
+
#
|
27586
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReference AWS API Documentation
|
27587
|
+
#
|
27588
|
+
# @overload update_hub_content_reference(params = {})
|
27589
|
+
# @param [Hash] params ({})
|
27590
|
+
def update_hub_content_reference(params = {}, options = {})
|
27591
|
+
req = build_request(:update_hub_content_reference, params)
|
27592
|
+
req.send_request(options)
|
27593
|
+
end
|
27594
|
+
|
27378
27595
|
# Updates the properties of a SageMaker AI image. To change the image's
|
27379
27596
|
# tags, use the [AddTags][1] and [DeleteTags][2] APIs.
|
27380
27597
|
#
|
@@ -27537,6 +27754,11 @@ module Aws::SageMaker
|
|
27537
27754
|
# Runtime settings for a model that is deployed with an inference
|
27538
27755
|
# component.
|
27539
27756
|
#
|
27757
|
+
# @option params [Types::InferenceComponentDeploymentConfig] :deployment_config
|
27758
|
+
# The deployment configuration for the inference component. The
|
27759
|
+
# configuration contains the desired deployment strategy and rollback
|
27760
|
+
# settings.
|
27761
|
+
#
|
27540
27762
|
# @return [Types::UpdateInferenceComponentOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27541
27763
|
#
|
27542
27764
|
# * {Types::UpdateInferenceComponentOutput#inference_component_arn #inference_component_arn} => String
|
@@ -27569,6 +27791,27 @@ module Aws::SageMaker
|
|
27569
27791
|
# runtime_config: {
|
27570
27792
|
# copy_count: 1, # required
|
27571
27793
|
# },
|
27794
|
+
# deployment_config: {
|
27795
|
+
# rolling_update_policy: { # required
|
27796
|
+
# maximum_batch_size: { # required
|
27797
|
+
# type: "COPY_COUNT", # required, accepts COPY_COUNT, CAPACITY_PERCENT
|
27798
|
+
# value: 1, # required
|
27799
|
+
# },
|
27800
|
+
# wait_interval_in_seconds: 1, # required
|
27801
|
+
# maximum_execution_timeout_in_seconds: 1,
|
27802
|
+
# rollback_maximum_batch_size: {
|
27803
|
+
# type: "COPY_COUNT", # required, accepts COPY_COUNT, CAPACITY_PERCENT
|
27804
|
+
# value: 1, # required
|
27805
|
+
# },
|
27806
|
+
# },
|
27807
|
+
# auto_rollback_configuration: {
|
27808
|
+
# alarms: [
|
27809
|
+
# {
|
27810
|
+
# alarm_name: "AlarmName",
|
27811
|
+
# },
|
27812
|
+
# ],
|
27813
|
+
# },
|
27814
|
+
# },
|
27572
27815
|
# })
|
27573
27816
|
#
|
27574
27817
|
# @example Response structure
|
@@ -29502,7 +29745,7 @@ module Aws::SageMaker
|
|
29502
29745
|
tracer: tracer
|
29503
29746
|
)
|
29504
29747
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
29505
|
-
context[:gem_version] = '1.
|
29748
|
+
context[:gem_version] = '1.292.0'
|
29506
29749
|
Seahorse::Client::Request.new(handlers, context)
|
29507
29750
|
end
|
29508
29751
|
|
@@ -1032,6 +1032,7 @@ module Aws::SageMaker
|
|
1032
1032
|
HolidayConfigAttributes = Shapes::StructureShape.new(name: 'HolidayConfigAttributes')
|
1033
1033
|
HookParameters = Shapes::MapShape.new(name: 'HookParameters')
|
1034
1034
|
Horovod = Shapes::BooleanShape.new(name: 'Horovod')
|
1035
|
+
HubAccessConfig = Shapes::StructureShape.new(name: 'HubAccessConfig')
|
1035
1036
|
HubArn = Shapes::StringShape.new(name: 'HubArn')
|
1036
1037
|
HubContentArn = Shapes::StringShape.new(name: 'HubContentArn')
|
1037
1038
|
HubContentDependency = Shapes::StructureShape.new(name: 'HubContentDependency')
|
@@ -1149,12 +1150,16 @@ module Aws::SageMaker
|
|
1149
1150
|
ImportHubContentResponse = Shapes::StructureShape.new(name: 'ImportHubContentResponse')
|
1150
1151
|
InUseInstanceCount = Shapes::IntegerShape.new(name: 'InUseInstanceCount')
|
1151
1152
|
InferenceComponentArn = Shapes::StringShape.new(name: 'InferenceComponentArn')
|
1153
|
+
InferenceComponentCapacitySize = Shapes::StructureShape.new(name: 'InferenceComponentCapacitySize')
|
1154
|
+
InferenceComponentCapacitySizeType = Shapes::StringShape.new(name: 'InferenceComponentCapacitySizeType')
|
1152
1155
|
InferenceComponentComputeResourceRequirements = Shapes::StructureShape.new(name: 'InferenceComponentComputeResourceRequirements')
|
1153
1156
|
InferenceComponentContainerSpecification = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecification')
|
1154
1157
|
InferenceComponentContainerSpecificationSummary = Shapes::StructureShape.new(name: 'InferenceComponentContainerSpecificationSummary')
|
1155
1158
|
InferenceComponentCopyCount = Shapes::IntegerShape.new(name: 'InferenceComponentCopyCount')
|
1159
|
+
InferenceComponentDeploymentConfig = Shapes::StructureShape.new(name: 'InferenceComponentDeploymentConfig')
|
1156
1160
|
InferenceComponentName = Shapes::StringShape.new(name: 'InferenceComponentName')
|
1157
1161
|
InferenceComponentNameContains = Shapes::StringShape.new(name: 'InferenceComponentNameContains')
|
1162
|
+
InferenceComponentRollingUpdatePolicy = Shapes::StructureShape.new(name: 'InferenceComponentRollingUpdatePolicy')
|
1158
1163
|
InferenceComponentRuntimeConfig = Shapes::StructureShape.new(name: 'InferenceComponentRuntimeConfig')
|
1159
1164
|
InferenceComponentRuntimeConfigSummary = Shapes::StructureShape.new(name: 'InferenceComponentRuntimeConfigSummary')
|
1160
1165
|
InferenceComponentSortKey = Shapes::StringShape.new(name: 'InferenceComponentSortKey')
|
@@ -2404,6 +2409,10 @@ module Aws::SageMaker
|
|
2404
2409
|
UpdateFeatureGroupRequest = Shapes::StructureShape.new(name: 'UpdateFeatureGroupRequest')
|
2405
2410
|
UpdateFeatureGroupResponse = Shapes::StructureShape.new(name: 'UpdateFeatureGroupResponse')
|
2406
2411
|
UpdateFeatureMetadataRequest = Shapes::StructureShape.new(name: 'UpdateFeatureMetadataRequest')
|
2412
|
+
UpdateHubContentReferenceRequest = Shapes::StructureShape.new(name: 'UpdateHubContentReferenceRequest')
|
2413
|
+
UpdateHubContentReferenceResponse = Shapes::StructureShape.new(name: 'UpdateHubContentReferenceResponse')
|
2414
|
+
UpdateHubContentRequest = Shapes::StructureShape.new(name: 'UpdateHubContentRequest')
|
2415
|
+
UpdateHubContentResponse = Shapes::StructureShape.new(name: 'UpdateHubContentResponse')
|
2407
2416
|
UpdateHubRequest = Shapes::StructureShape.new(name: 'UpdateHubRequest')
|
2408
2417
|
UpdateHubResponse = Shapes::StructureShape.new(name: 'UpdateHubResponse')
|
2409
2418
|
UpdateImageRequest = Shapes::StructureShape.new(name: 'UpdateImageRequest')
|
@@ -5103,6 +5112,7 @@ module Aws::SageMaker
|
|
5103
5112
|
DescribeHubContentResponse.add_member(:hub_content_status, Shapes::ShapeRef.new(shape: HubContentStatus, required: true, location_name: "HubContentStatus"))
|
5104
5113
|
DescribeHubContentResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
5105
5114
|
DescribeHubContentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
5115
|
+
DescribeHubContentResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
5106
5116
|
DescribeHubContentResponse.struct_class = Types::DescribeHubContentResponse
|
5107
5117
|
|
5108
5118
|
DescribeHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
@@ -5204,6 +5214,7 @@ module Aws::SageMaker
|
|
5204
5214
|
DescribeInferenceComponentOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
5205
5215
|
DescribeInferenceComponentOutput.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastModifiedTime"))
|
5206
5216
|
DescribeInferenceComponentOutput.add_member(:inference_component_status, Shapes::ShapeRef.new(shape: InferenceComponentStatus, location_name: "InferenceComponentStatus"))
|
5217
|
+
DescribeInferenceComponentOutput.add_member(:last_deployment_config, Shapes::ShapeRef.new(shape: InferenceComponentDeploymentConfig, location_name: "LastDeploymentConfig"))
|
5207
5218
|
DescribeInferenceComponentOutput.struct_class = Types::DescribeInferenceComponentOutput
|
5208
5219
|
|
5209
5220
|
DescribeInferenceExperimentRequest.add_member(:name, Shapes::ShapeRef.new(shape: InferenceExperimentName, required: true, location_name: "Name"))
|
@@ -6426,6 +6437,9 @@ module Aws::SageMaker
|
|
6426
6437
|
HookParameters.key = Shapes::ShapeRef.new(shape: ConfigKey)
|
6427
6438
|
HookParameters.value = Shapes::ShapeRef.new(shape: ConfigValue)
|
6428
6439
|
|
6440
|
+
HubAccessConfig.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
6441
|
+
HubAccessConfig.struct_class = Types::HubAccessConfig
|
6442
|
+
|
6429
6443
|
HubContentDependency.add_member(:dependency_origin_path, Shapes::ShapeRef.new(shape: DependencyOriginPath, location_name: "DependencyOriginPath"))
|
6430
6444
|
HubContentDependency.add_member(:dependency_copy_path, Shapes::ShapeRef.new(shape: DependencyCopyPath, location_name: "DependencyCopyPath"))
|
6431
6445
|
HubContentDependency.struct_class = Types::HubContentDependency
|
@@ -6716,6 +6730,7 @@ module Aws::SageMaker
|
|
6716
6730
|
ImportHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
6717
6731
|
ImportHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
6718
6732
|
ImportHubContentRequest.add_member(:hub_content_document, Shapes::ShapeRef.new(shape: HubContentDocument, required: true, location_name: "HubContentDocument"))
|
6733
|
+
ImportHubContentRequest.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
6719
6734
|
ImportHubContentRequest.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
6720
6735
|
ImportHubContentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
6721
6736
|
ImportHubContentRequest.struct_class = Types::ImportHubContentRequest
|
@@ -6724,6 +6739,10 @@ module Aws::SageMaker
|
|
6724
6739
|
ImportHubContentResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
6725
6740
|
ImportHubContentResponse.struct_class = Types::ImportHubContentResponse
|
6726
6741
|
|
6742
|
+
InferenceComponentCapacitySize.add_member(:type, Shapes::ShapeRef.new(shape: InferenceComponentCapacitySizeType, required: true, location_name: "Type"))
|
6743
|
+
InferenceComponentCapacitySize.add_member(:value, Shapes::ShapeRef.new(shape: CapacitySizeValue, required: true, location_name: "Value"))
|
6744
|
+
InferenceComponentCapacitySize.struct_class = Types::InferenceComponentCapacitySize
|
6745
|
+
|
6727
6746
|
InferenceComponentComputeResourceRequirements.add_member(:number_of_cpu_cores_required, Shapes::ShapeRef.new(shape: NumberOfCpuCores, location_name: "NumberOfCpuCoresRequired"))
|
6728
6747
|
InferenceComponentComputeResourceRequirements.add_member(:number_of_accelerator_devices_required, Shapes::ShapeRef.new(shape: NumberOfAcceleratorDevices, location_name: "NumberOfAcceleratorDevicesRequired"))
|
6729
6748
|
InferenceComponentComputeResourceRequirements.add_member(:min_memory_required_in_mb, Shapes::ShapeRef.new(shape: MemoryInMb, required: true, location_name: "MinMemoryRequiredInMb"))
|
@@ -6740,6 +6759,16 @@ module Aws::SageMaker
|
|
6740
6759
|
InferenceComponentContainerSpecificationSummary.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentMap, location_name: "Environment"))
|
6741
6760
|
InferenceComponentContainerSpecificationSummary.struct_class = Types::InferenceComponentContainerSpecificationSummary
|
6742
6761
|
|
6762
|
+
InferenceComponentDeploymentConfig.add_member(:rolling_update_policy, Shapes::ShapeRef.new(shape: InferenceComponentRollingUpdatePolicy, required: true, location_name: "RollingUpdatePolicy"))
|
6763
|
+
InferenceComponentDeploymentConfig.add_member(:auto_rollback_configuration, Shapes::ShapeRef.new(shape: AutoRollbackConfig, location_name: "AutoRollbackConfiguration"))
|
6764
|
+
InferenceComponentDeploymentConfig.struct_class = Types::InferenceComponentDeploymentConfig
|
6765
|
+
|
6766
|
+
InferenceComponentRollingUpdatePolicy.add_member(:maximum_batch_size, Shapes::ShapeRef.new(shape: InferenceComponentCapacitySize, required: true, location_name: "MaximumBatchSize"))
|
6767
|
+
InferenceComponentRollingUpdatePolicy.add_member(:wait_interval_in_seconds, Shapes::ShapeRef.new(shape: WaitIntervalInSeconds, required: true, location_name: "WaitIntervalInSeconds"))
|
6768
|
+
InferenceComponentRollingUpdatePolicy.add_member(:maximum_execution_timeout_in_seconds, Shapes::ShapeRef.new(shape: MaximumExecutionTimeoutInSeconds, location_name: "MaximumExecutionTimeoutInSeconds"))
|
6769
|
+
InferenceComponentRollingUpdatePolicy.add_member(:rollback_maximum_batch_size, Shapes::ShapeRef.new(shape: InferenceComponentCapacitySize, location_name: "RollbackMaximumBatchSize"))
|
6770
|
+
InferenceComponentRollingUpdatePolicy.struct_class = Types::InferenceComponentRollingUpdatePolicy
|
6771
|
+
|
6743
6772
|
InferenceComponentRuntimeConfig.add_member(:copy_count, Shapes::ShapeRef.new(shape: InferenceComponentCopyCount, required: true, location_name: "CopyCount"))
|
6744
6773
|
InferenceComponentRuntimeConfig.struct_class = Types::InferenceComponentRuntimeConfig
|
6745
6774
|
|
@@ -9681,6 +9710,8 @@ module Aws::SageMaker
|
|
9681
9710
|
S3DataSource.add_member(:s3_data_distribution_type, Shapes::ShapeRef.new(shape: S3DataDistribution, location_name: "S3DataDistributionType"))
|
9682
9711
|
S3DataSource.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNames, location_name: "AttributeNames"))
|
9683
9712
|
S3DataSource.add_member(:instance_group_names, Shapes::ShapeRef.new(shape: InstanceGroupNames, location_name: "InstanceGroupNames"))
|
9713
|
+
S3DataSource.add_member(:model_access_config, Shapes::ShapeRef.new(shape: ModelAccessConfig, location_name: "ModelAccessConfig"))
|
9714
|
+
S3DataSource.add_member(:hub_access_config, Shapes::ShapeRef.new(shape: HubAccessConfig, location_name: "HubAccessConfig"))
|
9684
9715
|
S3DataSource.struct_class = Types::S3DataSource
|
9685
9716
|
|
9686
9717
|
S3ModelDataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3ModelUri, required: true, location_name: "S3Uri"))
|
@@ -10680,6 +10711,31 @@ module Aws::SageMaker
|
|
10680
10711
|
UpdateFeatureMetadataRequest.add_member(:parameter_removals, Shapes::ShapeRef.new(shape: FeatureParameterRemovals, location_name: "ParameterRemovals"))
|
10681
10712
|
UpdateFeatureMetadataRequest.struct_class = Types::UpdateFeatureMetadataRequest
|
10682
10713
|
|
10714
|
+
UpdateHubContentReferenceRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10715
|
+
UpdateHubContentReferenceRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
10716
|
+
UpdateHubContentReferenceRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
10717
|
+
UpdateHubContentReferenceRequest.add_member(:min_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "MinVersion"))
|
10718
|
+
UpdateHubContentReferenceRequest.struct_class = Types::UpdateHubContentReferenceRequest
|
10719
|
+
|
10720
|
+
UpdateHubContentReferenceResponse.add_member(:hub_arn, Shapes::ShapeRef.new(shape: HubArn, required: true, location_name: "HubArn"))
|
10721
|
+
UpdateHubContentReferenceResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
10722
|
+
UpdateHubContentReferenceResponse.struct_class = Types::UpdateHubContentReferenceResponse
|
10723
|
+
|
10724
|
+
UpdateHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10725
|
+
UpdateHubContentRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
10726
|
+
UpdateHubContentRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
10727
|
+
UpdateHubContentRequest.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, required: true, location_name: "HubContentVersion"))
|
10728
|
+
UpdateHubContentRequest.add_member(:hub_content_display_name, Shapes::ShapeRef.new(shape: HubContentDisplayName, location_name: "HubContentDisplayName"))
|
10729
|
+
UpdateHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
10730
|
+
UpdateHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
10731
|
+
UpdateHubContentRequest.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
10732
|
+
UpdateHubContentRequest.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
10733
|
+
UpdateHubContentRequest.struct_class = Types::UpdateHubContentRequest
|
10734
|
+
|
10735
|
+
UpdateHubContentResponse.add_member(:hub_arn, Shapes::ShapeRef.new(shape: HubArn, required: true, location_name: "HubArn"))
|
10736
|
+
UpdateHubContentResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
10737
|
+
UpdateHubContentResponse.struct_class = Types::UpdateHubContentResponse
|
10738
|
+
|
10683
10739
|
UpdateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10684
10740
|
UpdateHubRequest.add_member(:hub_description, Shapes::ShapeRef.new(shape: HubDescription, location_name: "HubDescription"))
|
10685
10741
|
UpdateHubRequest.add_member(:hub_display_name, Shapes::ShapeRef.new(shape: HubDisplayName, location_name: "HubDisplayName"))
|
@@ -10719,6 +10775,7 @@ module Aws::SageMaker
|
|
10719
10775
|
UpdateInferenceComponentInput.add_member(:inference_component_name, Shapes::ShapeRef.new(shape: InferenceComponentName, required: true, location_name: "InferenceComponentName"))
|
10720
10776
|
UpdateInferenceComponentInput.add_member(:specification, Shapes::ShapeRef.new(shape: InferenceComponentSpecification, location_name: "Specification"))
|
10721
10777
|
UpdateInferenceComponentInput.add_member(:runtime_config, Shapes::ShapeRef.new(shape: InferenceComponentRuntimeConfig, location_name: "RuntimeConfig"))
|
10778
|
+
UpdateInferenceComponentInput.add_member(:deployment_config, Shapes::ShapeRef.new(shape: InferenceComponentDeploymentConfig, location_name: "DeploymentConfig"))
|
10722
10779
|
UpdateInferenceComponentInput.struct_class = Types::UpdateInferenceComponentInput
|
10723
10780
|
|
10724
10781
|
UpdateInferenceComponentOutput.add_member(:inference_component_arn, Shapes::ShapeRef.new(shape: InferenceComponentArn, required: true, location_name: "InferenceComponentArn"))
|
@@ -14542,6 +14599,26 @@ module Aws::SageMaker
|
|
14542
14599
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14543
14600
|
end)
|
14544
14601
|
|
14602
|
+
api.add_operation(:update_hub_content, Seahorse::Model::Operation.new.tap do |o|
|
14603
|
+
o.name = "UpdateHubContent"
|
14604
|
+
o.http_method = "POST"
|
14605
|
+
o.http_request_uri = "/"
|
14606
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHubContentRequest)
|
14607
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHubContentResponse)
|
14608
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14609
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
14610
|
+
end)
|
14611
|
+
|
14612
|
+
api.add_operation(:update_hub_content_reference, Seahorse::Model::Operation.new.tap do |o|
|
14613
|
+
o.name = "UpdateHubContentReference"
|
14614
|
+
o.http_method = "POST"
|
14615
|
+
o.http_request_uri = "/"
|
14616
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHubContentReferenceRequest)
|
14617
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHubContentReferenceResponse)
|
14618
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
14620
|
+
end)
|
14621
|
+
|
14545
14622
|
api.add_operation(:update_image, Seahorse::Model::Operation.new.tap do |o|
|
14546
14623
|
o.name = "UpdateImage"
|
14547
14624
|
o.http_method = "POST"
|