@aws-sdk/client-dataexchange 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/DataExchangeServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +109 -2
- package/dist-cjs/protocols/Aws_restJson1.js +296 -1066
- package/dist-es/index.js +1 -0
- package/dist-es/models/DataExchangeServiceException.js +12 -0
- package/dist-es/models/models_0.js +100 -1
- package/dist-es/protocols/Aws_restJson1.js +615 -1165
- package/dist-types/DataExchangeClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DataExchangeServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/DataExchangeClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DataExchangeServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -22
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-dataexchange
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-dataexchange
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-dataexchange
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataExchangeServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./DataExchange"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./DataExchangeClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var DataExchangeServiceException_1 = require("./models/DataExchangeServiceException");
|
|
11
|
+
Object.defineProperty(exports, "DataExchangeServiceException", { enumerable: true, get: function () { return DataExchangeServiceException_1.DataExchangeServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataExchangeServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class DataExchangeServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, DataExchangeServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DataExchangeServiceException = DataExchangeServiceException;
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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.UpdateAssetRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StartJobResponse = exports.StartJobRequest = exports.SendApiAssetResponse = exports.SendApiAssetRequest = 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 = void 0;
|
|
6
|
+
const DataExchangeServiceException_1 = require("./DataExchangeServiceException");
|
|
7
|
+
class AccessDeniedException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
5
21
|
var ServerSideEncryptionTypes;
|
|
6
22
|
(function (ServerSideEncryptionTypes) {
|
|
7
23
|
ServerSideEncryptionTypes["AES256"] = "AES256";
|
|
@@ -97,11 +113,86 @@ var ResourceType;
|
|
|
97
113
|
ResourceType["JOB"] = "JOB";
|
|
98
114
|
ResourceType["REVISION"] = "REVISION";
|
|
99
115
|
})(ResourceType = exports.ResourceType || (exports.ResourceType = {}));
|
|
116
|
+
class ConflictException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "ConflictException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
this.name = "ConflictException";
|
|
124
|
+
this.$fault = "client";
|
|
125
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
126
|
+
this.Message = opts.Message;
|
|
127
|
+
this.ResourceId = opts.ResourceId;
|
|
128
|
+
this.ResourceType = opts.ResourceType;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.ConflictException = ConflictException;
|
|
132
|
+
class InternalServerException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "InternalServerException",
|
|
136
|
+
$fault: "server",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
this.name = "InternalServerException";
|
|
140
|
+
this.$fault = "server";
|
|
141
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
142
|
+
this.Message = opts.Message;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
exports.InternalServerException = InternalServerException;
|
|
146
|
+
class ResourceNotFoundException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "ResourceNotFoundException",
|
|
150
|
+
$fault: "client",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
this.name = "ResourceNotFoundException";
|
|
154
|
+
this.$fault = "client";
|
|
155
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
156
|
+
this.Message = opts.Message;
|
|
157
|
+
this.ResourceId = opts.ResourceId;
|
|
158
|
+
this.ResourceType = opts.ResourceType;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
162
|
+
class ThrottlingException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ThrottlingException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "ThrottlingException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.ThrottlingException = ThrottlingException;
|
|
100
176
|
var ExceptionCause;
|
|
101
177
|
(function (ExceptionCause) {
|
|
102
178
|
ExceptionCause["InsufficientS3BucketPolicy"] = "InsufficientS3BucketPolicy";
|
|
103
179
|
ExceptionCause["S3AccessDenied"] = "S3AccessDenied";
|
|
104
180
|
})(ExceptionCause = exports.ExceptionCause || (exports.ExceptionCause = {}));
|
|
181
|
+
class ValidationException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
182
|
+
constructor(opts) {
|
|
183
|
+
super({
|
|
184
|
+
name: "ValidationException",
|
|
185
|
+
$fault: "client",
|
|
186
|
+
...opts,
|
|
187
|
+
});
|
|
188
|
+
this.name = "ValidationException";
|
|
189
|
+
this.$fault = "client";
|
|
190
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
this.ExceptionCause = opts.ExceptionCause;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
exports.ValidationException = ValidationException;
|
|
105
196
|
var Code;
|
|
106
197
|
(function (Code) {
|
|
107
198
|
Code["ACCESS_DENIED_EXCEPTION"] = "ACCESS_DENIED_EXCEPTION";
|
|
@@ -160,6 +251,22 @@ var LimitName;
|
|
|
160
251
|
LimitName["Revisions_per_Amazon_Redshift_datashare_data_set"] = "Revisions per Amazon Redshift datashare data set";
|
|
161
252
|
LimitName["Revisions_per_data_set"] = "Revisions per data set";
|
|
162
253
|
})(LimitName = exports.LimitName || (exports.LimitName = {}));
|
|
254
|
+
class ServiceLimitExceededException extends DataExchangeServiceException_1.DataExchangeServiceException {
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "ServiceLimitExceededException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
this.name = "ServiceLimitExceededException";
|
|
262
|
+
this.$fault = "client";
|
|
263
|
+
Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
|
|
264
|
+
this.LimitName = opts.LimitName;
|
|
265
|
+
this.LimitValue = opts.LimitValue;
|
|
266
|
+
this.Message = opts.Message;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
exports.ServiceLimitExceededException = ServiceLimitExceededException;
|
|
163
270
|
var RevisionPublished;
|
|
164
271
|
(function (RevisionPublished) {
|
|
165
272
|
RevisionPublished.filterSensitiveLog = (obj) => ({
|