aws-sdk-sagemaker 1.241.0 → 1.243.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-sagemaker/customizations'
53
53
  # @!group service
54
54
  module Aws::SageMaker
55
55
 
56
- GEM_VERSION = '1.241.0'
56
+ GEM_VERSION = '1.243.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -519,7 +519,7 @@ module Aws
519
519
  feature_specification_s3_uri: ::String?,
520
520
  algorithms_config: Array[
521
521
  {
522
- auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
522
+ auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
523
523
  },
524
524
  ]?
525
525
  }?,
@@ -608,13 +608,20 @@ module Aws
608
608
  {
609
609
  country_code: ::String?
610
610
  },
611
- ]?
611
+ ]?,
612
+ candidate_generation_config: {
613
+ algorithms_config: Array[
614
+ {
615
+ auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
616
+ },
617
+ ]?
618
+ }?
612
619
  }?,
613
620
  tabular_job_config: {
614
621
  candidate_generation_config: {
615
622
  algorithms_config: Array[
616
623
  {
617
- auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
624
+ auto_ml_algorithms: Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
618
625
  },
619
626
  ]?
620
627
  }?,
@@ -2887,7 +2894,14 @@ module Aws
2887
2894
  },
2888
2895
  ],
2889
2896
  ?skip_model_validation: ("All" | "None"),
2890
- ?source_uri: ::String
2897
+ ?source_uri: ::String,
2898
+ ?security_config: {
2899
+ kms_key_id: ::String
2900
+ },
2901
+ ?model_card: {
2902
+ model_card_content: ::String?,
2903
+ model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")?
2904
+ }
2891
2905
  ) -> _CreateModelPackageResponseSuccess
2892
2906
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelPackageResponseSuccess
2893
2907
 
@@ -4011,6 +4025,14 @@ module Aws
4011
4025
  ?notification_configuration: {
4012
4026
  notification_topic_arn: ::String?
4013
4027
  },
4028
+ ?worker_access_configuration: {
4029
+ s3_presign: {
4030
+ iam_policy_constraints: {
4031
+ source_ip: ("Enabled" | "Disabled")?,
4032
+ vpc_source_ip: ("Enabled" | "Disabled")?
4033
+ }?
4034
+ }?
4035
+ },
4014
4036
  ?tags: Array[
4015
4037
  {
4016
4038
  key: ::String,
@@ -5299,6 +5321,8 @@ module Aws
5299
5321
  def additional_inference_specifications: () -> ::Array[Types::AdditionalInferenceSpecificationDefinition]
5300
5322
  def skip_model_validation: () -> ("All" | "None")
5301
5323
  def source_uri: () -> ::String
5324
+ def security_config: () -> Types::ModelPackageSecurityConfig
5325
+ def model_card: () -> Types::ModelPackageModelCard
5302
5326
  end
5303
5327
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SageMaker/Client.html#describe_model_package-instance_method
5304
5328
  def describe_model_package: (
@@ -8354,7 +8378,11 @@ module Aws
8354
8378
  supported_content_types: Array[::String]?,
8355
8379
  supported_response_mime_types: Array[::String]?
8356
8380
  },
8357
- ?source_uri: ::String
8381
+ ?source_uri: ::String,
8382
+ ?model_card: {
8383
+ model_card_content: ::String?,
8384
+ model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")?
8385
+ }
8358
8386
  ) -> _UpdateModelPackageResponseSuccess
8359
8387
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateModelPackageResponseSuccess
8360
8388
 
@@ -8966,6 +8994,14 @@ module Aws
8966
8994
  ?description: ::String,
8967
8995
  ?notification_configuration: {
8968
8996
  notification_topic_arn: ::String?
8997
+ },
8998
+ ?worker_access_configuration: {
8999
+ s3_presign: {
9000
+ iam_policy_constraints: {
9001
+ source_ip: ("Enabled" | "Disabled")?,
9002
+ vpc_source_ip: ("Enabled" | "Disabled")?
9003
+ }?
9004
+ }?
8969
9005
  }
8970
9006
  ) -> _UpdateWorkteamResponseSuccess
8971
9007
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkteamResponseSuccess
data/sig/types.rbs CHANGED
@@ -247,7 +247,7 @@ module Aws::SageMaker
247
247
  end
248
248
 
249
249
  class AutoMLAlgorithmConfig
250
- attr_accessor auto_ml_algorithms: ::Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai")]
250
+ attr_accessor auto_ml_algorithms: ::Array[("xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets")]
251
251
  SENSITIVE: []
252
252
  end
253
253
 
@@ -1473,6 +1473,8 @@ module Aws::SageMaker
1473
1473
  attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
1474
1474
  attr_accessor skip_model_validation: ("All" | "None")
1475
1475
  attr_accessor source_uri: ::String
1476
+ attr_accessor security_config: Types::ModelPackageSecurityConfig
1477
+ attr_accessor model_card: Types::ModelPackageModelCard
1476
1478
  SENSITIVE: []
1477
1479
  end
1478
1480
 
@@ -1782,6 +1784,7 @@ module Aws::SageMaker
1782
1784
  attr_accessor member_definitions: ::Array[Types::MemberDefinition]
1783
1785
  attr_accessor description: ::String
1784
1786
  attr_accessor notification_configuration: Types::NotificationConfiguration
1787
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
1785
1788
  attr_accessor tags: ::Array[Types::Tag]
1786
1789
  SENSITIVE: []
1787
1790
  end
@@ -3244,6 +3247,8 @@ module Aws::SageMaker
3244
3247
  attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
3245
3248
  attr_accessor skip_model_validation: ("All" | "None")
3246
3249
  attr_accessor source_uri: ::String
3250
+ attr_accessor security_config: Types::ModelPackageSecurityConfig
3251
+ attr_accessor model_card: Types::ModelPackageModelCard
3247
3252
  SENSITIVE: []
3248
3253
  end
3249
3254
 
@@ -4551,6 +4556,12 @@ module Aws::SageMaker
4551
4556
  SENSITIVE: []
4552
4557
  end
4553
4558
 
4559
+ class IamPolicyConstraints
4560
+ attr_accessor source_ip: ("Enabled" | "Disabled")
4561
+ attr_accessor vpc_source_ip: ("Enabled" | "Disabled")
4562
+ SENSITIVE: []
4563
+ end
4564
+
4554
4565
  class IdentityProviderOAuthSetting
4555
4566
  attr_accessor data_source_name: ("SalesforceGenie" | "Snowflake")
4556
4567
  attr_accessor status: ("ENABLED" | "DISABLED")
@@ -6660,6 +6671,8 @@ module Aws::SageMaker
6660
6671
  attr_accessor sample_payload_url: ::String
6661
6672
  attr_accessor additional_inference_specifications: ::Array[Types::AdditionalInferenceSpecificationDefinition]
6662
6673
  attr_accessor source_uri: ::String
6674
+ attr_accessor security_config: Types::ModelPackageSecurityConfig
6675
+ attr_accessor model_card: Types::ModelPackageModelCard
6663
6676
  attr_accessor tags: ::Array[Types::Tag]
6664
6677
  attr_accessor customer_metadata_properties: ::Hash[::String, ::String]
6665
6678
  attr_accessor drift_check_baselines: Types::DriftCheckBaselines
@@ -6703,6 +6716,17 @@ module Aws::SageMaker
6703
6716
  SENSITIVE: []
6704
6717
  end
6705
6718
 
6719
+ class ModelPackageModelCard
6720
+ attr_accessor model_card_content: ::String
6721
+ attr_accessor model_card_status: ("Draft" | "PendingReview" | "Approved" | "Archived")
6722
+ SENSITIVE: [:model_card_content]
6723
+ end
6724
+
6725
+ class ModelPackageSecurityConfig
6726
+ attr_accessor kms_key_id: ::String
6727
+ SENSITIVE: []
6728
+ end
6729
+
6706
6730
  class ModelPackageStatusDetails
6707
6731
  attr_accessor validation_statuses: ::Array[Types::ModelPackageStatusItem]
6708
6732
  attr_accessor image_scan_statuses: ::Array[Types::ModelPackageStatusItem]
@@ -7942,6 +7966,11 @@ module Aws::SageMaker
7942
7966
  SENSITIVE: []
7943
7967
  end
7944
7968
 
7969
+ class S3Presign
7970
+ attr_accessor iam_policy_constraints: Types::IamPolicyConstraints
7971
+ SENSITIVE: []
7972
+ end
7973
+
7945
7974
  class S3StorageConfig
7946
7975
  attr_accessor s3_uri: ::String
7947
7976
  attr_accessor kms_key_id: ::String
@@ -8464,6 +8493,7 @@ module Aws::SageMaker
8464
8493
  attr_accessor transformations: Types::TimeSeriesTransformations
8465
8494
  attr_accessor time_series_config: Types::TimeSeriesConfig
8466
8495
  attr_accessor holiday_config: ::Array[Types::HolidayConfigAttributes]
8496
+ attr_accessor candidate_generation_config: Types::CandidateGenerationConfig
8467
8497
  SENSITIVE: []
8468
8498
  end
8469
8499
 
@@ -9133,6 +9163,7 @@ module Aws::SageMaker
9133
9163
  attr_accessor additional_inference_specifications_to_add: ::Array[Types::AdditionalInferenceSpecificationDefinition]
9134
9164
  attr_accessor inference_specification: Types::InferenceSpecification
9135
9165
  attr_accessor source_uri: ::String
9166
+ attr_accessor model_card: Types::ModelPackageModelCard
9136
9167
  SENSITIVE: []
9137
9168
  end
9138
9169
 
@@ -9327,6 +9358,7 @@ module Aws::SageMaker
9327
9358
  attr_accessor member_definitions: ::Array[Types::MemberDefinition]
9328
9359
  attr_accessor description: ::String
9329
9360
  attr_accessor notification_configuration: Types::NotificationConfiguration
9361
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
9330
9362
  SENSITIVE: []
9331
9363
  end
9332
9364
 
@@ -9408,6 +9440,11 @@ module Aws::SageMaker
9408
9440
  SENSITIVE: []
9409
9441
  end
9410
9442
 
9443
+ class WorkerAccessConfiguration
9444
+ attr_accessor s3_presign: Types::S3Presign
9445
+ SENSITIVE: []
9446
+ end
9447
+
9411
9448
  class Workforce
9412
9449
  attr_accessor workforce_name: ::String
9413
9450
  attr_accessor workforce_arn: ::String
@@ -9455,6 +9492,7 @@ module Aws::SageMaker
9455
9492
  attr_accessor create_date: ::Time
9456
9493
  attr_accessor last_updated_date: ::Time
9457
9494
  attr_accessor notification_configuration: Types::NotificationConfiguration
9495
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
9458
9496
  SENSITIVE: []
9459
9497
  end
9460
9498
  end
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.241.0
4
+ version: 1.243.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core