aws-sdk-dataexchange 1.18.0 → 1.22.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.
@@ -24,6 +24,8 @@ module Aws::DataExchange
24
24
  include Aws::Structure
25
25
  end
26
26
 
27
+ # What occurs after a certain event.
28
+ #
27
29
  # @note When making an API call, you may pass Action
28
30
  # data as a hash:
29
31
  #
@@ -41,7 +43,7 @@ module Aws::DataExchange
41
43
  # }
42
44
  #
43
45
  # @!attribute [rw] export_revision_to_s3
44
- # Details of the operation to be performed by the job.
46
+ # Details for the export revision to Amazon S3 action.
45
47
  # @return [Types::AutoExportRevisionToS3RequestDetails]
46
48
  #
47
49
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Action AWS API Documentation
@@ -52,6 +54,60 @@ module Aws::DataExchange
52
54
  include Aws::Structure
53
55
  end
54
56
 
57
+ # The API Gateway API that is the asset.
58
+ #
59
+ # @!attribute [rw] api_description
60
+ # The API description of the API asset.
61
+ # @return [String]
62
+ #
63
+ # @!attribute [rw] api_endpoint
64
+ # The API endpoint of the API asset.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] api_id
68
+ # The unique identifier of the API asset.
69
+ # @return [String]
70
+ #
71
+ # @!attribute [rw] api_key
72
+ # The API key of the API asset.
73
+ # @return [String]
74
+ #
75
+ # @!attribute [rw] api_name
76
+ # The API name of the API asset.
77
+ # @return [String]
78
+ #
79
+ # @!attribute [rw] api_specification_download_url
80
+ # The download URL of the API specification of the API asset.
81
+ # @return [String]
82
+ #
83
+ # @!attribute [rw] api_specification_download_url_expires_at
84
+ # The date and time that the upload URL expires, in ISO 8601 format.
85
+ # @return [Time]
86
+ #
87
+ # @!attribute [rw] protocol_type
88
+ # The protocol type of the API asset.
89
+ # @return [String]
90
+ #
91
+ # @!attribute [rw] stage
92
+ # The stage of the API asset.
93
+ # @return [String]
94
+ #
95
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ApiGatewayApiAsset AWS API Documentation
96
+ #
97
+ class ApiGatewayApiAsset < Struct.new(
98
+ :api_description,
99
+ :api_endpoint,
100
+ :api_id,
101
+ :api_key,
102
+ :api_name,
103
+ :api_specification_download_url,
104
+ :api_specification_download_url_expires_at,
105
+ :protocol_type,
106
+ :stage)
107
+ SENSITIVE = []
108
+ include Aws::Structure
109
+ end
110
+
55
111
  # The destination for the asset.
56
112
  #
57
113
  # @note When making an API call, you may pass AssetDestinationEntry
@@ -85,34 +141,48 @@ module Aws::DataExchange
85
141
  include Aws::Structure
86
142
  end
87
143
 
144
+ # Information about the asset.
145
+ #
88
146
  # @!attribute [rw] s3_snapshot_asset
89
147
  # The S3 object that is the asset.
90
148
  # @return [Types::S3SnapshotAsset]
91
149
  #
150
+ # @!attribute [rw] redshift_data_share_asset
151
+ # The Amazon Redshift datashare that is the asset.
152
+ # @return [Types::RedshiftDataShareAsset]
153
+ #
154
+ # @!attribute [rw] api_gateway_api_asset
155
+ # Information about the API Gateway API asset.
156
+ # @return [Types::ApiGatewayApiAsset]
157
+ #
92
158
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
93
159
  #
94
160
  class AssetDetails < Struct.new(
95
- :s3_snapshot_asset)
161
+ :s3_snapshot_asset,
162
+ :redshift_data_share_asset,
163
+ :api_gateway_api_asset)
96
164
  SENSITIVE = []
97
165
  include Aws::Structure
98
166
  end
99
167
 
100
- # An asset in AWS Data Exchange is a piece of data that can be stored as
101
- # an S3 object. The asset can be a structured data file, an image file,
102
- # or some other data file. When you create an import job for your files,
103
- # you create an asset in AWS Data Exchange for each of those files.
168
+ # An asset in AWS Data Exchange is a piece of data (S3 object) or a
169
+ # means of fulfilling data (Amazon Redshift datashare or Amazon API
170
+ # Gateway API). The asset can be a structured data file, an image file,
171
+ # or some other data file that can be stored as an S3 object, an Amazon
172
+ # API Gateway API, or an Amazon Redshift datashare (Preview). When you
173
+ # create an import job for your files, API Gateway APIs, or Amazon
174
+ # Redshift datashares, you create an asset in AWS Data Exchange.
104
175
  #
105
176
  # @!attribute [rw] arn
106
177
  # The ARN for the asset.
107
178
  # @return [String]
108
179
  #
109
180
  # @!attribute [rw] asset_details
110
- # Information about the asset, including its size.
181
+ # Information about the asset.
111
182
  # @return [Types::AssetDetails]
112
183
  #
113
184
  # @!attribute [rw] asset_type
114
- # The type of file your data is stored in. Currently, the supported
115
- # asset type is S3\_SNAPSHOT.
185
+ # The type of asset that is added to a data set.
116
186
  # @return [String]
117
187
  #
118
188
  # @!attribute [rw] created_at
@@ -130,7 +200,10 @@ module Aws::DataExchange
130
200
  # @!attribute [rw] name
131
201
  # The name of the asset. When importing from Amazon S3, the S3 object
132
202
  # key is used as the asset name. When exporting to Amazon S3, the
133
- # asset name is used as default target S3 object key.
203
+ # asset name is used as default target S3 object key. When importing
204
+ # from Amazon API Gateway API, the API name is used as the asset name.
205
+ # When importing from Amazon Redshift, the datashare name is used as
206
+ # the asset name.
134
207
  # @return [String]
135
208
  #
136
209
  # @!attribute [rw] revision_id
@@ -243,9 +316,7 @@ module Aws::DataExchange
243
316
  # }
244
317
  #
245
318
  # @!attribute [rw] encryption
246
- # Encryption configuration of the export job. Includes the encryption
247
- # type in addition to the AWS KMS key. The KMS key is only necessary
248
- # if you chose the KMS encryption. type.
319
+ # Encryption configuration for the auto export job.
249
320
  # @return [Types::ExportServerSideEncryption]
250
321
  #
251
322
  # @!attribute [rw] revision_destination
@@ -312,7 +383,7 @@ module Aws::DataExchange
312
383
  # data as a hash:
313
384
  #
314
385
  # {
315
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
386
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
316
387
  # description: "Description", # required
317
388
  # name: "Name", # required
318
389
  # tags: {
@@ -321,8 +392,7 @@ module Aws::DataExchange
321
392
  # }
322
393
  #
323
394
  # @!attribute [rw] asset_type
324
- # The type of file your data is stored in. Currently, the supported
325
- # asset type is S3\_SNAPSHOT.
395
+ # The type of asset that is added to a data set.
326
396
  # @return [String]
327
397
  #
328
398
  # @!attribute [rw] description
@@ -359,8 +429,7 @@ module Aws::DataExchange
359
429
  # @return [String]
360
430
  #
361
431
  # @!attribute [rw] asset_type
362
- # The type of file your data is stored in. Currently, the supported
363
- # asset type is S3\_SNAPSHOT.
432
+ # The type of asset that is added to a data set.
364
433
  # @return [String]
365
434
  #
366
435
  # @!attribute [rw] created_at
@@ -389,6 +458,7 @@ module Aws::DataExchange
389
458
  # @return [String]
390
459
  #
391
460
  # @!attribute [rw] origin_details
461
+ # Information about the origin of the data set.
392
462
  # @return [Types::OriginDetails]
393
463
  #
394
464
  # @!attribute [rw] source_id
@@ -464,6 +534,7 @@ module Aws::DataExchange
464
534
  end
465
535
 
466
536
  # @!attribute [rw] action
537
+ # What occurs after a certain event.
467
538
  # @return [Types::Action]
468
539
  #
469
540
  # @!attribute [rw] arn
@@ -477,6 +548,7 @@ module Aws::DataExchange
477
548
  # @return [Time]
478
549
  #
479
550
  # @!attribute [rw] event
551
+ # What occurs to start an action.
480
552
  # @return [Types::Event]
481
553
  #
482
554
  # @!attribute [rw] id
@@ -562,8 +634,28 @@ module Aws::DataExchange
562
634
  # data_set_id: "Id", # required
563
635
  # revision_id: "Id", # required
564
636
  # },
637
+ # import_assets_from_redshift_data_shares: {
638
+ # asset_sources: [ # required
639
+ # {
640
+ # data_share_arn: "__string", # required
641
+ # },
642
+ # ],
643
+ # data_set_id: "Id", # required
644
+ # revision_id: "Id", # required
645
+ # },
646
+ # import_asset_from_api_gateway_api: {
647
+ # api_description: "ApiDescription",
648
+ # api_id: "__string", # required
649
+ # api_key: "__string",
650
+ # api_name: "__string", # required
651
+ # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
652
+ # data_set_id: "Id", # required
653
+ # protocol_type: "REST", # required, accepts REST
654
+ # revision_id: "Id", # required
655
+ # stage: "__string", # required
656
+ # },
565
657
  # },
566
- # type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3
658
+ # type: "IMPORT_ASSETS_FROM_S3", # required, accepts IMPORT_ASSETS_FROM_S3, IMPORT_ASSET_FROM_SIGNED_URL, EXPORT_ASSETS_TO_S3, EXPORT_ASSET_TO_SIGNED_URL, EXPORT_REVISIONS_TO_S3, IMPORT_ASSETS_FROM_REDSHIFT_DATA_SHARES, IMPORT_ASSET_FROM_API_GATEWAY_API
567
659
  # }
568
660
  #
569
661
  # @!attribute [rw] details
@@ -730,8 +822,7 @@ module Aws::DataExchange
730
822
  # @return [String]
731
823
  #
732
824
  # @!attribute [rw] asset_type
733
- # The type of file your data is stored in. Currently, the supported
734
- # asset type is S3\_SNAPSHOT.
825
+ # The type of asset that is added to a data set.
735
826
  # @return [String]
736
827
  #
737
828
  # @!attribute [rw] created_at
@@ -875,11 +966,14 @@ module Aws::DataExchange
875
966
  include Aws::Structure
876
967
  end
877
968
 
969
+ # Information about the job error.
970
+ #
878
971
  # @!attribute [rw] import_asset_from_signed_url_job_error_details
972
+ # Information about the job error.
879
973
  # @return [Types::ImportAssetFromSignedUrlJobErrorDetails]
880
974
  #
881
975
  # @!attribute [rw] import_assets_from_s3_job_error_details
882
- # The list of sources for the assets.
976
+ # Information about the job error.
883
977
  # @return [Array<Types::AssetSourceEntry>]
884
978
  #
885
979
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Details AWS API Documentation
@@ -891,6 +985,8 @@ module Aws::DataExchange
891
985
  include Aws::Structure
892
986
  end
893
987
 
988
+ # What occurs to start an action.
989
+ #
894
990
  # @note When making an API call, you may pass Event
895
991
  # data as a hash:
896
992
  #
@@ -901,6 +997,7 @@ module Aws::DataExchange
901
997
  # }
902
998
  #
903
999
  # @!attribute [rw] revision_published
1000
+ # What occurs to start the revision publish action.
904
1001
  # @return [Types::RevisionPublished]
905
1002
  #
906
1003
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Event AWS API Documentation
@@ -920,7 +1017,7 @@ module Aws::DataExchange
920
1017
  # @return [Types::Action]
921
1018
  #
922
1019
  # @!attribute [rw] arn
923
- # The ARN for the event action.
1020
+ # The Amazon Resource Name (ARN) for the event action.
924
1021
  # @return [String]
925
1022
  #
926
1023
  # @!attribute [rw] created_at
@@ -1161,21 +1258,21 @@ module Aws::DataExchange
1161
1258
  # Encryption configuration of the export job.
1162
1259
  # @return [Types::ExportServerSideEncryption]
1163
1260
  #
1164
- # @!attribute [rw] event_action_arn
1165
- # The ARN for the event action.
1166
- # @return [String]
1167
- #
1168
1261
  # @!attribute [rw] revision_destinations
1169
1262
  # The destination in Amazon S3 where the revision is exported.
1170
1263
  # @return [Array<Types::RevisionDestinationEntry>]
1171
1264
  #
1265
+ # @!attribute [rw] event_action_arn
1266
+ # The Amazon Resource Name (ARN) of the event action.
1267
+ # @return [String]
1268
+ #
1172
1269
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportRevisionsToS3ResponseDetails AWS API Documentation
1173
1270
  #
1174
1271
  class ExportRevisionsToS3ResponseDetails < Struct.new(
1175
1272
  :data_set_id,
1176
1273
  :encryption,
1177
- :event_action_arn,
1178
- :revision_destinations)
1274
+ :revision_destinations,
1275
+ :event_action_arn)
1179
1276
  SENSITIVE = []
1180
1277
  include Aws::Structure
1181
1278
  end
@@ -1246,11 +1343,11 @@ module Aws::DataExchange
1246
1343
  # @return [String]
1247
1344
  #
1248
1345
  # @!attribute [rw] asset_details
1346
+ # Information about the asset.
1249
1347
  # @return [Types::AssetDetails]
1250
1348
  #
1251
1349
  # @!attribute [rw] asset_type
1252
- # The type of file your data is stored in. Currently, the supported
1253
- # asset type is S3\_SNAPSHOT.
1350
+ # The type of asset that is added to a data set.
1254
1351
  # @return [String]
1255
1352
  #
1256
1353
  # @!attribute [rw] created_at
@@ -1269,7 +1366,10 @@ module Aws::DataExchange
1269
1366
  # @!attribute [rw] name
1270
1367
  # The name of the asset. When importing from Amazon S3, the S3 object
1271
1368
  # key is used as the asset name. When exporting to Amazon S3, the
1272
- # asset name is used as default target S3 object key.
1369
+ # asset name is used as default target S3 object key. When importing
1370
+ # from Amazon API Gateway API, the API name is used as the asset name.
1371
+ # When importing from Amazon Redshift, the datashare name is used as
1372
+ # the asset name.
1273
1373
  # @return [String]
1274
1374
  #
1275
1375
  # @!attribute [rw] revision_id
@@ -1326,8 +1426,7 @@ module Aws::DataExchange
1326
1426
  # @return [String]
1327
1427
  #
1328
1428
  # @!attribute [rw] asset_type
1329
- # The type of file your data is stored in. Currently, the supported
1330
- # asset type is S3\_SNAPSHOT.
1429
+ # The type of asset that is added to a data set.
1331
1430
  # @return [String]
1332
1431
  #
1333
1432
  # @!attribute [rw] created_at
@@ -1356,6 +1455,7 @@ module Aws::DataExchange
1356
1455
  # @return [String]
1357
1456
  #
1358
1457
  # @!attribute [rw] origin_details
1458
+ # Information about the origin of the data set.
1359
1459
  # @return [Types::OriginDetails]
1360
1460
  #
1361
1461
  # @!attribute [rw] source_id
@@ -1407,6 +1507,7 @@ module Aws::DataExchange
1407
1507
  end
1408
1508
 
1409
1509
  # @!attribute [rw] action
1510
+ # What occurs after a certain event.
1410
1511
  # @return [Types::Action]
1411
1512
  #
1412
1513
  # @!attribute [rw] arn
@@ -1420,6 +1521,7 @@ module Aws::DataExchange
1420
1521
  # @return [Time]
1421
1522
  #
1422
1523
  # @!attribute [rw] event
1524
+ # What occurs to start an action.
1423
1525
  # @return [Types::Event]
1424
1526
  #
1425
1527
  # @!attribute [rw] id
@@ -1584,10 +1686,145 @@ module Aws::DataExchange
1584
1686
  include Aws::Structure
1585
1687
  end
1586
1688
 
1689
+ # The request details.
1690
+ #
1691
+ # @note When making an API call, you may pass ImportAssetFromApiGatewayApiRequestDetails
1692
+ # data as a hash:
1693
+ #
1694
+ # {
1695
+ # api_description: "ApiDescription",
1696
+ # api_id: "__string", # required
1697
+ # api_key: "__string",
1698
+ # api_name: "__string", # required
1699
+ # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
1700
+ # data_set_id: "Id", # required
1701
+ # protocol_type: "REST", # required, accepts REST
1702
+ # revision_id: "Id", # required
1703
+ # stage: "__string", # required
1704
+ # }
1705
+ #
1706
+ # @!attribute [rw] api_description
1707
+ # The API description. Markdown supported.
1708
+ # @return [String]
1709
+ #
1710
+ # @!attribute [rw] api_id
1711
+ # The API Gateway API ID.
1712
+ # @return [String]
1713
+ #
1714
+ # @!attribute [rw] api_key
1715
+ # The API Gateway API key.
1716
+ # @return [String]
1717
+ #
1718
+ # @!attribute [rw] api_name
1719
+ # The API name.
1720
+ # @return [String]
1721
+ #
1722
+ # @!attribute [rw] api_specification_md_5_hash
1723
+ # The Base64-encoded MD5 hash of the OpenAPI 3.0 JSON API
1724
+ # specification file. It is used to ensure the integrity of the file.
1725
+ # @return [String]
1726
+ #
1727
+ # @!attribute [rw] data_set_id
1728
+ # The data set ID.
1729
+ # @return [String]
1730
+ #
1731
+ # @!attribute [rw] protocol_type
1732
+ # The protocol type.
1733
+ # @return [String]
1734
+ #
1735
+ # @!attribute [rw] revision_id
1736
+ # The revision ID.
1737
+ # @return [String]
1738
+ #
1739
+ # @!attribute [rw] stage
1740
+ # The API stage.
1741
+ # @return [String]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromApiGatewayApiRequestDetails AWS API Documentation
1744
+ #
1745
+ class ImportAssetFromApiGatewayApiRequestDetails < Struct.new(
1746
+ :api_description,
1747
+ :api_id,
1748
+ :api_key,
1749
+ :api_name,
1750
+ :api_specification_md_5_hash,
1751
+ :data_set_id,
1752
+ :protocol_type,
1753
+ :revision_id,
1754
+ :stage)
1755
+ SENSITIVE = []
1756
+ include Aws::Structure
1757
+ end
1758
+
1759
+ # The response details.
1760
+ #
1761
+ # @!attribute [rw] api_description
1762
+ # The API description.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] api_id
1766
+ # The API ID.
1767
+ # @return [String]
1768
+ #
1769
+ # @!attribute [rw] api_key
1770
+ # The API key.
1771
+ # @return [String]
1772
+ #
1773
+ # @!attribute [rw] api_name
1774
+ # The API name.
1775
+ # @return [String]
1776
+ #
1777
+ # @!attribute [rw] api_specification_md_5_hash
1778
+ # The Base64-encoded Md5 hash for the API asset, used to ensure the
1779
+ # integrity of the API at that location.
1780
+ # @return [String]
1781
+ #
1782
+ # @!attribute [rw] api_specification_upload_url
1783
+ # The upload URL of the API specification.
1784
+ # @return [String]
1785
+ #
1786
+ # @!attribute [rw] api_specification_upload_url_expires_at
1787
+ # The date and time that the upload URL expires, in ISO 8601 format.
1788
+ # @return [Time]
1789
+ #
1790
+ # @!attribute [rw] data_set_id
1791
+ # The data set ID.
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] protocol_type
1795
+ # The protocol type.
1796
+ # @return [String]
1797
+ #
1798
+ # @!attribute [rw] revision_id
1799
+ # The revision ID.
1800
+ # @return [String]
1801
+ #
1802
+ # @!attribute [rw] stage
1803
+ # The API stage.
1804
+ # @return [String]
1805
+ #
1806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromApiGatewayApiResponseDetails AWS API Documentation
1807
+ #
1808
+ class ImportAssetFromApiGatewayApiResponseDetails < Struct.new(
1809
+ :api_description,
1810
+ :api_id,
1811
+ :api_key,
1812
+ :api_name,
1813
+ :api_specification_md_5_hash,
1814
+ :api_specification_upload_url,
1815
+ :api_specification_upload_url_expires_at,
1816
+ :data_set_id,
1817
+ :protocol_type,
1818
+ :revision_id,
1819
+ :stage)
1820
+ SENSITIVE = []
1821
+ include Aws::Structure
1822
+ end
1823
+
1824
+ # Information about the job error.
1825
+ #
1587
1826
  # @!attribute [rw] asset_name
1588
- # The name of the asset. When importing from Amazon S3, the S3 object
1589
- # key is used as the asset name. When exporting to Amazon S3, the
1590
- # asset name is used as default target S3 object key.
1827
+ # Information about the job error.
1591
1828
  # @return [String]
1592
1829
  #
1593
1830
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlJobErrorDetails AWS API Documentation
@@ -1645,7 +1882,7 @@ module Aws::DataExchange
1645
1882
  # signed URL and other information.
1646
1883
  #
1647
1884
  # @!attribute [rw] asset_name
1648
- # The name for the asset associated with this import response.
1885
+ # The name for the asset associated with this import job.
1649
1886
  # @return [String]
1650
1887
  #
1651
1888
  # @!attribute [rw] data_set_id
@@ -1685,6 +1922,71 @@ module Aws::DataExchange
1685
1922
  include Aws::Structure
1686
1923
  end
1687
1924
 
1925
+ # Details from an import from Amazon Redshift datashare request.
1926
+ #
1927
+ # @note When making an API call, you may pass ImportAssetsFromRedshiftDataSharesRequestDetails
1928
+ # data as a hash:
1929
+ #
1930
+ # {
1931
+ # asset_sources: [ # required
1932
+ # {
1933
+ # data_share_arn: "__string", # required
1934
+ # },
1935
+ # ],
1936
+ # data_set_id: "Id", # required
1937
+ # revision_id: "Id", # required
1938
+ # }
1939
+ #
1940
+ # @!attribute [rw] asset_sources
1941
+ # A list of Amazon Redshift datashare assets.
1942
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1943
+ #
1944
+ # @!attribute [rw] data_set_id
1945
+ # The unique identifier for the data set associated with this import
1946
+ # job.
1947
+ # @return [String]
1948
+ #
1949
+ # @!attribute [rw] revision_id
1950
+ # The unique identifier for the revision associated with this import
1951
+ # job.
1952
+ # @return [String]
1953
+ #
1954
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesRequestDetails AWS API Documentation
1955
+ #
1956
+ class ImportAssetsFromRedshiftDataSharesRequestDetails < Struct.new(
1957
+ :asset_sources,
1958
+ :data_set_id,
1959
+ :revision_id)
1960
+ SENSITIVE = []
1961
+ include Aws::Structure
1962
+ end
1963
+
1964
+ # Details from an import from Amazon Redshift datashare response.
1965
+ #
1966
+ # @!attribute [rw] asset_sources
1967
+ # A list of Amazon Redshift datashare asset sources.
1968
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1969
+ #
1970
+ # @!attribute [rw] data_set_id
1971
+ # The unique identifier for the data set associated with this import
1972
+ # job.
1973
+ # @return [String]
1974
+ #
1975
+ # @!attribute [rw] revision_id
1976
+ # The unique identifier for the revision associated with this import
1977
+ # job.
1978
+ # @return [String]
1979
+ #
1980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesResponseDetails AWS API Documentation
1981
+ #
1982
+ class ImportAssetsFromRedshiftDataSharesResponseDetails < Struct.new(
1983
+ :asset_sources,
1984
+ :data_set_id,
1985
+ :revision_id)
1986
+ SENSITIVE = []
1987
+ include Aws::Structure
1988
+ end
1989
+
1688
1990
  # Details of the operation to be performed by the job.
1689
1991
  #
1690
1992
  # @note When making an API call, you may pass ImportAssetsFromS3RequestDetails
@@ -1825,6 +2127,7 @@ module Aws::DataExchange
1825
2127
  # @return [String]
1826
2128
  #
1827
2129
  # @!attribute [rw] details
2130
+ # The details about the job error.
1828
2131
  # @return [Types::Details]
1829
2132
  #
1830
2133
  # @!attribute [rw] limit_name
@@ -2125,7 +2428,10 @@ module Aws::DataExchange
2125
2428
  include Aws::Structure
2126
2429
  end
2127
2430
 
2431
+ # Information about the origin of the data set.
2432
+ #
2128
2433
  # @!attribute [rw] product_id
2434
+ # The product ID of the origin of the data set.
2129
2435
  # @return [String]
2130
2436
  #
2131
2437
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/OriginDetails AWS API Documentation
@@ -2136,6 +2442,41 @@ module Aws::DataExchange
2136
2442
  include Aws::Structure
2137
2443
  end
2138
2444
 
2445
+ # The Amazon Redshift datashare asset.
2446
+ #
2447
+ # @!attribute [rw] arn
2448
+ # The Amazon Resource Name (ARN) of the datashare asset.
2449
+ # @return [String]
2450
+ #
2451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAsset AWS API Documentation
2452
+ #
2453
+ class RedshiftDataShareAsset < Struct.new(
2454
+ :arn)
2455
+ SENSITIVE = []
2456
+ include Aws::Structure
2457
+ end
2458
+
2459
+ # The source of the Amazon Redshift datashare asset.
2460
+ #
2461
+ # @note When making an API call, you may pass RedshiftDataShareAssetSourceEntry
2462
+ # data as a hash:
2463
+ #
2464
+ # {
2465
+ # data_share_arn: "__string", # required
2466
+ # }
2467
+ #
2468
+ # @!attribute [rw] data_share_arn
2469
+ # The Amazon Resource Name (ARN) of the datashare asset.
2470
+ # @return [String]
2471
+ #
2472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAssetSourceEntry AWS API Documentation
2473
+ #
2474
+ class RedshiftDataShareAssetSourceEntry < Struct.new(
2475
+ :data_share_arn)
2476
+ SENSITIVE = []
2477
+ include Aws::Structure
2478
+ end
2479
+
2139
2480
  # The details for the request.
2140
2481
  #
2141
2482
  # @note When making an API call, you may pass RequestDetails
@@ -2192,6 +2533,26 @@ module Aws::DataExchange
2192
2533
  # data_set_id: "Id", # required
2193
2534
  # revision_id: "Id", # required
2194
2535
  # },
2536
+ # import_assets_from_redshift_data_shares: {
2537
+ # asset_sources: [ # required
2538
+ # {
2539
+ # data_share_arn: "__string", # required
2540
+ # },
2541
+ # ],
2542
+ # data_set_id: "Id", # required
2543
+ # revision_id: "Id", # required
2544
+ # },
2545
+ # import_asset_from_api_gateway_api: {
2546
+ # api_description: "ApiDescription",
2547
+ # api_id: "__string", # required
2548
+ # api_key: "__string",
2549
+ # api_name: "__string", # required
2550
+ # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
2551
+ # data_set_id: "Id", # required
2552
+ # protocol_type: "REST", # required, accepts REST
2553
+ # revision_id: "Id", # required
2554
+ # stage: "__string", # required
2555
+ # },
2195
2556
  # }
2196
2557
  #
2197
2558
  # @!attribute [rw] export_asset_to_signed_url
@@ -2214,6 +2575,14 @@ module Aws::DataExchange
2214
2575
  # Details about the import from Amazon S3 request.
2215
2576
  # @return [Types::ImportAssetsFromS3RequestDetails]
2216
2577
  #
2578
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2579
+ # Details from an import from Amazon Redshift datashare request.
2580
+ # @return [Types::ImportAssetsFromRedshiftDataSharesRequestDetails]
2581
+ #
2582
+ # @!attribute [rw] import_asset_from_api_gateway_api
2583
+ # Information about the import asset from API Gateway API request.
2584
+ # @return [Types::ImportAssetFromApiGatewayApiRequestDetails]
2585
+ #
2217
2586
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
2218
2587
  #
2219
2588
  class RequestDetails < Struct.new(
@@ -2221,7 +2590,9 @@ module Aws::DataExchange
2221
2590
  :export_assets_to_s3,
2222
2591
  :export_revisions_to_s3,
2223
2592
  :import_asset_from_signed_url,
2224
- :import_assets_from_s3)
2593
+ :import_assets_from_s3,
2594
+ :import_assets_from_redshift_data_shares,
2595
+ :import_asset_from_api_gateway_api)
2225
2596
  SENSITIVE = []
2226
2597
  include Aws::Structure
2227
2598
  end
@@ -2272,6 +2643,14 @@ module Aws::DataExchange
2272
2643
  # Details for the import from Amazon S3 response.
2273
2644
  # @return [Types::ImportAssetsFromS3ResponseDetails]
2274
2645
  #
2646
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2647
+ # Details from an import from Amazon Redshift datashare response.
2648
+ # @return [Types::ImportAssetsFromRedshiftDataSharesResponseDetails]
2649
+ #
2650
+ # @!attribute [rw] import_asset_from_api_gateway_api
2651
+ # The response details.
2652
+ # @return [Types::ImportAssetFromApiGatewayApiResponseDetails]
2653
+ #
2275
2654
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
2276
2655
  #
2277
2656
  class ResponseDetails < Struct.new(
@@ -2279,7 +2658,9 @@ module Aws::DataExchange
2279
2658
  :export_assets_to_s3,
2280
2659
  :export_revisions_to_s3,
2281
2660
  :import_asset_from_signed_url,
2282
- :import_assets_from_s3)
2661
+ :import_assets_from_s3,
2662
+ :import_assets_from_redshift_data_shares,
2663
+ :import_asset_from_api_gateway_api)
2283
2664
  SENSITIVE = []
2284
2665
  include Aws::Structure
2285
2666
  end
@@ -2386,6 +2767,8 @@ module Aws::DataExchange
2386
2767
  include Aws::Structure
2387
2768
  end
2388
2769
 
2770
+ # Information about the published revision.
2771
+ #
2389
2772
  # @note When making an API call, you may pass RevisionPublished
2390
2773
  # data as a hash:
2391
2774
  #
@@ -2394,7 +2777,7 @@ module Aws::DataExchange
2394
2777
  # }
2395
2778
  #
2396
2779
  # @!attribute [rw] data_set_id
2397
- # A unique identifier.
2780
+ # The data set ID of the published revision.
2398
2781
  # @return [String]
2399
2782
  #
2400
2783
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionPublished AWS API Documentation
@@ -2419,6 +2802,83 @@ module Aws::DataExchange
2419
2802
  include Aws::Structure
2420
2803
  end
2421
2804
 
2805
+ # @note When making an API call, you may pass SendApiAssetRequest
2806
+ # data as a hash:
2807
+ #
2808
+ # {
2809
+ # body: "__string",
2810
+ # query_string_parameters: {
2811
+ # "__string" => "__string",
2812
+ # },
2813
+ # asset_id: "__string", # required
2814
+ # data_set_id: "__string", # required
2815
+ # request_headers: {
2816
+ # "__string" => "__string",
2817
+ # },
2818
+ # method: "__string",
2819
+ # path: "__string",
2820
+ # revision_id: "__string", # required
2821
+ # }
2822
+ #
2823
+ # @!attribute [rw] body
2824
+ # @return [String]
2825
+ #
2826
+ # @!attribute [rw] query_string_parameters
2827
+ # @return [Hash<String,String>]
2828
+ #
2829
+ # @!attribute [rw] asset_id
2830
+ # @return [String]
2831
+ #
2832
+ # @!attribute [rw] data_set_id
2833
+ # @return [String]
2834
+ #
2835
+ # @!attribute [rw] request_headers
2836
+ # @return [Hash<String,String>]
2837
+ #
2838
+ # @!attribute [rw] method
2839
+ # @return [String]
2840
+ #
2841
+ # @!attribute [rw] path
2842
+ # @return [String]
2843
+ #
2844
+ # @!attribute [rw] revision_id
2845
+ # @return [String]
2846
+ #
2847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAssetRequest AWS API Documentation
2848
+ #
2849
+ class SendApiAssetRequest < Struct.new(
2850
+ :body,
2851
+ :query_string_parameters,
2852
+ :asset_id,
2853
+ :data_set_id,
2854
+ :request_headers,
2855
+ :method,
2856
+ :path,
2857
+ :revision_id)
2858
+ SENSITIVE = []
2859
+ include Aws::Structure
2860
+ end
2861
+
2862
+ # The details of the send API asset response.
2863
+ #
2864
+ # @!attribute [rw] body
2865
+ # The response body from the underlying API tracked by the API asset.
2866
+ # @return [String]
2867
+ #
2868
+ # @!attribute [rw] response_headers
2869
+ # The response headers from the underlying API tracked by the API
2870
+ # asset.
2871
+ # @return [Hash<String,String>]
2872
+ #
2873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAssetResponse AWS API Documentation
2874
+ #
2875
+ class SendApiAssetResponse < Struct.new(
2876
+ :body,
2877
+ :response_headers)
2878
+ SENSITIVE = []
2879
+ include Aws::Structure
2880
+ end
2881
+
2422
2882
  # The request has exceeded the quotas imposed by the service.
2423
2883
  #
2424
2884
  # @!attribute [rw] limit_name
@@ -2545,7 +3005,10 @@ module Aws::DataExchange
2545
3005
  # @!attribute [rw] name
2546
3006
  # The name of the asset. When importing from Amazon S3, the S3 object
2547
3007
  # key is used as the asset name. When exporting to Amazon S3, the
2548
- # asset name is used as default target S3 object key.
3008
+ # asset name is used as default target S3 object key. When importing
3009
+ # from Amazon API Gateway API, the API name is used as the asset name.
3010
+ # When importing from Amazon Redshift, the datashare name is used as
3011
+ # the asset name.
2549
3012
  # @return [String]
2550
3013
  #
2551
3014
  # @!attribute [rw] revision_id
@@ -2568,11 +3031,11 @@ module Aws::DataExchange
2568
3031
  # @return [String]
2569
3032
  #
2570
3033
  # @!attribute [rw] asset_details
3034
+ # Information about the asset.
2571
3035
  # @return [Types::AssetDetails]
2572
3036
  #
2573
3037
  # @!attribute [rw] asset_type
2574
- # The type of file your data is stored in. Currently, the supported
2575
- # asset type is S3\_SNAPSHOT.
3038
+ # The type of asset that is added to a data set.
2576
3039
  # @return [String]
2577
3040
  #
2578
3041
  # @!attribute [rw] created_at
@@ -2591,7 +3054,10 @@ module Aws::DataExchange
2591
3054
  # @!attribute [rw] name
2592
3055
  # The name of the asset. When importing from Amazon S3, the S3 object
2593
3056
  # key is used as the asset name. When exporting to Amazon S3, the
2594
- # asset name is used as default target S3 object key.
3057
+ # asset name is used as default target S3 object key. When importing
3058
+ # from Amazon API Gateway API, the API name is used as the asset name.
3059
+ # When importing from Amazon Redshift, the datashare name is used as
3060
+ # the asset name.
2595
3061
  # @return [String]
2596
3062
  #
2597
3063
  # @!attribute [rw] revision_id
@@ -2662,8 +3128,7 @@ module Aws::DataExchange
2662
3128
  # @return [String]
2663
3129
  #
2664
3130
  # @!attribute [rw] asset_type
2665
- # The type of file your data is stored in. Currently, the supported
2666
- # asset type is S3\_SNAPSHOT.
3131
+ # The type of asset that is added to a data set.
2667
3132
  # @return [String]
2668
3133
  #
2669
3134
  # @!attribute [rw] created_at
@@ -2692,6 +3157,7 @@ module Aws::DataExchange
2692
3157
  # @return [String]
2693
3158
  #
2694
3159
  # @!attribute [rw] origin_details
3160
+ # Information about the origin of the data set.
2695
3161
  # @return [Types::OriginDetails]
2696
3162
  #
2697
3163
  # @!attribute [rw] source_id
@@ -2758,6 +3224,7 @@ module Aws::DataExchange
2758
3224
  end
2759
3225
 
2760
3226
  # @!attribute [rw] action
3227
+ # What occurs after a certain event.
2761
3228
  # @return [Types::Action]
2762
3229
  #
2763
3230
  # @!attribute [rw] arn
@@ -2771,6 +3238,7 @@ module Aws::DataExchange
2771
3238
  # @return [Time]
2772
3239
  #
2773
3240
  # @!attribute [rw] event
3241
+ # What occurs to start an action.
2774
3242
  # @return [Types::Event]
2775
3243
  #
2776
3244
  # @!attribute [rw] id