aws-sdk-cleanrooms 1.91.0 → 1.92.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: b28d6ac143f45040142447545932066b6b4590853469e5f74235a5274eeea643
4
- data.tar.gz: e51b23126d5abe28d548ecb450e0fec1af2088738d090d5542e3e0e49f1c69cb
3
+ metadata.gz: 74650bfbb4ea0eb50d8c968522d85e17b7a1b22b66b59f8c24b397e425ef1d2f
4
+ data.tar.gz: 0bcb254b520227eb6743afbf172812e19ede8284c703dfb2012396402cbac7cf
5
5
  SHA512:
6
- metadata.gz: 9a4aa4849864c4ba7c7edefc0b385456135beb571adb1b2c0dcd8086f3512f69455d8bcf8cf59a34553326394eeb89a91dc9ad786529f1365bcd2f0b1287aab2
7
- data.tar.gz: f62b99270253ee1d42a3527a3491a6c3b3c5a21eb0b81437d035067e9720460bf49b1850b4194a9982ca5e9b26c80c6138997b78789d6586d5e2664d4fd9d03a
6
+ metadata.gz: 3ba91a330a2b20ef42f4b0d888b1b193ac95bee09a0bb19cfb4aadf62f79364783f007076385105165e572536f18163c2692277d8f0ed8d2e3b2a587bc4d37e8
7
+ data.tar.gz: 4220904f0d16caa8de69221484111f9a071650b7928ebbd3d5951331c62d40feb09ea5c63e25e06d4962b50aaac200f28d0ab3a9ae3dc3a117943c679715534c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2026-11-12)
5
+ ------------------
6
+
7
+ * Feature - Adds a retry signal to protected query and protected job errors that indicates whether running the same request again might succeed, and defines error codes that identify the category of the failure.
8
+
4
9
  1.91.0 (2026-11-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.0
@@ -4033,6 +4033,7 @@ module Aws::CleanRooms
4033
4033
  # resp.protected_job.result.output.member_list[0].account_id #=> String
4034
4034
  # resp.protected_job.error.message #=> String
4035
4035
  # resp.protected_job.error.code #=> String
4036
+ # resp.protected_job.error.retry.retryable #=> Boolean
4036
4037
  # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
4037
4038
  # resp.protected_job.compute_configuration.worker.number #=> Integer
4038
4039
  # resp.protected_job.compute_configuration.worker.properties.spark #=> Hash
@@ -4102,6 +4103,7 @@ module Aws::CleanRooms
4102
4103
  # resp.protected_query.result.output.distribute.member_list[0].account_id #=> String
4103
4104
  # resp.protected_query.error.message #=> String
4104
4105
  # resp.protected_query.error.code #=> String
4106
+ # resp.protected_query.error.retry.retryable #=> Boolean
4105
4107
  # resp.protected_query.differential_privacy.sensitivity_parameters #=> Array
4106
4108
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_type #=> String, one of "AVG", "COUNT", "COUNT_DISTINCT", "SUM", "STDDEV"
4107
4109
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_expression #=> String
@@ -6090,6 +6092,7 @@ module Aws::CleanRooms
6090
6092
  # resp.protected_job.result.output.member_list[0].account_id #=> String
6091
6093
  # resp.protected_job.error.message #=> String
6092
6094
  # resp.protected_job.error.code #=> String
6095
+ # resp.protected_job.error.retry.retryable #=> Boolean
6093
6096
  # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
6094
6097
  # resp.protected_job.compute_configuration.worker.number #=> Integer
6095
6098
  # resp.protected_job.compute_configuration.worker.properties.spark #=> Hash
@@ -6224,6 +6227,7 @@ module Aws::CleanRooms
6224
6227
  # resp.protected_query.result.output.distribute.member_list[0].account_id #=> String
6225
6228
  # resp.protected_query.error.message #=> String
6226
6229
  # resp.protected_query.error.code #=> String
6230
+ # resp.protected_query.error.retry.retryable #=> Boolean
6227
6231
  # resp.protected_query.differential_privacy.sensitivity_parameters #=> Array
6228
6232
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_type #=> String, one of "AVG", "COUNT", "COUNT_DISTINCT", "SUM", "STDDEV"
6229
6233
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_expression #=> String
@@ -7605,6 +7609,7 @@ module Aws::CleanRooms
7605
7609
  # resp.protected_job.result.output.member_list[0].account_id #=> String
7606
7610
  # resp.protected_job.error.message #=> String
7607
7611
  # resp.protected_job.error.code #=> String
7612
+ # resp.protected_job.error.retry.retryable #=> Boolean
7608
7613
  # resp.protected_job.compute_configuration.worker.type #=> String, one of "CR.1X", "CR.4X"
7609
7614
  # resp.protected_job.compute_configuration.worker.number #=> Integer
7610
7615
  # resp.protected_job.compute_configuration.worker.properties.spark #=> Hash
@@ -7679,6 +7684,7 @@ module Aws::CleanRooms
7679
7684
  # resp.protected_query.result.output.distribute.member_list[0].account_id #=> String
7680
7685
  # resp.protected_query.error.message #=> String
7681
7686
  # resp.protected_query.error.code #=> String
7687
+ # resp.protected_query.error.retry.retryable #=> Boolean
7682
7688
  # resp.protected_query.differential_privacy.sensitivity_parameters #=> Array
7683
7689
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_type #=> String, one of "AVG", "COUNT", "COUNT_DISTINCT", "SUM", "STDDEV"
7684
7690
  # resp.protected_query.differential_privacy.sensitivity_parameters[0].aggregation_expression #=> String
@@ -7718,7 +7724,7 @@ module Aws::CleanRooms
7718
7724
  tracer: tracer
7719
7725
  )
7720
7726
  context[:gem_name] = 'aws-sdk-cleanrooms'
7721
- context[:gem_version] = '1.91.0'
7727
+ context[:gem_version] = '1.92.0'
7722
7728
  Seahorse::Client::Request.new(handlers, context)
7723
7729
  end
7724
7730
 
@@ -644,6 +644,7 @@ module Aws::CleanRooms
644
644
  ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus')
645
645
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
646
646
  ResultFormat = Shapes::StringShape.new(name: 'ResultFormat')
647
+ RetryInfo = Shapes::StructureShape.new(name: 'RetryInfo')
647
648
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
648
649
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
649
650
  S3LocationBucketString = Shapes::StringShape.new(name: 'S3LocationBucketString')
@@ -2875,6 +2876,7 @@ module Aws::CleanRooms
2875
2876
 
2876
2877
  ProtectedJobError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
2877
2878
  ProtectedJobError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
2879
+ ProtectedJobError.add_member(:retry, Shapes::ShapeRef.new(shape: RetryInfo, location_name: "retry"))
2878
2880
  ProtectedJobError.struct_class = Types::ProtectedJobError
2879
2881
 
2880
2882
  ProtectedJobMemberOutputConfigurationInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
@@ -2997,6 +2999,7 @@ module Aws::CleanRooms
2997
2999
 
2998
3000
  ProtectedQueryError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
2999
3001
  ProtectedQueryError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
3002
+ ProtectedQueryError.add_member(:retry, Shapes::ShapeRef.new(shape: RetryInfo, location_name: "retry"))
3000
3003
  ProtectedQueryError.struct_class = Types::ProtectedQueryError
3001
3004
 
3002
3005
  ProtectedQueryMemberOutputConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
@@ -3094,6 +3097,9 @@ module Aws::CleanRooms
3094
3097
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
3095
3098
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
3096
3099
 
3100
+ RetryInfo.add_member(:retryable, Shapes::ShapeRef.new(shape: Boolean, location_name: "retryable"))
3101
+ RetryInfo.struct_class = Types::RetryInfo
3102
+
3097
3103
  S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3LocationBucketString, required: true, location_name: "bucket"))
3098
3104
  S3Location.add_member(:key, Shapes::ShapeRef.new(shape: S3LocationKeyString, required: true, location_name: "key"))
3099
3105
  S3Location.struct_class = Types::S3Location
@@ -9899,21 +9899,59 @@ module Aws::CleanRooms
9899
9899
  include Aws::Structure
9900
9900
  end
9901
9901
 
9902
- # The protected job error.
9902
+ # Details of the error that caused the protected job to fail.
9903
9903
  #
9904
9904
  # @!attribute [rw] message
9905
- # The message for the protected job error.
9905
+ # A description of why the protected job failed.
9906
9906
  # @return [String]
9907
9907
  #
9908
9908
  # @!attribute [rw] code
9909
- # The error code for the protected job.
9909
+ # A code that identifies the category of the failure. Valid values
9910
+ # are:
9911
+ #
9912
+ # * `MALFORMED_SCRIPT` – The job script or its execution environment
9913
+ # is not valid (code, imports, entry point, virtual environment, or
9914
+ # dependencies).
9915
+ #
9916
+ # * `RESOURCE_NOT_FOUND` – A referenced resource doesn't exist.
9917
+ #
9918
+ # * `INVALID_RESOURCE` – A referenced resource exists, but you can't
9919
+ # use it because its configuration, state, or data is not valid.
9920
+ #
9921
+ # * `RESOURCE_ACCESS_DENIED` – A required permission is missing for a
9922
+ # data source or resource.
9923
+ #
9924
+ # * `INSUFFICIENT_COMPUTE` – The job exceeded the available compute
9925
+ # (memory, disk, or time).
9926
+ #
9927
+ # * `TRANSIENT_ERROR` – A temporary condition caused the failure, such
9928
+ # as throttling or a network interruption.
9929
+ #
9930
+ # * `INTERNAL_ERROR` – Clean Rooms encountered an unexpected error. If
9931
+ # the error persists, contact AWS Support.
9932
+ #
9933
+ # * `UNKNOWN_ERROR` – The failure couldn't be classified.
9934
+ #
9935
+ # For more information about error codes, see
9936
+ # [https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html][1]
9937
+ # in the Clean Rooms User Guide.
9938
+ #
9939
+ #
9940
+ #
9941
+ # [1]: https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html
9910
9942
  # @return [String]
9911
9943
  #
9944
+ # @!attribute [rw] retry
9945
+ # Contains information about whether running the same protected job
9946
+ # again might succeed.
9947
+ # @return [Types::RetryInfo]
9948
+ #
9912
9949
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ProtectedJobError AWS API Documentation
9913
9950
  #
9914
9951
  class ProtectedJobError < Struct.new(
9915
9952
  :message,
9916
- :code)
9953
+ :code,
9954
+ :retry)
9917
9955
  SENSITIVE = []
9918
9956
  include Aws::Structure
9919
9957
  end
@@ -10428,21 +10466,58 @@ module Aws::CleanRooms
10428
10466
  class Unknown < ProtectedQueryDistributeOutputConfigurationLocation; end
10429
10467
  end
10430
10468
 
10431
- # Details of errors thrown by the protected query.
10469
+ # Details of the error that caused the protected query to fail.
10432
10470
  #
10433
10471
  # @!attribute [rw] message
10434
- # A description of why the query failed.
10472
+ # A description of why the protected query failed.
10435
10473
  # @return [String]
10436
10474
  #
10437
10475
  # @!attribute [rw] code
10438
- # An error code for the error.
10476
+ # A code that identifies the category of the failure. Valid values
10477
+ # are:
10478
+ #
10479
+ # * `MALFORMED_QUERY` – The query is not valid (syntax, semantics,
10480
+ # columns, or an unsupported operation).
10481
+ #
10482
+ # * `RESOURCE_NOT_FOUND` – A referenced resource doesn't exist.
10483
+ #
10484
+ # * `INVALID_RESOURCE` – A referenced resource exists, but you can't
10485
+ # use it because its configuration, state, or data is not valid.
10486
+ #
10487
+ # * `RESOURCE_ACCESS_DENIED` – A required permission is missing for a
10488
+ # data source or resource.
10489
+ #
10490
+ # * `INSUFFICIENT_COMPUTE` – The query exceeded the available compute
10491
+ # (memory, disk, or time).
10492
+ #
10493
+ # * `TRANSIENT_ERROR` – A temporary condition caused the failure, such
10494
+ # as throttling or a network interruption.
10495
+ #
10496
+ # * `INTERNAL_ERROR` – Clean Rooms encountered an unexpected error. If
10497
+ # the error persists, contact AWS Support.
10498
+ #
10499
+ # * `UNKNOWN_ERROR` – The failure couldn't be classified.
10500
+ #
10501
+ # For more information about error codes, see
10502
+ # [https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html][1]
10503
+ # in the Clean Rooms User Guide.
10504
+ #
10505
+ #
10506
+ #
10507
+ # [1]: https://docs.aws.amazon.com/clean-rooms/latest/userguide/error-codes.html
10439
10508
  # @return [String]
10440
10509
  #
10510
+ # @!attribute [rw] retry
10511
+ # Contains information about whether running the same protected query
10512
+ # again might succeed.
10513
+ # @return [Types::RetryInfo]
10514
+ #
10441
10515
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ProtectedQueryError AWS API Documentation
10442
10516
  #
10443
10517
  class ProtectedQueryError < Struct.new(
10444
10518
  :message,
10445
- :code)
10519
+ :code,
10520
+ :retry)
10446
10521
  SENSITIVE = []
10447
10522
  include Aws::Structure
10448
10523
  end
@@ -10841,6 +10916,23 @@ module Aws::CleanRooms
10841
10916
  include Aws::Structure
10842
10917
  end
10843
10918
 
10919
+ # Contains information about whether running a failed protected query or
10920
+ # protected job again might succeed.
10921
+ #
10922
+ # @!attribute [rw] retryable
10923
+ # Specifies whether running the same request again might succeed.
10924
+ # `true` means that the failure was transient. `false` means that
10925
+ # running the same request again is not expected to succeed.
10926
+ # @return [Boolean]
10927
+ #
10928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/RetryInfo AWS API Documentation
10929
+ #
10930
+ class RetryInfo < Struct.new(
10931
+ :retryable)
10932
+ SENSITIVE = []
10933
+ include Aws::Structure
10934
+ end
10935
+
10844
10936
  # The S3 location.
10845
10937
  #
10846
10938
  # @!attribute [rw] bucket
@@ -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.91.0'
58
+ GEM_VERSION = '1.92.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -2728,6 +2728,7 @@ module Aws::CleanRooms
2728
2728
  class ProtectedJobError
2729
2729
  attr_accessor message: ::String
2730
2730
  attr_accessor code: ::String
2731
+ attr_accessor retry: Types::RetryInfo
2731
2732
  SENSITIVE: []
2732
2733
  end
2733
2734
 
@@ -2899,6 +2900,7 @@ module Aws::CleanRooms
2899
2900
  class ProtectedQueryError
2900
2901
  attr_accessor message: ::String
2901
2902
  attr_accessor code: ::String
2903
+ attr_accessor retry: Types::RetryInfo
2902
2904
  SENSITIVE: []
2903
2905
  end
2904
2906
 
@@ -3031,6 +3033,11 @@ module Aws::CleanRooms
3031
3033
  SENSITIVE: []
3032
3034
  end
3033
3035
 
3036
+ class RetryInfo
3037
+ attr_accessor retryable: bool
3038
+ SENSITIVE: []
3039
+ end
3040
+
3034
3041
  class S3Location
3035
3042
  attr_accessor bucket: ::String
3036
3043
  attr_accessor key: ::String
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.91.0
4
+ version: 1.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services