@aws-sdk/client-dataexchange 3.216.0 → 3.221.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.
@@ -518,7 +518,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
518
518
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
519
519
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
520
520
  const query = map({
521
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
521
+ tagKeys: [
522
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
523
+ () => (input.TagKeys || []).map((_entry) => _entry),
524
+ ],
522
525
  });
523
526
  let body;
524
527
  return new protocol_http_1.HttpRequest({
@@ -2393,6 +2396,23 @@ const serializeAws_restJson1AutoExportRevisionToS3RequestDetails = (input, conte
2393
2396
  }),
2394
2397
  };
2395
2398
  };
2399
+ const serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails = (input, context) => {
2400
+ return {
2401
+ ...(input.AssetSource != null && {
2402
+ AssetSource: serializeAws_restJson1S3DataAccessAssetSourceEntry(input.AssetSource, context),
2403
+ }),
2404
+ ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2405
+ ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2406
+ };
2407
+ };
2408
+ const serializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (input, context) => {
2409
+ return {
2410
+ ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2411
+ ...(input.Permissions != null && {
2412
+ Permissions: serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(input.Permissions, context),
2413
+ }),
2414
+ };
2415
+ };
2396
2416
  const serializeAws_restJson1Event = (input, context) => {
2397
2417
  return {
2398
2418
  ...(input.RevisionPublished != null && {
@@ -2457,6 +2477,18 @@ const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, con
2457
2477
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2458
2478
  };
2459
2479
  };
2480
+ const serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails = (input, context) => {
2481
+ return {
2482
+ ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
2483
+ ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2484
+ ...(input.Database != null && {
2485
+ Database: serializeAws_restJson1DatabaseLFTagPolicyAndPermissions(input.Database, context),
2486
+ }),
2487
+ ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2488
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
2489
+ ...(input.Table != null && { Table: serializeAws_restJson1TableLFTagPolicyAndPermissions(input.Table, context) }),
2490
+ };
2491
+ };
2460
2492
  const serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails = (input, context) => {
2461
2493
  return {
2462
2494
  ...(input.AssetSources != null && {
@@ -2475,6 +2507,19 @@ const serializeAws_restJson1ImportAssetsFromS3RequestDetails = (input, context)
2475
2507
  ...(input.RevisionId != null && { RevisionId: input.RevisionId }),
2476
2508
  };
2477
2509
  };
2510
+ const serializeAws_restJson1LFTag = (input, context) => {
2511
+ return {
2512
+ ...(input.TagKey != null && { TagKey: input.TagKey }),
2513
+ ...(input.TagValues != null && { TagValues: serializeAws_restJson1ListOfLFTagValues(input.TagValues, context) }),
2514
+ };
2515
+ };
2516
+ const serializeAws_restJson1ListOf__string = (input, context) => {
2517
+ return input
2518
+ .filter((e) => e != null)
2519
+ .map((entry) => {
2520
+ return entry;
2521
+ });
2522
+ };
2478
2523
  const serializeAws_restJson1ListOfAssetDestinationEntry = (input, context) => {
2479
2524
  return input
2480
2525
  .filter((e) => e != null)
@@ -2489,6 +2534,27 @@ const serializeAws_restJson1ListOfAssetSourceEntry = (input, context) => {
2489
2534
  return serializeAws_restJson1AssetSourceEntry(entry, context);
2490
2535
  });
2491
2536
  };
2537
+ const serializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (input, context) => {
2538
+ return input
2539
+ .filter((e) => e != null)
2540
+ .map((entry) => {
2541
+ return entry;
2542
+ });
2543
+ };
2544
+ const serializeAws_restJson1ListOfLFTags = (input, context) => {
2545
+ return input
2546
+ .filter((e) => e != null)
2547
+ .map((entry) => {
2548
+ return serializeAws_restJson1LFTag(entry, context);
2549
+ });
2550
+ };
2551
+ const serializeAws_restJson1ListOfLFTagValues = (input, context) => {
2552
+ return input
2553
+ .filter((e) => e != null)
2554
+ .map((entry) => {
2555
+ return entry;
2556
+ });
2557
+ };
2492
2558
  const serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (input, context) => {
2493
2559
  return input
2494
2560
  .filter((e) => e != null)
@@ -2503,6 +2569,13 @@ const serializeAws_restJson1ListOfRevisionDestinationEntry = (input, context) =>
2503
2569
  return serializeAws_restJson1RevisionDestinationEntry(entry, context);
2504
2570
  });
2505
2571
  };
2572
+ const serializeAws_restJson1ListOfTableTagPolicyLFPermissions = (input, context) => {
2573
+ return input
2574
+ .filter((e) => e != null)
2575
+ .map((entry) => {
2576
+ return entry;
2577
+ });
2578
+ };
2506
2579
  const serializeAws_restJson1MapOf__string = (input, context) => {
2507
2580
  return Object.entries(input).reduce((acc, [key, value]) => {
2508
2581
  if (value === null) {
@@ -2519,6 +2592,9 @@ const serializeAws_restJson1RedshiftDataShareAssetSourceEntry = (input, context)
2519
2592
  };
2520
2593
  const serializeAws_restJson1RequestDetails = (input, context) => {
2521
2594
  return {
2595
+ ...(input.CreateS3DataAccessFromS3Bucket != null && {
2596
+ CreateS3DataAccessFromS3Bucket: serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails(input.CreateS3DataAccessFromS3Bucket, context),
2597
+ }),
2522
2598
  ...(input.ExportAssetToSignedUrl != null && {
2523
2599
  ExportAssetToSignedUrl: serializeAws_restJson1ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
2524
2600
  }),
@@ -2534,6 +2610,9 @@ const serializeAws_restJson1RequestDetails = (input, context) => {
2534
2610
  ...(input.ImportAssetFromSignedUrl != null && {
2535
2611
  ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
2536
2612
  }),
2613
+ ...(input.ImportAssetsFromLakeFormationTagPolicy != null && {
2614
+ ImportAssetsFromLakeFormationTagPolicy: serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails(input.ImportAssetsFromLakeFormationTagPolicy, context),
2615
+ }),
2537
2616
  ...(input.ImportAssetsFromRedshiftDataShares != null && {
2538
2617
  ImportAssetsFromRedshiftDataShares: serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
2539
2618
  }),
@@ -2554,6 +2633,21 @@ const serializeAws_restJson1RevisionPublished = (input, context) => {
2554
2633
  ...(input.DataSetId != null && { DataSetId: input.DataSetId }),
2555
2634
  };
2556
2635
  };
2636
+ const serializeAws_restJson1S3DataAccessAssetSourceEntry = (input, context) => {
2637
+ return {
2638
+ ...(input.Bucket != null && { Bucket: input.Bucket }),
2639
+ ...(input.KeyPrefixes != null && { KeyPrefixes: serializeAws_restJson1ListOf__string(input.KeyPrefixes, context) }),
2640
+ ...(input.Keys != null && { Keys: serializeAws_restJson1ListOf__string(input.Keys, context) }),
2641
+ };
2642
+ };
2643
+ const serializeAws_restJson1TableLFTagPolicyAndPermissions = (input, context) => {
2644
+ return {
2645
+ ...(input.Expression != null && { Expression: serializeAws_restJson1ListOfLFTags(input.Expression, context) }),
2646
+ ...(input.Permissions != null && {
2647
+ Permissions: serializeAws_restJson1ListOfTableTagPolicyLFPermissions(input.Permissions, context),
2648
+ }),
2649
+ };
2650
+ };
2557
2651
  const deserializeAws_restJson1Action = (output, context) => {
2558
2652
  return {
2559
2653
  ExportRevisionToS3: output.ExportRevisionToS3 != null
@@ -2588,9 +2682,15 @@ const deserializeAws_restJson1AssetDetails = (output, context) => {
2588
2682
  ApiGatewayApiAsset: output.ApiGatewayApiAsset != null
2589
2683
  ? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
2590
2684
  : undefined,
2685
+ LakeFormationDataPermissionAsset: output.LakeFormationDataPermissionAsset != null
2686
+ ? deserializeAws_restJson1LakeFormationDataPermissionAsset(output.LakeFormationDataPermissionAsset, context)
2687
+ : undefined,
2591
2688
  RedshiftDataShareAsset: output.RedshiftDataShareAsset != null
2592
2689
  ? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
2593
2690
  : undefined,
2691
+ S3DataAccessAsset: output.S3DataAccessAsset != null
2692
+ ? deserializeAws_restJson1S3DataAccessAsset(output.S3DataAccessAsset, context)
2693
+ : undefined,
2594
2694
  S3SnapshotAsset: output.S3SnapshotAsset != null
2595
2695
  ? deserializeAws_restJson1S3SnapshotAsset(output.S3SnapshotAsset, context)
2596
2696
  : undefined,
@@ -2632,6 +2732,28 @@ const deserializeAws_restJson1AutoExportRevisionToS3RequestDetails = (output, co
2632
2732
  : undefined,
2633
2733
  };
2634
2734
  };
2735
+ const deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails = (output, context) => {
2736
+ return {
2737
+ AssetSource: output.AssetSource != null
2738
+ ? deserializeAws_restJson1S3DataAccessAssetSourceEntry(output.AssetSource, context)
2739
+ : undefined,
2740
+ DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2741
+ RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2742
+ };
2743
+ };
2744
+ const deserializeAws_restJson1DatabaseLFTagPolicy = (output, context) => {
2745
+ return {
2746
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2747
+ };
2748
+ };
2749
+ const deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions = (output, context) => {
2750
+ return {
2751
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
2752
+ Permissions: output.Permissions != null
2753
+ ? deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions(output.Permissions, context)
2754
+ : undefined,
2755
+ };
2756
+ };
2635
2757
  const deserializeAws_restJson1DataSetEntry = (output, context) => {
2636
2758
  return {
2637
2759
  Arn: (0, smithy_client_1.expectString)(output.Arn),
@@ -2748,6 +2870,18 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
2748
2870
  : undefined,
2749
2871
  };
2750
2872
  };
2873
+ const deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails = (output, context) => {
2874
+ return {
2875
+ CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
2876
+ DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2877
+ Database: output.Database != null
2878
+ ? deserializeAws_restJson1DatabaseLFTagPolicyAndPermissions(output.Database, context)
2879
+ : undefined,
2880
+ RevisionId: (0, smithy_client_1.expectString)(output.RevisionId),
2881
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
2882
+ Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicyAndPermissions(output.Table, context) : undefined,
2883
+ };
2884
+ };
2751
2885
  const deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails = (output, context) => {
2752
2886
  return {
2753
2887
  AssetSources: output.AssetSources != null
@@ -2789,6 +2923,53 @@ const deserializeAws_restJson1JobError = (output, context) => {
2789
2923
  ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2790
2924
  };
2791
2925
  };
2926
+ const deserializeAws_restJson1LakeFormationDataPermissionAsset = (output, context) => {
2927
+ return {
2928
+ LakeFormationDataPermissionDetails: output.LakeFormationDataPermissionDetails != null
2929
+ ? deserializeAws_restJson1LakeFormationDataPermissionDetails(output.LakeFormationDataPermissionDetails, context)
2930
+ : undefined,
2931
+ LakeFormationDataPermissionType: (0, smithy_client_1.expectString)(output.LakeFormationDataPermissionType),
2932
+ Permissions: output.Permissions != null ? deserializeAws_restJson1ListOfLFPermissions(output.Permissions, context) : undefined,
2933
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
2934
+ };
2935
+ };
2936
+ const deserializeAws_restJson1LakeFormationDataPermissionDetails = (output, context) => {
2937
+ return {
2938
+ LFTagPolicy: output.LFTagPolicy != null ? deserializeAws_restJson1LFTagPolicyDetails(output.LFTagPolicy, context) : undefined,
2939
+ };
2940
+ };
2941
+ const deserializeAws_restJson1LFResourceDetails = (output, context) => {
2942
+ return {
2943
+ Database: output.Database != null ? deserializeAws_restJson1DatabaseLFTagPolicy(output.Database, context) : undefined,
2944
+ Table: output.Table != null ? deserializeAws_restJson1TableLFTagPolicy(output.Table, context) : undefined,
2945
+ };
2946
+ };
2947
+ const deserializeAws_restJson1LFTag = (output, context) => {
2948
+ return {
2949
+ TagKey: (0, smithy_client_1.expectString)(output.TagKey),
2950
+ TagValues: output.TagValues != null ? deserializeAws_restJson1ListOfLFTagValues(output.TagValues, context) : undefined,
2951
+ };
2952
+ };
2953
+ const deserializeAws_restJson1LFTagPolicyDetails = (output, context) => {
2954
+ return {
2955
+ CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
2956
+ ResourceDetails: output.ResourceDetails != null
2957
+ ? deserializeAws_restJson1LFResourceDetails(output.ResourceDetails, context)
2958
+ : undefined,
2959
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
2960
+ };
2961
+ };
2962
+ const deserializeAws_restJson1ListOf__string = (output, context) => {
2963
+ const retVal = (output || [])
2964
+ .filter((e) => e != null)
2965
+ .map((entry) => {
2966
+ if (entry === null) {
2967
+ return null;
2968
+ }
2969
+ return (0, smithy_client_1.expectString)(entry);
2970
+ });
2971
+ return retVal;
2972
+ };
2792
2973
  const deserializeAws_restJson1ListOfAssetDestinationEntry = (output, context) => {
2793
2974
  const retVal = (output || [])
2794
2975
  .filter((e) => e != null)
@@ -2822,6 +3003,17 @@ const deserializeAws_restJson1ListOfAssetSourceEntry = (output, context) => {
2822
3003
  });
2823
3004
  return retVal;
2824
3005
  };
3006
+ const deserializeAws_restJson1ListOfDatabaseLFTagPolicyPermissions = (output, context) => {
3007
+ const retVal = (output || [])
3008
+ .filter((e) => e != null)
3009
+ .map((entry) => {
3010
+ if (entry === null) {
3011
+ return null;
3012
+ }
3013
+ return (0, smithy_client_1.expectString)(entry);
3014
+ });
3015
+ return retVal;
3016
+ };
2825
3017
  const deserializeAws_restJson1ListOfDataSetEntry = (output, context) => {
2826
3018
  const retVal = (output || [])
2827
3019
  .filter((e) => e != null)
@@ -2866,6 +3058,39 @@ const deserializeAws_restJson1ListOfJobError = (output, context) => {
2866
3058
  });
2867
3059
  return retVal;
2868
3060
  };
3061
+ const deserializeAws_restJson1ListOfLFPermissions = (output, context) => {
3062
+ const retVal = (output || [])
3063
+ .filter((e) => e != null)
3064
+ .map((entry) => {
3065
+ if (entry === null) {
3066
+ return null;
3067
+ }
3068
+ return (0, smithy_client_1.expectString)(entry);
3069
+ });
3070
+ return retVal;
3071
+ };
3072
+ const deserializeAws_restJson1ListOfLFTags = (output, context) => {
3073
+ const retVal = (output || [])
3074
+ .filter((e) => e != null)
3075
+ .map((entry) => {
3076
+ if (entry === null) {
3077
+ return null;
3078
+ }
3079
+ return deserializeAws_restJson1LFTag(entry, context);
3080
+ });
3081
+ return retVal;
3082
+ };
3083
+ const deserializeAws_restJson1ListOfLFTagValues = (output, context) => {
3084
+ const retVal = (output || [])
3085
+ .filter((e) => e != null)
3086
+ .map((entry) => {
3087
+ if (entry === null) {
3088
+ return null;
3089
+ }
3090
+ return (0, smithy_client_1.expectString)(entry);
3091
+ });
3092
+ return retVal;
3093
+ };
2869
3094
  const deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (output, context) => {
2870
3095
  const retVal = (output || [])
2871
3096
  .filter((e) => e != null)
@@ -2899,6 +3124,17 @@ const deserializeAws_restJson1ListOfRevisionEntry = (output, context) => {
2899
3124
  });
2900
3125
  return retVal;
2901
3126
  };
3127
+ const deserializeAws_restJson1ListOfTableTagPolicyLFPermissions = (output, context) => {
3128
+ const retVal = (output || [])
3129
+ .filter((e) => e != null)
3130
+ .map((entry) => {
3131
+ if (entry === null) {
3132
+ return null;
3133
+ }
3134
+ return (0, smithy_client_1.expectString)(entry);
3135
+ });
3136
+ return retVal;
3137
+ };
2902
3138
  const deserializeAws_restJson1MapOf__string = (output, context) => {
2903
3139
  return Object.entries(output).reduce((acc, [key, value]) => {
2904
3140
  if (value === null) {
@@ -2925,6 +3161,9 @@ const deserializeAws_restJson1RedshiftDataShareAssetSourceEntry = (output, conte
2925
3161
  };
2926
3162
  const deserializeAws_restJson1ResponseDetails = (output, context) => {
2927
3163
  return {
3164
+ CreateS3DataAccessFromS3Bucket: output.CreateS3DataAccessFromS3Bucket != null
3165
+ ? deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails(output.CreateS3DataAccessFromS3Bucket, context)
3166
+ : undefined,
2928
3167
  ExportAssetToSignedUrl: output.ExportAssetToSignedUrl != null
2929
3168
  ? deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
2930
3169
  : undefined,
@@ -2940,6 +3179,9 @@ const deserializeAws_restJson1ResponseDetails = (output, context) => {
2940
3179
  ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl != null
2941
3180
  ? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
2942
3181
  : undefined,
3182
+ ImportAssetsFromLakeFormationTagPolicy: output.ImportAssetsFromLakeFormationTagPolicy != null
3183
+ ? deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails(output.ImportAssetsFromLakeFormationTagPolicy, context)
3184
+ : undefined,
2943
3185
  ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares != null
2944
3186
  ? deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
2945
3187
  : undefined,
@@ -2975,11 +3217,40 @@ const deserializeAws_restJson1RevisionPublished = (output, context) => {
2975
3217
  DataSetId: (0, smithy_client_1.expectString)(output.DataSetId),
2976
3218
  };
2977
3219
  };
3220
+ const deserializeAws_restJson1S3DataAccessAsset = (output, context) => {
3221
+ return {
3222
+ Bucket: (0, smithy_client_1.expectString)(output.Bucket),
3223
+ KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3224
+ Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3225
+ S3AccessPointAlias: (0, smithy_client_1.expectString)(output.S3AccessPointAlias),
3226
+ S3AccessPointArn: (0, smithy_client_1.expectString)(output.S3AccessPointArn),
3227
+ };
3228
+ };
3229
+ const deserializeAws_restJson1S3DataAccessAssetSourceEntry = (output, context) => {
3230
+ return {
3231
+ Bucket: (0, smithy_client_1.expectString)(output.Bucket),
3232
+ KeyPrefixes: output.KeyPrefixes != null ? deserializeAws_restJson1ListOf__string(output.KeyPrefixes, context) : undefined,
3233
+ Keys: output.Keys != null ? deserializeAws_restJson1ListOf__string(output.Keys, context) : undefined,
3234
+ };
3235
+ };
2978
3236
  const deserializeAws_restJson1S3SnapshotAsset = (output, context) => {
2979
3237
  return {
2980
3238
  Size: (0, smithy_client_1.limitedParseDouble)(output.Size),
2981
3239
  };
2982
3240
  };
3241
+ const deserializeAws_restJson1TableLFTagPolicy = (output, context) => {
3242
+ return {
3243
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3244
+ };
3245
+ };
3246
+ const deserializeAws_restJson1TableLFTagPolicyAndPermissions = (output, context) => {
3247
+ return {
3248
+ Expression: output.Expression != null ? deserializeAws_restJson1ListOfLFTags(output.Expression, context) : undefined,
3249
+ Permissions: output.Permissions != null
3250
+ ? deserializeAws_restJson1ListOfTableTagPolicyLFPermissions(output.Permissions, context)
3251
+ : undefined,
3252
+ };
3253
+ };
2983
3254
  const deserializeMetadata = (output) => ({
2984
3255
  httpStatusCode: output.statusCode,
2985
3256
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -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
  });