@aws-sdk/client-dataexchange 3.43.0 → 3.44.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.
@@ -92,6 +92,56 @@ export declare namespace Action {
92
92
  */
93
93
  const filterSensitiveLog: (obj: Action) => any;
94
94
  }
95
+ export declare enum ProtocolType {
96
+ REST = "REST"
97
+ }
98
+ /**
99
+ * <p>The API Gateway API that is the asset.</p>
100
+ */
101
+ export interface ApiGatewayApiAsset {
102
+ /**
103
+ * <p>The API description of the API asset.</p>
104
+ */
105
+ ApiDescription?: string;
106
+ /**
107
+ * <p>The API endpoint of the API asset.</p>
108
+ */
109
+ ApiEndpoint?: string;
110
+ /**
111
+ * <p>The unique identifier of the API asset.</p>
112
+ */
113
+ ApiId?: string;
114
+ /**
115
+ * <p>The API key of the API asset.</p>
116
+ */
117
+ ApiKey?: string;
118
+ /**
119
+ * <p>The API name of the API asset.</p>
120
+ */
121
+ ApiName?: string;
122
+ /**
123
+ * <p>The download URL of the API specification of the API asset.</p>
124
+ */
125
+ ApiSpecificationDownloadUrl?: string;
126
+ /**
127
+ * <p>The date and time that the upload URL expires, in ISO 8601 format.</p>
128
+ */
129
+ ApiSpecificationDownloadUrlExpiresAt?: Date;
130
+ /**
131
+ * <p>The protocol type of the API asset.</p>
132
+ */
133
+ ProtocolType?: ProtocolType | string;
134
+ /**
135
+ * <p>The stage of the API asset.</p>
136
+ */
137
+ Stage?: string;
138
+ }
139
+ export declare namespace ApiGatewayApiAsset {
140
+ /**
141
+ * @internal
142
+ */
143
+ const filterSensitiveLog: (obj: ApiGatewayApiAsset) => any;
144
+ }
95
145
  /**
96
146
  * <p>The destination for the asset.</p>
97
147
  */
@@ -157,6 +207,10 @@ export interface AssetDetails {
157
207
  * <p>The Amazon Redshift datashare that is the asset.</p>
158
208
  */
159
209
  RedshiftDataShareAsset?: RedshiftDataShareAsset;
210
+ /**
211
+ * <p>Information about the API Gateway API asset.</p>
212
+ */
213
+ ApiGatewayApiAsset?: ApiGatewayApiAsset;
160
214
  }
161
215
  export declare namespace AssetDetails {
162
216
  /**
@@ -165,11 +219,12 @@ export declare namespace AssetDetails {
165
219
  const filterSensitiveLog: (obj: AssetDetails) => any;
166
220
  }
167
221
  export declare enum AssetType {
222
+ API_GATEWAY_API = "API_GATEWAY_API",
168
223
  REDSHIFT_DATA_SHARE = "REDSHIFT_DATA_SHARE",
169
224
  S3_SNAPSHOT = "S3_SNAPSHOT"
170
225
  }
171
226
  /**
172
- * <p>An asset in AWS Data Exchange is a piece of data. The asset can be a structured data file, an image file, or some other data file that can be stored as an S3 object, or an Amazon Redshift datashare (Preview). When you create an import job for your files, you create an asset in AWS Data Exchange for each of those files.</p>
227
+ * <p>An asset in AWS Data Exchange is a piece of data (S3 object) or a means of fulfilling data (Amazon Redshift datashare or Amazon API Gateway API). The asset can be a structured data file, an image file, or some other data file that can be stored as an S3 object, an Amazon API Gateway API, or an Amazon Redshift datashare (Preview). When you create an import job for your files, API Gateway APIs, or Amazon Redshift datashares, you create an asset in AWS Data Exchange.</p>
173
228
  */
174
229
  export interface AssetEntry {
175
230
  /**
@@ -197,7 +252,7 @@ export interface AssetEntry {
197
252
  */
198
253
  Id: string | undefined;
199
254
  /**
200
- * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.</p>
255
+ * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.</p>
201
256
  */
202
257
  Name: string | undefined;
203
258
  /**
@@ -478,6 +533,7 @@ export declare namespace CreateDataSetResponse {
478
533
  const filterSensitiveLog: (obj: CreateDataSetResponse) => any;
479
534
  }
480
535
  export declare enum LimitName {
536
+ Amazon_API_Gateway_API_assets_per_revision = "Amazon API Gateway API assets per revision",
481
537
  Amazon_Redshift_datashare_assets_per_import_job_from_Redshift = "Amazon Redshift datashare assets per import job from Redshift",
482
538
  Amazon_Redshift_datashare_assets_per_revision = "Amazon Redshift datashare assets per revision",
483
539
  Asset_per_export_job_from_Amazon_S3 = "Asset per export job from Amazon S3",
@@ -491,10 +547,12 @@ export declare enum LimitName {
491
547
  Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares = "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
492
548
  Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
493
549
  Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
550
+ Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API = "Concurrent in progress jobs to import assets from an API Gateway API",
494
551
  Data_sets_per_account = "Data sets per account",
495
552
  Data_sets_per_product = "Data sets per product",
496
553
  Event_actions_per_account = "Event actions per account",
497
554
  Products_per_account = "Products per account",
555
+ Revisions_per_Amazon_API_Gateway_API_data_set = "Revisions per Amazon API Gateway API data set",
498
556
  Revisions_per_Amazon_Redshift_datashare_data_set = "Revisions per Amazon Redshift datashare data set",
499
557
  Revisions_per_data_set = "Revisions per data set"
500
558
  }
@@ -700,6 +758,53 @@ export declare namespace ExportRevisionsToS3RequestDetails {
700
758
  */
701
759
  const filterSensitiveLog: (obj: ExportRevisionsToS3RequestDetails) => any;
702
760
  }
761
+ /**
762
+ * <p>The request details.</p>
763
+ */
764
+ export interface ImportAssetFromApiGatewayApiRequestDetails {
765
+ /**
766
+ * <p>The API description. Markdown supported.</p>
767
+ */
768
+ ApiDescription?: string;
769
+ /**
770
+ * <p>The API Gateway API ID.</p>
771
+ */
772
+ ApiId: string | undefined;
773
+ /**
774
+ * <p>The API Gateway API key.</p>
775
+ */
776
+ ApiKey?: string;
777
+ /**
778
+ * <p>The API name.</p>
779
+ */
780
+ ApiName: string | undefined;
781
+ /**
782
+ * <p>The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API specification file. It is used to ensure the integrity of the file.</p>
783
+ */
784
+ ApiSpecificationMd5Hash: string | undefined;
785
+ /**
786
+ * <p>The data set ID.</p>
787
+ */
788
+ DataSetId: string | undefined;
789
+ /**
790
+ * <p>The protocol type.</p>
791
+ */
792
+ ProtocolType: ProtocolType | string | undefined;
793
+ /**
794
+ * <p>The revision ID.</p>
795
+ */
796
+ RevisionId: string | undefined;
797
+ /**
798
+ * <p>The API stage.</p>
799
+ */
800
+ Stage: string | undefined;
801
+ }
802
+ export declare namespace ImportAssetFromApiGatewayApiRequestDetails {
803
+ /**
804
+ * @internal
805
+ */
806
+ const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiRequestDetails) => any;
807
+ }
703
808
  /**
704
809
  * <p>Details of the operation to be performed by the job.</p>
705
810
  */
@@ -816,6 +921,10 @@ export interface RequestDetails {
816
921
  * <p>Details from an import from Amazon Redshift datashare request.</p>
817
922
  */
818
923
  ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesRequestDetails;
924
+ /**
925
+ * <p>Information about the import asset from API Gateway API request.</p>
926
+ */
927
+ ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiRequestDetails;
819
928
  }
820
929
  export declare namespace RequestDetails {
821
930
  /**
@@ -829,6 +938,7 @@ export declare enum Type {
829
938
  EXPORT_REVISIONS_TO_S3 = "EXPORT_REVISIONS_TO_S3",
830
939
  IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
831
940
  IMPORT_ASSETS_FROM_S3 = "IMPORT_ASSETS_FROM_S3",
941
+ IMPORT_ASSET_FROM_API_GATEWAY_API = "IMPORT_ASSET_FROM_API_GATEWAY_API",
832
942
  IMPORT_ASSET_FROM_SIGNED_URL = "IMPORT_ASSET_FROM_SIGNED_URL"
833
943
  }
834
944
  /**
@@ -935,6 +1045,61 @@ export declare namespace ExportRevisionsToS3ResponseDetails {
935
1045
  */
936
1046
  const filterSensitiveLog: (obj: ExportRevisionsToS3ResponseDetails) => any;
937
1047
  }
1048
+ /**
1049
+ * <p>The response details.</p>
1050
+ */
1051
+ export interface ImportAssetFromApiGatewayApiResponseDetails {
1052
+ /**
1053
+ * <p>The API description.</p>
1054
+ */
1055
+ ApiDescription?: string;
1056
+ /**
1057
+ * <p>The API ID.</p>
1058
+ */
1059
+ ApiId: string | undefined;
1060
+ /**
1061
+ * <p>The API key.</p>
1062
+ */
1063
+ ApiKey?: string;
1064
+ /**
1065
+ * <p>The API name.</p>
1066
+ */
1067
+ ApiName: string | undefined;
1068
+ /**
1069
+ * <p>The Base64-encoded Md5 hash for the API asset, used to ensure the integrity of the API at that location.</p>
1070
+ */
1071
+ ApiSpecificationMd5Hash: string | undefined;
1072
+ /**
1073
+ * <p>The upload URL of the API specification.</p>
1074
+ */
1075
+ ApiSpecificationUploadUrl: string | undefined;
1076
+ /**
1077
+ * <p>The date and time that the upload URL expires, in ISO 8601 format.</p>
1078
+ */
1079
+ ApiSpecificationUploadUrlExpiresAt: Date | undefined;
1080
+ /**
1081
+ * <p>The data set ID.</p>
1082
+ */
1083
+ DataSetId: string | undefined;
1084
+ /**
1085
+ * <p>The protocol type.</p>
1086
+ */
1087
+ ProtocolType: ProtocolType | string | undefined;
1088
+ /**
1089
+ * <p>The revision ID.</p>
1090
+ */
1091
+ RevisionId: string | undefined;
1092
+ /**
1093
+ * <p>The API stage.</p>
1094
+ */
1095
+ Stage: string | undefined;
1096
+ }
1097
+ export declare namespace ImportAssetFromApiGatewayApiResponseDetails {
1098
+ /**
1099
+ * @internal
1100
+ */
1101
+ const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiResponseDetails) => any;
1102
+ }
938
1103
  /**
939
1104
  * <p>The details in the response for an import request, including the signed URL and other information.</p>
940
1105
  */
@@ -1044,6 +1209,10 @@ export interface ResponseDetails {
1044
1209
  * <p>Details from an import from Amazon Redshift datashare response.</p>
1045
1210
  */
1046
1211
  ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesResponseDetails;
1212
+ /**
1213
+ * <p>The response details.</p>
1214
+ */
1215
+ ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiResponseDetails;
1047
1216
  }
1048
1217
  export declare namespace ResponseDetails {
1049
1218
  /**
@@ -1359,7 +1528,7 @@ export interface GetAssetResponse {
1359
1528
  */
1360
1529
  Id?: string;
1361
1530
  /**
1362
- * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.</p>
1531
+ * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.</p>
1363
1532
  */
1364
1533
  Name?: string;
1365
1534
  /**
@@ -1991,6 +2160,71 @@ export declare namespace ListTagsForResourceResponse {
1991
2160
  */
1992
2161
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1993
2162
  }
2163
+ /**
2164
+ * <p>The request body for SendApiAsset.</p>
2165
+ */
2166
+ export interface SendApiAssetRequest {
2167
+ /**
2168
+ * <p>The request body.</p>
2169
+ */
2170
+ Body?: string;
2171
+ /**
2172
+ * <p>Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).</p>
2173
+ */
2174
+ QueryStringParameters?: {
2175
+ [key: string]: string;
2176
+ };
2177
+ /**
2178
+ * <p>Asset ID value for the API request.</p>
2179
+ */
2180
+ AssetId: string | undefined;
2181
+ /**
2182
+ * <p>Data set ID value for the API request.</p>
2183
+ */
2184
+ DataSetId: string | undefined;
2185
+ /**
2186
+ * <p>Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.</p>
2187
+ */
2188
+ RequestHeaders?: {
2189
+ [key: string]: string;
2190
+ };
2191
+ /**
2192
+ * <p>HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.</p>
2193
+ */
2194
+ Method?: string;
2195
+ /**
2196
+ * <p>URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}</p>
2197
+ */
2198
+ Path?: string;
2199
+ /**
2200
+ * <p>Revision ID value for the API request.</p>
2201
+ */
2202
+ RevisionId: string | undefined;
2203
+ }
2204
+ export declare namespace SendApiAssetRequest {
2205
+ /**
2206
+ * @internal
2207
+ */
2208
+ const filterSensitiveLog: (obj: SendApiAssetRequest) => any;
2209
+ }
2210
+ export interface SendApiAssetResponse {
2211
+ /**
2212
+ * <p>The response body from the underlying API tracked by the API asset.</p>
2213
+ */
2214
+ Body?: string;
2215
+ /**
2216
+ * <p>The response headers from the underlying API tracked by the API asset.</p>
2217
+ */
2218
+ ResponseHeaders?: {
2219
+ [key: string]: string;
2220
+ };
2221
+ }
2222
+ export declare namespace SendApiAssetResponse {
2223
+ /**
2224
+ * @internal
2225
+ */
2226
+ const filterSensitiveLog: (obj: SendApiAssetResponse) => any;
2227
+ }
1994
2228
  export interface StartJobRequest {
1995
2229
  /**
1996
2230
  * <p>The unique identifier for a job.</p>
@@ -2061,7 +2295,7 @@ export interface UpdateAssetRequest {
2061
2295
  */
2062
2296
  DataSetId: string | undefined;
2063
2297
  /**
2064
- * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.</p>
2298
+ * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.</p>
2065
2299
  */
2066
2300
  Name: string | undefined;
2067
2301
  /**
@@ -2101,7 +2335,7 @@ export interface UpdateAssetResponse {
2101
2335
  */
2102
2336
  Id?: string;
2103
2337
  /**
2104
- * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key.</p>
2338
+ * <p>The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name. When exporting to Amazon S3, the asset name is used as default target S3 object key. When importing from Amazon API Gateway API, the API name is used as the asset name. When importing from Amazon Redshift, the datashare name is used as the asset name.</p>
2105
2339
  */
2106
2340
  Name?: string;
2107
2341
  /**
@@ -20,6 +20,7 @@ import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "../
20
20
  import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
21
21
  import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "../commands/ListRevisionAssetsCommand";
22
22
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
23
+ import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "../commands/SendApiAssetCommand";
23
24
  import { StartJobCommandInput, StartJobCommandOutput } from "../commands/StartJobCommand";
24
25
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
25
26
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
@@ -47,6 +48,7 @@ export declare const serializeAws_restJson1ListEventActionsCommand: (input: List
47
48
  export declare const serializeAws_restJson1ListJobsCommand: (input: ListJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
49
  export declare const serializeAws_restJson1ListRevisionAssetsCommand: (input: ListRevisionAssetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
50
  export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ export declare const serializeAws_restJson1SendApiAssetCommand: (input: SendApiAssetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
50
52
  export declare const serializeAws_restJson1StartJobCommand: (input: StartJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
53
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
54
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -74,6 +76,7 @@ export declare const deserializeAws_restJson1ListEventActionsCommand: (output: _
74
76
  export declare const deserializeAws_restJson1ListJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobsCommandOutput>;
75
77
  export declare const deserializeAws_restJson1ListRevisionAssetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRevisionAssetsCommandOutput>;
76
78
  export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
79
+ export declare const deserializeAws_restJson1SendApiAssetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendApiAssetCommandOutput>;
77
80
  export declare const deserializeAws_restJson1StartJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartJobCommandOutput>;
78
81
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
79
82
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
@@ -19,6 +19,7 @@ import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "./c
19
19
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
20
20
  import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
21
21
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
22
+ import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
22
23
  import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
23
24
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
24
25
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -110,6 +111,10 @@ export declare class DataExchange extends DataExchangeClient {
110
111
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
111
112
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
112
113
 
114
+ sendApiAsset(args: SendApiAssetCommandInput, options?: __HttpHandlerOptions): Promise<SendApiAssetCommandOutput>;
115
+ sendApiAsset(args: SendApiAssetCommandInput, cb: (err: any, data?: SendApiAssetCommandOutput) => void): void;
116
+ sendApiAsset(args: SendApiAssetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendApiAssetCommandOutput) => void): void;
117
+
113
118
  startJob(args: StartJobCommandInput, options?: __HttpHandlerOptions): Promise<StartJobCommandOutput>;
114
119
  startJob(args: StartJobCommandInput, cb: (err: any, data?: StartJobCommandOutput) => void): void;
115
120
  startJob(args: StartJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobCommandOutput) => void): void;
@@ -26,6 +26,7 @@ import { ListEventActionsCommandInput, ListEventActionsCommandOutput } from "./c
26
26
  import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand";
27
27
  import { ListRevisionAssetsCommandInput, ListRevisionAssetsCommandOutput } from "./commands/ListRevisionAssetsCommand";
28
28
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
29
+ import { SendApiAssetCommandInput, SendApiAssetCommandOutput } from "./commands/SendApiAssetCommand";
29
30
  import { StartJobCommandInput, StartJobCommandOutput } from "./commands/StartJobCommand";
30
31
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
31
32
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
@@ -33,8 +34,8 @@ import { UpdateAssetCommandInput, UpdateAssetCommandOutput } from "./commands/Up
33
34
  import { UpdateDataSetCommandInput, UpdateDataSetCommandOutput } from "./commands/UpdateDataSetCommand";
34
35
  import { UpdateEventActionCommandInput, UpdateEventActionCommandOutput } from "./commands/UpdateEventActionCommand";
35
36
  import { UpdateRevisionCommandInput, UpdateRevisionCommandOutput } from "./commands/UpdateRevisionCommand";
36
- export declare type ServiceInputTypes = CancelJobCommandInput | CreateDataSetCommandInput | CreateEventActionCommandInput | CreateJobCommandInput | CreateRevisionCommandInput | DeleteAssetCommandInput | DeleteDataSetCommandInput | DeleteEventActionCommandInput | DeleteRevisionCommandInput | GetAssetCommandInput | GetDataSetCommandInput | GetEventActionCommandInput | GetJobCommandInput | GetRevisionCommandInput | ListDataSetRevisionsCommandInput | ListDataSetsCommandInput | ListEventActionsCommandInput | ListJobsCommandInput | ListRevisionAssetsCommandInput | ListTagsForResourceCommandInput | StartJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAssetCommandInput | UpdateDataSetCommandInput | UpdateEventActionCommandInput | UpdateRevisionCommandInput;
37
- export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateDataSetCommandOutput | CreateEventActionCommandOutput | CreateJobCommandOutput | CreateRevisionCommandOutput | DeleteAssetCommandOutput | DeleteDataSetCommandOutput | DeleteEventActionCommandOutput | DeleteRevisionCommandOutput | GetAssetCommandOutput | GetDataSetCommandOutput | GetEventActionCommandOutput | GetJobCommandOutput | GetRevisionCommandOutput | ListDataSetRevisionsCommandOutput | ListDataSetsCommandOutput | ListEventActionsCommandOutput | ListJobsCommandOutput | ListRevisionAssetsCommandOutput | ListTagsForResourceCommandOutput | StartJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAssetCommandOutput | UpdateDataSetCommandOutput | UpdateEventActionCommandOutput | UpdateRevisionCommandOutput;
37
+ export declare type ServiceInputTypes = CancelJobCommandInput | CreateDataSetCommandInput | CreateEventActionCommandInput | CreateJobCommandInput | CreateRevisionCommandInput | DeleteAssetCommandInput | DeleteDataSetCommandInput | DeleteEventActionCommandInput | DeleteRevisionCommandInput | GetAssetCommandInput | GetDataSetCommandInput | GetEventActionCommandInput | GetJobCommandInput | GetRevisionCommandInput | ListDataSetRevisionsCommandInput | ListDataSetsCommandInput | ListEventActionsCommandInput | ListJobsCommandInput | ListRevisionAssetsCommandInput | ListTagsForResourceCommandInput | SendApiAssetCommandInput | StartJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAssetCommandInput | UpdateDataSetCommandInput | UpdateEventActionCommandInput | UpdateRevisionCommandInput;
38
+ export declare type ServiceOutputTypes = CancelJobCommandOutput | CreateDataSetCommandOutput | CreateEventActionCommandOutput | CreateJobCommandOutput | CreateRevisionCommandOutput | DeleteAssetCommandOutput | DeleteDataSetCommandOutput | DeleteEventActionCommandOutput | DeleteRevisionCommandOutput | GetAssetCommandOutput | GetDataSetCommandOutput | GetEventActionCommandOutput | GetJobCommandOutput | GetRevisionCommandOutput | ListDataSetRevisionsCommandOutput | ListDataSetsCommandOutput | ListEventActionsCommandOutput | ListJobsCommandOutput | ListRevisionAssetsCommandOutput | ListTagsForResourceCommandOutput | SendApiAssetCommandOutput | StartJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAssetCommandOutput | UpdateDataSetCommandOutput | UpdateEventActionCommandOutput | UpdateRevisionCommandOutput;
38
39
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
39
40
 
40
41
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DataExchangeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DataExchangeClient";
4
+ import { SendApiAssetRequest, SendApiAssetResponse } from "../models/models_0";
5
+ export interface SendApiAssetCommandInput extends SendApiAssetRequest {
6
+ }
7
+ export interface SendApiAssetCommandOutput extends SendApiAssetResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class SendApiAssetCommand extends $Command<SendApiAssetCommandInput, SendApiAssetCommandOutput, DataExchangeClientResolvedConfig> {
11
+ readonly input: SendApiAssetCommandInput;
12
+ constructor(input: SendApiAssetCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DataExchangeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SendApiAssetCommandInput, SendApiAssetCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -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";
@@ -56,6 +56,34 @@ export declare namespace Action {
56
56
 
57
57
  const filterSensitiveLog: (obj: Action) => any;
58
58
  }
59
+ export declare enum ProtocolType {
60
+ REST = "REST"
61
+ }
62
+
63
+ export interface ApiGatewayApiAsset {
64
+
65
+ ApiDescription?: string;
66
+
67
+ ApiEndpoint?: string;
68
+
69
+ ApiId?: string;
70
+
71
+ ApiKey?: string;
72
+
73
+ ApiName?: string;
74
+
75
+ ApiSpecificationDownloadUrl?: string;
76
+
77
+ ApiSpecificationDownloadUrlExpiresAt?: Date;
78
+
79
+ ProtocolType?: ProtocolType | string;
80
+
81
+ Stage?: string;
82
+ }
83
+ export declare namespace ApiGatewayApiAsset {
84
+
85
+ const filterSensitiveLog: (obj: ApiGatewayApiAsset) => any;
86
+ }
59
87
 
60
88
  export interface AssetDestinationEntry {
61
89
 
@@ -93,12 +121,15 @@ export interface AssetDetails {
93
121
  S3SnapshotAsset?: S3SnapshotAsset;
94
122
 
95
123
  RedshiftDataShareAsset?: RedshiftDataShareAsset;
124
+
125
+ ApiGatewayApiAsset?: ApiGatewayApiAsset;
96
126
  }
97
127
  export declare namespace AssetDetails {
98
128
 
99
129
  const filterSensitiveLog: (obj: AssetDetails) => any;
100
130
  }
101
131
  export declare enum AssetType {
132
+ API_GATEWAY_API = "API_GATEWAY_API",
102
133
  REDSHIFT_DATA_SHARE = "REDSHIFT_DATA_SHARE",
103
134
  S3_SNAPSHOT = "S3_SNAPSHOT"
104
135
  }
@@ -294,6 +325,7 @@ export declare namespace CreateDataSetResponse {
294
325
  const filterSensitiveLog: (obj: CreateDataSetResponse) => any;
295
326
  }
296
327
  export declare enum LimitName {
328
+ Amazon_API_Gateway_API_assets_per_revision = "Amazon API Gateway API assets per revision",
297
329
  Amazon_Redshift_datashare_assets_per_import_job_from_Redshift = "Amazon Redshift datashare assets per import job from Redshift",
298
330
  Amazon_Redshift_datashare_assets_per_revision = "Amazon Redshift datashare assets per revision",
299
331
  Asset_per_export_job_from_Amazon_S3 = "Asset per export job from Amazon S3",
@@ -307,10 +339,12 @@ export declare enum LimitName {
307
339
  Concurrent_in_progress_jobs_to_import_assets_from_Amazon_Redshift_datashares = "Concurrent in progress jobs to import assets from Amazon Redshift datashares",
308
340
  Concurrent_in_progress_jobs_to_import_assets_from_Amazon_S3 = "Concurrent in progress jobs to import assets from Amazon S3",
309
341
  Concurrent_in_progress_jobs_to_import_assets_from_a_signed_URL = "Concurrent in progress jobs to import assets from a signed URL",
342
+ Concurrent_in_progress_jobs_to_import_assets_from_an_API_Gateway_API = "Concurrent in progress jobs to import assets from an API Gateway API",
310
343
  Data_sets_per_account = "Data sets per account",
311
344
  Data_sets_per_product = "Data sets per product",
312
345
  Event_actions_per_account = "Event actions per account",
313
346
  Products_per_account = "Products per account",
347
+ Revisions_per_Amazon_API_Gateway_API_data_set = "Revisions per Amazon API Gateway API data set",
314
348
  Revisions_per_Amazon_Redshift_datashare_data_set = "Revisions per Amazon Redshift datashare data set",
315
349
  Revisions_per_data_set = "Revisions per data set"
316
350
  }
@@ -431,6 +465,31 @@ export declare namespace ExportRevisionsToS3RequestDetails {
431
465
  const filterSensitiveLog: (obj: ExportRevisionsToS3RequestDetails) => any;
432
466
  }
433
467
 
468
+ export interface ImportAssetFromApiGatewayApiRequestDetails {
469
+
470
+ ApiDescription?: string;
471
+
472
+ ApiId: string | undefined;
473
+
474
+ ApiKey?: string;
475
+
476
+ ApiName: string | undefined;
477
+
478
+ ApiSpecificationMd5Hash: string | undefined;
479
+
480
+ DataSetId: string | undefined;
481
+
482
+ ProtocolType: ProtocolType | string | undefined;
483
+
484
+ RevisionId: string | undefined;
485
+
486
+ Stage: string | undefined;
487
+ }
488
+ export declare namespace ImportAssetFromApiGatewayApiRequestDetails {
489
+
490
+ const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiRequestDetails) => any;
491
+ }
492
+
434
493
  export interface ImportAssetFromSignedUrlRequestDetails {
435
494
 
436
495
  AssetName: string | undefined;
@@ -494,6 +553,8 @@ export interface RequestDetails {
494
553
  ImportAssetsFromS3?: ImportAssetsFromS3RequestDetails;
495
554
 
496
555
  ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesRequestDetails;
556
+
557
+ ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiRequestDetails;
497
558
  }
498
559
  export declare namespace RequestDetails {
499
560
 
@@ -505,6 +566,7 @@ export declare enum Type {
505
566
  EXPORT_REVISIONS_TO_S3 = "EXPORT_REVISIONS_TO_S3",
506
567
  IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES = "IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES",
507
568
  IMPORT_ASSETS_FROM_S3 = "IMPORT_ASSETS_FROM_S3",
569
+ IMPORT_ASSET_FROM_API_GATEWAY_API = "IMPORT_ASSET_FROM_API_GATEWAY_API",
508
570
  IMPORT_ASSET_FROM_SIGNED_URL = "IMPORT_ASSET_FROM_SIGNED_URL"
509
571
  }
510
572
 
@@ -566,6 +628,35 @@ export declare namespace ExportRevisionsToS3ResponseDetails {
566
628
  const filterSensitiveLog: (obj: ExportRevisionsToS3ResponseDetails) => any;
567
629
  }
568
630
 
631
+ export interface ImportAssetFromApiGatewayApiResponseDetails {
632
+
633
+ ApiDescription?: string;
634
+
635
+ ApiId: string | undefined;
636
+
637
+ ApiKey?: string;
638
+
639
+ ApiName: string | undefined;
640
+
641
+ ApiSpecificationMd5Hash: string | undefined;
642
+
643
+ ApiSpecificationUploadUrl: string | undefined;
644
+
645
+ ApiSpecificationUploadUrlExpiresAt: Date | undefined;
646
+
647
+ DataSetId: string | undefined;
648
+
649
+ ProtocolType: ProtocolType | string | undefined;
650
+
651
+ RevisionId: string | undefined;
652
+
653
+ Stage: string | undefined;
654
+ }
655
+ export declare namespace ImportAssetFromApiGatewayApiResponseDetails {
656
+
657
+ const filterSensitiveLog: (obj: ImportAssetFromApiGatewayApiResponseDetails) => any;
658
+ }
659
+
569
660
  export interface ImportAssetFromSignedUrlResponseDetails {
570
661
 
571
662
  AssetName: string | undefined;
@@ -624,6 +715,8 @@ export interface ResponseDetails {
624
715
  ImportAssetsFromS3?: ImportAssetsFromS3ResponseDetails;
625
716
 
626
717
  ImportAssetsFromRedshiftDataShares?: ImportAssetsFromRedshiftDataSharesResponseDetails;
718
+
719
+ ImportAssetFromApiGatewayApi?: ImportAssetFromApiGatewayApiResponseDetails;
627
720
  }
628
721
  export declare namespace ResponseDetails {
629
722
 
@@ -1181,6 +1274,45 @@ export declare namespace ListTagsForResourceResponse {
1181
1274
 
1182
1275
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1183
1276
  }
1277
+
1278
+ export interface SendApiAssetRequest {
1279
+
1280
+ Body?: string;
1281
+
1282
+ QueryStringParameters?: {
1283
+ [key: string]: string;
1284
+ };
1285
+
1286
+ AssetId: string | undefined;
1287
+
1288
+ DataSetId: string | undefined;
1289
+
1290
+ RequestHeaders?: {
1291
+ [key: string]: string;
1292
+ };
1293
+
1294
+ Method?: string;
1295
+
1296
+ Path?: string;
1297
+
1298
+ RevisionId: string | undefined;
1299
+ }
1300
+ export declare namespace SendApiAssetRequest {
1301
+
1302
+ const filterSensitiveLog: (obj: SendApiAssetRequest) => any;
1303
+ }
1304
+ export interface SendApiAssetResponse {
1305
+
1306
+ Body?: string;
1307
+
1308
+ ResponseHeaders?: {
1309
+ [key: string]: string;
1310
+ };
1311
+ }
1312
+ export declare namespace SendApiAssetResponse {
1313
+
1314
+ const filterSensitiveLog: (obj: SendApiAssetResponse) => any;
1315
+ }
1184
1316
  export interface StartJobRequest {
1185
1317
 
1186
1318
  JobId: string | undefined;