aws-sdk-cleanrooms 1.40.0 → 1.41.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.
@@ -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.40.0'
58
+ GEM_VERSION = '1.41.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -127,9 +127,26 @@ module Aws
127
127
  ?description: ::String,
128
128
  membership_identifier: ::String,
129
129
  name: ::String,
130
- format: ("SQL"),
130
+ format: ("SQL" | "PYSPARK_1_0"),
131
131
  source: {
132
- text: ::String?
132
+ text: ::String?,
133
+ artifacts: {
134
+ entry_point: {
135
+ location: {
136
+ bucket: ::String,
137
+ key: ::String
138
+ }
139
+ },
140
+ additional_artifacts: Array[
141
+ {
142
+ location: {
143
+ bucket: ::String,
144
+ key: ::String
145
+ }
146
+ },
147
+ ]?,
148
+ role_arn: ::String
149
+ }?
133
150
  },
134
151
  ?tags: Hash[::String, ::String],
135
152
  ?analysis_parameters: Array[
@@ -138,7 +155,10 @@ module Aws
138
155
  type: ("SMALLINT" | "INTEGER" | "BIGINT" | "DECIMAL" | "REAL" | "DOUBLE_PRECISION" | "BOOLEAN" | "CHAR" | "VARCHAR" | "DATE" | "TIMESTAMP" | "TIMESTAMPTZ" | "TIME" | "TIMETZ" | "VARBYTE" | "BINARY" | "BYTE" | "CHARACTER" | "DOUBLE" | "FLOAT" | "INT" | "LONG" | "NUMERIC" | "SHORT" | "STRING" | "TIMESTAMP_LTZ" | "TIMESTAMP_NTZ" | "TINYINT"),
139
156
  default_value: ::String?
140
157
  },
141
- ]
158
+ ],
159
+ ?schema: {
160
+ referenced_tables: Array[::String]?
161
+ }
142
162
  ) -> _CreateAnalysisTemplateResponseSuccess
143
163
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnalysisTemplateResponseSuccess
144
164
 
@@ -151,7 +171,7 @@ module Aws
151
171
  members: Array[
152
172
  {
153
173
  account_id: ::String,
154
- member_abilities: Array[("CAN_QUERY" | "CAN_RECEIVE_RESULTS")],
174
+ member_abilities: Array[("CAN_QUERY" | "CAN_RECEIVE_RESULTS" | "CAN_RUN_JOB")],
155
175
  ml_member_abilities: {
156
176
  custom_ml_member_abilities: Array[("CAN_RECEIVE_MODEL_OUTPUT" | "CAN_RECEIVE_INFERENCE_OUTPUT")]
157
177
  }?,
@@ -167,13 +187,16 @@ module Aws
167
187
  model_inference: {
168
188
  is_responsible: bool
169
189
  }?
190
+ }?,
191
+ job_compute: {
192
+ is_responsible: bool
170
193
  }?
171
194
  }?
172
195
  },
173
196
  ],
174
197
  name: ::String,
175
198
  description: ::String,
176
- creator_member_abilities: Array[("CAN_QUERY" | "CAN_RECEIVE_RESULTS")],
199
+ creator_member_abilities: Array[("CAN_QUERY" | "CAN_RECEIVE_RESULTS" | "CAN_RUN_JOB")],
177
200
  ?creator_ml_member_abilities: {
178
201
  custom_ml_member_abilities: Array[("CAN_RECEIVE_MODEL_OUTPUT" | "CAN_RECEIVE_INFERENCE_OUTPUT")]
179
202
  },
@@ -185,6 +208,7 @@ module Aws
185
208
  preserve_nulls: bool
186
209
  },
187
210
  query_log_status: ("ENABLED" | "DISABLED"),
211
+ ?job_log_status: ("ENABLED" | "DISABLED"),
188
212
  ?tags: Hash[::String, ::String],
189
213
  ?creator_payment_configuration: {
190
214
  query_compute: {
@@ -197,6 +221,9 @@ module Aws
197
221
  model_inference: {
198
222
  is_responsible: bool
199
223
  }?
224
+ }?,
225
+ job_compute: {
226
+ is_responsible: bool
200
227
  }?
201
228
  },
202
229
  ?analytics_engine: ("SPARK" | "CLEAN_ROOMS_SQL")
@@ -254,7 +281,8 @@ module Aws
254
281
  }?
255
282
  },
256
283
  allowed_columns: Array[::String],
257
- analysis_method: ("DIRECT_QUERY"),
284
+ analysis_method: ("DIRECT_QUERY" | "DIRECT_JOB" | "MULTIPLE"),
285
+ ?selected_analysis_methods: Array[("DIRECT_QUERY" | "DIRECT_JOB")],
258
286
  ?tags: Hash[::String, ::String]
259
287
  ) -> _CreateConfiguredTableResponseSuccess
260
288
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateConfiguredTableResponseSuccess
@@ -403,6 +431,7 @@ module Aws
403
431
  def create_membership: (
404
432
  collaboration_identifier: ::String,
405
433
  query_log_status: ("ENABLED" | "DISABLED"),
434
+ ?job_log_status: ("ENABLED" | "DISABLED"),
406
435
  ?tags: Hash[::String, ::String],
407
436
  ?default_result_configuration: {
408
437
  output_configuration: {
@@ -415,6 +444,15 @@ module Aws
415
444
  },
416
445
  role_arn: ::String?
417
446
  },
447
+ ?default_job_result_configuration: {
448
+ output_configuration: {
449
+ s3: {
450
+ bucket: ::String,
451
+ key_prefix: ::String?
452
+ }?
453
+ },
454
+ role_arn: ::String
455
+ },
418
456
  ?payment_configuration: {
419
457
  query_compute: {
420
458
  is_responsible: bool
@@ -426,6 +464,9 @@ module Aws
426
464
  model_inference: {
427
465
  is_responsible: bool
428
466
  }?
467
+ }?,
468
+ job_compute: {
469
+ is_responsible: bool
429
470
  }?
430
471
  }
431
472
  ) -> _CreateMembershipResponseSuccess
@@ -731,6 +772,17 @@ module Aws
731
772
  ) -> _GetPrivacyBudgetTemplateResponseSuccess
732
773
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPrivacyBudgetTemplateResponseSuccess
733
774
 
775
+ interface _GetProtectedJobResponseSuccess
776
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProtectedJobOutput]
777
+ def protected_job: () -> Types::ProtectedJob
778
+ end
779
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRooms/Client.html#get_protected_job-instance_method
780
+ def get_protected_job: (
781
+ membership_identifier: ::String,
782
+ protected_job_identifier: ::String
783
+ ) -> _GetProtectedJobResponseSuccess
784
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProtectedJobResponseSuccess
785
+
734
786
  interface _GetProtectedQueryResponseSuccess
735
787
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProtectedQueryOutput]
736
788
  def protected_query: () -> Types::ProtectedQuery
@@ -974,6 +1026,20 @@ module Aws
974
1026
  ) -> _ListPrivacyBudgetsResponseSuccess
975
1027
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrivacyBudgetsResponseSuccess
976
1028
 
1029
+ interface _ListProtectedJobsResponseSuccess
1030
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProtectedJobsOutput]
1031
+ def next_token: () -> ::String
1032
+ def protected_jobs: () -> ::Array[Types::ProtectedJobSummary]
1033
+ end
1034
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRooms/Client.html#list_protected_jobs-instance_method
1035
+ def list_protected_jobs: (
1036
+ membership_identifier: ::String,
1037
+ ?status: ("SUBMITTED" | "STARTED" | "CANCELLED" | "CANCELLING" | "FAILED" | "SUCCESS"),
1038
+ ?next_token: ::String,
1039
+ ?max_results: ::Integer
1040
+ ) -> _ListProtectedJobsResponseSuccess
1041
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProtectedJobsResponseSuccess
1042
+
977
1043
  interface _ListProtectedQueriesResponseSuccess
978
1044
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProtectedQueriesOutput]
979
1045
  def next_token: () -> ::String
@@ -1039,6 +1105,27 @@ module Aws
1039
1105
  ) -> _PreviewPrivacyImpactResponseSuccess
1040
1106
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PreviewPrivacyImpactResponseSuccess
1041
1107
 
1108
+ interface _StartProtectedJobResponseSuccess
1109
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartProtectedJobOutput]
1110
+ def protected_job: () -> Types::ProtectedJob
1111
+ end
1112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRooms/Client.html#start_protected_job-instance_method
1113
+ def start_protected_job: (
1114
+ type: ("PYSPARK"),
1115
+ membership_identifier: ::String,
1116
+ job_parameters: {
1117
+ analysis_template_arn: ::String?
1118
+ },
1119
+ ?result_configuration: {
1120
+ output_configuration: {
1121
+ member: {
1122
+ account_id: ::String
1123
+ }?
1124
+ }
1125
+ }
1126
+ ) -> _StartProtectedJobResponseSuccess
1127
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartProtectedJobResponseSuccess
1128
+
1042
1129
  interface _StartProtectedQueryResponseSuccess
1043
1130
  include ::Seahorse::Client::_ResponseSuccess[Types::StartProtectedQueryOutput]
1044
1131
  def protected_query: () -> Types::ProtectedQuery
@@ -1139,7 +1226,9 @@ module Aws
1139
1226
  def update_configured_table: (
1140
1227
  configured_table_identifier: ::String,
1141
1228
  ?name: ::String,
1142
- ?description: ::String
1229
+ ?description: ::String,
1230
+ ?analysis_method: ("DIRECT_QUERY" | "DIRECT_JOB" | "MULTIPLE"),
1231
+ ?selected_analysis_methods: Array[("DIRECT_QUERY" | "DIRECT_JOB")]
1143
1232
  ) -> _UpdateConfiguredTableResponseSuccess
1144
1233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConfiguredTableResponseSuccess
1145
1234
 
@@ -1276,6 +1365,7 @@ module Aws
1276
1365
  def update_membership: (
1277
1366
  membership_identifier: ::String,
1278
1367
  ?query_log_status: ("ENABLED" | "DISABLED"),
1368
+ ?job_log_status: ("ENABLED" | "DISABLED"),
1279
1369
  ?default_result_configuration: {
1280
1370
  output_configuration: {
1281
1371
  s3: {
@@ -1286,6 +1376,15 @@ module Aws
1286
1376
  }?
1287
1377
  },
1288
1378
  role_arn: ::String?
1379
+ },
1380
+ ?default_job_result_configuration: {
1381
+ output_configuration: {
1382
+ s3: {
1383
+ bucket: ::String,
1384
+ key_prefix: ::String?
1385
+ }?
1386
+ },
1387
+ role_arn: ::String
1289
1388
  }
1290
1389
  ) -> _UpdateMembershipResponseSuccess
1291
1390
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMembershipResponseSuccess
@@ -1308,6 +1407,18 @@ module Aws
1308
1407
  ) -> _UpdatePrivacyBudgetTemplateResponseSuccess
1309
1408
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePrivacyBudgetTemplateResponseSuccess
1310
1409
 
1410
+ interface _UpdateProtectedJobResponseSuccess
1411
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProtectedJobOutput]
1412
+ def protected_job: () -> Types::ProtectedJob
1413
+ end
1414
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CleanRooms/Client.html#update_protected_job-instance_method
1415
+ def update_protected_job: (
1416
+ membership_identifier: ::String,
1417
+ protected_job_identifier: ::String,
1418
+ target_status: ("CANCELLED")
1419
+ ) -> _UpdateProtectedJobResponseSuccess
1420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProtectedJobResponseSuccess
1421
+
1311
1422
  interface _UpdateProtectedQueryResponseSuccess
1312
1423
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProtectedQueryOutput]
1313
1424
  def protected_query: () -> Types::ProtectedQuery