@aws-sdk/client-cleanrooms 3.449.0 → 3.451.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.
- package/README.md +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -0
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/CreateCollaborationCommand.d.ts +10 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +10 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +5 -0
- package/dist-types/commands/GetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +5 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +5 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +2 -2
- package/dist-types/commands/UpdateMembershipCommand.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +164 -38
- package/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -170,7 +170,7 @@ try {
|
|
|
170
170
|
const data = await client.send(command);
|
|
171
171
|
// process data.
|
|
172
172
|
} catch (error) {
|
|
173
|
-
const { requestId, cfId, extendedRequestId } = error
|
|
173
|
+
const { requestId, cfId, extendedRequestId } = error.$metadata;
|
|
174
174
|
console.log({ requestId, cfId, extendedRequestId });
|
|
175
175
|
/**
|
|
176
176
|
* The keys within exceptions are also parsed.
|
|
@@ -91,6 +91,7 @@ const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
91
91
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
92
92
|
creatorDisplayName: [],
|
|
93
93
|
creatorMemberAbilities: (_) => (0, smithy_client_1._json)(_),
|
|
94
|
+
creatorPaymentConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
94
95
|
dataEncryptionMetadata: (_) => (0, smithy_client_1._json)(_),
|
|
95
96
|
description: [],
|
|
96
97
|
members: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -196,6 +197,7 @@ const se_CreateMembershipCommand = async (input, context) => {
|
|
|
196
197
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
197
198
|
collaborationIdentifier: [],
|
|
198
199
|
defaultResultConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
200
|
+
paymentConfiguration: (_) => (0, smithy_client_1._json)(_),
|
|
199
201
|
queryLogStatus: [],
|
|
200
202
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
201
203
|
}));
|
|
@@ -3371,6 +3373,7 @@ const de_Membership = (output, context) => {
|
|
|
3371
3373
|
defaultResultConfiguration: smithy_client_1._json,
|
|
3372
3374
|
id: smithy_client_1.expectString,
|
|
3373
3375
|
memberAbilities: smithy_client_1._json,
|
|
3376
|
+
paymentConfiguration: smithy_client_1._json,
|
|
3374
3377
|
queryLogStatus: smithy_client_1.expectString,
|
|
3375
3378
|
status: smithy_client_1.expectString,
|
|
3376
3379
|
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -3387,6 +3390,7 @@ const de_MembershipSummary = (output, context) => {
|
|
|
3387
3390
|
createTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3388
3391
|
id: smithy_client_1.expectString,
|
|
3389
3392
|
memberAbilities: smithy_client_1._json,
|
|
3393
|
+
paymentConfiguration: smithy_client_1._json,
|
|
3390
3394
|
status: smithy_client_1.expectString,
|
|
3391
3395
|
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3392
3396
|
});
|
|
@@ -3407,6 +3411,7 @@ const de_MemberSummary = (output, context) => {
|
|
|
3407
3411
|
displayName: smithy_client_1.expectString,
|
|
3408
3412
|
membershipArn: smithy_client_1.expectString,
|
|
3409
3413
|
membershipId: smithy_client_1.expectString,
|
|
3414
|
+
paymentConfiguration: smithy_client_1._json,
|
|
3410
3415
|
status: smithy_client_1.expectString,
|
|
3411
3416
|
updateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3412
3417
|
});
|
|
@@ -84,6 +84,7 @@ export const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
84
84
|
body = JSON.stringify(take(input, {
|
|
85
85
|
creatorDisplayName: [],
|
|
86
86
|
creatorMemberAbilities: (_) => _json(_),
|
|
87
|
+
creatorPaymentConfiguration: (_) => _json(_),
|
|
87
88
|
dataEncryptionMetadata: (_) => _json(_),
|
|
88
89
|
description: [],
|
|
89
90
|
members: (_) => _json(_),
|
|
@@ -185,6 +186,7 @@ export const se_CreateMembershipCommand = async (input, context) => {
|
|
|
185
186
|
body = JSON.stringify(take(input, {
|
|
186
187
|
collaborationIdentifier: [],
|
|
187
188
|
defaultResultConfiguration: (_) => _json(_),
|
|
189
|
+
paymentConfiguration: (_) => _json(_),
|
|
188
190
|
queryLogStatus: [],
|
|
189
191
|
tags: (_) => _json(_),
|
|
190
192
|
}));
|
|
@@ -3277,6 +3279,7 @@ const de_Membership = (output, context) => {
|
|
|
3277
3279
|
defaultResultConfiguration: _json,
|
|
3278
3280
|
id: __expectString,
|
|
3279
3281
|
memberAbilities: _json,
|
|
3282
|
+
paymentConfiguration: _json,
|
|
3280
3283
|
queryLogStatus: __expectString,
|
|
3281
3284
|
status: __expectString,
|
|
3282
3285
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -3293,6 +3296,7 @@ const de_MembershipSummary = (output, context) => {
|
|
|
3293
3296
|
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3294
3297
|
id: __expectString,
|
|
3295
3298
|
memberAbilities: _json,
|
|
3299
|
+
paymentConfiguration: _json,
|
|
3296
3300
|
status: __expectString,
|
|
3297
3301
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3298
3302
|
});
|
|
@@ -3313,6 +3317,7 @@ const de_MemberSummary = (output, context) => {
|
|
|
3313
3317
|
displayName: __expectString,
|
|
3314
3318
|
membershipArn: __expectString,
|
|
3315
3319
|
membershipId: __expectString,
|
|
3320
|
+
paymentConfiguration: _json,
|
|
3316
3321
|
status: __expectString,
|
|
3317
3322
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3318
3323
|
});
|
|
@@ -64,7 +64,7 @@ export interface BatchGetSchemaCommandOutput extends BatchGetSchemaOutput, __Met
|
|
|
64
64
|
* // description: "STRING_VALUE", // required
|
|
65
65
|
* // createTime: new Date("TIMESTAMP"), // required
|
|
66
66
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
67
|
-
* // type: "
|
|
67
|
+
* // type: "TABLE", // required
|
|
68
68
|
* // },
|
|
69
69
|
* // ],
|
|
70
70
|
* // errors: [ // BatchGetSchemaErrorList // required
|
|
@@ -38,6 +38,11 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
|
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* displayName: "STRING_VALUE", // required
|
|
41
|
+
* paymentConfiguration: { // PaymentConfiguration
|
|
42
|
+
* queryCompute: { // QueryComputePaymentConfig
|
|
43
|
+
* isResponsible: true || false, // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
41
46
|
* },
|
|
42
47
|
* ],
|
|
43
48
|
* name: "STRING_VALUE", // required
|
|
@@ -56,6 +61,11 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
|
|
|
56
61
|
* tags: { // TagMap
|
|
57
62
|
* "<keys>": "STRING_VALUE",
|
|
58
63
|
* },
|
|
64
|
+
* creatorPaymentConfiguration: {
|
|
65
|
+
* queryCompute: {
|
|
66
|
+
* isResponsible: true || false, // required
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
59
69
|
* };
|
|
60
70
|
* const command = new CreateCollaborationCommand(input);
|
|
61
71
|
* const response = await client.send(command);
|
|
@@ -47,6 +47,11 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
|
|
|
47
47
|
* },
|
|
48
48
|
* roleArn: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
|
+
* paymentConfiguration: { // MembershipPaymentConfiguration
|
|
51
|
+
* queryCompute: { // MembershipQueryComputePaymentConfig
|
|
52
|
+
* isResponsible: true || false, // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
50
55
|
* };
|
|
51
56
|
* const command = new CreateMembershipCommand(input);
|
|
52
57
|
* const response = await client.send(command);
|
|
@@ -76,6 +81,11 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
|
|
|
76
81
|
* // },
|
|
77
82
|
* // roleArn: "STRING_VALUE",
|
|
78
83
|
* // },
|
|
84
|
+
* // paymentConfiguration: { // MembershipPaymentConfiguration
|
|
85
|
+
* // queryCompute: { // MembershipQueryComputePaymentConfig
|
|
86
|
+
* // isResponsible: true || false, // required
|
|
87
|
+
* // },
|
|
88
|
+
* // },
|
|
79
89
|
* // },
|
|
80
90
|
* // };
|
|
81
91
|
*
|
|
@@ -61,6 +61,11 @@ export interface GetMembershipCommandOutput extends GetMembershipOutput, __Metad
|
|
|
61
61
|
* // },
|
|
62
62
|
* // roleArn: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
|
+
* // paymentConfiguration: { // MembershipPaymentConfiguration
|
|
65
|
+
* // queryCompute: { // MembershipQueryComputePaymentConfig
|
|
66
|
+
* // isResponsible: true || false, // required
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
64
69
|
* // },
|
|
65
70
|
* // };
|
|
66
71
|
*
|
|
@@ -61,7 +61,7 @@ export interface GetSchemaCommandOutput extends GetSchemaOutput, __MetadataBeare
|
|
|
61
61
|
* // description: "STRING_VALUE", // required
|
|
62
62
|
* // createTime: new Date("TIMESTAMP"), // required
|
|
63
63
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
64
|
-
* // type: "
|
|
64
|
+
* // type: "TABLE", // required
|
|
65
65
|
* // },
|
|
66
66
|
* // };
|
|
67
67
|
*
|
|
@@ -51,6 +51,11 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
|
|
|
51
51
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
52
52
|
* // membershipId: "STRING_VALUE",
|
|
53
53
|
* // membershipArn: "STRING_VALUE",
|
|
54
|
+
* // paymentConfiguration: { // PaymentConfiguration
|
|
55
|
+
* // queryCompute: { // QueryComputePaymentConfig
|
|
56
|
+
* // isResponsible: true || false, // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
54
59
|
* // },
|
|
55
60
|
* // ],
|
|
56
61
|
* // };
|
|
@@ -54,6 +54,11 @@ export interface ListMembershipsCommandOutput extends ListMembershipsOutput, __M
|
|
|
54
54
|
* // memberAbilities: [ // MemberAbilities // required
|
|
55
55
|
* // "STRING_VALUE",
|
|
56
56
|
* // ],
|
|
57
|
+
* // paymentConfiguration: { // MembershipPaymentConfiguration
|
|
58
|
+
* // queryCompute: { // MembershipQueryComputePaymentConfig
|
|
59
|
+
* // isResponsible: true || false, // required
|
|
60
|
+
* // },
|
|
61
|
+
* // },
|
|
57
62
|
* // },
|
|
58
63
|
* // ],
|
|
59
64
|
* // };
|
|
@@ -32,7 +32,7 @@ export interface ListSchemasCommandOutput extends ListSchemasOutput, __MetadataB
|
|
|
32
32
|
* const client = new CleanRoomsClient(config);
|
|
33
33
|
* const input = { // ListSchemasInput
|
|
34
34
|
* collaborationIdentifier: "STRING_VALUE", // required
|
|
35
|
-
* schemaType: "
|
|
35
|
+
* schemaType: "TABLE",
|
|
36
36
|
* nextToken: "STRING_VALUE",
|
|
37
37
|
* maxResults: Number("int"),
|
|
38
38
|
* };
|
|
@@ -42,7 +42,7 @@ export interface ListSchemasCommandOutput extends ListSchemasOutput, __MetadataB
|
|
|
42
42
|
* // schemaSummaries: [ // SchemaSummaryList // required
|
|
43
43
|
* // { // SchemaSummary
|
|
44
44
|
* // name: "STRING_VALUE", // required
|
|
45
|
-
* // type: "
|
|
45
|
+
* // type: "TABLE", // required
|
|
46
46
|
* // creatorAccountId: "STRING_VALUE", // required
|
|
47
47
|
* // createTime: new Date("TIMESTAMP"), // required
|
|
48
48
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
@@ -72,6 +72,11 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
|
|
|
72
72
|
* // },
|
|
73
73
|
* // roleArn: "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
|
+
* // paymentConfiguration: { // MembershipPaymentConfiguration
|
|
76
|
+
* // queryCompute: { // MembershipQueryComputePaymentConfig
|
|
77
|
+
* // isResponsible: true || false, // required
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
75
80
|
* // },
|
|
76
81
|
* // };
|
|
77
82
|
*
|
|
@@ -1241,6 +1241,44 @@ export declare const MemberAbility: {
|
|
|
1241
1241
|
* @public
|
|
1242
1242
|
*/
|
|
1243
1243
|
export type MemberAbility = (typeof MemberAbility)[keyof typeof MemberAbility];
|
|
1244
|
+
/**
|
|
1245
|
+
* @public
|
|
1246
|
+
* <p>An object
|
|
1247
|
+
* representing the collaboration member's payment responsibilities set by the collaboration
|
|
1248
|
+
* creator for query compute costs.</p>
|
|
1249
|
+
*/
|
|
1250
|
+
export interface QueryComputePaymentConfig {
|
|
1251
|
+
/**
|
|
1252
|
+
* @public
|
|
1253
|
+
* <p>Indicates whether
|
|
1254
|
+
* the collaboration creator has configured the collaboration member to pay for query compute
|
|
1255
|
+
* costs (<code>TRUE</code>) or has not configured the collaboration member to pay for query
|
|
1256
|
+
* compute costs (<code>FALSE</code>).</p>
|
|
1257
|
+
* <p>Exactly one member can be configured to pay for query compute costs. An error is
|
|
1258
|
+
* returned if the collaboration creator sets a <code>TRUE</code> value for more than one
|
|
1259
|
+
* member in the collaboration. </p>
|
|
1260
|
+
* <p>If the collaboration creator hasn't specified anyone as the member paying for query
|
|
1261
|
+
* compute costs, then the member who can query is the default payer. An error is returned if
|
|
1262
|
+
* the collaboration creator sets a <code>FALSE</code> value for the member who can
|
|
1263
|
+
* query.</p>
|
|
1264
|
+
*/
|
|
1265
|
+
isResponsible: boolean | undefined;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* @public
|
|
1269
|
+
* <p>An object
|
|
1270
|
+
* representing the collaboration member's payment responsibilities set by the collaboration
|
|
1271
|
+
* creator.</p>
|
|
1272
|
+
*/
|
|
1273
|
+
export interface PaymentConfiguration {
|
|
1274
|
+
/**
|
|
1275
|
+
* @public
|
|
1276
|
+
* <p>The collaboration
|
|
1277
|
+
* member's payment responsibilities set by the collaboration creator for query compute
|
|
1278
|
+
* costs.</p>
|
|
1279
|
+
*/
|
|
1280
|
+
queryCompute: QueryComputePaymentConfig | undefined;
|
|
1281
|
+
}
|
|
1244
1282
|
/**
|
|
1245
1283
|
* @public
|
|
1246
1284
|
* <p>The settings for client-side encryption for cryptographic computing.</p>
|
|
@@ -1248,27 +1286,35 @@ export type MemberAbility = (typeof MemberAbility)[keyof typeof MemberAbility];
|
|
|
1248
1286
|
export interface DataEncryptionMetadata {
|
|
1249
1287
|
/**
|
|
1250
1288
|
* @public
|
|
1251
|
-
* <p>Indicates whether encrypted tables can contain cleartext data
|
|
1252
|
-
*
|
|
1289
|
+
* <p>Indicates whether encrypted tables can contain cleartext data
|
|
1290
|
+
* (<code>TRUE</code>)
|
|
1291
|
+
* or are to cryptographically process every column
|
|
1292
|
+
* (<code>FALSE</code>).</p>
|
|
1253
1293
|
*/
|
|
1254
1294
|
allowCleartext: boolean | undefined;
|
|
1255
1295
|
/**
|
|
1256
1296
|
* @public
|
|
1257
|
-
* <p>Indicates whether Fingerprint columns can contain duplicate entries
|
|
1258
|
-
*
|
|
1297
|
+
* <p>Indicates whether Fingerprint columns can contain duplicate entries
|
|
1298
|
+
* (<code>TRUE</code>)
|
|
1299
|
+
* or are to contain only non-repeated values
|
|
1300
|
+
* (<code>FALSE</code>).</p>
|
|
1259
1301
|
*/
|
|
1260
1302
|
allowDuplicates: boolean | undefined;
|
|
1261
1303
|
/**
|
|
1262
1304
|
* @public
|
|
1263
1305
|
* <p>Indicates whether Fingerprint columns can be joined on any other Fingerprint column with
|
|
1264
|
-
* a different name
|
|
1265
|
-
*
|
|
1306
|
+
* a different name
|
|
1307
|
+
* (<code>TRUE</code>)
|
|
1308
|
+
* or can only be joined on Fingerprint columns of the same name
|
|
1309
|
+
* (<code>FALSE</code>).</p>
|
|
1266
1310
|
*/
|
|
1267
1311
|
allowJoinsOnColumnsWithDifferentNames: boolean | undefined;
|
|
1268
1312
|
/**
|
|
1269
1313
|
* @public
|
|
1270
|
-
* <p>Indicates whether NULL values are to be copied as NULL to encrypted tables
|
|
1271
|
-
*
|
|
1314
|
+
* <p>Indicates whether NULL values are to be copied as NULL to encrypted tables
|
|
1315
|
+
* (<code>TRUE</code>)
|
|
1316
|
+
* or cryptographically processed
|
|
1317
|
+
* (<code>FALSE</code>).</p>
|
|
1272
1318
|
*/
|
|
1273
1319
|
preserveNulls: boolean | undefined;
|
|
1274
1320
|
}
|
|
@@ -1293,6 +1339,15 @@ export interface MemberSpecification {
|
|
|
1293
1339
|
* <p>The member's display name.</p>
|
|
1294
1340
|
*/
|
|
1295
1341
|
displayName: string | undefined;
|
|
1342
|
+
/**
|
|
1343
|
+
* @public
|
|
1344
|
+
* <p>The collaboration
|
|
1345
|
+
* member's payment responsibilities set by the collaboration creator.
|
|
1346
|
+
* </p>
|
|
1347
|
+
* <p>If the collaboration creator hasn't specified anyone as the member paying for query
|
|
1348
|
+
* compute costs, then the member who can query is the default payer.</p>
|
|
1349
|
+
*/
|
|
1350
|
+
paymentConfiguration?: PaymentConfiguration;
|
|
1296
1351
|
}
|
|
1297
1352
|
/**
|
|
1298
1353
|
* @public
|
|
@@ -1355,6 +1410,14 @@ export interface CreateCollaborationInput {
|
|
|
1355
1410
|
* to this resource.</p>
|
|
1356
1411
|
*/
|
|
1357
1412
|
tags?: Record<string, string>;
|
|
1413
|
+
/**
|
|
1414
|
+
* @public
|
|
1415
|
+
* <p>The collaboration
|
|
1416
|
+
* creator's payment responsibilities set by the collaboration creator. </p>
|
|
1417
|
+
* <p>If the collaboration creator hasn't specified anyone as the member paying for query
|
|
1418
|
+
* compute costs, then the member who can query is the default payer.</p>
|
|
1419
|
+
*/
|
|
1420
|
+
creatorPaymentConfiguration?: PaymentConfiguration;
|
|
1358
1421
|
}
|
|
1359
1422
|
/**
|
|
1360
1423
|
* @public
|
|
@@ -1831,8 +1894,8 @@ export interface MemberSummary {
|
|
|
1831
1894
|
accountId: string | undefined;
|
|
1832
1895
|
/**
|
|
1833
1896
|
* @public
|
|
1834
|
-
* <p>The status of the member.
|
|
1835
|
-
*
|
|
1897
|
+
* <p>The status of the member.
|
|
1898
|
+
* </p>
|
|
1836
1899
|
*/
|
|
1837
1900
|
status: MemberStatus | undefined;
|
|
1838
1901
|
/**
|
|
@@ -1865,6 +1928,13 @@ export interface MemberSummary {
|
|
|
1865
1928
|
* <p>The unique ARN for the member's associated membership, if present.</p>
|
|
1866
1929
|
*/
|
|
1867
1930
|
membershipArn?: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* @public
|
|
1933
|
+
* <p>The collaboration
|
|
1934
|
+
* member's payment responsibilities set by the collaboration creator.
|
|
1935
|
+
* </p>
|
|
1936
|
+
*/
|
|
1937
|
+
paymentConfiguration: PaymentConfiguration | undefined;
|
|
1868
1938
|
}
|
|
1869
1939
|
/**
|
|
1870
1940
|
* @public
|
|
@@ -2900,8 +2970,7 @@ export interface ProtectedQueryS3OutputConfiguration {
|
|
|
2900
2970
|
}
|
|
2901
2971
|
/**
|
|
2902
2972
|
* @public
|
|
2903
|
-
* <p>Contains
|
|
2904
|
-
* configurations for protected query results.</p>
|
|
2973
|
+
* <p>Contains configurations for protected query results.</p>
|
|
2905
2974
|
*/
|
|
2906
2975
|
export type MembershipProtectedQueryOutputConfiguration = MembershipProtectedQueryOutputConfiguration.S3Member | MembershipProtectedQueryOutputConfiguration.$UnknownMember;
|
|
2907
2976
|
/**
|
|
@@ -2931,24 +3000,65 @@ export declare namespace MembershipProtectedQueryOutputConfiguration {
|
|
|
2931
3000
|
}
|
|
2932
3001
|
/**
|
|
2933
3002
|
* @public
|
|
2934
|
-
* <p>Contains
|
|
2935
|
-
* configurations for protected query results.</p>
|
|
3003
|
+
* <p>Contains configurations for protected query results.</p>
|
|
2936
3004
|
*/
|
|
2937
3005
|
export interface MembershipProtectedQueryResultConfiguration {
|
|
2938
3006
|
/**
|
|
2939
3007
|
* @public
|
|
2940
|
-
* <p>Configuration for
|
|
2941
|
-
* protected query results.</p>
|
|
3008
|
+
* <p>Configuration for protected query results.</p>
|
|
2942
3009
|
*/
|
|
2943
3010
|
outputConfiguration: MembershipProtectedQueryOutputConfiguration | undefined;
|
|
2944
3011
|
/**
|
|
2945
3012
|
* @public
|
|
2946
|
-
* <p>The unique ARN for
|
|
2947
|
-
*
|
|
2948
|
-
* result location, given by the member who can receive results.</p>
|
|
3013
|
+
* <p>The unique ARN for an IAM role that is used by Clean Rooms to write protected
|
|
3014
|
+
* query results to the result location, given by the member who can receive results.</p>
|
|
2949
3015
|
*/
|
|
2950
3016
|
roleArn?: string;
|
|
2951
3017
|
}
|
|
3018
|
+
/**
|
|
3019
|
+
* @public
|
|
3020
|
+
* <p>An object
|
|
3021
|
+
* representing the payment responsibilities accepted by the collaboration member for query
|
|
3022
|
+
* compute costs.</p>
|
|
3023
|
+
*/
|
|
3024
|
+
export interface MembershipQueryComputePaymentConfig {
|
|
3025
|
+
/**
|
|
3026
|
+
* @public
|
|
3027
|
+
* <p>Indicates whether
|
|
3028
|
+
* the collaboration member has accepted to pay for query compute costs (<code>TRUE</code>) or
|
|
3029
|
+
* has not accepted to pay for query compute costs
|
|
3030
|
+
* (<code>FALSE</code>).</p>
|
|
3031
|
+
* <p>If the collaboration creator has not specified anyone to pay for query compute costs,
|
|
3032
|
+
* then the member who can query is the default payer. </p>
|
|
3033
|
+
* <p>An error message is returned for the following reasons: </p>
|
|
3034
|
+
* <ul>
|
|
3035
|
+
* <li>
|
|
3036
|
+
* <p>If you set the value to <code>FALSE</code> but you are responsible to pay for
|
|
3037
|
+
* query compute costs. </p>
|
|
3038
|
+
* </li>
|
|
3039
|
+
* <li>
|
|
3040
|
+
* <p>If you set the value to <code>TRUE</code> but you are not responsible to pay for
|
|
3041
|
+
* query compute costs. </p>
|
|
3042
|
+
* </li>
|
|
3043
|
+
* </ul>
|
|
3044
|
+
*/
|
|
3045
|
+
isResponsible: boolean | undefined;
|
|
3046
|
+
}
|
|
3047
|
+
/**
|
|
3048
|
+
* @public
|
|
3049
|
+
* <p>An object
|
|
3050
|
+
* representing the payment responsibilities accepted by the collaboration
|
|
3051
|
+
* member.</p>
|
|
3052
|
+
*/
|
|
3053
|
+
export interface MembershipPaymentConfiguration {
|
|
3054
|
+
/**
|
|
3055
|
+
* @public
|
|
3056
|
+
* <p>The payment
|
|
3057
|
+
* responsibilities accepted by the collaboration member for query compute
|
|
3058
|
+
* costs.</p>
|
|
3059
|
+
*/
|
|
3060
|
+
queryCompute: MembershipQueryComputePaymentConfig | undefined;
|
|
3061
|
+
}
|
|
2952
3062
|
/**
|
|
2953
3063
|
* @public
|
|
2954
3064
|
* @enum
|
|
@@ -2973,7 +3083,7 @@ export interface CreateMembershipInput {
|
|
|
2973
3083
|
/**
|
|
2974
3084
|
* @public
|
|
2975
3085
|
* <p>An indicator as to whether query logging has been enabled or disabled for the
|
|
2976
|
-
*
|
|
3086
|
+
* membership.</p>
|
|
2977
3087
|
*/
|
|
2978
3088
|
queryLogStatus: MembershipQueryLogStatus | undefined;
|
|
2979
3089
|
/**
|
|
@@ -2991,6 +3101,15 @@ export interface CreateMembershipInput {
|
|
|
2991
3101
|
* results.</p>
|
|
2992
3102
|
*/
|
|
2993
3103
|
defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
|
|
3104
|
+
/**
|
|
3105
|
+
* @public
|
|
3106
|
+
* <p>The payment
|
|
3107
|
+
* responsibilities accepted by the collaboration member.</p>
|
|
3108
|
+
* <p>Not required if the collaboration member has the member ability to run queries. </p>
|
|
3109
|
+
* <p>Required if the collaboration member doesn't have the member ability to run queries but
|
|
3110
|
+
* is configured as a payer by the collaboration creator. </p>
|
|
3111
|
+
*/
|
|
3112
|
+
paymentConfiguration?: MembershipPaymentConfiguration;
|
|
2994
3113
|
}
|
|
2995
3114
|
/**
|
|
2996
3115
|
* @public
|
|
@@ -3058,8 +3177,8 @@ export interface Membership {
|
|
|
3058
3177
|
updateTime: Date | undefined;
|
|
3059
3178
|
/**
|
|
3060
3179
|
* @public
|
|
3061
|
-
* <p>The status of the
|
|
3062
|
-
*
|
|
3180
|
+
* <p>The status of the
|
|
3181
|
+
* membership.</p>
|
|
3063
3182
|
*/
|
|
3064
3183
|
status: MembershipStatus | undefined;
|
|
3065
3184
|
/**
|
|
@@ -3070,16 +3189,21 @@ export interface Membership {
|
|
|
3070
3189
|
/**
|
|
3071
3190
|
* @public
|
|
3072
3191
|
* <p>An indicator as to whether query logging has been enabled or disabled for the
|
|
3073
|
-
*
|
|
3192
|
+
* membership.</p>
|
|
3074
3193
|
*/
|
|
3075
3194
|
queryLogStatus: MembershipQueryLogStatus | undefined;
|
|
3076
3195
|
/**
|
|
3077
3196
|
* @public
|
|
3078
|
-
* <p>The default
|
|
3079
|
-
*
|
|
3080
|
-
* results.</p>
|
|
3197
|
+
* <p>The default protected query result configuration as specified by the member who can
|
|
3198
|
+
* receive results.</p>
|
|
3081
3199
|
*/
|
|
3082
3200
|
defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
|
|
3201
|
+
/**
|
|
3202
|
+
* @public
|
|
3203
|
+
* <p>The payment
|
|
3204
|
+
* responsibilities accepted by the collaboration member.</p>
|
|
3205
|
+
*/
|
|
3206
|
+
paymentConfiguration: MembershipPaymentConfiguration | undefined;
|
|
3083
3207
|
}
|
|
3084
3208
|
/**
|
|
3085
3209
|
* @public
|
|
@@ -3159,14 +3283,12 @@ export interface ProtectedQueryError {
|
|
|
3159
3283
|
}
|
|
3160
3284
|
/**
|
|
3161
3285
|
* @public
|
|
3162
|
-
* <p>Details about the
|
|
3163
|
-
* member who received the query result.</p>
|
|
3286
|
+
* <p>Details about the member who received the query result.</p>
|
|
3164
3287
|
*/
|
|
3165
3288
|
export interface ProtectedQuerySingleMemberOutput {
|
|
3166
3289
|
/**
|
|
3167
3290
|
* @public
|
|
3168
|
-
* <p>The Amazon Web Services account
|
|
3169
|
-
* ID of the member in the collaboration who can receive results for the
|
|
3291
|
+
* <p>The Amazon Web Services account ID of the member in the collaboration who can receive results for the
|
|
3170
3292
|
* query.</p>
|
|
3171
3293
|
*/
|
|
3172
3294
|
accountId: string | undefined;
|
|
@@ -3202,8 +3324,7 @@ export declare namespace ProtectedQueryOutput {
|
|
|
3202
3324
|
}
|
|
3203
3325
|
/**
|
|
3204
3326
|
* @public
|
|
3205
|
-
* <p>The list of member
|
|
3206
|
-
* Amazon Web Services account(s) that received the results of the query. </p>
|
|
3327
|
+
* <p>The list of member Amazon Web Services account(s) that received the results of the query. </p>
|
|
3207
3328
|
*/
|
|
3208
3329
|
interface MemberListMember {
|
|
3209
3330
|
s3?: never;
|
|
@@ -3467,8 +3588,8 @@ export interface MembershipSummary {
|
|
|
3467
3588
|
updateTime: Date | undefined;
|
|
3468
3589
|
/**
|
|
3469
3590
|
* @public
|
|
3470
|
-
* <p>The status of the
|
|
3471
|
-
*
|
|
3591
|
+
* <p>The status of the
|
|
3592
|
+
* membership.</p>
|
|
3472
3593
|
*/
|
|
3473
3594
|
status: MembershipStatus | undefined;
|
|
3474
3595
|
/**
|
|
@@ -3476,6 +3597,12 @@ export interface MembershipSummary {
|
|
|
3476
3597
|
* <p>The abilities granted to the collaboration member.</p>
|
|
3477
3598
|
*/
|
|
3478
3599
|
memberAbilities: MemberAbility[] | undefined;
|
|
3600
|
+
/**
|
|
3601
|
+
* @public
|
|
3602
|
+
* <p>The payment
|
|
3603
|
+
* responsibilities accepted by the collaboration member.</p>
|
|
3604
|
+
*/
|
|
3605
|
+
paymentConfiguration: MembershipPaymentConfiguration | undefined;
|
|
3479
3606
|
}
|
|
3480
3607
|
/**
|
|
3481
3608
|
* @public
|
|
@@ -3628,14 +3755,13 @@ export interface UpdateMembershipInput {
|
|
|
3628
3755
|
/**
|
|
3629
3756
|
* @public
|
|
3630
3757
|
* <p>An indicator as to whether query logging has been enabled or disabled for the
|
|
3631
|
-
*
|
|
3758
|
+
* membership.</p>
|
|
3632
3759
|
*/
|
|
3633
3760
|
queryLogStatus?: MembershipQueryLogStatus;
|
|
3634
3761
|
/**
|
|
3635
3762
|
* @public
|
|
3636
|
-
* <p>The default
|
|
3637
|
-
*
|
|
3638
|
-
* results.</p>
|
|
3763
|
+
* <p>The default protected query result configuration as specified by the member who can
|
|
3764
|
+
* receive results.</p>
|
|
3639
3765
|
*/
|
|
3640
3766
|
defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
|
|
3641
3767
|
}
|
|
@@ -418,6 +418,12 @@ export declare const MemberAbility: {
|
|
|
418
418
|
readonly CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS";
|
|
419
419
|
};
|
|
420
420
|
export type MemberAbility = (typeof MemberAbility)[keyof typeof MemberAbility];
|
|
421
|
+
export interface QueryComputePaymentConfig {
|
|
422
|
+
isResponsible: boolean | undefined;
|
|
423
|
+
}
|
|
424
|
+
export interface PaymentConfiguration {
|
|
425
|
+
queryCompute: QueryComputePaymentConfig | undefined;
|
|
426
|
+
}
|
|
421
427
|
export interface DataEncryptionMetadata {
|
|
422
428
|
allowCleartext: boolean | undefined;
|
|
423
429
|
allowDuplicates: boolean | undefined;
|
|
@@ -428,6 +434,7 @@ export interface MemberSpecification {
|
|
|
428
434
|
accountId: string | undefined;
|
|
429
435
|
memberAbilities: MemberAbility[] | undefined;
|
|
430
436
|
displayName: string | undefined;
|
|
437
|
+
paymentConfiguration?: PaymentConfiguration;
|
|
431
438
|
}
|
|
432
439
|
export declare const CollaborationQueryLogStatus: {
|
|
433
440
|
readonly DISABLED: "DISABLED";
|
|
@@ -444,6 +451,7 @@ export interface CreateCollaborationInput {
|
|
|
444
451
|
dataEncryptionMetadata?: DataEncryptionMetadata;
|
|
445
452
|
queryLogStatus: CollaborationQueryLogStatus | undefined;
|
|
446
453
|
tags?: Record<string, string>;
|
|
454
|
+
creatorPaymentConfiguration?: PaymentConfiguration;
|
|
447
455
|
}
|
|
448
456
|
export declare const MemberStatus: {
|
|
449
457
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -570,6 +578,7 @@ export interface MemberSummary {
|
|
|
570
578
|
updateTime: Date | undefined;
|
|
571
579
|
membershipId?: string;
|
|
572
580
|
membershipArn?: string;
|
|
581
|
+
paymentConfiguration: PaymentConfiguration | undefined;
|
|
573
582
|
}
|
|
574
583
|
export interface ListMembersOutput {
|
|
575
584
|
nextToken?: string;
|
|
@@ -896,6 +905,12 @@ export interface MembershipProtectedQueryResultConfiguration {
|
|
|
896
905
|
outputConfiguration: MembershipProtectedQueryOutputConfiguration | undefined;
|
|
897
906
|
roleArn?: string;
|
|
898
907
|
}
|
|
908
|
+
export interface MembershipQueryComputePaymentConfig {
|
|
909
|
+
isResponsible: boolean | undefined;
|
|
910
|
+
}
|
|
911
|
+
export interface MembershipPaymentConfiguration {
|
|
912
|
+
queryCompute: MembershipQueryComputePaymentConfig | undefined;
|
|
913
|
+
}
|
|
899
914
|
export declare const MembershipQueryLogStatus: {
|
|
900
915
|
readonly DISABLED: "DISABLED";
|
|
901
916
|
readonly ENABLED: "ENABLED";
|
|
@@ -907,6 +922,7 @@ export interface CreateMembershipInput {
|
|
|
907
922
|
queryLogStatus: MembershipQueryLogStatus | undefined;
|
|
908
923
|
tags?: Record<string, string>;
|
|
909
924
|
defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
|
|
925
|
+
paymentConfiguration?: MembershipPaymentConfiguration;
|
|
910
926
|
}
|
|
911
927
|
export declare const MembershipStatus: {
|
|
912
928
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -929,6 +945,7 @@ export interface Membership {
|
|
|
929
945
|
memberAbilities: MemberAbility[] | undefined;
|
|
930
946
|
queryLogStatus: MembershipQueryLogStatus | undefined;
|
|
931
947
|
defaultResultConfiguration?: MembershipProtectedQueryResultConfiguration;
|
|
948
|
+
paymentConfiguration: MembershipPaymentConfiguration | undefined;
|
|
932
949
|
}
|
|
933
950
|
export interface CreateMembershipOutput {
|
|
934
951
|
membership: Membership | undefined;
|
|
@@ -1062,6 +1079,7 @@ export interface MembershipSummary {
|
|
|
1062
1079
|
updateTime: Date | undefined;
|
|
1063
1080
|
status: MembershipStatus | undefined;
|
|
1064
1081
|
memberAbilities: MemberAbility[] | undefined;
|
|
1082
|
+
paymentConfiguration: MembershipPaymentConfiguration | undefined;
|
|
1065
1083
|
}
|
|
1066
1084
|
export interface ListMembershipsOutput {
|
|
1067
1085
|
nextToken?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanrooms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.451.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^2.0.
|
|
38
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
39
|
-
"@smithy/hash-node": "^2.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^2.
|
|
43
|
-
"@smithy/middleware-retry": "^2.0.
|
|
44
|
-
"@smithy/middleware-serde": "^2.0.
|
|
45
|
-
"@smithy/middleware-stack": "^2.0.
|
|
46
|
-
"@smithy/node-config-provider": "^2.1.
|
|
47
|
-
"@smithy/node-http-handler": "^2.1.
|
|
48
|
-
"@smithy/protocol-http": "^3.0.
|
|
49
|
-
"@smithy/smithy-client": "^2.1.
|
|
50
|
-
"@smithy/types": "^2.
|
|
51
|
-
"@smithy/url-parser": "^2.0.
|
|
52
|
-
"@smithy/util-base64": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.451.0",
|
|
25
|
+
"@aws-sdk/core": "3.451.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.451.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.451.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.451.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.451.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.451.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.451.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
+
"@aws-sdk/types": "3.451.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.451.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.451.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.451.0",
|
|
37
|
+
"@smithy/config-resolver": "^2.0.18",
|
|
38
|
+
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
|
+
"@smithy/hash-node": "^2.0.15",
|
|
40
|
+
"@smithy/invalid-dependency": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-content-length": "^2.0.15",
|
|
42
|
+
"@smithy/middleware-endpoint": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-retry": "^2.0.20",
|
|
44
|
+
"@smithy/middleware-serde": "^2.0.13",
|
|
45
|
+
"@smithy/middleware-stack": "^2.0.7",
|
|
46
|
+
"@smithy/node-config-provider": "^2.1.5",
|
|
47
|
+
"@smithy/node-http-handler": "^2.1.9",
|
|
48
|
+
"@smithy/protocol-http": "^3.0.9",
|
|
49
|
+
"@smithy/smithy-client": "^2.1.15",
|
|
50
|
+
"@smithy/types": "^2.5.0",
|
|
51
|
+
"@smithy/url-parser": "^2.0.13",
|
|
52
|
+
"@smithy/util-base64": "^2.0.1",
|
|
53
53
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
57
|
-
"@smithy/util-endpoints": "^1.0.
|
|
58
|
-
"@smithy/util-retry": "^2.0.
|
|
59
|
-
"@smithy/util-utf8": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^2.0.19",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^2.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.4",
|
|
58
|
+
"@smithy/util-retry": "^2.0.6",
|
|
59
|
+
"@smithy/util-utf8": "^2.0.2",
|
|
60
60
|
"tslib": "^2.5.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|