aws-sdk-sagemaker 1.247.0 → 1.249.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-sagemaker/client.rb +149 -60
- 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 +4 -4
@@ -388,6 +388,8 @@ module Aws::SageMaker
|
|
388
388
|
CreateFeatureGroupResponse = Shapes::StructureShape.new(name: 'CreateFeatureGroupResponse')
|
389
389
|
CreateFlowDefinitionRequest = Shapes::StructureShape.new(name: 'CreateFlowDefinitionRequest')
|
390
390
|
CreateFlowDefinitionResponse = Shapes::StructureShape.new(name: 'CreateFlowDefinitionResponse')
|
391
|
+
CreateHubContentReferenceRequest = Shapes::StructureShape.new(name: 'CreateHubContentReferenceRequest')
|
392
|
+
CreateHubContentReferenceResponse = Shapes::StructureShape.new(name: 'CreateHubContentReferenceResponse')
|
391
393
|
CreateHubRequest = Shapes::StructureShape.new(name: 'CreateHubRequest')
|
392
394
|
CreateHubResponse = Shapes::StructureShape.new(name: 'CreateHubResponse')
|
393
395
|
CreateHumanTaskUiRequest = Shapes::StructureShape.new(name: 'CreateHumanTaskUiRequest')
|
@@ -530,6 +532,7 @@ module Aws::SageMaker
|
|
530
532
|
DeleteFeatureGroupRequest = Shapes::StructureShape.new(name: 'DeleteFeatureGroupRequest')
|
531
533
|
DeleteFlowDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteFlowDefinitionRequest')
|
532
534
|
DeleteFlowDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteFlowDefinitionResponse')
|
535
|
+
DeleteHubContentReferenceRequest = Shapes::StructureShape.new(name: 'DeleteHubContentReferenceRequest')
|
533
536
|
DeleteHubContentRequest = Shapes::StructureShape.new(name: 'DeleteHubContentRequest')
|
534
537
|
DeleteHubRequest = Shapes::StructureShape.new(name: 'DeleteHubRequest')
|
535
538
|
DeleteHumanTaskUiRequest = Shapes::StructureShape.new(name: 'DeleteHumanTaskUiRequest')
|
@@ -959,6 +962,7 @@ module Aws::SageMaker
|
|
959
962
|
HubContentSearchKeywordList = Shapes::ListShape.new(name: 'HubContentSearchKeywordList')
|
960
963
|
HubContentSortBy = Shapes::StringShape.new(name: 'HubContentSortBy')
|
961
964
|
HubContentStatus = Shapes::StringShape.new(name: 'HubContentStatus')
|
965
|
+
HubContentSupportStatus = Shapes::StringShape.new(name: 'HubContentSupportStatus')
|
962
966
|
HubContentType = Shapes::StringShape.new(name: 'HubContentType')
|
963
967
|
HubContentVersion = Shapes::StringShape.new(name: 'HubContentVersion')
|
964
968
|
HubDescription = Shapes::StringShape.new(name: 'HubDescription')
|
@@ -966,6 +970,7 @@ module Aws::SageMaker
|
|
966
970
|
HubInfo = Shapes::StructureShape.new(name: 'HubInfo')
|
967
971
|
HubInfoList = Shapes::ListShape.new(name: 'HubInfoList')
|
968
972
|
HubName = Shapes::StringShape.new(name: 'HubName')
|
973
|
+
HubNameOrArn = Shapes::StringShape.new(name: 'HubNameOrArn')
|
969
974
|
HubS3StorageConfig = Shapes::StructureShape.new(name: 'HubS3StorageConfig')
|
970
975
|
HubSearchKeyword = Shapes::StringShape.new(name: 'HubSearchKeyword')
|
971
976
|
HubSearchKeywordList = Shapes::ListShape.new(name: 'HubSearchKeywordList')
|
@@ -1084,6 +1089,7 @@ module Aws::SageMaker
|
|
1084
1089
|
InferenceExperimentStopDesiredState = Shapes::StringShape.new(name: 'InferenceExperimentStopDesiredState')
|
1085
1090
|
InferenceExperimentSummary = Shapes::StructureShape.new(name: 'InferenceExperimentSummary')
|
1086
1091
|
InferenceExperimentType = Shapes::StringShape.new(name: 'InferenceExperimentType')
|
1092
|
+
InferenceHubAccessConfig = Shapes::StructureShape.new(name: 'InferenceHubAccessConfig')
|
1087
1093
|
InferenceImage = Shapes::StringShape.new(name: 'InferenceImage')
|
1088
1094
|
InferenceMetrics = Shapes::StructureShape.new(name: 'InferenceMetrics')
|
1089
1095
|
InferenceRecommendation = Shapes::StructureShape.new(name: 'InferenceRecommendation')
|
@@ -1810,6 +1816,7 @@ module Aws::SageMaker
|
|
1810
1816
|
RedshiftResultCompressionType = Shapes::StringShape.new(name: 'RedshiftResultCompressionType')
|
1811
1817
|
RedshiftResultFormat = Shapes::StringShape.new(name: 'RedshiftResultFormat')
|
1812
1818
|
RedshiftUserName = Shapes::StringShape.new(name: 'RedshiftUserName')
|
1819
|
+
ReferenceMinVersion = Shapes::StringShape.new(name: 'ReferenceMinVersion')
|
1813
1820
|
RegisterDevicesRequest = Shapes::StructureShape.new(name: 'RegisterDevicesRequest')
|
1814
1821
|
RegisterModelStepMetadata = Shapes::StructureShape.new(name: 'RegisterModelStepMetadata')
|
1815
1822
|
ReleaseNotes = Shapes::StringShape.new(name: 'ReleaseNotes')
|
@@ -1871,6 +1878,7 @@ module Aws::SageMaker
|
|
1871
1878
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
1872
1879
|
SageMakerImageVersionAlias = Shapes::StringShape.new(name: 'SageMakerImageVersionAlias')
|
1873
1880
|
SageMakerImageVersionAliases = Shapes::ListShape.new(name: 'SageMakerImageVersionAliases')
|
1881
|
+
SageMakerPublicHubContentArn = Shapes::StringShape.new(name: 'SageMakerPublicHubContentArn')
|
1874
1882
|
SagemakerServicecatalogStatus = Shapes::StringShape.new(name: 'SagemakerServicecatalogStatus')
|
1875
1883
|
SampleWeightAttributeName = Shapes::StringShape.new(name: 'SampleWeightAttributeName')
|
1876
1884
|
SamplingPercentage = Shapes::IntegerShape.new(name: 'SamplingPercentage')
|
@@ -3327,6 +3335,17 @@ module Aws::SageMaker
|
|
3327
3335
|
CreateFlowDefinitionResponse.add_member(:flow_definition_arn, Shapes::ShapeRef.new(shape: FlowDefinitionArn, required: true, location_name: "FlowDefinitionArn"))
|
3328
3336
|
CreateFlowDefinitionResponse.struct_class = Types::CreateFlowDefinitionResponse
|
3329
3337
|
|
3338
|
+
CreateHubContentReferenceRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
3339
|
+
CreateHubContentReferenceRequest.add_member(:sage_maker_public_hub_content_arn, Shapes::ShapeRef.new(shape: SageMakerPublicHubContentArn, required: true, location_name: "SageMakerPublicHubContentArn"))
|
3340
|
+
CreateHubContentReferenceRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, location_name: "HubContentName"))
|
3341
|
+
CreateHubContentReferenceRequest.add_member(:min_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "MinVersion"))
|
3342
|
+
CreateHubContentReferenceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
3343
|
+
CreateHubContentReferenceRequest.struct_class = Types::CreateHubContentReferenceRequest
|
3344
|
+
|
3345
|
+
CreateHubContentReferenceResponse.add_member(:hub_arn, Shapes::ShapeRef.new(shape: HubArn, required: true, location_name: "HubArn"))
|
3346
|
+
CreateHubContentReferenceResponse.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
3347
|
+
CreateHubContentReferenceResponse.struct_class = Types::CreateHubContentReferenceResponse
|
3348
|
+
|
3330
3349
|
CreateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubName, required: true, location_name: "HubName"))
|
3331
3350
|
CreateHubRequest.add_member(:hub_description, Shapes::ShapeRef.new(shape: HubDescription, required: true, location_name: "HubDescription"))
|
3332
3351
|
CreateHubRequest.add_member(:hub_display_name, Shapes::ShapeRef.new(shape: HubDisplayName, location_name: "HubDisplayName"))
|
@@ -4027,13 +4046,18 @@ module Aws::SageMaker
|
|
4027
4046
|
|
4028
4047
|
DeleteFlowDefinitionResponse.struct_class = Types::DeleteFlowDefinitionResponse
|
4029
4048
|
|
4030
|
-
|
4049
|
+
DeleteHubContentReferenceRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
4050
|
+
DeleteHubContentReferenceRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
4051
|
+
DeleteHubContentReferenceRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
4052
|
+
DeleteHubContentReferenceRequest.struct_class = Types::DeleteHubContentReferenceRequest
|
4053
|
+
|
4054
|
+
DeleteHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
4031
4055
|
DeleteHubContentRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
4032
4056
|
DeleteHubContentRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
4033
4057
|
DeleteHubContentRequest.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, required: true, location_name: "HubContentVersion"))
|
4034
4058
|
DeleteHubContentRequest.struct_class = Types::DeleteHubContentRequest
|
4035
4059
|
|
4036
|
-
DeleteHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
4060
|
+
DeleteHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
4037
4061
|
DeleteHubRequest.struct_class = Types::DeleteHubRequest
|
4038
4062
|
|
4039
4063
|
DeleteHumanTaskUiRequest.add_member(:human_task_ui_name, Shapes::ShapeRef.new(shape: HumanTaskUiName, required: true, location_name: "HumanTaskUiName"))
|
@@ -4611,7 +4635,7 @@ module Aws::SageMaker
|
|
4611
4635
|
DescribeFlowDefinitionResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
4612
4636
|
DescribeFlowDefinitionResponse.struct_class = Types::DescribeFlowDefinitionResponse
|
4613
4637
|
|
4614
|
-
DescribeHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
4638
|
+
DescribeHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
4615
4639
|
DescribeHubContentRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
4616
4640
|
DescribeHubContentRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
4617
4641
|
DescribeHubContentRequest.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "HubContentVersion"))
|
@@ -4628,6 +4652,9 @@ module Aws::SageMaker
|
|
4628
4652
|
DescribeHubContentResponse.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
4629
4653
|
DescribeHubContentResponse.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
4630
4654
|
DescribeHubContentResponse.add_member(:hub_content_document, Shapes::ShapeRef.new(shape: HubContentDocument, required: true, location_name: "HubContentDocument"))
|
4655
|
+
DescribeHubContentResponse.add_member(:sage_maker_public_hub_content_arn, Shapes::ShapeRef.new(shape: SageMakerPublicHubContentArn, location_name: "SageMakerPublicHubContentArn"))
|
4656
|
+
DescribeHubContentResponse.add_member(:reference_min_version, Shapes::ShapeRef.new(shape: ReferenceMinVersion, location_name: "ReferenceMinVersion"))
|
4657
|
+
DescribeHubContentResponse.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
4631
4658
|
DescribeHubContentResponse.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
4632
4659
|
DescribeHubContentResponse.add_member(:hub_content_dependencies, Shapes::ShapeRef.new(shape: HubContentDependencyList, location_name: "HubContentDependencies"))
|
4633
4660
|
DescribeHubContentResponse.add_member(:hub_content_status, Shapes::ShapeRef.new(shape: HubContentStatus, required: true, location_name: "HubContentStatus"))
|
@@ -4635,7 +4662,7 @@ module Aws::SageMaker
|
|
4635
4662
|
DescribeHubContentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
4636
4663
|
DescribeHubContentResponse.struct_class = Types::DescribeHubContentResponse
|
4637
4664
|
|
4638
|
-
DescribeHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
4665
|
+
DescribeHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
4639
4666
|
DescribeHubRequest.struct_class = Types::DescribeHubRequest
|
4640
4667
|
|
4641
4668
|
DescribeHubResponse.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubName, required: true, location_name: "HubName"))
|
@@ -5858,14 +5885,17 @@ module Aws::SageMaker
|
|
5858
5885
|
|
5859
5886
|
HubContentInfo.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
5860
5887
|
HubContentInfo.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
5888
|
+
HubContentInfo.add_member(:sage_maker_public_hub_content_arn, Shapes::ShapeRef.new(shape: SageMakerPublicHubContentArn, location_name: "SageMakerPublicHubContentArn"))
|
5861
5889
|
HubContentInfo.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, required: true, location_name: "HubContentVersion"))
|
5862
5890
|
HubContentInfo.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
5863
5891
|
HubContentInfo.add_member(:document_schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, required: true, location_name: "DocumentSchemaVersion"))
|
5864
5892
|
HubContentInfo.add_member(:hub_content_display_name, Shapes::ShapeRef.new(shape: HubContentDisplayName, location_name: "HubContentDisplayName"))
|
5865
5893
|
HubContentInfo.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
5894
|
+
HubContentInfo.add_member(:support_status, Shapes::ShapeRef.new(shape: HubContentSupportStatus, location_name: "SupportStatus"))
|
5866
5895
|
HubContentInfo.add_member(:hub_content_search_keywords, Shapes::ShapeRef.new(shape: HubContentSearchKeywordList, location_name: "HubContentSearchKeywords"))
|
5867
5896
|
HubContentInfo.add_member(:hub_content_status, Shapes::ShapeRef.new(shape: HubContentStatus, required: true, location_name: "HubContentStatus"))
|
5868
5897
|
HubContentInfo.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
5898
|
+
HubContentInfo.add_member(:original_creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "OriginalCreationTime"))
|
5869
5899
|
HubContentInfo.struct_class = Types::HubContentInfo
|
5870
5900
|
|
5871
5901
|
HubContentInfoList.member = Shapes::ShapeRef.new(shape: HubContentInfo)
|
@@ -6126,7 +6156,7 @@ module Aws::SageMaker
|
|
6126
6156
|
ImportHubContentRequest.add_member(:hub_content_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "HubContentVersion"))
|
6127
6157
|
ImportHubContentRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
6128
6158
|
ImportHubContentRequest.add_member(:document_schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, required: true, location_name: "DocumentSchemaVersion"))
|
6129
|
-
ImportHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
6159
|
+
ImportHubContentRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
6130
6160
|
ImportHubContentRequest.add_member(:hub_content_display_name, Shapes::ShapeRef.new(shape: HubContentDisplayName, location_name: "HubContentDisplayName"))
|
6131
6161
|
ImportHubContentRequest.add_member(:hub_content_description, Shapes::ShapeRef.new(shape: HubContentDescription, location_name: "HubContentDescription"))
|
6132
6162
|
ImportHubContentRequest.add_member(:hub_content_markdown, Shapes::ShapeRef.new(shape: HubContentMarkdown, location_name: "HubContentMarkdown"))
|
@@ -6216,12 +6246,15 @@ module Aws::SageMaker
|
|
6216
6246
|
InferenceExperimentSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
|
6217
6247
|
InferenceExperimentSummary.struct_class = Types::InferenceExperimentSummary
|
6218
6248
|
|
6249
|
+
InferenceHubAccessConfig.add_member(:hub_content_arn, Shapes::ShapeRef.new(shape: HubContentArn, required: true, location_name: "HubContentArn"))
|
6250
|
+
InferenceHubAccessConfig.struct_class = Types::InferenceHubAccessConfig
|
6251
|
+
|
6219
6252
|
InferenceMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaxInvocations"))
|
6220
6253
|
InferenceMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ModelLatency"))
|
6221
6254
|
InferenceMetrics.struct_class = Types::InferenceMetrics
|
6222
6255
|
|
6223
6256
|
InferenceRecommendation.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "RecommendationId"))
|
6224
|
-
InferenceRecommendation.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics,
|
6257
|
+
InferenceRecommendation.add_member(:metrics, Shapes::ShapeRef.new(shape: RecommendationMetrics, location_name: "Metrics"))
|
6225
6258
|
InferenceRecommendation.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointOutputConfiguration, required: true, location_name: "EndpointConfiguration"))
|
6226
6259
|
InferenceRecommendation.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ModelConfiguration, required: true, location_name: "ModelConfiguration"))
|
6227
6260
|
InferenceRecommendation.add_member(:invocation_end_time, Shapes::ShapeRef.new(shape: InvocationEndTime, location_name: "InvocationEndTime"))
|
@@ -6779,7 +6812,7 @@ module Aws::SageMaker
|
|
6779
6812
|
ListFlowDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
6780
6813
|
ListFlowDefinitionsResponse.struct_class = Types::ListFlowDefinitionsResponse
|
6781
6814
|
|
6782
|
-
ListHubContentVersionsRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
6815
|
+
ListHubContentVersionsRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
6783
6816
|
ListHubContentVersionsRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
6784
6817
|
ListHubContentVersionsRequest.add_member(:hub_content_name, Shapes::ShapeRef.new(shape: HubContentName, required: true, location_name: "HubContentName"))
|
6785
6818
|
ListHubContentVersionsRequest.add_member(:min_version, Shapes::ShapeRef.new(shape: HubContentVersion, location_name: "MinVersion"))
|
@@ -6796,7 +6829,7 @@ module Aws::SageMaker
|
|
6796
6829
|
ListHubContentVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
6797
6830
|
ListHubContentVersionsResponse.struct_class = Types::ListHubContentVersionsResponse
|
6798
6831
|
|
6799
|
-
ListHubContentsRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
6832
|
+
ListHubContentsRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
6800
6833
|
ListHubContentsRequest.add_member(:hub_content_type, Shapes::ShapeRef.new(shape: HubContentType, required: true, location_name: "HubContentType"))
|
6801
6834
|
ListHubContentsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: NameContains, location_name: "NameContains"))
|
6802
6835
|
ListHubContentsRequest.add_member(:max_schema_version, Shapes::ShapeRef.new(shape: DocumentSchemaVersion, location_name: "MaxSchemaVersion"))
|
@@ -8753,10 +8786,10 @@ module Aws::SageMaker
|
|
8753
8786
|
|
8754
8787
|
RecommendationJobVpcSubnets.member = Shapes::ShapeRef.new(shape: RecommendationJobVpcSubnetId)
|
8755
8788
|
|
8756
|
-
RecommendationMetrics.add_member(:cost_per_hour, Shapes::ShapeRef.new(shape: Float,
|
8757
|
-
RecommendationMetrics.add_member(:cost_per_inference, Shapes::ShapeRef.new(shape: Float,
|
8758
|
-
RecommendationMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer,
|
8759
|
-
RecommendationMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer,
|
8789
|
+
RecommendationMetrics.add_member(:cost_per_hour, Shapes::ShapeRef.new(shape: Float, location_name: "CostPerHour"))
|
8790
|
+
RecommendationMetrics.add_member(:cost_per_inference, Shapes::ShapeRef.new(shape: Float, location_name: "CostPerInference"))
|
8791
|
+
RecommendationMetrics.add_member(:max_invocations, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxInvocations"))
|
8792
|
+
RecommendationMetrics.add_member(:model_latency, Shapes::ShapeRef.new(shape: Integer, location_name: "ModelLatency"))
|
8760
8793
|
RecommendationMetrics.add_member(:cpu_utilization, Shapes::ShapeRef.new(shape: UtilizationMetric, location_name: "CpuUtilization"))
|
8761
8794
|
RecommendationMetrics.add_member(:memory_utilization, Shapes::ShapeRef.new(shape: UtilizationMetric, location_name: "MemoryUtilization"))
|
8762
8795
|
RecommendationMetrics.add_member(:model_setup_time, Shapes::ShapeRef.new(shape: ModelSetupTime, location_name: "ModelSetupTime"))
|
@@ -8890,6 +8923,7 @@ module Aws::SageMaker
|
|
8890
8923
|
S3ModelDataSource.add_member(:s3_data_type, Shapes::ShapeRef.new(shape: S3ModelDataType, required: true, location_name: "S3DataType"))
|
8891
8924
|
S3ModelDataSource.add_member(:compression_type, Shapes::ShapeRef.new(shape: ModelCompressionType, required: true, location_name: "CompressionType"))
|
8892
8925
|
S3ModelDataSource.add_member(:model_access_config, Shapes::ShapeRef.new(shape: ModelAccessConfig, location_name: "ModelAccessConfig"))
|
8926
|
+
S3ModelDataSource.add_member(:hub_access_config, Shapes::ShapeRef.new(shape: InferenceHubAccessConfig, location_name: "HubAccessConfig"))
|
8893
8927
|
S3ModelDataSource.struct_class = Types::S3ModelDataSource
|
8894
8928
|
|
8895
8929
|
S3Presign.add_member(:iam_policy_constraints, Shapes::ShapeRef.new(shape: IamPolicyConstraints, location_name: "IamPolicyConstraints"))
|
@@ -9777,7 +9811,7 @@ module Aws::SageMaker
|
|
9777
9811
|
UpdateFeatureMetadataRequest.add_member(:parameter_removals, Shapes::ShapeRef.new(shape: FeatureParameterRemovals, location_name: "ParameterRemovals"))
|
9778
9812
|
UpdateFeatureMetadataRequest.struct_class = Types::UpdateFeatureMetadataRequest
|
9779
9813
|
|
9780
|
-
UpdateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape:
|
9814
|
+
UpdateHubRequest.add_member(:hub_name, Shapes::ShapeRef.new(shape: HubNameOrArn, required: true, location_name: "HubName"))
|
9781
9815
|
UpdateHubRequest.add_member(:hub_description, Shapes::ShapeRef.new(shape: HubDescription, location_name: "HubDescription"))
|
9782
9816
|
UpdateHubRequest.add_member(:hub_display_name, Shapes::ShapeRef.new(shape: HubDisplayName, location_name: "HubDisplayName"))
|
9783
9817
|
UpdateHubRequest.add_member(:hub_search_keywords, Shapes::ShapeRef.new(shape: HubSearchKeywordList, location_name: "HubSearchKeywords"))
|
@@ -10405,6 +10439,17 @@ module Aws::SageMaker
|
|
10405
10439
|
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
10406
10440
|
end)
|
10407
10441
|
|
10442
|
+
api.add_operation(:create_hub_content_reference, Seahorse::Model::Operation.new.tap do |o|
|
10443
|
+
o.name = "CreateHubContentReference"
|
10444
|
+
o.http_method = "POST"
|
10445
|
+
o.http_request_uri = "/"
|
10446
|
+
o.input = Shapes::ShapeRef.new(shape: CreateHubContentReferenceRequest)
|
10447
|
+
o.output = Shapes::ShapeRef.new(shape: CreateHubContentReferenceResponse)
|
10448
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
10449
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUse)
|
10450
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceeded)
|
10451
|
+
end)
|
10452
|
+
|
10408
10453
|
api.add_operation(:create_human_task_ui, Seahorse::Model::Operation.new.tap do |o|
|
10409
10454
|
o.name = "CreateHumanTaskUi"
|
10410
10455
|
o.http_method = "POST"
|
@@ -10947,6 +10992,15 @@ module Aws::SageMaker
|
|
10947
10992
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
10948
10993
|
end)
|
10949
10994
|
|
10995
|
+
api.add_operation(:delete_hub_content_reference, Seahorse::Model::Operation.new.tap do |o|
|
10996
|
+
o.name = "DeleteHubContentReference"
|
10997
|
+
o.http_method = "POST"
|
10998
|
+
o.http_request_uri = "/"
|
10999
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteHubContentReferenceRequest)
|
11000
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
11001
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
|
11002
|
+
end)
|
11003
|
+
|
10950
11004
|
api.add_operation(:delete_human_task_ui, Seahorse::Model::Operation.new.tap do |o|
|
10951
11005
|
o.name = "DeleteHumanTaskUi"
|
10952
11006
|
o.http_method = "POST"
|
@@ -390,6 +390,20 @@ module Aws::SageMaker
|
|
390
390
|
end
|
391
391
|
end
|
392
392
|
|
393
|
+
class CreateHubContentReference
|
394
|
+
def self.build(context)
|
395
|
+
unless context.config.regional_endpoint
|
396
|
+
endpoint = context.config.endpoint.to_s
|
397
|
+
end
|
398
|
+
Aws::SageMaker::EndpointParameters.new(
|
399
|
+
region: context.config.region,
|
400
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
401
|
+
use_fips: context.config.use_fips_endpoint,
|
402
|
+
endpoint: endpoint,
|
403
|
+
)
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
393
407
|
class CreateHumanTaskUi
|
394
408
|
def self.build(context)
|
395
409
|
unless context.config.regional_endpoint
|
@@ -1188,6 +1202,20 @@ module Aws::SageMaker
|
|
1188
1202
|
end
|
1189
1203
|
end
|
1190
1204
|
|
1205
|
+
class DeleteHubContentReference
|
1206
|
+
def self.build(context)
|
1207
|
+
unless context.config.regional_endpoint
|
1208
|
+
endpoint = context.config.endpoint.to_s
|
1209
|
+
end
|
1210
|
+
Aws::SageMaker::EndpointParameters.new(
|
1211
|
+
region: context.config.region,
|
1212
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1213
|
+
use_fips: context.config.use_fips_endpoint,
|
1214
|
+
endpoint: endpoint,
|
1215
|
+
)
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
|
1191
1219
|
class DeleteHumanTaskUi
|
1192
1220
|
def self.build(context)
|
1193
1221
|
unless context.config.regional_endpoint
|
@@ -112,6 +112,8 @@ module Aws::SageMaker
|
|
112
112
|
Aws::SageMaker::Endpoints::CreateFlowDefinition.build(context)
|
113
113
|
when :create_hub
|
114
114
|
Aws::SageMaker::Endpoints::CreateHub.build(context)
|
115
|
+
when :create_hub_content_reference
|
116
|
+
Aws::SageMaker::Endpoints::CreateHubContentReference.build(context)
|
115
117
|
when :create_human_task_ui
|
116
118
|
Aws::SageMaker::Endpoints::CreateHumanTaskUi.build(context)
|
117
119
|
when :create_hyper_parameter_tuning_job
|
@@ -226,6 +228,8 @@ module Aws::SageMaker
|
|
226
228
|
Aws::SageMaker::Endpoints::DeleteHub.build(context)
|
227
229
|
when :delete_hub_content
|
228
230
|
Aws::SageMaker::Endpoints::DeleteHubContent.build(context)
|
231
|
+
when :delete_hub_content_reference
|
232
|
+
Aws::SageMaker::Endpoints::DeleteHubContentReference.build(context)
|
229
233
|
when :delete_human_task_ui
|
230
234
|
Aws::SageMaker::Endpoints::DeleteHumanTaskUi.build(context)
|
231
235
|
when :delete_hyper_parameter_tuning_job
|
@@ -6682,6 +6682,55 @@ module Aws::SageMaker
|
|
6682
6682
|
include Aws::Structure
|
6683
6683
|
end
|
6684
6684
|
|
6685
|
+
# @!attribute [rw] hub_name
|
6686
|
+
# The name of the hub to add the hub content reference to.
|
6687
|
+
# @return [String]
|
6688
|
+
#
|
6689
|
+
# @!attribute [rw] sage_maker_public_hub_content_arn
|
6690
|
+
# The ARN of the public hub content to reference.
|
6691
|
+
# @return [String]
|
6692
|
+
#
|
6693
|
+
# @!attribute [rw] hub_content_name
|
6694
|
+
# The name of the hub content to reference.
|
6695
|
+
# @return [String]
|
6696
|
+
#
|
6697
|
+
# @!attribute [rw] min_version
|
6698
|
+
# The minimum version of the hub content to reference.
|
6699
|
+
# @return [String]
|
6700
|
+
#
|
6701
|
+
# @!attribute [rw] tags
|
6702
|
+
# Any tags associated with the hub content to reference.
|
6703
|
+
# @return [Array<Types::Tag>]
|
6704
|
+
#
|
6705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReferenceRequest AWS API Documentation
|
6706
|
+
#
|
6707
|
+
class CreateHubContentReferenceRequest < Struct.new(
|
6708
|
+
:hub_name,
|
6709
|
+
:sage_maker_public_hub_content_arn,
|
6710
|
+
:hub_content_name,
|
6711
|
+
:min_version,
|
6712
|
+
:tags)
|
6713
|
+
SENSITIVE = []
|
6714
|
+
include Aws::Structure
|
6715
|
+
end
|
6716
|
+
|
6717
|
+
# @!attribute [rw] hub_arn
|
6718
|
+
# The ARN of the hub that the hub content reference was added to.
|
6719
|
+
# @return [String]
|
6720
|
+
#
|
6721
|
+
# @!attribute [rw] hub_content_arn
|
6722
|
+
# The ARN of the hub content.
|
6723
|
+
# @return [String]
|
6724
|
+
#
|
6725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHubContentReferenceResponse AWS API Documentation
|
6726
|
+
#
|
6727
|
+
class CreateHubContentReferenceResponse < Struct.new(
|
6728
|
+
:hub_arn,
|
6729
|
+
:hub_content_arn)
|
6730
|
+
SENSITIVE = []
|
6731
|
+
include Aws::Structure
|
6732
|
+
end
|
6733
|
+
|
6685
6734
|
# @!attribute [rw] hub_name
|
6686
6735
|
# The name of the hub to create.
|
6687
6736
|
# @return [String]
|
@@ -10997,6 +11046,28 @@ module Aws::SageMaker
|
|
10997
11046
|
#
|
10998
11047
|
class DeleteFlowDefinitionResponse < Aws::EmptyStructure; end
|
10999
11048
|
|
11049
|
+
# @!attribute [rw] hub_name
|
11050
|
+
# The name of the hub to delete the hub content reference from.
|
11051
|
+
# @return [String]
|
11052
|
+
#
|
11053
|
+
# @!attribute [rw] hub_content_type
|
11054
|
+
# The type of hub content to delete.
|
11055
|
+
# @return [String]
|
11056
|
+
#
|
11057
|
+
# @!attribute [rw] hub_content_name
|
11058
|
+
# The name of the hub content to delete.
|
11059
|
+
# @return [String]
|
11060
|
+
#
|
11061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHubContentReferenceRequest AWS API Documentation
|
11062
|
+
#
|
11063
|
+
class DeleteHubContentReferenceRequest < Struct.new(
|
11064
|
+
:hub_name,
|
11065
|
+
:hub_content_type,
|
11066
|
+
:hub_content_name)
|
11067
|
+
SENSITIVE = []
|
11068
|
+
include Aws::Structure
|
11069
|
+
end
|
11070
|
+
|
11000
11071
|
# @!attribute [rw] hub_name
|
11001
11072
|
# The name of the hub that you want to delete content in.
|
11002
11073
|
# @return [String]
|
@@ -14004,6 +14075,18 @@ module Aws::SageMaker
|
|
14004
14075
|
# content such as type, associated containers, scripts, and more.
|
14005
14076
|
# @return [String]
|
14006
14077
|
#
|
14078
|
+
# @!attribute [rw] sage_maker_public_hub_content_arn
|
14079
|
+
# The ARN of the public hub content.
|
14080
|
+
# @return [String]
|
14081
|
+
#
|
14082
|
+
# @!attribute [rw] reference_min_version
|
14083
|
+
# The minimum version of the hub content.
|
14084
|
+
# @return [String]
|
14085
|
+
#
|
14086
|
+
# @!attribute [rw] support_status
|
14087
|
+
# The support status of the hub content.
|
14088
|
+
# @return [String]
|
14089
|
+
#
|
14007
14090
|
# @!attribute [rw] hub_content_search_keywords
|
14008
14091
|
# The searchable keywords for the hub content.
|
14009
14092
|
# @return [Array<String>]
|
@@ -14039,6 +14122,9 @@ module Aws::SageMaker
|
|
14039
14122
|
:hub_content_description,
|
14040
14123
|
:hub_content_markdown,
|
14041
14124
|
:hub_content_document,
|
14125
|
+
:sage_maker_public_hub_content_arn,
|
14126
|
+
:reference_min_version,
|
14127
|
+
:support_status,
|
14042
14128
|
:hub_content_search_keywords,
|
14043
14129
|
:hub_content_dependencies,
|
14044
14130
|
:hub_content_status,
|
@@ -20633,6 +20719,10 @@ module Aws::SageMaker
|
|
20633
20719
|
# The Amazon Resource Name (ARN) of the hub content.
|
20634
20720
|
# @return [String]
|
20635
20721
|
#
|
20722
|
+
# @!attribute [rw] sage_maker_public_hub_content_arn
|
20723
|
+
# The ARN of the public hub content.
|
20724
|
+
# @return [String]
|
20725
|
+
#
|
20636
20726
|
# @!attribute [rw] hub_content_version
|
20637
20727
|
# The version of the hub content.
|
20638
20728
|
# @return [String]
|
@@ -20653,6 +20743,10 @@ module Aws::SageMaker
|
|
20653
20743
|
# A description of the hub content.
|
20654
20744
|
# @return [String]
|
20655
20745
|
#
|
20746
|
+
# @!attribute [rw] support_status
|
20747
|
+
# The support status of the hub content.
|
20748
|
+
# @return [String]
|
20749
|
+
#
|
20656
20750
|
# @!attribute [rw] hub_content_search_keywords
|
20657
20751
|
# The searchable keywords for the hub content.
|
20658
20752
|
# @return [Array<String>]
|
@@ -20665,19 +20759,27 @@ module Aws::SageMaker
|
|
20665
20759
|
# The date and time that the hub content was created.
|
20666
20760
|
# @return [Time]
|
20667
20761
|
#
|
20762
|
+
# @!attribute [rw] original_creation_time
|
20763
|
+
# The date and time when the hub content was originally created,
|
20764
|
+
# before any updates or revisions.
|
20765
|
+
# @return [Time]
|
20766
|
+
#
|
20668
20767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/HubContentInfo AWS API Documentation
|
20669
20768
|
#
|
20670
20769
|
class HubContentInfo < Struct.new(
|
20671
20770
|
:hub_content_name,
|
20672
20771
|
:hub_content_arn,
|
20772
|
+
:sage_maker_public_hub_content_arn,
|
20673
20773
|
:hub_content_version,
|
20674
20774
|
:hub_content_type,
|
20675
20775
|
:document_schema_version,
|
20676
20776
|
:hub_content_display_name,
|
20677
20777
|
:hub_content_description,
|
20778
|
+
:support_status,
|
20678
20779
|
:hub_content_search_keywords,
|
20679
20780
|
:hub_content_status,
|
20680
|
-
:creation_time
|
20781
|
+
:creation_time,
|
20782
|
+
:original_creation_time)
|
20681
20783
|
SENSITIVE = []
|
20682
20784
|
include Aws::Structure
|
20683
20785
|
end
|
@@ -23757,6 +23859,21 @@ module Aws::SageMaker
|
|
23757
23859
|
include Aws::Structure
|
23758
23860
|
end
|
23759
23861
|
|
23862
|
+
# Configuration information specifying which hub contents have
|
23863
|
+
# accessible deployment options.
|
23864
|
+
#
|
23865
|
+
# @!attribute [rw] hub_content_arn
|
23866
|
+
# The ARN of the hub content for which deployment access is allowed.
|
23867
|
+
# @return [String]
|
23868
|
+
#
|
23869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/InferenceHubAccessConfig AWS API Documentation
|
23870
|
+
#
|
23871
|
+
class InferenceHubAccessConfig < Struct.new(
|
23872
|
+
:hub_content_arn)
|
23873
|
+
SENSITIVE = []
|
23874
|
+
include Aws::Structure
|
23875
|
+
end
|
23876
|
+
|
23760
23877
|
# The metrics for an existing endpoint compared in an Inference
|
23761
23878
|
# Recommender job.
|
23762
23879
|
#
|
@@ -38831,13 +38948,18 @@ module Aws::SageMaker
|
|
38831
38948
|
# acceptable for your use case before downloading or using a model.
|
38832
38949
|
# @return [Types::ModelAccessConfig]
|
38833
38950
|
#
|
38951
|
+
# @!attribute [rw] hub_access_config
|
38952
|
+
# Configuration information for hub access.
|
38953
|
+
# @return [Types::InferenceHubAccessConfig]
|
38954
|
+
#
|
38834
38955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3ModelDataSource AWS API Documentation
|
38835
38956
|
#
|
38836
38957
|
class S3ModelDataSource < Struct.new(
|
38837
38958
|
:s3_uri,
|
38838
38959
|
:s3_data_type,
|
38839
38960
|
:compression_type,
|
38840
|
-
:model_access_config
|
38961
|
+
:model_access_config,
|
38962
|
+
:hub_access_config)
|
38841
38963
|
SENSITIVE = []
|
38842
38964
|
include Aws::Structure
|
38843
38965
|
end
|