@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.
- package/README.md +15 -3
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +98 -3
- package/dist-cjs/protocols/Aws_restJson1.js +272 -1
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +80 -0
- package/dist-es/protocols/Aws_restJson1.js +272 -1
- package/dist-types/DataExchange.d.ts +15 -3
- package/dist-types/DataExchangeClient.d.ts +15 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +424 -28
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +158 -0
- package/package.json +3 -3
|
@@ -490,7 +490,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
490
490
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
491
491
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
492
492
|
const query = map({
|
|
493
|
-
tagKeys: [
|
|
493
|
+
tagKeys: [
|
|
494
|
+
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
495
|
+
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
496
|
+
],
|
|
494
497
|
});
|
|
495
498
|
let body;
|
|
496
499
|
return new __HttpRequest({
|
|
@@ -2331,6 +2334,23 @@ const serializeAws_restJson1AutoExportRevisionToS3RequestDetails = (input, conte
|
|
|
2331
2334
|
}),
|
|
2332
2335
|
};
|
|
2333
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
|
+
};
|
|
2334
2354
|
const serializeAws_restJson1Event = (input, context) => {
|
|
2335
2355
|
return {
|
|
2336
2356
|
...(input.RevisionPublished != null && {
|
|
@@ -2395,6 +2415,18 @@ const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, con
|
|
|
2395
2415
|
...(input.RevisionId != null && { RevisionId: input.RevisionId }),
|
|
2396
2416
|
};
|
|
2397
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
|
+
};
|
|
2398
2430
|
const serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails = (input, context) => {
|
|
2399
2431
|
return {
|
|
2400
2432
|
...(input.AssetSources != null && {
|
|
@@ -2413,6 +2445,19 @@ const serializeAws_restJson1ImportAssetsFromS3RequestDetails = (input, context)
|
|
|
2413
2445
|
...(input.RevisionId != null && { RevisionId: input.RevisionId }),
|
|
2414
2446
|
};
|
|
2415
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
|
+
};
|
|
2416
2461
|
const serializeAws_restJson1ListOfAssetDestinationEntry = (input, context) => {
|
|
2417
2462
|
return input
|
|
2418
2463
|
.filter((e) => e != null)
|
|
@@ -2427,6 +2472,27 @@ const serializeAws_restJson1ListOfAssetSourceEntry = (input, context) => {
|
|
|
2427
2472
|
return serializeAws_restJson1AssetSourceEntry(entry, context);
|
|
2428
2473
|
});
|
|
2429
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
|
+
};
|
|
2430
2496
|
const serializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (input, context) => {
|
|
2431
2497
|
return input
|
|
2432
2498
|
.filter((e) => e != null)
|
|
@@ -2441,6 +2507,13 @@ const serializeAws_restJson1ListOfRevisionDestinationEntry = (input, context) =>
|
|
|
2441
2507
|
return serializeAws_restJson1RevisionDestinationEntry(entry, context);
|
|
2442
2508
|
});
|
|
2443
2509
|
};
|
|
2510
|
+
const serializeAws_restJson1ListOfTableTagPolicyLFPermissions = (input, context) => {
|
|
2511
|
+
return input
|
|
2512
|
+
.filter((e) => e != null)
|
|
2513
|
+
.map((entry) => {
|
|
2514
|
+
return entry;
|
|
2515
|
+
});
|
|
2516
|
+
};
|
|
2444
2517
|
const serializeAws_restJson1MapOf__string = (input, context) => {
|
|
2445
2518
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
2446
2519
|
if (value === null) {
|
|
@@ -2457,6 +2530,9 @@ const serializeAws_restJson1RedshiftDataShareAssetSourceEntry = (input, context)
|
|
|
2457
2530
|
};
|
|
2458
2531
|
const serializeAws_restJson1RequestDetails = (input, context) => {
|
|
2459
2532
|
return {
|
|
2533
|
+
...(input.CreateS3DataAccessFromS3Bucket != null && {
|
|
2534
|
+
CreateS3DataAccessFromS3Bucket: serializeAws_restJson1CreateS3DataAccessFromS3BucketRequestDetails(input.CreateS3DataAccessFromS3Bucket, context),
|
|
2535
|
+
}),
|
|
2460
2536
|
...(input.ExportAssetToSignedUrl != null && {
|
|
2461
2537
|
ExportAssetToSignedUrl: serializeAws_restJson1ExportAssetToSignedUrlRequestDetails(input.ExportAssetToSignedUrl, context),
|
|
2462
2538
|
}),
|
|
@@ -2472,6 +2548,9 @@ const serializeAws_restJson1RequestDetails = (input, context) => {
|
|
|
2472
2548
|
...(input.ImportAssetFromSignedUrl != null && {
|
|
2473
2549
|
ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
|
|
2474
2550
|
}),
|
|
2551
|
+
...(input.ImportAssetsFromLakeFormationTagPolicy != null && {
|
|
2552
|
+
ImportAssetsFromLakeFormationTagPolicy: serializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyRequestDetails(input.ImportAssetsFromLakeFormationTagPolicy, context),
|
|
2553
|
+
}),
|
|
2475
2554
|
...(input.ImportAssetsFromRedshiftDataShares != null && {
|
|
2476
2555
|
ImportAssetsFromRedshiftDataShares: serializeAws_restJson1ImportAssetsFromRedshiftDataSharesRequestDetails(input.ImportAssetsFromRedshiftDataShares, context),
|
|
2477
2556
|
}),
|
|
@@ -2492,6 +2571,21 @@ const serializeAws_restJson1RevisionPublished = (input, context) => {
|
|
|
2492
2571
|
...(input.DataSetId != null && { DataSetId: input.DataSetId }),
|
|
2493
2572
|
};
|
|
2494
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
|
+
};
|
|
2495
2589
|
const deserializeAws_restJson1Action = (output, context) => {
|
|
2496
2590
|
return {
|
|
2497
2591
|
ExportRevisionToS3: output.ExportRevisionToS3 != null
|
|
@@ -2526,9 +2620,15 @@ const deserializeAws_restJson1AssetDetails = (output, context) => {
|
|
|
2526
2620
|
ApiGatewayApiAsset: output.ApiGatewayApiAsset != null
|
|
2527
2621
|
? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
|
|
2528
2622
|
: undefined,
|
|
2623
|
+
LakeFormationDataPermissionAsset: output.LakeFormationDataPermissionAsset != null
|
|
2624
|
+
? deserializeAws_restJson1LakeFormationDataPermissionAsset(output.LakeFormationDataPermissionAsset, context)
|
|
2625
|
+
: undefined,
|
|
2529
2626
|
RedshiftDataShareAsset: output.RedshiftDataShareAsset != null
|
|
2530
2627
|
? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
|
|
2531
2628
|
: undefined,
|
|
2629
|
+
S3DataAccessAsset: output.S3DataAccessAsset != null
|
|
2630
|
+
? deserializeAws_restJson1S3DataAccessAsset(output.S3DataAccessAsset, context)
|
|
2631
|
+
: undefined,
|
|
2532
2632
|
S3SnapshotAsset: output.S3SnapshotAsset != null
|
|
2533
2633
|
? deserializeAws_restJson1S3SnapshotAsset(output.S3SnapshotAsset, context)
|
|
2534
2634
|
: undefined,
|
|
@@ -2570,6 +2670,28 @@ const deserializeAws_restJson1AutoExportRevisionToS3RequestDetails = (output, co
|
|
|
2570
2670
|
: undefined,
|
|
2571
2671
|
};
|
|
2572
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
|
+
};
|
|
2573
2695
|
const deserializeAws_restJson1DataSetEntry = (output, context) => {
|
|
2574
2696
|
return {
|
|
2575
2697
|
Arn: __expectString(output.Arn),
|
|
@@ -2686,6 +2808,18 @@ const deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails = (output,
|
|
|
2686
2808
|
: undefined,
|
|
2687
2809
|
};
|
|
2688
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
|
+
};
|
|
2689
2823
|
const deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails = (output, context) => {
|
|
2690
2824
|
return {
|
|
2691
2825
|
AssetSources: output.AssetSources != null
|
|
@@ -2727,6 +2861,53 @@ const deserializeAws_restJson1JobError = (output, context) => {
|
|
|
2727
2861
|
ResourceType: __expectString(output.ResourceType),
|
|
2728
2862
|
};
|
|
2729
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
|
+
};
|
|
2730
2911
|
const deserializeAws_restJson1ListOfAssetDestinationEntry = (output, context) => {
|
|
2731
2912
|
const retVal = (output || [])
|
|
2732
2913
|
.filter((e) => e != null)
|
|
@@ -2760,6 +2941,17 @@ const deserializeAws_restJson1ListOfAssetSourceEntry = (output, context) => {
|
|
|
2760
2941
|
});
|
|
2761
2942
|
return retVal;
|
|
2762
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
|
+
};
|
|
2763
2955
|
const deserializeAws_restJson1ListOfDataSetEntry = (output, context) => {
|
|
2764
2956
|
const retVal = (output || [])
|
|
2765
2957
|
.filter((e) => e != null)
|
|
@@ -2804,6 +2996,39 @@ const deserializeAws_restJson1ListOfJobError = (output, context) => {
|
|
|
2804
2996
|
});
|
|
2805
2997
|
return retVal;
|
|
2806
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
|
+
};
|
|
2807
3032
|
const deserializeAws_restJson1ListOfRedshiftDataShareAssetSourceEntry = (output, context) => {
|
|
2808
3033
|
const retVal = (output || [])
|
|
2809
3034
|
.filter((e) => e != null)
|
|
@@ -2837,6 +3062,17 @@ const deserializeAws_restJson1ListOfRevisionEntry = (output, context) => {
|
|
|
2837
3062
|
});
|
|
2838
3063
|
return retVal;
|
|
2839
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
|
+
};
|
|
2840
3076
|
const deserializeAws_restJson1MapOf__string = (output, context) => {
|
|
2841
3077
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
2842
3078
|
if (value === null) {
|
|
@@ -2863,6 +3099,9 @@ const deserializeAws_restJson1RedshiftDataShareAssetSourceEntry = (output, conte
|
|
|
2863
3099
|
};
|
|
2864
3100
|
const deserializeAws_restJson1ResponseDetails = (output, context) => {
|
|
2865
3101
|
return {
|
|
3102
|
+
CreateS3DataAccessFromS3Bucket: output.CreateS3DataAccessFromS3Bucket != null
|
|
3103
|
+
? deserializeAws_restJson1CreateS3DataAccessFromS3BucketResponseDetails(output.CreateS3DataAccessFromS3Bucket, context)
|
|
3104
|
+
: undefined,
|
|
2866
3105
|
ExportAssetToSignedUrl: output.ExportAssetToSignedUrl != null
|
|
2867
3106
|
? deserializeAws_restJson1ExportAssetToSignedUrlResponseDetails(output.ExportAssetToSignedUrl, context)
|
|
2868
3107
|
: undefined,
|
|
@@ -2878,6 +3117,9 @@ const deserializeAws_restJson1ResponseDetails = (output, context) => {
|
|
|
2878
3117
|
ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl != null
|
|
2879
3118
|
? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
|
|
2880
3119
|
: undefined,
|
|
3120
|
+
ImportAssetsFromLakeFormationTagPolicy: output.ImportAssetsFromLakeFormationTagPolicy != null
|
|
3121
|
+
? deserializeAws_restJson1ImportAssetsFromLakeFormationTagPolicyResponseDetails(output.ImportAssetsFromLakeFormationTagPolicy, context)
|
|
3122
|
+
: undefined,
|
|
2881
3123
|
ImportAssetsFromRedshiftDataShares: output.ImportAssetsFromRedshiftDataShares != null
|
|
2882
3124
|
? deserializeAws_restJson1ImportAssetsFromRedshiftDataSharesResponseDetails(output.ImportAssetsFromRedshiftDataShares, context)
|
|
2883
3125
|
: undefined,
|
|
@@ -2913,11 +3155,40 @@ const deserializeAws_restJson1RevisionPublished = (output, context) => {
|
|
|
2913
3155
|
DataSetId: __expectString(output.DataSetId),
|
|
2914
3156
|
};
|
|
2915
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
|
+
};
|
|
2916
3174
|
const deserializeAws_restJson1S3SnapshotAsset = (output, context) => {
|
|
2917
3175
|
return {
|
|
2918
3176
|
Size: __limitedParseDouble(output.Size),
|
|
2919
3177
|
};
|
|
2920
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
|
+
};
|
|
2921
3192
|
const deserializeMetadata = (output) => ({
|
|
2922
3193
|
httpStatusCode: output.statusCode,
|
|
2923
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
|
|
35
|
-
*
|
|
36
|
-
*
|
|
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
|
|
157
|
-
*
|
|
158
|
-
*
|
|
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
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|