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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b7aa7db243dfaef170d8a925411c5fa906762efe3518ee814c620e3b03462e5
|
4
|
+
data.tar.gz: ad60756f9eb9bb0f13d378c618e8ebffdaad250f22fc1ce8e963171eb73efa72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d61f4d50fb065d021c2d197d8d15e9379e0247479c45a094d2578cba3d6d740a638d77444a1ada090b3f1611ea1ab56281d371f725cef53b72aa6ffa1cc44cf5
|
7
|
+
data.tar.gz: bf332875af2be795c85c6708bb8ee3880082278fd115590331840f4c4fa9847ef46305fd95e21d48abc89f495869bbfa40dd48f8386d1d63334e53986e091529
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2024-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.59.0 (2024-10-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts.
|
13
|
+
|
4
14
|
1.58.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
@@ -447,6 +447,58 @@ module Aws::DataExchange
|
|
447
447
|
|
448
448
|
# @!group API Operations
|
449
449
|
|
450
|
+
# This operation accepts a data grant.
|
451
|
+
#
|
452
|
+
# @option params [required, String] :data_grant_arn
|
453
|
+
# The Amazon Resource Name (ARN) of the data grant to accept.
|
454
|
+
#
|
455
|
+
# @return [Types::AcceptDataGrantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
456
|
+
#
|
457
|
+
# * {Types::AcceptDataGrantResponse#name #name} => String
|
458
|
+
# * {Types::AcceptDataGrantResponse#sender_principal #sender_principal} => String
|
459
|
+
# * {Types::AcceptDataGrantResponse#receiver_principal #receiver_principal} => String
|
460
|
+
# * {Types::AcceptDataGrantResponse#description #description} => String
|
461
|
+
# * {Types::AcceptDataGrantResponse#acceptance_state #acceptance_state} => String
|
462
|
+
# * {Types::AcceptDataGrantResponse#accepted_at #accepted_at} => Time
|
463
|
+
# * {Types::AcceptDataGrantResponse#ends_at #ends_at} => Time
|
464
|
+
# * {Types::AcceptDataGrantResponse#grant_distribution_scope #grant_distribution_scope} => String
|
465
|
+
# * {Types::AcceptDataGrantResponse#data_set_id #data_set_id} => String
|
466
|
+
# * {Types::AcceptDataGrantResponse#id #id} => String
|
467
|
+
# * {Types::AcceptDataGrantResponse#arn #arn} => String
|
468
|
+
# * {Types::AcceptDataGrantResponse#created_at #created_at} => Time
|
469
|
+
# * {Types::AcceptDataGrantResponse#updated_at #updated_at} => Time
|
470
|
+
#
|
471
|
+
# @example Request syntax with placeholder values
|
472
|
+
#
|
473
|
+
# resp = client.accept_data_grant({
|
474
|
+
# data_grant_arn: "DataGrantArn", # required
|
475
|
+
# })
|
476
|
+
#
|
477
|
+
# @example Response structure
|
478
|
+
#
|
479
|
+
# resp.name #=> String
|
480
|
+
# resp.sender_principal #=> String
|
481
|
+
# resp.receiver_principal #=> String
|
482
|
+
# resp.description #=> String
|
483
|
+
# resp.acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
484
|
+
# resp.accepted_at #=> Time
|
485
|
+
# resp.ends_at #=> Time
|
486
|
+
# resp.grant_distribution_scope #=> String, one of "AWS_ORGANIZATION", "NONE"
|
487
|
+
# resp.data_set_id #=> String
|
488
|
+
# resp.id #=> String
|
489
|
+
# resp.arn #=> String
|
490
|
+
# resp.created_at #=> Time
|
491
|
+
# resp.updated_at #=> Time
|
492
|
+
#
|
493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AcceptDataGrant AWS API Documentation
|
494
|
+
#
|
495
|
+
# @overload accept_data_grant(params = {})
|
496
|
+
# @param [Hash] params ({})
|
497
|
+
def accept_data_grant(params = {}, options = {})
|
498
|
+
req = build_request(:accept_data_grant, params)
|
499
|
+
req.send_request(options)
|
500
|
+
end
|
501
|
+
|
450
502
|
# This operation cancels a job. Jobs can be cancelled only when they are
|
451
503
|
# in the WAITING state.
|
452
504
|
#
|
@@ -470,6 +522,89 @@ module Aws::DataExchange
|
|
470
522
|
req.send_request(options)
|
471
523
|
end
|
472
524
|
|
525
|
+
# This operation creates a data grant.
|
526
|
+
#
|
527
|
+
# @option params [required, String] :name
|
528
|
+
# The name of the data grant.
|
529
|
+
#
|
530
|
+
# @option params [required, String] :grant_distribution_scope
|
531
|
+
# The distribution scope of the data grant.
|
532
|
+
#
|
533
|
+
# @option params [required, String] :receiver_principal
|
534
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
535
|
+
#
|
536
|
+
# @option params [required, String] :source_data_set_id
|
537
|
+
# The ID of the data set used to create the data grant.
|
538
|
+
#
|
539
|
+
# @option params [Time,DateTime,Date,Integer,String] :ends_at
|
540
|
+
# The timestamp of when access to the associated data set ends.
|
541
|
+
#
|
542
|
+
# @option params [String] :description
|
543
|
+
# The description of the data grant.
|
544
|
+
#
|
545
|
+
# @option params [Hash<String,String>] :tags
|
546
|
+
# The tags to add to the data grant. A tag is a key-value pair.
|
547
|
+
#
|
548
|
+
# @return [Types::CreateDataGrantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
549
|
+
#
|
550
|
+
# * {Types::CreateDataGrantResponse#name #name} => String
|
551
|
+
# * {Types::CreateDataGrantResponse#sender_principal #sender_principal} => String
|
552
|
+
# * {Types::CreateDataGrantResponse#receiver_principal #receiver_principal} => String
|
553
|
+
# * {Types::CreateDataGrantResponse#description #description} => String
|
554
|
+
# * {Types::CreateDataGrantResponse#acceptance_state #acceptance_state} => String
|
555
|
+
# * {Types::CreateDataGrantResponse#accepted_at #accepted_at} => Time
|
556
|
+
# * {Types::CreateDataGrantResponse#ends_at #ends_at} => Time
|
557
|
+
# * {Types::CreateDataGrantResponse#grant_distribution_scope #grant_distribution_scope} => String
|
558
|
+
# * {Types::CreateDataGrantResponse#data_set_id #data_set_id} => String
|
559
|
+
# * {Types::CreateDataGrantResponse#source_data_set_id #source_data_set_id} => String
|
560
|
+
# * {Types::CreateDataGrantResponse#id #id} => String
|
561
|
+
# * {Types::CreateDataGrantResponse#arn #arn} => String
|
562
|
+
# * {Types::CreateDataGrantResponse#created_at #created_at} => Time
|
563
|
+
# * {Types::CreateDataGrantResponse#updated_at #updated_at} => Time
|
564
|
+
# * {Types::CreateDataGrantResponse#tags #tags} => Hash<String,String>
|
565
|
+
#
|
566
|
+
# @example Request syntax with placeholder values
|
567
|
+
#
|
568
|
+
# resp = client.create_data_grant({
|
569
|
+
# name: "DataGrantName", # required
|
570
|
+
# grant_distribution_scope: "AWS_ORGANIZATION", # required, accepts AWS_ORGANIZATION, NONE
|
571
|
+
# receiver_principal: "ReceiverPrincipal", # required
|
572
|
+
# source_data_set_id: "Id", # required
|
573
|
+
# ends_at: Time.now,
|
574
|
+
# description: "Description",
|
575
|
+
# tags: {
|
576
|
+
# "__string" => "__string",
|
577
|
+
# },
|
578
|
+
# })
|
579
|
+
#
|
580
|
+
# @example Response structure
|
581
|
+
#
|
582
|
+
# resp.name #=> String
|
583
|
+
# resp.sender_principal #=> String
|
584
|
+
# resp.receiver_principal #=> String
|
585
|
+
# resp.description #=> String
|
586
|
+
# resp.acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
587
|
+
# resp.accepted_at #=> Time
|
588
|
+
# resp.ends_at #=> Time
|
589
|
+
# resp.grant_distribution_scope #=> String, one of "AWS_ORGANIZATION", "NONE"
|
590
|
+
# resp.data_set_id #=> String
|
591
|
+
# resp.source_data_set_id #=> String
|
592
|
+
# resp.id #=> String
|
593
|
+
# resp.arn #=> String
|
594
|
+
# resp.created_at #=> Time
|
595
|
+
# resp.updated_at #=> Time
|
596
|
+
# resp.tags #=> Hash
|
597
|
+
# resp.tags["__string"] #=> String
|
598
|
+
#
|
599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataGrant AWS API Documentation
|
600
|
+
#
|
601
|
+
# @overload create_data_grant(params = {})
|
602
|
+
# @param [Hash] params ({})
|
603
|
+
def create_data_grant(params = {}, options = {})
|
604
|
+
req = build_request(:create_data_grant, params)
|
605
|
+
req.send_request(options)
|
606
|
+
end
|
607
|
+
|
473
608
|
# This operation creates a data set.
|
474
609
|
#
|
475
610
|
# @option params [required, String] :asset_type
|
@@ -524,6 +659,7 @@ module Aws::DataExchange
|
|
524
659
|
# resp.name #=> String
|
525
660
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
526
661
|
# resp.origin_details.product_id #=> String
|
662
|
+
# resp.origin_details.data_grant_id #=> String
|
527
663
|
# resp.source_id #=> String
|
528
664
|
# resp.tags #=> Hash
|
529
665
|
# resp.tags["__string"] #=> String
|
@@ -929,6 +1065,28 @@ module Aws::DataExchange
|
|
929
1065
|
req.send_request(options)
|
930
1066
|
end
|
931
1067
|
|
1068
|
+
# This operation deletes a data grant.
|
1069
|
+
#
|
1070
|
+
# @option params [required, String] :data_grant_id
|
1071
|
+
# The ID of the data grant to delete.
|
1072
|
+
#
|
1073
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1074
|
+
#
|
1075
|
+
# @example Request syntax with placeholder values
|
1076
|
+
#
|
1077
|
+
# resp = client.delete_data_grant({
|
1078
|
+
# data_grant_id: "DataGrantId", # required
|
1079
|
+
# })
|
1080
|
+
#
|
1081
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataGrant AWS API Documentation
|
1082
|
+
#
|
1083
|
+
# @overload delete_data_grant(params = {})
|
1084
|
+
# @param [Hash] params ({})
|
1085
|
+
def delete_data_grant(params = {}, options = {})
|
1086
|
+
req = build_request(:delete_data_grant, params)
|
1087
|
+
req.send_request(options)
|
1088
|
+
end
|
1089
|
+
|
932
1090
|
# This operation deletes a data set.
|
933
1091
|
#
|
934
1092
|
# @option params [required, String] :data_set_id
|
@@ -1086,6 +1244,63 @@ module Aws::DataExchange
|
|
1086
1244
|
req.send_request(options)
|
1087
1245
|
end
|
1088
1246
|
|
1247
|
+
# This operation returns information about a data grant.
|
1248
|
+
#
|
1249
|
+
# @option params [required, String] :data_grant_id
|
1250
|
+
# The ID of the data grant.
|
1251
|
+
#
|
1252
|
+
# @return [Types::GetDataGrantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1253
|
+
#
|
1254
|
+
# * {Types::GetDataGrantResponse#name #name} => String
|
1255
|
+
# * {Types::GetDataGrantResponse#sender_principal #sender_principal} => String
|
1256
|
+
# * {Types::GetDataGrantResponse#receiver_principal #receiver_principal} => String
|
1257
|
+
# * {Types::GetDataGrantResponse#description #description} => String
|
1258
|
+
# * {Types::GetDataGrantResponse#acceptance_state #acceptance_state} => String
|
1259
|
+
# * {Types::GetDataGrantResponse#accepted_at #accepted_at} => Time
|
1260
|
+
# * {Types::GetDataGrantResponse#ends_at #ends_at} => Time
|
1261
|
+
# * {Types::GetDataGrantResponse#grant_distribution_scope #grant_distribution_scope} => String
|
1262
|
+
# * {Types::GetDataGrantResponse#data_set_id #data_set_id} => String
|
1263
|
+
# * {Types::GetDataGrantResponse#source_data_set_id #source_data_set_id} => String
|
1264
|
+
# * {Types::GetDataGrantResponse#id #id} => String
|
1265
|
+
# * {Types::GetDataGrantResponse#arn #arn} => String
|
1266
|
+
# * {Types::GetDataGrantResponse#created_at #created_at} => Time
|
1267
|
+
# * {Types::GetDataGrantResponse#updated_at #updated_at} => Time
|
1268
|
+
# * {Types::GetDataGrantResponse#tags #tags} => Hash<String,String>
|
1269
|
+
#
|
1270
|
+
# @example Request syntax with placeholder values
|
1271
|
+
#
|
1272
|
+
# resp = client.get_data_grant({
|
1273
|
+
# data_grant_id: "DataGrantId", # required
|
1274
|
+
# })
|
1275
|
+
#
|
1276
|
+
# @example Response structure
|
1277
|
+
#
|
1278
|
+
# resp.name #=> String
|
1279
|
+
# resp.sender_principal #=> String
|
1280
|
+
# resp.receiver_principal #=> String
|
1281
|
+
# resp.description #=> String
|
1282
|
+
# resp.acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
1283
|
+
# resp.accepted_at #=> Time
|
1284
|
+
# resp.ends_at #=> Time
|
1285
|
+
# resp.grant_distribution_scope #=> String, one of "AWS_ORGANIZATION", "NONE"
|
1286
|
+
# resp.data_set_id #=> String
|
1287
|
+
# resp.source_data_set_id #=> String
|
1288
|
+
# resp.id #=> String
|
1289
|
+
# resp.arn #=> String
|
1290
|
+
# resp.created_at #=> Time
|
1291
|
+
# resp.updated_at #=> Time
|
1292
|
+
# resp.tags #=> Hash
|
1293
|
+
# resp.tags["__string"] #=> String
|
1294
|
+
#
|
1295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataGrant AWS API Documentation
|
1296
|
+
#
|
1297
|
+
# @overload get_data_grant(params = {})
|
1298
|
+
# @param [Hash] params ({})
|
1299
|
+
def get_data_grant(params = {}, options = {})
|
1300
|
+
req = build_request(:get_data_grant, params)
|
1301
|
+
req.send_request(options)
|
1302
|
+
end
|
1303
|
+
|
1089
1304
|
# This operation returns information about a data set.
|
1090
1305
|
#
|
1091
1306
|
# @option params [required, String] :data_set_id
|
@@ -1121,6 +1336,7 @@ module Aws::DataExchange
|
|
1121
1336
|
# resp.name #=> String
|
1122
1337
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
1123
1338
|
# resp.origin_details.product_id #=> String
|
1339
|
+
# resp.origin_details.data_grant_id #=> String
|
1124
1340
|
# resp.source_id #=> String
|
1125
1341
|
# resp.tags #=> Hash
|
1126
1342
|
# resp.tags["__string"] #=> String
|
@@ -1299,6 +1515,58 @@ module Aws::DataExchange
|
|
1299
1515
|
req.send_request(options)
|
1300
1516
|
end
|
1301
1517
|
|
1518
|
+
# This operation returns information about a received data grant.
|
1519
|
+
#
|
1520
|
+
# @option params [required, String] :data_grant_arn
|
1521
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
1522
|
+
#
|
1523
|
+
# @return [Types::GetReceivedDataGrantResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1524
|
+
#
|
1525
|
+
# * {Types::GetReceivedDataGrantResponse#name #name} => String
|
1526
|
+
# * {Types::GetReceivedDataGrantResponse#sender_principal #sender_principal} => String
|
1527
|
+
# * {Types::GetReceivedDataGrantResponse#receiver_principal #receiver_principal} => String
|
1528
|
+
# * {Types::GetReceivedDataGrantResponse#description #description} => String
|
1529
|
+
# * {Types::GetReceivedDataGrantResponse#acceptance_state #acceptance_state} => String
|
1530
|
+
# * {Types::GetReceivedDataGrantResponse#accepted_at #accepted_at} => Time
|
1531
|
+
# * {Types::GetReceivedDataGrantResponse#ends_at #ends_at} => Time
|
1532
|
+
# * {Types::GetReceivedDataGrantResponse#grant_distribution_scope #grant_distribution_scope} => String
|
1533
|
+
# * {Types::GetReceivedDataGrantResponse#data_set_id #data_set_id} => String
|
1534
|
+
# * {Types::GetReceivedDataGrantResponse#id #id} => String
|
1535
|
+
# * {Types::GetReceivedDataGrantResponse#arn #arn} => String
|
1536
|
+
# * {Types::GetReceivedDataGrantResponse#created_at #created_at} => Time
|
1537
|
+
# * {Types::GetReceivedDataGrantResponse#updated_at #updated_at} => Time
|
1538
|
+
#
|
1539
|
+
# @example Request syntax with placeholder values
|
1540
|
+
#
|
1541
|
+
# resp = client.get_received_data_grant({
|
1542
|
+
# data_grant_arn: "DataGrantArn", # required
|
1543
|
+
# })
|
1544
|
+
#
|
1545
|
+
# @example Response structure
|
1546
|
+
#
|
1547
|
+
# resp.name #=> String
|
1548
|
+
# resp.sender_principal #=> String
|
1549
|
+
# resp.receiver_principal #=> String
|
1550
|
+
# resp.description #=> String
|
1551
|
+
# resp.acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
1552
|
+
# resp.accepted_at #=> Time
|
1553
|
+
# resp.ends_at #=> Time
|
1554
|
+
# resp.grant_distribution_scope #=> String, one of "AWS_ORGANIZATION", "NONE"
|
1555
|
+
# resp.data_set_id #=> String
|
1556
|
+
# resp.id #=> String
|
1557
|
+
# resp.arn #=> String
|
1558
|
+
# resp.created_at #=> Time
|
1559
|
+
# resp.updated_at #=> Time
|
1560
|
+
#
|
1561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetReceivedDataGrant AWS API Documentation
|
1562
|
+
#
|
1563
|
+
# @overload get_received_data_grant(params = {})
|
1564
|
+
# @param [Hash] params ({})
|
1565
|
+
def get_received_data_grant(params = {}, options = {})
|
1566
|
+
req = build_request(:get_received_data_grant, params)
|
1567
|
+
req.send_request(options)
|
1568
|
+
end
|
1569
|
+
|
1302
1570
|
# This operation returns information about a revision.
|
1303
1571
|
#
|
1304
1572
|
# @option params [required, String] :data_set_id
|
@@ -1354,6 +1622,55 @@ module Aws::DataExchange
|
|
1354
1622
|
req.send_request(options)
|
1355
1623
|
end
|
1356
1624
|
|
1625
|
+
# This operation returns information about all data grants.
|
1626
|
+
#
|
1627
|
+
# @option params [Integer] :max_results
|
1628
|
+
# The maximum number of results to be included in the next page.
|
1629
|
+
#
|
1630
|
+
# @option params [String] :next_token
|
1631
|
+
# The pagination token used to retrieve the next page of results for
|
1632
|
+
# this operation.
|
1633
|
+
#
|
1634
|
+
# @return [Types::ListDataGrantsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1635
|
+
#
|
1636
|
+
# * {Types::ListDataGrantsResponse#data_grant_summaries #data_grant_summaries} => Array<Types::DataGrantSummaryEntry>
|
1637
|
+
# * {Types::ListDataGrantsResponse#next_token #next_token} => String
|
1638
|
+
#
|
1639
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1640
|
+
#
|
1641
|
+
# @example Request syntax with placeholder values
|
1642
|
+
#
|
1643
|
+
# resp = client.list_data_grants({
|
1644
|
+
# max_results: 1,
|
1645
|
+
# next_token: "__string",
|
1646
|
+
# })
|
1647
|
+
#
|
1648
|
+
# @example Response structure
|
1649
|
+
#
|
1650
|
+
# resp.data_grant_summaries #=> Array
|
1651
|
+
# resp.data_grant_summaries[0].name #=> String
|
1652
|
+
# resp.data_grant_summaries[0].sender_principal #=> String
|
1653
|
+
# resp.data_grant_summaries[0].receiver_principal #=> String
|
1654
|
+
# resp.data_grant_summaries[0].acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
1655
|
+
# resp.data_grant_summaries[0].accepted_at #=> Time
|
1656
|
+
# resp.data_grant_summaries[0].ends_at #=> Time
|
1657
|
+
# resp.data_grant_summaries[0].data_set_id #=> String
|
1658
|
+
# resp.data_grant_summaries[0].source_data_set_id #=> String
|
1659
|
+
# resp.data_grant_summaries[0].id #=> String
|
1660
|
+
# resp.data_grant_summaries[0].arn #=> String
|
1661
|
+
# resp.data_grant_summaries[0].created_at #=> Time
|
1662
|
+
# resp.data_grant_summaries[0].updated_at #=> Time
|
1663
|
+
# resp.next_token #=> String
|
1664
|
+
#
|
1665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataGrants AWS API Documentation
|
1666
|
+
#
|
1667
|
+
# @overload list_data_grants(params = {})
|
1668
|
+
# @param [Hash] params ({})
|
1669
|
+
def list_data_grants(params = {}, options = {})
|
1670
|
+
req = build_request(:list_data_grants, params)
|
1671
|
+
req.send_request(options)
|
1672
|
+
end
|
1673
|
+
|
1357
1674
|
# This operation lists a data set's revisions sorted by CreatedAt in
|
1358
1675
|
# descending order.
|
1359
1676
|
#
|
@@ -1409,8 +1726,7 @@ module Aws::DataExchange
|
|
1409
1726
|
|
1410
1727
|
# This operation lists your data sets. When listing by origin OWNED,
|
1411
1728
|
# results are sorted by CreatedAt in descending order. When listing by
|
1412
|
-
# origin ENTITLED, there is no order
|
1413
|
-
# ignored.
|
1729
|
+
# origin ENTITLED, there is no order.
|
1414
1730
|
#
|
1415
1731
|
# @option params [Integer] :max_results
|
1416
1732
|
# The maximum number of results returned by a single call.
|
@@ -1449,6 +1765,7 @@ module Aws::DataExchange
|
|
1449
1765
|
# resp.data_sets[0].name #=> String
|
1450
1766
|
# resp.data_sets[0].origin #=> String, one of "OWNED", "ENTITLED"
|
1451
1767
|
# resp.data_sets[0].origin_details.product_id #=> String
|
1768
|
+
# resp.data_sets[0].origin_details.data_grant_id #=> String
|
1452
1769
|
# resp.data_sets[0].source_id #=> String
|
1453
1770
|
# resp.data_sets[0].updated_at #=> Time
|
1454
1771
|
# resp.next_token #=> String
|
@@ -1647,6 +1964,58 @@ module Aws::DataExchange
|
|
1647
1964
|
req.send_request(options)
|
1648
1965
|
end
|
1649
1966
|
|
1967
|
+
# This operation returns information about all received data grants.
|
1968
|
+
#
|
1969
|
+
# @option params [Integer] :max_results
|
1970
|
+
# The maximum number of results to be included in the next page.
|
1971
|
+
#
|
1972
|
+
# @option params [String] :next_token
|
1973
|
+
# The pagination token used to retrieve the next page of results for
|
1974
|
+
# this operation.
|
1975
|
+
#
|
1976
|
+
# @option params [Array<String>] :acceptance_state
|
1977
|
+
# The acceptance state of the data grants to list.
|
1978
|
+
#
|
1979
|
+
# @return [Types::ListReceivedDataGrantsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1980
|
+
#
|
1981
|
+
# * {Types::ListReceivedDataGrantsResponse#data_grant_summaries #data_grant_summaries} => Array<Types::ReceivedDataGrantSummariesEntry>
|
1982
|
+
# * {Types::ListReceivedDataGrantsResponse#next_token #next_token} => String
|
1983
|
+
#
|
1984
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1985
|
+
#
|
1986
|
+
# @example Request syntax with placeholder values
|
1987
|
+
#
|
1988
|
+
# resp = client.list_received_data_grants({
|
1989
|
+
# max_results: 1,
|
1990
|
+
# next_token: "__string",
|
1991
|
+
# acceptance_state: ["PENDING_RECEIVER_ACCEPTANCE"], # accepts PENDING_RECEIVER_ACCEPTANCE, ACCEPTED
|
1992
|
+
# })
|
1993
|
+
#
|
1994
|
+
# @example Response structure
|
1995
|
+
#
|
1996
|
+
# resp.data_grant_summaries #=> Array
|
1997
|
+
# resp.data_grant_summaries[0].name #=> String
|
1998
|
+
# resp.data_grant_summaries[0].sender_principal #=> String
|
1999
|
+
# resp.data_grant_summaries[0].receiver_principal #=> String
|
2000
|
+
# resp.data_grant_summaries[0].acceptance_state #=> String, one of "PENDING_RECEIVER_ACCEPTANCE", "ACCEPTED"
|
2001
|
+
# resp.data_grant_summaries[0].accepted_at #=> Time
|
2002
|
+
# resp.data_grant_summaries[0].ends_at #=> Time
|
2003
|
+
# resp.data_grant_summaries[0].data_set_id #=> String
|
2004
|
+
# resp.data_grant_summaries[0].id #=> String
|
2005
|
+
# resp.data_grant_summaries[0].arn #=> String
|
2006
|
+
# resp.data_grant_summaries[0].created_at #=> Time
|
2007
|
+
# resp.data_grant_summaries[0].updated_at #=> Time
|
2008
|
+
# resp.next_token #=> String
|
2009
|
+
#
|
2010
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListReceivedDataGrants AWS API Documentation
|
2011
|
+
#
|
2012
|
+
# @overload list_received_data_grants(params = {})
|
2013
|
+
# @param [Hash] params ({})
|
2014
|
+
def list_received_data_grants(params = {}, options = {})
|
2015
|
+
req = build_request(:list_received_data_grants, params)
|
2016
|
+
req.send_request(options)
|
2017
|
+
end
|
2018
|
+
|
1650
2019
|
# This operation lists a revision's assets sorted alphabetically in
|
1651
2020
|
# descending order.
|
1652
2021
|
#
|
@@ -2201,6 +2570,7 @@ module Aws::DataExchange
|
|
2201
2570
|
# resp.name #=> String
|
2202
2571
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
2203
2572
|
# resp.origin_details.product_id #=> String
|
2573
|
+
# resp.origin_details.data_grant_id #=> String
|
2204
2574
|
# resp.source_id #=> String
|
2205
2575
|
# resp.updated_at #=> Time
|
2206
2576
|
#
|
@@ -2349,7 +2719,7 @@ module Aws::DataExchange
|
|
2349
2719
|
tracer: tracer
|
2350
2720
|
)
|
2351
2721
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
2352
|
-
context[:gem_version] = '1.
|
2722
|
+
context[:gem_version] = '1.60.0'
|
2353
2723
|
Seahorse::Client::Request.new(handlers, context)
|
2354
2724
|
end
|
2355
2725
|
|