@aws-sdk/client-dataexchange 3.54.1 → 3.55.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/CHANGELOG.md +11 -0
- package/dist-cjs/DataExchange.js +15 -0
- package/dist-cjs/DataExchangeClient.js +13 -13
- package/dist-cjs/commands/CancelJobCommand.js +3 -3
- package/dist-cjs/commands/CreateDataSetCommand.js +3 -3
- package/dist-cjs/commands/CreateEventActionCommand.js +3 -3
- package/dist-cjs/commands/CreateJobCommand.js +3 -3
- package/dist-cjs/commands/CreateRevisionCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssetCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataSetCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventActionCommand.js +3 -3
- package/dist-cjs/commands/DeleteRevisionCommand.js +3 -3
- package/dist-cjs/commands/GetAssetCommand.js +3 -3
- package/dist-cjs/commands/GetDataSetCommand.js +3 -3
- package/dist-cjs/commands/GetEventActionCommand.js +3 -3
- package/dist-cjs/commands/GetJobCommand.js +3 -3
- package/dist-cjs/commands/GetRevisionCommand.js +3 -3
- package/dist-cjs/commands/ListDataSetRevisionsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSetsCommand.js +3 -3
- package/dist-cjs/commands/ListEventActionsCommand.js +3 -3
- package/dist-cjs/commands/ListJobsCommand.js +3 -3
- package/dist-cjs/commands/ListRevisionAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RevokeRevisionCommand.js +36 -0
- package/dist-cjs/commands/SendApiAssetCommand.js +3 -3
- package/dist-cjs/commands/StartJobCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssetCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataSetCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventActionCommand.js +3 -3
- package/dist-cjs/commands/UpdateRevisionCommand.js +3 -3
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +14 -2
- package/dist-cjs/protocols/Aws_restJson1.js +480 -301
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/DataExchange.js +43 -28
- package/dist-es/commands/RevokeRevisionCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +8 -0
- package/dist-es/pagination/ListDataSetRevisionsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSetsPaginator.js +4 -4
- package/dist-es/pagination/ListEventActionsPaginator.js +4 -4
- package/dist-es/pagination/ListJobsPaginator.js +4 -4
- package/dist-es/pagination/ListRevisionAssetsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +250 -43
- package/dist-types/DataExchange.d.ts +7 -0
- package/dist-types/DataExchangeClient.d.ts +3 -2
- package/dist-types/commands/RevokeRevisionCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +124 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/DataExchange.d.ts +5 -0
- package/dist-types/ts3.4/DataExchangeClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/RevokeRevisionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1TagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateAssetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class UpdateAssetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateAssetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateAssetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateAssetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateAssetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateAssetCommand = UpdateAssetCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateDataSetCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class UpdateDataSetCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateDataSetCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateDataSetCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateDataSetCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateDataSetCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateDataSetCommand = UpdateDataSetCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateEventActionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class UpdateEventActionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateEventActionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateEventActionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateEventActionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateEventActionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateEventActionCommand = UpdateEventActionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateRevisionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "DataExchangeClient";
|
|
@@ -27,10 +27,10 @@ class UpdateRevisionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateRevisionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateRevisionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateRevisionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateRevisionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateRevisionCommand = UpdateRevisionCommand;
|
|
@@ -21,6 +21,7 @@ tslib_1.__exportStar(require("./ListEventActionsCommand"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./ListRevisionAssetsCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./RevokeRevisionCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./SendApiAssetCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./StartJobCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "dataexchange",
|
|
128
128
|
regionHash,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ImportAssetFromApiGatewayApiResponseDetails = exports.ExportRevisionsToS3ResponseDetails = exports.ExportAssetToSignedUrlResponseDetails = exports.ExportAssetsToS3ResponseDetails = exports.CreateJobRequest = exports.Type = exports.RequestDetails = exports.ImportAssetsFromS3RequestDetails = exports.ImportAssetsFromRedshiftDataSharesRequestDetails = exports.RedshiftDataShareAssetSourceEntry = exports.ImportAssetFromSignedUrlRequestDetails = exports.ImportAssetFromApiGatewayApiRequestDetails = exports.ExportRevisionsToS3RequestDetails = exports.RevisionDestinationEntry = exports.ExportAssetToSignedUrlRequestDetails = exports.ExportAssetsToS3RequestDetails = exports.CreateEventActionResponse = exports.CreateEventActionRequest = exports.Event = exports.RevisionPublished = exports.ServiceLimitExceededException = exports.LimitName = exports.CreateDataSetResponse = exports.OriginDetails = exports.Origin = exports.CreateDataSetRequest = exports.Code = exports.ValidationException = exports.ExceptionCause = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.ResourceType = exports.CancelJobRequest = exports.AssetSourceEntry = exports.AssetEntry = exports.AssetType = exports.AssetDetails = exports.S3SnapshotAsset = exports.RedshiftDataShareAsset = exports.AssetDestinationEntry = exports.ApiGatewayApiAsset = exports.ProtocolType = exports.Action = exports.AutoExportRevisionToS3RequestDetails = exports.AutoExportRevisionDestinationEntry = exports.ExportServerSideEncryption = exports.ServerSideEncryptionTypes = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateRevisionResponse = exports.UpdateRevisionRequest = exports.UpdateEventActionResponse = exports.UpdateEventActionRequest = exports.UpdateDataSetResponse = exports.UpdateDataSetRequest = exports.UpdateAssetResponse = void 0;
|
|
4
|
+
exports.TagResourceRequest = exports.StartJobResponse = exports.StartJobRequest = exports.SendApiAssetResponse = exports.SendApiAssetRequest = exports.RevokeRevisionResponse = exports.RevokeRevisionRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListRevisionAssetsResponse = exports.ListRevisionAssetsRequest = exports.ListJobsResponse = exports.JobEntry = exports.ListJobsRequest = exports.ListEventActionsResponse = exports.EventActionEntry = exports.ListEventActionsRequest = exports.ListDataSetsResponse = exports.DataSetEntry = exports.ListDataSetsRequest = exports.ListDataSetRevisionsResponse = exports.RevisionEntry = exports.ListDataSetRevisionsRequest = exports.GetRevisionResponse = exports.GetRevisionRequest = exports.GetJobResponse = exports.GetJobRequest = exports.GetEventActionResponse = exports.GetEventActionRequest = exports.GetDataSetResponse = exports.GetDataSetRequest = exports.GetAssetResponse = exports.GetAssetRequest = exports.DeleteRevisionRequest = exports.DeleteEventActionRequest = exports.DeleteDataSetRequest = exports.DeleteAssetRequest = exports.CreateRevisionResponse = exports.CreateRevisionRequest = exports.CreateJobResponse = exports.State = exports.JobError = exports.JobErrorResourceTypes = exports.JobErrorLimitName = exports.Details = exports.ImportAssetFromSignedUrlJobErrorDetails = exports.ResponseDetails = exports.ImportAssetsFromS3ResponseDetails = exports.ImportAssetsFromRedshiftDataSharesResponseDetails = exports.ImportAssetFromSignedUrlResponseDetails = void 0;
|
|
5
|
+
exports.UpdateRevisionResponse = exports.UpdateRevisionRequest = exports.UpdateEventActionResponse = exports.UpdateEventActionRequest = exports.UpdateDataSetResponse = exports.UpdateDataSetRequest = exports.UpdateAssetResponse = exports.UpdateAssetRequest = exports.UntagResourceRequest = void 0;
|
|
6
6
|
const DataExchangeServiceException_1 = require("./DataExchangeServiceException");
|
|
7
7
|
class AccessDeniedException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -652,6 +652,18 @@ var ListTagsForResourceResponse;
|
|
|
652
652
|
...obj,
|
|
653
653
|
});
|
|
654
654
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
655
|
+
var RevokeRevisionRequest;
|
|
656
|
+
(function (RevokeRevisionRequest) {
|
|
657
|
+
RevokeRevisionRequest.filterSensitiveLog = (obj) => ({
|
|
658
|
+
...obj,
|
|
659
|
+
});
|
|
660
|
+
})(RevokeRevisionRequest = exports.RevokeRevisionRequest || (exports.RevokeRevisionRequest = {}));
|
|
661
|
+
var RevokeRevisionResponse;
|
|
662
|
+
(function (RevokeRevisionResponse) {
|
|
663
|
+
RevokeRevisionResponse.filterSensitiveLog = (obj) => ({
|
|
664
|
+
...obj,
|
|
665
|
+
});
|
|
666
|
+
})(RevokeRevisionResponse = exports.RevokeRevisionResponse || (exports.RevokeRevisionResponse = {}));
|
|
655
667
|
var SendApiAssetRequest;
|
|
656
668
|
(function (SendApiAssetRequest) {
|
|
657
669
|
SendApiAssetRequest.filterSensitiveLog = (obj) => ({
|