aws-sdk-sagemaker 1.241.0 → 1.242.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 600db6a47adc28047248a7adb467fb761e06fde1739a714b1424d5b04f1a3df6
4
- data.tar.gz: 5ba92613c2e02722ddd7ee2329bc8234ba201b02989de7174695268681c2d336
3
+ metadata.gz: beec203bdcab1b6932b1020a3e119505aa18341f0c78c1918c5c77ef88f4aa68
4
+ data.tar.gz: 8fe3566a399d4f56f7abc1cf7362067e207d8cfa9d6ffe1446510db6f306db3b
5
5
  SHA512:
6
- metadata.gz: 7cfd55ef5f7197daa786a00e864017dd149062a18bb84967705ea08e1dea2b81e344d69b0d32b80c70eeb5331bf38a7b4e8ae1ffb57ae10b0be86f0d83d44d49
7
- data.tar.gz: 0054e009e20bab0ad52cd04bb573535256cc79021b202ebaed1f11f1ba35d0fb9e11380bb370974a7f7cb2fb80aa0899ecdf966b4e7d5f20db1fd1d42e1d339e
6
+ metadata.gz: 5c70e8e01060eb2ccb51c26d2150c95ff561a3b86da3912652bc916dc28d1b1a4a863198701d564988906ebd35333280520278ca3e1d0e5e1036658ba8ac1d5a
7
+ data.tar.gz: fe250ebf1758ebb0c6a8c28b4c498515b4bcba8768eb542597a029a484ea2a1c074599018197f681141bd60a92a8d54608b1b0f3d978f327fa08d50afd2cc4fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.242.0 (2024-05-16)
5
+ ------------------
6
+
7
+ * Feature - Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam.
8
+
4
9
  1.241.0 (2024-05-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.241.0
1
+ 1.242.0
@@ -7613,7 +7613,8 @@ module Aws::SageMaker
7613
7613
  req.send_request(options)
7614
7614
  end
7615
7615
 
7616
- # Creates a space used for real time collaboration in a domain.
7616
+ # Creates a private space or a space used for real time collaboration in
7617
+ # a domain.
7617
7618
  #
7618
7619
  # @option params [required, String] :domain_id
7619
7620
  # The ID of the associated domain.
@@ -9108,6 +9109,12 @@ module Aws::SageMaker
9108
9109
  # Configures notification of workers regarding available or expiring
9109
9110
  # work items.
9110
9111
  #
9112
+ # @option params [Types::WorkerAccessConfiguration] :worker_access_configuration
9113
+ # Use this optional parameter to constrain access to an Amazon S3
9114
+ # resource based on the IP address using supported IAM global condition
9115
+ # keys. The Amazon S3 resource is accessed in the worker portal using a
9116
+ # Amazon S3 presigned URL.
9117
+ #
9111
9118
  # @option params [Array<Types::Tag>] :tags
9112
9119
  # An array of key-value pairs.
9113
9120
  #
@@ -9145,6 +9152,14 @@ module Aws::SageMaker
9145
9152
  # notification_configuration: {
9146
9153
  # notification_topic_arn: "NotificationTopicArn",
9147
9154
  # },
9155
+ # worker_access_configuration: {
9156
+ # s3_presign: {
9157
+ # iam_policy_constraints: {
9158
+ # source_ip: "Enabled", # accepts Enabled, Disabled
9159
+ # vpc_source_ip: "Enabled", # accepts Enabled, Disabled
9160
+ # },
9161
+ # },
9162
+ # },
9148
9163
  # tags: [
9149
9164
  # {
9150
9165
  # key: "TagKey", # required
@@ -15958,6 +15973,8 @@ module Aws::SageMaker
15958
15973
  # resp.workteam.create_date #=> Time
15959
15974
  # resp.workteam.last_updated_date #=> Time
15960
15975
  # resp.workteam.notification_configuration.notification_topic_arn #=> String
15976
+ # resp.workteam.worker_access_configuration.s3_presign.iam_policy_constraints.source_ip #=> String, one of "Enabled", "Disabled"
15977
+ # resp.workteam.worker_access_configuration.s3_presign.iam_policy_constraints.vpc_source_ip #=> String, one of "Enabled", "Disabled"
15961
15978
  #
15962
15979
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam AWS API Documentation
15963
15980
  #
@@ -16694,11 +16711,13 @@ module Aws::SageMaker
16694
16711
  # Use it in your next request to receive the next set of results.
16695
16712
  #
16696
16713
  # @option params [Integer] :max_results
16697
- # The total number of items to return in the response. If the total
16698
- # number of items available is more than the value specified, a
16699
- # `NextToken` is provided in the response. To resume pagination, provide
16700
- # the `NextToken` value in the as part of a subsequent call. The default
16701
- # value is 10.
16714
+ # This parameter defines the maximum number of results that can be
16715
+ # returned in a single response. The `MaxResults` parameter is an upper
16716
+ # bound, not a target. If there are more results available than the
16717
+ # value specified, a `NextToken` is provided in the response. The
16718
+ # `NextToken` indicates that the user should get the next set of results
16719
+ # by providing this token as a part of a subsequent call. The default
16720
+ # value for `MaxResults` is 10.
16702
16721
  #
16703
16722
  # @option params [String] :sort_order
16704
16723
  # The sort order for the results. The default is Ascending.
@@ -17762,11 +17781,13 @@ module Aws::SageMaker
17762
17781
  # Use it in your next request to receive the next set of results.
17763
17782
  #
17764
17783
  # @option params [Integer] :max_results
17765
- # The total number of items to return in the response. If the total
17766
- # number of items available is more than the value specified, a
17767
- # `NextToken` is provided in the response. To resume pagination, provide
17768
- # the `NextToken` value in the as part of a subsequent call. The default
17769
- # value is 10.
17784
+ # This parameter defines the maximum number of results that can be
17785
+ # returned in a single response. The `MaxResults` parameter is an upper
17786
+ # bound, not a target. If there are more results available than the
17787
+ # value specified, a `NextToken` is provided in the response. The
17788
+ # `NextToken` indicates that the user should get the next set of results
17789
+ # by providing this token as a part of a subsequent call. The default
17790
+ # value for `MaxResults` is 10.
17770
17791
  #
17771
17792
  # @return [Types::ListDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
17772
17793
  #
@@ -21229,11 +21250,13 @@ module Aws::SageMaker
21229
21250
  # Use it in your next request to receive the next set of results.
21230
21251
  #
21231
21252
  # @option params [Integer] :max_results
21232
- # The total number of items to return in the response. If the total
21233
- # number of items available is more than the value specified, a
21234
- # `NextToken` is provided in the response. To resume pagination, provide
21235
- # the `NextToken` value in the as part of a subsequent call. The default
21236
- # value is 10.
21253
+ # This parameter defines the maximum number of results that can be
21254
+ # returned in a single response. The `MaxResults` parameter is an upper
21255
+ # bound, not a target. If there are more results available than the
21256
+ # value specified, a `NextToken` is provided in the response. The
21257
+ # `NextToken` indicates that the user should get the next set of results
21258
+ # by providing this token as a part of a subsequent call. The default
21259
+ # value for `MaxResults` is 10.
21237
21260
  #
21238
21261
  # @option params [String] :sort_order
21239
21262
  # The sort order for the results. The default is `Ascending`.
@@ -21999,11 +22022,13 @@ module Aws::SageMaker
21999
22022
  # Use it in your next request to receive the next set of results.
22000
22023
  #
22001
22024
  # @option params [Integer] :max_results
22002
- # The total number of items to return in the response. If the total
22003
- # number of items available is more than the value specified, a
22004
- # `NextToken` is provided in the response. To resume pagination, provide
22005
- # the `NextToken` value in the as part of a subsequent call. The default
22006
- # value is 10.
22025
+ # This parameter defines the maximum number of results that can be
22026
+ # returned in a single response. The `MaxResults` parameter is an upper
22027
+ # bound, not a target. If there are more results available than the
22028
+ # value specified, a `NextToken` is provided in the response. The
22029
+ # `NextToken` indicates that the user should get the next set of results
22030
+ # by providing this token as a part of a subsequent call. The default
22031
+ # value for `MaxResults` is 10.
22007
22032
  #
22008
22033
  # @option params [String] :sort_order
22009
22034
  # The sort order for the results. The default is Ascending.
@@ -22189,6 +22214,8 @@ module Aws::SageMaker
22189
22214
  # resp.workteams[0].create_date #=> Time
22190
22215
  # resp.workteams[0].last_updated_date #=> Time
22191
22216
  # resp.workteams[0].notification_configuration.notification_topic_arn #=> String
22217
+ # resp.workteams[0].worker_access_configuration.s3_presign.iam_policy_constraints.source_ip #=> String, one of "Enabled", "Disabled"
22218
+ # resp.workteams[0].worker_access_configuration.s3_presign.iam_policy_constraints.vpc_source_ip #=> String, one of "Enabled", "Disabled"
22192
22219
  # resp.next_token #=> String
22193
22220
  #
22194
22221
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams AWS API Documentation
@@ -26261,6 +26288,12 @@ module Aws::SageMaker
26261
26288
  # Configures SNS topic notifications for available or expiring work
26262
26289
  # items
26263
26290
  #
26291
+ # @option params [Types::WorkerAccessConfiguration] :worker_access_configuration
26292
+ # Use this optional parameter to constrain access to an Amazon S3
26293
+ # resource based on the IP address using supported IAM global condition
26294
+ # keys. The Amazon S3 resource is accessed in the worker portal using a
26295
+ # Amazon S3 presigned URL.
26296
+ #
26264
26297
  # @return [Types::UpdateWorkteamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
26265
26298
  #
26266
26299
  # * {Types::UpdateWorkteamResponse#workteam #workteam} => Types::Workteam
@@ -26285,6 +26318,14 @@ module Aws::SageMaker
26285
26318
  # notification_configuration: {
26286
26319
  # notification_topic_arn: "NotificationTopicArn",
26287
26320
  # },
26321
+ # worker_access_configuration: {
26322
+ # s3_presign: {
26323
+ # iam_policy_constraints: {
26324
+ # source_ip: "Enabled", # accepts Enabled, Disabled
26325
+ # vpc_source_ip: "Enabled", # accepts Enabled, Disabled
26326
+ # },
26327
+ # },
26328
+ # },
26288
26329
  # })
26289
26330
  #
26290
26331
  # @example Response structure
@@ -26305,6 +26346,8 @@ module Aws::SageMaker
26305
26346
  # resp.workteam.create_date #=> Time
26306
26347
  # resp.workteam.last_updated_date #=> Time
26307
26348
  # resp.workteam.notification_configuration.notification_topic_arn #=> String
26349
+ # resp.workteam.worker_access_configuration.s3_presign.iam_policy_constraints.source_ip #=> String, one of "Enabled", "Disabled"
26350
+ # resp.workteam.worker_access_configuration.s3_presign.iam_policy_constraints.vpc_source_ip #=> String, one of "Enabled", "Disabled"
26308
26351
  #
26309
26352
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam AWS API Documentation
26310
26353
  #
@@ -26328,7 +26371,7 @@ module Aws::SageMaker
26328
26371
  params: params,
26329
26372
  config: config)
26330
26373
  context[:gem_name] = 'aws-sdk-sagemaker'
26331
- context[:gem_version] = '1.241.0'
26374
+ context[:gem_version] = '1.242.0'
26332
26375
  Seahorse::Client::Request.new(handlers, context)
26333
26376
  end
26334
26377
 
@@ -783,6 +783,7 @@ module Aws::SageMaker
783
783
  EnableSagemakerServicecatalogPortfolioInput = Shapes::StructureShape.new(name: 'EnableSagemakerServicecatalogPortfolioInput')
784
784
  EnableSagemakerServicecatalogPortfolioOutput = Shapes::StructureShape.new(name: 'EnableSagemakerServicecatalogPortfolioOutput')
785
785
  EnableSessionTagChaining = Shapes::BooleanShape.new(name: 'EnableSessionTagChaining')
786
+ EnabledOrDisabled = Shapes::StringShape.new(name: 'EnabledOrDisabled')
786
787
  Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
787
788
  EndpointArn = Shapes::StringShape.new(name: 'EndpointArn')
788
789
  EndpointConfigArn = Shapes::StringShape.new(name: 'EndpointConfigArn')
@@ -1002,6 +1003,7 @@ module Aws::SageMaker
1002
1003
  HyperbandStrategyMaxResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMaxResource')
1003
1004
  HyperbandStrategyMinResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMinResource')
1004
1005
  IamIdentity = Shapes::StructureShape.new(name: 'IamIdentity')
1006
+ IamPolicyConstraints = Shapes::StructureShape.new(name: 'IamPolicyConstraints')
1005
1007
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
1006
1008
  IdentityProviderOAuthSetting = Shapes::StructureShape.new(name: 'IdentityProviderOAuthSetting')
1007
1009
  IdentityProviderOAuthSettings = Shapes::ListShape.new(name: 'IdentityProviderOAuthSettings')
@@ -1837,6 +1839,7 @@ module Aws::SageMaker
1837
1839
  S3ModelDataType = Shapes::StringShape.new(name: 'S3ModelDataType')
1838
1840
  S3ModelUri = Shapes::StringShape.new(name: 'S3ModelUri')
1839
1841
  S3OutputPath = Shapes::StringShape.new(name: 'S3OutputPath')
1842
+ S3Presign = Shapes::StructureShape.new(name: 'S3Presign')
1840
1843
  S3StorageConfig = Shapes::StructureShape.new(name: 'S3StorageConfig')
1841
1844
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
1842
1845
  SageMakerImageVersionAlias = Shapes::StringShape.new(name: 'SageMakerImageVersionAlias')
@@ -2237,6 +2240,7 @@ module Aws::SageMaker
2237
2240
  WaitIntervalInSeconds = Shapes::IntegerShape.new(name: 'WaitIntervalInSeconds')
2238
2241
  WarmPoolResourceStatus = Shapes::StringShape.new(name: 'WarmPoolResourceStatus')
2239
2242
  WarmPoolStatus = Shapes::StructureShape.new(name: 'WarmPoolStatus')
2243
+ WorkerAccessConfiguration = Shapes::StructureShape.new(name: 'WorkerAccessConfiguration')
2240
2244
  Workforce = Shapes::StructureShape.new(name: 'Workforce')
2241
2245
  WorkforceArn = Shapes::StringShape.new(name: 'WorkforceArn')
2242
2246
  WorkforceFailureReason = Shapes::StringShape.new(name: 'WorkforceFailureReason')
@@ -3695,6 +3699,7 @@ module Aws::SageMaker
3695
3699
  CreateWorkteamRequest.add_member(:member_definitions, Shapes::ShapeRef.new(shape: MemberDefinitions, required: true, location_name: "MemberDefinitions"))
3696
3700
  CreateWorkteamRequest.add_member(:description, Shapes::ShapeRef.new(shape: String200, required: true, location_name: "Description"))
3697
3701
  CreateWorkteamRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
3702
+ CreateWorkteamRequest.add_member(:worker_access_configuration, Shapes::ShapeRef.new(shape: WorkerAccessConfiguration, location_name: "WorkerAccessConfiguration"))
3698
3703
  CreateWorkteamRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
3699
3704
  CreateWorkteamRequest.struct_class = Types::CreateWorkteamRequest
3700
3705
 
@@ -5956,6 +5961,10 @@ module Aws::SageMaker
5956
5961
  IamIdentity.add_member(:source_identity, Shapes::ShapeRef.new(shape: String, location_name: "SourceIdentity"))
5957
5962
  IamIdentity.struct_class = Types::IamIdentity
5958
5963
 
5964
+ IamPolicyConstraints.add_member(:source_ip, Shapes::ShapeRef.new(shape: EnabledOrDisabled, location_name: "SourceIp"))
5965
+ IamPolicyConstraints.add_member(:vpc_source_ip, Shapes::ShapeRef.new(shape: EnabledOrDisabled, location_name: "VpcSourceIp"))
5966
+ IamPolicyConstraints.struct_class = Types::IamPolicyConstraints
5967
+
5959
5968
  IdentityProviderOAuthSetting.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "DataSourceName"))
5960
5969
  IdentityProviderOAuthSetting.add_member(:status, Shapes::ShapeRef.new(shape: FeatureStatus, location_name: "Status"))
5961
5970
  IdentityProviderOAuthSetting.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
@@ -8736,6 +8745,9 @@ module Aws::SageMaker
8736
8745
  S3ModelDataSource.add_member(:model_access_config, Shapes::ShapeRef.new(shape: ModelAccessConfig, location_name: "ModelAccessConfig"))
8737
8746
  S3ModelDataSource.struct_class = Types::S3ModelDataSource
8738
8747
 
8748
+ S3Presign.add_member(:iam_policy_constraints, Shapes::ShapeRef.new(shape: IamPolicyConstraints, location_name: "IamPolicyConstraints"))
8749
+ S3Presign.struct_class = Types::S3Presign
8750
+
8739
8751
  S3StorageConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "S3Uri"))
8740
8752
  S3StorageConfig.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
8741
8753
  S3StorageConfig.add_member(:resolved_output_s3_uri, Shapes::ShapeRef.new(shape: S3Uri, location_name: "ResolvedOutputS3Uri"))
@@ -9812,6 +9824,7 @@ module Aws::SageMaker
9812
9824
  UpdateWorkteamRequest.add_member(:member_definitions, Shapes::ShapeRef.new(shape: MemberDefinitions, location_name: "MemberDefinitions"))
9813
9825
  UpdateWorkteamRequest.add_member(:description, Shapes::ShapeRef.new(shape: String200, location_name: "Description"))
9814
9826
  UpdateWorkteamRequest.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
9827
+ UpdateWorkteamRequest.add_member(:worker_access_configuration, Shapes::ShapeRef.new(shape: WorkerAccessConfiguration, location_name: "WorkerAccessConfiguration"))
9815
9828
  UpdateWorkteamRequest.struct_class = Types::UpdateWorkteamRequest
9816
9829
 
9817
9830
  UpdateWorkteamResponse.add_member(:workteam, Shapes::ShapeRef.new(shape: Workteam, required: true, location_name: "Workteam"))
@@ -9884,6 +9897,9 @@ module Aws::SageMaker
9884
9897
  WarmPoolStatus.add_member(:reused_by_job, Shapes::ShapeRef.new(shape: TrainingJobName, location_name: "ReusedByJob"))
9885
9898
  WarmPoolStatus.struct_class = Types::WarmPoolStatus
9886
9899
 
9900
+ WorkerAccessConfiguration.add_member(:s3_presign, Shapes::ShapeRef.new(shape: S3Presign, location_name: "S3Presign"))
9901
+ WorkerAccessConfiguration.struct_class = Types::WorkerAccessConfiguration
9902
+
9887
9903
  Workforce.add_member(:workforce_name, Shapes::ShapeRef.new(shape: WorkforceName, required: true, location_name: "WorkforceName"))
9888
9904
  Workforce.add_member(:workforce_arn, Shapes::ShapeRef.new(shape: WorkforceArn, required: true, location_name: "WorkforceArn"))
9889
9905
  Workforce.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedDate"))
@@ -9928,6 +9944,7 @@ module Aws::SageMaker
9928
9944
  Workteam.add_member(:create_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateDate"))
9929
9945
  Workteam.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedDate"))
9930
9946
  Workteam.add_member(:notification_configuration, Shapes::ShapeRef.new(shape: NotificationConfiguration, location_name: "NotificationConfiguration"))
9947
+ Workteam.add_member(:worker_access_configuration, Shapes::ShapeRef.new(shape: WorkerAccessConfiguration, location_name: "WorkerAccessConfiguration"))
9931
9948
  Workteam.struct_class = Types::Workteam
9932
9949
 
9933
9950
  Workteams.member = Shapes::ShapeRef.new(shape: Workteam)
@@ -9574,6 +9574,13 @@ module Aws::SageMaker
9574
9574
  # work items.
9575
9575
  # @return [Types::NotificationConfiguration]
9576
9576
  #
9577
+ # @!attribute [rw] worker_access_configuration
9578
+ # Use this optional parameter to constrain access to an Amazon S3
9579
+ # resource based on the IP address using supported IAM global
9580
+ # condition keys. The Amazon S3 resource is accessed in the worker
9581
+ # portal using a Amazon S3 presigned URL.
9582
+ # @return [Types::WorkerAccessConfiguration]
9583
+ #
9577
9584
  # @!attribute [rw] tags
9578
9585
  # An array of key-value pairs.
9579
9586
  #
@@ -9595,6 +9602,7 @@ module Aws::SageMaker
9595
9602
  :member_definitions,
9596
9603
  :description,
9597
9604
  :notification_configuration,
9605
+ :worker_access_configuration,
9598
9606
  :tags)
9599
9607
  SENSITIVE = []
9600
9608
  include Aws::Structure
@@ -22581,6 +22589,41 @@ module Aws::SageMaker
22581
22589
  include Aws::Structure
22582
22590
  end
22583
22591
 
22592
+ # Use this parameter to specify a supported global condition key that is
22593
+ # added to the IAM policy.
22594
+ #
22595
+ # @!attribute [rw] source_ip
22596
+ # When `SourceIp` is `Enabled` the worker's IP address when a task is
22597
+ # rendered in the worker portal is added to the IAM policy as a
22598
+ # `Condition` used to generate the Amazon S3 presigned URL. This IP
22599
+ # address is checked by Amazon S3 and must match in order for the
22600
+ # Amazon S3 resource to be rendered in the worker portal.
22601
+ # @return [String]
22602
+ #
22603
+ # @!attribute [rw] vpc_source_ip
22604
+ # When `VpcSourceIp` is `Enabled` the worker's IP address when a task
22605
+ # is rendered in private worker portal inside the VPC is added to the
22606
+ # IAM policy as a `Condition` used to generate the Amazon S3 presigned
22607
+ # URL. To render the task successfully Amazon S3 checks that the
22608
+ # presigned URL is being accessed over an Amazon S3 VPC Endpoint, and
22609
+ # that the worker's IP address matches the IP address in the IAM
22610
+ # policy. To learn more about configuring private worker portal, see
22611
+ # [Use Amazon VPC mode from a private worker portal][1].
22612
+ #
22613
+ #
22614
+ #
22615
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/samurai-vpc-worker-portal.html
22616
+ # @return [String]
22617
+ #
22618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/IamPolicyConstraints AWS API Documentation
22619
+ #
22620
+ class IamPolicyConstraints < Struct.new(
22621
+ :source_ip,
22622
+ :vpc_source_ip)
22623
+ SENSITIVE = []
22624
+ include Aws::Structure
22625
+ end
22626
+
22584
22627
  # The Amazon SageMaker Canvas application setting where you configure
22585
22628
  # OAuth for connecting to an external data source, such as Snowflake.
22586
22629
  #
@@ -24895,11 +24938,13 @@ module Aws::SageMaker
24895
24938
  # @return [String]
24896
24939
  #
24897
24940
  # @!attribute [rw] max_results
24898
- # The total number of items to return in the response. If the total
24899
- # number of items available is more than the value specified, a
24900
- # `NextToken` is provided in the response. To resume pagination,
24901
- # provide the `NextToken` value in the as part of a subsequent call.
24902
- # The default value is 10.
24941
+ # This parameter defines the maximum number of results that can be
24942
+ # returned in a single response. The `MaxResults` parameter is an
24943
+ # upper bound, not a target. If there are more results available than
24944
+ # the value specified, a `NextToken` is provided in the response. The
24945
+ # `NextToken` indicates that the user should get the next set of
24946
+ # results by providing this token as a part of a subsequent call. The
24947
+ # default value for `MaxResults` is 10.
24903
24948
  # @return [Integer]
24904
24949
  #
24905
24950
  # @!attribute [rw] sort_order
@@ -25911,11 +25956,13 @@ module Aws::SageMaker
25911
25956
  # @return [String]
25912
25957
  #
25913
25958
  # @!attribute [rw] max_results
25914
- # The total number of items to return in the response. If the total
25915
- # number of items available is more than the value specified, a
25916
- # `NextToken` is provided in the response. To resume pagination,
25917
- # provide the `NextToken` value in the as part of a subsequent call.
25918
- # The default value is 10.
25959
+ # This parameter defines the maximum number of results that can be
25960
+ # returned in a single response. The `MaxResults` parameter is an
25961
+ # upper bound, not a target. If there are more results available than
25962
+ # the value specified, a `NextToken` is provided in the response. The
25963
+ # `NextToken` indicates that the user should get the next set of
25964
+ # results by providing this token as a part of a subsequent call. The
25965
+ # default value for `MaxResults` is 10.
25919
25966
  # @return [Integer]
25920
25967
  #
25921
25968
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomainsRequest AWS API Documentation
@@ -29235,11 +29282,13 @@ module Aws::SageMaker
29235
29282
  # @return [String]
29236
29283
  #
29237
29284
  # @!attribute [rw] max_results
29238
- # The total number of items to return in the response. If the total
29239
- # number of items available is more than the value specified, a
29240
- # `NextToken` is provided in the response. To resume pagination,
29241
- # provide the `NextToken` value in the as part of a subsequent call.
29242
- # The default value is 10.
29285
+ # This parameter defines the maximum number of results that can be
29286
+ # returned in a single response. The `MaxResults` parameter is an
29287
+ # upper bound, not a target. If there are more results available than
29288
+ # the value specified, a `NextToken` is provided in the response. The
29289
+ # `NextToken` indicates that the user should get the next set of
29290
+ # results by providing this token as a part of a subsequent call. The
29291
+ # default value for `MaxResults` is 10.
29243
29292
  # @return [Integer]
29244
29293
  #
29245
29294
  # @!attribute [rw] sort_order
@@ -29919,11 +29968,13 @@ module Aws::SageMaker
29919
29968
  # @return [String]
29920
29969
  #
29921
29970
  # @!attribute [rw] max_results
29922
- # The total number of items to return in the response. If the total
29923
- # number of items available is more than the value specified, a
29924
- # `NextToken` is provided in the response. To resume pagination,
29925
- # provide the `NextToken` value in the as part of a subsequent call.
29926
- # The default value is 10.
29971
+ # This parameter defines the maximum number of results that can be
29972
+ # returned in a single response. The `MaxResults` parameter is an
29973
+ # upper bound, not a target. If there are more results available than
29974
+ # the value specified, a `NextToken` is provided in the response. The
29975
+ # `NextToken` indicates that the user should get the next set of
29976
+ # results by providing this token as a part of a subsequent call. The
29977
+ # default value for `MaxResults` is 10.
29927
29978
  # @return [Integer]
29928
29979
  #
29929
29980
  # @!attribute [rw] sort_order
@@ -38109,6 +38160,30 @@ module Aws::SageMaker
38109
38160
  include Aws::Structure
38110
38161
  end
38111
38162
 
38163
+ # This object defines the access restrictions to Amazon S3 resources
38164
+ # that are included in custom worker task templates using the Liquid
38165
+ # filter, `grant_read_access`.
38166
+ #
38167
+ # To learn more about how custom templates are created, see [Create
38168
+ # custom worker task templates][1].
38169
+ #
38170
+ #
38171
+ #
38172
+ # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html
38173
+ #
38174
+ # @!attribute [rw] iam_policy_constraints
38175
+ # Use this parameter to specify the allowed request source. Possible
38176
+ # sources are either `SourceIp` or `VpcSourceIp`.
38177
+ # @return [Types::IamPolicyConstraints]
38178
+ #
38179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/S3Presign AWS API Documentation
38180
+ #
38181
+ class S3Presign < Struct.new(
38182
+ :iam_policy_constraints)
38183
+ SENSITIVE = []
38184
+ include Aws::Structure
38185
+ end
38186
+
38112
38187
  # The Amazon Simple Storage (Amazon S3) location and security
38113
38188
  # configuration for `OfflineStore`.
38114
38189
  #
@@ -44648,13 +44723,21 @@ module Aws::SageMaker
44648
44723
  # items
44649
44724
  # @return [Types::NotificationConfiguration]
44650
44725
  #
44726
+ # @!attribute [rw] worker_access_configuration
44727
+ # Use this optional parameter to constrain access to an Amazon S3
44728
+ # resource based on the IP address using supported IAM global
44729
+ # condition keys. The Amazon S3 resource is accessed in the worker
44730
+ # portal using a Amazon S3 presigned URL.
44731
+ # @return [Types::WorkerAccessConfiguration]
44732
+ #
44651
44733
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteamRequest AWS API Documentation
44652
44734
  #
44653
44735
  class UpdateWorkteamRequest < Struct.new(
44654
44736
  :workteam_name,
44655
44737
  :member_definitions,
44656
44738
  :description,
44657
- :notification_configuration)
44739
+ :notification_configuration,
44740
+ :worker_access_configuration)
44658
44741
  SENSITIVE = []
44659
44742
  include Aws::Structure
44660
44743
  end
@@ -45043,6 +45126,23 @@ module Aws::SageMaker
45043
45126
  include Aws::Structure
45044
45127
  end
45045
45128
 
45129
+ # Use this optional parameter to constrain access to an Amazon S3
45130
+ # resource based on the IP address using supported IAM global condition
45131
+ # keys. The Amazon S3 resource is accessed in the worker portal using a
45132
+ # Amazon S3 presigned URL.
45133
+ #
45134
+ # @!attribute [rw] s3_presign
45135
+ # Defines any Amazon S3 resource constraints.
45136
+ # @return [Types::S3Presign]
45137
+ #
45138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/WorkerAccessConfiguration AWS API Documentation
45139
+ #
45140
+ class WorkerAccessConfiguration < Struct.new(
45141
+ :s3_presign)
45142
+ SENSITIVE = []
45143
+ include Aws::Structure
45144
+ end
45145
+
45046
45146
  # A single private workforce, which is automatically created when you
45047
45147
  # create your first private work team. You can create one private work
45048
45148
  # force in each Amazon Web Services Region. By default, any
@@ -45267,6 +45367,11 @@ module Aws::SageMaker
45267
45367
  # work teams.
45268
45368
  # @return [Types::NotificationConfiguration]
45269
45369
  #
45370
+ # @!attribute [rw] worker_access_configuration
45371
+ # Describes any access constraints that have been defined for Amazon
45372
+ # S3 resources.
45373
+ # @return [Types::WorkerAccessConfiguration]
45374
+ #
45270
45375
  # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Workteam AWS API Documentation
45271
45376
  #
45272
45377
  class Workteam < Struct.new(
@@ -45279,7 +45384,8 @@ module Aws::SageMaker
45279
45384
  :sub_domain,
45280
45385
  :create_date,
45281
45386
  :last_updated_date,
45282
- :notification_configuration)
45387
+ :notification_configuration,
45388
+ :worker_access_configuration)
45283
45389
  SENSITIVE = []
45284
45390
  include Aws::Structure
45285
45391
  end
@@ -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.242.0'
57
57
 
58
58
  end
data/sig/client.rbs CHANGED
@@ -4011,6 +4011,14 @@ module Aws
4011
4011
  ?notification_configuration: {
4012
4012
  notification_topic_arn: ::String?
4013
4013
  },
4014
+ ?worker_access_configuration: {
4015
+ s3_presign: {
4016
+ iam_policy_constraints: {
4017
+ source_ip: ("Enabled" | "Disabled")?,
4018
+ vpc_source_ip: ("Enabled" | "Disabled")?
4019
+ }?
4020
+ }?
4021
+ },
4014
4022
  ?tags: Array[
4015
4023
  {
4016
4024
  key: ::String,
@@ -8966,6 +8974,14 @@ module Aws
8966
8974
  ?description: ::String,
8967
8975
  ?notification_configuration: {
8968
8976
  notification_topic_arn: ::String?
8977
+ },
8978
+ ?worker_access_configuration: {
8979
+ s3_presign: {
8980
+ iam_policy_constraints: {
8981
+ source_ip: ("Enabled" | "Disabled")?,
8982
+ vpc_source_ip: ("Enabled" | "Disabled")?
8983
+ }?
8984
+ }?
8969
8985
  }
8970
8986
  ) -> _UpdateWorkteamResponseSuccess
8971
8987
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateWorkteamResponseSuccess
data/sig/types.rbs CHANGED
@@ -1782,6 +1782,7 @@ module Aws::SageMaker
1782
1782
  attr_accessor member_definitions: ::Array[Types::MemberDefinition]
1783
1783
  attr_accessor description: ::String
1784
1784
  attr_accessor notification_configuration: Types::NotificationConfiguration
1785
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
1785
1786
  attr_accessor tags: ::Array[Types::Tag]
1786
1787
  SENSITIVE: []
1787
1788
  end
@@ -4551,6 +4552,12 @@ module Aws::SageMaker
4551
4552
  SENSITIVE: []
4552
4553
  end
4553
4554
 
4555
+ class IamPolicyConstraints
4556
+ attr_accessor source_ip: ("Enabled" | "Disabled")
4557
+ attr_accessor vpc_source_ip: ("Enabled" | "Disabled")
4558
+ SENSITIVE: []
4559
+ end
4560
+
4554
4561
  class IdentityProviderOAuthSetting
4555
4562
  attr_accessor data_source_name: ("SalesforceGenie" | "Snowflake")
4556
4563
  attr_accessor status: ("ENABLED" | "DISABLED")
@@ -7942,6 +7949,11 @@ module Aws::SageMaker
7942
7949
  SENSITIVE: []
7943
7950
  end
7944
7951
 
7952
+ class S3Presign
7953
+ attr_accessor iam_policy_constraints: Types::IamPolicyConstraints
7954
+ SENSITIVE: []
7955
+ end
7956
+
7945
7957
  class S3StorageConfig
7946
7958
  attr_accessor s3_uri: ::String
7947
7959
  attr_accessor kms_key_id: ::String
@@ -9327,6 +9339,7 @@ module Aws::SageMaker
9327
9339
  attr_accessor member_definitions: ::Array[Types::MemberDefinition]
9328
9340
  attr_accessor description: ::String
9329
9341
  attr_accessor notification_configuration: Types::NotificationConfiguration
9342
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
9330
9343
  SENSITIVE: []
9331
9344
  end
9332
9345
 
@@ -9408,6 +9421,11 @@ module Aws::SageMaker
9408
9421
  SENSITIVE: []
9409
9422
  end
9410
9423
 
9424
+ class WorkerAccessConfiguration
9425
+ attr_accessor s3_presign: Types::S3Presign
9426
+ SENSITIVE: []
9427
+ end
9428
+
9411
9429
  class Workforce
9412
9430
  attr_accessor workforce_name: ::String
9413
9431
  attr_accessor workforce_arn: ::String
@@ -9455,6 +9473,7 @@ module Aws::SageMaker
9455
9473
  attr_accessor create_date: ::Time
9456
9474
  attr_accessor last_updated_date: ::Time
9457
9475
  attr_accessor notification_configuration: Types::NotificationConfiguration
9476
+ attr_accessor worker_access_configuration: Types::WorkerAccessConfiguration
9458
9477
  SENSITIVE: []
9459
9478
  end
9460
9479
  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.242.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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core