aws-sdk-dataexchange 1.18.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f9aa926723ecb720fc09b5449ca04dad6fbbb20f91eb3962a34fa3635329205
4
- data.tar.gz: 774006fa4bd9e914db15b21dcc6c6a17bf48fcf7122e6da65c23e15fed8ae813
3
+ metadata.gz: 5164e756626a45f98a9ad33d425c8277b4077e2bcd5b6e68d798dbf3df98855e
4
+ data.tar.gz: cb79bf519b75c6451d93747c4ea812005b2b8a6fb67ffbe17f60674b762457c3
5
5
  SHA512:
6
- metadata.gz: 1dc3ca5d6275a5e92339fee6df067206f560f532961621392593ea4e0686409164d55c88cc000f1457977e17e9a770f803f20bff1ab2129f5471e2bc744cdcc2
7
- data.tar.gz: 410e6240f092b6d2e2c8117421135c592cf5dc053fa4c7228f6a514b1df0cecf33d26cff0ff66cadbb9ae94a12778d6e0e950567a4c15caba045c10562822156
6
+ metadata.gz: 2b601a2abb87455d8e35ecc81d722d0d2688b1317f4ba8542992ba63c923c5da433091177db368c9bd3932ac08a92910476dae6997ed857b01b32977956d4292
7
+ data.tar.gz: 4341c360985c54db45c614640e86f9719075207550873a2248f61bf56abff1f90c176dfd6ba3a557bb17d55ea14b1fb557ac22262c283c29bfe0f16da3cf9b57
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2021-10-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for our public preview of AWS Data Exchange for Amazon Redshift. This enables data providers to list products including AWS Data Exchange datashares for Amazon Redshift, giving subscribers read-only access to provider data in Amazon Redshift.
8
+
4
9
  1.18.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -352,8 +352,7 @@ module Aws::DataExchange
352
352
  # This operation creates a data set.
353
353
  #
354
354
  # @option params [required, String] :asset_type
355
- # The type of file your data is stored in. Currently, the supported
356
- # asset type is S3\_SNAPSHOT.
355
+ # The type of asset that is added to a data set.
357
356
  #
358
357
  # @option params [required, String] :description
359
358
  # A description for the data set. This value can be up to 16,348
@@ -386,7 +385,7 @@ module Aws::DataExchange
386
385
  # @example Request syntax with placeholder values
387
386
  #
388
387
  # resp = client.create_data_set({
389
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
388
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
390
389
  # description: "Description", # required
391
390
  # name: "Name", # required
392
391
  # tags: {
@@ -397,7 +396,7 @@ module Aws::DataExchange
397
396
  # @example Response structure
398
397
  #
399
398
  # resp.arn #=> String
400
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
399
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
401
400
  # resp.created_at #=> Time
402
401
  # resp.description #=> String
403
402
  # resp.id #=> String
@@ -551,8 +550,17 @@ module Aws::DataExchange
551
550
  # data_set_id: "Id", # required
552
551
  # revision_id: "Id", # required
553
552
  # },
553
+ # import_assets_from_redshift_data_shares: {
554
+ # asset_sources: [ # required
555
+ # {
556
+ # data_share_arn: "__string", # required
557
+ # },
558
+ # ],
559
+ # data_set_id: "Id", # required
560
+ # revision_id: "Id", # required
561
+ # },
554
562
  # },
555
- # 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
563
+ # 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
556
564
  # })
557
565
  #
558
566
  # @example Response structure
@@ -575,11 +583,11 @@ module Aws::DataExchange
575
583
  # resp.details.export_revisions_to_s3.data_set_id #=> String
576
584
  # resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
577
585
  # resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
578
- # resp.details.export_revisions_to_s3.event_action_arn #=> String
579
586
  # resp.details.export_revisions_to_s3.revision_destinations #=> Array
580
587
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
581
588
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
582
589
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
590
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
583
591
  # resp.details.import_asset_from_signed_url.asset_name #=> String
584
592
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
585
593
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -591,20 +599,24 @@ module Aws::DataExchange
591
599
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
592
600
  # resp.details.import_assets_from_s3.data_set_id #=> String
593
601
  # resp.details.import_assets_from_s3.revision_id #=> String
602
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
603
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
604
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
605
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
594
606
  # resp.errors #=> Array
595
607
  # resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
596
608
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
597
609
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
598
610
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
599
611
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
600
- # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
612
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
601
613
  # resp.errors[0].limit_value #=> Float
602
614
  # resp.errors[0].message #=> String
603
615
  # resp.errors[0].resource_id #=> String
604
616
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
605
617
  # resp.id #=> String
606
618
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
607
- # resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
619
+ # resp.type #=> String, one of "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"
608
620
  # resp.updated_at #=> Time
609
621
  #
610
622
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob AWS API Documentation
@@ -800,7 +812,8 @@ module Aws::DataExchange
800
812
  #
801
813
  # resp.arn #=> String
802
814
  # resp.asset_details.s3_snapshot_asset.size #=> Float
803
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
815
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
816
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
804
817
  # resp.created_at #=> Time
805
818
  # resp.data_set_id #=> String
806
819
  # resp.id #=> String
@@ -845,7 +858,7 @@ module Aws::DataExchange
845
858
  # @example Response structure
846
859
  #
847
860
  # resp.arn #=> String
848
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
861
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
849
862
  # resp.created_at #=> Time
850
863
  # resp.description #=> String
851
864
  # resp.id #=> String
@@ -947,11 +960,11 @@ module Aws::DataExchange
947
960
  # resp.details.export_revisions_to_s3.data_set_id #=> String
948
961
  # resp.details.export_revisions_to_s3.encryption.kms_key_arn #=> String
949
962
  # resp.details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
950
- # resp.details.export_revisions_to_s3.event_action_arn #=> String
951
963
  # resp.details.export_revisions_to_s3.revision_destinations #=> Array
952
964
  # resp.details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
953
965
  # resp.details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
954
966
  # resp.details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
967
+ # resp.details.export_revisions_to_s3.event_action_arn #=> String
955
968
  # resp.details.import_asset_from_signed_url.asset_name #=> String
956
969
  # resp.details.import_asset_from_signed_url.data_set_id #=> String
957
970
  # resp.details.import_asset_from_signed_url.md_5_hash #=> String
@@ -963,20 +976,24 @@ module Aws::DataExchange
963
976
  # resp.details.import_assets_from_s3.asset_sources[0].key #=> String
964
977
  # resp.details.import_assets_from_s3.data_set_id #=> String
965
978
  # resp.details.import_assets_from_s3.revision_id #=> String
979
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources #=> Array
980
+ # resp.details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
981
+ # resp.details.import_assets_from_redshift_data_shares.data_set_id #=> String
982
+ # resp.details.import_assets_from_redshift_data_shares.revision_id #=> String
966
983
  # resp.errors #=> Array
967
984
  # resp.errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
968
985
  # resp.errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
969
986
  # resp.errors[0].details.import_assets_from_s3_job_error_details #=> Array
970
987
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
971
988
  # resp.errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
972
- # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
989
+ # resp.errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
973
990
  # resp.errors[0].limit_value #=> Float
974
991
  # resp.errors[0].message #=> String
975
992
  # resp.errors[0].resource_id #=> String
976
993
  # resp.errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
977
994
  # resp.id #=> String
978
995
  # resp.state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
979
- # resp.type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
996
+ # resp.type #=> String, one of "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"
980
997
  # resp.updated_at #=> Time
981
998
  #
982
999
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob AWS API Documentation
@@ -1111,7 +1128,7 @@ module Aws::DataExchange
1111
1128
  #
1112
1129
  # resp.data_sets #=> Array
1113
1130
  # resp.data_sets[0].arn #=> String
1114
- # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1131
+ # resp.data_sets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1115
1132
  # resp.data_sets[0].created_at #=> Time
1116
1133
  # resp.data_sets[0].description #=> String
1117
1134
  # resp.data_sets[0].id #=> String
@@ -1225,11 +1242,11 @@ module Aws::DataExchange
1225
1242
  # resp.jobs[0].details.export_revisions_to_s3.data_set_id #=> String
1226
1243
  # resp.jobs[0].details.export_revisions_to_s3.encryption.kms_key_arn #=> String
1227
1244
  # resp.jobs[0].details.export_revisions_to_s3.encryption.type #=> String, one of "aws:kms", "AES256"
1228
- # resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
1229
1245
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations #=> Array
1230
1246
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].bucket #=> String
1231
1247
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].key_pattern #=> String
1232
1248
  # resp.jobs[0].details.export_revisions_to_s3.revision_destinations[0].revision_id #=> String
1249
+ # resp.jobs[0].details.export_revisions_to_s3.event_action_arn #=> String
1233
1250
  # resp.jobs[0].details.import_asset_from_signed_url.asset_name #=> String
1234
1251
  # resp.jobs[0].details.import_asset_from_signed_url.data_set_id #=> String
1235
1252
  # resp.jobs[0].details.import_asset_from_signed_url.md_5_hash #=> String
@@ -1241,20 +1258,24 @@ module Aws::DataExchange
1241
1258
  # resp.jobs[0].details.import_assets_from_s3.asset_sources[0].key #=> String
1242
1259
  # resp.jobs[0].details.import_assets_from_s3.data_set_id #=> String
1243
1260
  # resp.jobs[0].details.import_assets_from_s3.revision_id #=> String
1261
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources #=> Array
1262
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.asset_sources[0].data_share_arn #=> String
1263
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.data_set_id #=> String
1264
+ # resp.jobs[0].details.import_assets_from_redshift_data_shares.revision_id #=> String
1244
1265
  # resp.jobs[0].errors #=> Array
1245
1266
  # resp.jobs[0].errors[0].code #=> String, one of "ACCESS_DENIED_EXCEPTION", "INTERNAL_SERVER_EXCEPTION", "MALWARE_DETECTED", "RESOURCE_NOT_FOUND_EXCEPTION", "SERVICE_QUOTA_EXCEEDED_EXCEPTION", "VALIDATION_EXCEPTION", "MALWARE_SCAN_ENCRYPTED_FILE"
1246
1267
  # resp.jobs[0].errors[0].details.import_asset_from_signed_url_job_error_details.asset_name #=> String
1247
1268
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details #=> Array
1248
1269
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].bucket #=> String
1249
1270
  # resp.jobs[0].errors[0].details.import_assets_from_s3_job_error_details[0].key #=> String
1250
- # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB"
1271
+ # resp.jobs[0].errors[0].limit_name #=> String, one of "Assets per revision", "Asset size in GB", "Amazon Redshift datashare assets per revision"
1251
1272
  # resp.jobs[0].errors[0].limit_value #=> Float
1252
1273
  # resp.jobs[0].errors[0].message #=> String
1253
1274
  # resp.jobs[0].errors[0].resource_id #=> String
1254
1275
  # resp.jobs[0].errors[0].resource_type #=> String, one of "REVISION", "ASSET", "DATA_SET"
1255
1276
  # resp.jobs[0].id #=> String
1256
1277
  # resp.jobs[0].state #=> String, one of "WAITING", "IN_PROGRESS", "ERROR", "COMPLETED", "CANCELLED", "TIMED_OUT"
1257
- # resp.jobs[0].type #=> String, one of "IMPORT_ASSETS_FROM_S3", "IMPORT_ASSET_FROM_SIGNED_URL", "EXPORT_ASSETS_TO_S3", "EXPORT_ASSET_TO_SIGNED_URL", "EXPORT_REVISIONS_TO_S3"
1278
+ # resp.jobs[0].type #=> String, one of "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"
1258
1279
  # resp.jobs[0].updated_at #=> Time
1259
1280
  # resp.next_token #=> String
1260
1281
  #
@@ -1299,7 +1320,8 @@ module Aws::DataExchange
1299
1320
  # resp.assets #=> Array
1300
1321
  # resp.assets[0].arn #=> String
1301
1322
  # resp.assets[0].asset_details.s3_snapshot_asset.size #=> Float
1302
- # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT"
1323
+ # resp.assets[0].asset_details.redshift_data_share_asset.arn #=> String
1324
+ # resp.assets[0].asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1303
1325
  # resp.assets[0].created_at #=> Time
1304
1326
  # resp.assets[0].data_set_id #=> String
1305
1327
  # resp.assets[0].id #=> String
@@ -1456,7 +1478,8 @@ module Aws::DataExchange
1456
1478
  #
1457
1479
  # resp.arn #=> String
1458
1480
  # resp.asset_details.s3_snapshot_asset.size #=> Float
1459
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1481
+ # resp.asset_details.redshift_data_share_asset.arn #=> String
1482
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1460
1483
  # resp.created_at #=> Time
1461
1484
  # resp.data_set_id #=> String
1462
1485
  # resp.id #=> String
@@ -1508,7 +1531,7 @@ module Aws::DataExchange
1508
1531
  # @example Response structure
1509
1532
  #
1510
1533
  # resp.arn #=> String
1511
- # resp.asset_type #=> String, one of "S3_SNAPSHOT"
1534
+ # resp.asset_type #=> String, one of "S3_SNAPSHOT", "REDSHIFT_DATA_SHARE"
1512
1535
  # resp.created_at #=> Time
1513
1536
  # resp.description #=> String
1514
1537
  # resp.id #=> String
@@ -1649,7 +1672,7 @@ module Aws::DataExchange
1649
1672
  params: params,
1650
1673
  config: config)
1651
1674
  context[:gem_name] = 'aws-sdk-dataexchange'
1652
- context[:gem_version] = '1.18.0'
1675
+ context[:gem_version] = '1.19.0'
1653
1676
  Seahorse::Client::Request.new(handlers, context)
1654
1677
  end
1655
1678
 
@@ -66,6 +66,8 @@ module Aws::DataExchange
66
66
  ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
67
67
  ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
68
68
  ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
69
+ ImportAssetsFromRedshiftDataSharesRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesRequestDetails')
70
+ ImportAssetsFromRedshiftDataSharesResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesResponseDetails')
69
71
  ImportAssetsFromS3RequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3RequestDetails')
70
72
  ImportAssetsFromS3ResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3ResponseDetails')
71
73
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -89,6 +91,7 @@ module Aws::DataExchange
89
91
  ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
90
92
  ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
91
93
  ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
94
+ ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
92
95
  ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
93
96
  ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
94
97
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
@@ -102,6 +105,8 @@ module Aws::DataExchange
102
105
  NextToken = Shapes::StringShape.new(name: 'NextToken')
103
106
  Origin = Shapes::StringShape.new(name: 'Origin')
104
107
  OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
108
+ RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
109
+ RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
105
110
  RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
106
111
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
107
112
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -148,6 +153,7 @@ module Aws::DataExchange
148
153
  AssetDestinationEntry.struct_class = Types::AssetDestinationEntry
149
154
 
150
155
  AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
156
+ AssetDetails.add_member(:redshift_data_share_asset, Shapes::ShapeRef.new(shape: RedshiftDataShareAsset, location_name: "RedshiftDataShareAsset"))
151
157
  AssetDetails.struct_class = Types::AssetDetails
152
158
 
153
159
  AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
@@ -316,8 +322,8 @@ module Aws::DataExchange
316
322
 
317
323
  ExportRevisionsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
318
324
  ExportRevisionsToS3ResponseDetails.add_member(:encryption, Shapes::ShapeRef.new(shape: ExportServerSideEncryption, location_name: "Encryption"))
319
- ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
320
325
  ExportRevisionsToS3ResponseDetails.add_member(:revision_destinations, Shapes::ShapeRef.new(shape: ListOfRevisionDestinationEntry, required: true, location_name: "RevisionDestinations"))
326
+ ExportRevisionsToS3ResponseDetails.add_member(:event_action_arn, Shapes::ShapeRef.new(shape: __string, location_name: "EventActionArn"))
321
327
  ExportRevisionsToS3ResponseDetails.struct_class = Types::ExportRevisionsToS3ResponseDetails
322
328
 
323
329
  ExportServerSideEncryption.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, location_name: "KmsKeyArn"))
@@ -413,6 +419,16 @@ module Aws::DataExchange
413
419
  ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
414
420
  ImportAssetFromSignedUrlResponseDetails.struct_class = Types::ImportAssetFromSignedUrlResponseDetails
415
421
 
422
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
423
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
424
+ ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
425
+ ImportAssetsFromRedshiftDataSharesRequestDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesRequestDetails
426
+
427
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
428
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
429
+ ImportAssetsFromRedshiftDataSharesResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
430
+ ImportAssetsFromRedshiftDataSharesResponseDetails.struct_class = Types::ImportAssetsFromRedshiftDataSharesResponseDetails
431
+
416
432
  ImportAssetsFromS3RequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, required: true, location_name: "AssetSources"))
417
433
  ImportAssetsFromS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
418
434
  ImportAssetsFromS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
@@ -496,6 +512,8 @@ module Aws::DataExchange
496
512
 
497
513
  ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
498
514
 
515
+ ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
516
+
499
517
  ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
500
518
 
501
519
  ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
@@ -524,11 +542,18 @@ module Aws::DataExchange
524
542
  OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
525
543
  OriginDetails.struct_class = Types::OriginDetails
526
544
 
545
+ RedshiftDataShareAsset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
546
+ RedshiftDataShareAsset.struct_class = Types::RedshiftDataShareAsset
547
+
548
+ RedshiftDataShareAssetSourceEntry.add_member(:data_share_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DataShareArn"))
549
+ RedshiftDataShareAssetSourceEntry.struct_class = Types::RedshiftDataShareAssetSourceEntry
550
+
527
551
  RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
528
552
  RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
529
553
  RequestDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3RequestDetails, location_name: "ExportRevisionsToS3"))
530
554
  RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
531
555
  RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
556
+ RequestDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesRequestDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
532
557
  RequestDetails.struct_class = Types::RequestDetails
533
558
 
534
559
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
@@ -541,6 +566,7 @@ module Aws::DataExchange
541
566
  ResponseDetails.add_member(:export_revisions_to_s3, Shapes::ShapeRef.new(shape: ExportRevisionsToS3ResponseDetails, location_name: "ExportRevisionsToS3"))
542
567
  ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
543
568
  ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
569
+ ResponseDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesResponseDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
544
570
  ResponseDetails.struct_class = Types::ResponseDetails
545
571
 
546
572
  RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
@@ -715,11 +741,11 @@ module Aws::DataExchange
715
741
  o.http_request_uri = "/v1/jobs"
716
742
  o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
717
743
  o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
744
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
718
746
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
719
747
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
720
748
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
721
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
722
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
723
749
  end)
724
750
 
725
751
  api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
@@ -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
@@ -85,34 +87,41 @@ module Aws::DataExchange
85
87
  include Aws::Structure
86
88
  end
87
89
 
90
+ # Information about the asset.
91
+ #
88
92
  # @!attribute [rw] s3_snapshot_asset
89
93
  # The S3 object that is the asset.
90
94
  # @return [Types::S3SnapshotAsset]
91
95
  #
96
+ # @!attribute [rw] redshift_data_share_asset
97
+ # The Amazon Redshift datashare that is the asset.
98
+ # @return [Types::RedshiftDataShareAsset]
99
+ #
92
100
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
93
101
  #
94
102
  class AssetDetails < Struct.new(
95
- :s3_snapshot_asset)
103
+ :s3_snapshot_asset,
104
+ :redshift_data_share_asset)
96
105
  SENSITIVE = []
97
106
  include Aws::Structure
98
107
  end
99
108
 
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.
109
+ # An asset in AWS Data Exchange is a piece of data. The asset can be a
110
+ # structured data file, an image file, or some other data file that can
111
+ # be stored as an S3 object, or an Amazon Redshift datashare (Preview).
112
+ # When you create an import job for your files, you create an asset in
113
+ # AWS Data Exchange for each of those files.
104
114
  #
105
115
  # @!attribute [rw] arn
106
116
  # The ARN for the asset.
107
117
  # @return [String]
108
118
  #
109
119
  # @!attribute [rw] asset_details
110
- # Information about the asset, including its size.
120
+ # Information about the asset.
111
121
  # @return [Types::AssetDetails]
112
122
  #
113
123
  # @!attribute [rw] asset_type
114
- # The type of file your data is stored in. Currently, the supported
115
- # asset type is S3\_SNAPSHOT.
124
+ # The type of asset that is added to a data set.
116
125
  # @return [String]
117
126
  #
118
127
  # @!attribute [rw] created_at
@@ -243,9 +252,7 @@ module Aws::DataExchange
243
252
  # }
244
253
  #
245
254
  # @!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.
255
+ # Encryption configuration for the auto export job.
249
256
  # @return [Types::ExportServerSideEncryption]
250
257
  #
251
258
  # @!attribute [rw] revision_destination
@@ -312,7 +319,7 @@ module Aws::DataExchange
312
319
  # data as a hash:
313
320
  #
314
321
  # {
315
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT
322
+ # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
316
323
  # description: "Description", # required
317
324
  # name: "Name", # required
318
325
  # tags: {
@@ -321,8 +328,7 @@ module Aws::DataExchange
321
328
  # }
322
329
  #
323
330
  # @!attribute [rw] asset_type
324
- # The type of file your data is stored in. Currently, the supported
325
- # asset type is S3\_SNAPSHOT.
331
+ # The type of asset that is added to a data set.
326
332
  # @return [String]
327
333
  #
328
334
  # @!attribute [rw] description
@@ -359,8 +365,7 @@ module Aws::DataExchange
359
365
  # @return [String]
360
366
  #
361
367
  # @!attribute [rw] asset_type
362
- # The type of file your data is stored in. Currently, the supported
363
- # asset type is S3\_SNAPSHOT.
368
+ # The type of asset that is added to a data set.
364
369
  # @return [String]
365
370
  #
366
371
  # @!attribute [rw] created_at
@@ -389,6 +394,7 @@ module Aws::DataExchange
389
394
  # @return [String]
390
395
  #
391
396
  # @!attribute [rw] origin_details
397
+ # Information about the origin of the data set.
392
398
  # @return [Types::OriginDetails]
393
399
  #
394
400
  # @!attribute [rw] source_id
@@ -464,6 +470,7 @@ module Aws::DataExchange
464
470
  end
465
471
 
466
472
  # @!attribute [rw] action
473
+ # What occurs after a certain event.
467
474
  # @return [Types::Action]
468
475
  #
469
476
  # @!attribute [rw] arn
@@ -477,6 +484,7 @@ module Aws::DataExchange
477
484
  # @return [Time]
478
485
  #
479
486
  # @!attribute [rw] event
487
+ # What occurs to start an action.
480
488
  # @return [Types::Event]
481
489
  #
482
490
  # @!attribute [rw] id
@@ -562,8 +570,17 @@ module Aws::DataExchange
562
570
  # data_set_id: "Id", # required
563
571
  # revision_id: "Id", # required
564
572
  # },
573
+ # import_assets_from_redshift_data_shares: {
574
+ # asset_sources: [ # required
575
+ # {
576
+ # data_share_arn: "__string", # required
577
+ # },
578
+ # ],
579
+ # data_set_id: "Id", # required
580
+ # revision_id: "Id", # required
581
+ # },
565
582
  # },
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
583
+ # 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
567
584
  # }
568
585
  #
569
586
  # @!attribute [rw] details
@@ -730,8 +747,7 @@ module Aws::DataExchange
730
747
  # @return [String]
731
748
  #
732
749
  # @!attribute [rw] asset_type
733
- # The type of file your data is stored in. Currently, the supported
734
- # asset type is S3\_SNAPSHOT.
750
+ # The type of asset that is added to a data set.
735
751
  # @return [String]
736
752
  #
737
753
  # @!attribute [rw] created_at
@@ -875,11 +891,14 @@ module Aws::DataExchange
875
891
  include Aws::Structure
876
892
  end
877
893
 
894
+ # Information about the job error.
895
+ #
878
896
  # @!attribute [rw] import_asset_from_signed_url_job_error_details
897
+ # Information about the job error.
879
898
  # @return [Types::ImportAssetFromSignedUrlJobErrorDetails]
880
899
  #
881
900
  # @!attribute [rw] import_assets_from_s3_job_error_details
882
- # The list of sources for the assets.
901
+ # Information about the job error.
883
902
  # @return [Array<Types::AssetSourceEntry>]
884
903
  #
885
904
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Details AWS API Documentation
@@ -891,6 +910,8 @@ module Aws::DataExchange
891
910
  include Aws::Structure
892
911
  end
893
912
 
913
+ # What occurs to start an action.
914
+ #
894
915
  # @note When making an API call, you may pass Event
895
916
  # data as a hash:
896
917
  #
@@ -901,6 +922,7 @@ module Aws::DataExchange
901
922
  # }
902
923
  #
903
924
  # @!attribute [rw] revision_published
925
+ # What occurs to start the revision publish action.
904
926
  # @return [Types::RevisionPublished]
905
927
  #
906
928
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Event AWS API Documentation
@@ -920,7 +942,7 @@ module Aws::DataExchange
920
942
  # @return [Types::Action]
921
943
  #
922
944
  # @!attribute [rw] arn
923
- # The ARN for the event action.
945
+ # The Amazon Resource Name (ARN) for the event action.
924
946
  # @return [String]
925
947
  #
926
948
  # @!attribute [rw] created_at
@@ -1161,21 +1183,21 @@ module Aws::DataExchange
1161
1183
  # Encryption configuration of the export job.
1162
1184
  # @return [Types::ExportServerSideEncryption]
1163
1185
  #
1164
- # @!attribute [rw] event_action_arn
1165
- # The ARN for the event action.
1166
- # @return [String]
1167
- #
1168
1186
  # @!attribute [rw] revision_destinations
1169
1187
  # The destination in Amazon S3 where the revision is exported.
1170
1188
  # @return [Array<Types::RevisionDestinationEntry>]
1171
1189
  #
1190
+ # @!attribute [rw] event_action_arn
1191
+ # The Amazon Resource Name (ARN) of the event action.
1192
+ # @return [String]
1193
+ #
1172
1194
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ExportRevisionsToS3ResponseDetails AWS API Documentation
1173
1195
  #
1174
1196
  class ExportRevisionsToS3ResponseDetails < Struct.new(
1175
1197
  :data_set_id,
1176
1198
  :encryption,
1177
- :event_action_arn,
1178
- :revision_destinations)
1199
+ :revision_destinations,
1200
+ :event_action_arn)
1179
1201
  SENSITIVE = []
1180
1202
  include Aws::Structure
1181
1203
  end
@@ -1246,11 +1268,11 @@ module Aws::DataExchange
1246
1268
  # @return [String]
1247
1269
  #
1248
1270
  # @!attribute [rw] asset_details
1271
+ # Information about the asset.
1249
1272
  # @return [Types::AssetDetails]
1250
1273
  #
1251
1274
  # @!attribute [rw] asset_type
1252
- # The type of file your data is stored in. Currently, the supported
1253
- # asset type is S3\_SNAPSHOT.
1275
+ # The type of asset that is added to a data set.
1254
1276
  # @return [String]
1255
1277
  #
1256
1278
  # @!attribute [rw] created_at
@@ -1326,8 +1348,7 @@ module Aws::DataExchange
1326
1348
  # @return [String]
1327
1349
  #
1328
1350
  # @!attribute [rw] asset_type
1329
- # The type of file your data is stored in. Currently, the supported
1330
- # asset type is S3\_SNAPSHOT.
1351
+ # The type of asset that is added to a data set.
1331
1352
  # @return [String]
1332
1353
  #
1333
1354
  # @!attribute [rw] created_at
@@ -1356,6 +1377,7 @@ module Aws::DataExchange
1356
1377
  # @return [String]
1357
1378
  #
1358
1379
  # @!attribute [rw] origin_details
1380
+ # Information about the origin of the data set.
1359
1381
  # @return [Types::OriginDetails]
1360
1382
  #
1361
1383
  # @!attribute [rw] source_id
@@ -1407,6 +1429,7 @@ module Aws::DataExchange
1407
1429
  end
1408
1430
 
1409
1431
  # @!attribute [rw] action
1432
+ # What occurs after a certain event.
1410
1433
  # @return [Types::Action]
1411
1434
  #
1412
1435
  # @!attribute [rw] arn
@@ -1420,6 +1443,7 @@ module Aws::DataExchange
1420
1443
  # @return [Time]
1421
1444
  #
1422
1445
  # @!attribute [rw] event
1446
+ # What occurs to start an action.
1423
1447
  # @return [Types::Event]
1424
1448
  #
1425
1449
  # @!attribute [rw] id
@@ -1584,10 +1608,10 @@ module Aws::DataExchange
1584
1608
  include Aws::Structure
1585
1609
  end
1586
1610
 
1611
+ # Information about the job error.
1612
+ #
1587
1613
  # @!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.
1614
+ # Information about the job error.
1591
1615
  # @return [String]
1592
1616
  #
1593
1617
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlJobErrorDetails AWS API Documentation
@@ -1645,7 +1669,7 @@ module Aws::DataExchange
1645
1669
  # signed URL and other information.
1646
1670
  #
1647
1671
  # @!attribute [rw] asset_name
1648
- # The name for the asset associated with this import response.
1672
+ # The name for the asset associated with this import job.
1649
1673
  # @return [String]
1650
1674
  #
1651
1675
  # @!attribute [rw] data_set_id
@@ -1685,6 +1709,71 @@ module Aws::DataExchange
1685
1709
  include Aws::Structure
1686
1710
  end
1687
1711
 
1712
+ # Details from an import from Amazon Redshift datashare request.
1713
+ #
1714
+ # @note When making an API call, you may pass ImportAssetsFromRedshiftDataSharesRequestDetails
1715
+ # data as a hash:
1716
+ #
1717
+ # {
1718
+ # asset_sources: [ # required
1719
+ # {
1720
+ # data_share_arn: "__string", # required
1721
+ # },
1722
+ # ],
1723
+ # data_set_id: "Id", # required
1724
+ # revision_id: "Id", # required
1725
+ # }
1726
+ #
1727
+ # @!attribute [rw] asset_sources
1728
+ # A list of Amazon Redshift datashare assets.
1729
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1730
+ #
1731
+ # @!attribute [rw] data_set_id
1732
+ # The unique identifier for the data set associated with this import
1733
+ # job.
1734
+ # @return [String]
1735
+ #
1736
+ # @!attribute [rw] revision_id
1737
+ # The unique identifier for the revision associated with this import
1738
+ # job.
1739
+ # @return [String]
1740
+ #
1741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesRequestDetails AWS API Documentation
1742
+ #
1743
+ class ImportAssetsFromRedshiftDataSharesRequestDetails < Struct.new(
1744
+ :asset_sources,
1745
+ :data_set_id,
1746
+ :revision_id)
1747
+ SENSITIVE = []
1748
+ include Aws::Structure
1749
+ end
1750
+
1751
+ # Details from an import from Amazon Redshift datashare response.
1752
+ #
1753
+ # @!attribute [rw] asset_sources
1754
+ # A list of Amazon Redshift datashare asset sources.
1755
+ # @return [Array<Types::RedshiftDataShareAssetSourceEntry>]
1756
+ #
1757
+ # @!attribute [rw] data_set_id
1758
+ # The unique identifier for the data set associated with this import
1759
+ # job.
1760
+ # @return [String]
1761
+ #
1762
+ # @!attribute [rw] revision_id
1763
+ # The unique identifier for the revision associated with this import
1764
+ # job.
1765
+ # @return [String]
1766
+ #
1767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromRedshiftDataSharesResponseDetails AWS API Documentation
1768
+ #
1769
+ class ImportAssetsFromRedshiftDataSharesResponseDetails < Struct.new(
1770
+ :asset_sources,
1771
+ :data_set_id,
1772
+ :revision_id)
1773
+ SENSITIVE = []
1774
+ include Aws::Structure
1775
+ end
1776
+
1688
1777
  # Details of the operation to be performed by the job.
1689
1778
  #
1690
1779
  # @note When making an API call, you may pass ImportAssetsFromS3RequestDetails
@@ -1825,6 +1914,7 @@ module Aws::DataExchange
1825
1914
  # @return [String]
1826
1915
  #
1827
1916
  # @!attribute [rw] details
1917
+ # The details about the job error.
1828
1918
  # @return [Types::Details]
1829
1919
  #
1830
1920
  # @!attribute [rw] limit_name
@@ -2125,7 +2215,10 @@ module Aws::DataExchange
2125
2215
  include Aws::Structure
2126
2216
  end
2127
2217
 
2218
+ # Information about the origin of the data set.
2219
+ #
2128
2220
  # @!attribute [rw] product_id
2221
+ # The product ID of the origin of the data set.
2129
2222
  # @return [String]
2130
2223
  #
2131
2224
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/OriginDetails AWS API Documentation
@@ -2136,6 +2229,41 @@ module Aws::DataExchange
2136
2229
  include Aws::Structure
2137
2230
  end
2138
2231
 
2232
+ # The Amazon Redshift datashare asset.
2233
+ #
2234
+ # @!attribute [rw] arn
2235
+ # The Amazon Resource Name (ARN) of the datashare asset.
2236
+ # @return [String]
2237
+ #
2238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAsset AWS API Documentation
2239
+ #
2240
+ class RedshiftDataShareAsset < Struct.new(
2241
+ :arn)
2242
+ SENSITIVE = []
2243
+ include Aws::Structure
2244
+ end
2245
+
2246
+ # The source of the Amazon Redshift datashare asset.
2247
+ #
2248
+ # @note When making an API call, you may pass RedshiftDataShareAssetSourceEntry
2249
+ # data as a hash:
2250
+ #
2251
+ # {
2252
+ # data_share_arn: "__string", # required
2253
+ # }
2254
+ #
2255
+ # @!attribute [rw] data_share_arn
2256
+ # The Amazon Resource Name (ARN) of the datashare asset.
2257
+ # @return [String]
2258
+ #
2259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RedshiftDataShareAssetSourceEntry AWS API Documentation
2260
+ #
2261
+ class RedshiftDataShareAssetSourceEntry < Struct.new(
2262
+ :data_share_arn)
2263
+ SENSITIVE = []
2264
+ include Aws::Structure
2265
+ end
2266
+
2139
2267
  # The details for the request.
2140
2268
  #
2141
2269
  # @note When making an API call, you may pass RequestDetails
@@ -2192,6 +2320,15 @@ module Aws::DataExchange
2192
2320
  # data_set_id: "Id", # required
2193
2321
  # revision_id: "Id", # required
2194
2322
  # },
2323
+ # import_assets_from_redshift_data_shares: {
2324
+ # asset_sources: [ # required
2325
+ # {
2326
+ # data_share_arn: "__string", # required
2327
+ # },
2328
+ # ],
2329
+ # data_set_id: "Id", # required
2330
+ # revision_id: "Id", # required
2331
+ # },
2195
2332
  # }
2196
2333
  #
2197
2334
  # @!attribute [rw] export_asset_to_signed_url
@@ -2214,6 +2351,10 @@ module Aws::DataExchange
2214
2351
  # Details about the import from Amazon S3 request.
2215
2352
  # @return [Types::ImportAssetsFromS3RequestDetails]
2216
2353
  #
2354
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2355
+ # Details from an import from Amazon Redshift datashare request.
2356
+ # @return [Types::ImportAssetsFromRedshiftDataSharesRequestDetails]
2357
+ #
2217
2358
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
2218
2359
  #
2219
2360
  class RequestDetails < Struct.new(
@@ -2221,7 +2362,8 @@ module Aws::DataExchange
2221
2362
  :export_assets_to_s3,
2222
2363
  :export_revisions_to_s3,
2223
2364
  :import_asset_from_signed_url,
2224
- :import_assets_from_s3)
2365
+ :import_assets_from_s3,
2366
+ :import_assets_from_redshift_data_shares)
2225
2367
  SENSITIVE = []
2226
2368
  include Aws::Structure
2227
2369
  end
@@ -2272,6 +2414,10 @@ module Aws::DataExchange
2272
2414
  # Details for the import from Amazon S3 response.
2273
2415
  # @return [Types::ImportAssetsFromS3ResponseDetails]
2274
2416
  #
2417
+ # @!attribute [rw] import_assets_from_redshift_data_shares
2418
+ # Details from an import from Amazon Redshift datashare response.
2419
+ # @return [Types::ImportAssetsFromRedshiftDataSharesResponseDetails]
2420
+ #
2275
2421
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
2276
2422
  #
2277
2423
  class ResponseDetails < Struct.new(
@@ -2279,7 +2425,8 @@ module Aws::DataExchange
2279
2425
  :export_assets_to_s3,
2280
2426
  :export_revisions_to_s3,
2281
2427
  :import_asset_from_signed_url,
2282
- :import_assets_from_s3)
2428
+ :import_assets_from_s3,
2429
+ :import_assets_from_redshift_data_shares)
2283
2430
  SENSITIVE = []
2284
2431
  include Aws::Structure
2285
2432
  end
@@ -2386,6 +2533,8 @@ module Aws::DataExchange
2386
2533
  include Aws::Structure
2387
2534
  end
2388
2535
 
2536
+ # Information about the published revision.
2537
+ #
2389
2538
  # @note When making an API call, you may pass RevisionPublished
2390
2539
  # data as a hash:
2391
2540
  #
@@ -2394,7 +2543,7 @@ module Aws::DataExchange
2394
2543
  # }
2395
2544
  #
2396
2545
  # @!attribute [rw] data_set_id
2397
- # A unique identifier.
2546
+ # The data set ID of the published revision.
2398
2547
  # @return [String]
2399
2548
  #
2400
2549
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionPublished AWS API Documentation
@@ -2568,11 +2717,11 @@ module Aws::DataExchange
2568
2717
  # @return [String]
2569
2718
  #
2570
2719
  # @!attribute [rw] asset_details
2720
+ # Information about the asset.
2571
2721
  # @return [Types::AssetDetails]
2572
2722
  #
2573
2723
  # @!attribute [rw] asset_type
2574
- # The type of file your data is stored in. Currently, the supported
2575
- # asset type is S3\_SNAPSHOT.
2724
+ # The type of asset that is added to a data set.
2576
2725
  # @return [String]
2577
2726
  #
2578
2727
  # @!attribute [rw] created_at
@@ -2662,8 +2811,7 @@ module Aws::DataExchange
2662
2811
  # @return [String]
2663
2812
  #
2664
2813
  # @!attribute [rw] asset_type
2665
- # The type of file your data is stored in. Currently, the supported
2666
- # asset type is S3\_SNAPSHOT.
2814
+ # The type of asset that is added to a data set.
2667
2815
  # @return [String]
2668
2816
  #
2669
2817
  # @!attribute [rw] created_at
@@ -2692,6 +2840,7 @@ module Aws::DataExchange
2692
2840
  # @return [String]
2693
2841
  #
2694
2842
  # @!attribute [rw] origin_details
2843
+ # Information about the origin of the data set.
2695
2844
  # @return [Types::OriginDetails]
2696
2845
  #
2697
2846
  # @!attribute [rw] source_id
@@ -2758,6 +2907,7 @@ module Aws::DataExchange
2758
2907
  end
2759
2908
 
2760
2909
  # @!attribute [rw] action
2910
+ # What occurs after a certain event.
2761
2911
  # @return [Types::Action]
2762
2912
  #
2763
2913
  # @!attribute [rw] arn
@@ -2771,6 +2921,7 @@ module Aws::DataExchange
2771
2921
  # @return [Time]
2772
2922
  #
2773
2923
  # @!attribute [rw] event
2924
+ # What occurs to start an action.
2774
2925
  # @return [Types::Event]
2775
2926
  #
2776
2927
  # @!attribute [rw] id
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-dataexchange/customizations'
48
48
  # @!group service
49
49
  module Aws::DataExchange
50
50
 
51
- GEM_VERSION = '1.18.0'
51
+ GEM_VERSION = '1.19.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dataexchange
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core