aws-sdk-cleanrooms 1.16.0 → 1.17.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cleanrooms/client.rb +102 -8
- data/lib/aws-sdk-cleanrooms/client_api.rb +69 -0
- data/lib/aws-sdk-cleanrooms/endpoints.rb +14 -0
- data/lib/aws-sdk-cleanrooms/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-cleanrooms/types.rb +154 -5
- data/lib/aws-sdk-cleanrooms.rb +1 -1
- data/sig/client.rbs +19 -2
- data/sig/types.rbs +42 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7782d97793ebfefdee8a917e607cd1601ddd54c3a8ecd1fc504a95a3dd69d11f
|
4
|
+
data.tar.gz: d9be30d27252ce8828a7c3fb2cf6f0559f8d2654bdc059de909602144d182c7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ffd722e85499fc1b6f68b843c4a8563a308996fb9b66700a6d52beec5f03ce44b792489b7a175c1dbd9716d31a91f6703ae90a1fab2e08d91213fb6e0c25a3
|
7
|
+
data.tar.gz: 26aa77088f4dafe0d2ae4521af416d5d902c7c30a0357bcdb1c62d7db4c94f3fca5e6f1e34a623ca7c389118c4033b2ef19437988d49337b1bccb772fafae0dd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2024-04-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Feature: New schemaStatusDetails field to the existing Schema object that displays a status on Schema API responses to show whether a schema is queryable or not. New BatchGetSchemaAnalysisRule API to retrieve multiple schemaAnalysisRules using a single API call.
|
8
|
+
|
4
9
|
1.16.0 (2024-01-26)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -452,7 +452,7 @@ module Aws::CleanRooms
|
|
452
452
|
# Currently accepts collaboration ID.
|
453
453
|
#
|
454
454
|
# @option params [required, Array<String>] :names
|
455
|
-
# The names for the schema objects to retrieve
|
455
|
+
# The names for the schema objects to retrieve.
|
456
456
|
#
|
457
457
|
# @return [Types::BatchGetSchemaOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
458
458
|
#
|
@@ -486,6 +486,14 @@ module Aws::CleanRooms
|
|
486
486
|
# resp.schemas[0].create_time #=> Time
|
487
487
|
# resp.schemas[0].update_time #=> Time
|
488
488
|
# resp.schemas[0].type #=> String, one of "TABLE"
|
489
|
+
# resp.schemas[0].schema_status_details #=> Array
|
490
|
+
# resp.schemas[0].schema_status_details[0].status #=> String, one of "READY", "NOT_READY"
|
491
|
+
# resp.schemas[0].schema_status_details[0].reasons #=> Array
|
492
|
+
# resp.schemas[0].schema_status_details[0].reasons[0].code #=> String, one of "ANALYSIS_RULE_MISSING", "ANALYSIS_TEMPLATES_NOT_CONFIGURED", "ANALYSIS_PROVIDERS_NOT_CONFIGURED", "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"
|
493
|
+
# resp.schemas[0].schema_status_details[0].reasons[0].message #=> String
|
494
|
+
# resp.schemas[0].schema_status_details[0].analysis_rule_type #=> String, one of "AGGREGATION", "LIST", "CUSTOM"
|
495
|
+
# resp.schemas[0].schema_status_details[0].configurations #=> Array
|
496
|
+
# resp.schemas[0].schema_status_details[0].configurations[0] #=> String, one of "DIFFERENTIAL_PRIVACY"
|
489
497
|
# resp.errors #=> Array
|
490
498
|
# resp.errors[0].name #=> String
|
491
499
|
# resp.errors[0].code #=> String
|
@@ -500,6 +508,84 @@ module Aws::CleanRooms
|
|
500
508
|
req.send_request(options)
|
501
509
|
end
|
502
510
|
|
511
|
+
# Retrieves multiple analysis rule schemas.
|
512
|
+
#
|
513
|
+
# @option params [required, String] :collaboration_identifier
|
514
|
+
# The unique identifier of the collaboration that contains the schema
|
515
|
+
# analysis rule.
|
516
|
+
#
|
517
|
+
# @option params [required, Array<Types::SchemaAnalysisRuleRequest>] :schema_analysis_rule_requests
|
518
|
+
# The information that's necessary to retrieve a schema analysis rule.
|
519
|
+
#
|
520
|
+
# @return [Types::BatchGetSchemaAnalysisRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
|
+
#
|
522
|
+
# * {Types::BatchGetSchemaAnalysisRuleOutput#analysis_rules #analysis_rules} => Array<Types::AnalysisRule>
|
523
|
+
# * {Types::BatchGetSchemaAnalysisRuleOutput#errors #errors} => Array<Types::BatchGetSchemaAnalysisRuleError>
|
524
|
+
#
|
525
|
+
# @example Request syntax with placeholder values
|
526
|
+
#
|
527
|
+
# resp = client.batch_get_schema_analysis_rule({
|
528
|
+
# collaboration_identifier: "CollaborationIdentifier", # required
|
529
|
+
# schema_analysis_rule_requests: [ # required
|
530
|
+
# {
|
531
|
+
# name: "TableAlias", # required
|
532
|
+
# type: "AGGREGATION", # required, accepts AGGREGATION, LIST, CUSTOM
|
533
|
+
# },
|
534
|
+
# ],
|
535
|
+
# })
|
536
|
+
#
|
537
|
+
# @example Response structure
|
538
|
+
#
|
539
|
+
# resp.analysis_rules #=> Array
|
540
|
+
# resp.analysis_rules[0].collaboration_id #=> String
|
541
|
+
# resp.analysis_rules[0].type #=> String, one of "AGGREGATION", "LIST", "CUSTOM"
|
542
|
+
# resp.analysis_rules[0].name #=> String
|
543
|
+
# resp.analysis_rules[0].create_time #=> Time
|
544
|
+
# resp.analysis_rules[0].update_time #=> Time
|
545
|
+
# resp.analysis_rules[0].policy.v1.list.join_columns #=> Array
|
546
|
+
# resp.analysis_rules[0].policy.v1.list.join_columns[0] #=> String
|
547
|
+
# resp.analysis_rules[0].policy.v1.list.allowed_join_operators #=> Array
|
548
|
+
# resp.analysis_rules[0].policy.v1.list.allowed_join_operators[0] #=> String, one of "OR", "AND"
|
549
|
+
# resp.analysis_rules[0].policy.v1.list.list_columns #=> Array
|
550
|
+
# resp.analysis_rules[0].policy.v1.list.list_columns[0] #=> String
|
551
|
+
# resp.analysis_rules[0].policy.v1.aggregation.aggregate_columns #=> Array
|
552
|
+
# resp.analysis_rules[0].policy.v1.aggregation.aggregate_columns[0].column_names #=> Array
|
553
|
+
# resp.analysis_rules[0].policy.v1.aggregation.aggregate_columns[0].column_names[0] #=> String
|
554
|
+
# resp.analysis_rules[0].policy.v1.aggregation.aggregate_columns[0].function #=> String, one of "SUM", "SUM_DISTINCT", "COUNT", "COUNT_DISTINCT", "AVG"
|
555
|
+
# resp.analysis_rules[0].policy.v1.aggregation.join_columns #=> Array
|
556
|
+
# resp.analysis_rules[0].policy.v1.aggregation.join_columns[0] #=> String
|
557
|
+
# resp.analysis_rules[0].policy.v1.aggregation.join_required #=> String, one of "QUERY_RUNNER"
|
558
|
+
# resp.analysis_rules[0].policy.v1.aggregation.allowed_join_operators #=> Array
|
559
|
+
# resp.analysis_rules[0].policy.v1.aggregation.allowed_join_operators[0] #=> String, one of "OR", "AND"
|
560
|
+
# resp.analysis_rules[0].policy.v1.aggregation.dimension_columns #=> Array
|
561
|
+
# resp.analysis_rules[0].policy.v1.aggregation.dimension_columns[0] #=> String
|
562
|
+
# resp.analysis_rules[0].policy.v1.aggregation.scalar_functions #=> Array
|
563
|
+
# resp.analysis_rules[0].policy.v1.aggregation.scalar_functions[0] #=> String, one of "ABS", "CAST", "CEILING", "COALESCE", "CONVERT", "CURRENT_DATE", "DATEADD", "EXTRACT", "FLOOR", "GETDATE", "LN", "LOG", "LOWER", "ROUND", "RTRIM", "SQRT", "SUBSTRING", "TO_CHAR", "TO_DATE", "TO_NUMBER", "TO_TIMESTAMP", "TRIM", "TRUNC", "UPPER"
|
564
|
+
# resp.analysis_rules[0].policy.v1.aggregation.output_constraints #=> Array
|
565
|
+
# resp.analysis_rules[0].policy.v1.aggregation.output_constraints[0].column_name #=> String
|
566
|
+
# resp.analysis_rules[0].policy.v1.aggregation.output_constraints[0].minimum #=> Integer
|
567
|
+
# resp.analysis_rules[0].policy.v1.aggregation.output_constraints[0].type #=> String, one of "COUNT_DISTINCT"
|
568
|
+
# resp.analysis_rules[0].policy.v1.custom.allowed_analyses #=> Array
|
569
|
+
# resp.analysis_rules[0].policy.v1.custom.allowed_analyses[0] #=> String
|
570
|
+
# resp.analysis_rules[0].policy.v1.custom.allowed_analysis_providers #=> Array
|
571
|
+
# resp.analysis_rules[0].policy.v1.custom.allowed_analysis_providers[0] #=> String
|
572
|
+
# resp.analysis_rules[0].policy.v1.custom.differential_privacy.columns #=> Array
|
573
|
+
# resp.analysis_rules[0].policy.v1.custom.differential_privacy.columns[0].name #=> String
|
574
|
+
# resp.errors #=> Array
|
575
|
+
# resp.errors[0].name #=> String
|
576
|
+
# resp.errors[0].type #=> String, one of "AGGREGATION", "LIST", "CUSTOM"
|
577
|
+
# resp.errors[0].code #=> String
|
578
|
+
# resp.errors[0].message #=> String
|
579
|
+
#
|
580
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchemaAnalysisRule AWS API Documentation
|
581
|
+
#
|
582
|
+
# @overload batch_get_schema_analysis_rule(params = {})
|
583
|
+
# @param [Hash] params ({})
|
584
|
+
def batch_get_schema_analysis_rule(params = {}, options = {})
|
585
|
+
req = build_request(:batch_get_schema_analysis_rule, params)
|
586
|
+
req.send_request(options)
|
587
|
+
end
|
588
|
+
|
503
589
|
# Creates a new analysis template.
|
504
590
|
#
|
505
591
|
# @option params [String] :description
|
@@ -883,7 +969,7 @@ module Aws::CleanRooms
|
|
883
969
|
# join_required: "QUERY_RUNNER", # accepts QUERY_RUNNER
|
884
970
|
# allowed_join_operators: ["OR"], # accepts OR, AND
|
885
971
|
# dimension_columns: ["AnalysisRuleColumnName"], # required
|
886
|
-
# scalar_functions: ["
|
972
|
+
# scalar_functions: ["ABS"], # required, accepts ABS, CAST, CEILING, COALESCE, CONVERT, CURRENT_DATE, DATEADD, EXTRACT, FLOOR, GETDATE, LN, LOG, LOWER, ROUND, RTRIM, SQRT, SUBSTRING, TO_CHAR, TO_DATE, TO_NUMBER, TO_TIMESTAMP, TRIM, TRUNC, UPPER
|
887
973
|
# output_constraints: [ # required
|
888
974
|
# {
|
889
975
|
# column_name: "AnalysisRuleColumnName", # required
|
@@ -929,7 +1015,7 @@ module Aws::CleanRooms
|
|
929
1015
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns #=> Array
|
930
1016
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns[0] #=> String
|
931
1017
|
# resp.analysis_rule.policy.v1.aggregation.scalar_functions #=> Array
|
932
|
-
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "
|
1018
|
+
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "ABS", "CAST", "CEILING", "COALESCE", "CONVERT", "CURRENT_DATE", "DATEADD", "EXTRACT", "FLOOR", "GETDATE", "LN", "LOG", "LOWER", "ROUND", "RTRIM", "SQRT", "SUBSTRING", "TO_CHAR", "TO_DATE", "TO_NUMBER", "TO_TIMESTAMP", "TRIM", "TRUNC", "UPPER"
|
933
1019
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints #=> Array
|
934
1020
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].column_name #=> String
|
935
1021
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].minimum #=> Integer
|
@@ -1783,7 +1869,7 @@ module Aws::CleanRooms
|
|
1783
1869
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns #=> Array
|
1784
1870
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns[0] #=> String
|
1785
1871
|
# resp.analysis_rule.policy.v1.aggregation.scalar_functions #=> Array
|
1786
|
-
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "
|
1872
|
+
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "ABS", "CAST", "CEILING", "COALESCE", "CONVERT", "CURRENT_DATE", "DATEADD", "EXTRACT", "FLOOR", "GETDATE", "LN", "LOG", "LOWER", "ROUND", "RTRIM", "SQRT", "SUBSTRING", "TO_CHAR", "TO_DATE", "TO_NUMBER", "TO_TIMESTAMP", "TRIM", "TRUNC", "UPPER"
|
1787
1873
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints #=> Array
|
1788
1874
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].column_name #=> String
|
1789
1875
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].minimum #=> Integer
|
@@ -2035,6 +2121,14 @@ module Aws::CleanRooms
|
|
2035
2121
|
# resp.schema.create_time #=> Time
|
2036
2122
|
# resp.schema.update_time #=> Time
|
2037
2123
|
# resp.schema.type #=> String, one of "TABLE"
|
2124
|
+
# resp.schema.schema_status_details #=> Array
|
2125
|
+
# resp.schema.schema_status_details[0].status #=> String, one of "READY", "NOT_READY"
|
2126
|
+
# resp.schema.schema_status_details[0].reasons #=> Array
|
2127
|
+
# resp.schema.schema_status_details[0].reasons[0].code #=> String, one of "ANALYSIS_RULE_MISSING", "ANALYSIS_TEMPLATES_NOT_CONFIGURED", "ANALYSIS_PROVIDERS_NOT_CONFIGURED", "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"
|
2128
|
+
# resp.schema.schema_status_details[0].reasons[0].message #=> String
|
2129
|
+
# resp.schema.schema_status_details[0].analysis_rule_type #=> String, one of "AGGREGATION", "LIST", "CUSTOM"
|
2130
|
+
# resp.schema.schema_status_details[0].configurations #=> Array
|
2131
|
+
# resp.schema.schema_status_details[0].configurations[0] #=> String, one of "DIFFERENTIAL_PRIVACY"
|
2038
2132
|
#
|
2039
2133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema AWS API Documentation
|
2040
2134
|
#
|
@@ -2096,7 +2190,7 @@ module Aws::CleanRooms
|
|
2096
2190
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns #=> Array
|
2097
2191
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns[0] #=> String
|
2098
2192
|
# resp.analysis_rule.policy.v1.aggregation.scalar_functions #=> Array
|
2099
|
-
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "
|
2193
|
+
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "ABS", "CAST", "CEILING", "COALESCE", "CONVERT", "CURRENT_DATE", "DATEADD", "EXTRACT", "FLOOR", "GETDATE", "LN", "LOG", "LOWER", "ROUND", "RTRIM", "SQRT", "SUBSTRING", "TO_CHAR", "TO_DATE", "TO_NUMBER", "TO_TIMESTAMP", "TRIM", "TRUNC", "UPPER"
|
2100
2194
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints #=> Array
|
2101
2195
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].column_name #=> String
|
2102
2196
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].minimum #=> Integer
|
@@ -3379,7 +3473,7 @@ module Aws::CleanRooms
|
|
3379
3473
|
# join_required: "QUERY_RUNNER", # accepts QUERY_RUNNER
|
3380
3474
|
# allowed_join_operators: ["OR"], # accepts OR, AND
|
3381
3475
|
# dimension_columns: ["AnalysisRuleColumnName"], # required
|
3382
|
-
# scalar_functions: ["
|
3476
|
+
# scalar_functions: ["ABS"], # required, accepts ABS, CAST, CEILING, COALESCE, CONVERT, CURRENT_DATE, DATEADD, EXTRACT, FLOOR, GETDATE, LN, LOG, LOWER, ROUND, RTRIM, SQRT, SUBSTRING, TO_CHAR, TO_DATE, TO_NUMBER, TO_TIMESTAMP, TRIM, TRUNC, UPPER
|
3383
3477
|
# output_constraints: [ # required
|
3384
3478
|
# {
|
3385
3479
|
# column_name: "AnalysisRuleColumnName", # required
|
@@ -3425,7 +3519,7 @@ module Aws::CleanRooms
|
|
3425
3519
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns #=> Array
|
3426
3520
|
# resp.analysis_rule.policy.v1.aggregation.dimension_columns[0] #=> String
|
3427
3521
|
# resp.analysis_rule.policy.v1.aggregation.scalar_functions #=> Array
|
3428
|
-
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "
|
3522
|
+
# resp.analysis_rule.policy.v1.aggregation.scalar_functions[0] #=> String, one of "ABS", "CAST", "CEILING", "COALESCE", "CONVERT", "CURRENT_DATE", "DATEADD", "EXTRACT", "FLOOR", "GETDATE", "LN", "LOG", "LOWER", "ROUND", "RTRIM", "SQRT", "SUBSTRING", "TO_CHAR", "TO_DATE", "TO_NUMBER", "TO_TIMESTAMP", "TRIM", "TRUNC", "UPPER"
|
3429
3523
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints #=> Array
|
3430
3524
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].column_name #=> String
|
3431
3525
|
# resp.analysis_rule.policy.v1.aggregation.output_constraints[0].minimum #=> Integer
|
@@ -3699,7 +3793,7 @@ module Aws::CleanRooms
|
|
3699
3793
|
params: params,
|
3700
3794
|
config: config)
|
3701
3795
|
context[:gem_name] = 'aws-sdk-cleanrooms'
|
3702
|
-
context[:gem_version] = '1.
|
3796
|
+
context[:gem_version] = '1.17.0'
|
3703
3797
|
Seahorse::Client::Request.new(handlers, context)
|
3704
3798
|
end
|
3705
3799
|
|
@@ -56,6 +56,10 @@ module Aws::CleanRooms
|
|
56
56
|
BatchGetCollaborationAnalysisTemplateErrorList = Shapes::ListShape.new(name: 'BatchGetCollaborationAnalysisTemplateErrorList')
|
57
57
|
BatchGetCollaborationAnalysisTemplateInput = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateInput')
|
58
58
|
BatchGetCollaborationAnalysisTemplateOutput = Shapes::StructureShape.new(name: 'BatchGetCollaborationAnalysisTemplateOutput')
|
59
|
+
BatchGetSchemaAnalysisRuleError = Shapes::StructureShape.new(name: 'BatchGetSchemaAnalysisRuleError')
|
60
|
+
BatchGetSchemaAnalysisRuleErrorList = Shapes::ListShape.new(name: 'BatchGetSchemaAnalysisRuleErrorList')
|
61
|
+
BatchGetSchemaAnalysisRuleInput = Shapes::StructureShape.new(name: 'BatchGetSchemaAnalysisRuleInput')
|
62
|
+
BatchGetSchemaAnalysisRuleOutput = Shapes::StructureShape.new(name: 'BatchGetSchemaAnalysisRuleOutput')
|
59
63
|
BatchGetSchemaError = Shapes::StructureShape.new(name: 'BatchGetSchemaError')
|
60
64
|
BatchGetSchemaErrorList = Shapes::ListShape.new(name: 'BatchGetSchemaErrorList')
|
61
65
|
BatchGetSchemaInput = Shapes::StructureShape.new(name: 'BatchGetSchemaInput')
|
@@ -313,7 +317,18 @@ module Aws::CleanRooms
|
|
313
317
|
ScalarFunctions = Shapes::StringShape.new(name: 'ScalarFunctions')
|
314
318
|
ScalarFunctionsList = Shapes::ListShape.new(name: 'ScalarFunctionsList')
|
315
319
|
Schema = Shapes::StructureShape.new(name: 'Schema')
|
320
|
+
SchemaAnalysisRuleList = Shapes::ListShape.new(name: 'SchemaAnalysisRuleList')
|
321
|
+
SchemaAnalysisRuleRequest = Shapes::StructureShape.new(name: 'SchemaAnalysisRuleRequest')
|
322
|
+
SchemaAnalysisRuleRequestList = Shapes::ListShape.new(name: 'SchemaAnalysisRuleRequestList')
|
323
|
+
SchemaConfiguration = Shapes::StringShape.new(name: 'SchemaConfiguration')
|
324
|
+
SchemaConfigurationList = Shapes::ListShape.new(name: 'SchemaConfigurationList')
|
316
325
|
SchemaList = Shapes::ListShape.new(name: 'SchemaList')
|
326
|
+
SchemaStatus = Shapes::StringShape.new(name: 'SchemaStatus')
|
327
|
+
SchemaStatusDetail = Shapes::StructureShape.new(name: 'SchemaStatusDetail')
|
328
|
+
SchemaStatusDetailList = Shapes::ListShape.new(name: 'SchemaStatusDetailList')
|
329
|
+
SchemaStatusReason = Shapes::StructureShape.new(name: 'SchemaStatusReason')
|
330
|
+
SchemaStatusReasonCode = Shapes::StringShape.new(name: 'SchemaStatusReasonCode')
|
331
|
+
SchemaStatusReasonList = Shapes::ListShape.new(name: 'SchemaStatusReasonList')
|
317
332
|
SchemaSummary = Shapes::StructureShape.new(name: 'SchemaSummary')
|
318
333
|
SchemaSummaryList = Shapes::ListShape.new(name: 'SchemaSummaryList')
|
319
334
|
SchemaType = Shapes::StringShape.new(name: 'SchemaType')
|
@@ -498,6 +513,22 @@ module Aws::CleanRooms
|
|
498
513
|
BatchGetCollaborationAnalysisTemplateOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetCollaborationAnalysisTemplateErrorList, required: true, location_name: "errors"))
|
499
514
|
BatchGetCollaborationAnalysisTemplateOutput.struct_class = Types::BatchGetCollaborationAnalysisTemplateOutput
|
500
515
|
|
516
|
+
BatchGetSchemaAnalysisRuleError.add_member(:name, Shapes::ShapeRef.new(shape: TableAlias, required: true, location_name: "name"))
|
517
|
+
BatchGetSchemaAnalysisRuleError.add_member(:type, Shapes::ShapeRef.new(shape: AnalysisRuleType, required: true, location_name: "type"))
|
518
|
+
BatchGetSchemaAnalysisRuleError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
|
519
|
+
BatchGetSchemaAnalysisRuleError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
520
|
+
BatchGetSchemaAnalysisRuleError.struct_class = Types::BatchGetSchemaAnalysisRuleError
|
521
|
+
|
522
|
+
BatchGetSchemaAnalysisRuleErrorList.member = Shapes::ShapeRef.new(shape: BatchGetSchemaAnalysisRuleError)
|
523
|
+
|
524
|
+
BatchGetSchemaAnalysisRuleInput.add_member(:collaboration_identifier, Shapes::ShapeRef.new(shape: CollaborationIdentifier, required: true, location: "uri", location_name: "collaborationIdentifier"))
|
525
|
+
BatchGetSchemaAnalysisRuleInput.add_member(:schema_analysis_rule_requests, Shapes::ShapeRef.new(shape: SchemaAnalysisRuleRequestList, required: true, location_name: "schemaAnalysisRuleRequests"))
|
526
|
+
BatchGetSchemaAnalysisRuleInput.struct_class = Types::BatchGetSchemaAnalysisRuleInput
|
527
|
+
|
528
|
+
BatchGetSchemaAnalysisRuleOutput.add_member(:analysis_rules, Shapes::ShapeRef.new(shape: SchemaAnalysisRuleList, required: true, location_name: "analysisRules"))
|
529
|
+
BatchGetSchemaAnalysisRuleOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetSchemaAnalysisRuleErrorList, required: true, location_name: "errors"))
|
530
|
+
BatchGetSchemaAnalysisRuleOutput.struct_class = Types::BatchGetSchemaAnalysisRuleOutput
|
531
|
+
|
501
532
|
BatchGetSchemaError.add_member(:name, Shapes::ShapeRef.new(shape: TableAlias, required: true, location_name: "name"))
|
502
533
|
BatchGetSchemaError.add_member(:code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "code"))
|
503
534
|
BatchGetSchemaError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -1451,10 +1482,35 @@ module Aws::CleanRooms
|
|
1451
1482
|
Schema.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createTime"))
|
1452
1483
|
Schema.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateTime"))
|
1453
1484
|
Schema.add_member(:type, Shapes::ShapeRef.new(shape: SchemaType, required: true, location_name: "type"))
|
1485
|
+
Schema.add_member(:schema_status_details, Shapes::ShapeRef.new(shape: SchemaStatusDetailList, required: true, location_name: "schemaStatusDetails"))
|
1454
1486
|
Schema.struct_class = Types::Schema
|
1455
1487
|
|
1488
|
+
SchemaAnalysisRuleList.member = Shapes::ShapeRef.new(shape: AnalysisRule)
|
1489
|
+
|
1490
|
+
SchemaAnalysisRuleRequest.add_member(:name, Shapes::ShapeRef.new(shape: TableAlias, required: true, location_name: "name"))
|
1491
|
+
SchemaAnalysisRuleRequest.add_member(:type, Shapes::ShapeRef.new(shape: AnalysisRuleType, required: true, location_name: "type"))
|
1492
|
+
SchemaAnalysisRuleRequest.struct_class = Types::SchemaAnalysisRuleRequest
|
1493
|
+
|
1494
|
+
SchemaAnalysisRuleRequestList.member = Shapes::ShapeRef.new(shape: SchemaAnalysisRuleRequest)
|
1495
|
+
|
1496
|
+
SchemaConfigurationList.member = Shapes::ShapeRef.new(shape: SchemaConfiguration)
|
1497
|
+
|
1456
1498
|
SchemaList.member = Shapes::ShapeRef.new(shape: Schema)
|
1457
1499
|
|
1500
|
+
SchemaStatusDetail.add_member(:status, Shapes::ShapeRef.new(shape: SchemaStatus, required: true, location_name: "status"))
|
1501
|
+
SchemaStatusDetail.add_member(:reasons, Shapes::ShapeRef.new(shape: SchemaStatusReasonList, location_name: "reasons"))
|
1502
|
+
SchemaStatusDetail.add_member(:analysis_rule_type, Shapes::ShapeRef.new(shape: AnalysisRuleType, location_name: "analysisRuleType"))
|
1503
|
+
SchemaStatusDetail.add_member(:configurations, Shapes::ShapeRef.new(shape: SchemaConfigurationList, location_name: "configurations"))
|
1504
|
+
SchemaStatusDetail.struct_class = Types::SchemaStatusDetail
|
1505
|
+
|
1506
|
+
SchemaStatusDetailList.member = Shapes::ShapeRef.new(shape: SchemaStatusDetail)
|
1507
|
+
|
1508
|
+
SchemaStatusReason.add_member(:code, Shapes::ShapeRef.new(shape: SchemaStatusReasonCode, required: true, location_name: "code"))
|
1509
|
+
SchemaStatusReason.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
1510
|
+
SchemaStatusReason.struct_class = Types::SchemaStatusReason
|
1511
|
+
|
1512
|
+
SchemaStatusReasonList.member = Shapes::ShapeRef.new(shape: SchemaStatusReason)
|
1513
|
+
|
1458
1514
|
SchemaSummary.add_member(:name, Shapes::ShapeRef.new(shape: TableAlias, required: true, location_name: "name"))
|
1459
1515
|
SchemaSummary.add_member(:type, Shapes::ShapeRef.new(shape: SchemaType, required: true, location_name: "type"))
|
1460
1516
|
SchemaSummary.add_member(:creator_account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "creatorAccountId"))
|
@@ -1640,6 +1696,19 @@ module Aws::CleanRooms
|
|
1640
1696
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1641
1697
|
end)
|
1642
1698
|
|
1699
|
+
api.add_operation(:batch_get_schema_analysis_rule, Seahorse::Model::Operation.new.tap do |o|
|
1700
|
+
o.name = "BatchGetSchemaAnalysisRule"
|
1701
|
+
o.http_method = "POST"
|
1702
|
+
o.http_request_uri = "/collaborations/{collaborationIdentifier}/batch-schema-analysis-rule"
|
1703
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetSchemaAnalysisRuleInput)
|
1704
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetSchemaAnalysisRuleOutput)
|
1705
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1707
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1708
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1709
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1710
|
+
end)
|
1711
|
+
|
1643
1712
|
api.add_operation(:create_analysis_template, Seahorse::Model::Operation.new.tap do |o|
|
1644
1713
|
o.name = "CreateAnalysisTemplate"
|
1645
1714
|
o.http_method = "POST"
|
@@ -40,6 +40,20 @@ module Aws::CleanRooms
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
+
class BatchGetSchemaAnalysisRule
|
44
|
+
def self.build(context)
|
45
|
+
unless context.config.regional_endpoint
|
46
|
+
endpoint = context.config.endpoint.to_s
|
47
|
+
end
|
48
|
+
Aws::CleanRooms::EndpointParameters.new(
|
49
|
+
region: context.config.region,
|
50
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
51
|
+
use_fips: context.config.use_fips_endpoint,
|
52
|
+
endpoint: endpoint,
|
53
|
+
)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
43
57
|
class CreateAnalysisTemplate
|
44
58
|
def self.build(context)
|
45
59
|
unless context.config.regional_endpoint
|
@@ -62,6 +62,8 @@ module Aws::CleanRooms
|
|
62
62
|
Aws::CleanRooms::Endpoints::BatchGetCollaborationAnalysisTemplate.build(context)
|
63
63
|
when :batch_get_schema
|
64
64
|
Aws::CleanRooms::Endpoints::BatchGetSchema.build(context)
|
65
|
+
when :batch_get_schema_analysis_rule
|
66
|
+
Aws::CleanRooms::Endpoints::BatchGetSchemaAnalysisRule.build(context)
|
65
67
|
when :create_analysis_template
|
66
68
|
Aws::CleanRooms::Endpoints::CreateAnalysisTemplate.build(context)
|
67
69
|
when :create_collaboration
|
@@ -207,13 +207,14 @@ module Aws::CleanRooms
|
|
207
207
|
# privacy.
|
208
208
|
#
|
209
209
|
# @!attribute [rw] allowed_analyses
|
210
|
-
# The analysis templates that are allowed by the custom
|
210
|
+
# The ARN of the analysis templates that are allowed by the custom
|
211
|
+
# analysis rule.
|
211
212
|
# @return [Array<String>]
|
212
213
|
#
|
213
214
|
# @!attribute [rw] allowed_analysis_providers
|
214
|
-
# The Amazon Web Services accounts that are allowed to
|
215
|
-
# custom analysis rule. Required when `allowedAnalyses`
|
216
|
-
# `ANY_QUERY`.
|
215
|
+
# The IDs of the Amazon Web Services accounts that are allowed to
|
216
|
+
# query by the custom analysis rule. Required when `allowedAnalyses`
|
217
|
+
# is `ANY_QUERY`.
|
217
218
|
# @return [Array<String>]
|
218
219
|
#
|
219
220
|
# @!attribute [rw] differential_privacy
|
@@ -559,6 +560,72 @@ module Aws::CleanRooms
|
|
559
560
|
include Aws::Structure
|
560
561
|
end
|
561
562
|
|
563
|
+
# An error that describes why a schema could not be fetched.
|
564
|
+
#
|
565
|
+
# @!attribute [rw] name
|
566
|
+
# An error name for the error.
|
567
|
+
# @return [String]
|
568
|
+
#
|
569
|
+
# @!attribute [rw] type
|
570
|
+
# The analysis rule type.
|
571
|
+
# @return [String]
|
572
|
+
#
|
573
|
+
# @!attribute [rw] code
|
574
|
+
# An error code for the error.
|
575
|
+
# @return [String]
|
576
|
+
#
|
577
|
+
# @!attribute [rw] message
|
578
|
+
# A description of why the call failed.
|
579
|
+
# @return [String]
|
580
|
+
#
|
581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchemaAnalysisRuleError AWS API Documentation
|
582
|
+
#
|
583
|
+
class BatchGetSchemaAnalysisRuleError < Struct.new(
|
584
|
+
:name,
|
585
|
+
:type,
|
586
|
+
:code,
|
587
|
+
:message)
|
588
|
+
SENSITIVE = []
|
589
|
+
include Aws::Structure
|
590
|
+
end
|
591
|
+
|
592
|
+
# @!attribute [rw] collaboration_identifier
|
593
|
+
# The unique identifier of the collaboration that contains the schema
|
594
|
+
# analysis rule.
|
595
|
+
# @return [String]
|
596
|
+
#
|
597
|
+
# @!attribute [rw] schema_analysis_rule_requests
|
598
|
+
# The information that's necessary to retrieve a schema analysis
|
599
|
+
# rule.
|
600
|
+
# @return [Array<Types::SchemaAnalysisRuleRequest>]
|
601
|
+
#
|
602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchemaAnalysisRuleInput AWS API Documentation
|
603
|
+
#
|
604
|
+
class BatchGetSchemaAnalysisRuleInput < Struct.new(
|
605
|
+
:collaboration_identifier,
|
606
|
+
:schema_analysis_rule_requests)
|
607
|
+
SENSITIVE = []
|
608
|
+
include Aws::Structure
|
609
|
+
end
|
610
|
+
|
611
|
+
# @!attribute [rw] analysis_rules
|
612
|
+
# The retrieved list of analysis rules.
|
613
|
+
# @return [Array<Types::AnalysisRule>]
|
614
|
+
#
|
615
|
+
# @!attribute [rw] errors
|
616
|
+
# Error reasons for schemas that could not be retrieved. One error is
|
617
|
+
# returned for every schema that could not be retrieved.
|
618
|
+
# @return [Array<Types::BatchGetSchemaAnalysisRuleError>]
|
619
|
+
#
|
620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchemaAnalysisRuleOutput AWS API Documentation
|
621
|
+
#
|
622
|
+
class BatchGetSchemaAnalysisRuleOutput < Struct.new(
|
623
|
+
:analysis_rules,
|
624
|
+
:errors)
|
625
|
+
SENSITIVE = []
|
626
|
+
include Aws::Structure
|
627
|
+
end
|
628
|
+
|
562
629
|
# An error describing why a schema could not be fetched.
|
563
630
|
#
|
564
631
|
# @!attribute [rw] name
|
@@ -589,7 +656,7 @@ module Aws::CleanRooms
|
|
589
656
|
# @return [String]
|
590
657
|
#
|
591
658
|
# @!attribute [rw] names
|
592
|
-
# The names for the schema objects to retrieve
|
659
|
+
# The names for the schema objects to retrieve.
|
593
660
|
# @return [Array<String>]
|
594
661
|
#
|
595
662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchemaInput AWS API Documentation
|
@@ -4953,6 +5020,11 @@ module Aws::CleanRooms
|
|
4953
5020
|
# The type of schema. The only valid value is currently `TABLE`.
|
4954
5021
|
# @return [String]
|
4955
5022
|
#
|
5023
|
+
# @!attribute [rw] schema_status_details
|
5024
|
+
# Details about the status of the schema. Currently, only one entry is
|
5025
|
+
# present.
|
5026
|
+
# @return [Array<Types::SchemaStatusDetail>]
|
5027
|
+
#
|
4956
5028
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/Schema AWS API Documentation
|
4957
5029
|
#
|
4958
5030
|
class Schema < Struct.new(
|
@@ -4967,11 +5039,88 @@ module Aws::CleanRooms
|
|
4967
5039
|
:description,
|
4968
5040
|
:create_time,
|
4969
5041
|
:update_time,
|
5042
|
+
:type,
|
5043
|
+
:schema_status_details)
|
5044
|
+
SENSITIVE = []
|
5045
|
+
include Aws::Structure
|
5046
|
+
end
|
5047
|
+
|
5048
|
+
# Defines the information that's necessary to retrieve an analysis rule
|
5049
|
+
# schema. Schema analysis rules are uniquely identified by a combination
|
5050
|
+
# of the schema name and the analysis rule type for a given
|
5051
|
+
# collaboration.
|
5052
|
+
#
|
5053
|
+
# @!attribute [rw] name
|
5054
|
+
# The name of the analysis rule schema that you are requesting.
|
5055
|
+
# @return [String]
|
5056
|
+
#
|
5057
|
+
# @!attribute [rw] type
|
5058
|
+
# The type of analysis rule schema that you are requesting.
|
5059
|
+
# @return [String]
|
5060
|
+
#
|
5061
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/SchemaAnalysisRuleRequest AWS API Documentation
|
5062
|
+
#
|
5063
|
+
class SchemaAnalysisRuleRequest < Struct.new(
|
5064
|
+
:name,
|
4970
5065
|
:type)
|
4971
5066
|
SENSITIVE = []
|
4972
5067
|
include Aws::Structure
|
4973
5068
|
end
|
4974
5069
|
|
5070
|
+
# Information about the schema status.
|
5071
|
+
#
|
5072
|
+
# A status of `READY` means that based on the schema analysis rule,
|
5073
|
+
# queries of the given analysis rule type are properly configured to run
|
5074
|
+
# queries on this schema.
|
5075
|
+
#
|
5076
|
+
# @!attribute [rw] status
|
5077
|
+
# The status of the schema.
|
5078
|
+
# @return [String]
|
5079
|
+
#
|
5080
|
+
# @!attribute [rw] reasons
|
5081
|
+
# The reasons why the schema status is set to its current state.
|
5082
|
+
# @return [Array<Types::SchemaStatusReason>]
|
5083
|
+
#
|
5084
|
+
# @!attribute [rw] analysis_rule_type
|
5085
|
+
# The analysis rule type for which the schema status has been
|
5086
|
+
# evaluated.
|
5087
|
+
# @return [String]
|
5088
|
+
#
|
5089
|
+
# @!attribute [rw] configurations
|
5090
|
+
# The configuration details of the schema analysis rule for the given
|
5091
|
+
# type.
|
5092
|
+
# @return [Array<String>]
|
5093
|
+
#
|
5094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/SchemaStatusDetail AWS API Documentation
|
5095
|
+
#
|
5096
|
+
class SchemaStatusDetail < Struct.new(
|
5097
|
+
:status,
|
5098
|
+
:reasons,
|
5099
|
+
:analysis_rule_type,
|
5100
|
+
:configurations)
|
5101
|
+
SENSITIVE = []
|
5102
|
+
include Aws::Structure
|
5103
|
+
end
|
5104
|
+
|
5105
|
+
# A reason why the schema status is set to its current value.
|
5106
|
+
#
|
5107
|
+
# @!attribute [rw] code
|
5108
|
+
# The schema status reason code.
|
5109
|
+
# @return [String]
|
5110
|
+
#
|
5111
|
+
# @!attribute [rw] message
|
5112
|
+
# An explanation of the schema status reason code.
|
5113
|
+
# @return [String]
|
5114
|
+
#
|
5115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/SchemaStatusReason AWS API Documentation
|
5116
|
+
#
|
5117
|
+
class SchemaStatusReason < Struct.new(
|
5118
|
+
:code,
|
5119
|
+
:message)
|
5120
|
+
SENSITIVE = []
|
5121
|
+
include Aws::Structure
|
5122
|
+
end
|
5123
|
+
|
4975
5124
|
# The schema summary for the objects listed by the request.
|
4976
5125
|
#
|
4977
5126
|
# @!attribute [rw] name
|
data/lib/aws-sdk-cleanrooms.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -96,6 +96,23 @@ module Aws
|
|
96
96
|
) -> _BatchGetSchemaResponseSuccess
|
97
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSchemaResponseSuccess
|
98
98
|
|
99
|
+
interface _BatchGetSchemaAnalysisRuleResponseSuccess
|
100
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetSchemaAnalysisRuleOutput]
|
101
|
+
def analysis_rules: () -> ::Array[Types::AnalysisRule]
|
102
|
+
def errors: () -> ::Array[Types::BatchGetSchemaAnalysisRuleError]
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRooms/Client.html#batch_get_schema_analysis_rule-instance_method
|
105
|
+
def batch_get_schema_analysis_rule: (
|
106
|
+
collaboration_identifier: ::String,
|
107
|
+
schema_analysis_rule_requests: Array[
|
108
|
+
{
|
109
|
+
name: ::String,
|
110
|
+
type: ("AGGREGATION" | "LIST" | "CUSTOM")
|
111
|
+
},
|
112
|
+
]
|
113
|
+
) -> _BatchGetSchemaAnalysisRuleResponseSuccess
|
114
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSchemaAnalysisRuleResponseSuccess
|
115
|
+
|
99
116
|
interface _CreateAnalysisTemplateResponseSuccess
|
100
117
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAnalysisTemplateOutput]
|
101
118
|
def analysis_template: () -> Types::AnalysisTemplate
|
@@ -219,7 +236,7 @@ module Aws
|
|
219
236
|
join_required: ("QUERY_RUNNER")?,
|
220
237
|
allowed_join_operators: Array[("OR" | "AND")]?,
|
221
238
|
dimension_columns: Array[::String],
|
222
|
-
scalar_functions: Array[("
|
239
|
+
scalar_functions: Array[("ABS" | "CAST" | "CEILING" | "COALESCE" | "CONVERT" | "CURRENT_DATE" | "DATEADD" | "EXTRACT" | "FLOOR" | "GETDATE" | "LN" | "LOG" | "LOWER" | "ROUND" | "RTRIM" | "SQRT" | "SUBSTRING" | "TO_CHAR" | "TO_DATE" | "TO_NUMBER" | "TO_TIMESTAMP" | "TRIM" | "TRUNC" | "UPPER")],
|
223
240
|
output_constraints: Array[
|
224
241
|
{
|
225
242
|
column_name: ::String,
|
@@ -888,7 +905,7 @@ module Aws
|
|
888
905
|
join_required: ("QUERY_RUNNER")?,
|
889
906
|
allowed_join_operators: Array[("OR" | "AND")]?,
|
890
907
|
dimension_columns: Array[::String],
|
891
|
-
scalar_functions: Array[("
|
908
|
+
scalar_functions: Array[("ABS" | "CAST" | "CEILING" | "COALESCE" | "CONVERT" | "CURRENT_DATE" | "DATEADD" | "EXTRACT" | "FLOOR" | "GETDATE" | "LN" | "LOG" | "LOWER" | "ROUND" | "RTRIM" | "SQRT" | "SUBSTRING" | "TO_CHAR" | "TO_DATE" | "TO_NUMBER" | "TO_TIMESTAMP" | "TRIM" | "TRUNC" | "UPPER")],
|
892
909
|
output_constraints: Array[
|
893
910
|
{
|
894
911
|
column_name: ::String,
|
data/sig/types.rbs
CHANGED
@@ -50,7 +50,7 @@ module Aws::CleanRooms
|
|
50
50
|
attr_accessor join_required: ("QUERY_RUNNER")
|
51
51
|
attr_accessor allowed_join_operators: ::Array[("OR" | "AND")]
|
52
52
|
attr_accessor dimension_columns: ::Array[::String]
|
53
|
-
attr_accessor scalar_functions: ::Array[("
|
53
|
+
attr_accessor scalar_functions: ::Array[("ABS" | "CAST" | "CEILING" | "COALESCE" | "CONVERT" | "CURRENT_DATE" | "DATEADD" | "EXTRACT" | "FLOOR" | "GETDATE" | "LN" | "LOG" | "LOWER" | "ROUND" | "RTRIM" | "SQRT" | "SUBSTRING" | "TO_CHAR" | "TO_DATE" | "TO_NUMBER" | "TO_TIMESTAMP" | "TRIM" | "TRUNC" | "UPPER")]
|
54
54
|
attr_accessor output_constraints: ::Array[Types::AggregationConstraint]
|
55
55
|
SENSITIVE: []
|
56
56
|
end
|
@@ -164,6 +164,26 @@ module Aws::CleanRooms
|
|
164
164
|
SENSITIVE: []
|
165
165
|
end
|
166
166
|
|
167
|
+
class BatchGetSchemaAnalysisRuleError
|
168
|
+
attr_accessor name: ::String
|
169
|
+
attr_accessor type: ("AGGREGATION" | "LIST" | "CUSTOM")
|
170
|
+
attr_accessor code: ::String
|
171
|
+
attr_accessor message: ::String
|
172
|
+
SENSITIVE: []
|
173
|
+
end
|
174
|
+
|
175
|
+
class BatchGetSchemaAnalysisRuleInput
|
176
|
+
attr_accessor collaboration_identifier: ::String
|
177
|
+
attr_accessor schema_analysis_rule_requests: ::Array[Types::SchemaAnalysisRuleRequest]
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class BatchGetSchemaAnalysisRuleOutput
|
182
|
+
attr_accessor analysis_rules: ::Array[Types::AnalysisRule]
|
183
|
+
attr_accessor errors: ::Array[Types::BatchGetSchemaAnalysisRuleError]
|
184
|
+
SENSITIVE: []
|
185
|
+
end
|
186
|
+
|
167
187
|
class BatchGetSchemaError
|
168
188
|
attr_accessor name: ::String
|
169
189
|
attr_accessor code: ::String
|
@@ -1420,6 +1440,27 @@ module Aws::CleanRooms
|
|
1420
1440
|
attr_accessor create_time: ::Time
|
1421
1441
|
attr_accessor update_time: ::Time
|
1422
1442
|
attr_accessor type: ("TABLE")
|
1443
|
+
attr_accessor schema_status_details: ::Array[Types::SchemaStatusDetail]
|
1444
|
+
SENSITIVE: []
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
class SchemaAnalysisRuleRequest
|
1448
|
+
attr_accessor name: ::String
|
1449
|
+
attr_accessor type: ("AGGREGATION" | "LIST" | "CUSTOM")
|
1450
|
+
SENSITIVE: []
|
1451
|
+
end
|
1452
|
+
|
1453
|
+
class SchemaStatusDetail
|
1454
|
+
attr_accessor status: ("READY" | "NOT_READY")
|
1455
|
+
attr_accessor reasons: ::Array[Types::SchemaStatusReason]
|
1456
|
+
attr_accessor analysis_rule_type: ("AGGREGATION" | "LIST" | "CUSTOM")
|
1457
|
+
attr_accessor configurations: ::Array[("DIFFERENTIAL_PRIVACY")]
|
1458
|
+
SENSITIVE: []
|
1459
|
+
end
|
1460
|
+
|
1461
|
+
class SchemaStatusReason
|
1462
|
+
attr_accessor code: ("ANALYSIS_RULE_MISSING" | "ANALYSIS_TEMPLATES_NOT_CONFIGURED" | "ANALYSIS_PROVIDERS_NOT_CONFIGURED" | "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED")
|
1463
|
+
attr_accessor message: ::String
|
1423
1464
|
SENSITIVE: []
|
1424
1465
|
end
|
1425
1466
|
|
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.
|
4
|
+
version: 1.17.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-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|