aws-sdk-sagemaker 1.291.0 → 1.293.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 +206 -4
- data/lib/aws-sdk-sagemaker/client_api.rb +58 -0
- data/lib/aws-sdk-sagemaker/types.rb +203 -2
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +65 -5
- data/sig/types.rbs +45 -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: 27aa551882124ad9c9d89730c7e9fc33a4ee7da62bcd5aeded207204f82bdbeb
|
4
|
+
data.tar.gz: b85e7de113c1f2bec83b354fd2ef1bf2994ca5f03b0f88be65075fab5810e594
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c2afb790239994a74a5e86403d480f2ead3d57a45077544e00220b8faa2d2b8ef25f1f451f0417469459de0586c44fae9df8c11fa71f8401f318e2fd3d6a39d
|
7
|
+
data.tar.gz: 2e0812a5c508e09e652c5e7e8886859a294d4be4e6f850491e3ea5c5d57f0926574f464563b79201102eb1c2681b46a06d67dfeb416c8dd2e9ab3616ce1e96f6
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.293.0 (2025-03-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add DomainId to CreateDomainResponse
|
8
|
+
|
9
|
+
1.292.0 (2025-02-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.291.0 (2025-02-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.293.0
|
@@ -1082,6 +1082,12 @@ module Aws::SageMaker
|
|
1082
1082
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
1083
1083
|
# attribute_names: ["AttributeName"],
|
1084
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
|
+
# },
|
1085
1091
|
# },
|
1086
1092
|
# file_system_data_source: {
|
1087
1093
|
# file_system_id: "FileSystemId", # required
|
@@ -2882,6 +2888,7 @@ module Aws::SageMaker
|
|
2882
2888
|
# @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2883
2889
|
#
|
2884
2890
|
# * {Types::CreateDomainResponse#domain_arn #domain_arn} => String
|
2891
|
+
# * {Types::CreateDomainResponse#domain_id #domain_id} => String
|
2885
2892
|
# * {Types::CreateDomainResponse#url #url} => String
|
2886
2893
|
#
|
2887
2894
|
# @example Request syntax with placeholder values
|
@@ -3225,6 +3232,7 @@ module Aws::SageMaker
|
|
3225
3232
|
# @example Response structure
|
3226
3233
|
#
|
3227
3234
|
# resp.domain_arn #=> String
|
3235
|
+
# resp.domain_id #=> String
|
3228
3236
|
# resp.url #=> String
|
3229
3237
|
#
|
3230
3238
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain AWS API Documentation
|
@@ -4747,6 +4755,12 @@ module Aws::SageMaker
|
|
4747
4755
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4748
4756
|
# attribute_names: ["AttributeName"],
|
4749
4757
|
# instance_group_names: ["InstanceGroupName"],
|
4758
|
+
# model_access_config: {
|
4759
|
+
# accept_eula: false, # required
|
4760
|
+
# },
|
4761
|
+
# hub_access_config: {
|
4762
|
+
# hub_content_arn: "HubContentArn", # required
|
4763
|
+
# },
|
4750
4764
|
# },
|
4751
4765
|
# file_system_data_source: {
|
4752
4766
|
# file_system_id: "FileSystemId", # required
|
@@ -4883,6 +4897,12 @@ module Aws::SageMaker
|
|
4883
4897
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4884
4898
|
# attribute_names: ["AttributeName"],
|
4885
4899
|
# instance_group_names: ["InstanceGroupName"],
|
4900
|
+
# model_access_config: {
|
4901
|
+
# accept_eula: false, # required
|
4902
|
+
# },
|
4903
|
+
# hub_access_config: {
|
4904
|
+
# hub_content_arn: "HubContentArn", # required
|
4905
|
+
# },
|
4886
4906
|
# },
|
4887
4907
|
# file_system_data_source: {
|
4888
4908
|
# file_system_id: "FileSystemId", # required
|
@@ -9218,6 +9238,12 @@ module Aws::SageMaker
|
|
9218
9238
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
9219
9239
|
# attribute_names: ["AttributeName"],
|
9220
9240
|
# instance_group_names: ["InstanceGroupName"],
|
9241
|
+
# model_access_config: {
|
9242
|
+
# accept_eula: false, # required
|
9243
|
+
# },
|
9244
|
+
# hub_access_config: {
|
9245
|
+
# hub_content_arn: "HubContentArn", # required
|
9246
|
+
# },
|
9221
9247
|
# },
|
9222
9248
|
# file_system_data_source: {
|
9223
9249
|
# file_system_id: "FileSystemId", # required
|
@@ -12169,6 +12195,8 @@ module Aws::SageMaker
|
|
12169
12195
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
12170
12196
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
12171
12197
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
12198
|
+
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
12199
|
+
# 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
|
12172
12200
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
12173
12201
|
# 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"
|
12174
12202
|
# 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"
|
@@ -14463,6 +14491,7 @@ module Aws::SageMaker
|
|
14463
14491
|
# * {Types::DescribeHubContentResponse#hub_content_status #hub_content_status} => String
|
14464
14492
|
# * {Types::DescribeHubContentResponse#failure_reason #failure_reason} => String
|
14465
14493
|
# * {Types::DescribeHubContentResponse#creation_time #creation_time} => Time
|
14494
|
+
# * {Types::DescribeHubContentResponse#last_modified_time #last_modified_time} => Time
|
14466
14495
|
#
|
14467
14496
|
# @example Request syntax with placeholder values
|
14468
14497
|
#
|
@@ -14488,7 +14517,7 @@ module Aws::SageMaker
|
|
14488
14517
|
# resp.hub_content_document #=> String
|
14489
14518
|
# resp.sage_maker_public_hub_content_arn #=> String
|
14490
14519
|
# resp.reference_min_version #=> String
|
14491
|
-
# resp.support_status #=> String, one of "Supported", "Deprecated"
|
14520
|
+
# resp.support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
14492
14521
|
# resp.hub_content_search_keywords #=> Array
|
14493
14522
|
# resp.hub_content_search_keywords[0] #=> String
|
14494
14523
|
# resp.hub_content_dependencies #=> Array
|
@@ -14497,6 +14526,7 @@ module Aws::SageMaker
|
|
14497
14526
|
# resp.hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
14498
14527
|
# resp.failure_reason #=> String
|
14499
14528
|
# resp.creation_time #=> Time
|
14529
|
+
# resp.last_modified_time #=> Time
|
14500
14530
|
#
|
14501
14531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContent AWS API Documentation
|
14502
14532
|
#
|
@@ -14652,6 +14682,8 @@ module Aws::SageMaker
|
|
14652
14682
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14653
14683
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14654
14684
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
14685
|
+
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14686
|
+
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14655
14687
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14656
14688
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
14657
14689
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -14737,6 +14769,8 @@ module Aws::SageMaker
|
|
14737
14769
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14738
14770
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14739
14771
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
14772
|
+
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14773
|
+
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14740
14774
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14741
14775
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
14742
14776
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -17263,6 +17297,8 @@ module Aws::SageMaker
|
|
17263
17297
|
# resp.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
17264
17298
|
# resp.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
17265
17299
|
# resp.input_data_config[0].data_source.s3_data_source.instance_group_names[0] #=> String
|
17300
|
+
# resp.input_data_config[0].data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
17301
|
+
# resp.input_data_config[0].data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
17266
17302
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
17267
17303
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
17268
17304
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -18347,6 +18383,9 @@ module Aws::SageMaker
|
|
18347
18383
|
# The hub content document that describes information about the hub
|
18348
18384
|
# content such as type, associated containers, scripts, and more.
|
18349
18385
|
#
|
18386
|
+
# @option params [String] :support_status
|
18387
|
+
# The status of the hub content resource.
|
18388
|
+
#
|
18350
18389
|
# @option params [Array<String>] :hub_content_search_keywords
|
18351
18390
|
# The searchable keywords of the hub content.
|
18352
18391
|
#
|
@@ -18370,6 +18409,7 @@ module Aws::SageMaker
|
|
18370
18409
|
# hub_content_description: "HubContentDescription",
|
18371
18410
|
# hub_content_markdown: "HubContentMarkdown",
|
18372
18411
|
# hub_content_document: "HubContentDocument", # required
|
18412
|
+
# support_status: "Supported", # accepts Supported, Deprecated, Restricted
|
18373
18413
|
# hub_content_search_keywords: ["HubSearchKeyword"],
|
18374
18414
|
# tags: [
|
18375
18415
|
# {
|
@@ -20581,7 +20621,7 @@ module Aws::SageMaker
|
|
20581
20621
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20582
20622
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20583
20623
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20584
|
-
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
20624
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
20585
20625
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20586
20626
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20587
20627
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -20663,7 +20703,7 @@ module Aws::SageMaker
|
|
20663
20703
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20664
20704
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20665
20705
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20666
|
-
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
20706
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
20667
20707
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20668
20708
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20669
20709
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -27392,6 +27432,168 @@ module Aws::SageMaker
|
|
27392
27432
|
req.send_request(options)
|
27393
27433
|
end
|
27394
27434
|
|
27435
|
+
# Updates SageMaker hub content (either a `Model` or `Notebook`
|
27436
|
+
# resource).
|
27437
|
+
#
|
27438
|
+
# You can update the metadata that describes the resource. In addition
|
27439
|
+
# to the required request fields, specify at least one of the following
|
27440
|
+
# fields to update:
|
27441
|
+
#
|
27442
|
+
# * `HubContentDescription`
|
27443
|
+
#
|
27444
|
+
# * `HubContentDisplayName`
|
27445
|
+
#
|
27446
|
+
# * `HubContentMarkdown`
|
27447
|
+
#
|
27448
|
+
# * `HubContentSearchKeywords`
|
27449
|
+
#
|
27450
|
+
# * `SupportStatus`
|
27451
|
+
#
|
27452
|
+
# For more information about hubs, see [Private curated hubs for
|
27453
|
+
# foundation model access control in JumpStart][1].
|
27454
|
+
#
|
27455
|
+
# <note markdown="1"> If you want to update a `ModelReference` resource in your hub, use the
|
27456
|
+
# `UpdateHubContentResource` API instead.
|
27457
|
+
#
|
27458
|
+
# </note>
|
27459
|
+
#
|
27460
|
+
#
|
27461
|
+
#
|
27462
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html
|
27463
|
+
#
|
27464
|
+
# @option params [required, String] :hub_name
|
27465
|
+
# The name of the SageMaker hub that contains the hub content you want
|
27466
|
+
# to update. You can optionally use the hub ARN instead.
|
27467
|
+
#
|
27468
|
+
# @option params [required, String] :hub_content_name
|
27469
|
+
# The name of the hub content resource that you want to update.
|
27470
|
+
#
|
27471
|
+
# @option params [required, String] :hub_content_type
|
27472
|
+
# The content type of the resource that you want to update. Only specify
|
27473
|
+
# a `Model` or `Notebook` resource for this API. To update a
|
27474
|
+
# `ModelReference`, use the `UpdateHubContentReference` API instead.
|
27475
|
+
#
|
27476
|
+
# @option params [required, String] :hub_content_version
|
27477
|
+
# The hub content version that you want to update. For example, if you
|
27478
|
+
# have two versions of a resource in your hub, you can update the second
|
27479
|
+
# version.
|
27480
|
+
#
|
27481
|
+
# @option params [String] :hub_content_display_name
|
27482
|
+
# The display name of the hub content.
|
27483
|
+
#
|
27484
|
+
# @option params [String] :hub_content_description
|
27485
|
+
# The description of the hub content.
|
27486
|
+
#
|
27487
|
+
# @option params [String] :hub_content_markdown
|
27488
|
+
# A string that provides a description of the hub content. This string
|
27489
|
+
# can include links, tables, and standard markdown formatting.
|
27490
|
+
#
|
27491
|
+
# @option params [Array<String>] :hub_content_search_keywords
|
27492
|
+
# The searchable keywords of the hub content.
|
27493
|
+
#
|
27494
|
+
# @option params [String] :support_status
|
27495
|
+
# Indicates the current status of the hub content resource.
|
27496
|
+
#
|
27497
|
+
# @return [Types::UpdateHubContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27498
|
+
#
|
27499
|
+
# * {Types::UpdateHubContentResponse#hub_arn #hub_arn} => String
|
27500
|
+
# * {Types::UpdateHubContentResponse#hub_content_arn #hub_content_arn} => String
|
27501
|
+
#
|
27502
|
+
# @example Request syntax with placeholder values
|
27503
|
+
#
|
27504
|
+
# resp = client.update_hub_content({
|
27505
|
+
# hub_name: "HubNameOrArn", # required
|
27506
|
+
# hub_content_name: "HubContentName", # required
|
27507
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
27508
|
+
# hub_content_version: "HubContentVersion", # required
|
27509
|
+
# hub_content_display_name: "HubContentDisplayName",
|
27510
|
+
# hub_content_description: "HubContentDescription",
|
27511
|
+
# hub_content_markdown: "HubContentMarkdown",
|
27512
|
+
# hub_content_search_keywords: ["HubSearchKeyword"],
|
27513
|
+
# support_status: "Supported", # accepts Supported, Deprecated, Restricted
|
27514
|
+
# })
|
27515
|
+
#
|
27516
|
+
# @example Response structure
|
27517
|
+
#
|
27518
|
+
# resp.hub_arn #=> String
|
27519
|
+
# resp.hub_content_arn #=> String
|
27520
|
+
#
|
27521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContent AWS API Documentation
|
27522
|
+
#
|
27523
|
+
# @overload update_hub_content(params = {})
|
27524
|
+
# @param [Hash] params ({})
|
27525
|
+
def update_hub_content(params = {}, options = {})
|
27526
|
+
req = build_request(:update_hub_content, params)
|
27527
|
+
req.send_request(options)
|
27528
|
+
end
|
27529
|
+
|
27530
|
+
# Updates the contents of a SageMaker hub for a `ModelReference`
|
27531
|
+
# resource. A `ModelReference` allows you to access public SageMaker
|
27532
|
+
# JumpStart models from within your private hub.
|
27533
|
+
#
|
27534
|
+
# When using this API, you can update the `MinVersion` field for
|
27535
|
+
# additional flexibility in the model version. You shouldn't update any
|
27536
|
+
# additional fields when using this API, because the metadata in your
|
27537
|
+
# private hub should match the public JumpStart model's metadata.
|
27538
|
+
#
|
27539
|
+
# <note markdown="1"> If you want to update a `Model` or `Notebook` resource in your hub,
|
27540
|
+
# use the `UpdateHubContent` API instead.
|
27541
|
+
#
|
27542
|
+
# </note>
|
27543
|
+
#
|
27544
|
+
# For more information about adding model references to your hub, see [
|
27545
|
+
# Add models to a private hub][1].
|
27546
|
+
#
|
27547
|
+
#
|
27548
|
+
#
|
27549
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs-admin-guide-add-models.html
|
27550
|
+
#
|
27551
|
+
# @option params [required, String] :hub_name
|
27552
|
+
# The name of the SageMaker hub that contains the hub content you want
|
27553
|
+
# to update. You can optionally use the hub ARN instead.
|
27554
|
+
#
|
27555
|
+
# @option params [required, String] :hub_content_name
|
27556
|
+
# The name of the hub content resource that you want to update.
|
27557
|
+
#
|
27558
|
+
# @option params [required, String] :hub_content_type
|
27559
|
+
# The content type of the resource that you want to update. Only specify
|
27560
|
+
# a `ModelReference` resource for this API. To update a `Model` or
|
27561
|
+
# `Notebook` resource, use the `UpdateHubContent` API instead.
|
27562
|
+
#
|
27563
|
+
# @option params [String] :min_version
|
27564
|
+
# The minimum hub content version of the referenced model that you want
|
27565
|
+
# to use. The minimum version must be older than the latest available
|
27566
|
+
# version of the referenced model. To support all versions of a model,
|
27567
|
+
# set the value to `1.0.0`.
|
27568
|
+
#
|
27569
|
+
# @return [Types::UpdateHubContentReferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
27570
|
+
#
|
27571
|
+
# * {Types::UpdateHubContentReferenceResponse#hub_arn #hub_arn} => String
|
27572
|
+
# * {Types::UpdateHubContentReferenceResponse#hub_content_arn #hub_content_arn} => String
|
27573
|
+
#
|
27574
|
+
# @example Request syntax with placeholder values
|
27575
|
+
#
|
27576
|
+
# resp = client.update_hub_content_reference({
|
27577
|
+
# hub_name: "HubNameOrArn", # required
|
27578
|
+
# hub_content_name: "HubContentName", # required
|
27579
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
27580
|
+
# min_version: "HubContentVersion",
|
27581
|
+
# })
|
27582
|
+
#
|
27583
|
+
# @example Response structure
|
27584
|
+
#
|
27585
|
+
# resp.hub_arn #=> String
|
27586
|
+
# resp.hub_content_arn #=> String
|
27587
|
+
#
|
27588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReference AWS API Documentation
|
27589
|
+
#
|
27590
|
+
# @overload update_hub_content_reference(params = {})
|
27591
|
+
# @param [Hash] params ({})
|
27592
|
+
def update_hub_content_reference(params = {}, options = {})
|
27593
|
+
req = build_request(:update_hub_content_reference, params)
|
27594
|
+
req.send_request(options)
|
27595
|
+
end
|
27596
|
+
|
27395
27597
|
# Updates the properties of a SageMaker AI image. To change the image's
|
27396
27598
|
# tags, use the [AddTags][1] and [DeleteTags][2] APIs.
|
27397
27599
|
#
|
@@ -29545,7 +29747,7 @@ module Aws::SageMaker
|
|
29545
29747
|
tracer: tracer
|
29546
29748
|
)
|
29547
29749
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
29548
|
-
context[:gem_version] = '1.
|
29750
|
+
context[:gem_version] = '1.293.0'
|
29549
29751
|
Seahorse::Client::Request.new(handlers, context)
|
29550
29752
|
end
|
29551
29753
|
|
@@ -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')
|
@@ -2408,6 +2409,10 @@ module Aws::SageMaker
|
|
2408
2409
|
UpdateFeatureGroupRequest = Shapes::StructureShape.new(name: 'UpdateFeatureGroupRequest')
|
2409
2410
|
UpdateFeatureGroupResponse = Shapes::StructureShape.new(name: 'UpdateFeatureGroupResponse')
|
2410
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')
|
2411
2416
|
UpdateHubRequest = Shapes::StructureShape.new(name: 'UpdateHubRequest')
|
2412
2417
|
UpdateHubResponse = Shapes::StructureShape.new(name: 'UpdateHubResponse')
|
2413
2418
|
UpdateImageRequest = Shapes::StructureShape.new(name: 'UpdateImageRequest')
|
@@ -3582,6 +3587,7 @@ module Aws::SageMaker
|
|
3582
3587
|
CreateDomainRequest.struct_class = Types::CreateDomainRequest
|
3583
3588
|
|
3584
3589
|
CreateDomainResponse.add_member(:domain_arn, Shapes::ShapeRef.new(shape: DomainArn, location_name: "DomainArn"))
|
3590
|
+
CreateDomainResponse.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId"))
|
3585
3591
|
CreateDomainResponse.add_member(:url, Shapes::ShapeRef.new(shape: String1024, location_name: "Url"))
|
3586
3592
|
CreateDomainResponse.struct_class = Types::CreateDomainResponse
|
3587
3593
|
|
@@ -5107,6 +5113,7 @@ module Aws::SageMaker
|
|
5107
5113
|
DescribeHubContentResponse.add_member(:hub_content_status, Shapes::ShapeRef.new(shape: HubContentStatus, required: true, location_name: "HubContentStatus"))
|
5108
5114
|
DescribeHubContentResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
5109
5115
|
DescribeHubContentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
5116
|
+
DescribeHubContentResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime"))
|
5110
5117
|
DescribeHubContentResponse.struct_class = Types::DescribeHubContentResponse
|
5111
5118
|
|
5112
5119
|
DescribeHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
@@ -6431,6 +6438,9 @@ module Aws::SageMaker
|
|
6431
6438
|
HookParameters.key = Shapes::ShapeRef.new(shape: ConfigKey)
|
6432
6439
|
HookParameters.value = Shapes::ShapeRef.new(shape: ConfigValue)
|
6433
6440
|
|
6441
|
+
HubAccessConfig.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
6442
|
+
HubAccessConfig.struct_class = Types::HubAccessConfig
|
6443
|
+
|
6434
6444
|
HubContentDependency.add_member(:dependency_origin_path, Shapes::ShapeRef.new(shape: DependencyOriginPath, location_name: "DependencyOriginPath"))
|
6435
6445
|
HubContentDependency.add_member(:dependency_copy_path, Shapes::ShapeRef.new(shape: DependencyCopyPath, location_name: "DependencyCopyPath"))
|
6436
6446
|
HubContentDependency.struct_class = Types::HubContentDependency
|
@@ -6721,6 +6731,7 @@ module Aws::SageMaker
|
|
6721
6731
|
ImportHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
6722
6732
|
ImportHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
6723
6733
|
ImportHubContentRequest.add_member(:hub_content_document, Shapes::ShapeRef.new(shape: HubContentDocument, required: true, location_name: "HubContentDocument"))
|
6734
|
+
ImportHubContentRequest.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
6724
6735
|
ImportHubContentRequest.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
6725
6736
|
ImportHubContentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
6726
6737
|
ImportHubContentRequest.struct_class = Types::ImportHubContentRequest
|
@@ -9700,6 +9711,8 @@ module Aws::SageMaker
|
|
9700
9711
|
S3DataSource.add_member(:s3_data_distribution_type, Shapes::ShapeRef.new(shape: S3DataDistribution, location_name: "S3DataDistributionType"))
|
9701
9712
|
S3DataSource.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNames, location_name: "AttributeNames"))
|
9702
9713
|
S3DataSource.add_member(:instance_group_names, Shapes::ShapeRef.new(shape: InstanceGroupNames, location_name: "InstanceGroupNames"))
|
9714
|
+
S3DataSource.add_member(:model_access_config, Shapes::ShapeRef.new(shape: ModelAccessConfig, location_name: "ModelAccessConfig"))
|
9715
|
+
S3DataSource.add_member(:hub_access_config, Shapes::ShapeRef.new(shape: HubAccessConfig, location_name: "HubAccessConfig"))
|
9703
9716
|
S3DataSource.struct_class = Types::S3DataSource
|
9704
9717
|
|
9705
9718
|
S3ModelDataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3ModelUri, required: true, location_name: "S3Uri"))
|
@@ -10699,6 +10712,31 @@ module Aws::SageMaker
|
|
10699
10712
|
UpdateFeatureMetadataRequest.add_member(:parameter_removals, Shapes::ShapeRef.new(shape: FeatureParameterRemovals, location_name: "ParameterRemovals"))
|
10700
10713
|
UpdateFeatureMetadataRequest.struct_class = Types::UpdateFeatureMetadataRequest
|
10701
10714
|
|
10715
|
+
UpdateHubContentReferenceRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10716
|
+
UpdateHubContentReferenceRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
10717
|
+
UpdateHubContentReferenceRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
10718
|
+
UpdateHubContentReferenceRequest.add_member(:min_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "MinVersion"))
|
10719
|
+
UpdateHubContentReferenceRequest.struct_class = Types::UpdateHubContentReferenceRequest
|
10720
|
+
|
10721
|
+
UpdateHubContentReferenceResponse.add_member(:hub_arn, Shapes::ShapeRef.new(shape: HubArn, required: true, location_name: "HubArn"))
|
10722
|
+
UpdateHubContentReferenceResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
10723
|
+
UpdateHubContentReferenceResponse.struct_class = Types::UpdateHubContentReferenceResponse
|
10724
|
+
|
10725
|
+
UpdateHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10726
|
+
UpdateHubContentRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
10727
|
+
UpdateHubContentRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
10728
|
+
UpdateHubContentRequest.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, required: true, location_name: "HubContentVersion"))
|
10729
|
+
UpdateHubContentRequest.add_member(:hub_content_display_name, Shapes::ShapeRef.new(shape: HubContentDisplayName, location_name: "HubContentDisplayName"))
|
10730
|
+
UpdateHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
10731
|
+
UpdateHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
10732
|
+
UpdateHubContentRequest.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
10733
|
+
UpdateHubContentRequest.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
10734
|
+
UpdateHubContentRequest.struct_class = Types::UpdateHubContentRequest
|
10735
|
+
|
10736
|
+
UpdateHubContentResponse.add_member(:hub_arn, Shapes::ShapeRef.new(shape: HubArn, required: true, location_name: "HubArn"))
|
10737
|
+
UpdateHubContentResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
10738
|
+
UpdateHubContentResponse.struct_class = Types::UpdateHubContentResponse
|
10739
|
+
|
10702
10740
|
UpdateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10703
10741
|
UpdateHubRequest.add_member(:hub_description, Shapes::ShapeRef.new(shape: HubDescription, location_name: "HubDescription"))
|
10704
10742
|
UpdateHubRequest.add_member(:hub_display_name, Shapes::ShapeRef.new(shape: HubDisplayName, location_name: "HubDisplayName"))
|
@@ -14562,6 +14600,26 @@ module Aws::SageMaker
|
|
14562
14600
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14563
14601
|
end)
|
14564
14602
|
|
14603
|
+
api.add_operation(:update_hub_content, Seahorse::Model::Operation.new.tap do |o|
|
14604
|
+
o.name = "UpdateHubContent"
|
14605
|
+
o.http_method = "POST"
|
14606
|
+
o.http_request_uri = "/"
|
14607
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHubContentRequest)
|
14608
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHubContentResponse)
|
14609
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14610
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
14611
|
+
end)
|
14612
|
+
|
14613
|
+
api.add_operation(:update_hub_content_reference, Seahorse::Model::Operation.new.tap do |o|
|
14614
|
+
o.name = "UpdateHubContentReference"
|
14615
|
+
o.http_method = "POST"
|
14616
|
+
o.http_request_uri = "/"
|
14617
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateHubContentReferenceRequest)
|
14618
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateHubContentReferenceResponse)
|
14619
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14620
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
14621
|
+
end)
|
14622
|
+
|
14565
14623
|
api.add_operation(:update_image, Seahorse::Model::Operation.new.tap do |o|
|
14566
14624
|
o.name = "UpdateImage"
|
14567
14625
|
o.http_method = "POST"
|
@@ -6823,6 +6823,10 @@ module Aws::SageMaker
|
|
6823
6823
|
# The Amazon Resource Name (ARN) of the created domain.
|
6824
6824
|
# @return [String]
|
6825
6825
|
#
|
6826
|
+
# @!attribute [rw] domain_id
|
6827
|
+
# The ID of the created domain.
|
6828
|
+
# @return [String]
|
6829
|
+
#
|
6826
6830
|
# @!attribute [rw] url
|
6827
6831
|
# The URL to the created domain.
|
6828
6832
|
# @return [String]
|
@@ -6831,6 +6835,7 @@ module Aws::SageMaker
|
|
6831
6835
|
#
|
6832
6836
|
class CreateDomainResponse < Struct.new(
|
6833
6837
|
:domain_arn,
|
6838
|
+
:domain_id,
|
6834
6839
|
:url)
|
6835
6840
|
SENSITIVE = []
|
6836
6841
|
include Aws::Structure
|
@@ -15469,6 +15474,10 @@ module Aws::SageMaker
|
|
15469
15474
|
# The date and time that hub content was created.
|
15470
15475
|
# @return [Time]
|
15471
15476
|
#
|
15477
|
+
# @!attribute [rw] last_modified_time
|
15478
|
+
# The last modified time of the hub content.
|
15479
|
+
# @return [Time]
|
15480
|
+
#
|
15472
15481
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContentResponse AWS API Documentation
|
15473
15482
|
#
|
15474
15483
|
class DescribeHubContentResponse < Struct.new(
|
@@ -15490,7 +15499,8 @@ module Aws::SageMaker
|
|
15490
15499
|
:hub_content_dependencies,
|
15491
15500
|
:hub_content_status,
|
15492
15501
|
:failure_reason,
|
15493
|
-
:creation_time
|
15502
|
+
:creation_time,
|
15503
|
+
:last_modified_time)
|
15494
15504
|
SENSITIVE = []
|
15495
15505
|
include Aws::Structure
|
15496
15506
|
end
|
@@ -22612,6 +22622,30 @@ module Aws::SageMaker
|
|
22612
22622
|
include Aws::Structure
|
22613
22623
|
end
|
22614
22624
|
|
22625
|
+
# The configuration for a private hub model reference that points to a
|
22626
|
+
# public SageMaker JumpStart model.
|
22627
|
+
#
|
22628
|
+
# For more information about private hubs, see [Private curated hubs for
|
22629
|
+
# foundation model access control in JumpStart][1].
|
22630
|
+
#
|
22631
|
+
#
|
22632
|
+
#
|
22633
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html
|
22634
|
+
#
|
22635
|
+
# @!attribute [rw] hub_content_arn
|
22636
|
+
# The ARN of your private model hub content. This should be a
|
22637
|
+
# `ModelReference` resource type that points to a SageMaker JumpStart
|
22638
|
+
# public hub model.
|
22639
|
+
# @return [String]
|
22640
|
+
#
|
22641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HubAccessConfig AWS API Documentation
|
22642
|
+
#
|
22643
|
+
class HubAccessConfig < Struct.new(
|
22644
|
+
:hub_content_arn)
|
22645
|
+
SENSITIVE = []
|
22646
|
+
include Aws::Structure
|
22647
|
+
end
|
22648
|
+
|
22615
22649
|
# Any dependencies related to hub content, such as scripts, model
|
22616
22650
|
# artifacts, datasets, or notebooks.
|
22617
22651
|
#
|
@@ -25348,6 +25382,10 @@ module Aws::SageMaker
|
|
25348
25382
|
# content such as type, associated containers, scripts, and more.
|
25349
25383
|
# @return [String]
|
25350
25384
|
#
|
25385
|
+
# @!attribute [rw] support_status
|
25386
|
+
# The status of the hub content resource.
|
25387
|
+
# @return [String]
|
25388
|
+
#
|
25351
25389
|
# @!attribute [rw] hub_content_search_keywords
|
25352
25390
|
# The searchable keywords of the hub content.
|
25353
25391
|
# @return [Array<String>]
|
@@ -25368,6 +25406,7 @@ module Aws::SageMaker
|
|
25368
25406
|
:hub_content_description,
|
25369
25407
|
:hub_content_markdown,
|
25370
25408
|
:hub_content_document,
|
25409
|
+
:support_status,
|
25371
25410
|
:hub_content_search_keywords,
|
25372
25411
|
:tags)
|
25373
25412
|
SENSITIVE = []
|
@@ -26700,6 +26739,14 @@ module Aws::SageMaker
|
|
26700
26739
|
# @!attribute [rw] custom_images
|
26701
26740
|
# A list of custom SageMaker AI images that are configured to run as a
|
26702
26741
|
# KernelGateway app.
|
26742
|
+
#
|
26743
|
+
# The maximum number of custom images are as follows.
|
26744
|
+
#
|
26745
|
+
# * On a domain level: 200
|
26746
|
+
#
|
26747
|
+
# * On a space level: 5
|
26748
|
+
#
|
26749
|
+
# * On a user profile level: 5
|
26703
26750
|
# @return [Array<Types::CustomImage>]
|
26704
26751
|
#
|
26705
26752
|
# @!attribute [rw] lifecycle_config_arns
|
@@ -41984,6 +42031,30 @@ module Aws::SageMaker
|
|
41984
42031
|
# source.
|
41985
42032
|
# @return [Array<String>]
|
41986
42033
|
#
|
42034
|
+
# @!attribute [rw] model_access_config
|
42035
|
+
# The access configuration file to control access to the ML model. You
|
42036
|
+
# can explicitly accept the model end-user license agreement (EULA)
|
42037
|
+
# within the `ModelAccessConfig`.
|
42038
|
+
#
|
42039
|
+
# * If you are a Jumpstart user, see the [End-user license
|
42040
|
+
# agreements][1] section for more details on accepting the EULA.
|
42041
|
+
#
|
42042
|
+
# * If you are an AutoML user, see the *Optional Parameters* section
|
42043
|
+
# of *Create an AutoML job to fine-tune text generation models using
|
42044
|
+
# the API* for details on [How to set the EULA acceptance when
|
42045
|
+
# fine-tuning a model using the AutoML API][2].
|
42046
|
+
#
|
42047
|
+
#
|
42048
|
+
#
|
42049
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
|
42050
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params
|
42051
|
+
# @return [Types::ModelAccessConfig]
|
42052
|
+
#
|
42053
|
+
# @!attribute [rw] hub_access_config
|
42054
|
+
# The configuration for a private hub model reference that points to a
|
42055
|
+
# SageMaker JumpStart public hub model.
|
42056
|
+
# @return [Types::HubAccessConfig]
|
42057
|
+
#
|
41987
42058
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3DataSource AWS API Documentation
|
41988
42059
|
#
|
41989
42060
|
class S3DataSource < Struct.new(
|
@@ -41991,7 +42062,9 @@ module Aws::SageMaker
|
|
41991
42062
|
:s3_uri,
|
41992
42063
|
:s3_data_distribution_type,
|
41993
42064
|
:attribute_names,
|
41994
|
-
:instance_group_names
|
42065
|
+
:instance_group_names,
|
42066
|
+
:model_access_config,
|
42067
|
+
:hub_access_config)
|
41995
42068
|
SENSITIVE = []
|
41996
42069
|
include Aws::Structure
|
41997
42070
|
end
|
@@ -48142,6 +48215,134 @@ module Aws::SageMaker
|
|
48142
48215
|
include Aws::Structure
|
48143
48216
|
end
|
48144
48217
|
|
48218
|
+
# @!attribute [rw] hub_name
|
48219
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48220
|
+
# to update. You can optionally use the hub ARN instead.
|
48221
|
+
# @return [String]
|
48222
|
+
#
|
48223
|
+
# @!attribute [rw] hub_content_name
|
48224
|
+
# The name of the hub content resource that you want to update.
|
48225
|
+
# @return [String]
|
48226
|
+
#
|
48227
|
+
# @!attribute [rw] hub_content_type
|
48228
|
+
# The content type of the resource that you want to update. Only
|
48229
|
+
# specify a `ModelReference` resource for this API. To update a
|
48230
|
+
# `Model` or `Notebook` resource, use the `UpdateHubContent` API
|
48231
|
+
# instead.
|
48232
|
+
# @return [String]
|
48233
|
+
#
|
48234
|
+
# @!attribute [rw] min_version
|
48235
|
+
# The minimum hub content version of the referenced model that you
|
48236
|
+
# want to use. The minimum version must be older than the latest
|
48237
|
+
# available version of the referenced model. To support all versions
|
48238
|
+
# of a model, set the value to `1.0.0`.
|
48239
|
+
# @return [String]
|
48240
|
+
#
|
48241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceRequest AWS API Documentation
|
48242
|
+
#
|
48243
|
+
class UpdateHubContentReferenceRequest < Struct.new(
|
48244
|
+
:hub_name,
|
48245
|
+
:hub_content_name,
|
48246
|
+
:hub_content_type,
|
48247
|
+
:min_version)
|
48248
|
+
SENSITIVE = []
|
48249
|
+
include Aws::Structure
|
48250
|
+
end
|
48251
|
+
|
48252
|
+
# @!attribute [rw] hub_arn
|
48253
|
+
# The ARN of the private model hub that contains the updated hub
|
48254
|
+
# content.
|
48255
|
+
# @return [String]
|
48256
|
+
#
|
48257
|
+
# @!attribute [rw] hub_content_arn
|
48258
|
+
# The ARN of the hub content resource that was updated.
|
48259
|
+
# @return [String]
|
48260
|
+
#
|
48261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceResponse AWS API Documentation
|
48262
|
+
#
|
48263
|
+
class UpdateHubContentReferenceResponse < Struct.new(
|
48264
|
+
:hub_arn,
|
48265
|
+
:hub_content_arn)
|
48266
|
+
SENSITIVE = []
|
48267
|
+
include Aws::Structure
|
48268
|
+
end
|
48269
|
+
|
48270
|
+
# @!attribute [rw] hub_name
|
48271
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48272
|
+
# to update. You can optionally use the hub ARN instead.
|
48273
|
+
# @return [String]
|
48274
|
+
#
|
48275
|
+
# @!attribute [rw] hub_content_name
|
48276
|
+
# The name of the hub content resource that you want to update.
|
48277
|
+
# @return [String]
|
48278
|
+
#
|
48279
|
+
# @!attribute [rw] hub_content_type
|
48280
|
+
# The content type of the resource that you want to update. Only
|
48281
|
+
# specify a `Model` or `Notebook` resource for this API. To update a
|
48282
|
+
# `ModelReference`, use the `UpdateHubContentReference` API instead.
|
48283
|
+
# @return [String]
|
48284
|
+
#
|
48285
|
+
# @!attribute [rw] hub_content_version
|
48286
|
+
# The hub content version that you want to update. For example, if you
|
48287
|
+
# have two versions of a resource in your hub, you can update the
|
48288
|
+
# second version.
|
48289
|
+
# @return [String]
|
48290
|
+
#
|
48291
|
+
# @!attribute [rw] hub_content_display_name
|
48292
|
+
# The display name of the hub content.
|
48293
|
+
# @return [String]
|
48294
|
+
#
|
48295
|
+
# @!attribute [rw] hub_content_description
|
48296
|
+
# The description of the hub content.
|
48297
|
+
# @return [String]
|
48298
|
+
#
|
48299
|
+
# @!attribute [rw] hub_content_markdown
|
48300
|
+
# A string that provides a description of the hub content. This string
|
48301
|
+
# can include links, tables, and standard markdown formatting.
|
48302
|
+
# @return [String]
|
48303
|
+
#
|
48304
|
+
# @!attribute [rw] hub_content_search_keywords
|
48305
|
+
# The searchable keywords of the hub content.
|
48306
|
+
# @return [Array<String>]
|
48307
|
+
#
|
48308
|
+
# @!attribute [rw] support_status
|
48309
|
+
# Indicates the current status of the hub content resource.
|
48310
|
+
# @return [String]
|
48311
|
+
#
|
48312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentRequest AWS API Documentation
|
48313
|
+
#
|
48314
|
+
class UpdateHubContentRequest < Struct.new(
|
48315
|
+
:hub_name,
|
48316
|
+
:hub_content_name,
|
48317
|
+
:hub_content_type,
|
48318
|
+
:hub_content_version,
|
48319
|
+
:hub_content_display_name,
|
48320
|
+
:hub_content_description,
|
48321
|
+
:hub_content_markdown,
|
48322
|
+
:hub_content_search_keywords,
|
48323
|
+
:support_status)
|
48324
|
+
SENSITIVE = []
|
48325
|
+
include Aws::Structure
|
48326
|
+
end
|
48327
|
+
|
48328
|
+
# @!attribute [rw] hub_arn
|
48329
|
+
# The ARN of the private model hub that contains the updated hub
|
48330
|
+
# content.
|
48331
|
+
# @return [String]
|
48332
|
+
#
|
48333
|
+
# @!attribute [rw] hub_content_arn
|
48334
|
+
# The ARN of the hub content resource that was updated.
|
48335
|
+
# @return [String]
|
48336
|
+
#
|
48337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentResponse AWS API Documentation
|
48338
|
+
#
|
48339
|
+
class UpdateHubContentResponse < Struct.new(
|
48340
|
+
:hub_arn,
|
48341
|
+
:hub_content_arn)
|
48342
|
+
SENSITIVE = []
|
48343
|
+
include Aws::Structure
|
48344
|
+
end
|
48345
|
+
|
48145
48346
|
# @!attribute [rw] hub_name
|
48146
48347
|
# The name of the hub to update.
|
48147
48348
|
# @return [String]
|
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,
|
@@ -1043,6 +1049,7 @@ module Aws
|
|
1043
1049
|
interface _CreateDomainResponseSuccess
|
1044
1050
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainResponse]
|
1045
1051
|
def domain_arn: () -> ::String
|
1052
|
+
def domain_id: () -> ::String
|
1046
1053
|
def url: () -> ::String
|
1047
1054
|
end
|
1048
1055
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_domain-instance_method
|
@@ -1977,7 +1984,13 @@ module Aws
|
|
1977
1984
|
s3_uri: ::String,
|
1978
1985
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
1979
1986
|
attribute_names: Array[::String]?,
|
1980
|
-
instance_group_names: Array[::String]
|
1987
|
+
instance_group_names: Array[::String]?,
|
1988
|
+
model_access_config: {
|
1989
|
+
accept_eula: bool
|
1990
|
+
}?,
|
1991
|
+
hub_access_config: {
|
1992
|
+
hub_content_arn: ::String
|
1993
|
+
}?
|
1981
1994
|
}?,
|
1982
1995
|
file_system_data_source: {
|
1983
1996
|
file_system_id: ::String,
|
@@ -2109,7 +2122,13 @@ module Aws
|
|
2109
2122
|
s3_uri: ::String,
|
2110
2123
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
2111
2124
|
attribute_names: Array[::String]?,
|
2112
|
-
instance_group_names: Array[::String]
|
2125
|
+
instance_group_names: Array[::String]?,
|
2126
|
+
model_access_config: {
|
2127
|
+
accept_eula: bool
|
2128
|
+
}?,
|
2129
|
+
hub_access_config: {
|
2130
|
+
hub_content_arn: ::String
|
2131
|
+
}?
|
2113
2132
|
}?,
|
2114
2133
|
file_system_data_source: {
|
2115
2134
|
file_system_id: ::String,
|
@@ -3960,7 +3979,13 @@ module Aws
|
|
3960
3979
|
s3_uri: ::String,
|
3961
3980
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
3962
3981
|
attribute_names: Array[::String]?,
|
3963
|
-
instance_group_names: Array[::String]
|
3982
|
+
instance_group_names: Array[::String]?,
|
3983
|
+
model_access_config: {
|
3984
|
+
accept_eula: bool
|
3985
|
+
}?,
|
3986
|
+
hub_access_config: {
|
3987
|
+
hub_content_arn: ::String
|
3988
|
+
}?
|
3964
3989
|
}?,
|
3965
3990
|
file_system_data_source: {
|
3966
3991
|
file_system_id: ::String,
|
@@ -5571,12 +5596,13 @@ module Aws
|
|
5571
5596
|
def hub_content_document: () -> ::String
|
5572
5597
|
def sage_maker_public_hub_content_arn: () -> ::String
|
5573
5598
|
def reference_min_version: () -> ::String
|
5574
|
-
def support_status: () -> ("Supported" | "Deprecated")
|
5599
|
+
def support_status: () -> ("Supported" | "Deprecated" | "Restricted")
|
5575
5600
|
def hub_content_search_keywords: () -> ::Array[::String]
|
5576
5601
|
def hub_content_dependencies: () -> ::Array[Types::HubContentDependency]
|
5577
5602
|
def hub_content_status: () -> ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
5578
5603
|
def failure_reason: () -> ::String
|
5579
5604
|
def creation_time: () -> ::Time
|
5605
|
+
def last_modified_time: () -> ::Time
|
5580
5606
|
end
|
5581
5607
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_hub_content-instance_method
|
5582
5608
|
def describe_hub_content: (
|
@@ -6571,6 +6597,7 @@ module Aws
|
|
6571
6597
|
?hub_content_description: ::String,
|
6572
6598
|
?hub_content_markdown: ::String,
|
6573
6599
|
hub_content_document: ::String,
|
6600
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted"),
|
6574
6601
|
?hub_content_search_keywords: Array[::String],
|
6575
6602
|
?tags: Array[
|
6576
6603
|
{
|
@@ -9130,6 +9157,39 @@ module Aws
|
|
9130
9157
|
) -> _UpdateHubResponseSuccess
|
9131
9158
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubResponseSuccess
|
9132
9159
|
|
9160
|
+
interface _UpdateHubContentResponseSuccess
|
9161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentResponse]
|
9162
|
+
def hub_arn: () -> ::String
|
9163
|
+
def hub_content_arn: () -> ::String
|
9164
|
+
end
|
9165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content-instance_method
|
9166
|
+
def update_hub_content: (
|
9167
|
+
hub_name: ::String,
|
9168
|
+
hub_content_name: ::String,
|
9169
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9170
|
+
hub_content_version: ::String,
|
9171
|
+
?hub_content_display_name: ::String,
|
9172
|
+
?hub_content_description: ::String,
|
9173
|
+
?hub_content_markdown: ::String,
|
9174
|
+
?hub_content_search_keywords: Array[::String],
|
9175
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted")
|
9176
|
+
) -> _UpdateHubContentResponseSuccess
|
9177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentResponseSuccess
|
9178
|
+
|
9179
|
+
interface _UpdateHubContentReferenceResponseSuccess
|
9180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentReferenceResponse]
|
9181
|
+
def hub_arn: () -> ::String
|
9182
|
+
def hub_content_arn: () -> ::String
|
9183
|
+
end
|
9184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content_reference-instance_method
|
9185
|
+
def update_hub_content_reference: (
|
9186
|
+
hub_name: ::String,
|
9187
|
+
hub_content_name: ::String,
|
9188
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9189
|
+
?min_version: ::String
|
9190
|
+
) -> _UpdateHubContentReferenceResponseSuccess
|
9191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentReferenceResponseSuccess
|
9192
|
+
|
9133
9193
|
interface _UpdateImageResponseSuccess
|
9134
9194
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateImageResponse]
|
9135
9195
|
def image_arn: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -1270,6 +1270,7 @@ module Aws::SageMaker
|
|
1270
1270
|
|
1271
1271
|
class CreateDomainResponse
|
1272
1272
|
attr_accessor domain_arn: ::String
|
1273
|
+
attr_accessor domain_id: ::String
|
1273
1274
|
attr_accessor url: ::String
|
1274
1275
|
SENSITIVE: []
|
1275
1276
|
end
|
@@ -3263,12 +3264,13 @@ module Aws::SageMaker
|
|
3263
3264
|
attr_accessor hub_content_document: ::String
|
3264
3265
|
attr_accessor sage_maker_public_hub_content_arn: ::String
|
3265
3266
|
attr_accessor reference_min_version: ::String
|
3266
|
-
attr_accessor support_status: ("Supported" | "Deprecated")
|
3267
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
3267
3268
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
3268
3269
|
attr_accessor hub_content_dependencies: ::Array[Types::HubContentDependency]
|
3269
3270
|
attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
3270
3271
|
attr_accessor failure_reason: ::String
|
3271
3272
|
attr_accessor creation_time: ::Time
|
3273
|
+
attr_accessor last_modified_time: ::Time
|
3272
3274
|
SENSITIVE: []
|
3273
3275
|
end
|
3274
3276
|
|
@@ -4845,6 +4847,11 @@ module Aws::SageMaker
|
|
4845
4847
|
SENSITIVE: []
|
4846
4848
|
end
|
4847
4849
|
|
4850
|
+
class HubAccessConfig
|
4851
|
+
attr_accessor hub_content_arn: ::String
|
4852
|
+
SENSITIVE: []
|
4853
|
+
end
|
4854
|
+
|
4848
4855
|
class HubContentDependency
|
4849
4856
|
attr_accessor dependency_origin_path: ::String
|
4850
4857
|
attr_accessor dependency_copy_path: ::String
|
@@ -4860,7 +4867,7 @@ module Aws::SageMaker
|
|
4860
4867
|
attr_accessor document_schema_version: ::String
|
4861
4868
|
attr_accessor hub_content_display_name: ::String
|
4862
4869
|
attr_accessor hub_content_description: ::String
|
4863
|
-
attr_accessor support_status: ("Supported" | "Deprecated")
|
4870
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
4864
4871
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
4865
4872
|
attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
4866
4873
|
attr_accessor creation_time: ::Time
|
@@ -5164,6 +5171,7 @@ module Aws::SageMaker
|
|
5164
5171
|
attr_accessor hub_content_description: ::String
|
5165
5172
|
attr_accessor hub_content_markdown: ::String
|
5166
5173
|
attr_accessor hub_content_document: ::String
|
5174
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
5167
5175
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
5168
5176
|
attr_accessor tags: ::Array[Types::Tag]
|
5169
5177
|
SENSITIVE: []
|
@@ -8799,6 +8807,8 @@ module Aws::SageMaker
|
|
8799
8807
|
attr_accessor s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")
|
8800
8808
|
attr_accessor attribute_names: ::Array[::String]
|
8801
8809
|
attr_accessor instance_group_names: ::Array[::String]
|
8810
|
+
attr_accessor model_access_config: Types::ModelAccessConfig
|
8811
|
+
attr_accessor hub_access_config: Types::HubAccessConfig
|
8802
8812
|
SENSITIVE: []
|
8803
8813
|
end
|
8804
8814
|
|
@@ -10055,6 +10065,39 @@ module Aws::SageMaker
|
|
10055
10065
|
SENSITIVE: []
|
10056
10066
|
end
|
10057
10067
|
|
10068
|
+
class UpdateHubContentReferenceRequest
|
10069
|
+
attr_accessor hub_name: ::String
|
10070
|
+
attr_accessor hub_content_name: ::String
|
10071
|
+
attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
|
10072
|
+
attr_accessor min_version: ::String
|
10073
|
+
SENSITIVE: []
|
10074
|
+
end
|
10075
|
+
|
10076
|
+
class UpdateHubContentReferenceResponse
|
10077
|
+
attr_accessor hub_arn: ::String
|
10078
|
+
attr_accessor hub_content_arn: ::String
|
10079
|
+
SENSITIVE: []
|
10080
|
+
end
|
10081
|
+
|
10082
|
+
class UpdateHubContentRequest
|
10083
|
+
attr_accessor hub_name: ::String
|
10084
|
+
attr_accessor hub_content_name: ::String
|
10085
|
+
attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
|
10086
|
+
attr_accessor hub_content_version: ::String
|
10087
|
+
attr_accessor hub_content_display_name: ::String
|
10088
|
+
attr_accessor hub_content_description: ::String
|
10089
|
+
attr_accessor hub_content_markdown: ::String
|
10090
|
+
attr_accessor hub_content_search_keywords: ::Array[::String]
|
10091
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
10092
|
+
SENSITIVE: []
|
10093
|
+
end
|
10094
|
+
|
10095
|
+
class UpdateHubContentResponse
|
10096
|
+
attr_accessor hub_arn: ::String
|
10097
|
+
attr_accessor hub_content_arn: ::String
|
10098
|
+
SENSITIVE: []
|
10099
|
+
end
|
10100
|
+
|
10058
10101
|
class UpdateHubRequest
|
10059
10102
|
attr_accessor hub_name: ::String
|
10060
10103
|
attr_accessor hub_description: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-sagemaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.293.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|