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.
data/sig/client.rbs CHANGED
@@ -234,6 +234,9 @@ module Aws
234
234
  compression_type: ("None" | "Gzip"),
235
235
  model_access_config: {
236
236
  accept_eula: bool
237
+ }?,
238
+ hub_access_config: {
239
+ hub_content_arn: ::String
237
240
  }?
238
241
  }?
239
242
  }?,
@@ -1641,6 +1644,26 @@ module Aws
1641
1644
  ) -> _CreateHubResponseSuccess
1642
1645
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHubResponseSuccess
1643
1646
 
1647
+ interface _CreateHubContentReferenceResponseSuccess
1648
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateHubContentReferenceResponse]
1649
+ def hub_arn: () -> ::String
1650
+ def hub_content_arn: () -> ::String
1651
+ end
1652
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#create_hub_content_reference-instance_method
1653
+ def create_hub_content_reference: (
1654
+ hub_name: ::String,
1655
+ sage_maker_public_hub_content_arn: ::String,
1656
+ ?hub_content_name: ::String,
1657
+ ?min_version: ::String,
1658
+ ?tags: Array[
1659
+ {
1660
+ key: ::String,
1661
+ value: ::String
1662
+ },
1663
+ ]
1664
+ ) -> _CreateHubContentReferenceResponseSuccess
1665
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateHubContentReferenceResponseSuccess
1666
+
1644
1667
  interface _CreateHumanTaskUiResponseSuccess
1645
1668
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateHumanTaskUiResponse]
1646
1669
  def human_task_ui_arn: () -> ::String
@@ -2368,6 +2391,9 @@ module Aws
2368
2391
  compression_type: ("None" | "Gzip"),
2369
2392
  model_access_config: {
2370
2393
  accept_eula: bool
2394
+ }?,
2395
+ hub_access_config: {
2396
+ hub_content_arn: ::String
2371
2397
  }?
2372
2398
  }?
2373
2399
  }?,
@@ -2397,6 +2423,9 @@ module Aws
2397
2423
  compression_type: ("None" | "Gzip"),
2398
2424
  model_access_config: {
2399
2425
  accept_eula: bool
2426
+ }?,
2427
+ hub_access_config: {
2428
+ hub_content_arn: ::String
2400
2429
  }?
2401
2430
  }?
2402
2431
  }?,
@@ -2682,6 +2711,9 @@ module Aws
2682
2711
  compression_type: ("None" | "Gzip"),
2683
2712
  model_access_config: {
2684
2713
  accept_eula: bool
2714
+ }?,
2715
+ hub_access_config: {
2716
+ hub_content_arn: ::String
2685
2717
  }?
2686
2718
  }?
2687
2719
  }?,
@@ -2752,6 +2784,9 @@ module Aws
2752
2784
  compression_type: ("None" | "Gzip"),
2753
2785
  model_access_config: {
2754
2786
  accept_eula: bool
2787
+ }?,
2788
+ hub_access_config: {
2789
+ hub_content_arn: ::String
2755
2790
  }?
2756
2791
  }?
2757
2792
  }?,
@@ -2900,6 +2935,9 @@ module Aws
2900
2935
  compression_type: ("None" | "Gzip"),
2901
2936
  model_access_config: {
2902
2937
  accept_eula: bool
2938
+ }?,
2939
+ hub_access_config: {
2940
+ hub_content_arn: ::String
2903
2941
  }?
2904
2942
  }?
2905
2943
  }?,
@@ -4262,12 +4300,20 @@ module Aws
4262
4300
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_hub_content-instance_method
4263
4301
  def delete_hub_content: (
4264
4302
  hub_name: ::String,
4265
- hub_content_type: ("Model" | "Notebook"),
4303
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
4266
4304
  hub_content_name: ::String,
4267
4305
  hub_content_version: ::String
4268
4306
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4269
4307
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4270
4308
 
4309
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#delete_hub_content_reference-instance_method
4310
+ def delete_hub_content_reference: (
4311
+ hub_name: ::String,
4312
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
4313
+ hub_content_name: ::String
4314
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
4316
+
4271
4317
  interface _DeleteHumanTaskUiResponseSuccess
4272
4318
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteHumanTaskUiResponse]
4273
4319
  end
@@ -5027,7 +5073,7 @@ module Aws
5027
5073
  def hub_content_name: () -> ::String
5028
5074
  def hub_content_arn: () -> ::String
5029
5075
  def hub_content_version: () -> ::String
5030
- def hub_content_type: () -> ("Model" | "Notebook")
5076
+ def hub_content_type: () -> ("Model" | "Notebook" | "ModelReference")
5031
5077
  def document_schema_version: () -> ::String
5032
5078
  def hub_name: () -> ::String
5033
5079
  def hub_arn: () -> ::String
@@ -5035,6 +5081,9 @@ module Aws
5035
5081
  def hub_content_description: () -> ::String
5036
5082
  def hub_content_markdown: () -> ::String
5037
5083
  def hub_content_document: () -> ::String
5084
+ def sage_maker_public_hub_content_arn: () -> ::String
5085
+ def reference_min_version: () -> ::String
5086
+ def support_status: () -> ("Supported" | "Deprecated")
5038
5087
  def hub_content_search_keywords: () -> ::Array[::String]
5039
5088
  def hub_content_dependencies: () -> ::Array[Types::HubContentDependency]
5040
5089
  def hub_content_status: () -> ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
@@ -5044,7 +5093,7 @@ module Aws
5044
5093
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_hub_content-instance_method
5045
5094
  def describe_hub_content: (
5046
5095
  hub_name: ::String,
5047
- hub_content_type: ("Model" | "Notebook"),
5096
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
5048
5097
  hub_content_name: ::String,
5049
5098
  ?hub_content_version: ::String
5050
5099
  ) -> _DescribeHubContentResponseSuccess
@@ -5953,7 +6002,7 @@ module Aws
5953
6002
  def import_hub_content: (
5954
6003
  hub_content_name: ::String,
5955
6004
  ?hub_content_version: ::String,
5956
- hub_content_type: ("Model" | "Notebook"),
6005
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
5957
6006
  document_schema_version: ::String,
5958
6007
  hub_name: ::String,
5959
6008
  ?hub_content_display_name: ::String,
@@ -6424,7 +6473,7 @@ module Aws
6424
6473
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_hub_content_versions-instance_method
6425
6474
  def list_hub_content_versions: (
6426
6475
  hub_name: ::String,
6427
- hub_content_type: ("Model" | "Notebook"),
6476
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
6428
6477
  hub_content_name: ::String,
6429
6478
  ?min_version: ::String,
6430
6479
  ?max_schema_version: ::String,
@@ -6445,7 +6494,7 @@ module Aws
6445
6494
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#list_hub_contents-instance_method
6446
6495
  def list_hub_contents: (
6447
6496
  hub_name: ::String,
6448
- hub_content_type: ("Model" | "Notebook"),
6497
+ hub_content_type: ("Model" | "Notebook" | "ModelReference"),
6449
6498
  ?name_contains: ::String,
6450
6499
  ?max_schema_version: ::String,
6451
6500
  ?creation_time_before: ::Time,
@@ -8456,6 +8505,9 @@ module Aws
8456
8505
  compression_type: ("None" | "Gzip"),
8457
8506
  model_access_config: {
8458
8507
  accept_eula: bool
8508
+ }?,
8509
+ hub_access_config: {
8510
+ hub_content_arn: ::String
8459
8511
  }?
8460
8512
  }?
8461
8513
  }?,
@@ -8494,6 +8546,9 @@ module Aws
8494
8546
  compression_type: ("None" | "Gzip"),
8495
8547
  model_access_config: {
8496
8548
  accept_eula: bool
8549
+ }?,
8550
+ hub_access_config: {
8551
+ hub_content_arn: ::String
8497
8552
  }?
8498
8553
  }?
8499
8554
  }?,
data/sig/types.rbs CHANGED
@@ -1238,6 +1238,21 @@ module Aws::SageMaker
1238
1238
  SENSITIVE: []
1239
1239
  end
1240
1240
 
1241
+ class CreateHubContentReferenceRequest
1242
+ attr_accessor hub_name: ::String
1243
+ attr_accessor sage_maker_public_hub_content_arn: ::String
1244
+ attr_accessor hub_content_name: ::String
1245
+ attr_accessor min_version: ::String
1246
+ attr_accessor tags: ::Array[Types::Tag]
1247
+ SENSITIVE: []
1248
+ end
1249
+
1250
+ class CreateHubContentReferenceResponse
1251
+ attr_accessor hub_arn: ::String
1252
+ attr_accessor hub_content_arn: ::String
1253
+ SENSITIVE: []
1254
+ end
1255
+
1241
1256
  class CreateHubRequest
1242
1257
  attr_accessor hub_name: ::String
1243
1258
  attr_accessor hub_description: ::String
@@ -2157,9 +2172,16 @@ module Aws::SageMaker
2157
2172
  class DeleteFlowDefinitionResponse < Aws::EmptyStructure
2158
2173
  end
2159
2174
 
2175
+ class DeleteHubContentReferenceRequest
2176
+ attr_accessor hub_name: ::String
2177
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
2178
+ attr_accessor hub_content_name: ::String
2179
+ SENSITIVE: []
2180
+ end
2181
+
2160
2182
  class DeleteHubContentRequest
2161
2183
  attr_accessor hub_name: ::String
2162
- attr_accessor hub_content_type: ("Model" | "Notebook")
2184
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
2163
2185
  attr_accessor hub_content_name: ::String
2164
2186
  attr_accessor hub_content_version: ::String
2165
2187
  SENSITIVE: []
@@ -2924,7 +2946,7 @@ module Aws::SageMaker
2924
2946
 
2925
2947
  class DescribeHubContentRequest
2926
2948
  attr_accessor hub_name: ::String
2927
- attr_accessor hub_content_type: ("Model" | "Notebook")
2949
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
2928
2950
  attr_accessor hub_content_name: ::String
2929
2951
  attr_accessor hub_content_version: ::String
2930
2952
  SENSITIVE: []
@@ -2934,7 +2956,7 @@ module Aws::SageMaker
2934
2956
  attr_accessor hub_content_name: ::String
2935
2957
  attr_accessor hub_content_arn: ::String
2936
2958
  attr_accessor hub_content_version: ::String
2937
- attr_accessor hub_content_type: ("Model" | "Notebook")
2959
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
2938
2960
  attr_accessor document_schema_version: ::String
2939
2961
  attr_accessor hub_name: ::String
2940
2962
  attr_accessor hub_arn: ::String
@@ -2942,6 +2964,9 @@ module Aws::SageMaker
2942
2964
  attr_accessor hub_content_description: ::String
2943
2965
  attr_accessor hub_content_markdown: ::String
2944
2966
  attr_accessor hub_content_document: ::String
2967
+ attr_accessor sage_maker_public_hub_content_arn: ::String
2968
+ attr_accessor reference_min_version: ::String
2969
+ attr_accessor support_status: ("Supported" | "Deprecated")
2945
2970
  attr_accessor hub_content_search_keywords: ::Array[::String]
2946
2971
  attr_accessor hub_content_dependencies: ::Array[Types::HubContentDependency]
2947
2972
  attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
@@ -4405,14 +4430,17 @@ module Aws::SageMaker
4405
4430
  class HubContentInfo
4406
4431
  attr_accessor hub_content_name: ::String
4407
4432
  attr_accessor hub_content_arn: ::String
4433
+ attr_accessor sage_maker_public_hub_content_arn: ::String
4408
4434
  attr_accessor hub_content_version: ::String
4409
- attr_accessor hub_content_type: ("Model" | "Notebook")
4435
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
4410
4436
  attr_accessor document_schema_version: ::String
4411
4437
  attr_accessor hub_content_display_name: ::String
4412
4438
  attr_accessor hub_content_description: ::String
4439
+ attr_accessor support_status: ("Supported" | "Deprecated")
4413
4440
  attr_accessor hub_content_search_keywords: ::Array[::String]
4414
4441
  attr_accessor hub_content_status: ("Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed")
4415
4442
  attr_accessor creation_time: ::Time
4443
+ attr_accessor original_creation_time: ::Time
4416
4444
  SENSITIVE: []
4417
4445
  end
4418
4446
 
@@ -4697,7 +4725,7 @@ module Aws::SageMaker
4697
4725
  class ImportHubContentRequest
4698
4726
  attr_accessor hub_content_name: ::String
4699
4727
  attr_accessor hub_content_version: ::String
4700
- attr_accessor hub_content_type: ("Model" | "Notebook")
4728
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
4701
4729
  attr_accessor document_schema_version: ::String
4702
4730
  attr_accessor hub_name: ::String
4703
4731
  attr_accessor hub_content_display_name: ::String
@@ -4814,6 +4842,11 @@ module Aws::SageMaker
4814
4842
  SENSITIVE: []
4815
4843
  end
4816
4844
 
4845
+ class InferenceHubAccessConfig
4846
+ attr_accessor hub_content_arn: ::String
4847
+ SENSITIVE: []
4848
+ end
4849
+
4817
4850
  class InferenceMetrics
4818
4851
  attr_accessor max_invocations: ::Integer
4819
4852
  attr_accessor model_latency: ::Integer
@@ -5518,7 +5551,7 @@ module Aws::SageMaker
5518
5551
 
5519
5552
  class ListHubContentVersionsRequest
5520
5553
  attr_accessor hub_name: ::String
5521
- attr_accessor hub_content_type: ("Model" | "Notebook")
5554
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
5522
5555
  attr_accessor hub_content_name: ::String
5523
5556
  attr_accessor min_version: ::String
5524
5557
  attr_accessor max_schema_version: ::String
@@ -5539,7 +5572,7 @@ module Aws::SageMaker
5539
5572
 
5540
5573
  class ListHubContentsRequest
5541
5574
  attr_accessor hub_name: ::String
5542
- attr_accessor hub_content_type: ("Model" | "Notebook")
5575
+ attr_accessor hub_content_type: ("Model" | "Notebook" | "ModelReference")
5543
5576
  attr_accessor name_contains: ::String
5544
5577
  attr_accessor max_schema_version: ::String
5545
5578
  attr_accessor creation_time_before: ::Time
@@ -8078,6 +8111,7 @@ module Aws::SageMaker
8078
8111
  attr_accessor s3_data_type: ("S3Prefix" | "S3Object")
8079
8112
  attr_accessor compression_type: ("None" | "Gzip")
8080
8113
  attr_accessor model_access_config: Types::ModelAccessConfig
8114
+ attr_accessor hub_access_config: Types::InferenceHubAccessConfig
8081
8115
  SENSITIVE: []
8082
8116
  end
8083
8117
 
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.247.0
4
+ version: 1.249.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: 2024-06-18 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.197.0
22
+ version: 3.198.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.197.0
32
+ version: 3.198.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement