aws-sdk-dataexchange 1.27.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,7 @@ module Aws::DataExchange
26
26
  AssetType = Shapes::StringShape.new(name: 'AssetType')
27
27
  AutoExportRevisionDestinationEntry = Shapes::StructureShape.new(name: 'AutoExportRevisionDestinationEntry')
28
28
  AutoExportRevisionToS3RequestDetails = Shapes::StructureShape.new(name: 'AutoExportRevisionToS3RequestDetails')
29
+ AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
29
30
  CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
30
31
  Code = Shapes::StringShape.new(name: 'Code')
31
32
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -37,7 +38,12 @@ module Aws::DataExchange
37
38
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
38
39
  CreateRevisionRequest = Shapes::StructureShape.new(name: 'CreateRevisionRequest')
39
40
  CreateRevisionResponse = Shapes::StructureShape.new(name: 'CreateRevisionResponse')
41
+ CreateS3DataAccessFromS3BucketRequestDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketRequestDetails')
42
+ CreateS3DataAccessFromS3BucketResponseDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketResponseDetails')
40
43
  DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
44
+ DatabaseLFTagPolicy = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicy')
45
+ DatabaseLFTagPolicyAndPermissions = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicyAndPermissions')
46
+ DatabaseLFTagPolicyPermission = Shapes::StringShape.new(name: 'DatabaseLFTagPolicyPermission')
41
47
  DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
42
48
  DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
43
49
  DeleteEventActionRequest = Shapes::StructureShape.new(name: 'DeleteEventActionRequest')
@@ -70,6 +76,8 @@ module Aws::DataExchange
70
76
  ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
71
77
  ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
72
78
  ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
79
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromLakeFormationTagPolicyRequestDetails')
80
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromLakeFormationTagPolicyResponseDetails')
73
81
  ImportAssetsFromRedshiftDataSharesRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesRequestDetails')
74
82
  ImportAssetsFromRedshiftDataSharesResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromRedshiftDataSharesResponseDetails')
75
83
  ImportAssetsFromS3RequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3RequestDetails')
@@ -79,6 +87,14 @@ module Aws::DataExchange
79
87
  JobError = Shapes::StructureShape.new(name: 'JobError')
80
88
  JobErrorLimitName = Shapes::StringShape.new(name: 'JobErrorLimitName')
81
89
  JobErrorResourceTypes = Shapes::StringShape.new(name: 'JobErrorResourceTypes')
90
+ LFPermission = Shapes::StringShape.new(name: 'LFPermission')
91
+ LFResourceDetails = Shapes::StructureShape.new(name: 'LFResourceDetails')
92
+ LFResourceType = Shapes::StringShape.new(name: 'LFResourceType')
93
+ LFTag = Shapes::StructureShape.new(name: 'LFTag')
94
+ LFTagPolicyDetails = Shapes::StructureShape.new(name: 'LFTagPolicyDetails')
95
+ LakeFormationDataPermissionAsset = Shapes::StructureShape.new(name: 'LakeFormationDataPermissionAsset')
96
+ LakeFormationDataPermissionDetails = Shapes::StructureShape.new(name: 'LakeFormationDataPermissionDetails')
97
+ LakeFormationDataPermissionType = Shapes::StringShape.new(name: 'LakeFormationDataPermissionType')
82
98
  LimitName = Shapes::StringShape.new(name: 'LimitName')
83
99
  ListDataSetRevisionsRequest = Shapes::StructureShape.new(name: 'ListDataSetRevisionsRequest')
84
100
  ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
@@ -92,12 +108,17 @@ module Aws::DataExchange
92
108
  ListOfAssetEntry = Shapes::ListShape.new(name: 'ListOfAssetEntry')
93
109
  ListOfAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfAssetSourceEntry')
94
110
  ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
111
+ ListOfDatabaseLFTagPolicyPermissions = Shapes::ListShape.new(name: 'ListOfDatabaseLFTagPolicyPermissions')
95
112
  ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
96
113
  ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
97
114
  ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
115
+ ListOfLFPermissions = Shapes::ListShape.new(name: 'ListOfLFPermissions')
116
+ ListOfLFTagValues = Shapes::ListShape.new(name: 'ListOfLFTagValues')
117
+ ListOfLFTags = Shapes::ListShape.new(name: 'ListOfLFTags')
98
118
  ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
99
119
  ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
100
120
  ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
121
+ ListOfTableTagPolicyLFPermissions = Shapes::ListShape.new(name: 'ListOfTableTagPolicyLFPermissions')
101
122
  ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
102
123
  ListRevisionAssetsRequest = Shapes::StructureShape.new(name: 'ListRevisionAssetsRequest')
103
124
  ListRevisionAssetsResponse = Shapes::StructureShape.new(name: 'ListRevisionAssetsResponse')
@@ -121,6 +142,9 @@ module Aws::DataExchange
121
142
  RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
122
143
  RevokeRevisionRequest = Shapes::StructureShape.new(name: 'RevokeRevisionRequest')
123
144
  RevokeRevisionResponse = Shapes::StructureShape.new(name: 'RevokeRevisionResponse')
145
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
146
+ S3DataAccessAsset = Shapes::StructureShape.new(name: 'S3DataAccessAsset')
147
+ S3DataAccessAssetSourceEntry = Shapes::StructureShape.new(name: 'S3DataAccessAssetSourceEntry')
124
148
  S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
125
149
  SendApiAssetRequest = Shapes::StructureShape.new(name: 'SendApiAssetRequest')
126
150
  SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
@@ -129,6 +153,10 @@ module Aws::DataExchange
129
153
  StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
130
154
  StartJobResponse = Shapes::StructureShape.new(name: 'StartJobResponse')
131
155
  State = Shapes::StringShape.new(name: 'State')
156
+ String = Shapes::StringShape.new(name: 'String')
157
+ TableLFTagPolicy = Shapes::StructureShape.new(name: 'TableLFTagPolicy')
158
+ TableLFTagPolicyAndPermissions = Shapes::StructureShape.new(name: 'TableLFTagPolicyAndPermissions')
159
+ TableTagPolicyLFPermission = Shapes::StringShape.new(name: 'TableTagPolicyLFPermission')
132
160
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
133
161
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
134
162
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
@@ -176,6 +204,8 @@ module Aws::DataExchange
176
204
  AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
177
205
  AssetDetails.add_member(:redshift_data_share_asset, Shapes::ShapeRef.new(shape: RedshiftDataShareAsset, location_name: "RedshiftDataShareAsset"))
178
206
  AssetDetails.add_member(:api_gateway_api_asset, Shapes::ShapeRef.new(shape: ApiGatewayApiAsset, location_name: "ApiGatewayApiAsset"))
207
+ AssetDetails.add_member(:s3_data_access_asset, Shapes::ShapeRef.new(shape: S3DataAccessAsset, location_name: "S3DataAccessAsset"))
208
+ AssetDetails.add_member(:lake_formation_data_permission_asset, Shapes::ShapeRef.new(shape: LakeFormationDataPermissionAsset, location_name: "LakeFormationDataPermissionAsset"))
179
209
  AssetDetails.struct_class = Types::AssetDetails
180
210
 
181
211
  AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
@@ -274,6 +304,16 @@ module Aws::DataExchange
274
304
  CreateRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
275
305
  CreateRevisionResponse.struct_class = Types::CreateRevisionResponse
276
306
 
307
+ CreateS3DataAccessFromS3BucketRequestDetails.add_member(:asset_source, Shapes::ShapeRef.new(shape: S3DataAccessAssetSourceEntry, required: true, location_name: "AssetSource"))
308
+ CreateS3DataAccessFromS3BucketRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
309
+ CreateS3DataAccessFromS3BucketRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
310
+ CreateS3DataAccessFromS3BucketRequestDetails.struct_class = Types::CreateS3DataAccessFromS3BucketRequestDetails
311
+
312
+ CreateS3DataAccessFromS3BucketResponseDetails.add_member(:asset_source, Shapes::ShapeRef.new(shape: S3DataAccessAssetSourceEntry, required: true, location_name: "AssetSource"))
313
+ CreateS3DataAccessFromS3BucketResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
314
+ CreateS3DataAccessFromS3BucketResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
315
+ CreateS3DataAccessFromS3BucketResponseDetails.struct_class = Types::CreateS3DataAccessFromS3BucketResponseDetails
316
+
277
317
  DataSetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
278
318
  DataSetEntry.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
279
319
  DataSetEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
@@ -286,6 +326,13 @@ module Aws::DataExchange
286
326
  DataSetEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
287
327
  DataSetEntry.struct_class = Types::DataSetEntry
288
328
 
329
+ DatabaseLFTagPolicy.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
330
+ DatabaseLFTagPolicy.struct_class = Types::DatabaseLFTagPolicy
331
+
332
+ DatabaseLFTagPolicyAndPermissions.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
333
+ DatabaseLFTagPolicyAndPermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: ListOfDatabaseLFTagPolicyPermissions, required: true, location_name: "Permissions"))
334
+ DatabaseLFTagPolicyAndPermissions.struct_class = Types::DatabaseLFTagPolicyAndPermissions
335
+
289
336
  DeleteAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
290
337
  DeleteAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
291
338
  DeleteAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
@@ -471,6 +518,22 @@ module Aws::DataExchange
471
518
  ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
472
519
  ImportAssetFromSignedUrlResponseDetails.struct_class = Types::ImportAssetFromSignedUrlResponseDetails
473
520
 
521
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:catalog_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "CatalogId"))
522
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseLFTagPolicyAndPermissions, location_name: "Database"))
523
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:table, Shapes::ShapeRef.new(shape: TableLFTagPolicyAndPermissions, location_name: "Table"))
524
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
525
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
526
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
527
+ ImportAssetsFromLakeFormationTagPolicyRequestDetails.struct_class = Types::ImportAssetsFromLakeFormationTagPolicyRequestDetails
528
+
529
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:catalog_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "CatalogId"))
530
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseLFTagPolicyAndPermissions, location_name: "Database"))
531
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:table, Shapes::ShapeRef.new(shape: TableLFTagPolicyAndPermissions, location_name: "Table"))
532
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "RoleArn"))
533
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
534
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
535
+ ImportAssetsFromLakeFormationTagPolicyResponseDetails.struct_class = Types::ImportAssetsFromLakeFormationTagPolicyResponseDetails
536
+
474
537
  ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfRedshiftDataShareAssetSourceEntry, required: true, location_name: "AssetSources"))
475
538
  ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
476
539
  ImportAssetsFromRedshiftDataSharesRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
@@ -513,6 +576,28 @@ module Aws::DataExchange
513
576
  JobError.add_member(:resource_type, Shapes::ShapeRef.new(shape: JobErrorResourceTypes, location_name: "ResourceType"))
514
577
  JobError.struct_class = Types::JobError
515
578
 
579
+ LFResourceDetails.add_member(:database, Shapes::ShapeRef.new(shape: DatabaseLFTagPolicy, location_name: "Database"))
580
+ LFResourceDetails.add_member(:table, Shapes::ShapeRef.new(shape: TableLFTagPolicy, location_name: "Table"))
581
+ LFResourceDetails.struct_class = Types::LFResourceDetails
582
+
583
+ LFTag.add_member(:tag_key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TagKey"))
584
+ LFTag.add_member(:tag_values, Shapes::ShapeRef.new(shape: ListOfLFTagValues, required: true, location_name: "TagValues"))
585
+ LFTag.struct_class = Types::LFTag
586
+
587
+ LFTagPolicyDetails.add_member(:catalog_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "CatalogId"))
588
+ LFTagPolicyDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: LFResourceType, required: true, location_name: "ResourceType"))
589
+ LFTagPolicyDetails.add_member(:resource_details, Shapes::ShapeRef.new(shape: LFResourceDetails, required: true, location_name: "ResourceDetails"))
590
+ LFTagPolicyDetails.struct_class = Types::LFTagPolicyDetails
591
+
592
+ LakeFormationDataPermissionAsset.add_member(:lake_formation_data_permission_details, Shapes::ShapeRef.new(shape: LakeFormationDataPermissionDetails, required: true, location_name: "LakeFormationDataPermissionDetails"))
593
+ LakeFormationDataPermissionAsset.add_member(:lake_formation_data_permission_type, Shapes::ShapeRef.new(shape: LakeFormationDataPermissionType, required: true, location_name: "LakeFormationDataPermissionType"))
594
+ LakeFormationDataPermissionAsset.add_member(:permissions, Shapes::ShapeRef.new(shape: ListOfLFPermissions, required: true, location_name: "Permissions"))
595
+ LakeFormationDataPermissionAsset.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
596
+ LakeFormationDataPermissionAsset.struct_class = Types::LakeFormationDataPermissionAsset
597
+
598
+ LakeFormationDataPermissionDetails.add_member(:lf_tag_policy, Shapes::ShapeRef.new(shape: LFTagPolicyDetails, location_name: "LFTagPolicy"))
599
+ LakeFormationDataPermissionDetails.struct_class = Types::LakeFormationDataPermissionDetails
600
+
516
601
  ListDataSetRevisionsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
517
602
  ListDataSetRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
518
603
  ListDataSetRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
@@ -558,18 +643,28 @@ module Aws::DataExchange
558
643
 
559
644
  ListOfDataSetEntry.member = Shapes::ShapeRef.new(shape: DataSetEntry)
560
645
 
646
+ ListOfDatabaseLFTagPolicyPermissions.member = Shapes::ShapeRef.new(shape: DatabaseLFTagPolicyPermission)
647
+
561
648
  ListOfEventActionEntry.member = Shapes::ShapeRef.new(shape: EventActionEntry)
562
649
 
563
650
  ListOfJobEntry.member = Shapes::ShapeRef.new(shape: JobEntry)
564
651
 
565
652
  ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
566
653
 
654
+ ListOfLFPermissions.member = Shapes::ShapeRef.new(shape: LFPermission)
655
+
656
+ ListOfLFTagValues.member = Shapes::ShapeRef.new(shape: String)
657
+
658
+ ListOfLFTags.member = Shapes::ShapeRef.new(shape: LFTag)
659
+
567
660
  ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
568
661
 
569
662
  ListOfRevisionDestinationEntry.member = Shapes::ShapeRef.new(shape: RevisionDestinationEntry)
570
663
 
571
664
  ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
572
665
 
666
+ ListOfTableTagPolicyLFPermissions.member = Shapes::ShapeRef.new(shape: TableTagPolicyLFPermission)
667
+
573
668
  ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
574
669
 
575
670
  ListRevisionAssetsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
@@ -607,6 +702,8 @@ module Aws::DataExchange
607
702
  RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
608
703
  RequestDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesRequestDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
609
704
  RequestDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiRequestDetails, location_name: "ImportAssetFromApiGatewayApi"))
705
+ RequestDetails.add_member(:create_s3_data_access_from_s3_bucket, Shapes::ShapeRef.new(shape: CreateS3DataAccessFromS3BucketRequestDetails, location_name: "CreateS3DataAccessFromS3Bucket"))
706
+ RequestDetails.add_member(:import_assets_from_lake_formation_tag_policy, Shapes::ShapeRef.new(shape: ImportAssetsFromLakeFormationTagPolicyRequestDetails, location_name: "ImportAssetsFromLakeFormationTagPolicy"))
610
707
  RequestDetails.struct_class = Types::RequestDetails
611
708
 
612
709
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
@@ -621,6 +718,8 @@ module Aws::DataExchange
621
718
  ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
622
719
  ResponseDetails.add_member(:import_assets_from_redshift_data_shares, Shapes::ShapeRef.new(shape: ImportAssetsFromRedshiftDataSharesResponseDetails, location_name: "ImportAssetsFromRedshiftDataShares"))
623
720
  ResponseDetails.add_member(:import_asset_from_api_gateway_api, Shapes::ShapeRef.new(shape: ImportAssetFromApiGatewayApiResponseDetails, location_name: "ImportAssetFromApiGatewayApi"))
721
+ ResponseDetails.add_member(:create_s3_data_access_from_s3_bucket, Shapes::ShapeRef.new(shape: CreateS3DataAccessFromS3BucketResponseDetails, location_name: "CreateS3DataAccessFromS3Bucket"))
722
+ ResponseDetails.add_member(:import_assets_from_lake_formation_tag_policy, Shapes::ShapeRef.new(shape: ImportAssetsFromLakeFormationTagPolicyResponseDetails, location_name: "ImportAssetsFromLakeFormationTagPolicy"))
624
723
  ResponseDetails.struct_class = Types::ResponseDetails
625
724
 
626
725
  RevisionDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
@@ -662,6 +761,18 @@ module Aws::DataExchange
662
761
  RevokeRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
663
762
  RevokeRevisionResponse.struct_class = Types::RevokeRevisionResponse
664
763
 
764
+ S3DataAccessAsset.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
765
+ S3DataAccessAsset.add_member(:key_prefixes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "KeyPrefixes"))
766
+ S3DataAccessAsset.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
767
+ S3DataAccessAsset.add_member(:s3_access_point_alias, Shapes::ShapeRef.new(shape: __string, location_name: "S3AccessPointAlias"))
768
+ S3DataAccessAsset.add_member(:s3_access_point_arn, Shapes::ShapeRef.new(shape: __string, location_name: "S3AccessPointArn"))
769
+ S3DataAccessAsset.struct_class = Types::S3DataAccessAsset
770
+
771
+ S3DataAccessAssetSourceEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
772
+ S3DataAccessAssetSourceEntry.add_member(:key_prefixes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "KeyPrefixes"))
773
+ S3DataAccessAssetSourceEntry.add_member(:keys, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Keys"))
774
+ S3DataAccessAssetSourceEntry.struct_class = Types::S3DataAccessAssetSourceEntry
775
+
665
776
  S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
666
777
  S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
667
778
 
@@ -693,6 +804,13 @@ module Aws::DataExchange
693
804
 
694
805
  StartJobResponse.struct_class = Types::StartJobResponse
695
806
 
807
+ TableLFTagPolicy.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
808
+ TableLFTagPolicy.struct_class = Types::TableLFTagPolicy
809
+
810
+ TableLFTagPolicyAndPermissions.add_member(:expression, Shapes::ShapeRef.new(shape: ListOfLFTags, required: true, location_name: "Expression"))
811
+ TableLFTagPolicyAndPermissions.add_member(:permissions, Shapes::ShapeRef.new(shape: ListOfTableTagPolicyLFPermissions, required: true, location_name: "Permissions"))
812
+ TableLFTagPolicyAndPermissions.struct_class = Types::TableLFTagPolicyAndPermissions
813
+
696
814
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
697
815
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
698
816
  TagResourceRequest.struct_class = Types::TagResourceRequest
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataExchange
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataExchange
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
+ YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
+ ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
+ aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
+ ZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRhdGlvbiI6IldoZW4gdHJ1ZSwgdXNl
37
+ IHRoZ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