@aws-sdk/client-dataexchange 3.1019.0 → 3.1021.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -18
- package/dist-cjs/schemas/schemas_0.js +31 -14
- package/dist-es/DataExchange.js +5 -5
- package/dist-es/schemas/schemas_0.js +27 -10
- package/dist-types/DataExchange.d.ts +38 -55
- package/dist-types/DataExchangeClient.d.ts +41 -58
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/commands/AcceptDataGrantCommand.d.ts +1 -2
- package/dist-types/commands/CancelJobCommand.d.ts +2 -4
- package/dist-types/commands/CreateJobCommand.d.ts +17 -2
- package/dist-types/commands/DeleteAssetCommand.d.ts +1 -2
- package/dist-types/commands/DeleteDataSetCommand.d.ts +1 -2
- package/dist-types/commands/DeleteRevisionCommand.d.ts +1 -2
- package/dist-types/commands/GetAssetCommand.d.ts +3 -0
- package/dist-types/commands/GetJobCommand.d.ts +8 -0
- package/dist-types/commands/ListDataSetRevisionsCommand.d.ts +1 -2
- package/dist-types/commands/ListDataSetsCommand.d.ts +1 -2
- package/dist-types/commands/ListJobsCommand.d.ts +8 -0
- package/dist-types/commands/ListRevisionAssetsCommand.d.ts +1 -2
- package/dist-types/commands/RevokeRevisionCommand.d.ts +1 -2
- package/dist-types/commands/SendApiAssetCommand.d.ts +1 -2
- package/dist-types/commands/SendDataSetNotificationCommand.d.ts +1 -2
- package/dist-types/commands/StartJobCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAssetCommand.d.ts +1 -2
- package/dist-types/commands/UpdateRevisionCommand.d.ts +1 -2
- package/dist-types/index.d.ts +2 -19
- package/dist-types/models/errors.d.ts +3 -5
- package/dist-types/models/models_0.d.ts +170 -321
- package/dist-types/pagination/ListDataGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReceivedDataGrantsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRevisionAssetsPaginator.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -6,24 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript DataExchange Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in
|
|
10
|
-
the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access
|
|
11
|
-
file-based data set in the AWS Cloud.</p>
|
|
12
|
-
<p>As a subscriber, you can view and access the data sets that you have an entitlement to
|
|
13
|
-
through a subscription. You can use the APIs to download or copy your entitled data sets to
|
|
14
|
-
Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and
|
|
15
|
-
machine learning services.</p>
|
|
16
|
-
<p>As a provider, you can create and manage your data sets that you would like to publish
|
|
17
|
-
to a product. Being able to package and provide your data sets into products requires a few
|
|
18
|
-
steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
|
|
19
|
-
User Guide</i>.</p>
|
|
20
|
-
<p>A data set is a collection of data that can be changed or updated over time. Data sets
|
|
21
|
-
can be updated using revisions, which represent a new version or incremental change to a
|
|
22
|
-
data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece
|
|
23
|
-
of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS
|
|
24
|
-
Lake Formation data permission, or Amazon S3 data access. The asset can be a structured
|
|
25
|
-
data file, an image file, or some other data file. Jobs are asynchronous import or export
|
|
26
|
-
operations used to create or copy assets.</p>
|
|
9
|
+
<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> <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 Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine learning services.</p> <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 <i>AWS Data Exchange User Guide</i>.</p> <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, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. 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>
|
|
27
10
|
|
|
28
11
|
## Installing
|
|
29
12
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateRevision$ = exports.UpdateEventAction$ = exports.UpdateDataSet$ = exports.UpdateAsset$ = exports.UntagResource$ = exports.TagResource$ = exports.StartJob$ = exports.SendDataSetNotification$ = exports.SendApiAsset$ = exports.RevokeRevision$ = exports.ListTagsForResource$ = exports.ListRevisionAssets$ = exports.ListReceivedDataGrants$ = exports.ListJobs$ = exports.ListEventActions$ = exports.ListDataSets$ = exports.ListDataSetRevisions$ = exports.ListDataGrants$ = exports.GetRevision$ = exports.GetReceivedDataGrant$ = exports.GetJob$ = exports.GetEventAction$ = exports.GetDataSet$ = exports.GetDataGrant$ = exports.GetAsset$ = exports.DeleteRevision$ = exports.DeleteEventAction$ = exports.DeleteDataSet$ = void 0;
|
|
3
|
+
exports.ExportAssetToSignedUrlRequestDetails$ = exports.ExportAssetsToS3ResponseDetails$ = exports.ExportAssetsToS3RequestDetails$ = exports.EventActionEntry$ = exports.Event$ = exports.Details$ = exports.DeprecationRequestDetails$ = exports.DeleteRevisionRequest$ = exports.DeleteEventActionRequest$ = exports.DeleteDataSetRequest$ = exports.DeleteDataGrantRequest$ = exports.DeleteAssetRequest$ = exports.DataUpdateRequestDetails$ = exports.DataSetEntry$ = exports.DataGrantSummaryEntry$ = exports.DatabaseLFTagPolicyAndPermissions$ = exports.DatabaseLFTagPolicy$ = exports.CreateS3DataAccessFromS3BucketResponseDetails$ = exports.CreateS3DataAccessFromS3BucketRequestDetails$ = exports.CreateRevisionResponse$ = exports.CreateRevisionRequest$ = exports.CreateJobResponse$ = exports.CreateJobRequest$ = exports.CreateEventActionResponse$ = exports.CreateEventActionRequest$ = exports.CreateDataSetResponse$ = exports.CreateDataSetRequest$ = exports.CreateDataGrantResponse$ = exports.CreateDataGrantRequest$ = exports.CancelJobRequest$ = exports.AutoExportRevisionToS3RequestDetails$ = exports.AutoExportRevisionDestinationEntry$ = exports.AssetSourceEntry$ = exports.AssetEntry$ = exports.AssetDetails$ = exports.AssetDestinationEntry$ = exports.AssetConfiguration$ = exports.ApiGatewayApiAsset$ = exports.Action$ = exports.AcceptDataGrantResponse$ = exports.AcceptDataGrantRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceLimitExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.DataExchangeServiceException$ = void 0;
|
|
4
|
+
exports.ListReceivedDataGrantsResponse$ = exports.ListReceivedDataGrantsRequest$ = exports.ListJobsResponse$ = exports.ListJobsRequest$ = exports.ListEventActionsResponse$ = exports.ListEventActionsRequest$ = exports.ListDataSetsResponse$ = exports.ListDataSetsRequest$ = exports.ListDataSetRevisionsResponse$ = exports.ListDataSetRevisionsRequest$ = exports.ListDataGrantsResponse$ = exports.ListDataGrantsRequest$ = exports.LFTagPolicyDetails$ = exports.LFTag$ = exports.LFResourceDetails$ = exports.LakeFormationTagPolicyDetails$ = exports.LakeFormationDataPermissionDetails$ = exports.LakeFormationDataPermissionAsset$ = exports.KmsKeyToGrant$ = exports.JobError$ = exports.JobEntry$ = exports.ImportAssetsFromS3ResponseDetails$ = exports.ImportAssetsFromS3RequestDetails$ = exports.ImportAssetsFromRedshiftDataSharesResponseDetails$ = exports.ImportAssetsFromRedshiftDataSharesRequestDetails$ = exports.ImportAssetsFromLakeFormationTagPolicyResponseDetails$ = exports.ImportAssetsFromLakeFormationTagPolicyRequestDetails$ = exports.ImportAssetFromSignedUrlResponseDetails$ = exports.ImportAssetFromSignedUrlRequestDetails$ = exports.ImportAssetFromSignedUrlJobErrorDetails$ = exports.ImportAssetFromApiGatewayApiResponseDetails$ = exports.ImportAssetFromApiGatewayApiRequestDetails$ = exports.GetRevisionResponse$ = exports.GetRevisionRequest$ = exports.GetReceivedDataGrantResponse$ = exports.GetReceivedDataGrantRequest$ = exports.GetJobResponse$ = exports.GetJobRequest$ = exports.GetEventActionResponse$ = exports.GetEventActionRequest$ = exports.GetDataSetResponse$ = exports.GetDataSetRequest$ = exports.GetDataGrantResponse$ = exports.GetDataGrantRequest$ = exports.GetAssetResponse$ = exports.GetAssetRequest$ = exports.ExportServerSideEncryption$ = exports.ExportRevisionsToS3ResponseDetails$ = exports.ExportRevisionsToS3RequestDetails$ = exports.ExportAssetToSignedUrlResponseDetails$ = void 0;
|
|
5
|
+
exports.CreateRevision$ = exports.CreateJob$ = exports.CreateEventAction$ = exports.CreateDataSet$ = exports.CreateDataGrant$ = exports.CancelJob$ = exports.AcceptDataGrant$ = exports.UpdateRevisionResponse$ = exports.UpdateRevisionRequest$ = exports.UpdateEventActionResponse$ = exports.UpdateEventActionRequest$ = exports.UpdateDataSetResponse$ = exports.UpdateDataSetRequest$ = exports.UpdateAssetResponse$ = exports.UpdateAssetRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.Tag$ = exports.TableLFTagPolicyAndPermissions$ = exports.TableLFTagPolicy$ = exports.StartJobResponse$ = exports.StartJobRequest$ = exports.SendDataSetNotificationResponse$ = exports.SendDataSetNotificationRequest$ = exports.SendApiAssetResponse$ = exports.SendApiAssetRequest$ = exports.ScopeDetails$ = exports.SchemaChangeRequestDetails$ = exports.SchemaChangeDetails$ = exports.S3SnapshotAsset$ = exports.S3DataAccessDetails$ = exports.S3DataAccessAssetSourceEntry$ = exports.S3DataAccessAsset$ = exports.RevokeRevisionResponse$ = exports.RevokeRevisionRequest$ = exports.RevisionPublished$ = exports.RevisionEntry$ = exports.RevisionDestinationEntry$ = exports.ResponseDetails$ = exports.RequestDetails$ = exports.RedshiftDataShareDetails$ = exports.RedshiftDataShareAssetSourceEntry$ = exports.RedshiftDataShareAsset$ = exports.ReceivedDataGrantSummariesEntry$ = exports.OriginDetails$ = exports.NotificationDetails$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListRevisionAssetsResponse$ = exports.ListRevisionAssetsRequest$ = void 0;
|
|
6
|
+
exports.UpdateRevision$ = exports.UpdateEventAction$ = exports.UpdateDataSet$ = exports.UpdateAsset$ = exports.UntagResource$ = exports.TagResource$ = exports.StartJob$ = exports.SendDataSetNotification$ = exports.SendApiAsset$ = exports.RevokeRevision$ = exports.ListTagsForResource$ = exports.ListRevisionAssets$ = exports.ListReceivedDataGrants$ = exports.ListJobs$ = exports.ListEventActions$ = exports.ListDataSets$ = exports.ListDataSetRevisions$ = exports.ListDataGrants$ = exports.GetRevision$ = exports.GetReceivedDataGrant$ = exports.GetJob$ = exports.GetEventAction$ = exports.GetDataSet$ = exports.GetDataGrant$ = exports.GetAsset$ = exports.DeleteRevision$ = exports.DeleteEventAction$ = exports.DeleteDataSet$ = exports.DeleteDataGrant$ = exports.DeleteAsset$ = void 0;
|
|
7
7
|
const _ = "";
|
|
8
8
|
const _A = "Arn";
|
|
9
9
|
const _AA = "AcceptedAt";
|
|
10
|
+
const _AC = "AssetConfiguration";
|
|
10
11
|
const _AD = "ApiDescription";
|
|
11
12
|
const _ADE = "AccessDeniedException";
|
|
12
13
|
const _ADEs = "AssetDestinationEntry";
|
|
@@ -214,6 +215,7 @@ const _LORDSASE = "ListOfRedshiftDataShareAssetSourceEntry";
|
|
|
214
215
|
const _LORE = "ListOfRevisionEntry";
|
|
215
216
|
const _LOSCD = "ListOfSchemaChangeDetails";
|
|
216
217
|
const _LOSDA = "ListOfS3DataAccesses";
|
|
218
|
+
const _LOT = "ListOfTag";
|
|
217
219
|
const _LRA = "ListRevisionAssets";
|
|
218
220
|
const _LRAR = "ListRevisionAssetsRequest";
|
|
219
221
|
const _LRARi = "ListRevisionAssetsResponse";
|
|
@@ -309,6 +311,7 @@ const _TR = "TagResource";
|
|
|
309
311
|
const _TRR = "TagResourceRequest";
|
|
310
312
|
const _TV = "TagValues";
|
|
311
313
|
const _Ta = "Table";
|
|
314
|
+
const _Tag = "Tag";
|
|
312
315
|
const _Ty = "Type";
|
|
313
316
|
const _UA = "UpdatedAt";
|
|
314
317
|
const _UAR = "UpdateAssetRequest";
|
|
@@ -327,6 +330,7 @@ const _URRpd = "UpdateRevisionResponse";
|
|
|
327
330
|
const _URp = "UpdateRevision";
|
|
328
331
|
const _V = "View";
|
|
329
332
|
const _VE = "ValidationException";
|
|
333
|
+
const _Va = "Value";
|
|
330
334
|
const _aS = "acceptanceState";
|
|
331
335
|
const _c = "client";
|
|
332
336
|
const _dSI = "dataSetId";
|
|
@@ -427,6 +431,11 @@ exports.ApiGatewayApiAsset$ = [3, n0, _AGAA,
|
|
|
427
431
|
[_AD, _AE, _AI, _AK, _AN, _ASDU, _ASDUEA, _PT, _S],
|
|
428
432
|
[0, 0, 0, 0, 0, 0, 5, 0, 0]
|
|
429
433
|
];
|
|
434
|
+
exports.AssetConfiguration$ = [3, n0, _AC,
|
|
435
|
+
0,
|
|
436
|
+
[_T],
|
|
437
|
+
[() => ListOfTag]
|
|
438
|
+
];
|
|
430
439
|
exports.AssetDestinationEntry$ = [3, n0, _ADEs,
|
|
431
440
|
0,
|
|
432
441
|
[_AIs, _B, _K],
|
|
@@ -494,13 +503,13 @@ exports.CreateEventActionResponse$ = [3, n0, _CEARr,
|
|
|
494
503
|
];
|
|
495
504
|
exports.CreateJobRequest$ = [3, n0, _CJRr,
|
|
496
505
|
0,
|
|
497
|
-
[_De, _Ty],
|
|
498
|
-
[() => exports.RequestDetails$, 0], 2
|
|
506
|
+
[_De, _Ty, _AC],
|
|
507
|
+
[() => exports.RequestDetails$, 0, () => exports.AssetConfiguration$], 2
|
|
499
508
|
];
|
|
500
509
|
exports.CreateJobResponse$ = [3, n0, _CJRre,
|
|
501
510
|
0,
|
|
502
|
-
[_A, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
503
|
-
[0, 5, () => exports.ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
511
|
+
[_A, _AC, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
512
|
+
[0, () => exports.AssetConfiguration$, 5, () => exports.ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
504
513
|
];
|
|
505
514
|
exports.CreateRevisionRequest$ = [3, n0, _CRR,
|
|
506
515
|
0,
|
|
@@ -634,8 +643,8 @@ exports.GetAssetRequest$ = [3, n0, _GAR,
|
|
|
634
643
|
];
|
|
635
644
|
exports.GetAssetResponse$ = [3, n0, _GARe,
|
|
636
645
|
0,
|
|
637
|
-
[_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _UA],
|
|
638
|
-
[0, () => exports.AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 5]
|
|
646
|
+
[_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _T, _UA],
|
|
647
|
+
[0, () => exports.AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 128 | 0, 5]
|
|
639
648
|
];
|
|
640
649
|
exports.GetDataGrantRequest$ = [3, n0, _GDGR,
|
|
641
650
|
0,
|
|
@@ -674,8 +683,8 @@ exports.GetJobRequest$ = [3, n0, _GJR,
|
|
|
674
683
|
];
|
|
675
684
|
exports.GetJobResponse$ = [3, n0, _GJRe,
|
|
676
685
|
0,
|
|
677
|
-
[_A, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
678
|
-
[0, 5, () => exports.ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
686
|
+
[_A, _AC, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
687
|
+
[0, () => exports.AssetConfiguration$, 5, () => exports.ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
679
688
|
];
|
|
680
689
|
exports.GetReceivedDataGrantRequest$ = [3, n0, _GRDGR,
|
|
681
690
|
0,
|
|
@@ -754,8 +763,8 @@ exports.ImportAssetsFromS3ResponseDetails$ = [3, n0, _IAFSRDm,
|
|
|
754
763
|
];
|
|
755
764
|
exports.JobEntry$ = [3, n0, _JE,
|
|
756
765
|
0,
|
|
757
|
-
[_A, _CA, _De, _I, _St, _Ty, _UA, _Er],
|
|
758
|
-
[0, 5, () => exports.ResponseDetails$, 0, 0, 0, 5, () => ListOfJobError], 7
|
|
766
|
+
[_A, _CA, _De, _I, _St, _Ty, _UA, _AC, _Er],
|
|
767
|
+
[0, 5, () => exports.ResponseDetails$, 0, 0, 0, 5, () => exports.AssetConfiguration$, () => ListOfJobError], 7
|
|
759
768
|
];
|
|
760
769
|
exports.JobError$ = [3, n0, _JEo,
|
|
761
770
|
0,
|
|
@@ -1017,6 +1026,11 @@ exports.TableLFTagPolicyAndPermissions$ = [3, n0, _TLFTPAP,
|
|
|
1017
1026
|
[_Ex, _P],
|
|
1018
1027
|
[() => ListOfLFTags, 64 | 0], 2
|
|
1019
1028
|
];
|
|
1029
|
+
exports.Tag$ = [3, n0, _Tag,
|
|
1030
|
+
0,
|
|
1031
|
+
[_K, _Va],
|
|
1032
|
+
[0, 0], 2
|
|
1033
|
+
];
|
|
1020
1034
|
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
1021
1035
|
0,
|
|
1022
1036
|
[_RAe, _T],
|
|
@@ -1128,6 +1142,9 @@ var ListOfSchemaChangeDetails = [1, n0, _LOSCD,
|
|
|
1128
1142
|
0, () => exports.SchemaChangeDetails$
|
|
1129
1143
|
];
|
|
1130
1144
|
var ListOfTableTagPolicyLFPermissions = 64 | 0;
|
|
1145
|
+
var ListOfTag = [1, n0, _LOT,
|
|
1146
|
+
0, () => exports.Tag$
|
|
1147
|
+
];
|
|
1131
1148
|
var MapOf__string = 128 | 0;
|
|
1132
1149
|
exports.AcceptDataGrant$ = [9, n0, _ADG,
|
|
1133
1150
|
{ [_h]: ["POST", "/v1/data-grants/{DataGrantArn}/accept", 200] }, () => exports.AcceptDataGrantRequest$, () => exports.AcceptDataGrantResponse$
|
package/dist-es/DataExchange.js
CHANGED
|
@@ -6,18 +6,18 @@ import { CreateDataSetCommand, } from "./commands/CreateDataSetCommand";
|
|
|
6
6
|
import { CreateEventActionCommand, } from "./commands/CreateEventActionCommand";
|
|
7
7
|
import { CreateJobCommand } from "./commands/CreateJobCommand";
|
|
8
8
|
import { CreateRevisionCommand, } from "./commands/CreateRevisionCommand";
|
|
9
|
-
import { DeleteAssetCommand } from "./commands/DeleteAssetCommand";
|
|
9
|
+
import { DeleteAssetCommand, } from "./commands/DeleteAssetCommand";
|
|
10
10
|
import { DeleteDataGrantCommand, } from "./commands/DeleteDataGrantCommand";
|
|
11
11
|
import { DeleteDataSetCommand, } from "./commands/DeleteDataSetCommand";
|
|
12
12
|
import { DeleteEventActionCommand, } from "./commands/DeleteEventActionCommand";
|
|
13
13
|
import { DeleteRevisionCommand, } from "./commands/DeleteRevisionCommand";
|
|
14
14
|
import { GetAssetCommand } from "./commands/GetAssetCommand";
|
|
15
15
|
import { GetDataGrantCommand, } from "./commands/GetDataGrantCommand";
|
|
16
|
-
import { GetDataSetCommand } from "./commands/GetDataSetCommand";
|
|
16
|
+
import { GetDataSetCommand, } from "./commands/GetDataSetCommand";
|
|
17
17
|
import { GetEventActionCommand, } from "./commands/GetEventActionCommand";
|
|
18
18
|
import { GetJobCommand } from "./commands/GetJobCommand";
|
|
19
19
|
import { GetReceivedDataGrantCommand, } from "./commands/GetReceivedDataGrantCommand";
|
|
20
|
-
import { GetRevisionCommand } from "./commands/GetRevisionCommand";
|
|
20
|
+
import { GetRevisionCommand, } from "./commands/GetRevisionCommand";
|
|
21
21
|
import { ListDataGrantsCommand, } from "./commands/ListDataGrantsCommand";
|
|
22
22
|
import { ListDataSetRevisionsCommand, } from "./commands/ListDataSetRevisionsCommand";
|
|
23
23
|
import { ListDataSetsCommand, } from "./commands/ListDataSetsCommand";
|
|
@@ -30,9 +30,9 @@ import { RevokeRevisionCommand, } from "./commands/RevokeRevisionCommand";
|
|
|
30
30
|
import { SendApiAssetCommand, } from "./commands/SendApiAssetCommand";
|
|
31
31
|
import { SendDataSetNotificationCommand, } from "./commands/SendDataSetNotificationCommand";
|
|
32
32
|
import { StartJobCommand } from "./commands/StartJobCommand";
|
|
33
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
33
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
34
34
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
35
|
-
import { UpdateAssetCommand } from "./commands/UpdateAssetCommand";
|
|
35
|
+
import { UpdateAssetCommand, } from "./commands/UpdateAssetCommand";
|
|
36
36
|
import { UpdateDataSetCommand, } from "./commands/UpdateDataSetCommand";
|
|
37
37
|
import { UpdateEventActionCommand, } from "./commands/UpdateEventActionCommand";
|
|
38
38
|
import { UpdateRevisionCommand, } from "./commands/UpdateRevisionCommand";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const _ = "";
|
|
2
2
|
const _A = "Arn";
|
|
3
3
|
const _AA = "AcceptedAt";
|
|
4
|
+
const _AC = "AssetConfiguration";
|
|
4
5
|
const _AD = "ApiDescription";
|
|
5
6
|
const _ADE = "AccessDeniedException";
|
|
6
7
|
const _ADEs = "AssetDestinationEntry";
|
|
@@ -208,6 +209,7 @@ const _LORDSASE = "ListOfRedshiftDataShareAssetSourceEntry";
|
|
|
208
209
|
const _LORE = "ListOfRevisionEntry";
|
|
209
210
|
const _LOSCD = "ListOfSchemaChangeDetails";
|
|
210
211
|
const _LOSDA = "ListOfS3DataAccesses";
|
|
212
|
+
const _LOT = "ListOfTag";
|
|
211
213
|
const _LRA = "ListRevisionAssets";
|
|
212
214
|
const _LRAR = "ListRevisionAssetsRequest";
|
|
213
215
|
const _LRARi = "ListRevisionAssetsResponse";
|
|
@@ -303,6 +305,7 @@ const _TR = "TagResource";
|
|
|
303
305
|
const _TRR = "TagResourceRequest";
|
|
304
306
|
const _TV = "TagValues";
|
|
305
307
|
const _Ta = "Table";
|
|
308
|
+
const _Tag = "Tag";
|
|
306
309
|
const _Ty = "Type";
|
|
307
310
|
const _UA = "UpdatedAt";
|
|
308
311
|
const _UAR = "UpdateAssetRequest";
|
|
@@ -321,6 +324,7 @@ const _URRpd = "UpdateRevisionResponse";
|
|
|
321
324
|
const _URp = "UpdateRevision";
|
|
322
325
|
const _V = "View";
|
|
323
326
|
const _VE = "ValidationException";
|
|
327
|
+
const _Va = "Value";
|
|
324
328
|
const _aS = "acceptanceState";
|
|
325
329
|
const _c = "client";
|
|
326
330
|
const _dSI = "dataSetId";
|
|
@@ -421,6 +425,11 @@ export var ApiGatewayApiAsset$ = [3, n0, _AGAA,
|
|
|
421
425
|
[_AD, _AE, _AI, _AK, _AN, _ASDU, _ASDUEA, _PT, _S],
|
|
422
426
|
[0, 0, 0, 0, 0, 0, 5, 0, 0]
|
|
423
427
|
];
|
|
428
|
+
export var AssetConfiguration$ = [3, n0, _AC,
|
|
429
|
+
0,
|
|
430
|
+
[_T],
|
|
431
|
+
[() => ListOfTag]
|
|
432
|
+
];
|
|
424
433
|
export var AssetDestinationEntry$ = [3, n0, _ADEs,
|
|
425
434
|
0,
|
|
426
435
|
[_AIs, _B, _K],
|
|
@@ -488,13 +497,13 @@ export var CreateEventActionResponse$ = [3, n0, _CEARr,
|
|
|
488
497
|
];
|
|
489
498
|
export var CreateJobRequest$ = [3, n0, _CJRr,
|
|
490
499
|
0,
|
|
491
|
-
[_De, _Ty],
|
|
492
|
-
[() => RequestDetails$, 0], 2
|
|
500
|
+
[_De, _Ty, _AC],
|
|
501
|
+
[() => RequestDetails$, 0, () => AssetConfiguration$], 2
|
|
493
502
|
];
|
|
494
503
|
export var CreateJobResponse$ = [3, n0, _CJRre,
|
|
495
504
|
0,
|
|
496
|
-
[_A, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
497
|
-
[0, 5, () => ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
505
|
+
[_A, _AC, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
506
|
+
[0, () => AssetConfiguration$, 5, () => ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
498
507
|
];
|
|
499
508
|
export var CreateRevisionRequest$ = [3, n0, _CRR,
|
|
500
509
|
0,
|
|
@@ -628,8 +637,8 @@ export var GetAssetRequest$ = [3, n0, _GAR,
|
|
|
628
637
|
];
|
|
629
638
|
export var GetAssetResponse$ = [3, n0, _GARe,
|
|
630
639
|
0,
|
|
631
|
-
[_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _UA],
|
|
632
|
-
[0, () => AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 5]
|
|
640
|
+
[_A, _ADs, _AT, _CA, _DSI, _I, _N, _RIe, _SI, _T, _UA],
|
|
641
|
+
[0, () => AssetDetails$, 0, 5, 0, 0, 0, 0, 0, 128 | 0, 5]
|
|
633
642
|
];
|
|
634
643
|
export var GetDataGrantRequest$ = [3, n0, _GDGR,
|
|
635
644
|
0,
|
|
@@ -668,8 +677,8 @@ export var GetJobRequest$ = [3, n0, _GJR,
|
|
|
668
677
|
];
|
|
669
678
|
export var GetJobResponse$ = [3, n0, _GJRe,
|
|
670
679
|
0,
|
|
671
|
-
[_A, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
672
|
-
[0, 5, () => ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
680
|
+
[_A, _AC, _CA, _De, _Er, _I, _St, _Ty, _UA],
|
|
681
|
+
[0, () => AssetConfiguration$, 5, () => ResponseDetails$, () => ListOfJobError, 0, 0, 0, 5]
|
|
673
682
|
];
|
|
674
683
|
export var GetReceivedDataGrantRequest$ = [3, n0, _GRDGR,
|
|
675
684
|
0,
|
|
@@ -748,8 +757,8 @@ export var ImportAssetsFromS3ResponseDetails$ = [3, n0, _IAFSRDm,
|
|
|
748
757
|
];
|
|
749
758
|
export var JobEntry$ = [3, n0, _JE,
|
|
750
759
|
0,
|
|
751
|
-
[_A, _CA, _De, _I, _St, _Ty, _UA, _Er],
|
|
752
|
-
[0, 5, () => ResponseDetails$, 0, 0, 0, 5, () => ListOfJobError], 7
|
|
760
|
+
[_A, _CA, _De, _I, _St, _Ty, _UA, _AC, _Er],
|
|
761
|
+
[0, 5, () => ResponseDetails$, 0, 0, 0, 5, () => AssetConfiguration$, () => ListOfJobError], 7
|
|
753
762
|
];
|
|
754
763
|
export var JobError$ = [3, n0, _JEo,
|
|
755
764
|
0,
|
|
@@ -1011,6 +1020,11 @@ export var TableLFTagPolicyAndPermissions$ = [3, n0, _TLFTPAP,
|
|
|
1011
1020
|
[_Ex, _P],
|
|
1012
1021
|
[() => ListOfLFTags, 64 | 0], 2
|
|
1013
1022
|
];
|
|
1023
|
+
export var Tag$ = [3, n0, _Tag,
|
|
1024
|
+
0,
|
|
1025
|
+
[_K, _Va],
|
|
1026
|
+
[0, 0], 2
|
|
1027
|
+
];
|
|
1014
1028
|
export var TagResourceRequest$ = [3, n0, _TRR,
|
|
1015
1029
|
0,
|
|
1016
1030
|
[_RAe, _T],
|
|
@@ -1122,6 +1136,9 @@ var ListOfSchemaChangeDetails = [1, n0, _LOSCD,
|
|
|
1122
1136
|
0, () => SchemaChangeDetails$
|
|
1123
1137
|
];
|
|
1124
1138
|
var ListOfTableTagPolicyLFPermissions = 64 | 0;
|
|
1139
|
+
var ListOfTag = [1, n0, _LOT,
|
|
1140
|
+
0, () => Tag$
|
|
1141
|
+
];
|
|
1125
1142
|
var MapOf__string = 128 | 0;
|
|
1126
1143
|
export var AcceptDataGrant$ = [9, n0, _ADG,
|
|
1127
1144
|
{ [_h]: ["POST", "/v1/data-grants/{DataGrantArn}/accept", 200] }, () => AcceptDataGrantRequest$, () => AcceptDataGrantResponse$
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
-
import { AcceptDataGrantCommandInput, AcceptDataGrantCommandOutput } from "./commands/AcceptDataGrantCommand";
|
|
3
|
-
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
|
-
import { CreateDataGrantCommandInput, CreateDataGrantCommandOutput } from "./commands/CreateDataGrantCommand";
|
|
5
|
-
import { CreateDataSetCommandInput, CreateDataSetCommandOutput } from "./commands/CreateDataSetCommand";
|
|
6
|
-
import { CreateEventActionCommandInput, CreateEventActionCommandOutput } from "./commands/CreateEventActionCommand";
|
|
7
|
-
import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
8
|
-
import { CreateRevisionCommandInput, CreateRevisionCommandOutput } from "./commands/CreateRevisionCommand";
|
|
9
|
-
import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
10
|
-
import { DeleteDataGrantCommandInput, DeleteDataGrantCommandOutput } from "./commands/DeleteDataGrantCommand";
|
|
11
|
-
import { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
|
|
12
|
-
import { DeleteEventActionCommandInput, DeleteEventActionCommandOutput } from "./commands/DeleteEventActionCommand";
|
|
13
|
-
import { DeleteRevisionCommandInput, DeleteRevisionCommandOutput } from "./commands/DeleteRevisionCommand";
|
|
14
|
-
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
15
|
-
import { GetDataGrantCommandInput, GetDataGrantCommandOutput } from "./commands/GetDataGrantCommand";
|
|
16
|
-
import { GetDataSetCommandInput, GetDataSetCommandOutput } from "./commands/GetDataSetCommand";
|
|
17
|
-
import { GetEventActionCommandInput, GetEventActionCommandOutput } from "./commands/GetEventActionCommand";
|
|
18
|
-
import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
19
|
-
import { GetReceivedDataGrantCommandInput, GetReceivedDataGrantCommandOutput } from "./commands/GetReceivedDataGrantCommand";
|
|
20
|
-
import { GetRevisionCommandInput, GetRevisionCommandOutput } from "./commands/GetRevisionCommand";
|
|
21
|
-
import { ListDataGrantsCommandInput, ListDataGrantsCommandOutput } from "./commands/ListDataGrantsCommand";
|
|
22
|
-
import { ListDataSetRevisionsCommandInput, ListDataSetRevisionsCommandOutput } from "./commands/ListDataSetRevisionsCommand";
|
|
23
|
-
import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
24
|
-
import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "./commands/ListEventActionsCommand";
|
|
25
|
-
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
26
|
-
import { ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput } from "./commands/ListReceivedDataGrantsCommand";
|
|
27
|
-
import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
|
|
28
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
29
|
-
import { RevokeRevisionCommandInput, RevokeRevisionCommandOutput } from "./commands/RevokeRevisionCommand";
|
|
30
|
-
import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
|
|
31
|
-
import { SendDataSetNotificationCommandInput, SendDataSetNotificationCommandOutput } from "./commands/SendDataSetNotificationCommand";
|
|
32
|
-
import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
33
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
|
-
import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
36
|
-
import { UpdateDataSetCommandInput, UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
|
|
37
|
-
import { UpdateEventActionCommandInput, UpdateEventActionCommandOutput } from "./commands/UpdateEventActionCommand";
|
|
38
|
-
import { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
|
|
2
|
+
import { type AcceptDataGrantCommandInput, type AcceptDataGrantCommandOutput } from "./commands/AcceptDataGrantCommand";
|
|
3
|
+
import { type CancelJobCommandInput, type CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
4
|
+
import { type CreateDataGrantCommandInput, type CreateDataGrantCommandOutput } from "./commands/CreateDataGrantCommand";
|
|
5
|
+
import { type CreateDataSetCommandInput, type CreateDataSetCommandOutput } from "./commands/CreateDataSetCommand";
|
|
6
|
+
import { type CreateEventActionCommandInput, type CreateEventActionCommandOutput } from "./commands/CreateEventActionCommand";
|
|
7
|
+
import { type CreateJobCommandInput, type CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
8
|
+
import { type CreateRevisionCommandInput, type CreateRevisionCommandOutput } from "./commands/CreateRevisionCommand";
|
|
9
|
+
import { type DeleteAssetCommandInput, type DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
10
|
+
import { type DeleteDataGrantCommandInput, type DeleteDataGrantCommandOutput } from "./commands/DeleteDataGrantCommand";
|
|
11
|
+
import { type DeleteDataSetCommandInput, type DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
|
|
12
|
+
import { type DeleteEventActionCommandInput, type DeleteEventActionCommandOutput } from "./commands/DeleteEventActionCommand";
|
|
13
|
+
import { type DeleteRevisionCommandInput, type DeleteRevisionCommandOutput } from "./commands/DeleteRevisionCommand";
|
|
14
|
+
import { type GetAssetCommandInput, type GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
15
|
+
import { type GetDataGrantCommandInput, type GetDataGrantCommandOutput } from "./commands/GetDataGrantCommand";
|
|
16
|
+
import { type GetDataSetCommandInput, type GetDataSetCommandOutput } from "./commands/GetDataSetCommand";
|
|
17
|
+
import { type GetEventActionCommandInput, type GetEventActionCommandOutput } from "./commands/GetEventActionCommand";
|
|
18
|
+
import { type GetJobCommandInput, type GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
19
|
+
import { type GetReceivedDataGrantCommandInput, type GetReceivedDataGrantCommandOutput } from "./commands/GetReceivedDataGrantCommand";
|
|
20
|
+
import { type GetRevisionCommandInput, type GetRevisionCommandOutput } from "./commands/GetRevisionCommand";
|
|
21
|
+
import { type ListDataGrantsCommandInput, type ListDataGrantsCommandOutput } from "./commands/ListDataGrantsCommand";
|
|
22
|
+
import { type ListDataSetRevisionsCommandInput, type ListDataSetRevisionsCommandOutput } from "./commands/ListDataSetRevisionsCommand";
|
|
23
|
+
import { type ListDataSetsCommandInput, type ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
24
|
+
import { type ListEventActionsCommandInput, type ListEventActionsCommandOutput } from "./commands/ListEventActionsCommand";
|
|
25
|
+
import { type ListJobsCommandInput, type ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
26
|
+
import { type ListReceivedDataGrantsCommandInput, type ListReceivedDataGrantsCommandOutput } from "./commands/ListReceivedDataGrantsCommand";
|
|
27
|
+
import { type ListRevisionAssetsCommandInput, type ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
|
|
28
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
29
|
+
import { type RevokeRevisionCommandInput, type RevokeRevisionCommandOutput } from "./commands/RevokeRevisionCommand";
|
|
30
|
+
import { type SendApiAssetCommandInput, type SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
|
|
31
|
+
import { type SendDataSetNotificationCommandInput, type SendDataSetNotificationCommandOutput } from "./commands/SendDataSetNotificationCommand";
|
|
32
|
+
import { type StartJobCommandInput, type StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
33
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
|
+
import { type UpdateAssetCommandInput, type UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
36
|
+
import { type UpdateDataSetCommandInput, type UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
|
|
37
|
+
import { type UpdateEventActionCommandInput, type UpdateEventActionCommandOutput } from "./commands/UpdateEventActionCommand";
|
|
38
|
+
import { type UpdateRevisionCommandInput, type UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
|
|
39
39
|
import { DataExchangeClient } from "./DataExchangeClient";
|
|
40
40
|
export interface DataExchange {
|
|
41
41
|
/**
|
|
@@ -316,24 +316,7 @@ export interface DataExchange {
|
|
|
316
316
|
paginateListRevisionAssets(args: ListRevisionAssetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRevisionAssetsCommandOutput>;
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in
|
|
320
|
-
* the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access
|
|
321
|
-
* file-based data set in the AWS Cloud.</p>
|
|
322
|
-
* <p>As a subscriber, you can view and access the data sets that you have an entitlement to
|
|
323
|
-
* through a subscription. You can use the APIs to download or copy your entitled data sets to
|
|
324
|
-
* Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and
|
|
325
|
-
* machine learning services.</p>
|
|
326
|
-
* <p>As a provider, you can create and manage your data sets that you would like to publish
|
|
327
|
-
* to a product. Being able to package and provide your data sets into products requires a few
|
|
328
|
-
* steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
|
|
329
|
-
* User Guide</i>.</p>
|
|
330
|
-
* <p>A data set is a collection of data that can be changed or updated over time. Data sets
|
|
331
|
-
* can be updated using revisions, which represent a new version or incremental change to a
|
|
332
|
-
* data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece
|
|
333
|
-
* of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS
|
|
334
|
-
* Lake Formation data permission, or Amazon S3 data access. The asset can be a structured
|
|
335
|
-
* data file, an image file, or some other data file. Jobs are asynchronous import or export
|
|
336
|
-
* operations used to create or copy assets.</p>
|
|
319
|
+
* <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> <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 Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine learning services.</p> <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 <i>AWS Data Exchange User Guide</i>.</p> <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, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. 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>
|
|
337
320
|
* @public
|
|
338
321
|
*/
|
|
339
322
|
export declare class DataExchange extends DataExchangeClient implements DataExchange {
|
|
@@ -5,46 +5,46 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
5
5
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
8
|
-
import {
|
|
8
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
-
import { AcceptDataGrantCommandInput, AcceptDataGrantCommandOutput } from "./commands/AcceptDataGrantCommand";
|
|
11
|
-
import { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
12
|
-
import { CreateDataGrantCommandInput, CreateDataGrantCommandOutput } from "./commands/CreateDataGrantCommand";
|
|
13
|
-
import { CreateDataSetCommandInput, CreateDataSetCommandOutput } from "./commands/CreateDataSetCommand";
|
|
14
|
-
import { CreateEventActionCommandInput, CreateEventActionCommandOutput } from "./commands/CreateEventActionCommand";
|
|
15
|
-
import { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
16
|
-
import { CreateRevisionCommandInput, CreateRevisionCommandOutput } from "./commands/CreateRevisionCommand";
|
|
17
|
-
import { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
18
|
-
import { DeleteDataGrantCommandInput, DeleteDataGrantCommandOutput } from "./commands/DeleteDataGrantCommand";
|
|
19
|
-
import { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
|
|
20
|
-
import { DeleteEventActionCommandInput, DeleteEventActionCommandOutput } from "./commands/DeleteEventActionCommand";
|
|
21
|
-
import { DeleteRevisionCommandInput, DeleteRevisionCommandOutput } from "./commands/DeleteRevisionCommand";
|
|
22
|
-
import { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
23
|
-
import { GetDataGrantCommandInput, GetDataGrantCommandOutput } from "./commands/GetDataGrantCommand";
|
|
24
|
-
import { GetDataSetCommandInput, GetDataSetCommandOutput } from "./commands/GetDataSetCommand";
|
|
25
|
-
import { GetEventActionCommandInput, GetEventActionCommandOutput } from "./commands/GetEventActionCommand";
|
|
26
|
-
import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
27
|
-
import { GetReceivedDataGrantCommandInput, GetReceivedDataGrantCommandOutput } from "./commands/GetReceivedDataGrantCommand";
|
|
28
|
-
import { GetRevisionCommandInput, GetRevisionCommandOutput } from "./commands/GetRevisionCommand";
|
|
29
|
-
import { ListDataGrantsCommandInput, ListDataGrantsCommandOutput } from "./commands/ListDataGrantsCommand";
|
|
30
|
-
import { ListDataSetRevisionsCommandInput, ListDataSetRevisionsCommandOutput } from "./commands/ListDataSetRevisionsCommand";
|
|
31
|
-
import { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
32
|
-
import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "./commands/ListEventActionsCommand";
|
|
33
|
-
import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
34
|
-
import { ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput } from "./commands/ListReceivedDataGrantsCommand";
|
|
35
|
-
import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
|
|
36
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
37
|
-
import { RevokeRevisionCommandInput, RevokeRevisionCommandOutput } from "./commands/RevokeRevisionCommand";
|
|
38
|
-
import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
|
|
39
|
-
import { SendDataSetNotificationCommandInput, SendDataSetNotificationCommandOutput } from "./commands/SendDataSetNotificationCommand";
|
|
40
|
-
import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
41
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
|
-
import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
44
|
-
import { UpdateDataSetCommandInput, UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
|
|
45
|
-
import { UpdateEventActionCommandInput, UpdateEventActionCommandOutput } from "./commands/UpdateEventActionCommand";
|
|
46
|
-
import { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
|
|
47
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
10
|
+
import type { AcceptDataGrantCommandInput, AcceptDataGrantCommandOutput } from "./commands/AcceptDataGrantCommand";
|
|
11
|
+
import type { CancelJobCommandInput, CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
12
|
+
import type { CreateDataGrantCommandInput, CreateDataGrantCommandOutput } from "./commands/CreateDataGrantCommand";
|
|
13
|
+
import type { CreateDataSetCommandInput, CreateDataSetCommandOutput } from "./commands/CreateDataSetCommand";
|
|
14
|
+
import type { CreateEventActionCommandInput, CreateEventActionCommandOutput } from "./commands/CreateEventActionCommand";
|
|
15
|
+
import type { CreateJobCommandInput, CreateJobCommandOutput } from "./commands/CreateJobCommand";
|
|
16
|
+
import type { CreateRevisionCommandInput, CreateRevisionCommandOutput } from "./commands/CreateRevisionCommand";
|
|
17
|
+
import type { DeleteAssetCommandInput, DeleteAssetCommandOutput } from "./commands/DeleteAssetCommand";
|
|
18
|
+
import type { DeleteDataGrantCommandInput, DeleteDataGrantCommandOutput } from "./commands/DeleteDataGrantCommand";
|
|
19
|
+
import type { DeleteDataSetCommandInput, DeleteDataSetCommandOutput } from "./commands/DeleteDataSetCommand";
|
|
20
|
+
import type { DeleteEventActionCommandInput, DeleteEventActionCommandOutput } from "./commands/DeleteEventActionCommand";
|
|
21
|
+
import type { DeleteRevisionCommandInput, DeleteRevisionCommandOutput } from "./commands/DeleteRevisionCommand";
|
|
22
|
+
import type { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
|
|
23
|
+
import type { GetDataGrantCommandInput, GetDataGrantCommandOutput } from "./commands/GetDataGrantCommand";
|
|
24
|
+
import type { GetDataSetCommandInput, GetDataSetCommandOutput } from "./commands/GetDataSetCommand";
|
|
25
|
+
import type { GetEventActionCommandInput, GetEventActionCommandOutput } from "./commands/GetEventActionCommand";
|
|
26
|
+
import type { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
27
|
+
import type { GetReceivedDataGrantCommandInput, GetReceivedDataGrantCommandOutput } from "./commands/GetReceivedDataGrantCommand";
|
|
28
|
+
import type { GetRevisionCommandInput, GetRevisionCommandOutput } from "./commands/GetRevisionCommand";
|
|
29
|
+
import type { ListDataGrantsCommandInput, ListDataGrantsCommandOutput } from "./commands/ListDataGrantsCommand";
|
|
30
|
+
import type { ListDataSetRevisionsCommandInput, ListDataSetRevisionsCommandOutput } from "./commands/ListDataSetRevisionsCommand";
|
|
31
|
+
import type { ListDataSetsCommandInput, ListDataSetsCommandOutput } from "./commands/ListDataSetsCommand";
|
|
32
|
+
import type { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "./commands/ListEventActionsCommand";
|
|
33
|
+
import type { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
34
|
+
import type { ListReceivedDataGrantsCommandInput, ListReceivedDataGrantsCommandOutput } from "./commands/ListReceivedDataGrantsCommand";
|
|
35
|
+
import type { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
|
|
36
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
37
|
+
import type { RevokeRevisionCommandInput, RevokeRevisionCommandOutput } from "./commands/RevokeRevisionCommand";
|
|
38
|
+
import type { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
|
|
39
|
+
import type { SendDataSetNotificationCommandInput, SendDataSetNotificationCommandOutput } from "./commands/SendDataSetNotificationCommand";
|
|
40
|
+
import type { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
41
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
|
+
import type { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/UpdateAssetCommand";
|
|
44
|
+
import type { UpdateDataSetCommandInput, UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
|
|
45
|
+
import type { UpdateEventActionCommandInput, UpdateEventActionCommandOutput } from "./commands/UpdateEventActionCommand";
|
|
46
|
+
import type { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
|
|
47
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
48
48
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
49
49
|
export { __Client };
|
|
50
50
|
/**
|
|
@@ -153,7 +153,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
153
153
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
154
154
|
* @internal
|
|
155
155
|
*/
|
|
156
|
-
defaultUserAgentProvider?:
|
|
156
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
157
157
|
/**
|
|
158
158
|
* Default credentials provider; Not available in browser runtime.
|
|
159
159
|
* @deprecated
|
|
@@ -206,24 +206,7 @@ export type DataExchangeClientResolvedConfigType = __SmithyResolvedConfiguration
|
|
|
206
206
|
export interface DataExchangeClientResolvedConfig extends DataExchangeClientResolvedConfigType {
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
|
-
* <p>AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in
|
|
210
|
-
* the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access
|
|
211
|
-
* file-based data set in the AWS Cloud.</p>
|
|
212
|
-
* <p>As a subscriber, you can view and access the data sets that you have an entitlement to
|
|
213
|
-
* through a subscription. You can use the APIs to download or copy your entitled data sets to
|
|
214
|
-
* Amazon Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and
|
|
215
|
-
* machine learning services.</p>
|
|
216
|
-
* <p>As a provider, you can create and manage your data sets that you would like to publish
|
|
217
|
-
* to a product. Being able to package and provide your data sets into products requires a few
|
|
218
|
-
* steps to determine eligibility. For more information, visit the <i>AWS Data Exchange
|
|
219
|
-
* User Guide</i>.</p>
|
|
220
|
-
* <p>A data set is a collection of data that can be changed or updated over time. Data sets
|
|
221
|
-
* can be updated using revisions, which represent a new version or incremental change to a
|
|
222
|
-
* data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece
|
|
223
|
-
* of data that can be stored as an Amazon S3 object, Redshift datashare, API Gateway API, AWS
|
|
224
|
-
* Lake Formation data permission, or Amazon S3 data access. The asset can be a structured
|
|
225
|
-
* data file, an image file, or some other data file. Jobs are asynchronous import or export
|
|
226
|
-
* operations used to create or copy assets.</p>
|
|
209
|
+
* <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> <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 Simple Storage Service (Amazon S3) for use across a variety of AWS analytics and machine learning services.</p> <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 <i>AWS Data Exchange User Guide</i>.</p> <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, Redshift datashare, API Gateway API, AWS Lake Formation data permission, or Amazon S3 data access. 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>
|
|
227
210
|
* @public
|
|
228
211
|
*/
|
|
229
212
|
export declare class DataExchangeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DataExchangeClientResolvedConfig> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { DataExchangeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -69,8 +69,7 @@ declare const AcceptDataGrantCommand_base: {
|
|
|
69
69
|
* <p>Access to the resource is denied.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ConflictException} (client fault)
|
|
72
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
73
|
-
* resource.</p>
|
|
72
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
|
|
74
73
|
*
|
|
75
74
|
* @throws {@link InternalServerException} (server fault)
|
|
76
75
|
* <p>An exception occurred with the service.</p>
|
|
@@ -27,8 +27,7 @@ declare const CancelJobCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING
|
|
31
|
-
* state.</p>
|
|
30
|
+
* <p>This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.</p>
|
|
32
31
|
* @example
|
|
33
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
33
|
* ```javascript
|
|
@@ -53,8 +52,7 @@ declare const CancelJobCommand_base: {
|
|
|
53
52
|
* @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape.
|
|
54
53
|
*
|
|
55
54
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
57
|
-
* resource.</p>
|
|
55
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the resource.</p>
|
|
58
56
|
*
|
|
59
57
|
* @throws {@link InternalServerException} (server fault)
|
|
60
58
|
* <p>An exception occurred with the service.</p>
|