aws-sdk-dataexchange 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,22 +26,6 @@ module Aws::DataExchange
26
26
 
27
27
  # What occurs after a certain event.
28
28
  #
29
- # @note When making an API call, you may pass Action
30
- # data as a hash:
31
- #
32
- # {
33
- # export_revision_to_s3: {
34
- # encryption: {
35
- # kms_key_arn: "__string",
36
- # type: "aws:kms", # required, accepts aws:kms, AES256
37
- # },
38
- # revision_destination: { # required
39
- # bucket: "__string", # required
40
- # key_pattern: "__string",
41
- # },
42
- # },
43
- # }
44
- #
45
29
  # @!attribute [rw] export_revision_to_s3
46
30
  # Details for the export revision to Amazon S3 action.
47
31
  # @return [Types::AutoExportRevisionToS3RequestDetails]
@@ -110,21 +94,12 @@ module Aws::DataExchange
110
94
 
111
95
  # The destination for the asset.
112
96
  #
113
- # @note When making an API call, you may pass AssetDestinationEntry
114
- # data as a hash:
115
- #
116
- # {
117
- # asset_id: "Id", # required
118
- # bucket: "__string", # required
119
- # key: "__string",
120
- # }
121
- #
122
97
  # @!attribute [rw] asset_id
123
98
  # The unique identifier for the asset.
124
99
  # @return [String]
125
100
  #
126
101
  # @!attribute [rw] bucket
127
- # The S3 bucket that is the destination for the asset.
102
+ # The Amazon S3 bucket that is the destination for the asset.
128
103
  # @return [String]
129
104
  #
130
105
  # @!attribute [rw] key
@@ -141,10 +116,10 @@ module Aws::DataExchange
141
116
  include Aws::Structure
142
117
  end
143
118
 
144
- # Information about the asset.
119
+ # Details about the asset.
145
120
  #
146
121
  # @!attribute [rw] s3_snapshot_asset
147
- # The S3 object that is the asset.
122
+ # The Amazon S3 object that is the asset.
148
123
  # @return [Types::S3SnapshotAsset]
149
124
  #
150
125
  # @!attribute [rw] redshift_data_share_asset
@@ -155,30 +130,43 @@ module Aws::DataExchange
155
130
  # Information about the API Gateway API asset.
156
131
  # @return [Types::ApiGatewayApiAsset]
157
132
  #
133
+ # @!attribute [rw] s3_data_access_asset
134
+ # The Amazon S3 data access that is the asset.
135
+ # @return [Types::S3DataAccessAsset]
136
+ #
137
+ # @!attribute [rw] lake_formation_data_permission_asset
138
+ # The AWS Lake Formation data permission that is the asset.
139
+ # @return [Types::LakeFormationDataPermissionAsset]
140
+ #
158
141
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AssetDetails AWS API Documentation
159
142
  #
160
143
  class AssetDetails < Struct.new(
161
144
  :s3_snapshot_asset,
162
145
  :redshift_data_share_asset,
163
- :api_gateway_api_asset)
146
+ :api_gateway_api_asset,
147
+ :s3_data_access_asset,
148
+ :lake_formation_data_permission_asset)
164
149
  SENSITIVE = []
165
150
  include Aws::Structure
166
151
  end
167
152
 
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. When you create an
173
- # import job for your files, API Gateway APIs, or Amazon Redshift
174
- # datashares, you create an asset in AWS Data Exchange.
153
+ # An asset in AWS Data Exchange is a piece of data (Amazon S3 object) or
154
+ # a means of fulfilling data (Amazon Redshift datashare or Amazon API
155
+ # Gateway API, AWS Lake Formation data permission, or Amazon S3 data
156
+ # access). The asset can be a structured data file, an image file, or
157
+ # some other data file that can be stored as an Amazon S3 object, an
158
+ # Amazon API Gateway API, or an Amazon Redshift datashare, an AWS Lake
159
+ # Formation data permission, or an Amazon S3 data access. When you
160
+ # create an import job for your files, API Gateway APIs, Amazon Redshift
161
+ # datashares, AWS Lake Formation data permission, or Amazon S3 data
162
+ # access, you create an asset in AWS Data Exchange.
175
163
  #
176
164
  # @!attribute [rw] arn
177
165
  # The ARN for the asset.
178
166
  # @return [String]
179
167
  #
180
168
  # @!attribute [rw] asset_details
181
- # Information about the asset.
169
+ # Details about the asset.
182
170
  # @return [Types::AssetDetails]
183
171
  #
184
172
  # @!attribute [rw] asset_type
@@ -198,12 +186,14 @@ module Aws::DataExchange
198
186
  # @return [String]
199
187
  #
200
188
  # @!attribute [rw] name
201
- # The name of the asset. When importing from Amazon S3, the S3 object
202
- # key is used as the asset name. When exporting to Amazon S3, the
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.
189
+ # The name of the asset. When importing from Amazon S3, the Amazon S3
190
+ # object key is used as the asset name. When exporting to Amazon S3,
191
+ # the asset name is used as default target Amazon S3 object key. When
192
+ # importing from Amazon API Gateway API, the API name is used as the
193
+ # asset name. When importing from Amazon Redshift, the datashare name
194
+ # is used as the asset name. When importing from AWS Lake Formation,
195
+ # the static values of "Database(s) included in LF-tag policy" or
196
+ # "Table(s) included in LF-tag policy" are used as the asset name.
207
197
  # @return [String]
208
198
  #
209
199
  # @!attribute [rw] revision_id
@@ -240,16 +230,8 @@ module Aws::DataExchange
240
230
 
241
231
  # The source of the assets.
242
232
  #
243
- # @note When making an API call, you may pass AssetSourceEntry
244
- # data as a hash:
245
- #
246
- # {
247
- # bucket: "__string", # required
248
- # key: "__string", # required
249
- # }
250
- #
251
233
  # @!attribute [rw] bucket
252
- # The S3 bucket that's part of the source of the asset.
234
+ # The Amazon S3 bucket that's part of the source of the asset.
253
235
  # @return [String]
254
236
  #
255
237
  # @!attribute [rw] key
@@ -268,16 +250,8 @@ module Aws::DataExchange
268
250
  # A revision destination is the Amazon S3 bucket folder destination to
269
251
  # where the export will be sent.
270
252
  #
271
- # @note When making an API call, you may pass AutoExportRevisionDestinationEntry
272
- # data as a hash:
273
- #
274
- # {
275
- # bucket: "__string", # required
276
- # key_pattern: "__string",
277
- # }
278
- #
279
253
  # @!attribute [rw] bucket
280
- # The S3 bucket that is the destination for the event action.
254
+ # The Amazon S3 bucket that is the destination for the event action.
281
255
  # @return [String]
282
256
  #
283
257
  # @!attribute [rw] key_pattern
@@ -301,20 +275,6 @@ module Aws::DataExchange
301
275
 
302
276
  # Details of the operation to be performed by the job.
303
277
  #
304
- # @note When making an API call, you may pass AutoExportRevisionToS3RequestDetails
305
- # data as a hash:
306
- #
307
- # {
308
- # encryption: {
309
- # kms_key_arn: "__string",
310
- # type: "aws:kms", # required, accepts aws:kms, AES256
311
- # },
312
- # revision_destination: { # required
313
- # bucket: "__string", # required
314
- # key_pattern: "__string",
315
- # },
316
- # }
317
- #
318
278
  # @!attribute [rw] encryption
319
279
  # Encryption configuration for the auto export job.
320
280
  # @return [Types::ExportServerSideEncryption]
@@ -333,13 +293,6 @@ module Aws::DataExchange
333
293
  include Aws::Structure
334
294
  end
335
295
 
336
- # @note When making an API call, you may pass CancelJobRequest
337
- # data as a hash:
338
- #
339
- # {
340
- # job_id: "__string", # required
341
- # }
342
- #
343
296
  # @!attribute [rw] job_id
344
297
  # The unique identifier for a job.
345
298
  # @return [String]
@@ -378,18 +331,6 @@ module Aws::DataExchange
378
331
  include Aws::Structure
379
332
  end
380
333
 
381
- # @note When making an API call, you may pass CreateDataSetRequest
382
- # data as a hash:
383
- #
384
- # {
385
- # asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE, API_GATEWAY_API
386
- # description: "Description", # required
387
- # name: "Name", # required
388
- # tags: {
389
- # "__string" => "__string",
390
- # },
391
- # }
392
- #
393
334
  # @!attribute [rw] asset_type
394
335
  # The type of asset that is added to a data set.
395
336
  # @return [String]
@@ -489,29 +430,6 @@ module Aws::DataExchange
489
430
  include Aws::Structure
490
431
  end
491
432
 
492
- # @note When making an API call, you may pass CreateEventActionRequest
493
- # data as a hash:
494
- #
495
- # {
496
- # action: { # required
497
- # export_revision_to_s3: {
498
- # encryption: {
499
- # kms_key_arn: "__string",
500
- # type: "aws:kms", # required, accepts aws:kms, AES256
501
- # },
502
- # revision_destination: { # required
503
- # bucket: "__string", # required
504
- # key_pattern: "__string",
505
- # },
506
- # },
507
- # },
508
- # event: { # required
509
- # revision_published: {
510
- # data_set_id: "Id", # required
511
- # },
512
- # },
513
- # }
514
- #
515
433
  # @!attribute [rw] action
516
434
  # What occurs after a certain event.
517
435
  # @return [Types::Action]
@@ -568,85 +486,6 @@ module Aws::DataExchange
568
486
  include Aws::Structure
569
487
  end
570
488
 
571
- # @note When making an API call, you may pass CreateJobRequest
572
- # data as a hash:
573
- #
574
- # {
575
- # details: { # required
576
- # export_asset_to_signed_url: {
577
- # asset_id: "Id", # required
578
- # data_set_id: "Id", # required
579
- # revision_id: "Id", # required
580
- # },
581
- # export_assets_to_s3: {
582
- # asset_destinations: [ # required
583
- # {
584
- # asset_id: "Id", # required
585
- # bucket: "__string", # required
586
- # key: "__string",
587
- # },
588
- # ],
589
- # data_set_id: "Id", # required
590
- # encryption: {
591
- # kms_key_arn: "__string",
592
- # type: "aws:kms", # required, accepts aws:kms, AES256
593
- # },
594
- # revision_id: "Id", # required
595
- # },
596
- # export_revisions_to_s3: {
597
- # data_set_id: "Id", # required
598
- # encryption: {
599
- # kms_key_arn: "__string",
600
- # type: "aws:kms", # required, accepts aws:kms, AES256
601
- # },
602
- # revision_destinations: [ # required
603
- # {
604
- # bucket: "__string", # required
605
- # key_pattern: "__string",
606
- # revision_id: "Id", # required
607
- # },
608
- # ],
609
- # },
610
- # import_asset_from_signed_url: {
611
- # asset_name: "AssetName", # required
612
- # data_set_id: "Id", # required
613
- # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
614
- # revision_id: "Id", # required
615
- # },
616
- # import_assets_from_s3: {
617
- # asset_sources: [ # required
618
- # {
619
- # bucket: "__string", # required
620
- # key: "__string", # required
621
- # },
622
- # ],
623
- # data_set_id: "Id", # required
624
- # revision_id: "Id", # required
625
- # },
626
- # import_assets_from_redshift_data_shares: {
627
- # asset_sources: [ # required
628
- # {
629
- # data_share_arn: "__string", # required
630
- # },
631
- # ],
632
- # data_set_id: "Id", # required
633
- # revision_id: "Id", # required
634
- # },
635
- # import_asset_from_api_gateway_api: {
636
- # api_description: "ApiDescription",
637
- # api_id: "__string", # required
638
- # api_key: "__string",
639
- # api_name: "__string", # required
640
- # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
641
- # data_set_id: "Id", # required
642
- # protocol_type: "REST", # required, accepts REST
643
- # revision_id: "Id", # required
644
- # stage: "__string", # required
645
- # },
646
- # },
647
- # 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
648
- # }
649
- #
650
489
  # @!attribute [rw] details
651
490
  # The details for the CreateJob request.
652
491
  # @return [Types::RequestDetails]
@@ -711,17 +550,6 @@ module Aws::DataExchange
711
550
  include Aws::Structure
712
551
  end
713
552
 
714
- # @note When making an API call, you may pass CreateRevisionRequest
715
- # data as a hash:
716
- #
717
- # {
718
- # comment: "__stringMin0Max16384",
719
- # data_set_id: "__string", # required
720
- # tags: {
721
- # "__string" => "__string",
722
- # },
723
- # }
724
- #
725
553
  # @!attribute [rw] comment
726
554
  # An optional comment about the revision.
727
555
  # @return [String]
@@ -761,7 +589,7 @@ module Aws::DataExchange
761
589
  # @return [Time]
762
590
  #
763
591
  # @!attribute [rw] data_set_id
764
- # The unique identifier for the data set associated with this
592
+ # The unique identifier for the data set associated with the data set
765
593
  # revision.
766
594
  # @return [String]
767
595
  #
@@ -828,6 +656,57 @@ module Aws::DataExchange
828
656
  include Aws::Structure
829
657
  end
830
658
 
659
+ # Details of the operation to create an Amazon S3 data access from an S3
660
+ # bucket.
661
+ #
662
+ # @!attribute [rw] asset_source
663
+ # Details about the S3 data access source asset.
664
+ # @return [Types::S3DataAccessAssetSourceEntry]
665
+ #
666
+ # @!attribute [rw] data_set_id
667
+ # The unique identifier for the data set associated with the creation
668
+ # of this Amazon S3 data access.
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] revision_id
672
+ # The unique identifier for a revision.
673
+ # @return [String]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateS3DataAccessFromS3BucketRequestDetails AWS API Documentation
676
+ #
677
+ class CreateS3DataAccessFromS3BucketRequestDetails < Struct.new(
678
+ :asset_source,
679
+ :data_set_id,
680
+ :revision_id)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
685
+ # Details about the response of the operation to create an S3 data
686
+ # access from an S3 bucket.
687
+ #
688
+ # @!attribute [rw] asset_source
689
+ # Details about the asset source from an Amazon S3 bucket.
690
+ # @return [Types::S3DataAccessAssetSourceEntry]
691
+ #
692
+ # @!attribute [rw] data_set_id
693
+ # The unique identifier for this data set.
694
+ # @return [String]
695
+ #
696
+ # @!attribute [rw] revision_id
697
+ # The unique identifier for the revision.
698
+ # @return [String]
699
+ #
700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateS3DataAccessFromS3BucketResponseDetails AWS API Documentation
701
+ #
702
+ class CreateS3DataAccessFromS3BucketResponseDetails < Struct.new(
703
+ :asset_source,
704
+ :data_set_id,
705
+ :revision_id)
706
+ SENSITIVE = []
707
+ include Aws::Structure
708
+ end
709
+
831
710
  # A data set is an AWS resource with one or more revisions.
832
711
  #
833
712
  # @!attribute [rw] arn
@@ -892,15 +771,39 @@ module Aws::DataExchange
892
771
  include Aws::Structure
893
772
  end
894
773
 
895
- # @note When making an API call, you may pass DeleteAssetRequest
896
- # data as a hash:
774
+ # The LF-tag policy for database resources.
775
+ #
776
+ # @!attribute [rw] expression
777
+ # A list of LF-tag conditions that apply to database resources.
778
+ # @return [Array<Types::LFTag>]
897
779
  #
898
- # {
899
- # asset_id: "__string", # required
900
- # data_set_id: "__string", # required
901
- # revision_id: "__string", # required
902
- # }
780
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DatabaseLFTagPolicy AWS API Documentation
903
781
  #
782
+ class DatabaseLFTagPolicy < Struct.new(
783
+ :expression)
784
+ SENSITIVE = []
785
+ include Aws::Structure
786
+ end
787
+
788
+ # The LF-tag policy and permissions for database resources.
789
+ #
790
+ # @!attribute [rw] expression
791
+ # A list of LF-tag conditions that apply to database resources.
792
+ # @return [Array<Types::LFTag>]
793
+ #
794
+ # @!attribute [rw] permissions
795
+ # The permissions granted to subscribers on database resources.
796
+ # @return [Array<String>]
797
+ #
798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DatabaseLFTagPolicyAndPermissions AWS API Documentation
799
+ #
800
+ class DatabaseLFTagPolicyAndPermissions < Struct.new(
801
+ :expression,
802
+ :permissions)
803
+ SENSITIVE = []
804
+ include Aws::Structure
805
+ end
806
+
904
807
  # @!attribute [rw] asset_id
905
808
  # The unique identifier for an asset.
906
809
  # @return [String]
@@ -923,13 +826,6 @@ module Aws::DataExchange
923
826
  include Aws::Structure
924
827
  end
925
828
 
926
- # @note When making an API call, you may pass DeleteDataSetRequest
927
- # data as a hash:
928
- #
929
- # {
930
- # data_set_id: "__string", # required
931
- # }
932
- #
933
829
  # @!attribute [rw] data_set_id
934
830
  # The unique identifier for a data set.
935
831
  # @return [String]
@@ -942,13 +838,6 @@ module Aws::DataExchange
942
838
  include Aws::Structure
943
839
  end
944
840
 
945
- # @note When making an API call, you may pass DeleteEventActionRequest
946
- # data as a hash:
947
- #
948
- # {
949
- # event_action_id: "__string", # required
950
- # }
951
- #
952
841
  # @!attribute [rw] event_action_id
953
842
  # The unique identifier for the event action.
954
843
  # @return [String]
@@ -961,14 +850,6 @@ module Aws::DataExchange
961
850
  include Aws::Structure
962
851
  end
963
852
 
964
- # @note When making an API call, you may pass DeleteRevisionRequest
965
- # data as a hash:
966
- #
967
- # {
968
- # data_set_id: "__string", # required
969
- # revision_id: "__string", # required
970
- # }
971
- #
972
853
  # @!attribute [rw] data_set_id
973
854
  # The unique identifier for a data set.
974
855
  # @return [String]
@@ -993,7 +874,7 @@ module Aws::DataExchange
993
874
  # @return [Types::ImportAssetFromSignedUrlJobErrorDetails]
994
875
  #
995
876
  # @!attribute [rw] import_assets_from_s3_job_error_details
996
- # Information about the job error.
877
+ # Details about the job error.
997
878
  # @return [Array<Types::AssetSourceEntry>]
998
879
  #
999
880
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/Details AWS API Documentation
@@ -1007,15 +888,6 @@ module Aws::DataExchange
1007
888
 
1008
889
  # What occurs to start an action.
1009
890
  #
1010
- # @note When making an API call, you may pass Event
1011
- # data as a hash:
1012
- #
1013
- # {
1014
- # revision_published: {
1015
- # data_set_id: "Id", # required
1016
- # },
1017
- # }
1018
- #
1019
891
  # @!attribute [rw] revision_published
1020
892
  # What occurs to start the revision publish action.
1021
893
  # @return [Types::RevisionPublished]
@@ -1073,15 +945,6 @@ module Aws::DataExchange
1073
945
 
1074
946
  # Details of the operation to be performed by the job.
1075
947
  #
1076
- # @note When making an API call, you may pass ExportAssetToSignedUrlRequestDetails
1077
- # data as a hash:
1078
- #
1079
- # {
1080
- # asset_id: "Id", # required
1081
- # data_set_id: "Id", # required
1082
- # revision_id: "Id", # required
1083
- # }
1084
- #
1085
948
  # @!attribute [rw] asset_id
1086
949
  # The unique identifier for the asset that is exported to a signed
1087
950
  # URL.
@@ -1145,25 +1008,6 @@ module Aws::DataExchange
1145
1008
 
1146
1009
  # Details of the operation to be performed by the job.
1147
1010
  #
1148
- # @note When making an API call, you may pass ExportAssetsToS3RequestDetails
1149
- # data as a hash:
1150
- #
1151
- # {
1152
- # asset_destinations: [ # required
1153
- # {
1154
- # asset_id: "Id", # required
1155
- # bucket: "__string", # required
1156
- # key: "__string",
1157
- # },
1158
- # ],
1159
- # data_set_id: "Id", # required
1160
- # encryption: {
1161
- # kms_key_arn: "__string",
1162
- # type: "aws:kms", # required, accepts aws:kms, AES256
1163
- # },
1164
- # revision_id: "Id", # required
1165
- # }
1166
- #
1167
1011
  # @!attribute [rw] asset_destinations
1168
1012
  # The destination for the asset.
1169
1013
  # @return [Array<Types::AssetDestinationEntry>]
@@ -1226,24 +1070,6 @@ module Aws::DataExchange
1226
1070
 
1227
1071
  # Details of the operation to be performed by the job.
1228
1072
  #
1229
- # @note When making an API call, you may pass ExportRevisionsToS3RequestDetails
1230
- # data as a hash:
1231
- #
1232
- # {
1233
- # data_set_id: "Id", # required
1234
- # encryption: {
1235
- # kms_key_arn: "__string",
1236
- # type: "aws:kms", # required, accepts aws:kms, AES256
1237
- # },
1238
- # revision_destinations: [ # required
1239
- # {
1240
- # bucket: "__string", # required
1241
- # key_pattern: "__string",
1242
- # revision_id: "Id", # required
1243
- # },
1244
- # ],
1245
- # }
1246
- #
1247
1073
  # @!attribute [rw] data_set_id
1248
1074
  # The unique identifier for the data set associated with this export
1249
1075
  # job.
@@ -1301,14 +1127,6 @@ module Aws::DataExchange
1301
1127
  # type in addition to the AWS KMS key. The KMS key is only necessary if
1302
1128
  # you chose the KMS encryption type.
1303
1129
  #
1304
- # @note When making an API call, you may pass ExportServerSideEncryption
1305
- # data as a hash:
1306
- #
1307
- # {
1308
- # kms_key_arn: "__string",
1309
- # type: "aws:kms", # required, accepts aws:kms, AES256
1310
- # }
1311
- #
1312
1130
  # @!attribute [rw] kms_key_arn
1313
1131
  # The Amazon Resource Name (ARN) of the AWS KMS key you want to use to
1314
1132
  # encrypt the Amazon S3 objects. This parameter is required if you
@@ -1329,15 +1147,6 @@ module Aws::DataExchange
1329
1147
  include Aws::Structure
1330
1148
  end
1331
1149
 
1332
- # @note When making an API call, you may pass GetAssetRequest
1333
- # data as a hash:
1334
- #
1335
- # {
1336
- # asset_id: "__string", # required
1337
- # data_set_id: "__string", # required
1338
- # revision_id: "__string", # required
1339
- # }
1340
- #
1341
1150
  # @!attribute [rw] asset_id
1342
1151
  # The unique identifier for an asset.
1343
1152
  # @return [String]
@@ -1365,7 +1174,7 @@ module Aws::DataExchange
1365
1174
  # @return [String]
1366
1175
  #
1367
1176
  # @!attribute [rw] asset_details
1368
- # Information about the asset.
1177
+ # Details about the asset.
1369
1178
  # @return [Types::AssetDetails]
1370
1179
  #
1371
1180
  # @!attribute [rw] asset_type
@@ -1385,12 +1194,15 @@ module Aws::DataExchange
1385
1194
  # @return [String]
1386
1195
  #
1387
1196
  # @!attribute [rw] name
1388
- # The name of the asset. When importing from Amazon S3, the S3 object
1389
- # key is used as the asset name. When exporting to Amazon S3, the
1390
- # asset name is used as default target S3 object key. When importing
1391
- # from Amazon API Gateway API, the API name is used as the asset name.
1392
- # When importing from Amazon Redshift, the datashare name is used as
1393
- # the asset name.
1197
+ # The name of the asset. When importing from Amazon S3, the Amazon S3
1198
+ # object key is used as the asset name. When exporting to Amazon S3,
1199
+ # the asset name is used as default target Amazon S3 object key. When
1200
+ # importing from Amazon API Gateway API, the API name is used as the
1201
+ # asset name. When importing from Amazon Redshift, the datashare name
1202
+ # is used as the asset name. When importing from AWS Lake Formation,
1203
+ # the static values of "Database(s) included in the LF-tag policy"
1204
+ # or "Table(s) included in the LF-tag policy" are used as the asset
1205
+ # name.
1394
1206
  # @return [String]
1395
1207
  #
1396
1208
  # @!attribute [rw] revision_id
@@ -1425,13 +1237,6 @@ module Aws::DataExchange
1425
1237
  include Aws::Structure
1426
1238
  end
1427
1239
 
1428
- # @note When making an API call, you may pass GetDataSetRequest
1429
- # data as a hash:
1430
- #
1431
- # {
1432
- # data_set_id: "__string", # required
1433
- # }
1434
- #
1435
1240
  # @!attribute [rw] data_set_id
1436
1241
  # The unique identifier for a data set.
1437
1242
  # @return [String]
@@ -1511,13 +1316,6 @@ module Aws::DataExchange
1511
1316
  include Aws::Structure
1512
1317
  end
1513
1318
 
1514
- # @note When making an API call, you may pass GetEventActionRequest
1515
- # data as a hash:
1516
- #
1517
- # {
1518
- # event_action_id: "__string", # required
1519
- # }
1520
- #
1521
1319
  # @!attribute [rw] event_action_id
1522
1320
  # The unique identifier for the event action.
1523
1321
  # @return [String]
@@ -1569,13 +1367,6 @@ module Aws::DataExchange
1569
1367
  include Aws::Structure
1570
1368
  end
1571
1369
 
1572
- # @note When making an API call, you may pass GetJobRequest
1573
- # data as a hash:
1574
- #
1575
- # {
1576
- # job_id: "__string", # required
1577
- # }
1578
- #
1579
1370
  # @!attribute [rw] job_id
1580
1371
  # The unique identifier for a job.
1581
1372
  # @return [String]
@@ -1635,14 +1426,6 @@ module Aws::DataExchange
1635
1426
  include Aws::Structure
1636
1427
  end
1637
1428
 
1638
- # @note When making an API call, you may pass GetRevisionRequest
1639
- # data as a hash:
1640
- #
1641
- # {
1642
- # data_set_id: "__string", # required
1643
- # revision_id: "__string", # required
1644
- # }
1645
- #
1646
1429
  # @!attribute [rw] data_set_id
1647
1430
  # The unique identifier for a data set.
1648
1431
  # @return [String]
@@ -1673,7 +1456,7 @@ module Aws::DataExchange
1673
1456
  # @return [Time]
1674
1457
  #
1675
1458
  # @!attribute [rw] data_set_id
1676
- # The unique identifier for the data set associated with this
1459
+ # The unique identifier for the data set associated with the data set
1677
1460
  # revision.
1678
1461
  # @return [String]
1679
1462
  #
@@ -1742,21 +1525,6 @@ module Aws::DataExchange
1742
1525
 
1743
1526
  # The request details.
1744
1527
  #
1745
- # @note When making an API call, you may pass ImportAssetFromApiGatewayApiRequestDetails
1746
- # data as a hash:
1747
- #
1748
- # {
1749
- # api_description: "ApiDescription",
1750
- # api_id: "__string", # required
1751
- # api_key: "__string",
1752
- # api_name: "__string", # required
1753
- # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
1754
- # data_set_id: "Id", # required
1755
- # protocol_type: "REST", # required, accepts REST
1756
- # revision_id: "Id", # required
1757
- # stage: "__string", # required
1758
- # }
1759
- #
1760
1528
  # @!attribute [rw] api_description
1761
1529
  # The API description. Markdown supported.
1762
1530
  # @return [String]
@@ -1875,10 +1643,10 @@ module Aws::DataExchange
1875
1643
  include Aws::Structure
1876
1644
  end
1877
1645
 
1878
- # Information about the job error.
1646
+ # Details about the job error.
1879
1647
  #
1880
1648
  # @!attribute [rw] asset_name
1881
- # Information about the job error.
1649
+ # Details about the job error.
1882
1650
  # @return [String]
1883
1651
  #
1884
1652
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetFromSignedUrlJobErrorDetails AWS API Documentation
@@ -1891,19 +1659,9 @@ module Aws::DataExchange
1891
1659
 
1892
1660
  # Details of the operation to be performed by the job.
1893
1661
  #
1894
- # @note When making an API call, you may pass ImportAssetFromSignedUrlRequestDetails
1895
- # data as a hash:
1896
- #
1897
- # {
1898
- # asset_name: "AssetName", # required
1899
- # data_set_id: "Id", # required
1900
- # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
1901
- # revision_id: "Id", # required
1902
- # }
1903
- #
1904
1662
  # @!attribute [rw] asset_name
1905
- # The name of the asset. When importing from Amazon S3, the S3 object
1906
- # key is used as the asset name.
1663
+ # The name of the asset. When importing from Amazon S3, the Amazon S3
1664
+ # object key is used as the asset name.
1907
1665
  # @return [String]
1908
1666
  #
1909
1667
  # @!attribute [rw] data_set_id
@@ -1976,20 +1734,94 @@ module Aws::DataExchange
1976
1734
  include Aws::Structure
1977
1735
  end
1978
1736
 
1979
- # Details from an import from Amazon Redshift datashare request.
1737
+ # Details about the assets imported from an AWS Lake Formation tag
1738
+ # policy request.
1739
+ #
1740
+ # @!attribute [rw] catalog_id
1741
+ # The identifier for the AWS Glue Data Catalog.
1742
+ # @return [String]
1743
+ #
1744
+ # @!attribute [rw] database
1745
+ # A structure for the database object.
1746
+ # @return [Types::DatabaseLFTagPolicyAndPermissions]
1747
+ #
1748
+ # @!attribute [rw] table
1749
+ # A structure for the table object.
1750
+ # @return [Types::TableLFTagPolicyAndPermissions]
1751
+ #
1752
+ # @!attribute [rw] role_arn
1753
+ # The IAM role's ARN that allows AWS Data Exchange to assume the role
1754
+ # and grant and revoke permissions of subscribers to AWS Lake
1755
+ # Formation data permissions.
1756
+ # @return [String]
1757
+ #
1758
+ # @!attribute [rw] data_set_id
1759
+ # The unique identifier for the data set associated with this import
1760
+ # job.
1761
+ # @return [String]
1762
+ #
1763
+ # @!attribute [rw] revision_id
1764
+ # The unique identifier for the revision associated with this import
1765
+ # job.
1766
+ # @return [String]
1767
+ #
1768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromLakeFormationTagPolicyRequestDetails AWS API Documentation
1769
+ #
1770
+ class ImportAssetsFromLakeFormationTagPolicyRequestDetails < Struct.new(
1771
+ :catalog_id,
1772
+ :database,
1773
+ :table,
1774
+ :role_arn,
1775
+ :data_set_id,
1776
+ :revision_id)
1777
+ SENSITIVE = []
1778
+ include Aws::Structure
1779
+ end
1780
+
1781
+ # Details from an import AWS Lake Formation tag policy job response.
1782
+ #
1783
+ # @!attribute [rw] catalog_id
1784
+ # The identifier for the AWS Glue Data Catalog.
1785
+ # @return [String]
1980
1786
  #
1981
- # @note When making an API call, you may pass ImportAssetsFromRedshiftDataSharesRequestDetails
1982
- # data as a hash:
1787
+ # @!attribute [rw] database
1788
+ # A structure for the database object.
1789
+ # @return [Types::DatabaseLFTagPolicyAndPermissions]
1983
1790
  #
1984
- # {
1985
- # asset_sources: [ # required
1986
- # {
1987
- # data_share_arn: "__string", # required
1988
- # },
1989
- # ],
1990
- # data_set_id: "Id", # required
1991
- # revision_id: "Id", # required
1992
- # }
1791
+ # @!attribute [rw] table
1792
+ # A structure for the table object.
1793
+ # @return [Types::TableLFTagPolicyAndPermissions]
1794
+ #
1795
+ # @!attribute [rw] role_arn
1796
+ # The IAM role's ARN that allows AWS Data Exchange to assume the role
1797
+ # and grant and revoke permissions to AWS Lake Formation data
1798
+ # permissions.
1799
+ # @return [String]
1800
+ #
1801
+ # @!attribute [rw] data_set_id
1802
+ # The unique identifier for the data set associated with this import
1803
+ # job.
1804
+ # @return [String]
1805
+ #
1806
+ # @!attribute [rw] revision_id
1807
+ # The unique identifier for the revision associated with this import
1808
+ # job.
1809
+ # @return [String]
1810
+ #
1811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ImportAssetsFromLakeFormationTagPolicyResponseDetails AWS API Documentation
1812
+ #
1813
+ class ImportAssetsFromLakeFormationTagPolicyResponseDetails < Struct.new(
1814
+ :catalog_id,
1815
+ :database,
1816
+ :table,
1817
+ :role_arn,
1818
+ :data_set_id,
1819
+ :revision_id)
1820
+ SENSITIVE = []
1821
+ include Aws::Structure
1822
+ end
1823
+
1824
+ # Details from an import from Amazon Redshift datashare request.
1993
1825
  #
1994
1826
  # @!attribute [rw] asset_sources
1995
1827
  # A list of Amazon Redshift datashare assets.
@@ -2043,22 +1875,8 @@ module Aws::DataExchange
2043
1875
 
2044
1876
  # Details of the operation to be performed by the job.
2045
1877
  #
2046
- # @note When making an API call, you may pass ImportAssetsFromS3RequestDetails
2047
- # data as a hash:
2048
- #
2049
- # {
2050
- # asset_sources: [ # required
2051
- # {
2052
- # bucket: "__string", # required
2053
- # key: "__string", # required
2054
- # },
2055
- # ],
2056
- # data_set_id: "Id", # required
2057
- # revision_id: "Id", # required
2058
- # }
2059
- #
2060
1878
  # @!attribute [rw] asset_sources
2061
- # Is a list of S3 bucket and object key pairs.
1879
+ # Is a list of Amazon S3 bucket and object key pairs.
2062
1880
  # @return [Array<Types::AssetSourceEntry>]
2063
1881
  #
2064
1882
  # @!attribute [rw] data_set_id
@@ -2218,15 +2036,118 @@ module Aws::DataExchange
2218
2036
  include Aws::Structure
2219
2037
  end
2220
2038
 
2221
- # @note When making an API call, you may pass ListDataSetRevisionsRequest
2222
- # data as a hash:
2039
+ # Details about the AWS Lake Formation resource (Table or Database)
2040
+ # included in the AWS Lake Formation data permission.
2041
+ #
2042
+ # @!attribute [rw] database
2043
+ # Details about the database resource included in the AWS Lake
2044
+ # Formation data permission.
2045
+ # @return [Types::DatabaseLFTagPolicy]
2046
+ #
2047
+ # @!attribute [rw] table
2048
+ # Details about the table resource included in the AWS Lake Formation
2049
+ # data permission.
2050
+ # @return [Types::TableLFTagPolicy]
2051
+ #
2052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LFResourceDetails AWS API Documentation
2053
+ #
2054
+ class LFResourceDetails < Struct.new(
2055
+ :database,
2056
+ :table)
2057
+ SENSITIVE = []
2058
+ include Aws::Structure
2059
+ end
2060
+
2061
+ # A structure that allows an LF-admin to grant permissions on certain
2062
+ # conditions.
2063
+ #
2064
+ # @!attribute [rw] tag_key
2065
+ # The key name for the LF-tag.
2066
+ # @return [String]
2067
+ #
2068
+ # @!attribute [rw] tag_values
2069
+ # A list of LF-tag values.
2070
+ # @return [Array<String>]
2071
+ #
2072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LFTag AWS API Documentation
2073
+ #
2074
+ class LFTag < Struct.new(
2075
+ :tag_key,
2076
+ :tag_values)
2077
+ SENSITIVE = []
2078
+ include Aws::Structure
2079
+ end
2080
+
2081
+ # Details about the LF-tag policy.
2082
+ #
2083
+ # @!attribute [rw] catalog_id
2084
+ # The identifier for the AWS Glue Data Catalog.
2085
+ # @return [String]
2086
+ #
2087
+ # @!attribute [rw] resource_type
2088
+ # The resource type for which the LF-tag policy applies.
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] resource_details
2092
+ # Details for the Lake Formation Resources included in the LF-tag
2093
+ # policy.
2094
+ # @return [Types::LFResourceDetails]
2095
+ #
2096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LFTagPolicyDetails AWS API Documentation
2097
+ #
2098
+ class LFTagPolicyDetails < Struct.new(
2099
+ :catalog_id,
2100
+ :resource_type,
2101
+ :resource_details)
2102
+ SENSITIVE = []
2103
+ include Aws::Structure
2104
+ end
2105
+
2106
+ # The AWS Lake Formation data permission asset.
2107
+ #
2108
+ # @!attribute [rw] lake_formation_data_permission_details
2109
+ # Details about the AWS Lake Formation data permission.
2110
+ # @return [Types::LakeFormationDataPermissionDetails]
2111
+ #
2112
+ # @!attribute [rw] lake_formation_data_permission_type
2113
+ # The data permission type.
2114
+ # @return [String]
2115
+ #
2116
+ # @!attribute [rw] permissions
2117
+ # The permissions granted to the subscribers on the resource.
2118
+ # @return [Array<String>]
2119
+ #
2120
+ # @!attribute [rw] role_arn
2121
+ # The IAM role's ARN that allows AWS Data Exchange to assume the role
2122
+ # and grant and revoke permissions to AWS Lake Formation data
2123
+ # permissions.
2124
+ # @return [String]
2125
+ #
2126
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LakeFormationDataPermissionAsset AWS API Documentation
2127
+ #
2128
+ class LakeFormationDataPermissionAsset < Struct.new(
2129
+ :lake_formation_data_permission_details,
2130
+ :lake_formation_data_permission_type,
2131
+ :permissions,
2132
+ :role_arn)
2133
+ SENSITIVE = []
2134
+ include Aws::Structure
2135
+ end
2136
+
2137
+ # Details about the AWS Lake Formation data permission.
2138
+ #
2139
+ # @!attribute [rw] lf_tag_policy
2140
+ # Details about the LF-tag policy.
2141
+ # @return [Types::LFTagPolicyDetails]
2223
2142
  #
2224
- # {
2225
- # data_set_id: "__string", # required
2226
- # max_results: 1,
2227
- # next_token: "__string",
2228
- # }
2143
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/LakeFormationDataPermissionDetails AWS API Documentation
2229
2144
  #
2145
+ class LakeFormationDataPermissionDetails < Struct.new(
2146
+ :lf_tag_policy)
2147
+ SENSITIVE = []
2148
+ include Aws::Structure
2149
+ end
2150
+
2230
2151
  # @!attribute [rw] data_set_id
2231
2152
  # The unique identifier for a data set.
2232
2153
  # @return [String]
@@ -2268,15 +2189,6 @@ module Aws::DataExchange
2268
2189
  include Aws::Structure
2269
2190
  end
2270
2191
 
2271
- # @note When making an API call, you may pass ListDataSetsRequest
2272
- # data as a hash:
2273
- #
2274
- # {
2275
- # max_results: 1,
2276
- # next_token: "__string",
2277
- # origin: "__string",
2278
- # }
2279
- #
2280
2192
  # @!attribute [rw] max_results
2281
2193
  # The maximum number of results returned by a single call.
2282
2194
  # @return [Integer]
@@ -2319,15 +2231,6 @@ module Aws::DataExchange
2319
2231
  include Aws::Structure
2320
2232
  end
2321
2233
 
2322
- # @note When making an API call, you may pass ListEventActionsRequest
2323
- # data as a hash:
2324
- #
2325
- # {
2326
- # event_source_id: "__string",
2327
- # max_results: 1,
2328
- # next_token: "__string",
2329
- # }
2330
- #
2331
2234
  # @!attribute [rw] event_source_id
2332
2235
  # The unique identifier for the event source.
2333
2236
  # @return [String]
@@ -2369,16 +2272,6 @@ module Aws::DataExchange
2369
2272
  include Aws::Structure
2370
2273
  end
2371
2274
 
2372
- # @note When making an API call, you may pass ListJobsRequest
2373
- # data as a hash:
2374
- #
2375
- # {
2376
- # data_set_id: "__string",
2377
- # max_results: 1,
2378
- # next_token: "__string",
2379
- # revision_id: "__string",
2380
- # }
2381
- #
2382
2275
  # @!attribute [rw] data_set_id
2383
2276
  # The unique identifier for a data set.
2384
2277
  # @return [String]
@@ -2425,16 +2318,6 @@ module Aws::DataExchange
2425
2318
  include Aws::Structure
2426
2319
  end
2427
2320
 
2428
- # @note When making an API call, you may pass ListRevisionAssetsRequest
2429
- # data as a hash:
2430
- #
2431
- # {
2432
- # data_set_id: "__string", # required
2433
- # max_results: 1,
2434
- # next_token: "__string",
2435
- # revision_id: "__string", # required
2436
- # }
2437
- #
2438
2321
  # @!attribute [rw] data_set_id
2439
2322
  # The unique identifier for a data set.
2440
2323
  # @return [String]
@@ -2481,13 +2364,6 @@ module Aws::DataExchange
2481
2364
  include Aws::Structure
2482
2365
  end
2483
2366
 
2484
- # @note When making an API call, you may pass ListTagsForResourceRequest
2485
- # data as a hash:
2486
- #
2487
- # {
2488
- # resource_arn: "__string", # required
2489
- # }
2490
- #
2491
2367
  # @!attribute [rw] resource_arn
2492
2368
  # An Amazon Resource Name (ARN) that uniquely identifies an AWS
2493
2369
  # resource.
@@ -2514,7 +2390,7 @@ module Aws::DataExchange
2514
2390
  include Aws::Structure
2515
2391
  end
2516
2392
 
2517
- # Information about the origin of the data set.
2393
+ # Details about the origin of the data set.
2518
2394
  #
2519
2395
  # @!attribute [rw] product_id
2520
2396
  # The product ID of the origin of the data set.
@@ -2544,13 +2420,6 @@ module Aws::DataExchange
2544
2420
 
2545
2421
  # The source of the Amazon Redshift datashare asset.
2546
2422
  #
2547
- # @note When making an API call, you may pass RedshiftDataShareAssetSourceEntry
2548
- # data as a hash:
2549
- #
2550
- # {
2551
- # data_share_arn: "__string", # required
2552
- # }
2553
- #
2554
2423
  # @!attribute [rw] data_share_arn
2555
2424
  # The Amazon Resource Name (ARN) of the datashare asset.
2556
2425
  # @return [String]
@@ -2565,82 +2434,6 @@ module Aws::DataExchange
2565
2434
 
2566
2435
  # The details for the request.
2567
2436
  #
2568
- # @note When making an API call, you may pass RequestDetails
2569
- # data as a hash:
2570
- #
2571
- # {
2572
- # export_asset_to_signed_url: {
2573
- # asset_id: "Id", # required
2574
- # data_set_id: "Id", # required
2575
- # revision_id: "Id", # required
2576
- # },
2577
- # export_assets_to_s3: {
2578
- # asset_destinations: [ # required
2579
- # {
2580
- # asset_id: "Id", # required
2581
- # bucket: "__string", # required
2582
- # key: "__string",
2583
- # },
2584
- # ],
2585
- # data_set_id: "Id", # required
2586
- # encryption: {
2587
- # kms_key_arn: "__string",
2588
- # type: "aws:kms", # required, accepts aws:kms, AES256
2589
- # },
2590
- # revision_id: "Id", # required
2591
- # },
2592
- # export_revisions_to_s3: {
2593
- # data_set_id: "Id", # required
2594
- # encryption: {
2595
- # kms_key_arn: "__string",
2596
- # type: "aws:kms", # required, accepts aws:kms, AES256
2597
- # },
2598
- # revision_destinations: [ # required
2599
- # {
2600
- # bucket: "__string", # required
2601
- # key_pattern: "__string",
2602
- # revision_id: "Id", # required
2603
- # },
2604
- # ],
2605
- # },
2606
- # import_asset_from_signed_url: {
2607
- # asset_name: "AssetName", # required
2608
- # data_set_id: "Id", # required
2609
- # md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
2610
- # revision_id: "Id", # required
2611
- # },
2612
- # import_assets_from_s3: {
2613
- # asset_sources: [ # required
2614
- # {
2615
- # bucket: "__string", # required
2616
- # key: "__string", # required
2617
- # },
2618
- # ],
2619
- # data_set_id: "Id", # required
2620
- # revision_id: "Id", # required
2621
- # },
2622
- # import_assets_from_redshift_data_shares: {
2623
- # asset_sources: [ # required
2624
- # {
2625
- # data_share_arn: "__string", # required
2626
- # },
2627
- # ],
2628
- # data_set_id: "Id", # required
2629
- # revision_id: "Id", # required
2630
- # },
2631
- # import_asset_from_api_gateway_api: {
2632
- # api_description: "ApiDescription",
2633
- # api_id: "__string", # required
2634
- # api_key: "__string",
2635
- # api_name: "__string", # required
2636
- # api_specification_md_5_hash: "__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093", # required
2637
- # data_set_id: "Id", # required
2638
- # protocol_type: "REST", # required, accepts REST
2639
- # revision_id: "Id", # required
2640
- # stage: "__string", # required
2641
- # },
2642
- # }
2643
- #
2644
2437
  # @!attribute [rw] export_asset_to_signed_url
2645
2438
  # Details about the export to signed URL request.
2646
2439
  # @return [Types::ExportAssetToSignedUrlRequestDetails]
@@ -2658,7 +2451,7 @@ module Aws::DataExchange
2658
2451
  # @return [Types::ImportAssetFromSignedUrlRequestDetails]
2659
2452
  #
2660
2453
  # @!attribute [rw] import_assets_from_s3
2661
- # Information about the import asset from API Gateway API request.
2454
+ # Details about the import asset from API Gateway API request.
2662
2455
  # @return [Types::ImportAssetsFromS3RequestDetails]
2663
2456
  #
2664
2457
  # @!attribute [rw] import_assets_from_redshift_data_shares
@@ -2669,6 +2462,15 @@ module Aws::DataExchange
2669
2462
  # Details about the import from signed URL request.
2670
2463
  # @return [Types::ImportAssetFromApiGatewayApiRequestDetails]
2671
2464
  #
2465
+ # @!attribute [rw] create_s3_data_access_from_s3_bucket
2466
+ # Details of the request to create S3 data access from the Amazon S3
2467
+ # bucket.
2468
+ # @return [Types::CreateS3DataAccessFromS3BucketRequestDetails]
2469
+ #
2470
+ # @!attribute [rw] import_assets_from_lake_formation_tag_policy
2471
+ # Request details for the ImportAssetsFromLakeFormationTagPolicy job.
2472
+ # @return [Types::ImportAssetsFromLakeFormationTagPolicyRequestDetails]
2473
+ #
2672
2474
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RequestDetails AWS API Documentation
2673
2475
  #
2674
2476
  class RequestDetails < Struct.new(
@@ -2678,7 +2480,9 @@ module Aws::DataExchange
2678
2480
  :import_asset_from_signed_url,
2679
2481
  :import_assets_from_s3,
2680
2482
  :import_assets_from_redshift_data_shares,
2681
- :import_asset_from_api_gateway_api)
2483
+ :import_asset_from_api_gateway_api,
2484
+ :create_s3_data_access_from_s3_bucket,
2485
+ :import_assets_from_lake_formation_tag_policy)
2682
2486
  SENSITIVE = []
2683
2487
  include Aws::Structure
2684
2488
  end
@@ -2737,6 +2541,15 @@ module Aws::DataExchange
2737
2541
  # The response details.
2738
2542
  # @return [Types::ImportAssetFromApiGatewayApiResponseDetails]
2739
2543
  #
2544
+ # @!attribute [rw] create_s3_data_access_from_s3_bucket
2545
+ # Response details from the CreateS3DataAccessFromS3Bucket job.
2546
+ # @return [Types::CreateS3DataAccessFromS3BucketResponseDetails]
2547
+ #
2548
+ # @!attribute [rw] import_assets_from_lake_formation_tag_policy
2549
+ # Response details from the ImportAssetsFromLakeFormationTagPolicy
2550
+ # job.
2551
+ # @return [Types::ImportAssetsFromLakeFormationTagPolicyResponseDetails]
2552
+ #
2740
2553
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ResponseDetails AWS API Documentation
2741
2554
  #
2742
2555
  class ResponseDetails < Struct.new(
@@ -2746,24 +2559,17 @@ module Aws::DataExchange
2746
2559
  :import_asset_from_signed_url,
2747
2560
  :import_assets_from_s3,
2748
2561
  :import_assets_from_redshift_data_shares,
2749
- :import_asset_from_api_gateway_api)
2562
+ :import_asset_from_api_gateway_api,
2563
+ :create_s3_data_access_from_s3_bucket,
2564
+ :import_assets_from_lake_formation_tag_policy)
2750
2565
  SENSITIVE = []
2751
2566
  include Aws::Structure
2752
2567
  end
2753
2568
 
2754
2569
  # The destination where the assets in the revision will be exported.
2755
2570
  #
2756
- # @note When making an API call, you may pass RevisionDestinationEntry
2757
- # data as a hash:
2758
- #
2759
- # {
2760
- # bucket: "__string", # required
2761
- # key_pattern: "__string",
2762
- # revision_id: "Id", # required
2763
- # }
2764
- #
2765
2571
  # @!attribute [rw] bucket
2766
- # The S3 bucket that is the destination for the assets in the
2572
+ # The Amazon S3 bucket that is the destination for the assets in the
2767
2573
  # revision.
2768
2574
  # @return [String]
2769
2575
  #
@@ -2806,7 +2612,7 @@ module Aws::DataExchange
2806
2612
  # @return [Time]
2807
2613
  #
2808
2614
  # @!attribute [rw] data_set_id
2809
- # The unique identifier for the data set associated with this
2615
+ # The unique identifier for the data set associated with the data set
2810
2616
  # revision.
2811
2617
  # @return [String]
2812
2618
  #
@@ -2870,13 +2676,6 @@ module Aws::DataExchange
2870
2676
 
2871
2677
  # Information about the published revision.
2872
2678
  #
2873
- # @note When making an API call, you may pass RevisionPublished
2874
- # data as a hash:
2875
- #
2876
- # {
2877
- # data_set_id: "Id", # required
2878
- # }
2879
- #
2880
2679
  # @!attribute [rw] data_set_id
2881
2680
  # The data set ID of the published revision.
2882
2681
  # @return [String]
@@ -2889,15 +2688,6 @@ module Aws::DataExchange
2889
2688
  include Aws::Structure
2890
2689
  end
2891
2690
 
2892
- # @note When making an API call, you may pass RevokeRevisionRequest
2893
- # data as a hash:
2894
- #
2895
- # {
2896
- # data_set_id: "__string", # required
2897
- # revision_id: "__string", # required
2898
- # revocation_comment: "__stringMin10Max512", # required
2899
- # }
2900
- #
2901
2691
  # @!attribute [rw] data_set_id
2902
2692
  # The unique identifier for a data set.
2903
2693
  # @return [String]
@@ -2934,7 +2724,7 @@ module Aws::DataExchange
2934
2724
  # @return [Time]
2935
2725
  #
2936
2726
  # @!attribute [rw] data_set_id
2937
- # The unique identifier for the data set associated with this
2727
+ # The unique identifier for the data set associated with the data set
2938
2728
  # revision.
2939
2729
  # @return [String]
2940
2730
  #
@@ -2996,10 +2786,75 @@ module Aws::DataExchange
2996
2786
  include Aws::Structure
2997
2787
  end
2998
2788
 
2999
- # The S3 object that is the asset.
2789
+ # The Amazon S3 data access that is the asset.
2790
+ #
2791
+ # @!attribute [rw] bucket
2792
+ # The Amazon S3 bucket hosting data to be shared in the S3 data
2793
+ # access.
2794
+ # @return [String]
2795
+ #
2796
+ # @!attribute [rw] key_prefixes
2797
+ # The Amazon S3 bucket used for hosting shared data in the Amazon S3
2798
+ # data access.
2799
+ # @return [Array<String>]
2800
+ #
2801
+ # @!attribute [rw] keys
2802
+ # S3 keys made available using this asset.
2803
+ # @return [Array<String>]
2804
+ #
2805
+ # @!attribute [rw] s3_access_point_alias
2806
+ # The automatically-generated bucket-style alias for your Amazon S3
2807
+ # Access Point. Customers can access their entitled data using the S3
2808
+ # Access Point alias.
2809
+ # @return [String]
2810
+ #
2811
+ # @!attribute [rw] s3_access_point_arn
2812
+ # The ARN for your Amazon S3 Access Point. Customers can also access
2813
+ # their entitled data using the S3 Access Point ARN.
2814
+ # @return [String]
2815
+ #
2816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3DataAccessAsset AWS API Documentation
2817
+ #
2818
+ class S3DataAccessAsset < Struct.new(
2819
+ :bucket,
2820
+ :key_prefixes,
2821
+ :keys,
2822
+ :s3_access_point_alias,
2823
+ :s3_access_point_arn)
2824
+ SENSITIVE = []
2825
+ include Aws::Structure
2826
+ end
2827
+
2828
+ # Source details for an Amazon S3 data access asset.
2829
+ #
2830
+ # @!attribute [rw] bucket
2831
+ # The Amazon S3 bucket used for hosting shared data in the Amazon S3
2832
+ # data access.
2833
+ # @return [String]
2834
+ #
2835
+ # @!attribute [rw] key_prefixes
2836
+ # Organizes Amazon S3 asset key prefixes stored in an Amazon S3
2837
+ # bucket.
2838
+ # @return [Array<String>]
2839
+ #
2840
+ # @!attribute [rw] keys
2841
+ # The keys used to create the Amazon S3 data access.
2842
+ # @return [Array<String>]
2843
+ #
2844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3DataAccessAssetSourceEntry AWS API Documentation
2845
+ #
2846
+ class S3DataAccessAssetSourceEntry < Struct.new(
2847
+ :bucket,
2848
+ :key_prefixes,
2849
+ :keys)
2850
+ SENSITIVE = []
2851
+ include Aws::Structure
2852
+ end
2853
+
2854
+ # The Amazon S3 object that is the asset.
3000
2855
  #
3001
2856
  # @!attribute [rw] size
3002
- # The size of the S3 object that is the object.
2857
+ # The size of the Amazon S3 object that is the object.
3003
2858
  # @return [Float]
3004
2859
  #
3005
2860
  # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/S3SnapshotAsset AWS API Documentation
@@ -3010,24 +2865,6 @@ module Aws::DataExchange
3010
2865
  include Aws::Structure
3011
2866
  end
3012
2867
 
3013
- # @note When making an API call, you may pass SendApiAssetRequest
3014
- # data as a hash:
3015
- #
3016
- # {
3017
- # body: "__string",
3018
- # query_string_parameters: {
3019
- # "__string" => "__string",
3020
- # },
3021
- # asset_id: "__string", # required
3022
- # data_set_id: "__string", # required
3023
- # request_headers: {
3024
- # "__string" => "__string",
3025
- # },
3026
- # method: "__string",
3027
- # path: "__string",
3028
- # revision_id: "__string", # required
3029
- # }
3030
- #
3031
2868
  # @!attribute [rw] body
3032
2869
  # The request body.
3033
2870
  # @return [String]
@@ -3124,13 +2961,6 @@ module Aws::DataExchange
3124
2961
  include Aws::Structure
3125
2962
  end
3126
2963
 
3127
- # @note When making an API call, you may pass StartJobRequest
3128
- # data as a hash:
3129
- #
3130
- # {
3131
- # job_id: "__string", # required
3132
- # }
3133
- #
3134
2964
  # @!attribute [rw] job_id
3135
2965
  # The unique identifier for a job.
3136
2966
  # @return [String]
@@ -3147,16 +2977,39 @@ module Aws::DataExchange
3147
2977
  #
3148
2978
  class StartJobResponse < Aws::EmptyStructure; end
3149
2979
 
3150
- # @note When making an API call, you may pass TagResourceRequest
3151
- # data as a hash:
2980
+ # The LF-tag policy for a table resource.
2981
+ #
2982
+ # @!attribute [rw] expression
2983
+ # A list of LF-tag conditions that apply to table resources.
2984
+ # @return [Array<Types::LFTag>]
2985
+ #
2986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TableLFTagPolicy AWS API Documentation
2987
+ #
2988
+ class TableLFTagPolicy < Struct.new(
2989
+ :expression)
2990
+ SENSITIVE = []
2991
+ include Aws::Structure
2992
+ end
2993
+
2994
+ # The LF-tag policy and permissions that apply to table resources.
3152
2995
  #
3153
- # {
3154
- # resource_arn: "__string", # required
3155
- # tags: { # required
3156
- # "__string" => "__string",
3157
- # },
3158
- # }
2996
+ # @!attribute [rw] expression
2997
+ # A list of LF-tag conditions that apply to table resources.
2998
+ # @return [Array<Types::LFTag>]
3159
2999
  #
3000
+ # @!attribute [rw] permissions
3001
+ # The permissions granted to subscribers on table resources.
3002
+ # @return [Array<String>]
3003
+ #
3004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TableLFTagPolicyAndPermissions AWS API Documentation
3005
+ #
3006
+ class TableLFTagPolicyAndPermissions < Struct.new(
3007
+ :expression,
3008
+ :permissions)
3009
+ SENSITIVE = []
3010
+ include Aws::Structure
3011
+ end
3012
+
3160
3013
  # @!attribute [rw] resource_arn
3161
3014
  # An Amazon Resource Name (ARN) that uniquely identifies an AWS
3162
3015
  # resource.
@@ -3190,14 +3043,6 @@ module Aws::DataExchange
3190
3043
  include Aws::Structure
3191
3044
  end
3192
3045
 
3193
- # @note When making an API call, you may pass UntagResourceRequest
3194
- # data as a hash:
3195
- #
3196
- # {
3197
- # resource_arn: "__string", # required
3198
- # tag_keys: ["__string"], # required
3199
- # }
3200
- #
3201
3046
  # @!attribute [rw] resource_arn
3202
3047
  # An Amazon Resource Name (ARN) that uniquely identifies an AWS
3203
3048
  # resource.
@@ -3216,16 +3061,6 @@ module Aws::DataExchange
3216
3061
  include Aws::Structure
3217
3062
  end
3218
3063
 
3219
- # @note When making an API call, you may pass UpdateAssetRequest
3220
- # data as a hash:
3221
- #
3222
- # {
3223
- # asset_id: "__string", # required
3224
- # data_set_id: "__string", # required
3225
- # name: "AssetName", # required
3226
- # revision_id: "__string", # required
3227
- # }
3228
- #
3229
3064
  # @!attribute [rw] asset_id
3230
3065
  # The unique identifier for an asset.
3231
3066
  # @return [String]
@@ -3235,12 +3070,14 @@ module Aws::DataExchange
3235
3070
  # @return [String]
3236
3071
  #
3237
3072
  # @!attribute [rw] name
3238
- # The name of the asset. When importing from Amazon S3, the S3 object
3239
- # key is used as the asset name. When exporting to Amazon S3, the
3240
- # asset name is used as default target S3 object key. When importing
3241
- # from Amazon API Gateway API, the API name is used as the asset name.
3242
- # When importing from Amazon Redshift, the datashare name is used as
3243
- # the asset name.
3073
+ # The name of the asset. When importing from Amazon S3, the Amazon S3
3074
+ # object key is used as the asset name. When exporting to Amazon S3,
3075
+ # the asset name is used as default target Amazon S3 object key. When
3076
+ # importing from Amazon API Gateway API, the API name is used as the
3077
+ # asset name. When importing from Amazon Redshift, the datashare name
3078
+ # is used as the asset name. When importing from AWS Lake Formation,
3079
+ # the static values of "Database(s) included in the LF-tag policy"
3080
+ # or "Table(s) included in LF-tag policy" are used as the name.
3244
3081
  # @return [String]
3245
3082
  #
3246
3083
  # @!attribute [rw] revision_id
@@ -3263,7 +3100,7 @@ module Aws::DataExchange
3263
3100
  # @return [String]
3264
3101
  #
3265
3102
  # @!attribute [rw] asset_details
3266
- # Information about the asset.
3103
+ # Details about the asset.
3267
3104
  # @return [Types::AssetDetails]
3268
3105
  #
3269
3106
  # @!attribute [rw] asset_type
@@ -3283,12 +3120,15 @@ module Aws::DataExchange
3283
3120
  # @return [String]
3284
3121
  #
3285
3122
  # @!attribute [rw] name
3286
- # The name of the asset. When importing from Amazon S3, the S3 object
3287
- # key is used as the asset name. When exporting to Amazon S3, the
3288
- # asset name is used as default target S3 object key. When importing
3289
- # from Amazon API Gateway API, the API name is used as the asset name.
3290
- # When importing from Amazon Redshift, the datashare name is used as
3291
- # the asset name.
3123
+ # The name of the asset. When importing from Amazon S3, the Amazon S3
3124
+ # object key is used as the asset name. When exporting to Amazon S3,
3125
+ # the asset name is used as default target Amazon S3 object key. When
3126
+ # importing from Amazon API Gateway API, the API name is used as the
3127
+ # asset name. When importing from Amazon Redshift, the datashare name
3128
+ # is used as the asset name. When importing from AWS Lake Formation,
3129
+ # the static values of "Database(s) included in the LF-tag policy"-
3130
+ # or "Table(s) included in LF-tag policy" are used as the asset
3131
+ # name.
3292
3132
  # @return [String]
3293
3133
  #
3294
3134
  # @!attribute [rw] revision_id
@@ -3323,15 +3163,6 @@ module Aws::DataExchange
3323
3163
  include Aws::Structure
3324
3164
  end
3325
3165
 
3326
- # @note When making an API call, you may pass UpdateDataSetRequest
3327
- # data as a hash:
3328
- #
3329
- # {
3330
- # data_set_id: "__string", # required
3331
- # description: "Description",
3332
- # name: "Name",
3333
- # }
3334
- #
3335
3166
  # @!attribute [rw] data_set_id
3336
3167
  # The unique identifier for a data set.
3337
3168
  # @return [String]
@@ -3416,25 +3247,6 @@ module Aws::DataExchange
3416
3247
  include Aws::Structure
3417
3248
  end
3418
3249
 
3419
- # @note When making an API call, you may pass UpdateEventActionRequest
3420
- # data as a hash:
3421
- #
3422
- # {
3423
- # action: {
3424
- # export_revision_to_s3: {
3425
- # encryption: {
3426
- # kms_key_arn: "__string",
3427
- # type: "aws:kms", # required, accepts aws:kms, AES256
3428
- # },
3429
- # revision_destination: { # required
3430
- # bucket: "__string", # required
3431
- # key_pattern: "__string",
3432
- # },
3433
- # },
3434
- # },
3435
- # event_action_id: "__string", # required
3436
- # }
3437
- #
3438
3250
  # @!attribute [rw] action
3439
3251
  # What occurs after a certain event.
3440
3252
  # @return [Types::Action]
@@ -3491,16 +3303,6 @@ module Aws::DataExchange
3491
3303
  include Aws::Structure
3492
3304
  end
3493
3305
 
3494
- # @note When making an API call, you may pass UpdateRevisionRequest
3495
- # data as a hash:
3496
- #
3497
- # {
3498
- # comment: "__stringMin0Max16384",
3499
- # data_set_id: "__string", # required
3500
- # finalized: false,
3501
- # revision_id: "__string", # required
3502
- # }
3503
- #
3504
3306
  # @!attribute [rw] comment
3505
3307
  # An optional comment about the revision.
3506
3308
  # @return [String]
@@ -3543,7 +3345,7 @@ module Aws::DataExchange
3543
3345
  # @return [Time]
3544
3346
  #
3545
3347
  # @!attribute [rw] data_set_id
3546
- # The unique identifier for the data set associated with this
3348
+ # The unique identifier for the data set associated with the data set
3547
3349
  # revision.
3548
3350
  # @return [String]
3549
3351
  #