aws-sdk-sagemaker 1.291.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +204 -4
- data/lib/aws-sdk-sagemaker/client_api.rb +57 -0
- data/lib/aws-sdk-sagemaker/types.rb +190 -2
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +64 -5
- data/sig/types.rbs +44 -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,11 @@
|
|
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
|
+
|
4
9
|
1.291.0 (2025-02-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.292.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
|
@@ -4747,6 +4753,12 @@ module Aws::SageMaker
|
|
4747
4753
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4748
4754
|
# attribute_names: ["AttributeName"],
|
4749
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
|
+
# },
|
4750
4762
|
# },
|
4751
4763
|
# file_system_data_source: {
|
4752
4764
|
# file_system_id: "FileSystemId", # required
|
@@ -4883,6 +4895,12 @@ module Aws::SageMaker
|
|
4883
4895
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
4884
4896
|
# attribute_names: ["AttributeName"],
|
4885
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
|
+
# },
|
4886
4904
|
# },
|
4887
4905
|
# file_system_data_source: {
|
4888
4906
|
# file_system_id: "FileSystemId", # required
|
@@ -9218,6 +9236,12 @@ module Aws::SageMaker
|
|
9218
9236
|
# s3_data_distribution_type: "FullyReplicated", # accepts FullyReplicated, ShardedByS3Key
|
9219
9237
|
# attribute_names: ["AttributeName"],
|
9220
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
|
+
# },
|
9221
9245
|
# },
|
9222
9246
|
# file_system_data_source: {
|
9223
9247
|
# file_system_id: "FileSystemId", # required
|
@@ -12169,6 +12193,8 @@ module Aws::SageMaker
|
|
12169
12193
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
12170
12194
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
12171
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
|
12172
12198
|
# resp.validation_specification.validation_profiles[0].training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
12173
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"
|
12174
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"
|
@@ -14463,6 +14489,7 @@ module Aws::SageMaker
|
|
14463
14489
|
# * {Types::DescribeHubContentResponse#hub_content_status #hub_content_status} => String
|
14464
14490
|
# * {Types::DescribeHubContentResponse#failure_reason #failure_reason} => String
|
14465
14491
|
# * {Types::DescribeHubContentResponse#creation_time #creation_time} => Time
|
14492
|
+
# * {Types::DescribeHubContentResponse#last_modified_time #last_modified_time} => Time
|
14466
14493
|
#
|
14467
14494
|
# @example Request syntax with placeholder values
|
14468
14495
|
#
|
@@ -14488,7 +14515,7 @@ module Aws::SageMaker
|
|
14488
14515
|
# resp.hub_content_document #=> String
|
14489
14516
|
# resp.sage_maker_public_hub_content_arn #=> String
|
14490
14517
|
# resp.reference_min_version #=> String
|
14491
|
-
# resp.support_status #=> String, one of "Supported", "Deprecated"
|
14518
|
+
# resp.support_status #=> String, one of "Supported", "Deprecated", "Restricted"
|
14492
14519
|
# resp.hub_content_search_keywords #=> Array
|
14493
14520
|
# resp.hub_content_search_keywords[0] #=> String
|
14494
14521
|
# resp.hub_content_dependencies #=> Array
|
@@ -14497,6 +14524,7 @@ module Aws::SageMaker
|
|
14497
14524
|
# resp.hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
14498
14525
|
# resp.failure_reason #=> String
|
14499
14526
|
# resp.creation_time #=> Time
|
14527
|
+
# resp.last_modified_time #=> Time
|
14500
14528
|
#
|
14501
14529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContent AWS API Documentation
|
14502
14530
|
#
|
@@ -14652,6 +14680,8 @@ module Aws::SageMaker
|
|
14652
14680
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14653
14681
|
# resp.training_job_definition.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14654
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
|
14655
14685
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14656
14686
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
14657
14687
|
# resp.training_job_definition.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -14737,6 +14767,8 @@ module Aws::SageMaker
|
|
14737
14767
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
14738
14768
|
# resp.training_job_definitions[0].input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
14739
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
|
14740
14772
|
# resp.training_job_definitions[0].input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
14741
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"
|
14742
14774
|
# 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 +17295,8 @@ module Aws::SageMaker
|
|
17263
17295
|
# resp.input_data_config[0].data_source.s3_data_source.attribute_names[0] #=> String
|
17264
17296
|
# resp.input_data_config[0].data_source.s3_data_source.instance_group_names #=> Array
|
17265
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
|
17266
17300
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_id #=> String
|
17267
17301
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_access_mode #=> String, one of "rw", "ro"
|
17268
17302
|
# resp.input_data_config[0].data_source.file_system_data_source.file_system_type #=> String, one of "EFS", "FSxLustre"
|
@@ -18347,6 +18381,9 @@ module Aws::SageMaker
|
|
18347
18381
|
# The hub content document that describes information about the hub
|
18348
18382
|
# content such as type, associated containers, scripts, and more.
|
18349
18383
|
#
|
18384
|
+
# @option params [String] :support_status
|
18385
|
+
# The status of the hub content resource.
|
18386
|
+
#
|
18350
18387
|
# @option params [Array<String>] :hub_content_search_keywords
|
18351
18388
|
# The searchable keywords of the hub content.
|
18352
18389
|
#
|
@@ -18370,6 +18407,7 @@ module Aws::SageMaker
|
|
18370
18407
|
# hub_content_description: "HubContentDescription",
|
18371
18408
|
# hub_content_markdown: "HubContentMarkdown",
|
18372
18409
|
# hub_content_document: "HubContentDocument", # required
|
18410
|
+
# support_status: "Supported", # accepts Supported, Deprecated, Restricted
|
18373
18411
|
# hub_content_search_keywords: ["HubSearchKeyword"],
|
18374
18412
|
# tags: [
|
18375
18413
|
# {
|
@@ -20581,7 +20619,7 @@ module Aws::SageMaker
|
|
20581
20619
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20582
20620
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20583
20621
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20584
|
-
# 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"
|
20585
20623
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20586
20624
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20587
20625
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -20663,7 +20701,7 @@ module Aws::SageMaker
|
|
20663
20701
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
20664
20702
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
20665
20703
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
20666
|
-
# 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"
|
20667
20705
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
20668
20706
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
20669
20707
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
@@ -27392,6 +27430,168 @@ module Aws::SageMaker
|
|
27392
27430
|
req.send_request(options)
|
27393
27431
|
end
|
27394
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
|
+
|
27395
27595
|
# Updates the properties of a SageMaker AI image. To change the image's
|
27396
27596
|
# tags, use the [AddTags][1] and [DeleteTags][2] APIs.
|
27397
27597
|
#
|
@@ -29545,7 +29745,7 @@ module Aws::SageMaker
|
|
29545
29745
|
tracer: tracer
|
29546
29746
|
)
|
29547
29747
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
29548
|
-
context[:gem_version] = '1.
|
29748
|
+
context[:gem_version] = '1.292.0'
|
29549
29749
|
Seahorse::Client::Request.new(handlers, context)
|
29550
29750
|
end
|
29551
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')
|
@@ -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')
|
@@ -5107,6 +5112,7 @@ module Aws::SageMaker
|
|
5107
5112
|
DescribeHubContentResponse.add_member(:hub_content_status, Shapes::ShapeRef.new(shape: HubContentStatus, required: true, location_name: "HubContentStatus"))
|
5108
5113
|
DescribeHubContentResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
5109
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"))
|
5110
5116
|
DescribeHubContentResponse.struct_class = Types::DescribeHubContentResponse
|
5111
5117
|
|
5112
5118
|
DescribeHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
@@ -6431,6 +6437,9 @@ module Aws::SageMaker
|
|
6431
6437
|
HookParameters.key = Shapes::ShapeRef.new(shape: ConfigKey)
|
6432
6438
|
HookParameters.value = Shapes::ShapeRef.new(shape: ConfigValue)
|
6433
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
|
+
|
6434
6443
|
HubContentDependency.add_member(:dependency_origin_path, Shapes::ShapeRef.new(shape: DependencyOriginPath, location_name: "DependencyOriginPath"))
|
6435
6444
|
HubContentDependency.add_member(:dependency_copy_path, Shapes::ShapeRef.new(shape: DependencyCopyPath, location_name: "DependencyCopyPath"))
|
6436
6445
|
HubContentDependency.struct_class = Types::HubContentDependency
|
@@ -6721,6 +6730,7 @@ module Aws::SageMaker
|
|
6721
6730
|
ImportHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
6722
6731
|
ImportHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
6723
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"))
|
6724
6734
|
ImportHubContentRequest.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
6725
6735
|
ImportHubContentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
6726
6736
|
ImportHubContentRequest.struct_class = Types::ImportHubContentRequest
|
@@ -9700,6 +9710,8 @@ module Aws::SageMaker
|
|
9700
9710
|
S3DataSource.add_member(:s3_data_distribution_type, Shapes::ShapeRef.new(shape: S3DataDistribution, location_name: "S3DataDistributionType"))
|
9701
9711
|
S3DataSource.add_member(:attribute_names, Shapes::ShapeRef.new(shape: AttributeNames, location_name: "AttributeNames"))
|
9702
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"))
|
9703
9715
|
S3DataSource.struct_class = Types::S3DataSource
|
9704
9716
|
|
9705
9717
|
S3ModelDataSource.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3ModelUri, required: true, location_name: "S3Uri"))
|
@@ -10699,6 +10711,31 @@ module Aws::SageMaker
|
|
10699
10711
|
UpdateFeatureMetadataRequest.add_member(:parameter_removals, Shapes::ShapeRef.new(shape: FeatureParameterRemovals, location_name: "ParameterRemovals"))
|
10700
10712
|
UpdateFeatureMetadataRequest.struct_class = Types::UpdateFeatureMetadataRequest
|
10701
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
|
+
|
10702
10739
|
UpdateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
10703
10740
|
UpdateHubRequest.add_member(:hub_description, Shapes::ShapeRef.new(shape: HubDescription, location_name: "HubDescription"))
|
10704
10741
|
UpdateHubRequest.add_member(:hub_display_name, Shapes::ShapeRef.new(shape: HubDisplayName, location_name: "HubDisplayName"))
|
@@ -14562,6 +14599,26 @@ module Aws::SageMaker
|
|
14562
14599
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
14563
14600
|
end)
|
14564
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
|
+
|
14565
14622
|
api.add_operation(:update_image, Seahorse::Model::Operation.new.tap do |o|
|
14566
14623
|
o.name = "UpdateImage"
|
14567
14624
|
o.http_method = "POST"
|
@@ -15469,6 +15469,10 @@ module Aws::SageMaker
|
|
15469
15469
|
# The date and time that hub content was created.
|
15470
15470
|
# @return [Time]
|
15471
15471
|
#
|
15472
|
+
# @!attribute [rw] last_modified_time
|
15473
|
+
# The last modified time of the hub content.
|
15474
|
+
# @return [Time]
|
15475
|
+
#
|
15472
15476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHubContentResponse AWS API Documentation
|
15473
15477
|
#
|
15474
15478
|
class DescribeHubContentResponse < Struct.new(
|
@@ -15490,7 +15494,8 @@ module Aws::SageMaker
|
|
15490
15494
|
:hub_content_dependencies,
|
15491
15495
|
:hub_content_status,
|
15492
15496
|
:failure_reason,
|
15493
|
-
:creation_time
|
15497
|
+
:creation_time,
|
15498
|
+
:last_modified_time)
|
15494
15499
|
SENSITIVE = []
|
15495
15500
|
include Aws::Structure
|
15496
15501
|
end
|
@@ -22612,6 +22617,30 @@ module Aws::SageMaker
|
|
22612
22617
|
include Aws::Structure
|
22613
22618
|
end
|
22614
22619
|
|
22620
|
+
# The configuration for a private hub model reference that points to a
|
22621
|
+
# public SageMaker JumpStart model.
|
22622
|
+
#
|
22623
|
+
# For more information about private hubs, see [Private curated hubs for
|
22624
|
+
# foundation model access control in JumpStart][1].
|
22625
|
+
#
|
22626
|
+
#
|
22627
|
+
#
|
22628
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html
|
22629
|
+
#
|
22630
|
+
# @!attribute [rw] hub_content_arn
|
22631
|
+
# The ARN of your private model hub content. This should be a
|
22632
|
+
# `ModelReference` resource type that points to a SageMaker JumpStart
|
22633
|
+
# public hub model.
|
22634
|
+
# @return [String]
|
22635
|
+
#
|
22636
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HubAccessConfig AWS API Documentation
|
22637
|
+
#
|
22638
|
+
class HubAccessConfig < Struct.new(
|
22639
|
+
:hub_content_arn)
|
22640
|
+
SENSITIVE = []
|
22641
|
+
include Aws::Structure
|
22642
|
+
end
|
22643
|
+
|
22615
22644
|
# Any dependencies related to hub content, such as scripts, model
|
22616
22645
|
# artifacts, datasets, or notebooks.
|
22617
22646
|
#
|
@@ -25348,6 +25377,10 @@ module Aws::SageMaker
|
|
25348
25377
|
# content such as type, associated containers, scripts, and more.
|
25349
25378
|
# @return [String]
|
25350
25379
|
#
|
25380
|
+
# @!attribute [rw] support_status
|
25381
|
+
# The status of the hub content resource.
|
25382
|
+
# @return [String]
|
25383
|
+
#
|
25351
25384
|
# @!attribute [rw] hub_content_search_keywords
|
25352
25385
|
# The searchable keywords of the hub content.
|
25353
25386
|
# @return [Array<String>]
|
@@ -25368,6 +25401,7 @@ module Aws::SageMaker
|
|
25368
25401
|
:hub_content_description,
|
25369
25402
|
:hub_content_markdown,
|
25370
25403
|
:hub_content_document,
|
25404
|
+
:support_status,
|
25371
25405
|
:hub_content_search_keywords,
|
25372
25406
|
:tags)
|
25373
25407
|
SENSITIVE = []
|
@@ -41984,6 +42018,30 @@ module Aws::SageMaker
|
|
41984
42018
|
# source.
|
41985
42019
|
# @return [Array<String>]
|
41986
42020
|
#
|
42021
|
+
# @!attribute [rw] model_access_config
|
42022
|
+
# The access configuration file to control access to the ML model. You
|
42023
|
+
# can explicitly accept the model end-user license agreement (EULA)
|
42024
|
+
# within the `ModelAccessConfig`.
|
42025
|
+
#
|
42026
|
+
# * If you are a Jumpstart user, see the [End-user license
|
42027
|
+
# agreements][1] section for more details on accepting the EULA.
|
42028
|
+
#
|
42029
|
+
# * If you are an AutoML user, see the *Optional Parameters* section
|
42030
|
+
# of *Create an AutoML job to fine-tune text generation models using
|
42031
|
+
# the API* for details on [How to set the EULA acceptance when
|
42032
|
+
# fine-tuning a model using the AutoML API][2].
|
42033
|
+
#
|
42034
|
+
#
|
42035
|
+
#
|
42036
|
+
# [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula
|
42037
|
+
# [2]: https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params
|
42038
|
+
# @return [Types::ModelAccessConfig]
|
42039
|
+
#
|
42040
|
+
# @!attribute [rw] hub_access_config
|
42041
|
+
# The configuration for a private hub model reference that points to a
|
42042
|
+
# SageMaker JumpStart public hub model.
|
42043
|
+
# @return [Types::HubAccessConfig]
|
42044
|
+
#
|
41987
42045
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3DataSource AWS API Documentation
|
41988
42046
|
#
|
41989
42047
|
class S3DataSource < Struct.new(
|
@@ -41991,7 +42049,9 @@ module Aws::SageMaker
|
|
41991
42049
|
:s3_uri,
|
41992
42050
|
:s3_data_distribution_type,
|
41993
42051
|
:attribute_names,
|
41994
|
-
:instance_group_names
|
42052
|
+
:instance_group_names,
|
42053
|
+
:model_access_config,
|
42054
|
+
:hub_access_config)
|
41995
42055
|
SENSITIVE = []
|
41996
42056
|
include Aws::Structure
|
41997
42057
|
end
|
@@ -48142,6 +48202,134 @@ module Aws::SageMaker
|
|
48142
48202
|
include Aws::Structure
|
48143
48203
|
end
|
48144
48204
|
|
48205
|
+
# @!attribute [rw] hub_name
|
48206
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48207
|
+
# to update. You can optionally use the hub ARN instead.
|
48208
|
+
# @return [String]
|
48209
|
+
#
|
48210
|
+
# @!attribute [rw] hub_content_name
|
48211
|
+
# The name of the hub content resource that you want to update.
|
48212
|
+
# @return [String]
|
48213
|
+
#
|
48214
|
+
# @!attribute [rw] hub_content_type
|
48215
|
+
# The content type of the resource that you want to update. Only
|
48216
|
+
# specify a `ModelReference` resource for this API. To update a
|
48217
|
+
# `Model` or `Notebook` resource, use the `UpdateHubContent` API
|
48218
|
+
# instead.
|
48219
|
+
# @return [String]
|
48220
|
+
#
|
48221
|
+
# @!attribute [rw] min_version
|
48222
|
+
# The minimum hub content version of the referenced model that you
|
48223
|
+
# want to use. The minimum version must be older than the latest
|
48224
|
+
# available version of the referenced model. To support all versions
|
48225
|
+
# of a model, set the value to `1.0.0`.
|
48226
|
+
# @return [String]
|
48227
|
+
#
|
48228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceRequest AWS API Documentation
|
48229
|
+
#
|
48230
|
+
class UpdateHubContentReferenceRequest < Struct.new(
|
48231
|
+
:hub_name,
|
48232
|
+
:hub_content_name,
|
48233
|
+
:hub_content_type,
|
48234
|
+
:min_version)
|
48235
|
+
SENSITIVE = []
|
48236
|
+
include Aws::Structure
|
48237
|
+
end
|
48238
|
+
|
48239
|
+
# @!attribute [rw] hub_arn
|
48240
|
+
# The ARN of the private model hub that contains the updated hub
|
48241
|
+
# content.
|
48242
|
+
# @return [String]
|
48243
|
+
#
|
48244
|
+
# @!attribute [rw] hub_content_arn
|
48245
|
+
# The ARN of the hub content resource that was updated.
|
48246
|
+
# @return [String]
|
48247
|
+
#
|
48248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentReferenceResponse AWS API Documentation
|
48249
|
+
#
|
48250
|
+
class UpdateHubContentReferenceResponse < Struct.new(
|
48251
|
+
:hub_arn,
|
48252
|
+
:hub_content_arn)
|
48253
|
+
SENSITIVE = []
|
48254
|
+
include Aws::Structure
|
48255
|
+
end
|
48256
|
+
|
48257
|
+
# @!attribute [rw] hub_name
|
48258
|
+
# The name of the SageMaker hub that contains the hub content you want
|
48259
|
+
# to update. You can optionally use the hub ARN instead.
|
48260
|
+
# @return [String]
|
48261
|
+
#
|
48262
|
+
# @!attribute [rw] hub_content_name
|
48263
|
+
# The name of the hub content resource that you want to update.
|
48264
|
+
# @return [String]
|
48265
|
+
#
|
48266
|
+
# @!attribute [rw] hub_content_type
|
48267
|
+
# The content type of the resource that you want to update. Only
|
48268
|
+
# specify a `Model` or `Notebook` resource for this API. To update a
|
48269
|
+
# `ModelReference`, use the `UpdateHubContentReference` API instead.
|
48270
|
+
# @return [String]
|
48271
|
+
#
|
48272
|
+
# @!attribute [rw] hub_content_version
|
48273
|
+
# The hub content version that you want to update. For example, if you
|
48274
|
+
# have two versions of a resource in your hub, you can update the
|
48275
|
+
# second version.
|
48276
|
+
# @return [String]
|
48277
|
+
#
|
48278
|
+
# @!attribute [rw] hub_content_display_name
|
48279
|
+
# The display name of the hub content.
|
48280
|
+
# @return [String]
|
48281
|
+
#
|
48282
|
+
# @!attribute [rw] hub_content_description
|
48283
|
+
# The description of the hub content.
|
48284
|
+
# @return [String]
|
48285
|
+
#
|
48286
|
+
# @!attribute [rw] hub_content_markdown
|
48287
|
+
# A string that provides a description of the hub content. This string
|
48288
|
+
# can include links, tables, and standard markdown formatting.
|
48289
|
+
# @return [String]
|
48290
|
+
#
|
48291
|
+
# @!attribute [rw] hub_content_search_keywords
|
48292
|
+
# The searchable keywords of the hub content.
|
48293
|
+
# @return [Array<String>]
|
48294
|
+
#
|
48295
|
+
# @!attribute [rw] support_status
|
48296
|
+
# Indicates the current status of the hub content resource.
|
48297
|
+
# @return [String]
|
48298
|
+
#
|
48299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentRequest AWS API Documentation
|
48300
|
+
#
|
48301
|
+
class UpdateHubContentRequest < Struct.new(
|
48302
|
+
:hub_name,
|
48303
|
+
:hub_content_name,
|
48304
|
+
:hub_content_type,
|
48305
|
+
:hub_content_version,
|
48306
|
+
:hub_content_display_name,
|
48307
|
+
:hub_content_description,
|
48308
|
+
:hub_content_markdown,
|
48309
|
+
:hub_content_search_keywords,
|
48310
|
+
:support_status)
|
48311
|
+
SENSITIVE = []
|
48312
|
+
include Aws::Structure
|
48313
|
+
end
|
48314
|
+
|
48315
|
+
# @!attribute [rw] hub_arn
|
48316
|
+
# The ARN of the private model hub that contains the updated hub
|
48317
|
+
# content.
|
48318
|
+
# @return [String]
|
48319
|
+
#
|
48320
|
+
# @!attribute [rw] hub_content_arn
|
48321
|
+
# The ARN of the hub content resource that was updated.
|
48322
|
+
# @return [String]
|
48323
|
+
#
|
48324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateHubContentResponse AWS API Documentation
|
48325
|
+
#
|
48326
|
+
class UpdateHubContentResponse < Struct.new(
|
48327
|
+
:hub_arn,
|
48328
|
+
:hub_content_arn)
|
48329
|
+
SENSITIVE = []
|
48330
|
+
include Aws::Structure
|
48331
|
+
end
|
48332
|
+
|
48145
48333
|
# @!attribute [rw] hub_name
|
48146
48334
|
# The name of the hub to update.
|
48147
48335
|
# @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,
|
@@ -1977,7 +1983,13 @@ module Aws
|
|
1977
1983
|
s3_uri: ::String,
|
1978
1984
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
1979
1985
|
attribute_names: Array[::String]?,
|
1980
|
-
instance_group_names: Array[::String]
|
1986
|
+
instance_group_names: Array[::String]?,
|
1987
|
+
model_access_config: {
|
1988
|
+
accept_eula: bool
|
1989
|
+
}?,
|
1990
|
+
hub_access_config: {
|
1991
|
+
hub_content_arn: ::String
|
1992
|
+
}?
|
1981
1993
|
}?,
|
1982
1994
|
file_system_data_source: {
|
1983
1995
|
file_system_id: ::String,
|
@@ -2109,7 +2121,13 @@ module Aws
|
|
2109
2121
|
s3_uri: ::String,
|
2110
2122
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
2111
2123
|
attribute_names: Array[::String]?,
|
2112
|
-
instance_group_names: Array[::String]
|
2124
|
+
instance_group_names: Array[::String]?,
|
2125
|
+
model_access_config: {
|
2126
|
+
accept_eula: bool
|
2127
|
+
}?,
|
2128
|
+
hub_access_config: {
|
2129
|
+
hub_content_arn: ::String
|
2130
|
+
}?
|
2113
2131
|
}?,
|
2114
2132
|
file_system_data_source: {
|
2115
2133
|
file_system_id: ::String,
|
@@ -3960,7 +3978,13 @@ module Aws
|
|
3960
3978
|
s3_uri: ::String,
|
3961
3979
|
s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")?,
|
3962
3980
|
attribute_names: Array[::String]?,
|
3963
|
-
instance_group_names: Array[::String]
|
3981
|
+
instance_group_names: Array[::String]?,
|
3982
|
+
model_access_config: {
|
3983
|
+
accept_eula: bool
|
3984
|
+
}?,
|
3985
|
+
hub_access_config: {
|
3986
|
+
hub_content_arn: ::String
|
3987
|
+
}?
|
3964
3988
|
}?,
|
3965
3989
|
file_system_data_source: {
|
3966
3990
|
file_system_id: ::String,
|
@@ -5571,12 +5595,13 @@ module Aws
|
|
5571
5595
|
def hub_content_document: () -> ::String
|
5572
5596
|
def sage_maker_public_hub_content_arn: () -> ::String
|
5573
5597
|
def reference_min_version: () -> ::String
|
5574
|
-
def support_status: () -> ("Supported" | "Deprecated")
|
5598
|
+
def support_status: () -> ("Supported" | "Deprecated" | "Restricted")
|
5575
5599
|
def hub_content_search_keywords: () -> ::Array[::String]
|
5576
5600
|
def hub_content_dependencies: () -> ::Array[Types::HubContentDependency]
|
5577
5601
|
def hub_content_status: () -> ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
5578
5602
|
def failure_reason: () -> ::String
|
5579
5603
|
def creation_time: () -> ::Time
|
5604
|
+
def last_modified_time: () -> ::Time
|
5580
5605
|
end
|
5581
5606
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_hub_content-instance_method
|
5582
5607
|
def describe_hub_content: (
|
@@ -6571,6 +6596,7 @@ module Aws
|
|
6571
6596
|
?hub_content_description: ::String,
|
6572
6597
|
?hub_content_markdown: ::String,
|
6573
6598
|
hub_content_document: ::String,
|
6599
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted"),
|
6574
6600
|
?hub_content_search_keywords: Array[::String],
|
6575
6601
|
?tags: Array[
|
6576
6602
|
{
|
@@ -9130,6 +9156,39 @@ module Aws
|
|
9130
9156
|
) -> _UpdateHubResponseSuccess
|
9131
9157
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubResponseSuccess
|
9132
9158
|
|
9159
|
+
interface _UpdateHubContentResponseSuccess
|
9160
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentResponse]
|
9161
|
+
def hub_arn: () -> ::String
|
9162
|
+
def hub_content_arn: () -> ::String
|
9163
|
+
end
|
9164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content-instance_method
|
9165
|
+
def update_hub_content: (
|
9166
|
+
hub_name: ::String,
|
9167
|
+
hub_content_name: ::String,
|
9168
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9169
|
+
hub_content_version: ::String,
|
9170
|
+
?hub_content_display_name: ::String,
|
9171
|
+
?hub_content_description: ::String,
|
9172
|
+
?hub_content_markdown: ::String,
|
9173
|
+
?hub_content_search_keywords: Array[::String],
|
9174
|
+
?support_status: ("Supported" | "Deprecated" | "Restricted")
|
9175
|
+
) -> _UpdateHubContentResponseSuccess
|
9176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentResponseSuccess
|
9177
|
+
|
9178
|
+
interface _UpdateHubContentReferenceResponseSuccess
|
9179
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateHubContentReferenceResponse]
|
9180
|
+
def hub_arn: () -> ::String
|
9181
|
+
def hub_content_arn: () -> ::String
|
9182
|
+
end
|
9183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#update_hub_content_reference-instance_method
|
9184
|
+
def update_hub_content_reference: (
|
9185
|
+
hub_name: ::String,
|
9186
|
+
hub_content_name: ::String,
|
9187
|
+
hub_content_type: ("Model" | "Notebook" | "ModelReference"),
|
9188
|
+
?min_version: ::String
|
9189
|
+
) -> _UpdateHubContentReferenceResponseSuccess
|
9190
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateHubContentReferenceResponseSuccess
|
9191
|
+
|
9133
9192
|
interface _UpdateImageResponseSuccess
|
9134
9193
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateImageResponse]
|
9135
9194
|
def image_arn: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -3263,12 +3263,13 @@ module Aws::SageMaker
|
|
3263
3263
|
attr_accessor hub_content_document: ::String
|
3264
3264
|
attr_accessor sage_maker_public_hub_content_arn: ::String
|
3265
3265
|
attr_accessor reference_min_version: ::String
|
3266
|
-
attr_accessor support_status: ("Supported" | "Deprecated")
|
3266
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
3267
3267
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
3268
3268
|
attr_accessor hub_content_dependencies: ::Array[Types::HubContentDependency]
|
3269
3269
|
attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
3270
3270
|
attr_accessor failure_reason: ::String
|
3271
3271
|
attr_accessor creation_time: ::Time
|
3272
|
+
attr_accessor last_modified_time: ::Time
|
3272
3273
|
SENSITIVE: []
|
3273
3274
|
end
|
3274
3275
|
|
@@ -4845,6 +4846,11 @@ module Aws::SageMaker
|
|
4845
4846
|
SENSITIVE: []
|
4846
4847
|
end
|
4847
4848
|
|
4849
|
+
class HubAccessConfig
|
4850
|
+
attr_accessor hub_content_arn: ::String
|
4851
|
+
SENSITIVE: []
|
4852
|
+
end
|
4853
|
+
|
4848
4854
|
class HubContentDependency
|
4849
4855
|
attr_accessor dependency_origin_path: ::String
|
4850
4856
|
attr_accessor dependency_copy_path: ::String
|
@@ -4860,7 +4866,7 @@ module Aws::SageMaker
|
|
4860
4866
|
attr_accessor document_schema_version: ::String
|
4861
4867
|
attr_accessor hub_content_display_name: ::String
|
4862
4868
|
attr_accessor hub_content_description: ::String
|
4863
|
-
attr_accessor support_status: ("Supported" | "Deprecated")
|
4869
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
4864
4870
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
4865
4871
|
attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
|
4866
4872
|
attr_accessor creation_time: ::Time
|
@@ -5164,6 +5170,7 @@ module Aws::SageMaker
|
|
5164
5170
|
attr_accessor hub_content_description: ::String
|
5165
5171
|
attr_accessor hub_content_markdown: ::String
|
5166
5172
|
attr_accessor hub_content_document: ::String
|
5173
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
5167
5174
|
attr_accessor hub_content_search_keywords: ::Array[::String]
|
5168
5175
|
attr_accessor tags: ::Array[Types::Tag]
|
5169
5176
|
SENSITIVE: []
|
@@ -8799,6 +8806,8 @@ module Aws::SageMaker
|
|
8799
8806
|
attr_accessor s3_data_distribution_type: ("FullyReplicated" | "ShardedByS3Key")
|
8800
8807
|
attr_accessor attribute_names: ::Array[::String]
|
8801
8808
|
attr_accessor instance_group_names: ::Array[::String]
|
8809
|
+
attr_accessor model_access_config: Types::ModelAccessConfig
|
8810
|
+
attr_accessor hub_access_config: Types::HubAccessConfig
|
8802
8811
|
SENSITIVE: []
|
8803
8812
|
end
|
8804
8813
|
|
@@ -10055,6 +10064,39 @@ module Aws::SageMaker
|
|
10055
10064
|
SENSITIVE: []
|
10056
10065
|
end
|
10057
10066
|
|
10067
|
+
class UpdateHubContentReferenceRequest
|
10068
|
+
attr_accessor hub_name: ::String
|
10069
|
+
attr_accessor hub_content_name: ::String
|
10070
|
+
attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
|
10071
|
+
attr_accessor min_version: ::String
|
10072
|
+
SENSITIVE: []
|
10073
|
+
end
|
10074
|
+
|
10075
|
+
class UpdateHubContentReferenceResponse
|
10076
|
+
attr_accessor hub_arn: ::String
|
10077
|
+
attr_accessor hub_content_arn: ::String
|
10078
|
+
SENSITIVE: []
|
10079
|
+
end
|
10080
|
+
|
10081
|
+
class UpdateHubContentRequest
|
10082
|
+
attr_accessor hub_name: ::String
|
10083
|
+
attr_accessor hub_content_name: ::String
|
10084
|
+
attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
|
10085
|
+
attr_accessor hub_content_version: ::String
|
10086
|
+
attr_accessor hub_content_display_name: ::String
|
10087
|
+
attr_accessor hub_content_description: ::String
|
10088
|
+
attr_accessor hub_content_markdown: ::String
|
10089
|
+
attr_accessor hub_content_search_keywords: ::Array[::String]
|
10090
|
+
attr_accessor support_status: ("Supported" | "Deprecated" | "Restricted")
|
10091
|
+
SENSITIVE: []
|
10092
|
+
end
|
10093
|
+
|
10094
|
+
class UpdateHubContentResponse
|
10095
|
+
attr_accessor hub_arn: ::String
|
10096
|
+
attr_accessor hub_content_arn: ::String
|
10097
|
+
SENSITIVE: []
|
10098
|
+
end
|
10099
|
+
|
10058
10100
|
class UpdateHubRequest
|
10059
10101
|
attr_accessor hub_name: ::String
|
10060
10102
|
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.292.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-02-
|
11
|
+
date: 2025-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|