aws-sdk-dataexchange 1.58.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +373 -3
- data/lib/aws-sdk-dataexchange/client_api.rb +270 -1
- data/lib/aws-sdk-dataexchange/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-dataexchange/endpoints.rb +2 -328
- data/lib/aws-sdk-dataexchange/plugins/endpoints.rb +1 -66
- data/lib/aws-sdk-dataexchange/types.rb +614 -1
- data/lib/aws-sdk-dataexchange.rb +2 -2
- data/sig/client.rbs +129 -0
- data/sig/types.rbs +163 -3
- metadata +6 -6
@@ -14,6 +14,10 @@ module Aws::DataExchange
|
|
14
14
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
|
+
AcceptDataGrantRequest = Shapes::StructureShape.new(name: 'AcceptDataGrantRequest')
|
18
|
+
AcceptDataGrantResponse = Shapes::StructureShape.new(name: 'AcceptDataGrantResponse')
|
19
|
+
AcceptanceStateFilterValue = Shapes::StringShape.new(name: 'AcceptanceStateFilterValue')
|
20
|
+
AcceptanceStateFilterValues = Shapes::ListShape.new(name: 'AcceptanceStateFilterValues')
|
17
21
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
22
|
Action = Shapes::StructureShape.new(name: 'Action')
|
19
23
|
ApiDescription = Shapes::StringShape.new(name: 'ApiDescription')
|
@@ -32,6 +36,8 @@ module Aws::DataExchange
|
|
32
36
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
33
37
|
Code = Shapes::StringShape.new(name: 'Code')
|
34
38
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
39
|
+
CreateDataGrantRequest = Shapes::StructureShape.new(name: 'CreateDataGrantRequest')
|
40
|
+
CreateDataGrantResponse = Shapes::StructureShape.new(name: 'CreateDataGrantResponse')
|
35
41
|
CreateDataSetRequest = Shapes::StructureShape.new(name: 'CreateDataSetRequest')
|
36
42
|
CreateDataSetResponse = Shapes::StructureShape.new(name: 'CreateDataSetResponse')
|
37
43
|
CreateEventActionRequest = Shapes::StructureShape.new(name: 'CreateEventActionRequest')
|
@@ -42,12 +48,19 @@ module Aws::DataExchange
|
|
42
48
|
CreateRevisionResponse = Shapes::StructureShape.new(name: 'CreateRevisionResponse')
|
43
49
|
CreateS3DataAccessFromS3BucketRequestDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketRequestDetails')
|
44
50
|
CreateS3DataAccessFromS3BucketResponseDetails = Shapes::StructureShape.new(name: 'CreateS3DataAccessFromS3BucketResponseDetails')
|
51
|
+
DataGrantAcceptanceState = Shapes::StringShape.new(name: 'DataGrantAcceptanceState')
|
52
|
+
DataGrantArn = Shapes::StringShape.new(name: 'DataGrantArn')
|
53
|
+
DataGrantDescription = Shapes::StringShape.new(name: 'DataGrantDescription')
|
54
|
+
DataGrantId = Shapes::StringShape.new(name: 'DataGrantId')
|
55
|
+
DataGrantName = Shapes::StringShape.new(name: 'DataGrantName')
|
56
|
+
DataGrantSummaryEntry = Shapes::StructureShape.new(name: 'DataGrantSummaryEntry')
|
45
57
|
DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
|
46
58
|
DataUpdateRequestDetails = Shapes::StructureShape.new(name: 'DataUpdateRequestDetails')
|
47
59
|
DatabaseLFTagPolicy = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicy')
|
48
60
|
DatabaseLFTagPolicyAndPermissions = Shapes::StructureShape.new(name: 'DatabaseLFTagPolicyAndPermissions')
|
49
61
|
DatabaseLFTagPolicyPermission = Shapes::StringShape.new(name: 'DatabaseLFTagPolicyPermission')
|
50
62
|
DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
|
63
|
+
DeleteDataGrantRequest = Shapes::StructureShape.new(name: 'DeleteDataGrantRequest')
|
51
64
|
DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
|
52
65
|
DeleteEventActionRequest = Shapes::StructureShape.new(name: 'DeleteEventActionRequest')
|
53
66
|
DeleteRevisionRequest = Shapes::StructureShape.new(name: 'DeleteRevisionRequest')
|
@@ -66,14 +79,19 @@ module Aws::DataExchange
|
|
66
79
|
ExportServerSideEncryption = Shapes::StructureShape.new(name: 'ExportServerSideEncryption')
|
67
80
|
GetAssetRequest = Shapes::StructureShape.new(name: 'GetAssetRequest')
|
68
81
|
GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
|
82
|
+
GetDataGrantRequest = Shapes::StructureShape.new(name: 'GetDataGrantRequest')
|
83
|
+
GetDataGrantResponse = Shapes::StructureShape.new(name: 'GetDataGrantResponse')
|
69
84
|
GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
|
70
85
|
GetDataSetResponse = Shapes::StructureShape.new(name: 'GetDataSetResponse')
|
71
86
|
GetEventActionRequest = Shapes::StructureShape.new(name: 'GetEventActionRequest')
|
72
87
|
GetEventActionResponse = Shapes::StructureShape.new(name: 'GetEventActionResponse')
|
73
88
|
GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
|
74
89
|
GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
|
90
|
+
GetReceivedDataGrantRequest = Shapes::StructureShape.new(name: 'GetReceivedDataGrantRequest')
|
91
|
+
GetReceivedDataGrantResponse = Shapes::StructureShape.new(name: 'GetReceivedDataGrantResponse')
|
75
92
|
GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
|
76
93
|
GetRevisionResponse = Shapes::StructureShape.new(name: 'GetRevisionResponse')
|
94
|
+
GrantDistributionScope = Shapes::StringShape.new(name: 'GrantDistributionScope')
|
77
95
|
Id = Shapes::StringShape.new(name: 'Id')
|
78
96
|
ImportAssetFromApiGatewayApiRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiRequestDetails')
|
79
97
|
ImportAssetFromApiGatewayApiResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromApiGatewayApiResponseDetails')
|
@@ -103,6 +121,8 @@ module Aws::DataExchange
|
|
103
121
|
LakeFormationDataPermissionType = Shapes::StringShape.new(name: 'LakeFormationDataPermissionType')
|
104
122
|
LakeFormationTagPolicyDetails = Shapes::StructureShape.new(name: 'LakeFormationTagPolicyDetails')
|
105
123
|
LimitName = Shapes::StringShape.new(name: 'LimitName')
|
124
|
+
ListDataGrantsRequest = Shapes::StructureShape.new(name: 'ListDataGrantsRequest')
|
125
|
+
ListDataGrantsResponse = Shapes::StructureShape.new(name: 'ListDataGrantsResponse')
|
106
126
|
ListDataSetRevisionsRequest = Shapes::StructureShape.new(name: 'ListDataSetRevisionsRequest')
|
107
127
|
ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
|
108
128
|
ListDataSetsRequest = Shapes::StructureShape.new(name: 'ListDataSetsRequest')
|
@@ -114,6 +134,7 @@ module Aws::DataExchange
|
|
114
134
|
ListOfAssetDestinationEntry = Shapes::ListShape.new(name: 'ListOfAssetDestinationEntry')
|
115
135
|
ListOfAssetEntry = Shapes::ListShape.new(name: 'ListOfAssetEntry')
|
116
136
|
ListOfAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfAssetSourceEntry')
|
137
|
+
ListOfDataGrantSummaryEntry = Shapes::ListShape.new(name: 'ListOfDataGrantSummaryEntry')
|
117
138
|
ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
|
118
139
|
ListOfDatabaseLFTagPolicyPermissions = Shapes::ListShape.new(name: 'ListOfDatabaseLFTagPolicyPermissions')
|
119
140
|
ListOfEventActionEntry = Shapes::ListShape.new(name: 'ListOfEventActionEntry')
|
@@ -124,6 +145,7 @@ module Aws::DataExchange
|
|
124
145
|
ListOfLFTagValues = Shapes::ListShape.new(name: 'ListOfLFTagValues')
|
125
146
|
ListOfLFTags = Shapes::ListShape.new(name: 'ListOfLFTags')
|
126
147
|
ListOfLakeFormationTagPolicies = Shapes::ListShape.new(name: 'ListOfLakeFormationTagPolicies')
|
148
|
+
ListOfReceivedDataGrantSummariesEntry = Shapes::ListShape.new(name: 'ListOfReceivedDataGrantSummariesEntry')
|
127
149
|
ListOfRedshiftDataShareAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfRedshiftDataShareAssetSourceEntry')
|
128
150
|
ListOfRedshiftDataShares = Shapes::ListShape.new(name: 'ListOfRedshiftDataShares')
|
129
151
|
ListOfRevisionDestinationEntry = Shapes::ListShape.new(name: 'ListOfRevisionDestinationEntry')
|
@@ -132,6 +154,8 @@ module Aws::DataExchange
|
|
132
154
|
ListOfSchemaChangeDetails = Shapes::ListShape.new(name: 'ListOfSchemaChangeDetails')
|
133
155
|
ListOfTableTagPolicyLFPermissions = Shapes::ListShape.new(name: 'ListOfTableTagPolicyLFPermissions')
|
134
156
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
157
|
+
ListReceivedDataGrantsRequest = Shapes::StructureShape.new(name: 'ListReceivedDataGrantsRequest')
|
158
|
+
ListReceivedDataGrantsResponse = Shapes::StructureShape.new(name: 'ListReceivedDataGrantsResponse')
|
135
159
|
ListRevisionAssetsRequest = Shapes::StructureShape.new(name: 'ListRevisionAssetsRequest')
|
136
160
|
ListRevisionAssetsResponse = Shapes::StructureShape.new(name: 'ListRevisionAssetsResponse')
|
137
161
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -145,6 +169,8 @@ module Aws::DataExchange
|
|
145
169
|
Origin = Shapes::StringShape.new(name: 'Origin')
|
146
170
|
OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
|
147
171
|
ProtocolType = Shapes::StringShape.new(name: 'ProtocolType')
|
172
|
+
ReceivedDataGrantSummariesEntry = Shapes::StructureShape.new(name: 'ReceivedDataGrantSummariesEntry')
|
173
|
+
ReceiverPrincipal = Shapes::StringShape.new(name: 'ReceiverPrincipal')
|
148
174
|
RedshiftDataShareAsset = Shapes::StructureShape.new(name: 'RedshiftDataShareAsset')
|
149
175
|
RedshiftDataShareAssetSourceEntry = Shapes::StructureShape.new(name: 'RedshiftDataShareAssetSourceEntry')
|
150
176
|
RedshiftDataShareDetails = Shapes::StructureShape.new(name: 'RedshiftDataShareDetails')
|
@@ -170,6 +196,7 @@ module Aws::DataExchange
|
|
170
196
|
SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
|
171
197
|
SendDataSetNotificationRequest = Shapes::StructureShape.new(name: 'SendDataSetNotificationRequest')
|
172
198
|
SendDataSetNotificationResponse = Shapes::StructureShape.new(name: 'SendDataSetNotificationResponse')
|
199
|
+
SenderPrincipal = Shapes::StringShape.new(name: 'SenderPrincipal')
|
173
200
|
ServerSideEncryptionTypes = Shapes::StringShape.new(name: 'ServerSideEncryptionTypes')
|
174
201
|
ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
|
175
202
|
StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
|
@@ -202,6 +229,26 @@ module Aws::DataExchange
|
|
202
229
|
__stringMin10Max512 = Shapes::StringShape.new(name: '__stringMin10Max512')
|
203
230
|
__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = Shapes::StringShape.new(name: '__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093')
|
204
231
|
|
232
|
+
AcceptDataGrantRequest.add_member(:data_grant_arn, Shapes::ShapeRef.new(shape: DataGrantArn, required: true, location: "uri", location_name: "DataGrantArn"))
|
233
|
+
AcceptDataGrantRequest.struct_class = Types::AcceptDataGrantRequest
|
234
|
+
|
235
|
+
AcceptDataGrantResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
236
|
+
AcceptDataGrantResponse.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, location_name: "SenderPrincipal"))
|
237
|
+
AcceptDataGrantResponse.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
238
|
+
AcceptDataGrantResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataGrantDescription, location_name: "Description"))
|
239
|
+
AcceptDataGrantResponse.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
240
|
+
AcceptDataGrantResponse.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
241
|
+
AcceptDataGrantResponse.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
242
|
+
AcceptDataGrantResponse.add_member(:grant_distribution_scope, Shapes::ShapeRef.new(shape: GrantDistributionScope, required: true, location_name: "GrantDistributionScope"))
|
243
|
+
AcceptDataGrantResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
244
|
+
AcceptDataGrantResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
245
|
+
AcceptDataGrantResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
246
|
+
AcceptDataGrantResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
247
|
+
AcceptDataGrantResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
248
|
+
AcceptDataGrantResponse.struct_class = Types::AcceptDataGrantResponse
|
249
|
+
|
250
|
+
AcceptanceStateFilterValues.member = Shapes::ShapeRef.new(shape: AcceptanceStateFilterValue)
|
251
|
+
|
205
252
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
206
253
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
207
254
|
|
@@ -263,6 +310,32 @@ module Aws::DataExchange
|
|
263
310
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
264
311
|
ConflictException.struct_class = Types::ConflictException
|
265
312
|
|
313
|
+
CreateDataGrantRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
314
|
+
CreateDataGrantRequest.add_member(:grant_distribution_scope, Shapes::ShapeRef.new(shape: GrantDistributionScope, required: true, location_name: "GrantDistributionScope"))
|
315
|
+
CreateDataGrantRequest.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
316
|
+
CreateDataGrantRequest.add_member(:source_data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "SourceDataSetId"))
|
317
|
+
CreateDataGrantRequest.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
318
|
+
CreateDataGrantRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
319
|
+
CreateDataGrantRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
320
|
+
CreateDataGrantRequest.struct_class = Types::CreateDataGrantRequest
|
321
|
+
|
322
|
+
CreateDataGrantResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
323
|
+
CreateDataGrantResponse.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, required: true, location_name: "SenderPrincipal"))
|
324
|
+
CreateDataGrantResponse.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
325
|
+
CreateDataGrantResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataGrantDescription, location_name: "Description"))
|
326
|
+
CreateDataGrantResponse.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
327
|
+
CreateDataGrantResponse.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
328
|
+
CreateDataGrantResponse.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
329
|
+
CreateDataGrantResponse.add_member(:grant_distribution_scope, Shapes::ShapeRef.new(shape: GrantDistributionScope, required: true, location_name: "GrantDistributionScope"))
|
330
|
+
CreateDataGrantResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
331
|
+
CreateDataGrantResponse.add_member(:source_data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "SourceDataSetId"))
|
332
|
+
CreateDataGrantResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
333
|
+
CreateDataGrantResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
334
|
+
CreateDataGrantResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
335
|
+
CreateDataGrantResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
336
|
+
CreateDataGrantResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
337
|
+
CreateDataGrantResponse.struct_class = Types::CreateDataGrantResponse
|
338
|
+
|
266
339
|
CreateDataSetRequest.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
|
267
340
|
CreateDataSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "Description"))
|
268
341
|
CreateDataSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
@@ -337,6 +410,20 @@ module Aws::DataExchange
|
|
337
410
|
CreateS3DataAccessFromS3BucketResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
|
338
411
|
CreateS3DataAccessFromS3BucketResponseDetails.struct_class = Types::CreateS3DataAccessFromS3BucketResponseDetails
|
339
412
|
|
413
|
+
DataGrantSummaryEntry.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
414
|
+
DataGrantSummaryEntry.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, required: true, location_name: "SenderPrincipal"))
|
415
|
+
DataGrantSummaryEntry.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
416
|
+
DataGrantSummaryEntry.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
417
|
+
DataGrantSummaryEntry.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
418
|
+
DataGrantSummaryEntry.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
419
|
+
DataGrantSummaryEntry.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
420
|
+
DataGrantSummaryEntry.add_member(:source_data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "SourceDataSetId"))
|
421
|
+
DataGrantSummaryEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
422
|
+
DataGrantSummaryEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
423
|
+
DataGrantSummaryEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
424
|
+
DataGrantSummaryEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
425
|
+
DataGrantSummaryEntry.struct_class = Types::DataGrantSummaryEntry
|
426
|
+
|
340
427
|
DataSetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
341
428
|
DataSetEntry.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
|
342
429
|
DataSetEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
@@ -364,6 +451,9 @@ module Aws::DataExchange
|
|
364
451
|
DeleteAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
365
452
|
DeleteAssetRequest.struct_class = Types::DeleteAssetRequest
|
366
453
|
|
454
|
+
DeleteDataGrantRequest.add_member(:data_grant_id, Shapes::ShapeRef.new(shape: DataGrantId, required: true, location: "uri", location_name: "DataGrantId"))
|
455
|
+
DeleteDataGrantRequest.struct_class = Types::DeleteDataGrantRequest
|
456
|
+
|
367
457
|
DeleteDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
368
458
|
DeleteDataSetRequest.struct_class = Types::DeleteDataSetRequest
|
369
459
|
|
@@ -448,6 +538,26 @@ module Aws::DataExchange
|
|
448
538
|
GetAssetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
449
539
|
GetAssetResponse.struct_class = Types::GetAssetResponse
|
450
540
|
|
541
|
+
GetDataGrantRequest.add_member(:data_grant_id, Shapes::ShapeRef.new(shape: DataGrantId, required: true, location: "uri", location_name: "DataGrantId"))
|
542
|
+
GetDataGrantRequest.struct_class = Types::GetDataGrantRequest
|
543
|
+
|
544
|
+
GetDataGrantResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
545
|
+
GetDataGrantResponse.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, required: true, location_name: "SenderPrincipal"))
|
546
|
+
GetDataGrantResponse.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
547
|
+
GetDataGrantResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataGrantDescription, location_name: "Description"))
|
548
|
+
GetDataGrantResponse.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
549
|
+
GetDataGrantResponse.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
550
|
+
GetDataGrantResponse.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
551
|
+
GetDataGrantResponse.add_member(:grant_distribution_scope, Shapes::ShapeRef.new(shape: GrantDistributionScope, required: true, location_name: "GrantDistributionScope"))
|
552
|
+
GetDataGrantResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
553
|
+
GetDataGrantResponse.add_member(:source_data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "SourceDataSetId"))
|
554
|
+
GetDataGrantResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
555
|
+
GetDataGrantResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
556
|
+
GetDataGrantResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
557
|
+
GetDataGrantResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
558
|
+
GetDataGrantResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
559
|
+
GetDataGrantResponse.struct_class = Types::GetDataGrantResponse
|
560
|
+
|
451
561
|
GetDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
452
562
|
GetDataSetRequest.struct_class = Types::GetDataSetRequest
|
453
563
|
|
@@ -488,6 +598,24 @@ module Aws::DataExchange
|
|
488
598
|
GetJobResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
489
599
|
GetJobResponse.struct_class = Types::GetJobResponse
|
490
600
|
|
601
|
+
GetReceivedDataGrantRequest.add_member(:data_grant_arn, Shapes::ShapeRef.new(shape: DataGrantArn, required: true, location: "uri", location_name: "DataGrantArn"))
|
602
|
+
GetReceivedDataGrantRequest.struct_class = Types::GetReceivedDataGrantRequest
|
603
|
+
|
604
|
+
GetReceivedDataGrantResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
605
|
+
GetReceivedDataGrantResponse.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, location_name: "SenderPrincipal"))
|
606
|
+
GetReceivedDataGrantResponse.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
607
|
+
GetReceivedDataGrantResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataGrantDescription, location_name: "Description"))
|
608
|
+
GetReceivedDataGrantResponse.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
609
|
+
GetReceivedDataGrantResponse.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
610
|
+
GetReceivedDataGrantResponse.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
611
|
+
GetReceivedDataGrantResponse.add_member(:grant_distribution_scope, Shapes::ShapeRef.new(shape: GrantDistributionScope, required: true, location_name: "GrantDistributionScope"))
|
612
|
+
GetReceivedDataGrantResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
613
|
+
GetReceivedDataGrantResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
614
|
+
GetReceivedDataGrantResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
615
|
+
GetReceivedDataGrantResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
616
|
+
GetReceivedDataGrantResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
617
|
+
GetReceivedDataGrantResponse.struct_class = Types::GetReceivedDataGrantResponse
|
618
|
+
|
491
619
|
GetRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
492
620
|
GetRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
493
621
|
GetRevisionRequest.struct_class = Types::GetRevisionRequest
|
@@ -634,6 +762,14 @@ module Aws::DataExchange
|
|
634
762
|
LakeFormationTagPolicyDetails.add_member(:table, Shapes::ShapeRef.new(shape: __string, location_name: "Table"))
|
635
763
|
LakeFormationTagPolicyDetails.struct_class = Types::LakeFormationTagPolicyDetails
|
636
764
|
|
765
|
+
ListDataGrantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
766
|
+
ListDataGrantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
767
|
+
ListDataGrantsRequest.struct_class = Types::ListDataGrantsRequest
|
768
|
+
|
769
|
+
ListDataGrantsResponse.add_member(:data_grant_summaries, Shapes::ShapeRef.new(shape: ListOfDataGrantSummaryEntry, location_name: "DataGrantSummaries"))
|
770
|
+
ListDataGrantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
771
|
+
ListDataGrantsResponse.struct_class = Types::ListDataGrantsResponse
|
772
|
+
|
637
773
|
ListDataSetRevisionsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
638
774
|
ListDataSetRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
639
775
|
ListDataSetRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -677,6 +813,8 @@ module Aws::DataExchange
|
|
677
813
|
|
678
814
|
ListOfAssetSourceEntry.member = Shapes::ShapeRef.new(shape: AssetSourceEntry)
|
679
815
|
|
816
|
+
ListOfDataGrantSummaryEntry.member = Shapes::ShapeRef.new(shape: DataGrantSummaryEntry)
|
817
|
+
|
680
818
|
ListOfDataSetEntry.member = Shapes::ShapeRef.new(shape: DataSetEntry)
|
681
819
|
|
682
820
|
ListOfDatabaseLFTagPolicyPermissions.member = Shapes::ShapeRef.new(shape: DatabaseLFTagPolicyPermission)
|
@@ -697,6 +835,8 @@ module Aws::DataExchange
|
|
697
835
|
|
698
836
|
ListOfLakeFormationTagPolicies.member = Shapes::ShapeRef.new(shape: LakeFormationTagPolicyDetails)
|
699
837
|
|
838
|
+
ListOfReceivedDataGrantSummariesEntry.member = Shapes::ShapeRef.new(shape: ReceivedDataGrantSummariesEntry)
|
839
|
+
|
700
840
|
ListOfRedshiftDataShareAssetSourceEntry.member = Shapes::ShapeRef.new(shape: RedshiftDataShareAssetSourceEntry)
|
701
841
|
|
702
842
|
ListOfRedshiftDataShares.member = Shapes::ShapeRef.new(shape: RedshiftDataShareDetails)
|
@@ -713,6 +853,15 @@ module Aws::DataExchange
|
|
713
853
|
|
714
854
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
715
855
|
|
856
|
+
ListReceivedDataGrantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults", metadata: {"box"=>true}))
|
857
|
+
ListReceivedDataGrantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
858
|
+
ListReceivedDataGrantsRequest.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: AcceptanceStateFilterValues, location: "querystring", location_name: "acceptanceState"))
|
859
|
+
ListReceivedDataGrantsRequest.struct_class = Types::ListReceivedDataGrantsRequest
|
860
|
+
|
861
|
+
ListReceivedDataGrantsResponse.add_member(:data_grant_summaries, Shapes::ShapeRef.new(shape: ListOfReceivedDataGrantSummariesEntry, location_name: "DataGrantSummaries"))
|
862
|
+
ListReceivedDataGrantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
863
|
+
ListReceivedDataGrantsResponse.struct_class = Types::ListReceivedDataGrantsResponse
|
864
|
+
|
716
865
|
ListRevisionAssetsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
717
866
|
ListRevisionAssetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
718
867
|
ListRevisionAssetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
@@ -738,8 +887,22 @@ module Aws::DataExchange
|
|
738
887
|
NotificationDetails.struct_class = Types::NotificationDetails
|
739
888
|
|
740
889
|
OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, location_name: "ProductId"))
|
890
|
+
OriginDetails.add_member(:data_grant_id, Shapes::ShapeRef.new(shape: __string, location_name: "DataGrantId"))
|
741
891
|
OriginDetails.struct_class = Types::OriginDetails
|
742
892
|
|
893
|
+
ReceivedDataGrantSummariesEntry.add_member(:name, Shapes::ShapeRef.new(shape: DataGrantName, required: true, location_name: "Name"))
|
894
|
+
ReceivedDataGrantSummariesEntry.add_member(:sender_principal, Shapes::ShapeRef.new(shape: SenderPrincipal, required: true, location_name: "SenderPrincipal"))
|
895
|
+
ReceivedDataGrantSummariesEntry.add_member(:receiver_principal, Shapes::ShapeRef.new(shape: ReceiverPrincipal, required: true, location_name: "ReceiverPrincipal"))
|
896
|
+
ReceivedDataGrantSummariesEntry.add_member(:acceptance_state, Shapes::ShapeRef.new(shape: DataGrantAcceptanceState, required: true, location_name: "AcceptanceState"))
|
897
|
+
ReceivedDataGrantSummariesEntry.add_member(:accepted_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "AcceptedAt"))
|
898
|
+
ReceivedDataGrantSummariesEntry.add_member(:ends_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndsAt"))
|
899
|
+
ReceivedDataGrantSummariesEntry.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
900
|
+
ReceivedDataGrantSummariesEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
901
|
+
ReceivedDataGrantSummariesEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
902
|
+
ReceivedDataGrantSummariesEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
|
903
|
+
ReceivedDataGrantSummariesEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
904
|
+
ReceivedDataGrantSummariesEntry.struct_class = Types::ReceivedDataGrantSummariesEntry
|
905
|
+
|
743
906
|
RedshiftDataShareAsset.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
|
744
907
|
RedshiftDataShareAsset.struct_class = Types::RedshiftDataShareAsset
|
745
908
|
|
@@ -989,9 +1152,10 @@ module Aws::DataExchange
|
|
989
1152
|
|
990
1153
|
api.metadata = {
|
991
1154
|
"apiVersion" => "2017-07-25",
|
1155
|
+
"auth" => ["aws.auth#sigv4"],
|
992
1156
|
"endpointPrefix" => "dataexchange",
|
993
|
-
"jsonVersion" => "1.1",
|
994
1157
|
"protocol" => "rest-json",
|
1158
|
+
"protocols" => ["rest-json"],
|
995
1159
|
"serviceFullName" => "AWS Data Exchange",
|
996
1160
|
"serviceId" => "DataExchange",
|
997
1161
|
"signatureVersion" => "v4",
|
@@ -999,6 +1163,20 @@ module Aws::DataExchange
|
|
999
1163
|
"uid" => "dataexchange-2017-07-25",
|
1000
1164
|
}
|
1001
1165
|
|
1166
|
+
api.add_operation(:accept_data_grant, Seahorse::Model::Operation.new.tap do |o|
|
1167
|
+
o.name = "AcceptDataGrant"
|
1168
|
+
o.http_method = "POST"
|
1169
|
+
o.http_request_uri = "/v1/data-grants/{DataGrantArn}/accept"
|
1170
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptDataGrantRequest)
|
1171
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptDataGrantResponse)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1175
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1176
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1177
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1178
|
+
end)
|
1179
|
+
|
1002
1180
|
api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
|
1003
1181
|
o.name = "CancelJob"
|
1004
1182
|
o.http_method = "DELETE"
|
@@ -1012,6 +1190,20 @@ module Aws::DataExchange
|
|
1012
1190
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1013
1191
|
end)
|
1014
1192
|
|
1193
|
+
api.add_operation(:create_data_grant, Seahorse::Model::Operation.new.tap do |o|
|
1194
|
+
o.name = "CreateDataGrant"
|
1195
|
+
o.http_method = "POST"
|
1196
|
+
o.http_request_uri = "/v1/data-grants"
|
1197
|
+
o.input = Shapes::ShapeRef.new(shape: CreateDataGrantRequest)
|
1198
|
+
o.output = Shapes::ShapeRef.new(shape: CreateDataGrantResponse)
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1201
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1202
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1203
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1204
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1205
|
+
end)
|
1206
|
+
|
1015
1207
|
api.add_operation(:create_data_set, Seahorse::Model::Operation.new.tap do |o|
|
1016
1208
|
o.name = "CreateDataSet"
|
1017
1209
|
o.http_method = "POST"
|
@@ -1079,6 +1271,19 @@ module Aws::DataExchange
|
|
1079
1271
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1080
1272
|
end)
|
1081
1273
|
|
1274
|
+
api.add_operation(:delete_data_grant, Seahorse::Model::Operation.new.tap do |o|
|
1275
|
+
o.name = "DeleteDataGrant"
|
1276
|
+
o.http_method = "DELETE"
|
1277
|
+
o.http_request_uri = "/v1/data-grants/{DataGrantId}"
|
1278
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteDataGrantRequest)
|
1279
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1280
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1281
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1282
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1285
|
+
end)
|
1286
|
+
|
1082
1287
|
api.add_operation(:delete_data_set, Seahorse::Model::Operation.new.tap do |o|
|
1083
1288
|
o.name = "DeleteDataSet"
|
1084
1289
|
o.http_method = "DELETE"
|
@@ -1131,6 +1336,19 @@ module Aws::DataExchange
|
|
1131
1336
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1132
1337
|
end)
|
1133
1338
|
|
1339
|
+
api.add_operation(:get_data_grant, Seahorse::Model::Operation.new.tap do |o|
|
1340
|
+
o.name = "GetDataGrant"
|
1341
|
+
o.http_method = "GET"
|
1342
|
+
o.http_request_uri = "/v1/data-grants/{DataGrantId}"
|
1343
|
+
o.input = Shapes::ShapeRef.new(shape: GetDataGrantRequest)
|
1344
|
+
o.output = Shapes::ShapeRef.new(shape: GetDataGrantResponse)
|
1345
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1346
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1347
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1348
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1349
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1350
|
+
end)
|
1351
|
+
|
1134
1352
|
api.add_operation(:get_data_set, Seahorse::Model::Operation.new.tap do |o|
|
1135
1353
|
o.name = "GetDataSet"
|
1136
1354
|
o.http_method = "GET"
|
@@ -1167,6 +1385,19 @@ module Aws::DataExchange
|
|
1167
1385
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1168
1386
|
end)
|
1169
1387
|
|
1388
|
+
api.add_operation(:get_received_data_grant, Seahorse::Model::Operation.new.tap do |o|
|
1389
|
+
o.name = "GetReceivedDataGrant"
|
1390
|
+
o.http_method = "GET"
|
1391
|
+
o.http_request_uri = "/v1/received-data-grants/{DataGrantArn}"
|
1392
|
+
o.input = Shapes::ShapeRef.new(shape: GetReceivedDataGrantRequest)
|
1393
|
+
o.output = Shapes::ShapeRef.new(shape: GetReceivedDataGrantResponse)
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1396
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1397
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1398
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1399
|
+
end)
|
1400
|
+
|
1170
1401
|
api.add_operation(:get_revision, Seahorse::Model::Operation.new.tap do |o|
|
1171
1402
|
o.name = "GetRevision"
|
1172
1403
|
o.http_method = "GET"
|
@@ -1179,6 +1410,25 @@ module Aws::DataExchange
|
|
1179
1410
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1180
1411
|
end)
|
1181
1412
|
|
1413
|
+
api.add_operation(:list_data_grants, Seahorse::Model::Operation.new.tap do |o|
|
1414
|
+
o.name = "ListDataGrants"
|
1415
|
+
o.http_method = "GET"
|
1416
|
+
o.http_request_uri = "/v1/data-grants"
|
1417
|
+
o.input = Shapes::ShapeRef.new(shape: ListDataGrantsRequest)
|
1418
|
+
o.output = Shapes::ShapeRef.new(shape: ListDataGrantsResponse)
|
1419
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1420
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1421
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1422
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1423
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1424
|
+
o[:pager] = Aws::Pager.new(
|
1425
|
+
limit_key: "max_results",
|
1426
|
+
tokens: {
|
1427
|
+
"next_token" => "next_token"
|
1428
|
+
}
|
1429
|
+
)
|
1430
|
+
end)
|
1431
|
+
|
1182
1432
|
api.add_operation(:list_data_set_revisions, Seahorse::Model::Operation.new.tap do |o|
|
1183
1433
|
o.name = "ListDataSetRevisions"
|
1184
1434
|
o.http_method = "GET"
|
@@ -1251,6 +1501,25 @@ module Aws::DataExchange
|
|
1251
1501
|
)
|
1252
1502
|
end)
|
1253
1503
|
|
1504
|
+
api.add_operation(:list_received_data_grants, Seahorse::Model::Operation.new.tap do |o|
|
1505
|
+
o.name = "ListReceivedDataGrants"
|
1506
|
+
o.http_method = "GET"
|
1507
|
+
o.http_request_uri = "/v1/received-data-grants"
|
1508
|
+
o.input = Shapes::ShapeRef.new(shape: ListReceivedDataGrantsRequest)
|
1509
|
+
o.output = Shapes::ShapeRef.new(shape: ListReceivedDataGrantsResponse)
|
1510
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1511
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1512
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1513
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1515
|
+
o[:pager] = Aws::Pager.new(
|
1516
|
+
limit_key: "max_results",
|
1517
|
+
tokens: {
|
1518
|
+
"next_token" => "next_token"
|
1519
|
+
}
|
1520
|
+
)
|
1521
|
+
end)
|
1522
|
+
|
1254
1523
|
api.add_operation(:list_revision_assets, Seahorse::Model::Operation.new.tap do |o|
|
1255
1524
|
o.name = "ListRevisionAssets"
|
1256
1525
|
o.http_method = "GET"
|
@@ -52,15 +52,18 @@ module Aws::DataExchange
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|