aws-sdk-dataexchange 1.57.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +373 -5
- data/lib/aws-sdk-dataexchange/client_api.rb +270 -1
- data/lib/aws-sdk-dataexchange/endpoints.rb +77 -0
- data/lib/aws-sdk-dataexchange/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-dataexchange/types.rb +614 -1
- data/lib/aws-sdk-dataexchange.rb +4 -2
- data/sig/client.rbs +129 -0
- data/sig/types.rbs +163 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5505e8fec800e7827d400ec3c24f40ed5a4a960f5e8130bdeb6e387d9d81602
|
4
|
+
data.tar.gz: 7d5c1148593abd379d89043e6b69079b2067ad53bb47f08e40785d9888e335bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3d2b1146020e74cc6b7d60fe1f1952936f21de64d1795201b82c03b427c0e113045572f9c0cbda78fd2a557e21b8f06a0d4a026fd5ee3c87f20ef68f2e2a26a
|
7
|
+
data.tar.gz: ecf4d1d3e5d9b34b4f17c64dcb2e88e48414bb59347398cc36e88f7e16b2f239d1414434e12122ab3e0a5b463fd327f09eca6b00e1434bcf6980de7ae38c136b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2024-10-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.58.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.57.0 (2024-09-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:dataexchange)
|
40
|
-
|
41
39
|
module Aws::DataExchange
|
42
40
|
# An API client for DataExchange. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -449,6 +447,58 @@ module Aws::DataExchange
|
|
449
447
|
|
450
448
|
# @!group API Operations
|
451
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
|
+
|
452
502
|
# This operation cancels a job. Jobs can be cancelled only when they are
|
453
503
|
# in the WAITING state.
|
454
504
|
#
|
@@ -472,6 +522,89 @@ module Aws::DataExchange
|
|
472
522
|
req.send_request(options)
|
473
523
|
end
|
474
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
|
+
|
475
608
|
# This operation creates a data set.
|
476
609
|
#
|
477
610
|
# @option params [required, String] :asset_type
|
@@ -526,6 +659,7 @@ module Aws::DataExchange
|
|
526
659
|
# resp.name #=> String
|
527
660
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
528
661
|
# resp.origin_details.product_id #=> String
|
662
|
+
# resp.origin_details.data_grant_id #=> String
|
529
663
|
# resp.source_id #=> String
|
530
664
|
# resp.tags #=> Hash
|
531
665
|
# resp.tags["__string"] #=> String
|
@@ -931,6 +1065,28 @@ module Aws::DataExchange
|
|
931
1065
|
req.send_request(options)
|
932
1066
|
end
|
933
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
|
+
|
934
1090
|
# This operation deletes a data set.
|
935
1091
|
#
|
936
1092
|
# @option params [required, String] :data_set_id
|
@@ -1088,6 +1244,63 @@ module Aws::DataExchange
|
|
1088
1244
|
req.send_request(options)
|
1089
1245
|
end
|
1090
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
|
+
|
1091
1304
|
# This operation returns information about a data set.
|
1092
1305
|
#
|
1093
1306
|
# @option params [required, String] :data_set_id
|
@@ -1123,6 +1336,7 @@ module Aws::DataExchange
|
|
1123
1336
|
# resp.name #=> String
|
1124
1337
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
1125
1338
|
# resp.origin_details.product_id #=> String
|
1339
|
+
# resp.origin_details.data_grant_id #=> String
|
1126
1340
|
# resp.source_id #=> String
|
1127
1341
|
# resp.tags #=> Hash
|
1128
1342
|
# resp.tags["__string"] #=> String
|
@@ -1301,6 +1515,58 @@ module Aws::DataExchange
|
|
1301
1515
|
req.send_request(options)
|
1302
1516
|
end
|
1303
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
|
+
|
1304
1570
|
# This operation returns information about a revision.
|
1305
1571
|
#
|
1306
1572
|
# @option params [required, String] :data_set_id
|
@@ -1356,6 +1622,55 @@ module Aws::DataExchange
|
|
1356
1622
|
req.send_request(options)
|
1357
1623
|
end
|
1358
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
|
+
|
1359
1674
|
# This operation lists a data set's revisions sorted by CreatedAt in
|
1360
1675
|
# descending order.
|
1361
1676
|
#
|
@@ -1411,8 +1726,7 @@ module Aws::DataExchange
|
|
1411
1726
|
|
1412
1727
|
# This operation lists your data sets. When listing by origin OWNED,
|
1413
1728
|
# results are sorted by CreatedAt in descending order. When listing by
|
1414
|
-
# origin ENTITLED, there is no order
|
1415
|
-
# ignored.
|
1729
|
+
# origin ENTITLED, there is no order.
|
1416
1730
|
#
|
1417
1731
|
# @option params [Integer] :max_results
|
1418
1732
|
# The maximum number of results returned by a single call.
|
@@ -1451,6 +1765,7 @@ module Aws::DataExchange
|
|
1451
1765
|
# resp.data_sets[0].name #=> String
|
1452
1766
|
# resp.data_sets[0].origin #=> String, one of "OWNED", "ENTITLED"
|
1453
1767
|
# resp.data_sets[0].origin_details.product_id #=> String
|
1768
|
+
# resp.data_sets[0].origin_details.data_grant_id #=> String
|
1454
1769
|
# resp.data_sets[0].source_id #=> String
|
1455
1770
|
# resp.data_sets[0].updated_at #=> Time
|
1456
1771
|
# resp.next_token #=> String
|
@@ -1649,6 +1964,58 @@ module Aws::DataExchange
|
|
1649
1964
|
req.send_request(options)
|
1650
1965
|
end
|
1651
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
|
+
|
1652
2019
|
# This operation lists a revision's assets sorted alphabetically in
|
1653
2020
|
# descending order.
|
1654
2021
|
#
|
@@ -2203,6 +2570,7 @@ module Aws::DataExchange
|
|
2203
2570
|
# resp.name #=> String
|
2204
2571
|
# resp.origin #=> String, one of "OWNED", "ENTITLED"
|
2205
2572
|
# resp.origin_details.product_id #=> String
|
2573
|
+
# resp.origin_details.data_grant_id #=> String
|
2206
2574
|
# resp.source_id #=> String
|
2207
2575
|
# resp.updated_at #=> Time
|
2208
2576
|
#
|
@@ -2351,7 +2719,7 @@ module Aws::DataExchange
|
|
2351
2719
|
tracer: tracer
|
2352
2720
|
)
|
2353
2721
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
2354
|
-
context[:gem_version] = '1.
|
2722
|
+
context[:gem_version] = '1.59.0'
|
2355
2723
|
Seahorse::Client::Request.new(handlers, context)
|
2356
2724
|
end
|
2357
2725
|
|