@aws-sdk/client-dataexchange 3.218.0 → 3.222.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.
@@ -3,7 +3,7 @@ export const ruleSet = {
3
3
  parameters: {
4
4
  Region: {
5
5
  builtIn: "AWS::Region",
6
- required: false,
6
+ required: true,
7
7
  documentation: "The AWS region used to dispatch the request.",
8
8
  type: "String",
9
9
  },
@@ -21,10 +21,26 @@ export var ProtocolType;
21
21
  (function (ProtocolType) {
22
22
  ProtocolType["REST"] = "REST";
23
23
  })(ProtocolType || (ProtocolType = {}));
24
+ export var LFResourceType;
25
+ (function (LFResourceType) {
26
+ LFResourceType["DATABASE"] = "DATABASE";
27
+ LFResourceType["TABLE"] = "TABLE";
28
+ })(LFResourceType || (LFResourceType = {}));
29
+ export var LakeFormationDataPermissionType;
30
+ (function (LakeFormationDataPermissionType) {
31
+ LakeFormationDataPermissionType["LFTagPolicy"] = "LFTagPolicy";
32
+ })(LakeFormationDataPermissionType || (LakeFormationDataPermissionType = {}));
33
+ export var LFPermission;
34
+ (function (LFPermission) {
35
+ LFPermission["DESCRIBE"] = "DESCRIBE";
36
+ LFPermission["SELECT"] = "SELECT";
37
+ })(LFPermission || (LFPermission = {}));
24
38
  export var AssetType;
25
39
  (function (AssetType) {
26
40
  AssetType["API_GATEWAY_API"] = "API_GATEWAY_API";
41
+ AssetType["LAKE_FORMATION_DATA_PERMISSION"] = "LAKE_FORMATION_DATA_PERMISSION";
27
42
  AssetType["REDSHIFT_DATA_SHARE"] = "REDSHIFT_DATA_SHARE";
43
+ AssetType["S3_DATA_ACCESS"] = "S3_DATA_ACCESS";
28
44
  AssetType["S3_SNAPSHOT"] = "S3_SNAPSHOT";
29
45
  })(AssetType || (AssetType = {}));
30
46
  export var ResourceType;
@@ -127,14 +143,17 @@ export var Origin;
127
143
  })(Origin || (Origin = {}));
128
144
  export var LimitName;
129
145
  (function (LimitName) {
146
+ LimitName["AWS_Lake_Formation_data_permission_assets_per_revision"] = "AWS Lake Formation data permission assets per revision";
130
147
  LimitName["Amazon_API_Gateway_API_assets_per_revision"] = "Amazon API Gateway API assets per revision";
131
148
  LimitName["Amazon_Redshift_datashare_assets_per_import_job_from_Redshift"] = "Amazon Redshift datashare assets per import job from Redshift";
132
149
  LimitName["Amazon_Redshift_datashare_assets_per_revision"] = "Amazon Redshift datashare assets per revision";
150
+ LimitName["Amazon_S3_data_access_assets_per_revision"] = "Amazon S3 data access assets per revision";
133
151
  LimitName["Asset_per_export_job_from_Amazon_S3"] = "Asset per export job from Amazon S3";
134
152
  LimitName["Asset_size_in_GB"] = "Asset size in GB";
135
153
  LimitName["Assets_per_import_job_from_Amazon_S3"] = "Assets per import job from Amazon S3";
136
154
  LimitName["Assets_per_revision"] = "Assets per revision";
137
155
  LimitName["Auto_export_event_actions_per_data_set"] = "Auto export event actions per data set";
156
+ LimitName["Concurrent_in_progress_jobs_to_create_Amazon_S3_data_access_assets_from_S3_buckets"] = "Concurrent in progress jobs to create Amazon S3 data access assets from S3 buckets";
138
157
  LimitName["Concurrent_in_progress_jobs_to_export_assets_to_Amazon_S3"] = "Concurrent in progress jobs to export assets to Amazon S3";
139
158
  LimitName["Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL"] = "Concurrent in progress jobs to export assets to a signed URL";
140
159
  LimitName["Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3"] = "Concurrent in progress jobs to export revisions to Amazon S3";
@@ -142,12 +161,15 @@ export var LimitName;
142
161
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3"] = "Concurrent in progress jobs to import assets from Amazon S3";
143
162
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL"] = "Concurrent in progress jobs to import assets from a signed URL";
144
163
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API"] = "Concurrent in progress jobs to import assets from an API Gateway API";
164
+ LimitName["Concurrent_in_progress_jobs_to_import_assets_from_an_AWS_Lake_Formation_tag_policy"] = "Concurrent in progress jobs to import assets from an AWS Lake Formation tag policy";
145
165
  LimitName["Data_sets_per_account"] = "Data sets per account";
146
166
  LimitName["Data_sets_per_product"] = "Data sets per product";
147
167
  LimitName["Event_actions_per_account"] = "Event actions per account";
148
168
  LimitName["Products_per_account"] = "Products per account";
169
+ LimitName["Revisions_per_AWS_Lake_Formation_data_permission_data_set"] = "Revisions per AWS Lake Formation data permission data set";
149
170
  LimitName["Revisions_per_Amazon_API_Gateway_API_data_set"] = "Revisions per Amazon API Gateway API data set";
150
171
  LimitName["Revisions_per_Amazon_Redshift_datashare_data_set"] = "Revisions per Amazon Redshift datashare data set";
172
+ LimitName["Revisions_per_Amazon_S3_data_access_data_set"] = "Revisions per Amazon S3 data access data set";
151
173
  LimitName["Revisions_per_data_set"] = "Revisions per data set";
152
174
  })(LimitName || (LimitName = {}));
153
175
  export class ServiceLimitExceededException extends __BaseException {
@@ -165,11 +187,22 @@ export class ServiceLimitExceededException extends __BaseException {
165
187
  this.Message = opts.Message;
166
188
  }
167
189
  }
190
+ export var DatabaseLFTagPolicyPermission;
191
+ (function (DatabaseLFTagPolicyPermission) {
192
+ DatabaseLFTagPolicyPermission["DESCRIBE"] = "DESCRIBE";
193
+ })(DatabaseLFTagPolicyPermission || (DatabaseLFTagPolicyPermission = {}));
194
+ export var TableTagPolicyLFPermission;
195
+ (function (TableTagPolicyLFPermission) {
196
+ TableTagPolicyLFPermission["DESCRIBE"] = "DESCRIBE";
197
+ TableTagPolicyLFPermission["SELECT"] = "SELECT";
198
+ })(TableTagPolicyLFPermission || (TableTagPolicyLFPermission = {}));
168
199
  export var Type;
169
200
  (function (Type) {
201
+ Type["CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET"] = "CREATE_S3_DATA_ACCESS_FROM_S3_BUCKET";
170
202
  Type["EXPORT_ASSETS_TO_S3"] = "EXPORT_ASSETS_TO_S3";
171
203
  Type["EXPORT_ASSET_TO_SIGNED_URL"] = "EXPORT_ASSET_TO_SIGNED_URL";
172
204
  Type["EXPORT_REVISIONS_TO_S3"] = "EXPORT_REVISIONS_TO_S3";
205
+ Type["IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY"] = "IMPORT_ASSETS_FROM_LAKE_FORMATION_TAG_POLICY";
173
206
  Type["IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"] = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES";
174
207
  Type["IMPORT_ASSETS_FROM_S3"] = "IMPORT_ASSETS_FROM_S3";
175
208
  Type["IMPORT_ASSET_FROM_API_GATEWAY_API"] = "IMPORT_ASSET_FROM_API_GATEWAY_API";
@@ -177,7 +210,9 @@ export var Type;
177
210
  })(Type || (Type = {}));
178
211
  export var JobErrorLimitName;
179
212
  (function (JobErrorLimitName) {
213
+ JobErrorLimitName["AWS_Lake_Formation_data_permission_assets_per_revision"] = "AWS Lake Formation data permission assets per revision";
180
214
  JobErrorLimitName["Amazon_Redshift_datashare_assets_per_revision"] = "Amazon Redshift datashare assets per revision";
215
+ JobErrorLimitName["Amazon_S3_data_access_assets_per_revision"] = "Amazon S3 data access assets per revision";
181
216
  JobErrorLimitName["Asset_size_in_GB"] = "Asset size in GB";
182
217
  JobErrorLimitName["Assets_per_revision"] = "Assets per revision";
183
218
  })(JobErrorLimitName || (JobErrorLimitName = {}));
@@ -214,9 +249,33 @@ export const ApiGatewayApiAssetFilterSensitiveLog = (obj) => ({
214
249
  export const AssetDestinationEntryFilterSensitiveLog = (obj) => ({
215
250
  ...obj,
216
251
  });
252
+ export const LFTagFilterSensitiveLog = (obj) => ({
253
+ ...obj,
254
+ });
255
+ export const DatabaseLFTagPolicyFilterSensitiveLog = (obj) => ({
256
+ ...obj,
257
+ });
258
+ export const TableLFTagPolicyFilterSensitiveLog = (obj) => ({
259
+ ...obj,
260
+ });
261
+ export const LFResourceDetailsFilterSensitiveLog = (obj) => ({
262
+ ...obj,
263
+ });
264
+ export const LFTagPolicyDetailsFilterSensitiveLog = (obj) => ({
265
+ ...obj,
266
+ });
267
+ export const LakeFormationDataPermissionDetailsFilterSensitiveLog = (obj) => ({
268
+ ...obj,
269
+ });
270
+ export const LakeFormationDataPermissionAssetFilterSensitiveLog = (obj) => ({
271
+ ...obj,
272
+ });
217
273
  export const RedshiftDataShareAssetFilterSensitiveLog = (obj) => ({
218
274
  ...obj,
219
275
  });
276
+ export const S3DataAccessAssetFilterSensitiveLog = (obj) => ({
277
+ ...obj,
278
+ });
220
279
  export const S3SnapshotAssetFilterSensitiveLog = (obj) => ({
221
280
  ...obj,
222
281
  });
@@ -253,6 +312,12 @@ export const CreateEventActionRequestFilterSensitiveLog = (obj) => ({
253
312
  export const CreateEventActionResponseFilterSensitiveLog = (obj) => ({
254
313
  ...obj,
255
314
  });
315
+ export const S3DataAccessAssetSourceEntryFilterSensitiveLog = (obj) => ({
316
+ ...obj,
317
+ });
318
+ export const CreateS3DataAccessFromS3BucketRequestDetailsFilterSensitiveLog = (obj) => ({
319
+ ...obj,
320
+ });
256
321
  export const ExportAssetsToS3RequestDetailsFilterSensitiveLog = (obj) => ({
257
322
  ...obj,
258
323
  });
@@ -271,6 +336,15 @@ export const ImportAssetFromApiGatewayApiRequestDetailsFilterSensitiveLog = (obj
271
336
  export const ImportAssetFromSignedUrlRequestDetailsFilterSensitiveLog = (obj) => ({
272
337
  ...obj,
273
338
  });
339
+ export const DatabaseLFTagPolicyAndPermissionsFilterSensitiveLog = (obj) => ({
340
+ ...obj,
341
+ });
342
+ export const TableLFTagPolicyAndPermissionsFilterSensitiveLog = (obj) => ({
343
+ ...obj,
344
+ });
345
+ export const ImportAssetsFromLakeFormationTagPolicyRequestDetailsFilterSensitiveLog = (obj) => ({
346
+ ...obj,
347
+ });
274
348
  export const RedshiftDataShareAssetSourceEntryFilterSensitiveLog = (obj) => ({
275
349
  ...obj,
276
350
  });
@@ -286,6 +360,9 @@ export const RequestDetailsFilterSensitiveLog = (obj) => ({
286
360
  export const CreateJobRequestFilterSensitiveLog = (obj) => ({
287
361
  ...obj,
288
362
  });
363
+ export const CreateS3DataAccessFromS3BucketResponseDetailsFilterSensitiveLog = (obj) => ({
364
+ ...obj,
365
+ });
289
366
  export const ExportAssetsToS3ResponseDetailsFilterSensitiveLog = (obj) => ({
290
367
  ...obj,
291
368
  });
@@ -301,6 +378,9 @@ export const ImportAssetFromApiGatewayApiResponseDetailsFilterSensitiveLog = (ob
301
378
  export const ImportAssetFromSignedUrlResponseDetailsFilterSensitiveLog = (obj) => ({
302
379
  ...obj,
303
380
  });
381
+ export const ImportAssetsFromLakeFormationTagPolicyResponseDetailsFilterSensitiveLog = (obj) => ({
382
+ ...obj,
383
+ });
304
384
  export const ImportAssetsFromRedshiftDataSharesResponseDetailsFilterSensitiveLog = (obj) => ({
305
385
  ...obj,
306
386
  });
@@ -2334,6 +2334,23 @@ const serializeAws_restJson1AutoExportRevisionToS3RequestDetails = (input, conte
2334
2334
  }),
2335
2335
  };
2336
2336
  };
2337
+ const serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails = (input, context) => {
2338
+ return {
2339
+ ...(input.AssetSource != null && {
2340
+ AssetSource: serializeAws_restJson1S3DataAccessAssetSourceEntry(input.AssetSource, context),
2341
+ }),
2342
+ ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2343
+ ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2344
+ };
2345
+ };
2346
+ const serializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (input, context) => {
2347
+ return {
2348
+ ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2349
+ ...(input.Permissions != null && {
2350
+ Permissions: serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(input.Permissions, context),
2351
+ }),
2352
+ };
2353
+ };
2337
2354
  const serializeAws_restJson1Event = (input, context) => {
2338
2355
  return {
2339
2356
  ...(input.RevisionPublished != null && {
@@ -2398,6 +2415,18 @@ const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, con
2398
2415
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2399
2416
  };
2400
2417
  };
2418
+ const serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails = (input, context) => {
2419
+ return {
2420
+ ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
2421
+ ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2422
+ ...(input.Database != null && {
2423
+ Database: serializeAws_restJson1DatabaseLFTagPolicyAndPermissions(input.Database, context),
2424
+ }),
2425
+ ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2426
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
2427
+ ...(input.Table != null && { Table: serializeAws_restJson1TableLFTagPolicyAndPermissions(input.Table, context) }),
2428
+ };
2429
+ };
2401
2430
  const serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails = (input, context) => {
2402
2431
  return {
2403
2432
  ...(input.AssetSources != null && {
@@ -2416,6 +2445,19 @@ const serializeAws_restJson1ImportAssetsFromS3RequestDetails = (input, context)
2416
2445
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2417
2446
  };
2418
2447
  };
2448
+ const serializeAws_restJson1LFTag = (input, context) => {
2449
+ return {
2450
+ ...(input.TagKey != null && { TagKey: input.TagKey }),
2451
+ ...(input.TagValues != null && { TagValues: serializeAws_restJson1ListOfLFTagValues(input.TagValues, context) }),
2452
+ };
2453
+ };
2454
+ const serializeAws_restJson1ListOf__string = (input, context) => {
2455
+ return input
2456
+ .filter((e) => e != null)
2457
+ .map((entry) => {
2458
+ return entry;
2459
+ });
2460
+ };
2419
2461
  const serializeAws_restJson1ListOfAssetDestinationEntry = (input, context) => {
2420
2462
  return input
2421
2463
  .filter((e) => e != null)
@@ -2430,6 +2472,27 @@ const serializeAws_restJson1ListOfAssetSourceEntry = (input, context) => {
2430
2472
  return serializeAws_restJson1AssetSourceEntry(entry, context);
2431
2473
  });
2432
2474
  };
2475
+ const serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (input, context) => {
2476
+ return input
2477
+ .filter((e) => e != null)
2478
+ .map((entry) => {
2479
+ return entry;
2480
+ });
2481
+ };
2482
+ const serializeAws_restJson1ListOfLFTags = (input, context) => {
2483
+ return input
2484
+ .filter((e) => e != null)
2485
+ .map((entry) => {
2486
+ return serializeAws_restJson1LFTag(entry, context);
2487
+ });
2488
+ };
2489
+ const serializeAws_restJson1ListOfLFTagValues = (input, context) => {
2490
+ return input
2491
+ .filter((e) => e != null)
2492
+ .map((entry) => {
2493
+ return entry;
2494
+ });
2495
+ };
2433
2496
  const serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (input, context) => {
2434
2497
  return input
2435
2498
  .filter((e) => e != null)
@@ -2444,6 +2507,13 @@ const serializeAws_restJson1ListOfRevisionDestinationEntry = (input, context) =>
2444
2507
  return serializeAws_restJson1RevisionDestinationEntry(entry, context);
2445
2508
  });
2446
2509
  };
2510
+ const serializeAws_restJson1ListOfTableTagPolicyLFPermissions = (input, context) => {
2511
+ return input
2512
+ .filter((e) => e != null)
2513
+ .map((entry) => {
2514
+ return entry;
2515
+ });
2516
+ };
2447
2517
  const serializeAws_restJson1MapOf__string = (input, context) => {
2448
2518
  return Object.entries(input).reduce((acc, [key, value]) => {
2449
2519
  if (value === null) {
@@ -2460,6 +2530,9 @@ const serializeAws_restJson1RedshiftDataShareAssetSourceEntry = (input, context)
2460
2530
  };
2461
2531
  const serializeAws_restJson1RequestDetails = (input, context) => {
2462
2532
  return {
2533
+ ...(input.CreateS3DataAccessFromS3Bucket != null && {
2534
+ CreateS3DataAccessFromS3Bucket: serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails(input.CreateS3DataAccessFromS3Bucket, context),
2535
+ }),
2463
2536
  ...(input.ExportAssetToSignedUrl != null && {
2464
2537
  ExportAssetToSignedUrl: serializeAws_restJson1ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
2465
2538
  }),
@@ -2475,6 +2548,9 @@ const serializeAws_restJson1RequestDetails = (input, context) => {
2475
2548
  ...(input.ImportAssetFromSignedUrl != null && {
2476
2549
  ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
2477
2550
  }),
2551
+ ...(input.ImportAssetsFromLakeFormationTagPolicy != null && {
2552
+ ImportAssetsFromLakeFormationTagPolicy: serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails(input.ImportAssetsFromLakeFormationTagPolicy, context),
2553
+ }),
2478
2554
  ...(input.ImportAssetsFromRedshiftDataShares != null && {
2479
2555
  ImportAssetsFromRedshiftDataShares: serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
2480
2556
  }),
@@ -2495,6 +2571,21 @@ const serializeAws_restJson1RevisionPublished = (input, context) => {
2495
2571
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2496
2572
  };
2497
2573
  };
2574
+ const serializeAws_restJson1S3DataAccessAssetSourceEntry = (input, context) => {
2575
+ return {
2576
+ ...(input.Bucket != null && { Bucket: input.Bucket }),
2577
+ ...(input.KeyPrefixes != null && { KeyPrefixes: serializeAws_restJson1ListOf__string(input.KeyPrefixes, context) }),
2578
+ ...(input.Keys != null && { Keys: serializeAws_restJson1ListOf__string(input.Keys, context) }),
2579
+ };
2580
+ };
2581
+ const serializeAws_restJson1TableLFTagPolicyAndPermissions = (input, context) => {
2582
+ return {
2583
+ ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2584
+ ...(input.Permissions != null && {
2585
+ Permissions: serializeAws_restJson1ListOfTableTagPolicyLFPermissions(input.Permissions, context),
2586
+ }),
2587
+ };
2588
+ };
2498
2589
  const deserializeAws_restJson1Action = (output, context) => {
2499
2590
  return {
2500
2591
  ExportRevisionToS3: output.ExportRevisionToS3 != null
@@ -2529,9 +2620,15 @@ const deserializeAws_restJson1AssetDetails = (output, context) => {
2529
2620
  ApiGatewayApiAsset: output.ApiGatewayApiAsset != null
2530
2621
  ? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
2531
2622
  : undefined,
2623
+ LakeFormationDataPermissionAsset: output.LakeFormationDataPermissionAsset != null
2624
+ ? deserializeAws_restJson1LakeFormationDataPermissionAsset(output.LakeFormationDataPermissionAsset, context)
2625
+ : undefined,
2532
2626
  RedshiftDataShareAsset: output.RedshiftDataShareAsset != null
2533
2627
  ? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
2534
2628
  : undefined,
2629
+ S3DataAccessAsset: output.S3DataAccessAsset != null
2630
+ ? deserializeAws_restJson1S3DataAccessAsset(output.S3DataAccessAsset, context)
2631
+ : undefined,
2535
2632
  S3SnapshotAsset: output.S3SnapshotAsset != null
2536
2633
  ? deserializeAws_restJson1S3SnapshotAsset(output.S3SnapshotAsset, context)
2537
2634
  : undefined,
@@ -2573,6 +2670,28 @@ const deserializeAws_restJson1AutoExportRevisionToS3RequestDetails = (output, co
2573
2670
  : undefined,
2574
2671
  };
2575
2672
  };
2673
+ const deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails = (output, context) => {
2674
+ return {
2675
+ AssetSource: output.AssetSource != null
2676
+ ? deserializeAws_restJson1S3DataAccessAssetSourceEntry(output.AssetSource, context)
2677
+ : undefined,
2678
+ DataSetId: __expectString(output.DataSetId),
2679
+ RevisionId: __expectString(output.RevisionId),
2680
+ };
2681
+ };
2682
+ const deserializeAws_restJson1DatabaseLFTagPolicy = (output, context) => {
2683
+ return {
2684
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2685
+ };
2686
+ };
2687
+ const deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (output, context) => {
2688
+ return {
2689
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2690
+ Permissions: output.Permissions != null
2691
+ ? deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(output.Permissions, context)
2692
+ : undefined,
2693
+ };
2694
+ };
2576
2695
  const deserializeAws_restJson1DataSetEntry = (output, context) => {
2577
2696
  return {
2578
2697
  Arn: __expectString(output.Arn),
@@ -2689,6 +2808,18 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
2689
2808
  : undefined,
2690
2809
  };
2691
2810
  };
2811
+ const deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails = (output, context) => {
2812
+ return {
2813
+ CatalogId: __expectString(output.CatalogId),
2814
+ DataSetId: __expectString(output.DataSetId),
2815
+ Database: output.Database != null
2816
+ ? deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions(output.Database, context)
2817
+ : undefined,
2818
+ RevisionId: __expectString(output.RevisionId),
2819
+ RoleArn: __expectString(output.RoleArn),
2820
+ Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicyAndPermissions(output.Table, context) : undefined,
2821
+ };
2822
+ };
2692
2823
  const deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails = (output, context) => {
2693
2824
  return {
2694
2825
  AssetSources: output.AssetSources != null
@@ -2730,6 +2861,53 @@ const deserializeAws_restJson1JobError = (output, context) => {
2730
2861
  ResourceType: __expectString(output.ResourceType),
2731
2862
  };
2732
2863
  };
2864
+ const deserializeAws_restJson1LakeFormationDataPermissionAsset = (output, context) => {
2865
+ return {
2866
+ LakeFormationDataPermissionDetails: output.LakeFormationDataPermissionDetails != null
2867
+ ? deserializeAws_restJson1LakeFormationDataPermissionDetails(output.LakeFormationDataPermissionDetails, context)
2868
+ : undefined,
2869
+ LakeFormationDataPermissionType: __expectString(output.LakeFormationDataPermissionType),
2870
+ Permissions: output.Permissions != null ? deserializeAws_restJson1ListOfLFPermissions(output.Permissions, context) : undefined,
2871
+ RoleArn: __expectString(output.RoleArn),
2872
+ };
2873
+ };
2874
+ const deserializeAws_restJson1LakeFormationDataPermissionDetails = (output, context) => {
2875
+ return {
2876
+ LFTagPolicy: output.LFTagPolicy != null ? deserializeAws_restJson1LFTagPolicyDetails(output.LFTagPolicy, context) : undefined,
2877
+ };
2878
+ };
2879
+ const deserializeAws_restJson1LFResourceDetails = (output, context) => {
2880
+ return {
2881
+ Database: output.Database != null ? deserializeAws_restJson1DatabaseLFTagPolicy(output.Database, context) : undefined,
2882
+ Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicy(output.Table, context) : undefined,
2883
+ };
2884
+ };
2885
+ const deserializeAws_restJson1LFTag = (output, context) => {
2886
+ return {
2887
+ TagKey: __expectString(output.TagKey),
2888
+ TagValues: output.TagValues != null ? deserializeAws_restJson1ListOfLFTagValues(output.TagValues, context) : undefined,
2889
+ };
2890
+ };
2891
+ const deserializeAws_restJson1LFTagPolicyDetails = (output, context) => {
2892
+ return {
2893
+ CatalogId: __expectString(output.CatalogId),
2894
+ ResourceDetails: output.ResourceDetails != null
2895
+ ? deserializeAws_restJson1LFResourceDetails(output.ResourceDetails, context)
2896
+ : undefined,
2897
+ ResourceType: __expectString(output.ResourceType),
2898
+ };
2899
+ };
2900
+ const deserializeAws_restJson1ListOf__string = (output, context) => {
2901
+ const retVal = (output || [])
2902
+ .filter((e) => e != null)
2903
+ .map((entry) => {
2904
+ if (entry === null) {
2905
+ return null;
2906
+ }
2907
+ return __expectString(entry);
2908
+ });
2909
+ return retVal;
2910
+ };
2733
2911
  const deserializeAws_restJson1ListOfAssetDestinationEntry = (output, context) => {
2734
2912
  const retVal = (output || [])
2735
2913
  .filter((e) => e != null)
@@ -2763,6 +2941,17 @@ const deserializeAws_restJson1ListOfAssetSourceEntry = (output, context) => {
2763
2941
  });
2764
2942
  return retVal;
2765
2943
  };
2944
+ const deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (output, context) => {
2945
+ const retVal = (output || [])
2946
+ .filter((e) => e != null)
2947
+ .map((entry) => {
2948
+ if (entry === null) {
2949
+ return null;
2950
+ }
2951
+ return __expectString(entry);
2952
+ });
2953
+ return retVal;
2954
+ };
2766
2955
  const deserializeAws_restJson1ListOfDataSetEntry = (output, context) => {
2767
2956
  const retVal = (output || [])
2768
2957
  .filter((e) => e != null)
@@ -2807,6 +2996,39 @@ const deserializeAws_restJson1ListOfJobError = (output, context) => {
2807
2996
  });
2808
2997
  return retVal;
2809
2998
  };
2999
+ const deserializeAws_restJson1ListOfLFPermissions = (output, context) => {
3000
+ const retVal = (output || [])
3001
+ .filter((e) => e != null)
3002
+ .map((entry) => {
3003
+ if (entry === null) {
3004
+ return null;
3005
+ }
3006
+ return __expectString(entry);
3007
+ });
3008
+ return retVal;
3009
+ };
3010
+ const deserializeAws_restJson1ListOfLFTags = (output, context) => {
3011
+ const retVal = (output || [])
3012
+ .filter((e) => e != null)
3013
+ .map((entry) => {
3014
+ if (entry === null) {
3015
+ return null;
3016
+ }
3017
+ return deserializeAws_restJson1LFTag(entry, context);
3018
+ });
3019
+ return retVal;
3020
+ };
3021
+ const deserializeAws_restJson1ListOfLFTagValues = (output, context) => {
3022
+ const retVal = (output || [])
3023
+ .filter((e) => e != null)
3024
+ .map((entry) => {
3025
+ if (entry === null) {
3026
+ return null;
3027
+ }
3028
+ return __expectString(entry);
3029
+ });
3030
+ return retVal;
3031
+ };
2810
3032
  const deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (output, context) => {
2811
3033
  const retVal = (output || [])
2812
3034
  .filter((e) => e != null)
@@ -2840,6 +3062,17 @@ const deserializeAws_restJson1ListOfRevisionEntry = (output, context) => {
2840
3062
  });
2841
3063
  return retVal;
2842
3064
  };
3065
+ const deserializeAws_restJson1ListOfTableTagPolicyLFPermissions = (output, context) => {
3066
+ const retVal = (output || [])
3067
+ .filter((e) => e != null)
3068
+ .map((entry) => {
3069
+ if (entry === null) {
3070
+ return null;
3071
+ }
3072
+ return __expectString(entry);
3073
+ });
3074
+ return retVal;
3075
+ };
2843
3076
  const deserializeAws_restJson1MapOf__string = (output, context) => {
2844
3077
  return Object.entries(output).reduce((acc, [key, value]) => {
2845
3078
  if (value === null) {
@@ -2866,6 +3099,9 @@ const deserializeAws_restJson1RedshiftDataShareAssetSourceEntry = (output, conte
2866
3099
  };
2867
3100
  const deserializeAws_restJson1ResponseDetails = (output, context) => {
2868
3101
  return {
3102
+ CreateS3DataAccessFromS3Bucket: output.CreateS3DataAccessFromS3Bucket != null
3103
+ ? deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails(output.CreateS3DataAccessFromS3Bucket, context)
3104
+ : undefined,
2869
3105
  ExportAssetToSignedUrl: output.ExportAssetToSignedUrl != null
2870
3106
  ? deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
2871
3107
  : undefined,
@@ -2881,6 +3117,9 @@ const deserializeAws_restJson1ResponseDetails = (output, context) => {
2881
3117
  ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl != null
2882
3118
  ? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
2883
3119
  : undefined,
3120
+ ImportAssetsFromLakeFormationTagPolicy: output.ImportAssetsFromLakeFormationTagPolicy != null
3121
+ ? deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails(output.ImportAssetsFromLakeFormationTagPolicy, context)
3122
+ : undefined,
2884
3123
  ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares != null
2885
3124
  ? deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
2886
3125
  : undefined,
@@ -2916,11 +3155,40 @@ const deserializeAws_restJson1RevisionPublished = (output, context) => {
2916
3155
  DataSetId: __expectString(output.DataSetId),
2917
3156
  };
2918
3157
  };
3158
+ const deserializeAws_restJson1S3DataAccessAsset = (output, context) => {
3159
+ return {
3160
+ Bucket: __expectString(output.Bucket),
3161
+ KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3162
+ Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3163
+ S3AccessPointAlias: __expectString(output.S3AccessPointAlias),
3164
+ S3AccessPointArn: __expectString(output.S3AccessPointArn),
3165
+ };
3166
+ };
3167
+ const deserializeAws_restJson1S3DataAccessAssetSourceEntry = (output, context) => {
3168
+ return {
3169
+ Bucket: __expectString(output.Bucket),
3170
+ KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3171
+ Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3172
+ };
3173
+ };
2919
3174
  const deserializeAws_restJson1S3SnapshotAsset = (output, context) => {
2920
3175
  return {
2921
3176
  Size: __limitedParseDouble(output.Size),
2922
3177
  };
2923
3178
  };
3179
+ const deserializeAws_restJson1TableLFTagPolicy = (output, context) => {
3180
+ return {
3181
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3182
+ };
3183
+ };
3184
+ const deserializeAws_restJson1TableLFTagPolicyAndPermissions = (output, context) => {
3185
+ return {
3186
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3187
+ Permissions: output.Permissions != null
3188
+ ? deserializeAws_restJson1ListOfTableTagPolicyLFPermissions(output.Permissions, context)
3189
+ : undefined,
3190
+ };
3191
+ };
2924
3192
  const deserializeMetadata = (output) => ({
2925
3193
  httpStatusCode: output.statusCode,
2926
3194
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -31,9 +31,21 @@ import { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./comma
31
31
  import { DataExchangeClient } from "./DataExchangeClient";
32
32
  /**
33
33
  * <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p>
34
- * <p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p>
35
- * <p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p>
36
- * <p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
34
+ * <p>As a subscriber, you can view and access the data sets that you have an entitlement to through
35
+ * a subscription. You can use the APIs to download or copy your entitled data sets to Amazon
36
+ * Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine
37
+ * learning services.</p>
38
+ * <p>As a provider, you can create and manage your data sets that you would like to publish to a
39
+ * product. Being able to package and provide your data sets into products requires a few
40
+ * steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
41
+ * User Guide</i>.</p>
42
+ * <p>A data set is a collection of data that can be changed or updated over time. Data sets can be
43
+ * updated using revisions, which represent a new version or incremental change to a data set.
44
+ * A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data
45
+ * that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS Lake
46
+ * Formation data permission, or Amazon S3 data access. The asset can be a structured data
47
+ * file, an image file, or some other data file. Jobs are asynchronous import or export
48
+ * operations used to create or copy assets.</p>
37
49
  */
38
50
  export declare class DataExchange extends DataExchangeClient {
39
51
  /**
@@ -153,9 +153,21 @@ export interface DataExchangeClientResolvedConfig extends DataExchangeClientReso
153
153
  }
154
154
  /**
155
155
  * <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.</p>
156
- * <p>As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.</p>
157
- * <p>As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.</p>
158
- * <p>A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.</p>
156
+ * <p>As a subscriber, you can view and access the data sets that you have an entitlement to through
157
+ * a subscription. You can use the APIs to download or copy your entitled data sets to Amazon
158
+ * Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine
159
+ * learning services.</p>
160
+ * <p>As a provider, you can create and manage your data sets that you would like to publish to a
161
+ * product. Being able to package and provide your data sets into products requires a few
162
+ * steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
163
+ * User Guide</i>.</p>
164
+ * <p>A data set is a collection of data that can be changed or updated over time. Data sets can be
165
+ * updated using revisions, which represent a new version or incremental change to a data set.
166
+ * A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data
167
+ * that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS Lake
168
+ * Formation data permission, or Amazon S3 data access. The asset can be a structured data
169
+ * file, an image file, or some other data file. Jobs are asynchronous import or export
170
+ * operations used to create or copy assets.</p>
159
171
  */
160
172
  export declare class DataExchangeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DataExchangeClientResolvedConfig> {
161
173
  /**
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;