aws-sdk-cleanrooms 1.53.0 → 1.54.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: 17b3d580221bd14a1cfc57e6a4e48fe955480567b295ed91fdef5d1a76b2b551
4
- data.tar.gz: f608ef9d73e8ba62aa8e6ba105744b4a8bb5aca499b0afcda545350e7db2c599
3
+ metadata.gz: 3d406e1796ee192f1334469963a05819995175e2525bd33b0fdf2be5cb65dca8
4
+ data.tar.gz: cf7a5c8682adef0e4095a1b97c1d21ca269e4f0e0ddede62d2b8ff0d3facc198
5
5
  SHA512:
6
- metadata.gz: 0fb65269df045b871a11fe2c796d7d253794b98fe9a1cafab7a764cc914c67dda5f72677451da66c4db7d999f5973f2c321cb300b6157a1d8fabffb9f656e17f
7
- data.tar.gz: dab5824bd3f43de1cee6f0612e8bc80e646adc86fc49c6350d8826201b4651aa361004a8982b3ad74d967ebeef5cb923a896e0b056b7e88f287efdbbf55040af
6
+ metadata.gz: 236ea5245673a190006a1496fe57464ce461e9e248f1950b3dc6a484defbe022f8eb81ff3d67a9c045397da405c4f7a6634ad7c4e8c5668df63581fd93597718
7
+ data.tar.gz: 76cd825181ef72e4203eb034f0689f303884ecdbe862961b36d91bf03aabe2153559f6e1f2503a123f87fb35ffdc948cb1fa6eec6103a61dd8d918da7a78f4d0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2025-09-04)
5
+ ------------------
6
+
7
+ * Feature - Add support for configurable compute sizes for PySpark jobs.
8
+
4
9
  1.53.0 (2025-09-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -3140,6 +3140,8 @@ module Aws::CleanRooms
3140
3140
  # resp.protected_job.result.output.member_list[0].account_id #=> String
3141
3141
  # resp.protected_job.error.message #=> String
3142
3142
  # resp.protected_job.error.code #=> String
3143
+ # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
3144
+ # resp.protected_job.compute_configuration.worker.number #=> Integer
3143
3145
  #
3144
3146
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedJob AWS API Documentation
3145
3147
  #
@@ -4671,6 +4673,9 @@ module Aws::CleanRooms
4671
4673
  # @option params [Types::ProtectedJobResultConfigurationInput] :result_configuration
4672
4674
  # The details needed to write the job results.
4673
4675
  #
4676
+ # @option params [Types::ProtectedJobComputeConfiguration] :compute_configuration
4677
+ # The compute configuration for the protected job.
4678
+ #
4674
4679
  # @return [Types::StartProtectedJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4675
4680
  #
4676
4681
  # * {Types::StartProtectedJobOutput#protected_job #protected_job} => Types::ProtectedJob
@@ -4690,6 +4695,12 @@ module Aws::CleanRooms
4690
4695
  # },
4691
4696
  # },
4692
4697
  # },
4698
+ # compute_configuration: {
4699
+ # worker: {
4700
+ # type: "CR.1X", # required, accepts CR.1X, CR.4X
4701
+ # number: 1, # required
4702
+ # },
4703
+ # },
4693
4704
  # })
4694
4705
  #
4695
4706
  # @example Response structure
@@ -4710,6 +4721,8 @@ module Aws::CleanRooms
4710
4721
  # resp.protected_job.result.output.member_list[0].account_id #=> String
4711
4722
  # resp.protected_job.error.message #=> String
4712
4723
  # resp.protected_job.error.code #=> String
4724
+ # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
4725
+ # resp.protected_job.compute_configuration.worker.number #=> Integer
4713
4726
  #
4714
4727
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedJob AWS API Documentation
4715
4728
  #
@@ -5766,6 +5779,8 @@ module Aws::CleanRooms
5766
5779
  # resp.protected_job.result.output.member_list[0].account_id #=> String
5767
5780
  # resp.protected_job.error.message #=> String
5768
5781
  # resp.protected_job.error.code #=> String
5782
+ # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
5783
+ # resp.protected_job.compute_configuration.worker.number #=> Integer
5769
5784
  #
5770
5785
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedJob AWS API Documentation
5771
5786
  #
@@ -5868,7 +5883,7 @@ module Aws::CleanRooms
5868
5883
  tracer: tracer
5869
5884
  )
5870
5885
  context[:gem_name] = 'aws-sdk-cleanrooms'
5871
- context[:gem_version] = '1.53.0'
5886
+ context[:gem_version] = '1.54.0'
5872
5887
  Seahorse::Client::Request.new(handlers, context)
5873
5888
  end
5874
5889
 
@@ -437,6 +437,7 @@ module Aws::CleanRooms
437
437
  PrivacyImpact = Shapes::UnionShape.new(name: 'PrivacyImpact')
438
438
  ProtectedJob = Shapes::StructureShape.new(name: 'ProtectedJob')
439
439
  ProtectedJobAnalysisType = Shapes::StringShape.new(name: 'ProtectedJobAnalysisType')
440
+ ProtectedJobComputeConfiguration = Shapes::UnionShape.new(name: 'ProtectedJobComputeConfiguration')
440
441
  ProtectedJobConfigurationDetails = Shapes::UnionShape.new(name: 'ProtectedJobConfigurationDetails')
441
442
  ProtectedJobDirectAnalysisConfigurationDetails = Shapes::StructureShape.new(name: 'ProtectedJobDirectAnalysisConfigurationDetails')
442
443
  ProtectedJobError = Shapes::StructureShape.new(name: 'ProtectedJobError')
@@ -465,6 +466,9 @@ module Aws::CleanRooms
465
466
  ProtectedJobSummary = Shapes::StructureShape.new(name: 'ProtectedJobSummary')
466
467
  ProtectedJobSummaryList = Shapes::ListShape.new(name: 'ProtectedJobSummaryList')
467
468
  ProtectedJobType = Shapes::StringShape.new(name: 'ProtectedJobType')
469
+ ProtectedJobWorkerComputeConfiguration = Shapes::StructureShape.new(name: 'ProtectedJobWorkerComputeConfiguration')
470
+ ProtectedJobWorkerComputeConfigurationNumberInteger = Shapes::IntegerShape.new(name: 'ProtectedJobWorkerComputeConfigurationNumberInteger')
471
+ ProtectedJobWorkerComputeType = Shapes::StringShape.new(name: 'ProtectedJobWorkerComputeType')
468
472
  ProtectedQuery = Shapes::StructureShape.new(name: 'ProtectedQuery')
469
473
  ProtectedQueryDistributeOutput = Shapes::StructureShape.new(name: 'ProtectedQueryDistributeOutput')
470
474
  ProtectedQueryDistributeOutputConfiguration = Shapes::StructureShape.new(name: 'ProtectedQueryDistributeOutputConfiguration')
@@ -2197,8 +2201,15 @@ module Aws::CleanRooms
2197
2201
  ProtectedJob.add_member(:statistics, Shapes::ShapeRef.new(shape: ProtectedJobStatistics, location_name: "statistics"))
2198
2202
  ProtectedJob.add_member(:result, Shapes::ShapeRef.new(shape: ProtectedJobResult, location_name: "result"))
2199
2203
  ProtectedJob.add_member(:error, Shapes::ShapeRef.new(shape: ProtectedJobError, location_name: "error"))
2204
+ ProtectedJob.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ProtectedJobComputeConfiguration, location_name: "computeConfiguration"))
2200
2205
  ProtectedJob.struct_class = Types::ProtectedJob
2201
2206
 
2207
+ ProtectedJobComputeConfiguration.add_member(:worker, Shapes::ShapeRef.new(shape: ProtectedJobWorkerComputeConfiguration, location_name: "worker"))
2208
+ ProtectedJobComputeConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2209
+ ProtectedJobComputeConfiguration.add_member_subclass(:worker, Types::ProtectedJobComputeConfiguration::Worker)
2210
+ ProtectedJobComputeConfiguration.add_member_subclass(:unknown, Types::ProtectedJobComputeConfiguration::Unknown)
2211
+ ProtectedJobComputeConfiguration.struct_class = Types::ProtectedJobComputeConfiguration
2212
+
2202
2213
  ProtectedJobConfigurationDetails.add_member(:direct_analysis_configuration_details, Shapes::ShapeRef.new(shape: ProtectedJobDirectAnalysisConfigurationDetails, location_name: "directAnalysisConfigurationDetails"))
2203
2214
  ProtectedJobConfigurationDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2204
2215
  ProtectedJobConfigurationDetails.add_member_subclass(:direct_analysis_configuration_details, Types::ProtectedJobConfigurationDetails::DirectAnalysisConfigurationDetails)
@@ -2290,6 +2301,10 @@ module Aws::CleanRooms
2290
2301
 
2291
2302
  ProtectedJobSummaryList.member = Shapes::ShapeRef.new(shape: ProtectedJobSummary)
2292
2303
 
2304
+ ProtectedJobWorkerComputeConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ProtectedJobWorkerComputeType, required: true, location_name: "type"))
2305
+ ProtectedJobWorkerComputeConfiguration.add_member(:number, Shapes::ShapeRef.new(shape: ProtectedJobWorkerComputeConfigurationNumberInteger, required: true, location_name: "number"))
2306
+ ProtectedJobWorkerComputeConfiguration.struct_class = Types::ProtectedJobWorkerComputeConfiguration
2307
+
2293
2308
  ProtectedQuery.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
2294
2309
  ProtectedQuery.add_member(:membership_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "membershipId"))
2295
2310
  ProtectedQuery.add_member(:membership_arn, Shapes::ShapeRef.new(shape: MembershipArn, required: true, location_name: "membershipArn"))
@@ -2517,6 +2532,7 @@ module Aws::CleanRooms
2517
2532
  StartProtectedJobInput.add_member(:membership_identifier, Shapes::ShapeRef.new(shape: MembershipIdentifier, required: true, location: "uri", location_name: "membershipIdentifier"))
2518
2533
  StartProtectedJobInput.add_member(:job_parameters, Shapes::ShapeRef.new(shape: ProtectedJobParameters, required: true, location_name: "jobParameters"))
2519
2534
  StartProtectedJobInput.add_member(:result_configuration, Shapes::ShapeRef.new(shape: ProtectedJobResultConfigurationInput, location_name: "resultConfiguration"))
2535
+ StartProtectedJobInput.add_member(:compute_configuration, Shapes::ShapeRef.new(shape: ProtectedJobComputeConfiguration, location_name: "computeConfiguration"))
2520
2536
  StartProtectedJobInput.struct_class = Types::StartProtectedJobInput
2521
2537
 
2522
2538
  StartProtectedJobOutput.add_member(:protected_job, Shapes::ShapeRef.new(shape: ProtectedJob, required: true, location_name: "protectedJob"))
@@ -7443,6 +7443,10 @@ module Aws::CleanRooms
7443
7443
  # The error from the protected job.
7444
7444
  # @return [Types::ProtectedJobError]
7445
7445
  #
7446
+ # @!attribute [rw] compute_configuration
7447
+ # The compute configuration for the protected job.
7448
+ # @return [Types::ProtectedJobComputeConfiguration]
7449
+ #
7446
7450
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ProtectedJob AWS API Documentation
7447
7451
  #
7448
7452
  class ProtectedJob < Struct.new(
@@ -7455,9 +7459,33 @@ module Aws::CleanRooms
7455
7459
  :result_configuration,
7456
7460
  :statistics,
7457
7461
  :result,
7458
- :error)
7462
+ :error,
7463
+ :compute_configuration)
7464
+ SENSITIVE = []
7465
+ include Aws::Structure
7466
+ end
7467
+
7468
+ # The configuration of the compute resources for a PySpark job.
7469
+ #
7470
+ # @note ProtectedJobComputeConfiguration is a union - when making an API calls you must set exactly one of the members.
7471
+ #
7472
+ # @note ProtectedJobComputeConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ProtectedJobComputeConfiguration corresponding to the set member.
7473
+ #
7474
+ # @!attribute [rw] worker
7475
+ # The worker configuration for the compute environment.
7476
+ # @return [Types::ProtectedJobWorkerComputeConfiguration]
7477
+ #
7478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ProtectedJobComputeConfiguration AWS API Documentation
7479
+ #
7480
+ class ProtectedJobComputeConfiguration < Struct.new(
7481
+ :worker,
7482
+ :unknown)
7459
7483
  SENSITIVE = []
7460
7484
  include Aws::Structure
7485
+ include Aws::Structure::Union
7486
+
7487
+ class Worker < ProtectedJobComputeConfiguration; end
7488
+ class Unknown < ProtectedJobComputeConfiguration; end
7461
7489
  end
7462
7490
 
7463
7491
  # The protected job configuration details.
@@ -7821,6 +7849,25 @@ module Aws::CleanRooms
7821
7849
  include Aws::Structure
7822
7850
  end
7823
7851
 
7852
+ # The configuration of the compute resources for a PySpark job.
7853
+ #
7854
+ # @!attribute [rw] type
7855
+ # The worker compute configuration type.
7856
+ # @return [String]
7857
+ #
7858
+ # @!attribute [rw] number
7859
+ # The number of workers for a PySpark job.
7860
+ # @return [Integer]
7861
+ #
7862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ProtectedJobWorkerComputeConfiguration AWS API Documentation
7863
+ #
7864
+ class ProtectedJobWorkerComputeConfiguration < Struct.new(
7865
+ :type,
7866
+ :number)
7867
+ SENSITIVE = []
7868
+ include Aws::Structure
7869
+ end
7870
+
7824
7871
  # The parameters for an Clean Rooms protected query.
7825
7872
  #
7826
7873
  # @!attribute [rw] id
@@ -8786,13 +8833,18 @@ module Aws::CleanRooms
8786
8833
  # The details needed to write the job results.
8787
8834
  # @return [Types::ProtectedJobResultConfigurationInput]
8788
8835
  #
8836
+ # @!attribute [rw] compute_configuration
8837
+ # The compute configuration for the protected job.
8838
+ # @return [Types::ProtectedJobComputeConfiguration]
8839
+ #
8789
8840
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedJobInput AWS API Documentation
8790
8841
  #
8791
8842
  class StartProtectedJobInput < Struct.new(
8792
8843
  :type,
8793
8844
  :membership_identifier,
8794
8845
  :job_parameters,
8795
- :result_configuration)
8846
+ :result_configuration,
8847
+ :compute_configuration)
8796
8848
  SENSITIVE = []
8797
8849
  include Aws::Structure
8798
8850
  end
@@ -9561,6 +9613,11 @@ module Aws::CleanRooms
9561
9613
  #
9562
9614
  # @!attribute [rw] number
9563
9615
  # The number of workers.
9616
+ #
9617
+ # SQL queries support a minimum value of 2 and a maximum value of 400.
9618
+ #
9619
+ # PySpark jobs support a minimum value of 4 and a maximum value of
9620
+ # 128.
9564
9621
  # @return [Integer]
9565
9622
  #
9566
9623
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/WorkerComputeConfiguration AWS API Documentation
@@ -55,7 +55,7 @@ module Aws::CleanRooms
55
55
  autoload :EndpointProvider, 'aws-sdk-cleanrooms/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-cleanrooms/endpoints'
57
57
 
58
- GEM_VERSION = '1.53.0'
58
+ GEM_VERSION = '1.54.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1174,6 +1174,12 @@ module Aws
1174
1174
  account_id: ::String
1175
1175
  }?
1176
1176
  }
1177
+ },
1178
+ ?compute_configuration: {
1179
+ worker: {
1180
+ type: ("CR.1X" | "CR.4X"),
1181
+ number: ::Integer
1182
+ }?
1177
1183
  }
1178
1184
  ) -> _StartProtectedJobResponseSuccess
1179
1185
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartProtectedJobResponseSuccess
data/sig/types.rbs CHANGED
@@ -2084,9 +2084,21 @@ module Aws::CleanRooms
2084
2084
  attr_accessor statistics: Types::ProtectedJobStatistics
2085
2085
  attr_accessor result: Types::ProtectedJobResult
2086
2086
  attr_accessor error: Types::ProtectedJobError
2087
+ attr_accessor compute_configuration: Types::ProtectedJobComputeConfiguration
2087
2088
  SENSITIVE: []
2088
2089
  end
2089
2090
 
2091
+ class ProtectedJobComputeConfiguration
2092
+ attr_accessor worker: Types::ProtectedJobWorkerComputeConfiguration
2093
+ attr_accessor unknown: untyped
2094
+ SENSITIVE: []
2095
+
2096
+ class Worker < ProtectedJobComputeConfiguration
2097
+ end
2098
+ class Unknown < ProtectedJobComputeConfiguration
2099
+ end
2100
+ end
2101
+
2090
2102
  class ProtectedJobConfigurationDetails
2091
2103
  attr_accessor direct_analysis_configuration_details: Types::ProtectedJobDirectAnalysisConfigurationDetails
2092
2104
  attr_accessor unknown: untyped
@@ -2222,6 +2234,12 @@ module Aws::CleanRooms
2222
2234
  SENSITIVE: []
2223
2235
  end
2224
2236
 
2237
+ class ProtectedJobWorkerComputeConfiguration
2238
+ attr_accessor type: ("CR.1X" | "CR.4X")
2239
+ attr_accessor number: ::Integer
2240
+ SENSITIVE: []
2241
+ end
2242
+
2225
2243
  class ProtectedQuery
2226
2244
  attr_accessor id: ::String
2227
2245
  attr_accessor membership_id: ::String
@@ -2503,6 +2521,7 @@ module Aws::CleanRooms
2503
2521
  attr_accessor membership_identifier: ::String
2504
2522
  attr_accessor job_parameters: Types::ProtectedJobParameters
2505
2523
  attr_accessor result_configuration: Types::ProtectedJobResultConfigurationInput
2524
+ attr_accessor compute_configuration: Types::ProtectedJobComputeConfiguration
2506
2525
  SENSITIVE: []
2507
2526
  end
2508
2527
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cleanrooms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services