aws-sdk-sagemaker 1.247.0 → 1.248.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 +144 -58
- data/lib/aws-sdk-sagemaker/client_api.rb +67 -13
- data/lib/aws-sdk-sagemaker/endpoints.rb +28 -0
- data/lib/aws-sdk-sagemaker/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-sagemaker/types.rb +124 -2
- data/lib/aws-sdk-sagemaker.rb +1 -1
- data/sig/client.rbs +61 -6
- data/sig/types.rbs +41 -7
- 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: 343fc74a9c0c6f9fffc70ee6fe971ab8cd9c47396a1941c2b03f7efd7dc66fef
|
4
|
+
data.tar.gz: 4b766782783b9a3af62f2e9325b07b4c5c826cd97c34cf467b285fe5b5fdda06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3f2a85b12a56800be7a45cacb27138f8590318fecae25ae17b0688e7d3d56d11bc5665efc234242dc96afe04d491227c7d3bbb89a6a7fa2a8293a3d14599a68
|
7
|
+
data.tar.gz: d47801cbb3def30e7124f2bbe8da4d2351bc1f00b2aa16828d4a7087fc4b0e62feb1e8db259af7a359656c7021664c5dba04d7ffcbc5d95b5626c396cd8780b4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.248.0
|
@@ -640,6 +640,7 @@ module Aws::SageMaker
|
|
640
640
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
641
641
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
642
642
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
643
|
+
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
643
644
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].product_id #=> String
|
644
645
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].environment #=> Hash
|
645
646
|
# resp.model_package_summaries["ModelPackageArn"].inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -898,6 +899,9 @@ module Aws::SageMaker
|
|
898
899
|
# model_access_config: {
|
899
900
|
# accept_eula: false, # required
|
900
901
|
# },
|
902
|
+
# hub_access_config: {
|
903
|
+
# hub_content_arn: "HubContentArn", # required
|
904
|
+
# },
|
901
905
|
# },
|
902
906
|
# },
|
903
907
|
# product_id: "ProductId",
|
@@ -3879,10 +3883,6 @@ module Aws::SageMaker
|
|
3879
3883
|
|
3880
3884
|
# Create a hub.
|
3881
3885
|
#
|
3882
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
3883
|
-
#
|
3884
|
-
# </note>
|
3885
|
-
#
|
3886
3886
|
# @option params [required, String] :hub_name
|
3887
3887
|
# The name of the hub to create.
|
3888
3888
|
#
|
@@ -3936,6 +3936,58 @@ module Aws::SageMaker
|
|
3936
3936
|
req.send_request(options)
|
3937
3937
|
end
|
3938
3938
|
|
3939
|
+
# Create a hub content reference in order to add a model in the
|
3940
|
+
# JumpStart public hub to a private hub.
|
3941
|
+
#
|
3942
|
+
# @option params [required, String] :hub_name
|
3943
|
+
# The name of the hub to add the hub content reference to.
|
3944
|
+
#
|
3945
|
+
# @option params [required, String] :sage_maker_public_hub_content_arn
|
3946
|
+
# The ARN of the public hub content to reference.
|
3947
|
+
#
|
3948
|
+
# @option params [String] :hub_content_name
|
3949
|
+
# The name of the hub content to reference.
|
3950
|
+
#
|
3951
|
+
# @option params [String] :min_version
|
3952
|
+
# The minimum version of the hub content to reference.
|
3953
|
+
#
|
3954
|
+
# @option params [Array<Types::Tag>] :tags
|
3955
|
+
# Any tags associated with the hub content to reference.
|
3956
|
+
#
|
3957
|
+
# @return [Types::CreateHubContentReferenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3958
|
+
#
|
3959
|
+
# * {Types::CreateHubContentReferenceResponse#hub_arn #hub_arn} => String
|
3960
|
+
# * {Types::CreateHubContentReferenceResponse#hub_content_arn #hub_content_arn} => String
|
3961
|
+
#
|
3962
|
+
# @example Request syntax with placeholder values
|
3963
|
+
#
|
3964
|
+
# resp = client.create_hub_content_reference({
|
3965
|
+
# hub_name: "HubNameOrArn", # required
|
3966
|
+
# sage_maker_public_hub_content_arn: "SageMakerPublicHubContentArn", # required
|
3967
|
+
# hub_content_name: "HubContentName",
|
3968
|
+
# min_version: "HubContentVersion",
|
3969
|
+
# tags: [
|
3970
|
+
# {
|
3971
|
+
# key: "TagKey", # required
|
3972
|
+
# value: "TagValue", # required
|
3973
|
+
# },
|
3974
|
+
# ],
|
3975
|
+
# })
|
3976
|
+
#
|
3977
|
+
# @example Response structure
|
3978
|
+
#
|
3979
|
+
# resp.hub_arn #=> String
|
3980
|
+
# resp.hub_content_arn #=> String
|
3981
|
+
#
|
3982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReference AWS API Documentation
|
3983
|
+
#
|
3984
|
+
# @overload create_hub_content_reference(params = {})
|
3985
|
+
# @param [Hash] params ({})
|
3986
|
+
def create_hub_content_reference(params = {}, options = {})
|
3987
|
+
req = build_request(:create_hub_content_reference, params)
|
3988
|
+
req.send_request(options)
|
3989
|
+
end
|
3990
|
+
|
3939
3991
|
# Defines the settings you will use for the human review workflow user
|
3940
3992
|
# interface. Reviewers will see a three-panel interface with an
|
3941
3993
|
# instruction area, the item to review, and an input area.
|
@@ -5616,6 +5668,9 @@ module Aws::SageMaker
|
|
5616
5668
|
# model_access_config: {
|
5617
5669
|
# accept_eula: false, # required
|
5618
5670
|
# },
|
5671
|
+
# hub_access_config: {
|
5672
|
+
# hub_content_arn: "HubContentArn", # required
|
5673
|
+
# },
|
5619
5674
|
# },
|
5620
5675
|
# },
|
5621
5676
|
# environment: {
|
@@ -5647,6 +5702,9 @@ module Aws::SageMaker
|
|
5647
5702
|
# model_access_config: {
|
5648
5703
|
# accept_eula: false, # required
|
5649
5704
|
# },
|
5705
|
+
# hub_access_config: {
|
5706
|
+
# hub_content_arn: "HubContentArn", # required
|
5707
|
+
# },
|
5650
5708
|
# },
|
5651
5709
|
# },
|
5652
5710
|
# environment: {
|
@@ -6320,6 +6378,9 @@ module Aws::SageMaker
|
|
6320
6378
|
# model_access_config: {
|
6321
6379
|
# accept_eula: false, # required
|
6322
6380
|
# },
|
6381
|
+
# hub_access_config: {
|
6382
|
+
# hub_content_arn: "HubContentArn", # required
|
6383
|
+
# },
|
6323
6384
|
# },
|
6324
6385
|
# },
|
6325
6386
|
# product_id: "ProductId",
|
@@ -6394,6 +6455,9 @@ module Aws::SageMaker
|
|
6394
6455
|
# model_access_config: {
|
6395
6456
|
# accept_eula: false, # required
|
6396
6457
|
# },
|
6458
|
+
# hub_access_config: {
|
6459
|
+
# hub_content_arn: "HubContentArn", # required
|
6460
|
+
# },
|
6397
6461
|
# },
|
6398
6462
|
# },
|
6399
6463
|
# algorithm_name: "ArnOrName", # required
|
@@ -6544,6 +6608,9 @@ module Aws::SageMaker
|
|
6544
6608
|
# model_access_config: {
|
6545
6609
|
# accept_eula: false, # required
|
6546
6610
|
# },
|
6611
|
+
# hub_access_config: {
|
6612
|
+
# hub_content_arn: "HubContentArn", # required
|
6613
|
+
# },
|
6547
6614
|
# },
|
6548
6615
|
# },
|
6549
6616
|
# product_id: "ProductId",
|
@@ -9953,10 +10020,6 @@ module Aws::SageMaker
|
|
9953
10020
|
|
9954
10021
|
# Delete a hub.
|
9955
10022
|
#
|
9956
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
9957
|
-
#
|
9958
|
-
# </note>
|
9959
|
-
#
|
9960
10023
|
# @option params [required, String] :hub_name
|
9961
10024
|
# The name of the hub to delete.
|
9962
10025
|
#
|
@@ -9965,7 +10028,7 @@ module Aws::SageMaker
|
|
9965
10028
|
# @example Request syntax with placeholder values
|
9966
10029
|
#
|
9967
10030
|
# resp = client.delete_hub({
|
9968
|
-
# hub_name: "
|
10031
|
+
# hub_name: "HubNameOrArn", # required
|
9969
10032
|
# })
|
9970
10033
|
#
|
9971
10034
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHub AWS API Documentation
|
@@ -9979,10 +10042,6 @@ module Aws::SageMaker
|
|
9979
10042
|
|
9980
10043
|
# Delete the contents of a hub.
|
9981
10044
|
#
|
9982
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
9983
|
-
#
|
9984
|
-
# </note>
|
9985
|
-
#
|
9986
10045
|
# @option params [required, String] :hub_name
|
9987
10046
|
# The name of the hub that you want to delete content in.
|
9988
10047
|
#
|
@@ -10000,8 +10059,8 @@ module Aws::SageMaker
|
|
10000
10059
|
# @example Request syntax with placeholder values
|
10001
10060
|
#
|
10002
10061
|
# resp = client.delete_hub_content({
|
10003
|
-
# hub_name: "
|
10004
|
-
# hub_content_type: "Model", # required, accepts Model, Notebook
|
10062
|
+
# hub_name: "HubNameOrArn", # required
|
10063
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
10005
10064
|
# hub_content_name: "HubContentName", # required
|
10006
10065
|
# hub_content_version: "HubContentVersion", # required
|
10007
10066
|
# })
|
@@ -10015,6 +10074,37 @@ module Aws::SageMaker
|
|
10015
10074
|
req.send_request(options)
|
10016
10075
|
end
|
10017
10076
|
|
10077
|
+
# Delete a hub content reference in order to remove a model from a
|
10078
|
+
# private hub.
|
10079
|
+
#
|
10080
|
+
# @option params [required, String] :hub_name
|
10081
|
+
# The name of the hub to delete the hub content reference from.
|
10082
|
+
#
|
10083
|
+
# @option params [required, String] :hub_content_type
|
10084
|
+
# The type of hub content to delete.
|
10085
|
+
#
|
10086
|
+
# @option params [required, String] :hub_content_name
|
10087
|
+
# The name of the hub content to delete.
|
10088
|
+
#
|
10089
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10090
|
+
#
|
10091
|
+
# @example Request syntax with placeholder values
|
10092
|
+
#
|
10093
|
+
# resp = client.delete_hub_content_reference({
|
10094
|
+
# hub_name: "HubNameOrArn", # required
|
10095
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
10096
|
+
# hub_content_name: "HubContentName", # required
|
10097
|
+
# })
|
10098
|
+
#
|
10099
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHubContentReference AWS API Documentation
|
10100
|
+
#
|
10101
|
+
# @overload delete_hub_content_reference(params = {})
|
10102
|
+
# @param [Hash] params ({})
|
10103
|
+
def delete_hub_content_reference(params = {}, options = {})
|
10104
|
+
req = build_request(:delete_hub_content_reference, params)
|
10105
|
+
req.send_request(options)
|
10106
|
+
end
|
10107
|
+
|
10018
10108
|
# Use this operation to delete a human task user interface (worker task
|
10019
10109
|
# template).
|
10020
10110
|
#
|
@@ -10967,6 +11057,7 @@ module Aws::SageMaker
|
|
10967
11057
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
10968
11058
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
10969
11059
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
11060
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
10970
11061
|
# resp.inference_specification.containers[0].product_id #=> String
|
10971
11062
|
# resp.inference_specification.containers[0].environment #=> Hash
|
10972
11063
|
# resp.inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -12998,11 +13089,7 @@ module Aws::SageMaker
|
|
12998
13089
|
req.send_request(options)
|
12999
13090
|
end
|
13000
13091
|
|
13001
|
-
#
|
13002
|
-
#
|
13003
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
13004
|
-
#
|
13005
|
-
# </note>
|
13092
|
+
# Describes a hub.
|
13006
13093
|
#
|
13007
13094
|
# @option params [required, String] :hub_name
|
13008
13095
|
# The name of the hub to describe.
|
@@ -13023,7 +13110,7 @@ module Aws::SageMaker
|
|
13023
13110
|
# @example Request syntax with placeholder values
|
13024
13111
|
#
|
13025
13112
|
# resp = client.describe_hub({
|
13026
|
-
# hub_name: "
|
13113
|
+
# hub_name: "HubNameOrArn", # required
|
13027
13114
|
# })
|
13028
13115
|
#
|
13029
13116
|
# @example Response structure
|
@@ -13051,10 +13138,6 @@ module Aws::SageMaker
|
|
13051
13138
|
|
13052
13139
|
# Describe the content of a hub.
|
13053
13140
|
#
|
13054
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
13055
|
-
#
|
13056
|
-
# </note>
|
13057
|
-
#
|
13058
13141
|
# @option params [required, String] :hub_name
|
13059
13142
|
# The name of the hub that contains the content to describe.
|
13060
13143
|
#
|
@@ -13080,6 +13163,9 @@ module Aws::SageMaker
|
|
13080
13163
|
# * {Types::DescribeHubContentResponse#hub_content_description #hub_content_description} => String
|
13081
13164
|
# * {Types::DescribeHubContentResponse#hub_content_markdown #hub_content_markdown} => String
|
13082
13165
|
# * {Types::DescribeHubContentResponse#hub_content_document #hub_content_document} => String
|
13166
|
+
# * {Types::DescribeHubContentResponse#sage_maker_public_hub_content_arn #sage_maker_public_hub_content_arn} => String
|
13167
|
+
# * {Types::DescribeHubContentResponse#reference_min_version #reference_min_version} => String
|
13168
|
+
# * {Types::DescribeHubContentResponse#support_status #support_status} => String
|
13083
13169
|
# * {Types::DescribeHubContentResponse#hub_content_search_keywords #hub_content_search_keywords} => Array<String>
|
13084
13170
|
# * {Types::DescribeHubContentResponse#hub_content_dependencies #hub_content_dependencies} => Array<Types::HubContentDependency>
|
13085
13171
|
# * {Types::DescribeHubContentResponse#hub_content_status #hub_content_status} => String
|
@@ -13089,8 +13175,8 @@ module Aws::SageMaker
|
|
13089
13175
|
# @example Request syntax with placeholder values
|
13090
13176
|
#
|
13091
13177
|
# resp = client.describe_hub_content({
|
13092
|
-
# hub_name: "
|
13093
|
-
# hub_content_type: "Model", # required, accepts Model, Notebook
|
13178
|
+
# hub_name: "HubNameOrArn", # required
|
13179
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
13094
13180
|
# hub_content_name: "HubContentName", # required
|
13095
13181
|
# hub_content_version: "HubContentVersion",
|
13096
13182
|
# })
|
@@ -13100,7 +13186,7 @@ module Aws::SageMaker
|
|
13100
13186
|
# resp.hub_content_name #=> String
|
13101
13187
|
# resp.hub_content_arn #=> String
|
13102
13188
|
# resp.hub_content_version #=> String
|
13103
|
-
# resp.hub_content_type #=> String, one of "Model", "Notebook"
|
13189
|
+
# resp.hub_content_type #=> String, one of "Model", "Notebook", "ModelReference"
|
13104
13190
|
# resp.document_schema_version #=> String
|
13105
13191
|
# resp.hub_name #=> String
|
13106
13192
|
# resp.hub_arn #=> String
|
@@ -13108,6 +13194,9 @@ module Aws::SageMaker
|
|
13108
13194
|
# resp.hub_content_description #=> String
|
13109
13195
|
# resp.hub_content_markdown #=> String
|
13110
13196
|
# resp.hub_content_document #=> String
|
13197
|
+
# resp.sage_maker_public_hub_content_arn #=> String
|
13198
|
+
# resp.reference_min_version #=> String
|
13199
|
+
# resp.support_status #=> String, one of "Supported", "Deprecated"
|
13111
13200
|
# resp.hub_content_search_keywords #=> Array
|
13112
13201
|
# resp.hub_content_search_keywords[0] #=> String
|
13113
13202
|
# resp.hub_content_dependencies #=> Array
|
@@ -14107,6 +14196,7 @@ module Aws::SageMaker
|
|
14107
14196
|
# resp.primary_container.model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14108
14197
|
# resp.primary_container.model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14109
14198
|
# resp.primary_container.model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14199
|
+
# resp.primary_container.model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14110
14200
|
# resp.primary_container.environment #=> Hash
|
14111
14201
|
# resp.primary_container.environment["EnvironmentKey"] #=> String
|
14112
14202
|
# resp.primary_container.model_package_name #=> String
|
@@ -14123,6 +14213,7 @@ module Aws::SageMaker
|
|
14123
14213
|
# resp.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14124
14214
|
# resp.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14125
14215
|
# resp.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14216
|
+
# resp.containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14126
14217
|
# resp.containers[0].environment #=> Hash
|
14127
14218
|
# resp.containers[0].environment["EnvironmentKey"] #=> String
|
14128
14219
|
# resp.containers[0].model_package_name #=> String
|
@@ -14520,6 +14611,7 @@ module Aws::SageMaker
|
|
14520
14611
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14521
14612
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14522
14613
|
# resp.inference_specification.containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14614
|
+
# resp.inference_specification.containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14523
14615
|
# resp.inference_specification.containers[0].product_id #=> String
|
14524
14616
|
# resp.inference_specification.containers[0].environment #=> Hash
|
14525
14617
|
# resp.inference_specification.containers[0].environment["EnvironmentKey"] #=> String
|
@@ -14544,6 +14636,7 @@ module Aws::SageMaker
|
|
14544
14636
|
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14545
14637
|
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14546
14638
|
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14639
|
+
# resp.source_algorithm_specification.source_algorithms[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14547
14640
|
# resp.source_algorithm_specification.source_algorithms[0].algorithm_name #=> String
|
14548
14641
|
# resp.validation_specification.validation_role #=> String
|
14549
14642
|
# resp.validation_specification.validation_profiles #=> Array
|
@@ -14662,6 +14755,7 @@ module Aws::SageMaker
|
|
14662
14755
|
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.s3_data_type #=> String, one of "S3Prefix", "S3Object"
|
14663
14756
|
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.compression_type #=> String, one of "None", "Gzip"
|
14664
14757
|
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.model_access_config.accept_eula #=> Boolean
|
14758
|
+
# resp.additional_inference_specifications[0].containers[0].model_data_source.s3_data_source.hub_access_config.hub_content_arn #=> String
|
14665
14759
|
# resp.additional_inference_specifications[0].containers[0].product_id #=> String
|
14666
14760
|
# resp.additional_inference_specifications[0].containers[0].environment #=> Hash
|
14667
14761
|
# resp.additional_inference_specifications[0].containers[0].environment["EnvironmentKey"] #=> String
|
@@ -16642,10 +16736,6 @@ module Aws::SageMaker
|
|
16642
16736
|
|
16643
16737
|
# Import hub content.
|
16644
16738
|
#
|
16645
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
16646
|
-
#
|
16647
|
-
# </note>
|
16648
|
-
#
|
16649
16739
|
# @option params [required, String] :hub_content_name
|
16650
16740
|
# The name of the hub content to import.
|
16651
16741
|
#
|
@@ -16691,9 +16781,9 @@ module Aws::SageMaker
|
|
16691
16781
|
# resp = client.import_hub_content({
|
16692
16782
|
# hub_content_name: "HubContentName", # required
|
16693
16783
|
# hub_content_version: "HubContentVersion",
|
16694
|
-
# hub_content_type: "Model", # required, accepts Model, Notebook
|
16784
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
16695
16785
|
# document_schema_version: "DocumentSchemaVersion", # required
|
16696
|
-
# hub_name: "
|
16786
|
+
# hub_name: "HubNameOrArn", # required
|
16697
16787
|
# hub_content_display_name: "HubContentDisplayName",
|
16698
16788
|
# hub_content_description: "HubContentDescription",
|
16699
16789
|
# hub_content_markdown: "HubContentMarkdown",
|
@@ -18646,10 +18736,6 @@ module Aws::SageMaker
|
|
18646
18736
|
|
18647
18737
|
# List hub content versions.
|
18648
18738
|
#
|
18649
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
18650
|
-
#
|
18651
|
-
# </note>
|
18652
|
-
#
|
18653
18739
|
# @option params [required, String] :hub_name
|
18654
18740
|
# The name of the hub to list the content versions of.
|
18655
18741
|
#
|
@@ -18695,8 +18781,8 @@ module Aws::SageMaker
|
|
18695
18781
|
# @example Request syntax with placeholder values
|
18696
18782
|
#
|
18697
18783
|
# resp = client.list_hub_content_versions({
|
18698
|
-
# hub_name: "
|
18699
|
-
# hub_content_type: "Model", # required, accepts Model, Notebook
|
18784
|
+
# hub_name: "HubNameOrArn", # required
|
18785
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
18700
18786
|
# hub_content_name: "HubContentName", # required
|
18701
18787
|
# min_version: "HubContentVersion",
|
18702
18788
|
# max_schema_version: "DocumentSchemaVersion",
|
@@ -18713,15 +18799,18 @@ module Aws::SageMaker
|
|
18713
18799
|
# resp.hub_content_summaries #=> Array
|
18714
18800
|
# resp.hub_content_summaries[0].hub_content_name #=> String
|
18715
18801
|
# resp.hub_content_summaries[0].hub_content_arn #=> String
|
18802
|
+
# resp.hub_content_summaries[0].sage_maker_public_hub_content_arn #=> String
|
18716
18803
|
# resp.hub_content_summaries[0].hub_content_version #=> String
|
18717
|
-
# resp.hub_content_summaries[0].hub_content_type #=> String, one of "Model", "Notebook"
|
18804
|
+
# resp.hub_content_summaries[0].hub_content_type #=> String, one of "Model", "Notebook", "ModelReference"
|
18718
18805
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
18719
18806
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
18720
18807
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
18808
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
18721
18809
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
18722
18810
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
18723
18811
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
18724
18812
|
# resp.hub_content_summaries[0].creation_time #=> Time
|
18813
|
+
# resp.hub_content_summaries[0].original_creation_time #=> Time
|
18725
18814
|
# resp.next_token #=> String
|
18726
18815
|
#
|
18727
18816
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHubContentVersions AWS API Documentation
|
@@ -18735,10 +18824,6 @@ module Aws::SageMaker
|
|
18735
18824
|
|
18736
18825
|
# List the contents of a hub.
|
18737
18826
|
#
|
18738
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
18739
|
-
#
|
18740
|
-
# </note>
|
18741
|
-
#
|
18742
18827
|
# @option params [required, String] :hub_name
|
18743
18828
|
# The name of the hub to list the contents of.
|
18744
18829
|
#
|
@@ -18779,8 +18864,8 @@ module Aws::SageMaker
|
|
18779
18864
|
# @example Request syntax with placeholder values
|
18780
18865
|
#
|
18781
18866
|
# resp = client.list_hub_contents({
|
18782
|
-
# hub_name: "
|
18783
|
-
# hub_content_type: "Model", # required, accepts Model, Notebook
|
18867
|
+
# hub_name: "HubNameOrArn", # required
|
18868
|
+
# hub_content_type: "Model", # required, accepts Model, Notebook, ModelReference
|
18784
18869
|
# name_contains: "NameContains",
|
18785
18870
|
# max_schema_version: "DocumentSchemaVersion",
|
18786
18871
|
# creation_time_before: Time.now,
|
@@ -18796,15 +18881,18 @@ module Aws::SageMaker
|
|
18796
18881
|
# resp.hub_content_summaries #=> Array
|
18797
18882
|
# resp.hub_content_summaries[0].hub_content_name #=> String
|
18798
18883
|
# resp.hub_content_summaries[0].hub_content_arn #=> String
|
18884
|
+
# resp.hub_content_summaries[0].sage_maker_public_hub_content_arn #=> String
|
18799
18885
|
# resp.hub_content_summaries[0].hub_content_version #=> String
|
18800
|
-
# resp.hub_content_summaries[0].hub_content_type #=> String, one of "Model", "Notebook"
|
18886
|
+
# resp.hub_content_summaries[0].hub_content_type #=> String, one of "Model", "Notebook", "ModelReference"
|
18801
18887
|
# resp.hub_content_summaries[0].document_schema_version #=> String
|
18802
18888
|
# resp.hub_content_summaries[0].hub_content_display_name #=> String
|
18803
18889
|
# resp.hub_content_summaries[0].hub_content_description #=> String
|
18890
|
+
# resp.hub_content_summaries[0].support_status #=> String, one of "Supported", "Deprecated"
|
18804
18891
|
# resp.hub_content_summaries[0].hub_content_search_keywords #=> Array
|
18805
18892
|
# resp.hub_content_summaries[0].hub_content_search_keywords[0] #=> String
|
18806
18893
|
# resp.hub_content_summaries[0].hub_content_status #=> String, one of "Available", "Importing", "Deleting", "ImportFailed", "DeleteFailed"
|
18807
18894
|
# resp.hub_content_summaries[0].creation_time #=> Time
|
18895
|
+
# resp.hub_content_summaries[0].original_creation_time #=> Time
|
18808
18896
|
# resp.next_token #=> String
|
18809
18897
|
#
|
18810
18898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHubContents AWS API Documentation
|
@@ -18818,10 +18906,6 @@ module Aws::SageMaker
|
|
18818
18906
|
|
18819
18907
|
# List all existing hubs.
|
18820
18908
|
#
|
18821
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
18822
|
-
#
|
18823
|
-
# </note>
|
18824
|
-
#
|
18825
18909
|
# @option params [String] :name_contains
|
18826
18910
|
# Only list hubs with names that contain the specified string.
|
18827
18911
|
#
|
@@ -24925,10 +25009,6 @@ module Aws::SageMaker
|
|
24925
25009
|
|
24926
25010
|
# Update a hub.
|
24927
25011
|
#
|
24928
|
-
# <note markdown="1"> Hub APIs are only callable through SageMaker Studio.
|
24929
|
-
#
|
24930
|
-
# </note>
|
24931
|
-
#
|
24932
25012
|
# @option params [required, String] :hub_name
|
24933
25013
|
# The name of the hub to update.
|
24934
25014
|
#
|
@@ -24948,7 +25028,7 @@ module Aws::SageMaker
|
|
24948
25028
|
# @example Request syntax with placeholder values
|
24949
25029
|
#
|
24950
25030
|
# resp = client.update_hub({
|
24951
|
-
# hub_name: "
|
25031
|
+
# hub_name: "HubNameOrArn", # required
|
24952
25032
|
# hub_description: "HubDescription",
|
24953
25033
|
# hub_display_name: "HubDisplayName",
|
24954
25034
|
# hub_search_keywords: ["HubSearchKeyword"],
|
@@ -25505,6 +25585,9 @@ module Aws::SageMaker
|
|
25505
25585
|
# model_access_config: {
|
25506
25586
|
# accept_eula: false, # required
|
25507
25587
|
# },
|
25588
|
+
# hub_access_config: {
|
25589
|
+
# hub_content_arn: "HubContentArn", # required
|
25590
|
+
# },
|
25508
25591
|
# },
|
25509
25592
|
# },
|
25510
25593
|
# product_id: "ProductId",
|
@@ -25545,6 +25628,9 @@ module Aws::SageMaker
|
|
25545
25628
|
# model_access_config: {
|
25546
25629
|
# accept_eula: false, # required
|
25547
25630
|
# },
|
25631
|
+
# hub_access_config: {
|
25632
|
+
# hub_content_arn: "HubContentArn", # required
|
25633
|
+
# },
|
25548
25634
|
# },
|
25549
25635
|
# },
|
25550
25636
|
# product_id: "ProductId",
|
@@ -26927,7 +27013,7 @@ module Aws::SageMaker
|
|
26927
27013
|
params: params,
|
26928
27014
|
config: config)
|
26929
27015
|
context[:gem_name] = 'aws-sdk-sagemaker'
|
26930
|
-
context[:gem_version] = '1.
|
27016
|
+
context[:gem_version] = '1.248.0'
|
26931
27017
|
Seahorse::Client::Request.new(handlers, context)
|
26932
27018
|
end
|
26933
27019
|
|