@aws-sdk/client-dataexchange 3.42.0 → 3.46.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 CHANGED
@@ -3,6 +3,53 @@
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
46
+
47
+ **Note:** Version bump only for package @aws-sdk/client-dataexchange
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-dataexchange
@@ -21,6 +21,7 @@ const ListEventActionsCommand_1 = require("./commands/ListEventActionsCommand");
21
21
  const ListJobsCommand_1 = require("./commands/ListJobsCommand");
22
22
  const ListRevisionAssetsCommand_1 = require("./commands/ListRevisionAssetsCommand");
23
23
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
24
+ const SendApiAssetCommand_1 = require("./commands/SendApiAssetCommand");
24
25
  const StartJobCommand_1 = require("./commands/StartJobCommand");
25
26
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
26
27
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
@@ -310,6 +311,20 @@ class DataExchange extends DataExchangeClient_1.DataExchangeClient {
310
311
  return this.send(command, optionsOrCb);
311
312
  }
312
313
  }
314
+ sendApiAsset(args, optionsOrCb, cb) {
315
+ const command = new SendApiAssetCommand_1.SendApiAssetCommand(args);
316
+ if (typeof optionsOrCb === "function") {
317
+ this.send(command, optionsOrCb);
318
+ }
319
+ else if (typeof cb === "function") {
320
+ if (typeof optionsOrCb !== "object")
321
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
322
+ this.send(command, optionsOrCb || {}, cb);
323
+ }
324
+ else {
325
+ return this.send(command, optionsOrCb);
326
+ }
327
+ }
313
328
  startJob(args, optionsOrCb, cb) {
314
329
  const command = new StartJobCommand_1.StartJobCommand(args);
315
330
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendApiAssetCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class SendApiAssetCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "DataExchangeClient";
18
+ const commandName = "SendApiAssetCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.SendApiAssetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.SendApiAssetResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1SendApiAssetCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1SendApiAssetCommand(output, context);
34
+ }
35
+ }
36
+ exports.SendApiAssetCommand = SendApiAssetCommand;
@@ -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("./SendApiAssetCommand"), exports);
24
25
  tslib_1.__exportStar(require("./StartJobCommand"), exports);
25
26
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
26
27
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseDetails = exports.ImportAssetsFromS3ResponseDetails = exports.ImportAssetsFromRedshiftDataSharesResponseDetails = exports.ImportAssetFromSignedUrlResponseDetails = exports.ExportRevisionsToS3ResponseDetails = exports.ExportAssetToSignedUrlResponseDetails = exports.ExportAssetsToS3ResponseDetails = exports.CreateJobRequest = exports.Type = exports.RequestDetails = exports.ImportAssetsFromS3RequestDetails = exports.ImportAssetsFromRedshiftDataSharesRequestDetails = exports.RedshiftDataShareAssetSourceEntry = exports.ImportAssetFromSignedUrlRequestDetails = 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.Action = exports.AutoExportRevisionToS3RequestDetails = exports.AutoExportRevisionDestinationEntry = exports.ExportServerSideEncryption = exports.ServerSideEncryptionTypes = exports.AccessDeniedException = void 0;
4
- exports.UpdateRevisionRequest = exports.UpdateEventActionResponse = exports.UpdateEventActionRequest = exports.UpdateDataSetResponse = exports.UpdateDataSetRequest = exports.UpdateAssetResponse = exports.UpdateAssetRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.StartJobResponse = exports.StartJobRequest = 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 = void 0;
5
- exports.UpdateRevisionResponse = void 0;
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
6
  var AccessDeniedException;
7
7
  (function (AccessDeniedException) {
8
8
  AccessDeniedException.filterSensitiveLog = (obj) => ({
@@ -38,6 +38,16 @@ var Action;
38
38
  ...obj,
39
39
  });
40
40
  })(Action = exports.Action || (exports.Action = {}));
41
+ var ProtocolType;
42
+ (function (ProtocolType) {
43
+ ProtocolType["REST"] = "REST";
44
+ })(ProtocolType = exports.ProtocolType || (exports.ProtocolType = {}));
45
+ var ApiGatewayApiAsset;
46
+ (function (ApiGatewayApiAsset) {
47
+ ApiGatewayApiAsset.filterSensitiveLog = (obj) => ({
48
+ ...obj,
49
+ });
50
+ })(ApiGatewayApiAsset = exports.ApiGatewayApiAsset || (exports.ApiGatewayApiAsset = {}));
41
51
  var AssetDestinationEntry;
42
52
  (function (AssetDestinationEntry) {
43
53
  AssetDestinationEntry.filterSensitiveLog = (obj) => ({
@@ -64,6 +74,7 @@ var AssetDetails;
64
74
  })(AssetDetails = exports.AssetDetails || (exports.AssetDetails = {}));
65
75
  var AssetType;
66
76
  (function (AssetType) {
77
+ AssetType["API_GATEWAY_API"] = "API_GATEWAY_API";
67
78
  AssetType["REDSHIFT_DATA_SHARE"] = "REDSHIFT_DATA_SHARE";
68
79
  AssetType["S3_SNAPSHOT"] = "S3_SNAPSHOT";
69
80
  })(AssetType = exports.AssetType || (exports.AssetType = {}));
@@ -163,6 +174,7 @@ var CreateDataSetResponse;
163
174
  })(CreateDataSetResponse = exports.CreateDataSetResponse || (exports.CreateDataSetResponse = {}));
164
175
  var LimitName;
165
176
  (function (LimitName) {
177
+ LimitName["Amazon_API_Gateway_API_assets_per_revision"] = "Amazon API Gateway API assets per revision";
166
178
  LimitName["Amazon_Redshift_datashare_assets_per_import_job_from_Redshift"] = "Amazon Redshift datashare assets per import job from Redshift";
167
179
  LimitName["Amazon_Redshift_datashare_assets_per_revision"] = "Amazon Redshift datashare assets per revision";
168
180
  LimitName["Asset_per_export_job_from_Amazon_S3"] = "Asset per export job from Amazon S3";
@@ -176,10 +188,12 @@ var LimitName;
176
188
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares"] = "Concurrent in progress jobs to import assets from Amazon Redshift datashares";
177
189
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3"] = "Concurrent in progress jobs to import assets from Amazon S3";
178
190
  LimitName["Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL"] = "Concurrent in progress jobs to import assets from a signed URL";
191
+ LimitName["Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API"] = "Concurrent in progress jobs to import assets from an API Gateway API";
179
192
  LimitName["Data_sets_per_account"] = "Data sets per account";
180
193
  LimitName["Data_sets_per_product"] = "Data sets per product";
181
194
  LimitName["Event_actions_per_account"] = "Event actions per account";
182
195
  LimitName["Products_per_account"] = "Products per account";
196
+ LimitName["Revisions_per_Amazon_API_Gateway_API_data_set"] = "Revisions per Amazon API Gateway API data set";
183
197
  LimitName["Revisions_per_Amazon_Redshift_datashare_data_set"] = "Revisions per Amazon Redshift datashare data set";
184
198
  LimitName["Revisions_per_data_set"] = "Revisions per data set";
185
199
  })(LimitName = exports.LimitName || (exports.LimitName = {}));
@@ -237,6 +251,12 @@ var ExportRevisionsToS3RequestDetails;
237
251
  ...obj,
238
252
  });
239
253
  })(ExportRevisionsToS3RequestDetails = exports.ExportRevisionsToS3RequestDetails || (exports.ExportRevisionsToS3RequestDetails = {}));
254
+ var ImportAssetFromApiGatewayApiRequestDetails;
255
+ (function (ImportAssetFromApiGatewayApiRequestDetails) {
256
+ ImportAssetFromApiGatewayApiRequestDetails.filterSensitiveLog = (obj) => ({
257
+ ...obj,
258
+ });
259
+ })(ImportAssetFromApiGatewayApiRequestDetails = exports.ImportAssetFromApiGatewayApiRequestDetails || (exports.ImportAssetFromApiGatewayApiRequestDetails = {}));
240
260
  var ImportAssetFromSignedUrlRequestDetails;
241
261
  (function (ImportAssetFromSignedUrlRequestDetails) {
242
262
  ImportAssetFromSignedUrlRequestDetails.filterSensitiveLog = (obj) => ({
@@ -274,6 +294,7 @@ var Type;
274
294
  Type["EXPORT_REVISIONS_TO_S3"] = "EXPORT_REVISIONS_TO_S3";
275
295
  Type["IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES"] = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES";
276
296
  Type["IMPORT_ASSETS_FROM_S3"] = "IMPORT_ASSETS_FROM_S3";
297
+ Type["IMPORT_ASSET_FROM_API_GATEWAY_API"] = "IMPORT_ASSET_FROM_API_GATEWAY_API";
277
298
  Type["IMPORT_ASSET_FROM_SIGNED_URL"] = "IMPORT_ASSET_FROM_SIGNED_URL";
278
299
  })(Type = exports.Type || (exports.Type = {}));
279
300
  var CreateJobRequest;
@@ -300,6 +321,12 @@ var ExportRevisionsToS3ResponseDetails;
300
321
  ...obj,
301
322
  });
302
323
  })(ExportRevisionsToS3ResponseDetails = exports.ExportRevisionsToS3ResponseDetails || (exports.ExportRevisionsToS3ResponseDetails = {}));
324
+ var ImportAssetFromApiGatewayApiResponseDetails;
325
+ (function (ImportAssetFromApiGatewayApiResponseDetails) {
326
+ ImportAssetFromApiGatewayApiResponseDetails.filterSensitiveLog = (obj) => ({
327
+ ...obj,
328
+ });
329
+ })(ImportAssetFromApiGatewayApiResponseDetails = exports.ImportAssetFromApiGatewayApiResponseDetails || (exports.ImportAssetFromApiGatewayApiResponseDetails = {}));
303
330
  var ImportAssetFromSignedUrlResponseDetails;
304
331
  (function (ImportAssetFromSignedUrlResponseDetails) {
305
332
  ImportAssetFromSignedUrlResponseDetails.filterSensitiveLog = (obj) => ({
@@ -561,6 +588,18 @@ var ListTagsForResourceResponse;
561
588
  ...obj,
562
589
  });
563
590
  })(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
591
+ var SendApiAssetRequest;
592
+ (function (SendApiAssetRequest) {
593
+ SendApiAssetRequest.filterSensitiveLog = (obj) => ({
594
+ ...obj,
595
+ });
596
+ })(SendApiAssetRequest = exports.SendApiAssetRequest || (exports.SendApiAssetRequest = {}));
597
+ var SendApiAssetResponse;
598
+ (function (SendApiAssetResponse) {
599
+ SendApiAssetResponse.filterSensitiveLog = (obj) => ({
600
+ ...obj,
601
+ });
602
+ })(SendApiAssetResponse = exports.SendApiAssetResponse || (exports.SendApiAssetResponse = {}));
564
603
  var StartJobRequest;
565
604
  (function (StartJobRequest) {
566
605
  StartJobRequest.filterSensitiveLog = (obj) => ({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartJobCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRevisionAssetsCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListEventActionsCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDataSetRevisionsCommand = exports.deserializeAws_restJson1GetRevisionCommand = exports.deserializeAws_restJson1GetJobCommand = exports.deserializeAws_restJson1GetEventActionCommand = exports.deserializeAws_restJson1GetDataSetCommand = exports.deserializeAws_restJson1GetAssetCommand = exports.deserializeAws_restJson1DeleteRevisionCommand = exports.deserializeAws_restJson1DeleteEventActionCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteAssetCommand = exports.deserializeAws_restJson1CreateRevisionCommand = exports.deserializeAws_restJson1CreateJobCommand = exports.deserializeAws_restJson1CreateEventActionCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CancelJobCommand = exports.serializeAws_restJson1UpdateRevisionCommand = exports.serializeAws_restJson1UpdateEventActionCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateAssetCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartJobCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRevisionAssetsCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListEventActionsCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDataSetRevisionsCommand = exports.serializeAws_restJson1GetRevisionCommand = exports.serializeAws_restJson1GetJobCommand = exports.serializeAws_restJson1GetEventActionCommand = exports.serializeAws_restJson1GetDataSetCommand = exports.serializeAws_restJson1GetAssetCommand = exports.serializeAws_restJson1DeleteRevisionCommand = exports.serializeAws_restJson1DeleteEventActionCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteAssetCommand = exports.serializeAws_restJson1CreateRevisionCommand = exports.serializeAws_restJson1CreateJobCommand = exports.serializeAws_restJson1CreateEventActionCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CancelJobCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateRevisionCommand = exports.deserializeAws_restJson1UpdateEventActionCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateAssetCommand = void 0;
3
+ exports.deserializeAws_restJson1StartJobCommand = exports.deserializeAws_restJson1SendApiAssetCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRevisionAssetsCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListEventActionsCommand = exports.deserializeAws_restJson1ListDataSetsCommand = exports.deserializeAws_restJson1ListDataSetRevisionsCommand = exports.deserializeAws_restJson1GetRevisionCommand = exports.deserializeAws_restJson1GetJobCommand = exports.deserializeAws_restJson1GetEventActionCommand = exports.deserializeAws_restJson1GetDataSetCommand = exports.deserializeAws_restJson1GetAssetCommand = exports.deserializeAws_restJson1DeleteRevisionCommand = exports.deserializeAws_restJson1DeleteEventActionCommand = exports.deserializeAws_restJson1DeleteDataSetCommand = exports.deserializeAws_restJson1DeleteAssetCommand = exports.deserializeAws_restJson1CreateRevisionCommand = exports.deserializeAws_restJson1CreateJobCommand = exports.deserializeAws_restJson1CreateEventActionCommand = exports.deserializeAws_restJson1CreateDataSetCommand = exports.deserializeAws_restJson1CancelJobCommand = exports.serializeAws_restJson1UpdateRevisionCommand = exports.serializeAws_restJson1UpdateEventActionCommand = exports.serializeAws_restJson1UpdateDataSetCommand = exports.serializeAws_restJson1UpdateAssetCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartJobCommand = exports.serializeAws_restJson1SendApiAssetCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRevisionAssetsCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListEventActionsCommand = exports.serializeAws_restJson1ListDataSetsCommand = exports.serializeAws_restJson1ListDataSetRevisionsCommand = exports.serializeAws_restJson1GetRevisionCommand = exports.serializeAws_restJson1GetJobCommand = exports.serializeAws_restJson1GetEventActionCommand = exports.serializeAws_restJson1GetDataSetCommand = exports.serializeAws_restJson1GetAssetCommand = exports.serializeAws_restJson1DeleteRevisionCommand = exports.serializeAws_restJson1DeleteEventActionCommand = exports.serializeAws_restJson1DeleteDataSetCommand = exports.serializeAws_restJson1DeleteAssetCommand = exports.serializeAws_restJson1CreateRevisionCommand = exports.serializeAws_restJson1CreateJobCommand = exports.serializeAws_restJson1CreateEventActionCommand = exports.serializeAws_restJson1CreateDataSetCommand = exports.serializeAws_restJson1CancelJobCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateRevisionCommand = exports.deserializeAws_restJson1UpdateEventActionCommand = exports.deserializeAws_restJson1UpdateDataSetCommand = exports.deserializeAws_restJson1UpdateAssetCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const serializeAws_restJson1CancelJobCommand = async (input, context) => {
@@ -599,6 +599,48 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
599
599
  });
600
600
  };
601
601
  exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
602
+ const serializeAws_restJson1SendApiAssetCommand = async (input, context) => {
603
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
604
+ const headers = {
605
+ "content-type": "text/plain",
606
+ ...(isSerializableHeaderValue(input.AssetId) && { "x-amzn-dataexchange-asset-id": input.AssetId }),
607
+ ...(isSerializableHeaderValue(input.DataSetId) && { "x-amzn-dataexchange-data-set-id": input.DataSetId }),
608
+ ...(isSerializableHeaderValue(input.Method) && { "x-amzn-dataexchange-http-method": input.Method }),
609
+ ...(isSerializableHeaderValue(input.Path) && { "x-amzn-dataexchange-path": input.Path }),
610
+ ...(isSerializableHeaderValue(input.RevisionId) && { "x-amzn-dataexchange-revision-id": input.RevisionId }),
611
+ ...(input.RequestHeaders !== undefined &&
612
+ Object.keys(input.RequestHeaders).reduce((acc, suffix) => ({
613
+ ...acc,
614
+ [`x-amzn-dataexchange-header-${suffix.toLowerCase()}`]: input.RequestHeaders[suffix],
615
+ }), {})),
616
+ };
617
+ const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1";
618
+ const query = {
619
+ ...(input.QueryStringParameters !== undefined && input.QueryStringParameters),
620
+ };
621
+ let body;
622
+ if (input.Body !== undefined) {
623
+ body = input.Body;
624
+ }
625
+ let { hostname: resolvedHostname } = await context.endpoint();
626
+ if (context.disableHostPrefix !== true) {
627
+ resolvedHostname = "api-fulfill." + resolvedHostname;
628
+ if (!protocol_http_1.isValidHostname(resolvedHostname)) {
629
+ throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
630
+ }
631
+ }
632
+ return new protocol_http_1.HttpRequest({
633
+ protocol,
634
+ hostname: resolvedHostname,
635
+ port,
636
+ method: "POST",
637
+ headers,
638
+ path: resolvedPath,
639
+ query,
640
+ body,
641
+ });
642
+ };
643
+ exports.serializeAws_restJson1SendApiAssetCommand = serializeAws_restJson1SendApiAssetCommand;
602
644
  const serializeAws_restJson1StartJobCommand = async (input, context) => {
603
645
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
604
646
  const headers = {};
@@ -2618,6 +2660,93 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2618
2660
  delete response.Message;
2619
2661
  return Promise.reject(Object.assign(new Error(message), response));
2620
2662
  };
2663
+ const deserializeAws_restJson1SendApiAssetCommand = async (output, context) => {
2664
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2665
+ return deserializeAws_restJson1SendApiAssetCommandError(output, context);
2666
+ }
2667
+ const contents = {
2668
+ $metadata: deserializeMetadata(output),
2669
+ Body: undefined,
2670
+ ResponseHeaders: undefined,
2671
+ };
2672
+ Object.keys(output.headers).forEach((header) => {
2673
+ if (contents.ResponseHeaders === undefined) {
2674
+ contents.ResponseHeaders = {};
2675
+ }
2676
+ if (header.startsWith("")) {
2677
+ contents.ResponseHeaders[header.substring(0)] = output.headers[header];
2678
+ }
2679
+ });
2680
+ const data = await collectBodyString(output.body, context);
2681
+ contents.Body = smithy_client_1.expectString(data);
2682
+ return Promise.resolve(contents);
2683
+ };
2684
+ exports.deserializeAws_restJson1SendApiAssetCommand = deserializeAws_restJson1SendApiAssetCommand;
2685
+ const deserializeAws_restJson1SendApiAssetCommandError = async (output, context) => {
2686
+ const parsedOutput = {
2687
+ ...output,
2688
+ body: await parseBody(output.body, context),
2689
+ };
2690
+ let response;
2691
+ let errorCode = "UnknownError";
2692
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2693
+ switch (errorCode) {
2694
+ case "AccessDeniedException":
2695
+ case "com.amazonaws.dataexchange#AccessDeniedException":
2696
+ response = {
2697
+ ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)),
2698
+ name: errorCode,
2699
+ $metadata: deserializeMetadata(output),
2700
+ };
2701
+ break;
2702
+ case "InternalServerException":
2703
+ case "com.amazonaws.dataexchange#InternalServerException":
2704
+ response = {
2705
+ ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)),
2706
+ name: errorCode,
2707
+ $metadata: deserializeMetadata(output),
2708
+ };
2709
+ break;
2710
+ case "ResourceNotFoundException":
2711
+ case "com.amazonaws.dataexchange#ResourceNotFoundException":
2712
+ response = {
2713
+ ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)),
2714
+ name: errorCode,
2715
+ $metadata: deserializeMetadata(output),
2716
+ };
2717
+ break;
2718
+ case "ThrottlingException":
2719
+ case "com.amazonaws.dataexchange#ThrottlingException":
2720
+ response = {
2721
+ ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)),
2722
+ name: errorCode,
2723
+ $metadata: deserializeMetadata(output),
2724
+ };
2725
+ break;
2726
+ case "ValidationException":
2727
+ case "com.amazonaws.dataexchange#ValidationException":
2728
+ response = {
2729
+ ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
2730
+ name: errorCode,
2731
+ $metadata: deserializeMetadata(output),
2732
+ };
2733
+ break;
2734
+ default:
2735
+ const parsedBody = parsedOutput.body;
2736
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
2737
+ response = {
2738
+ ...parsedBody,
2739
+ name: `${errorCode}`,
2740
+ message: parsedBody.message || parsedBody.Message || errorCode,
2741
+ $fault: "client",
2742
+ $metadata: deserializeMetadata(output),
2743
+ };
2744
+ }
2745
+ const message = response.message || response.Message || errorCode;
2746
+ response.message = message;
2747
+ delete response.Message;
2748
+ return Promise.reject(Object.assign(new Error(message), response));
2749
+ };
2621
2750
  const deserializeAws_restJson1StartJobCommand = async (output, context) => {
2622
2751
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2623
2752
  return deserializeAws_restJson1StartJobCommandError(output, context);
@@ -3436,6 +3565,21 @@ const serializeAws_restJson1ExportServerSideEncryption = (input, context) => {
3436
3565
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
3437
3566
  };
3438
3567
  };
3568
+ const serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails = (input, context) => {
3569
+ return {
3570
+ ...(input.ApiDescription !== undefined &&
3571
+ input.ApiDescription !== null && { ApiDescription: input.ApiDescription }),
3572
+ ...(input.ApiId !== undefined && input.ApiId !== null && { ApiId: input.ApiId }),
3573
+ ...(input.ApiKey !== undefined && input.ApiKey !== null && { ApiKey: input.ApiKey }),
3574
+ ...(input.ApiName !== undefined && input.ApiName !== null && { ApiName: input.ApiName }),
3575
+ ...(input.ApiSpecificationMd5Hash !== undefined &&
3576
+ input.ApiSpecificationMd5Hash !== null && { ApiSpecificationMd5Hash: input.ApiSpecificationMd5Hash }),
3577
+ ...(input.DataSetId !== undefined && input.DataSetId !== null && { DataSetId: input.DataSetId }),
3578
+ ...(input.ProtocolType !== undefined && input.ProtocolType !== null && { ProtocolType: input.ProtocolType }),
3579
+ ...(input.RevisionId !== undefined && input.RevisionId !== null && { RevisionId: input.RevisionId }),
3580
+ ...(input.Stage !== undefined && input.Stage !== null && { Stage: input.Stage }),
3581
+ };
3582
+ };
3439
3583
  const serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails = (input, context) => {
3440
3584
  return {
3441
3585
  ...(input.AssetName !== undefined && input.AssetName !== null && { AssetName: input.AssetName }),
@@ -3534,6 +3678,10 @@ const serializeAws_restJson1RequestDetails = (input, context) => {
3534
3678
  input.ExportRevisionsToS3 !== null && {
3535
3679
  ExportRevisionsToS3: serializeAws_restJson1ExportRevisionsToS3RequestDetails(input.ExportRevisionsToS3, context),
3536
3680
  }),
3681
+ ...(input.ImportAssetFromApiGatewayApi !== undefined &&
3682
+ input.ImportAssetFromApiGatewayApi !== null && {
3683
+ ImportAssetFromApiGatewayApi: serializeAws_restJson1ImportAssetFromApiGatewayApiRequestDetails(input.ImportAssetFromApiGatewayApi, context),
3684
+ }),
3537
3685
  ...(input.ImportAssetFromSignedUrl !== undefined &&
3538
3686
  input.ImportAssetFromSignedUrl !== null && {
3539
3687
  ImportAssetFromSignedUrl: serializeAws_restJson1ImportAssetFromSignedUrlRequestDetails(input.ImportAssetFromSignedUrl, context),
@@ -3567,6 +3715,21 @@ const deserializeAws_restJson1Action = (output, context) => {
3567
3715
  : undefined,
3568
3716
  };
3569
3717
  };
3718
+ const deserializeAws_restJson1ApiGatewayApiAsset = (output, context) => {
3719
+ return {
3720
+ ApiDescription: smithy_client_1.expectString(output.ApiDescription),
3721
+ ApiEndpoint: smithy_client_1.expectString(output.ApiEndpoint),
3722
+ ApiId: smithy_client_1.expectString(output.ApiId),
3723
+ ApiKey: smithy_client_1.expectString(output.ApiKey),
3724
+ ApiName: smithy_client_1.expectString(output.ApiName),
3725
+ ApiSpecificationDownloadUrl: smithy_client_1.expectString(output.ApiSpecificationDownloadUrl),
3726
+ ApiSpecificationDownloadUrlExpiresAt: output.ApiSpecificationDownloadUrlExpiresAt !== undefined && output.ApiSpecificationDownloadUrlExpiresAt !== null
3727
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ApiSpecificationDownloadUrlExpiresAt))
3728
+ : undefined,
3729
+ ProtocolType: smithy_client_1.expectString(output.ProtocolType),
3730
+ Stage: smithy_client_1.expectString(output.Stage),
3731
+ };
3732
+ };
3570
3733
  const deserializeAws_restJson1AssetDestinationEntry = (output, context) => {
3571
3734
  return {
3572
3735
  AssetId: smithy_client_1.expectString(output.AssetId),
@@ -3576,6 +3739,9 @@ const deserializeAws_restJson1AssetDestinationEntry = (output, context) => {
3576
3739
  };
3577
3740
  const deserializeAws_restJson1AssetDetails = (output, context) => {
3578
3741
  return {
3742
+ ApiGatewayApiAsset: output.ApiGatewayApiAsset !== undefined && output.ApiGatewayApiAsset !== null
3743
+ ? deserializeAws_restJson1ApiGatewayApiAsset(output.ApiGatewayApiAsset, context)
3744
+ : undefined,
3579
3745
  RedshiftDataShareAsset: output.RedshiftDataShareAsset !== undefined && output.RedshiftDataShareAsset !== null
3580
3746
  ? deserializeAws_restJson1RedshiftDataShareAsset(output.RedshiftDataShareAsset, context)
3581
3747
  : undefined,
@@ -3723,6 +3889,23 @@ const deserializeAws_restJson1ExportServerSideEncryption = (output, context) =>
3723
3889
  Type: smithy_client_1.expectString(output.Type),
3724
3890
  };
3725
3891
  };
3892
+ const deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails = (output, context) => {
3893
+ return {
3894
+ ApiDescription: smithy_client_1.expectString(output.ApiDescription),
3895
+ ApiId: smithy_client_1.expectString(output.ApiId),
3896
+ ApiKey: smithy_client_1.expectString(output.ApiKey),
3897
+ ApiName: smithy_client_1.expectString(output.ApiName),
3898
+ ApiSpecificationMd5Hash: smithy_client_1.expectString(output.ApiSpecificationMd5Hash),
3899
+ ApiSpecificationUploadUrl: smithy_client_1.expectString(output.ApiSpecificationUploadUrl),
3900
+ ApiSpecificationUploadUrlExpiresAt: output.ApiSpecificationUploadUrlExpiresAt !== undefined && output.ApiSpecificationUploadUrlExpiresAt !== null
3901
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.ApiSpecificationUploadUrlExpiresAt))
3902
+ : undefined,
3903
+ DataSetId: smithy_client_1.expectString(output.DataSetId),
3904
+ ProtocolType: smithy_client_1.expectString(output.ProtocolType),
3905
+ RevisionId: smithy_client_1.expectString(output.RevisionId),
3906
+ Stage: smithy_client_1.expectString(output.Stage),
3907
+ };
3908
+ };
3726
3909
  const deserializeAws_restJson1ImportAssetFromSignedUrlJobErrorDetails = (output, context) => {
3727
3910
  return {
3728
3911
  AssetName: smithy_client_1.expectString(output.AssetName),
@@ -3928,6 +4111,9 @@ const deserializeAws_restJson1ResponseDetails = (output, context) => {
3928
4111
  ExportRevisionsToS3: output.ExportRevisionsToS3 !== undefined && output.ExportRevisionsToS3 !== null
3929
4112
  ? deserializeAws_restJson1ExportRevisionsToS3ResponseDetails(output.ExportRevisionsToS3, context)
3930
4113
  : undefined,
4114
+ ImportAssetFromApiGatewayApi: output.ImportAssetFromApiGatewayApi !== undefined && output.ImportAssetFromApiGatewayApi !== null
4115
+ ? deserializeAws_restJson1ImportAssetFromApiGatewayApiResponseDetails(output.ImportAssetFromApiGatewayApi, context)
4116
+ : undefined,
3931
4117
  ImportAssetFromSignedUrl: output.ImportAssetFromSignedUrl !== undefined && output.ImportAssetFromSignedUrl !== null
3932
4118
  ? deserializeAws_restJson1ImportAssetFromSignedUrlResponseDetails(output.ImportAssetFromSignedUrl, context)
3933
4119
  : undefined,
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
- const smithy_client_1 = require("@aws-sdk/smithy-client");
19
18
  const getRuntimeConfig = (config) => {
20
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
20
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
21
  return {
24
22
  ...clientSharedValues,
@@ -19,6 +19,7 @@ import { ListEventActionsCommand, } from "./commands/ListEventActionsCommand";
19
19
  import { ListJobsCommand } from "./commands/ListJobsCommand";
20
20
  import { ListRevisionAssetsCommand, } from "./commands/ListRevisionAssetsCommand";
21
21
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
22
+ import { SendApiAssetCommand, } from "./commands/SendApiAssetCommand";
22
23
  import { StartJobCommand } from "./commands/StartJobCommand";
23
24
  import { TagResourceCommand } from "./commands/TagResourceCommand";
24
25
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -312,6 +313,20 @@ var DataExchange = (function (_super) {
312
313
  return this.send(command, optionsOrCb);
313
314
  }
314
315
  };
316
+ DataExchange.prototype.sendApiAsset = function (args, optionsOrCb, cb) {
317
+ var command = new SendApiAssetCommand(args);
318
+ if (typeof optionsOrCb === "function") {
319
+ this.send(command, optionsOrCb);
320
+ }
321
+ else if (typeof cb === "function") {
322
+ if (typeof optionsOrCb !== "object")
323
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
324
+ this.send(command, optionsOrCb || {}, cb);
325
+ }
326
+ else {
327
+ return this.send(command, optionsOrCb);
328
+ }
329
+ };
315
330
  DataExchange.prototype.startJob = function (args, optionsOrCb, cb) {
316
331
  var command = new StartJobCommand(args);
317
332
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { SendApiAssetRequest, SendApiAssetResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1SendApiAssetCommand, serializeAws_restJson1SendApiAssetCommand, } from "../protocols/Aws_restJson1";
6
+ var SendApiAssetCommand = (function (_super) {
7
+ __extends(SendApiAssetCommand, _super);
8
+ function SendApiAssetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ SendApiAssetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DataExchangeClient";
18
+ var commandName = "SendApiAssetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: SendApiAssetRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: SendApiAssetResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ SendApiAssetCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1SendApiAssetCommand(input, context);
33
+ };
34
+ SendApiAssetCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1SendApiAssetCommand(output, context);
36
+ };
37
+ return SendApiAssetCommand;
38
+ }($Command));
39
+ export { SendApiAssetCommand };
@@ -18,6 +18,7 @@ export * from "./ListEventActionsCommand";
18
18
  export * from "./ListJobsCommand";
19
19
  export * from "./ListRevisionAssetsCommand";
20
20
  export * from "./ListTagsForResourceCommand";
21
+ export * from "./SendApiAssetCommand";
21
22
  export * from "./StartJobCommand";
22
23
  export * from "./TagResourceCommand";
23
24
  export * from "./UntagResourceCommand";
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",