aws-sdk-cleanrooms 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7782d97793ebfefdee8a917e607cd1601ddd54c3a8ecd1fc504a95a3dd69d11f
4
- data.tar.gz: d9be30d27252ce8828a7c3fb2cf6f0559f8d2654bdc059de909602144d182c7b
3
+ metadata.gz: 42045ee3bfb787b283e3465955b29355e34c2bcc05f4765898b9a55c81cfd9c6
4
+ data.tar.gz: 27520193b36b1dcd96608db0d310e682fedb82de04e5e71e30bbdd0e1fe85a68
5
5
  SHA512:
6
- metadata.gz: c7ffd722e85499fc1b6f68b843c4a8563a308996fb9b66700a6d52beec5f03ce44b792489b7a175c1dbd9716d31a91f6703ae90a1fab2e08d91213fb6e0c25a3
7
- data.tar.gz: 26aa77088f4dafe0d2ae4521af416d5d902c7c30a0357bcdb1c62d7db4c94f3fca5e6f1e34a623ca7c389118c4033b2ef19437988d49337b1bccb772fafae0dd
6
+ metadata.gz: 0b6ce74a472bc4794c9c569bceb1fa108776e111d9a59e5a68983573fdca4544a18c96950d3449f647c9df4b6cb79690b69643b6b4b34193462abd9955b2694a
7
+ data.tar.gz: 792f332682b5ccc44b0b845d6b132a8ec5731c18d5f265ff007886e389568c2df386c3613b45e47728692157d706480f217207cf8fbc7b5665d811004b5b999a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2024-04-10)
5
+ ------------------
6
+
7
+ * Feature - AWS Clean Rooms Differential Privacy is now fully available. Differential privacy protects against user-identification attempts.
8
+
4
9
  1.17.0 (2024-04-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -431,6 +431,11 @@ module Aws::CleanRooms
431
431
  # resp.collaboration_analysis_templates[0].analysis_parameters[0].name #=> String
432
432
  # resp.collaboration_analysis_templates[0].analysis_parameters[0].type #=> String, one of "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE"
433
433
  # resp.collaboration_analysis_templates[0].analysis_parameters[0].default_value #=> String
434
+ # resp.collaboration_analysis_templates[0].validations #=> Array
435
+ # resp.collaboration_analysis_templates[0].validations[0].type #=> String, one of "DIFFERENTIAL_PRIVACY"
436
+ # resp.collaboration_analysis_templates[0].validations[0].status #=> String, one of "VALID", "INVALID", "UNABLE_TO_VALIDATE"
437
+ # resp.collaboration_analysis_templates[0].validations[0].reasons #=> Array
438
+ # resp.collaboration_analysis_templates[0].validations[0].reasons[0].message #=> String
434
439
  # resp.errors #=> Array
435
440
  # resp.errors[0].arn #=> String
436
441
  # resp.errors[0].code #=> String
@@ -659,6 +664,11 @@ module Aws::CleanRooms
659
664
  # resp.analysis_template.analysis_parameters[0].name #=> String
660
665
  # resp.analysis_template.analysis_parameters[0].type #=> String, one of "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE"
661
666
  # resp.analysis_template.analysis_parameters[0].default_value #=> String
667
+ # resp.analysis_template.validations #=> Array
668
+ # resp.analysis_template.validations[0].type #=> String, one of "DIFFERENTIAL_PRIVACY"
669
+ # resp.analysis_template.validations[0].status #=> String, one of "VALID", "INVALID", "UNABLE_TO_VALIDATE"
670
+ # resp.analysis_template.validations[0].reasons #=> Array
671
+ # resp.analysis_template.validations[0].reasons[0].message #=> String
662
672
  #
663
673
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateAnalysisTemplate AWS API Documentation
664
674
  #
@@ -1551,6 +1561,11 @@ module Aws::CleanRooms
1551
1561
  # resp.analysis_template.analysis_parameters[0].name #=> String
1552
1562
  # resp.analysis_template.analysis_parameters[0].type #=> String, one of "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE"
1553
1563
  # resp.analysis_template.analysis_parameters[0].default_value #=> String
1564
+ # resp.analysis_template.validations #=> Array
1565
+ # resp.analysis_template.validations[0].type #=> String, one of "DIFFERENTIAL_PRIVACY"
1566
+ # resp.analysis_template.validations[0].status #=> String, one of "VALID", "INVALID", "UNABLE_TO_VALIDATE"
1567
+ # resp.analysis_template.validations[0].reasons #=> Array
1568
+ # resp.analysis_template.validations[0].reasons[0].message #=> String
1554
1569
  #
1555
1570
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetAnalysisTemplate AWS API Documentation
1556
1571
  #
@@ -1644,6 +1659,11 @@ module Aws::CleanRooms
1644
1659
  # resp.collaboration_analysis_template.analysis_parameters[0].name #=> String
1645
1660
  # resp.collaboration_analysis_template.analysis_parameters[0].type #=> String, one of "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE"
1646
1661
  # resp.collaboration_analysis_template.analysis_parameters[0].default_value #=> String
1662
+ # resp.collaboration_analysis_template.validations #=> Array
1663
+ # resp.collaboration_analysis_template.validations[0].type #=> String, one of "DIFFERENTIAL_PRIVACY"
1664
+ # resp.collaboration_analysis_template.validations[0].status #=> String, one of "VALID", "INVALID", "UNABLE_TO_VALIDATE"
1665
+ # resp.collaboration_analysis_template.validations[0].reasons #=> Array
1666
+ # resp.collaboration_analysis_template.validations[0].reasons[0].message #=> String
1647
1667
  #
1648
1668
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaborationAnalysisTemplate AWS API Documentation
1649
1669
  #
@@ -3266,6 +3286,11 @@ module Aws::CleanRooms
3266
3286
  # resp.analysis_template.analysis_parameters[0].name #=> String
3267
3287
  # resp.analysis_template.analysis_parameters[0].type #=> String, one of "SMALLINT", "INTEGER", "BIGINT", "DECIMAL", "REAL", "DOUBLE_PRECISION", "BOOLEAN", "CHAR", "VARCHAR", "DATE", "TIMESTAMP", "TIMESTAMPTZ", "TIME", "TIMETZ", "VARBYTE"
3268
3288
  # resp.analysis_template.analysis_parameters[0].default_value #=> String
3289
+ # resp.analysis_template.validations #=> Array
3290
+ # resp.analysis_template.validations[0].type #=> String, one of "DIFFERENTIAL_PRIVACY"
3291
+ # resp.analysis_template.validations[0].status #=> String, one of "VALID", "INVALID", "UNABLE_TO_VALIDATE"
3292
+ # resp.analysis_template.validations[0].reasons #=> Array
3293
+ # resp.analysis_template.validations[0].reasons[0].message #=> String
3269
3294
  #
3270
3295
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateAnalysisTemplate AWS API Documentation
3271
3296
  #
@@ -3793,7 +3818,7 @@ module Aws::CleanRooms
3793
3818
  params: params,
3794
3819
  config: config)
3795
3820
  context[:gem_name] = 'aws-sdk-cleanrooms'
3796
- context[:gem_version] = '1.17.0'
3821
+ context[:gem_version] = '1.18.0'
3797
3822
  Seahorse::Client::Request.new(handlers, context)
3798
3823
  end
3799
3824
 
@@ -52,6 +52,12 @@ module Aws::CleanRooms
52
52
  AnalysisTemplateSummary = Shapes::StructureShape.new(name: 'AnalysisTemplateSummary')
53
53
  AnalysisTemplateSummaryList = Shapes::ListShape.new(name: 'AnalysisTemplateSummaryList')
54
54
  AnalysisTemplateText = Shapes::StringShape.new(name: 'AnalysisTemplateText')
55
+ AnalysisTemplateValidationStatus = Shapes::StringShape.new(name: 'AnalysisTemplateValidationStatus')
56
+ AnalysisTemplateValidationStatusDetail = Shapes::StructureShape.new(name: 'AnalysisTemplateValidationStatusDetail')
57
+ AnalysisTemplateValidationStatusDetailList = Shapes::ListShape.new(name: 'AnalysisTemplateValidationStatusDetailList')
58
+ AnalysisTemplateValidationStatusReason = Shapes::StructureShape.new(name: 'AnalysisTemplateValidationStatusReason')
59
+ AnalysisTemplateValidationStatusReasonList = Shapes::ListShape.new(name: 'AnalysisTemplateValidationStatusReasonList')
60
+ AnalysisTemplateValidationType = Shapes::StringShape.new(name: 'AnalysisTemplateValidationType')
55
61
  BatchGetCollaborationAnalysisTemplateError = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateError')
56
62
  BatchGetCollaborationAnalysisTemplateErrorList = Shapes::ListShape.new(name: 'BatchGetCollaborationAnalysisTemplateErrorList')
57
63
  BatchGetCollaborationAnalysisTemplateInput = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateInput')
@@ -480,6 +486,7 @@ module Aws::CleanRooms
480
486
  AnalysisTemplate.add_member(:format, Shapes::ShapeRef.new(shape: AnalysisFormat, required: true, location_name: "format"))
481
487
  AnalysisTemplate.add_member(:source, Shapes::ShapeRef.new(shape: AnalysisSource, required: true, location_name: "source"))
482
488
  AnalysisTemplate.add_member(:analysis_parameters, Shapes::ShapeRef.new(shape: AnalysisParameterList, location_name: "analysisParameters"))
489
+ AnalysisTemplate.add_member(:validations, Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatusDetailList, location_name: "validations"))
483
490
  AnalysisTemplate.struct_class = Types::AnalysisTemplate
484
491
 
485
492
  AnalysisTemplateArnList.member = Shapes::ShapeRef.new(shape: AnalysisTemplateArn)
@@ -498,6 +505,18 @@ module Aws::CleanRooms
498
505
 
499
506
  AnalysisTemplateSummaryList.member = Shapes::ShapeRef.new(shape: AnalysisTemplateSummary)
500
507
 
508
+ AnalysisTemplateValidationStatusDetail.add_member(:type, Shapes::ShapeRef.new(shape: AnalysisTemplateValidationType, required: true, location_name: "type"))
509
+ AnalysisTemplateValidationStatusDetail.add_member(:status, Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatus, required: true, location_name: "status"))
510
+ AnalysisTemplateValidationStatusDetail.add_member(:reasons, Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatusReasonList, location_name: "reasons"))
511
+ AnalysisTemplateValidationStatusDetail.struct_class = Types::AnalysisTemplateValidationStatusDetail
512
+
513
+ AnalysisTemplateValidationStatusDetailList.member = Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatusDetail)
514
+
515
+ AnalysisTemplateValidationStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
516
+ AnalysisTemplateValidationStatusReason.struct_class = Types::AnalysisTemplateValidationStatusReason
517
+
518
+ AnalysisTemplateValidationStatusReasonList.member = Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatusReason)
519
+
501
520
  BatchGetCollaborationAnalysisTemplateError.add_member(:arn, Shapes::ShapeRef.new(shape: AnalysisTemplateArn, required: true, location_name: "arn"))
502
521
  BatchGetCollaborationAnalysisTemplateError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
503
522
  BatchGetCollaborationAnalysisTemplateError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -572,6 +591,7 @@ module Aws::CleanRooms
572
591
  CollaborationAnalysisTemplate.add_member(:format, Shapes::ShapeRef.new(shape: AnalysisFormat, required: true, location_name: "format"))
573
592
  CollaborationAnalysisTemplate.add_member(:source, Shapes::ShapeRef.new(shape: AnalysisSource, required: true, location_name: "source"))
574
593
  CollaborationAnalysisTemplate.add_member(:analysis_parameters, Shapes::ShapeRef.new(shape: AnalysisParameterList, location_name: "analysisParameters"))
594
+ CollaborationAnalysisTemplate.add_member(:validations, Shapes::ShapeRef.new(shape: AnalysisTemplateValidationStatusDetailList, location_name: "validations"))
575
595
  CollaborationAnalysisTemplate.struct_class = Types::CollaborationAnalysisTemplate
576
596
 
577
597
  CollaborationAnalysisTemplateList.member = Shapes::ShapeRef.new(shape: CollaborationAnalysisTemplate)
@@ -414,6 +414,11 @@ module Aws::CleanRooms
414
414
  # The parameters of the analysis template.
415
415
  # @return [Array<Types::AnalysisParameter>]
416
416
  #
417
+ # @!attribute [rw] validations
418
+ # Information about the validations performed on the analysis
419
+ # template.
420
+ # @return [Array<Types::AnalysisTemplateValidationStatusDetail>]
421
+ #
417
422
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/AnalysisTemplate AWS API Documentation
418
423
  #
419
424
  class AnalysisTemplate < Struct.new(
@@ -430,7 +435,8 @@ module Aws::CleanRooms
430
435
  :schema,
431
436
  :format,
432
437
  :source,
433
- :analysis_parameters)
438
+ :analysis_parameters,
439
+ :validations)
434
440
  SENSITIVE = [:source]
435
441
  include Aws::Structure
436
442
  end
@@ -497,6 +503,58 @@ module Aws::CleanRooms
497
503
  include Aws::Structure
498
504
  end
499
505
 
506
+ # The status details of the analysis template validation. Clean Rooms
507
+ # Differential Privacy uses a general-purpose query structure to support
508
+ # complex SQL queries and validates whether an analysis template fits
509
+ # that general-purpose query structure. Validation is performed when
510
+ # analysis templates are created and fetched. Because analysis templates
511
+ # are immutable by design, we recommend that you create analysis
512
+ # templates after you associate the configured tables with their
513
+ # analysis rule to your collaboration.
514
+ #
515
+ # For more information, see
516
+ # [https://docs.aws.amazon.com/clean-rooms/latest/userguide/analysis-rules-custom.html#custom-diff-privacy][1].
517
+ #
518
+ #
519
+ #
520
+ # [1]: https://docs.aws.amazon.com/clean-rooms/latest/userguide/analysis-rules-custom.html#custom-diff-privacy
521
+ #
522
+ # @!attribute [rw] type
523
+ # The type of validation that was performed.
524
+ # @return [String]
525
+ #
526
+ # @!attribute [rw] status
527
+ # The status of the validation.
528
+ # @return [String]
529
+ #
530
+ # @!attribute [rw] reasons
531
+ # The reasons for the validation results.
532
+ # @return [Array<Types::AnalysisTemplateValidationStatusReason>]
533
+ #
534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/AnalysisTemplateValidationStatusDetail AWS API Documentation
535
+ #
536
+ class AnalysisTemplateValidationStatusDetail < Struct.new(
537
+ :type,
538
+ :status,
539
+ :reasons)
540
+ SENSITIVE = []
541
+ include Aws::Structure
542
+ end
543
+
544
+ # The reasons for the validation results.
545
+ #
546
+ # @!attribute [rw] message
547
+ # The validation message.
548
+ # @return [String]
549
+ #
550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/AnalysisTemplateValidationStatusReason AWS API Documentation
551
+ #
552
+ class AnalysisTemplateValidationStatusReason < Struct.new(
553
+ :message)
554
+ SENSITIVE = []
555
+ include Aws::Structure
556
+ end
557
+
500
558
  # Details of errors thrown by the call to retrieve multiple analysis
501
559
  # templates within a collaboration by their identifiers.
502
560
  #
@@ -824,6 +882,10 @@ module Aws::CleanRooms
824
882
  # template.
825
883
  # @return [Array<Types::AnalysisParameter>]
826
884
  #
885
+ # @!attribute [rw] validations
886
+ # The validations that were performed.
887
+ # @return [Array<Types::AnalysisTemplateValidationStatusDetail>]
888
+ #
827
889
  # @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CollaborationAnalysisTemplate AWS API Documentation
828
890
  #
829
891
  class CollaborationAnalysisTemplate < Struct.new(
@@ -839,7 +901,8 @@ module Aws::CleanRooms
839
901
  :schema,
840
902
  :format,
841
903
  :source,
842
- :analysis_parameters)
904
+ :analysis_parameters,
905
+ :validations)
843
906
  SENSITIVE = [:source]
844
907
  include Aws::Structure
845
908
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-cleanrooms/customizations'
53
53
  # @!group service
54
54
  module Aws::CleanRooms
55
55
 
56
- GEM_VERSION = '1.17.0'
56
+ GEM_VERSION = '1.18.0'
57
57
 
58
58
  end
data/sig/types.rbs CHANGED
@@ -128,6 +128,7 @@ module Aws::CleanRooms
128
128
  attr_accessor format: ("SQL")
129
129
  attr_accessor source: Types::AnalysisSource
130
130
  attr_accessor analysis_parameters: ::Array[Types::AnalysisParameter]
131
+ attr_accessor validations: ::Array[Types::AnalysisTemplateValidationStatusDetail]
131
132
  SENSITIVE: [:source]
132
133
  end
133
134
 
@@ -145,6 +146,18 @@ module Aws::CleanRooms
145
146
  SENSITIVE: []
146
147
  end
147
148
 
149
+ class AnalysisTemplateValidationStatusDetail
150
+ attr_accessor type: ("DIFFERENTIAL_PRIVACY")
151
+ attr_accessor status: ("VALID" | "INVALID" | "UNABLE_TO_VALIDATE")
152
+ attr_accessor reasons: ::Array[Types::AnalysisTemplateValidationStatusReason]
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class AnalysisTemplateValidationStatusReason
157
+ attr_accessor message: ::String
158
+ SENSITIVE: []
159
+ end
160
+
148
161
  class BatchGetCollaborationAnalysisTemplateError
149
162
  attr_accessor arn: ::String
150
163
  attr_accessor code: ::String
@@ -234,6 +247,7 @@ module Aws::CleanRooms
234
247
  attr_accessor format: ("SQL")
235
248
  attr_accessor source: Types::AnalysisSource
236
249
  attr_accessor analysis_parameters: ::Array[Types::AnalysisParameter]
250
+ attr_accessor validations: ::Array[Types::AnalysisTemplateValidationStatusDetail]
237
251
  SENSITIVE: [:source]
238
252
  end
239
253
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cleanrooms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.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-04-04 00:00:00.000000000 Z
11
+ date: 2024-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core