1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class DataExchange extends Service {
|
9 | /**
|
10 | * Constructs a service object. This object has one method for each API operation.
|
11 | */
|
12 | constructor(options?: DataExchange.Types.ClientConfiguration)
|
13 | config: Config & DataExchange.Types.ClientConfiguration;
|
14 | /**
|
15 | * This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
|
16 | */
|
17 | cancelJob(params: DataExchange.Types.CancelJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
18 | /**
|
19 | * This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.
|
20 | */
|
21 | cancelJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
22 | /**
|
23 | * This operation creates a data set.
|
24 | */
|
25 | createDataSet(params: DataExchange.Types.CreateDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateDataSetResponse) => void): Request<DataExchange.Types.CreateDataSetResponse, AWSError>;
|
26 | /**
|
27 | * This operation creates a data set.
|
28 | */
|
29 | createDataSet(callback?: (err: AWSError, data: DataExchange.Types.CreateDataSetResponse) => void): Request<DataExchange.Types.CreateDataSetResponse, AWSError>;
|
30 | /**
|
31 | * This operation creates a job.
|
32 | */
|
33 | createJob(params: DataExchange.Types.CreateJobRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateJobResponse) => void): Request<DataExchange.Types.CreateJobResponse, AWSError>;
|
34 | /**
|
35 | * This operation creates a job.
|
36 | */
|
37 | createJob(callback?: (err: AWSError, data: DataExchange.Types.CreateJobResponse) => void): Request<DataExchange.Types.CreateJobResponse, AWSError>;
|
38 | /**
|
39 | * This operation creates a revision for a data set.
|
40 | */
|
41 | createRevision(params: DataExchange.Types.CreateRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.CreateRevisionResponse) => void): Request<DataExchange.Types.CreateRevisionResponse, AWSError>;
|
42 | /**
|
43 | * This operation creates a revision for a data set.
|
44 | */
|
45 | createRevision(callback?: (err: AWSError, data: DataExchange.Types.CreateRevisionResponse) => void): Request<DataExchange.Types.CreateRevisionResponse, AWSError>;
|
46 | /**
|
47 | * This operation deletes an asset.
|
48 | */
|
49 | deleteAsset(params: DataExchange.Types.DeleteAssetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
50 | /**
|
51 | * This operation deletes an asset.
|
52 | */
|
53 | deleteAsset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
54 | /**
|
55 | * This operation deletes a data set.
|
56 | */
|
57 | deleteDataSet(params: DataExchange.Types.DeleteDataSetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
58 | /**
|
59 | * This operation deletes a data set.
|
60 | */
|
61 | deleteDataSet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
62 | /**
|
63 | * This operation deletes a revision.
|
64 | */
|
65 | deleteRevision(params: DataExchange.Types.DeleteRevisionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
66 | /**
|
67 | * This operation deletes a revision.
|
68 | */
|
69 | deleteRevision(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
70 | /**
|
71 | * This operation returns information about an asset.
|
72 | */
|
73 | getAsset(params: DataExchange.Types.GetAssetRequest, callback?: (err: AWSError, data: DataExchange.Types.GetAssetResponse) => void): Request<DataExchange.Types.GetAssetResponse, AWSError>;
|
74 | /**
|
75 | * This operation returns information about an asset.
|
76 | */
|
77 | getAsset(callback?: (err: AWSError, data: DataExchange.Types.GetAssetResponse) => void): Request<DataExchange.Types.GetAssetResponse, AWSError>;
|
78 | /**
|
79 | * This operation returns information about a data set.
|
80 | */
|
81 | getDataSet(params: DataExchange.Types.GetDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.GetDataSetResponse) => void): Request<DataExchange.Types.GetDataSetResponse, AWSError>;
|
82 | /**
|
83 | * This operation returns information about a data set.
|
84 | */
|
85 | getDataSet(callback?: (err: AWSError, data: DataExchange.Types.GetDataSetResponse) => void): Request<DataExchange.Types.GetDataSetResponse, AWSError>;
|
86 | /**
|
87 | * This operation returns information about a job.
|
88 | */
|
89 | getJob(params: DataExchange.Types.GetJobRequest, callback?: (err: AWSError, data: DataExchange.Types.GetJobResponse) => void): Request<DataExchange.Types.GetJobResponse, AWSError>;
|
90 | /**
|
91 | * This operation returns information about a job.
|
92 | */
|
93 | getJob(callback?: (err: AWSError, data: DataExchange.Types.GetJobResponse) => void): Request<DataExchange.Types.GetJobResponse, AWSError>;
|
94 | /**
|
95 | * This operation returns information about a revision.
|
96 | */
|
97 | getRevision(params: DataExchange.Types.GetRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.GetRevisionResponse) => void): Request<DataExchange.Types.GetRevisionResponse, AWSError>;
|
98 | /**
|
99 | * This operation returns information about a revision.
|
100 | */
|
101 | getRevision(callback?: (err: AWSError, data: DataExchange.Types.GetRevisionResponse) => void): Request<DataExchange.Types.GetRevisionResponse, AWSError>;
|
102 | /**
|
103 | * This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
104 | */
|
105 | listDataSetRevisions(params: DataExchange.Types.ListDataSetRevisionsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListDataSetRevisionsResponse) => void): Request<DataExchange.Types.ListDataSetRevisionsResponse, AWSError>;
|
106 | /**
|
107 | * This operation lists a data set's revisions sorted by CreatedAt in descending order.
|
108 | */
|
109 | listDataSetRevisions(callback?: (err: AWSError, data: DataExchange.Types.ListDataSetRevisionsResponse) => void): Request<DataExchange.Types.ListDataSetRevisionsResponse, AWSError>;
|
110 | /**
|
111 | * This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
|
112 | */
|
113 | listDataSets(params: DataExchange.Types.ListDataSetsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListDataSetsResponse) => void): Request<DataExchange.Types.ListDataSetsResponse, AWSError>;
|
114 | /**
|
115 | * This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.
|
116 | */
|
117 | listDataSets(callback?: (err: AWSError, data: DataExchange.Types.ListDataSetsResponse) => void): Request<DataExchange.Types.ListDataSetsResponse, AWSError>;
|
118 | /**
|
119 | * This operation lists your jobs sorted by CreatedAt in descending order.
|
120 | */
|
121 | listJobs(params: DataExchange.Types.ListJobsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListJobsResponse) => void): Request<DataExchange.Types.ListJobsResponse, AWSError>;
|
122 | /**
|
123 | * This operation lists your jobs sorted by CreatedAt in descending order.
|
124 | */
|
125 | listJobs(callback?: (err: AWSError, data: DataExchange.Types.ListJobsResponse) => void): Request<DataExchange.Types.ListJobsResponse, AWSError>;
|
126 | /**
|
127 | * This operation lists a revision's assets sorted alphabetically in descending order.
|
128 | */
|
129 | listRevisionAssets(params: DataExchange.Types.ListRevisionAssetsRequest, callback?: (err: AWSError, data: DataExchange.Types.ListRevisionAssetsResponse) => void): Request<DataExchange.Types.ListRevisionAssetsResponse, AWSError>;
|
130 | /**
|
131 | * This operation lists a revision's assets sorted alphabetically in descending order.
|
132 | */
|
133 | listRevisionAssets(callback?: (err: AWSError, data: DataExchange.Types.ListRevisionAssetsResponse) => void): Request<DataExchange.Types.ListRevisionAssetsResponse, AWSError>;
|
134 | /**
|
135 | * This operation lists the tags on the resource.
|
136 | */
|
137 | listTagsForResource(params: DataExchange.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: DataExchange.Types.ListTagsForResourceResponse) => void): Request<DataExchange.Types.ListTagsForResourceResponse, AWSError>;
|
138 | /**
|
139 | * This operation lists the tags on the resource.
|
140 | */
|
141 | listTagsForResource(callback?: (err: AWSError, data: DataExchange.Types.ListTagsForResourceResponse) => void): Request<DataExchange.Types.ListTagsForResourceResponse, AWSError>;
|
142 | /**
|
143 | * This operation starts a job.
|
144 | */
|
145 | startJob(params: DataExchange.Types.StartJobRequest, callback?: (err: AWSError, data: DataExchange.Types.StartJobResponse) => void): Request<DataExchange.Types.StartJobResponse, AWSError>;
|
146 | /**
|
147 | * This operation starts a job.
|
148 | */
|
149 | startJob(callback?: (err: AWSError, data: DataExchange.Types.StartJobResponse) => void): Request<DataExchange.Types.StartJobResponse, AWSError>;
|
150 | /**
|
151 | * This operation tags a resource.
|
152 | */
|
153 | tagResource(params: DataExchange.Types.TagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
154 | /**
|
155 | * This operation tags a resource.
|
156 | */
|
157 | tagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
158 | /**
|
159 | * This operation removes one or more tags from a resource.
|
160 | */
|
161 | untagResource(params: DataExchange.Types.UntagResourceRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
162 | /**
|
163 | * This operation removes one or more tags from a resource.
|
164 | */
|
165 | untagResource(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
166 | /**
|
167 | * This operation updates an asset.
|
168 | */
|
169 | updateAsset(params: DataExchange.Types.UpdateAssetRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateAssetResponse) => void): Request<DataExchange.Types.UpdateAssetResponse, AWSError>;
|
170 | /**
|
171 | * This operation updates an asset.
|
172 | */
|
173 | updateAsset(callback?: (err: AWSError, data: DataExchange.Types.UpdateAssetResponse) => void): Request<DataExchange.Types.UpdateAssetResponse, AWSError>;
|
174 | /**
|
175 | * This operation updates a data set.
|
176 | */
|
177 | updateDataSet(params: DataExchange.Types.UpdateDataSetRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateDataSetResponse) => void): Request<DataExchange.Types.UpdateDataSetResponse, AWSError>;
|
178 | /**
|
179 | * This operation updates a data set.
|
180 | */
|
181 | updateDataSet(callback?: (err: AWSError, data: DataExchange.Types.UpdateDataSetResponse) => void): Request<DataExchange.Types.UpdateDataSetResponse, AWSError>;
|
182 | /**
|
183 | * This operation updates a revision.
|
184 | */
|
185 | updateRevision(params: DataExchange.Types.UpdateRevisionRequest, callback?: (err: AWSError, data: DataExchange.Types.UpdateRevisionResponse) => void): Request<DataExchange.Types.UpdateRevisionResponse, AWSError>;
|
186 | /**
|
187 | * This operation updates a revision.
|
188 | */
|
189 | updateRevision(callback?: (err: AWSError, data: DataExchange.Types.UpdateRevisionResponse) => void): Request<DataExchange.Types.UpdateRevisionResponse, AWSError>;
|
190 | }
|
191 | declare namespace DataExchange {
|
192 | export type Arn = string;
|
193 | export interface AssetDestinationEntry {
|
194 | /**
|
195 | * The unique identifier for the asset.
|
196 | */
|
197 | AssetId: Id;
|
198 | /**
|
199 | * The S3 bucket that is the destination for the asset.
|
200 | */
|
201 | Bucket: __string;
|
202 | /**
|
203 | * The name of the object in Amazon S3 for the asset.
|
204 | */
|
205 | Key?: __string;
|
206 | }
|
207 | export interface AssetDetails {
|
208 | S3SnapshotAsset?: S3SnapshotAsset;
|
209 | }
|
210 | export interface AssetEntry {
|
211 | /**
|
212 | * The ARN for the asset.
|
213 | */
|
214 | Arn: Arn;
|
215 | /**
|
216 | * Information about the asset, including its size.
|
217 | */
|
218 | AssetDetails: AssetDetails;
|
219 | /**
|
220 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
221 | */
|
222 | AssetType: AssetType;
|
223 | /**
|
224 | * The date and time that the asset was created, in ISO 8601 format.
|
225 | */
|
226 | CreatedAt: Timestamp;
|
227 | /**
|
228 | * The unique identifier for the data set associated with this asset.
|
229 | */
|
230 | DataSetId: Id;
|
231 | /**
|
232 | * The unique identifier for the asset.
|
233 | */
|
234 | Id: Id;
|
235 | /**
|
236 | * 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.
|
237 | */
|
238 | Name: AssetName;
|
239 | /**
|
240 | * The unique identifier for the revision associated with this asset.
|
241 | */
|
242 | RevisionId: Id;
|
243 | /**
|
244 | * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
|
245 | */
|
246 | SourceId?: Id;
|
247 | /**
|
248 | * The date and time that the asset was last updated, in ISO 8601 format.
|
249 | */
|
250 | UpdatedAt: Timestamp;
|
251 | }
|
252 | export type AssetName = string;
|
253 | export interface AssetSourceEntry {
|
254 | /**
|
255 | * The S3 bucket that's part of the source of the asset.
|
256 | */
|
257 | Bucket: __string;
|
258 | /**
|
259 | * The name of the object in Amazon S3 for the asset.
|
260 | */
|
261 | Key: __string;
|
262 | }
|
263 | export type AssetType = "S3_SNAPSHOT"|string;
|
264 | export interface CancelJobRequest {
|
265 | /**
|
266 | * The unique identifier for a job.
|
267 | */
|
268 | JobId: __string;
|
269 | }
|
270 | export type Code = "ACCESS_DENIED_EXCEPTION"|"INTERNAL_SERVER_EXCEPTION"|"MALWARE_DETECTED"|"RESOURCE_NOT_FOUND_EXCEPTION"|"SERVICE_QUOTA_EXCEEDED_EXCEPTION"|"VALIDATION_EXCEPTION"|"MALWARE_SCAN_ENCRYPTED_FILE"|string;
|
271 | export interface CreateDataSetRequest {
|
272 | /**
|
273 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
274 | */
|
275 | AssetType: AssetType;
|
276 | /**
|
277 | * A description for the data set. This value can be up to 16,348 characters long.
|
278 | */
|
279 | Description: Description;
|
280 | /**
|
281 | * The name of the data set.
|
282 | */
|
283 | Name: Name;
|
284 | /**
|
285 | * A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
|
286 | */
|
287 | Tags?: MapOf__string;
|
288 | }
|
289 | export interface CreateDataSetResponse {
|
290 | /**
|
291 | * The ARN for the data set.
|
292 | */
|
293 | Arn?: Arn;
|
294 | /**
|
295 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
296 | */
|
297 | AssetType?: AssetType;
|
298 | /**
|
299 | * The date and time that the data set was created, in ISO 8601 format.
|
300 | */
|
301 | CreatedAt?: Timestamp;
|
302 | /**
|
303 | * The description for the data set.
|
304 | */
|
305 | Description?: Description;
|
306 | /**
|
307 | * The unique identifier for the data set.
|
308 | */
|
309 | Id?: Id;
|
310 | /**
|
311 | * The name of the data set.
|
312 | */
|
313 | Name?: Name;
|
314 | /**
|
315 | * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
|
316 | */
|
317 | Origin?: Origin;
|
318 | /**
|
319 | * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
|
320 | */
|
321 | OriginDetails?: OriginDetails;
|
322 | /**
|
323 | * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
|
324 | */
|
325 | SourceId?: Id;
|
326 | /**
|
327 | * The tags for the data set.
|
328 | */
|
329 | Tags?: MapOf__string;
|
330 | /**
|
331 | * The date and time that the data set was last updated, in ISO 8601 format.
|
332 | */
|
333 | UpdatedAt?: Timestamp;
|
334 | }
|
335 | export interface CreateJobRequest {
|
336 | /**
|
337 | * The details for the CreateJob request.
|
338 | */
|
339 | Details: RequestDetails;
|
340 | /**
|
341 | * The type of job to be created.
|
342 | */
|
343 | Type: Type;
|
344 | }
|
345 | export interface CreateJobResponse {
|
346 | /**
|
347 | * The ARN for the job.
|
348 | */
|
349 | Arn?: Arn;
|
350 | /**
|
351 | * The date and time that the job was created, in ISO 8601 format.
|
352 | */
|
353 | CreatedAt?: Timestamp;
|
354 | /**
|
355 | * Details about the job.
|
356 | */
|
357 | Details?: ResponseDetails;
|
358 | /**
|
359 | * The errors associated with jobs.
|
360 | */
|
361 | Errors?: ListOfJobError;
|
362 | /**
|
363 | * The unique identifier for the job.
|
364 | */
|
365 | Id?: Id;
|
366 | /**
|
367 | * The state of the job.
|
368 | */
|
369 | State?: State;
|
370 | /**
|
371 | * The job type.
|
372 | */
|
373 | Type?: Type;
|
374 | /**
|
375 | * The date and time that the job was last updated, in ISO 8601 format.
|
376 | */
|
377 | UpdatedAt?: Timestamp;
|
378 | }
|
379 | export interface CreateRevisionRequest {
|
380 | /**
|
381 | * An optional comment about the revision.
|
382 | */
|
383 | Comment?: __stringMin0Max16384;
|
384 | /**
|
385 | * The unique identifier for a data set.
|
386 | */
|
387 | DataSetId: __string;
|
388 | /**
|
389 | * A revision tag is an optional label that you can assign to a revision when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
|
390 | */
|
391 | Tags?: MapOf__string;
|
392 | }
|
393 | export interface CreateRevisionResponse {
|
394 | /**
|
395 | * The ARN for the revision
|
396 | */
|
397 | Arn?: Arn;
|
398 | /**
|
399 | * An optional comment about the revision.
|
400 | */
|
401 | Comment?: __stringMin0Max16384;
|
402 | /**
|
403 | * The date and time that the revision was created, in ISO 8601 format.
|
404 | */
|
405 | CreatedAt?: Timestamp;
|
406 | /**
|
407 | * The unique identifier for the data set associated with this revision.
|
408 | */
|
409 | DataSetId?: Id;
|
410 | /**
|
411 | * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
|
412 | */
|
413 | Finalized?: __boolean;
|
414 | /**
|
415 | * The unique identifier for the revision.
|
416 | */
|
417 | Id?: Id;
|
418 | /**
|
419 | * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
|
420 | */
|
421 | SourceId?: Id;
|
422 | /**
|
423 | * The tags for the revision.
|
424 | */
|
425 | Tags?: MapOf__string;
|
426 | /**
|
427 | * The date and time that the revision was last updated, in ISO 8601 format.
|
428 | */
|
429 | UpdatedAt?: Timestamp;
|
430 | }
|
431 | export interface DataSetEntry {
|
432 | /**
|
433 | * The ARN for the data set.
|
434 | */
|
435 | Arn: Arn;
|
436 | /**
|
437 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
438 | */
|
439 | AssetType: AssetType;
|
440 | /**
|
441 | * The date and time that the data set was created, in ISO 8601 format.
|
442 | */
|
443 | CreatedAt: Timestamp;
|
444 | /**
|
445 | * The description for the data set.
|
446 | */
|
447 | Description: Description;
|
448 | /**
|
449 | * The unique identifier for the data set.
|
450 | */
|
451 | Id: Id;
|
452 | /**
|
453 | * The name of the data set.
|
454 | */
|
455 | Name: Name;
|
456 | /**
|
457 | * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
|
458 | */
|
459 | Origin: Origin;
|
460 | /**
|
461 | * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
|
462 | */
|
463 | OriginDetails?: OriginDetails;
|
464 | /**
|
465 | * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
|
466 | */
|
467 | SourceId?: Id;
|
468 | /**
|
469 | * The date and time that the data set was last updated, in ISO 8601 format.
|
470 | */
|
471 | UpdatedAt: Timestamp;
|
472 | }
|
473 | export interface DeleteAssetRequest {
|
474 | /**
|
475 | * The unique identifier for an asset.
|
476 | */
|
477 | AssetId: __string;
|
478 | /**
|
479 | * The unique identifier for a data set.
|
480 | */
|
481 | DataSetId: __string;
|
482 | /**
|
483 | * The unique identifier for a revision.
|
484 | */
|
485 | RevisionId: __string;
|
486 | }
|
487 | export interface DeleteDataSetRequest {
|
488 | /**
|
489 | * The unique identifier for a data set.
|
490 | */
|
491 | DataSetId: __string;
|
492 | }
|
493 | export interface DeleteRevisionRequest {
|
494 | /**
|
495 | * The unique identifier for a data set.
|
496 | */
|
497 | DataSetId: __string;
|
498 | /**
|
499 | * The unique identifier for a revision.
|
500 | */
|
501 | RevisionId: __string;
|
502 | }
|
503 | export type Description = string;
|
504 | export interface Details {
|
505 | ImportAssetFromSignedUrlJobErrorDetails?: ImportAssetFromSignedUrlJobErrorDetails;
|
506 | ImportAssetsFromS3JobErrorDetails?: ListOfAssetSourceEntry;
|
507 | }
|
508 | export interface ExportAssetToSignedUrlRequestDetails {
|
509 | /**
|
510 | * The unique identifier for the asset that is exported to a signed URL.
|
511 | */
|
512 | AssetId: Id;
|
513 | /**
|
514 | * The unique identifier for the data set associated with this export job.
|
515 | */
|
516 | DataSetId: Id;
|
517 | /**
|
518 | * The unique identifier for the revision associated with this export request.
|
519 | */
|
520 | RevisionId: Id;
|
521 | }
|
522 | export interface ExportAssetToSignedUrlResponseDetails {
|
523 | /**
|
524 | * The unique identifier for the asset associated with this export job.
|
525 | */
|
526 | AssetId: Id;
|
527 | /**
|
528 | * The unique identifier for the data set associated with this export job.
|
529 | */
|
530 | DataSetId: Id;
|
531 | /**
|
532 | * The unique identifier for the revision associated with this export response.
|
533 | */
|
534 | RevisionId: Id;
|
535 | /**
|
536 | * The signed URL for the export request.
|
537 | */
|
538 | SignedUrl?: __string;
|
539 | /**
|
540 | * The date and time that the signed URL expires, in ISO 8601 format.
|
541 | */
|
542 | SignedUrlExpiresAt?: Timestamp;
|
543 | }
|
544 | export interface ExportAssetsToS3RequestDetails {
|
545 | /**
|
546 | * The destination for the asset.
|
547 | */
|
548 | AssetDestinations: ListOfAssetDestinationEntry;
|
549 | /**
|
550 | * The unique identifier for the data set associated with this export job.
|
551 | */
|
552 | DataSetId: Id;
|
553 | /**
|
554 | * The unique identifier for the revision associated with this export request.
|
555 | */
|
556 | RevisionId: Id;
|
557 | }
|
558 | export interface ExportAssetsToS3ResponseDetails {
|
559 | /**
|
560 | * The destination in Amazon S3 where the asset is exported.
|
561 | */
|
562 | AssetDestinations: ListOfAssetDestinationEntry;
|
563 | /**
|
564 | * The unique identifier for the data set associated with this export job.
|
565 | */
|
566 | DataSetId: Id;
|
567 | /**
|
568 | * The unique identifier for the revision associated with this export response.
|
569 | */
|
570 | RevisionId: Id;
|
571 | }
|
572 | export interface GetAssetRequest {
|
573 | /**
|
574 | * The unique identifier for an asset.
|
575 | */
|
576 | AssetId: __string;
|
577 | /**
|
578 | * The unique identifier for a data set.
|
579 | */
|
580 | DataSetId: __string;
|
581 | /**
|
582 | * The unique identifier for a revision.
|
583 | */
|
584 | RevisionId: __string;
|
585 | }
|
586 | export interface GetAssetResponse {
|
587 | /**
|
588 | * The ARN for the asset.
|
589 | */
|
590 | Arn?: Arn;
|
591 | /**
|
592 | * Information about the asset, including its size.
|
593 | */
|
594 | AssetDetails?: AssetDetails;
|
595 | /**
|
596 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
597 | */
|
598 | AssetType?: AssetType;
|
599 | /**
|
600 | * The date and time that the asset was created, in ISO 8601 format.
|
601 | */
|
602 | CreatedAt?: Timestamp;
|
603 | /**
|
604 | * The unique identifier for the data set associated with this asset.
|
605 | */
|
606 | DataSetId?: Id;
|
607 | /**
|
608 | * The unique identifier for the asset.
|
609 | */
|
610 | Id?: Id;
|
611 | /**
|
612 | * 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.
|
613 | */
|
614 | Name?: AssetName;
|
615 | /**
|
616 | * The unique identifier for the revision associated with this asset.
|
617 | */
|
618 | RevisionId?: Id;
|
619 | /**
|
620 | * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
|
621 | */
|
622 | SourceId?: Id;
|
623 | /**
|
624 | * The date and time that the asset was last updated, in ISO 8601 format.
|
625 | */
|
626 | UpdatedAt?: Timestamp;
|
627 | }
|
628 | export interface GetDataSetRequest {
|
629 | /**
|
630 | * The unique identifier for a data set.
|
631 | */
|
632 | DataSetId: __string;
|
633 | }
|
634 | export interface GetDataSetResponse {
|
635 | /**
|
636 | * The ARN for the data set.
|
637 | */
|
638 | Arn?: Arn;
|
639 | /**
|
640 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
641 | */
|
642 | AssetType?: AssetType;
|
643 | /**
|
644 | * The date and time that the data set was created, in ISO 8601 format.
|
645 | */
|
646 | CreatedAt?: Timestamp;
|
647 | /**
|
648 | * The description for the data set.
|
649 | */
|
650 | Description?: Description;
|
651 | /**
|
652 | * The unique identifier for the data set.
|
653 | */
|
654 | Id?: Id;
|
655 | /**
|
656 | * The name of the data set.
|
657 | */
|
658 | Name?: Name;
|
659 | /**
|
660 | * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
|
661 | */
|
662 | Origin?: Origin;
|
663 | /**
|
664 | * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
|
665 | */
|
666 | OriginDetails?: OriginDetails;
|
667 | /**
|
668 | * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
|
669 | */
|
670 | SourceId?: Id;
|
671 | /**
|
672 | * The tags for the data set.
|
673 | */
|
674 | Tags?: MapOf__string;
|
675 | /**
|
676 | * The date and time that the data set was last updated, in ISO 8601 format.
|
677 | */
|
678 | UpdatedAt?: Timestamp;
|
679 | }
|
680 | export interface GetJobRequest {
|
681 | /**
|
682 | * The unique identifier for a job.
|
683 | */
|
684 | JobId: __string;
|
685 | }
|
686 | export interface GetJobResponse {
|
687 | /**
|
688 | * The ARN for the job.
|
689 | */
|
690 | Arn?: Arn;
|
691 | /**
|
692 | * The date and time that the job was created, in ISO 8601 format.
|
693 | */
|
694 | CreatedAt?: Timestamp;
|
695 | /**
|
696 | * Details about the job.
|
697 | */
|
698 | Details?: ResponseDetails;
|
699 | /**
|
700 | * The errors associated with jobs.
|
701 | */
|
702 | Errors?: ListOfJobError;
|
703 | /**
|
704 | * The unique identifier for the job.
|
705 | */
|
706 | Id?: Id;
|
707 | /**
|
708 | * The state of the job.
|
709 | */
|
710 | State?: State;
|
711 | /**
|
712 | * The job type.
|
713 | */
|
714 | Type?: Type;
|
715 | /**
|
716 | * The date and time that the job was last updated, in ISO 8601 format.
|
717 | */
|
718 | UpdatedAt?: Timestamp;
|
719 | }
|
720 | export interface GetRevisionRequest {
|
721 | /**
|
722 | * The unique identifier for a data set.
|
723 | */
|
724 | DataSetId: __string;
|
725 | /**
|
726 | * The unique identifier for a revision.
|
727 | */
|
728 | RevisionId: __string;
|
729 | }
|
730 | export interface GetRevisionResponse {
|
731 | /**
|
732 | * The ARN for the revision
|
733 | */
|
734 | Arn?: Arn;
|
735 | /**
|
736 | * An optional comment about the revision.
|
737 | */
|
738 | Comment?: __stringMin0Max16384;
|
739 | /**
|
740 | * The date and time that the revision was created, in ISO 8601 format.
|
741 | */
|
742 | CreatedAt?: Timestamp;
|
743 | /**
|
744 | * The unique identifier for the data set associated with this revision.
|
745 | */
|
746 | DataSetId?: Id;
|
747 | /**
|
748 | * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
|
749 | */
|
750 | Finalized?: __boolean;
|
751 | /**
|
752 | * The unique identifier for the revision.
|
753 | */
|
754 | Id?: Id;
|
755 | /**
|
756 | * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
|
757 | */
|
758 | SourceId?: Id;
|
759 | /**
|
760 | * The tags for the revision.
|
761 | */
|
762 | Tags?: MapOf__string;
|
763 | /**
|
764 | * The date and time that the revision was last updated, in ISO 8601 format.
|
765 | */
|
766 | UpdatedAt?: Timestamp;
|
767 | }
|
768 | export type Id = string;
|
769 | export interface ImportAssetFromSignedUrlJobErrorDetails {
|
770 | AssetName: AssetName;
|
771 | }
|
772 | export interface ImportAssetFromSignedUrlRequestDetails {
|
773 | /**
|
774 | * The name of the asset. When importing from Amazon S3, the S3 object key is used as the asset name.
|
775 | */
|
776 | AssetName: AssetName;
|
777 | /**
|
778 | * The unique identifier for the data set associated with this import job.
|
779 | */
|
780 | DataSetId: Id;
|
781 | /**
|
782 | * The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.
|
783 | */
|
784 | Md5Hash: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
|
785 | /**
|
786 | * The unique identifier for the revision associated with this import request.
|
787 | */
|
788 | RevisionId: Id;
|
789 | }
|
790 | export interface ImportAssetFromSignedUrlResponseDetails {
|
791 | /**
|
792 | * The name for the asset associated with this import response.
|
793 | */
|
794 | AssetName: AssetName;
|
795 | /**
|
796 | * The unique identifier for the data set associated with this import job.
|
797 | */
|
798 | DataSetId: Id;
|
799 | /**
|
800 | * The Base64-encoded Md5 hash for the asset, used to ensure the integrity of the file at that location.
|
801 | */
|
802 | Md5Hash?: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093;
|
803 | /**
|
804 | * The unique identifier for the revision associated with this import response.
|
805 | */
|
806 | RevisionId: Id;
|
807 | /**
|
808 | * The signed URL.
|
809 | */
|
810 | SignedUrl?: __string;
|
811 | /**
|
812 | * The time and date at which the signed URL expires, in ISO 8601 format.
|
813 | */
|
814 | SignedUrlExpiresAt?: Timestamp;
|
815 | }
|
816 | export interface ImportAssetsFromS3RequestDetails {
|
817 | /**
|
818 | * Is a list of S3 bucket and object key pairs.
|
819 | */
|
820 | AssetSources: ListOfAssetSourceEntry;
|
821 | /**
|
822 | * The unique identifier for the data set associated with this import job.
|
823 | */
|
824 | DataSetId: Id;
|
825 | /**
|
826 | * The unique identifier for the revision associated with this import request.
|
827 | */
|
828 | RevisionId: Id;
|
829 | }
|
830 | export interface ImportAssetsFromS3ResponseDetails {
|
831 | /**
|
832 | * Is a list of Amazon S3 bucket and object key pairs.
|
833 | */
|
834 | AssetSources: ListOfAssetSourceEntry;
|
835 | /**
|
836 | * The unique identifier for the data set associated with this import job.
|
837 | */
|
838 | DataSetId: Id;
|
839 | /**
|
840 | * The unique identifier for the revision associated with this import response.
|
841 | */
|
842 | RevisionId: Id;
|
843 | }
|
844 | export interface JobEntry {
|
845 | /**
|
846 | * The ARN for the job.
|
847 | */
|
848 | Arn: Arn;
|
849 | /**
|
850 | * The date and time that the job was created, in ISO 8601 format.
|
851 | */
|
852 | CreatedAt: Timestamp;
|
853 | /**
|
854 | * Details of the operation to be performed by the job, such as export destination details or import source details.
|
855 | */
|
856 | Details: ResponseDetails;
|
857 | /**
|
858 | * Errors for jobs.
|
859 | */
|
860 | Errors?: ListOfJobError;
|
861 | /**
|
862 | * The unique identifier for the job.
|
863 | */
|
864 | Id: Id;
|
865 | /**
|
866 | * The state of the job.
|
867 | */
|
868 | State: State;
|
869 | /**
|
870 | * The job type.
|
871 | */
|
872 | Type: Type;
|
873 | /**
|
874 | * The date and time that the job was last updated, in ISO 8601 format.
|
875 | */
|
876 | UpdatedAt: Timestamp;
|
877 | }
|
878 | export interface JobError {
|
879 | /**
|
880 | * The code for the job error.
|
881 | */
|
882 | Code: Code;
|
883 | Details?: Details;
|
884 | /**
|
885 | * The name of the limit that was reached.
|
886 | */
|
887 | LimitName?: JobErrorLimitName;
|
888 | /**
|
889 | * The value of the exceeded limit.
|
890 | */
|
891 | LimitValue?: __double;
|
892 | /**
|
893 | * The message related to the job error.
|
894 | */
|
895 | Message: __string;
|
896 | /**
|
897 | * The unqiue identifier for the resource related to the error.
|
898 | */
|
899 | ResourceId?: __string;
|
900 | /**
|
901 | * The type of resource related to the error.
|
902 | */
|
903 | ResourceType?: JobErrorResourceTypes;
|
904 | }
|
905 | export type JobErrorLimitName = "Assets per revision"|"Asset size in GB"|string;
|
906 | export type JobErrorResourceTypes = "REVISION"|"ASSET"|string;
|
907 | export interface ListDataSetRevisionsRequest {
|
908 | /**
|
909 | * The unique identifier for a data set.
|
910 | */
|
911 | DataSetId: __string;
|
912 | /**
|
913 | * The maximum number of results returned by a single call.
|
914 | */
|
915 | MaxResults?: MaxResults;
|
916 | /**
|
917 | * The token value retrieved from a previous call to access the next page of results.
|
918 | */
|
919 | NextToken?: __string;
|
920 | }
|
921 | export interface ListDataSetRevisionsResponse {
|
922 | /**
|
923 | * The token value retrieved from a previous call to access the next page of results.
|
924 | */
|
925 | NextToken?: NextToken;
|
926 | /**
|
927 | * The asset objects listed by the request.
|
928 | */
|
929 | Revisions?: ListOfRevisionEntry;
|
930 | }
|
931 | export interface ListDataSetsRequest {
|
932 | /**
|
933 | * The maximum number of results returned by a single call.
|
934 | */
|
935 | MaxResults?: MaxResults;
|
936 | /**
|
937 | * The token value retrieved from a previous call to access the next page of results.
|
938 | */
|
939 | NextToken?: __string;
|
940 | /**
|
941 | * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
|
942 | */
|
943 | Origin?: __string;
|
944 | }
|
945 | export interface ListDataSetsResponse {
|
946 | /**
|
947 | * The data set objects listed by the request.
|
948 | */
|
949 | DataSets?: ListOfDataSetEntry;
|
950 | /**
|
951 | * The token value retrieved from a previous call to access the next page of results.
|
952 | */
|
953 | NextToken?: NextToken;
|
954 | }
|
955 | export interface ListJobsRequest {
|
956 | /**
|
957 | * The unique identifier for a data set.
|
958 | */
|
959 | DataSetId?: __string;
|
960 | /**
|
961 | * The maximum number of results returned by a single call.
|
962 | */
|
963 | MaxResults?: MaxResults;
|
964 | /**
|
965 | * The token value retrieved from a previous call to access the next page of results.
|
966 | */
|
967 | NextToken?: __string;
|
968 | /**
|
969 | * The unique identifier for a revision.
|
970 | */
|
971 | RevisionId?: __string;
|
972 | }
|
973 | export interface ListJobsResponse {
|
974 | /**
|
975 | * The jobs listed by the request.
|
976 | */
|
977 | Jobs?: ListOfJobEntry;
|
978 | /**
|
979 | * The token value retrieved from a previous call to access the next page of results.
|
980 | */
|
981 | NextToken?: NextToken;
|
982 | }
|
983 | export type ListOfAssetDestinationEntry = AssetDestinationEntry[];
|
984 | export type ListOfAssetSourceEntry = AssetSourceEntry[];
|
985 | export interface ListRevisionAssetsRequest {
|
986 | /**
|
987 | * The unique identifier for a data set.
|
988 | */
|
989 | DataSetId: __string;
|
990 | /**
|
991 | * The maximum number of results returned by a single call.
|
992 | */
|
993 | MaxResults?: MaxResults;
|
994 | /**
|
995 | * The token value retrieved from a previous call to access the next page of results.
|
996 | */
|
997 | NextToken?: __string;
|
998 | /**
|
999 | * The unique identifier for a revision.
|
1000 | */
|
1001 | RevisionId: __string;
|
1002 | }
|
1003 | export interface ListRevisionAssetsResponse {
|
1004 | /**
|
1005 | * The asset objects listed by the request.
|
1006 | */
|
1007 | Assets?: ListOfAssetEntry;
|
1008 | /**
|
1009 | * The token value retrieved from a previous call to access the next page of results.
|
1010 | */
|
1011 | NextToken?: NextToken;
|
1012 | }
|
1013 | export interface ListTagsForResourceRequest {
|
1014 | /**
|
1015 | * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
|
1016 | */
|
1017 | ResourceArn: __string;
|
1018 | }
|
1019 | export interface ListTagsForResourceResponse {
|
1020 | /**
|
1021 | * A label that consists of a customer-defined key and an optional value.
|
1022 | */
|
1023 | Tags?: MapOf__string;
|
1024 | }
|
1025 | export type MaxResults = number;
|
1026 | export type Name = string;
|
1027 | export type NextToken = string;
|
1028 | export type Origin = "OWNED"|"ENTITLED"|string;
|
1029 | export interface OriginDetails {
|
1030 | ProductId: __string;
|
1031 | }
|
1032 | export interface RequestDetails {
|
1033 | /**
|
1034 | * Details about the export to signed URL request.
|
1035 | */
|
1036 | ExportAssetToSignedUrl?: ExportAssetToSignedUrlRequestDetails;
|
1037 | /**
|
1038 | * Details about the export to Amazon S3 request.
|
1039 | */
|
1040 | ExportAssetsToS3?: ExportAssetsToS3RequestDetails;
|
1041 | /**
|
1042 | * Details about the import from signed URL request.
|
1043 | */
|
1044 | ImportAssetFromSignedUrl?: ImportAssetFromSignedUrlRequestDetails;
|
1045 | /**
|
1046 | * Details about the import from Amazon S3 request.
|
1047 | */
|
1048 | ImportAssetsFromS3?: ImportAssetsFromS3RequestDetails;
|
1049 | }
|
1050 | export interface ResponseDetails {
|
1051 | /**
|
1052 | * Details for the export to signed URL response.
|
1053 | */
|
1054 | ExportAssetToSignedUrl?: ExportAssetToSignedUrlResponseDetails;
|
1055 | /**
|
1056 | * Details for the export to Amazon S3 response.
|
1057 | */
|
1058 | ExportAssetsToS3?: ExportAssetsToS3ResponseDetails;
|
1059 | /**
|
1060 | * Details for the import from signed URL response.
|
1061 | */
|
1062 | ImportAssetFromSignedUrl?: ImportAssetFromSignedUrlResponseDetails;
|
1063 | /**
|
1064 | * Details for the import from Amazon S3 response.
|
1065 | */
|
1066 | ImportAssetsFromS3?: ImportAssetsFromS3ResponseDetails;
|
1067 | }
|
1068 | export interface RevisionEntry {
|
1069 | /**
|
1070 | * The ARN for the revision.
|
1071 | */
|
1072 | Arn: Arn;
|
1073 | /**
|
1074 | * An optional comment about the revision.
|
1075 | */
|
1076 | Comment?: __stringMin0Max16384;
|
1077 | /**
|
1078 | * The date and time that the revision was created, in ISO 8601 format.
|
1079 | */
|
1080 | CreatedAt: Timestamp;
|
1081 | /**
|
1082 | * The unique identifier for the data set associated with this revision.
|
1083 | */
|
1084 | DataSetId: Id;
|
1085 | /**
|
1086 | * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
|
1087 | */
|
1088 | Finalized?: __boolean;
|
1089 | /**
|
1090 | * The unique identifier for the revision.
|
1091 | */
|
1092 | Id: Id;
|
1093 | /**
|
1094 | * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
|
1095 | */
|
1096 | SourceId?: Id;
|
1097 | /**
|
1098 | * The date and time that the revision was last updated, in ISO 8601 format.
|
1099 | */
|
1100 | UpdatedAt: Timestamp;
|
1101 | }
|
1102 | export interface S3SnapshotAsset {
|
1103 | /**
|
1104 | * The size of the S3 object that is the object.
|
1105 | */
|
1106 | Size: __doubleMin0;
|
1107 | }
|
1108 | export interface StartJobRequest {
|
1109 | /**
|
1110 | * The unique identifier for a job.
|
1111 | */
|
1112 | JobId: __string;
|
1113 | }
|
1114 | export interface StartJobResponse {
|
1115 | }
|
1116 | export type State = "WAITING"|"IN_PROGRESS"|"ERROR"|"COMPLETED"|"CANCELLED"|"TIMED_OUT"|string;
|
1117 | export interface TagResourceRequest {
|
1118 | /**
|
1119 | * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
|
1120 | */
|
1121 | ResourceArn: __string;
|
1122 | /**
|
1123 | * A label that consists of a customer-defined key and an optional value.
|
1124 | */
|
1125 | Tags: MapOf__string;
|
1126 | }
|
1127 | export type Timestamp = Date;
|
1128 | export type Type = "IMPORT_ASSETS_FROM_S3"|"IMPORT_ASSET_FROM_SIGNED_URL"|"EXPORT_ASSETS_TO_S3"|"EXPORT_ASSET_TO_SIGNED_URL"|string;
|
1129 | export interface UntagResourceRequest {
|
1130 | /**
|
1131 | * An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
|
1132 | */
|
1133 | ResourceArn: __string;
|
1134 | /**
|
1135 | * The key tags.
|
1136 | */
|
1137 | TagKeys: ListOf__string;
|
1138 | }
|
1139 | export interface UpdateAssetRequest {
|
1140 | /**
|
1141 | * The unique identifier for an asset.
|
1142 | */
|
1143 | AssetId: __string;
|
1144 | /**
|
1145 | * The unique identifier for a data set.
|
1146 | */
|
1147 | DataSetId: __string;
|
1148 | /**
|
1149 | * 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.
|
1150 | */
|
1151 | Name: AssetName;
|
1152 | /**
|
1153 | * The unique identifier for a revision.
|
1154 | */
|
1155 | RevisionId: __string;
|
1156 | }
|
1157 | export interface UpdateAssetResponse {
|
1158 | /**
|
1159 | * The ARN for the asset.
|
1160 | */
|
1161 | Arn?: Arn;
|
1162 | /**
|
1163 | * Information about the asset, including its size.
|
1164 | */
|
1165 | AssetDetails?: AssetDetails;
|
1166 | /**
|
1167 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
1168 | */
|
1169 | AssetType?: AssetType;
|
1170 | /**
|
1171 | * The date and time that the asset was created, in ISO 8601 format.
|
1172 | */
|
1173 | CreatedAt?: Timestamp;
|
1174 | /**
|
1175 | * The unique identifier for the data set associated with this asset.
|
1176 | */
|
1177 | DataSetId?: Id;
|
1178 | /**
|
1179 | * The unique identifier for the asset.
|
1180 | */
|
1181 | Id?: Id;
|
1182 | /**
|
1183 | * 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.
|
1184 | */
|
1185 | Name?: AssetName;
|
1186 | /**
|
1187 | * The unique identifier for the revision associated with this asset.
|
1188 | */
|
1189 | RevisionId?: Id;
|
1190 | /**
|
1191 | * The asset ID of the owned asset corresponding to the entitled asset being viewed. This parameter is returned when an asset owner is viewing the entitled copy of its owned asset.
|
1192 | */
|
1193 | SourceId?: Id;
|
1194 | /**
|
1195 | * The date and time that the asset was last updated, in ISO 8601 format.
|
1196 | */
|
1197 | UpdatedAt?: Timestamp;
|
1198 | }
|
1199 | export interface UpdateDataSetRequest {
|
1200 | /**
|
1201 | * The unique identifier for a data set.
|
1202 | */
|
1203 | DataSetId: __string;
|
1204 | /**
|
1205 | * The description for the data set.
|
1206 | */
|
1207 | Description?: Description;
|
1208 | /**
|
1209 | * The name of the data set.
|
1210 | */
|
1211 | Name?: Name;
|
1212 | }
|
1213 | export interface UpdateDataSetResponse {
|
1214 | /**
|
1215 | * The ARN for the data set.
|
1216 | */
|
1217 | Arn?: Arn;
|
1218 | /**
|
1219 | * The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
|
1220 | */
|
1221 | AssetType?: AssetType;
|
1222 | /**
|
1223 | * The date and time that the data set was created, in ISO 8601 format.
|
1224 | */
|
1225 | CreatedAt?: Timestamp;
|
1226 | /**
|
1227 | * The description for the data set.
|
1228 | */
|
1229 | Description?: Description;
|
1230 | /**
|
1231 | * The unique identifier for the data set.
|
1232 | */
|
1233 | Id?: Id;
|
1234 | /**
|
1235 | * The name of the data set.
|
1236 | */
|
1237 | Name?: Name;
|
1238 | /**
|
1239 | * A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
|
1240 | */
|
1241 | Origin?: Origin;
|
1242 | /**
|
1243 | * If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
|
1244 | */
|
1245 | OriginDetails?: OriginDetails;
|
1246 | /**
|
1247 | * The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
|
1248 | */
|
1249 | SourceId?: Id;
|
1250 | /**
|
1251 | * The date and time that the data set was last updated, in ISO 8601 format.
|
1252 | */
|
1253 | UpdatedAt?: Timestamp;
|
1254 | }
|
1255 | export interface UpdateRevisionRequest {
|
1256 | /**
|
1257 | * An optional comment about the revision.
|
1258 | */
|
1259 | Comment?: __stringMin0Max16384;
|
1260 | /**
|
1261 | * The unique identifier for a data set.
|
1262 | */
|
1263 | DataSetId: __string;
|
1264 | /**
|
1265 | * Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.
|
1266 | */
|
1267 | Finalized?: __boolean;
|
1268 | /**
|
1269 | * The unique identifier for a revision.
|
1270 | */
|
1271 | RevisionId: __string;
|
1272 | }
|
1273 | export interface UpdateRevisionResponse {
|
1274 | /**
|
1275 | * The ARN for the revision.
|
1276 | */
|
1277 | Arn?: Arn;
|
1278 | /**
|
1279 | * An optional comment about the revision.
|
1280 | */
|
1281 | Comment?: __stringMin0Max16384;
|
1282 | /**
|
1283 | * The date and time that the revision was created, in ISO 8601 format.
|
1284 | */
|
1285 | CreatedAt?: Timestamp;
|
1286 | /**
|
1287 | * The unique identifier for the data set associated with this revision.
|
1288 | */
|
1289 | DataSetId?: Id;
|
1290 | /**
|
1291 | * To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.
|
1292 | */
|
1293 | Finalized?: __boolean;
|
1294 | /**
|
1295 | * The unique identifier for the revision.
|
1296 | */
|
1297 | Id?: Id;
|
1298 | /**
|
1299 | * The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter is returned when a revision owner is viewing the entitled copy of its owned revision.
|
1300 | */
|
1301 | SourceId?: Id;
|
1302 | /**
|
1303 | * The date and time that the revision was last updated, in ISO 8601 format.
|
1304 | */
|
1305 | UpdatedAt?: Timestamp;
|
1306 | }
|
1307 | export type __boolean = boolean;
|
1308 | export type __double = number;
|
1309 | export type __doubleMin0 = number;
|
1310 | export type ListOfAssetEntry = AssetEntry[];
|
1311 | export type ListOfDataSetEntry = DataSetEntry[];
|
1312 | export type ListOfJobEntry = JobEntry[];
|
1313 | export type ListOfJobError = JobError[];
|
1314 | export type ListOfRevisionEntry = RevisionEntry[];
|
1315 | export type ListOf__string = __string[];
|
1316 | export type MapOf__string = {[key: string]: __string};
|
1317 | export type __string = string;
|
1318 | export type __stringMin0Max16384 = string;
|
1319 | export type __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = string;
|
1320 | /**
|
1321 | * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1322 | */
|
1323 | export type apiVersion = "2017-07-25"|"latest"|string;
|
1324 | export interface ClientApiVersions {
|
1325 | /**
|
1326 | * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1327 | */
|
1328 | apiVersion?: apiVersion;
|
1329 | }
|
1330 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1331 | /**
|
1332 | * Contains interfaces for use with the DataExchange client.
|
1333 | */
|
1334 | export import Types = DataExchange;
|
1335 | }
|
1336 | export = DataExchange;
|