aws-sdk-dataexchange 1.57.0 → 1.59.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 -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
@@ -10,6 +10,90 @@
|
|
10
10
|
module Aws::DataExchange
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# @!attribute [rw] data_grant_arn
|
14
|
+
# The Amazon Resource Name (ARN) of the data grant to accept.
|
15
|
+
# @return [String]
|
16
|
+
#
|
17
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AcceptDataGrantRequest AWS API Documentation
|
18
|
+
#
|
19
|
+
class AcceptDataGrantRequest < Struct.new(
|
20
|
+
:data_grant_arn)
|
21
|
+
SENSITIVE = []
|
22
|
+
include Aws::Structure
|
23
|
+
end
|
24
|
+
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# The name of the accepted data grant.
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @!attribute [rw] sender_principal
|
30
|
+
# The Amazon Web Services account ID of the data grant sender.
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] receiver_principal
|
34
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
35
|
+
# @return [String]
|
36
|
+
#
|
37
|
+
# @!attribute [rw] description
|
38
|
+
# The description of the accepted data grant.
|
39
|
+
# @return [String]
|
40
|
+
#
|
41
|
+
# @!attribute [rw] acceptance_state
|
42
|
+
# The acceptance state of the data grant.
|
43
|
+
# @return [String]
|
44
|
+
#
|
45
|
+
# @!attribute [rw] accepted_at
|
46
|
+
# The timestamp of when the data grant was accepted.
|
47
|
+
# @return [Time]
|
48
|
+
#
|
49
|
+
# @!attribute [rw] ends_at
|
50
|
+
# The timestamp of when access to the associated data set ends.
|
51
|
+
# @return [Time]
|
52
|
+
#
|
53
|
+
# @!attribute [rw] grant_distribution_scope
|
54
|
+
# The distribution scope for the data grant.
|
55
|
+
# @return [String]
|
56
|
+
#
|
57
|
+
# @!attribute [rw] data_set_id
|
58
|
+
# The ID of the data set associated to the data grant.
|
59
|
+
# @return [String]
|
60
|
+
#
|
61
|
+
# @!attribute [rw] id
|
62
|
+
# The ID of the data grant.
|
63
|
+
# @return [String]
|
64
|
+
#
|
65
|
+
# @!attribute [rw] arn
|
66
|
+
# The Amazon Resource Name (ARN) of the accepted data grant.
|
67
|
+
# @return [String]
|
68
|
+
#
|
69
|
+
# @!attribute [rw] created_at
|
70
|
+
# The timestamp of when the data grant was created.
|
71
|
+
# @return [Time]
|
72
|
+
#
|
73
|
+
# @!attribute [rw] updated_at
|
74
|
+
# The timestamp of when the data grant was last updated.
|
75
|
+
# @return [Time]
|
76
|
+
#
|
77
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/AcceptDataGrantResponse AWS API Documentation
|
78
|
+
#
|
79
|
+
class AcceptDataGrantResponse < Struct.new(
|
80
|
+
:name,
|
81
|
+
:sender_principal,
|
82
|
+
:receiver_principal,
|
83
|
+
:description,
|
84
|
+
:acceptance_state,
|
85
|
+
:accepted_at,
|
86
|
+
:ends_at,
|
87
|
+
:grant_distribution_scope,
|
88
|
+
:data_set_id,
|
89
|
+
:id,
|
90
|
+
:arn,
|
91
|
+
:created_at,
|
92
|
+
:updated_at)
|
93
|
+
SENSITIVE = []
|
94
|
+
include Aws::Structure
|
95
|
+
end
|
96
|
+
|
13
97
|
# Access to the resource is denied.
|
14
98
|
#
|
15
99
|
# @!attribute [rw] message
|
@@ -331,6 +415,130 @@ module Aws::DataExchange
|
|
331
415
|
include Aws::Structure
|
332
416
|
end
|
333
417
|
|
418
|
+
# @!attribute [rw] name
|
419
|
+
# The name of the data grant.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] grant_distribution_scope
|
423
|
+
# The distribution scope of the data grant.
|
424
|
+
# @return [String]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] receiver_principal
|
427
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
428
|
+
# @return [String]
|
429
|
+
#
|
430
|
+
# @!attribute [rw] source_data_set_id
|
431
|
+
# The ID of the data set used to create the data grant.
|
432
|
+
# @return [String]
|
433
|
+
#
|
434
|
+
# @!attribute [rw] ends_at
|
435
|
+
# The timestamp of when access to the associated data set ends.
|
436
|
+
# @return [Time]
|
437
|
+
#
|
438
|
+
# @!attribute [rw] description
|
439
|
+
# The description of the data grant.
|
440
|
+
# @return [String]
|
441
|
+
#
|
442
|
+
# @!attribute [rw] tags
|
443
|
+
# The tags to add to the data grant. A tag is a key-value pair.
|
444
|
+
# @return [Hash<String,String>]
|
445
|
+
#
|
446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataGrantRequest AWS API Documentation
|
447
|
+
#
|
448
|
+
class CreateDataGrantRequest < Struct.new(
|
449
|
+
:name,
|
450
|
+
:grant_distribution_scope,
|
451
|
+
:receiver_principal,
|
452
|
+
:source_data_set_id,
|
453
|
+
:ends_at,
|
454
|
+
:description,
|
455
|
+
:tags)
|
456
|
+
SENSITIVE = []
|
457
|
+
include Aws::Structure
|
458
|
+
end
|
459
|
+
|
460
|
+
# @!attribute [rw] name
|
461
|
+
# The name of the data grant.
|
462
|
+
# @return [String]
|
463
|
+
#
|
464
|
+
# @!attribute [rw] sender_principal
|
465
|
+
# The Amazon Web Services account ID of the data grant sender.
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] receiver_principal
|
469
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @!attribute [rw] description
|
473
|
+
# The description of the data grant.
|
474
|
+
# @return [String]
|
475
|
+
#
|
476
|
+
# @!attribute [rw] acceptance_state
|
477
|
+
# The acceptance state of the data grant.
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] accepted_at
|
481
|
+
# The timestamp of when the data grant was accepted.
|
482
|
+
# @return [Time]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] ends_at
|
485
|
+
# The timestamp of when access to the associated data set ends.
|
486
|
+
# @return [Time]
|
487
|
+
#
|
488
|
+
# @!attribute [rw] grant_distribution_scope
|
489
|
+
# The distribution scope for the data grant.
|
490
|
+
# @return [String]
|
491
|
+
#
|
492
|
+
# @!attribute [rw] data_set_id
|
493
|
+
# The ID of the data set associated to the data grant.
|
494
|
+
# @return [String]
|
495
|
+
#
|
496
|
+
# @!attribute [rw] source_data_set_id
|
497
|
+
# The ID of the data set used to create the data grant.
|
498
|
+
# @return [String]
|
499
|
+
#
|
500
|
+
# @!attribute [rw] id
|
501
|
+
# The ID of the data grant.
|
502
|
+
# @return [String]
|
503
|
+
#
|
504
|
+
# @!attribute [rw] arn
|
505
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
506
|
+
# @return [String]
|
507
|
+
#
|
508
|
+
# @!attribute [rw] created_at
|
509
|
+
# The timestamp of when the data grant was created.
|
510
|
+
# @return [Time]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] updated_at
|
513
|
+
# The timestamp of when the data grant was last updated.
|
514
|
+
# @return [Time]
|
515
|
+
#
|
516
|
+
# @!attribute [rw] tags
|
517
|
+
# The tags associated to the data grant. A tag is a key-value pair.
|
518
|
+
# @return [Hash<String,String>]
|
519
|
+
#
|
520
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataGrantResponse AWS API Documentation
|
521
|
+
#
|
522
|
+
class CreateDataGrantResponse < Struct.new(
|
523
|
+
:name,
|
524
|
+
:sender_principal,
|
525
|
+
:receiver_principal,
|
526
|
+
:description,
|
527
|
+
:acceptance_state,
|
528
|
+
:accepted_at,
|
529
|
+
:ends_at,
|
530
|
+
:grant_distribution_scope,
|
531
|
+
:data_set_id,
|
532
|
+
:source_data_set_id,
|
533
|
+
:id,
|
534
|
+
:arn,
|
535
|
+
:created_at,
|
536
|
+
:updated_at,
|
537
|
+
:tags)
|
538
|
+
SENSITIVE = []
|
539
|
+
include Aws::Structure
|
540
|
+
end
|
541
|
+
|
334
542
|
# @!attribute [rw] asset_type
|
335
543
|
# The type of asset that is added to a data set.
|
336
544
|
# @return [String]
|
@@ -707,6 +915,75 @@ module Aws::DataExchange
|
|
707
915
|
include Aws::Structure
|
708
916
|
end
|
709
917
|
|
918
|
+
# Information about a data grant.
|
919
|
+
#
|
920
|
+
# @!attribute [rw] name
|
921
|
+
# The name of the data grant.
|
922
|
+
# @return [String]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] sender_principal
|
925
|
+
# The Amazon Web Services account ID of the data grant sender.
|
926
|
+
# @return [String]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] receiver_principal
|
929
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
930
|
+
# @return [String]
|
931
|
+
#
|
932
|
+
# @!attribute [rw] acceptance_state
|
933
|
+
# The acceptance state of the data grant.
|
934
|
+
# @return [String]
|
935
|
+
#
|
936
|
+
# @!attribute [rw] accepted_at
|
937
|
+
# The timestamp of when the data grant was accepted.
|
938
|
+
# @return [Time]
|
939
|
+
#
|
940
|
+
# @!attribute [rw] ends_at
|
941
|
+
# The timestamp of when access to the associated data set ends.
|
942
|
+
# @return [Time]
|
943
|
+
#
|
944
|
+
# @!attribute [rw] data_set_id
|
945
|
+
# The ID of the data set associated to the data grant.
|
946
|
+
# @return [String]
|
947
|
+
#
|
948
|
+
# @!attribute [rw] source_data_set_id
|
949
|
+
# The ID of the data set used to create the data grant.
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @!attribute [rw] id
|
953
|
+
# The ID of the data grant.
|
954
|
+
# @return [String]
|
955
|
+
#
|
956
|
+
# @!attribute [rw] arn
|
957
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
958
|
+
# @return [String]
|
959
|
+
#
|
960
|
+
# @!attribute [rw] created_at
|
961
|
+
# The timestamp of when the data grant was created.
|
962
|
+
# @return [Time]
|
963
|
+
#
|
964
|
+
# @!attribute [rw] updated_at
|
965
|
+
# The timestamp of when the data grant was last updated.
|
966
|
+
# @return [Time]
|
967
|
+
#
|
968
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DataGrantSummaryEntry AWS API Documentation
|
969
|
+
#
|
970
|
+
class DataGrantSummaryEntry < Struct.new(
|
971
|
+
:name,
|
972
|
+
:sender_principal,
|
973
|
+
:receiver_principal,
|
974
|
+
:acceptance_state,
|
975
|
+
:accepted_at,
|
976
|
+
:ends_at,
|
977
|
+
:data_set_id,
|
978
|
+
:source_data_set_id,
|
979
|
+
:id,
|
980
|
+
:arn,
|
981
|
+
:created_at,
|
982
|
+
:updated_at)
|
983
|
+
SENSITIVE = []
|
984
|
+
include Aws::Structure
|
985
|
+
end
|
986
|
+
|
710
987
|
# A data set is an AWS resource with one or more revisions.
|
711
988
|
#
|
712
989
|
# @!attribute [rw] arn
|
@@ -842,6 +1119,18 @@ module Aws::DataExchange
|
|
842
1119
|
include Aws::Structure
|
843
1120
|
end
|
844
1121
|
|
1122
|
+
# @!attribute [rw] data_grant_id
|
1123
|
+
# The ID of the data grant to delete.
|
1124
|
+
# @return [String]
|
1125
|
+
#
|
1126
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataGrantRequest AWS API Documentation
|
1127
|
+
#
|
1128
|
+
class DeleteDataGrantRequest < Struct.new(
|
1129
|
+
:data_grant_id)
|
1130
|
+
SENSITIVE = []
|
1131
|
+
include Aws::Structure
|
1132
|
+
end
|
1133
|
+
|
845
1134
|
# @!attribute [rw] data_set_id
|
846
1135
|
# The unique identifier for a data set.
|
847
1136
|
# @return [String]
|
@@ -1267,6 +1556,100 @@ module Aws::DataExchange
|
|
1267
1556
|
include Aws::Structure
|
1268
1557
|
end
|
1269
1558
|
|
1559
|
+
# @!attribute [rw] data_grant_id
|
1560
|
+
# The ID of the data grant.
|
1561
|
+
# @return [String]
|
1562
|
+
#
|
1563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataGrantRequest AWS API Documentation
|
1564
|
+
#
|
1565
|
+
class GetDataGrantRequest < Struct.new(
|
1566
|
+
:data_grant_id)
|
1567
|
+
SENSITIVE = []
|
1568
|
+
include Aws::Structure
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
# @!attribute [rw] name
|
1572
|
+
# The name of the data grant.
|
1573
|
+
# @return [String]
|
1574
|
+
#
|
1575
|
+
# @!attribute [rw] sender_principal
|
1576
|
+
# The Amazon Web Services account ID of the data grant sender.
|
1577
|
+
# @return [String]
|
1578
|
+
#
|
1579
|
+
# @!attribute [rw] receiver_principal
|
1580
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
1581
|
+
# @return [String]
|
1582
|
+
#
|
1583
|
+
# @!attribute [rw] description
|
1584
|
+
# The description of the data grant.
|
1585
|
+
# @return [String]
|
1586
|
+
#
|
1587
|
+
# @!attribute [rw] acceptance_state
|
1588
|
+
# The acceptance state of the data grant.
|
1589
|
+
# @return [String]
|
1590
|
+
#
|
1591
|
+
# @!attribute [rw] accepted_at
|
1592
|
+
# The timestamp of when the data grant was accepted.
|
1593
|
+
# @return [Time]
|
1594
|
+
#
|
1595
|
+
# @!attribute [rw] ends_at
|
1596
|
+
# The timestamp of when access to the associated data set ends.
|
1597
|
+
# @return [Time]
|
1598
|
+
#
|
1599
|
+
# @!attribute [rw] grant_distribution_scope
|
1600
|
+
# The distribution scope for the data grant.
|
1601
|
+
# @return [String]
|
1602
|
+
#
|
1603
|
+
# @!attribute [rw] data_set_id
|
1604
|
+
# The ID of the data set associated to the data grant.
|
1605
|
+
# @return [String]
|
1606
|
+
#
|
1607
|
+
# @!attribute [rw] source_data_set_id
|
1608
|
+
# The ID of the data set used to create the data grant.
|
1609
|
+
# @return [String]
|
1610
|
+
#
|
1611
|
+
# @!attribute [rw] id
|
1612
|
+
# The ID of the data grant.
|
1613
|
+
# @return [String]
|
1614
|
+
#
|
1615
|
+
# @!attribute [rw] arn
|
1616
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
1617
|
+
# @return [String]
|
1618
|
+
#
|
1619
|
+
# @!attribute [rw] created_at
|
1620
|
+
# The timestamp of when the data grant was created.
|
1621
|
+
# @return [Time]
|
1622
|
+
#
|
1623
|
+
# @!attribute [rw] updated_at
|
1624
|
+
# The timestamp of when the data grant was last updated.
|
1625
|
+
# @return [Time]
|
1626
|
+
#
|
1627
|
+
# @!attribute [rw] tags
|
1628
|
+
# The tags associated to the data grant. A tag is a key-value pair.
|
1629
|
+
# @return [Hash<String,String>]
|
1630
|
+
#
|
1631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataGrantResponse AWS API Documentation
|
1632
|
+
#
|
1633
|
+
class GetDataGrantResponse < Struct.new(
|
1634
|
+
:name,
|
1635
|
+
:sender_principal,
|
1636
|
+
:receiver_principal,
|
1637
|
+
:description,
|
1638
|
+
:acceptance_state,
|
1639
|
+
:accepted_at,
|
1640
|
+
:ends_at,
|
1641
|
+
:grant_distribution_scope,
|
1642
|
+
:data_set_id,
|
1643
|
+
:source_data_set_id,
|
1644
|
+
:id,
|
1645
|
+
:arn,
|
1646
|
+
:created_at,
|
1647
|
+
:updated_at,
|
1648
|
+
:tags)
|
1649
|
+
SENSITIVE = []
|
1650
|
+
include Aws::Structure
|
1651
|
+
end
|
1652
|
+
|
1270
1653
|
# @!attribute [rw] data_set_id
|
1271
1654
|
# The unique identifier for a data set.
|
1272
1655
|
# @return [String]
|
@@ -1456,6 +1839,90 @@ module Aws::DataExchange
|
|
1456
1839
|
include Aws::Structure
|
1457
1840
|
end
|
1458
1841
|
|
1842
|
+
# @!attribute [rw] data_grant_arn
|
1843
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
1844
|
+
# @return [String]
|
1845
|
+
#
|
1846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetReceivedDataGrantRequest AWS API Documentation
|
1847
|
+
#
|
1848
|
+
class GetReceivedDataGrantRequest < Struct.new(
|
1849
|
+
:data_grant_arn)
|
1850
|
+
SENSITIVE = []
|
1851
|
+
include Aws::Structure
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
# @!attribute [rw] name
|
1855
|
+
# The name of the data grant.
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1858
|
+
# @!attribute [rw] sender_principal
|
1859
|
+
# The Amazon Web Services account ID of the data grant sender.
|
1860
|
+
# @return [String]
|
1861
|
+
#
|
1862
|
+
# @!attribute [rw] receiver_principal
|
1863
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
1864
|
+
# @return [String]
|
1865
|
+
#
|
1866
|
+
# @!attribute [rw] description
|
1867
|
+
# The description of the data grant.
|
1868
|
+
# @return [String]
|
1869
|
+
#
|
1870
|
+
# @!attribute [rw] acceptance_state
|
1871
|
+
# The acceptance state of the data grant.
|
1872
|
+
# @return [String]
|
1873
|
+
#
|
1874
|
+
# @!attribute [rw] accepted_at
|
1875
|
+
# The timestamp of when the data grant was accepted.
|
1876
|
+
# @return [Time]
|
1877
|
+
#
|
1878
|
+
# @!attribute [rw] ends_at
|
1879
|
+
# The timestamp of when access to the associated data set ends.
|
1880
|
+
# @return [Time]
|
1881
|
+
#
|
1882
|
+
# @!attribute [rw] grant_distribution_scope
|
1883
|
+
# The distribution scope for the data grant.
|
1884
|
+
# @return [String]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] data_set_id
|
1887
|
+
# The ID of the data set associated to the data grant.
|
1888
|
+
# @return [String]
|
1889
|
+
#
|
1890
|
+
# @!attribute [rw] id
|
1891
|
+
# The ID of the data grant.
|
1892
|
+
# @return [String]
|
1893
|
+
#
|
1894
|
+
# @!attribute [rw] arn
|
1895
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
1896
|
+
# @return [String]
|
1897
|
+
#
|
1898
|
+
# @!attribute [rw] created_at
|
1899
|
+
# The timestamp of when the data grant was created.
|
1900
|
+
# @return [Time]
|
1901
|
+
#
|
1902
|
+
# @!attribute [rw] updated_at
|
1903
|
+
# The timestamp of when the data grant was last updated.
|
1904
|
+
# @return [Time]
|
1905
|
+
#
|
1906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetReceivedDataGrantResponse AWS API Documentation
|
1907
|
+
#
|
1908
|
+
class GetReceivedDataGrantResponse < Struct.new(
|
1909
|
+
:name,
|
1910
|
+
:sender_principal,
|
1911
|
+
:receiver_principal,
|
1912
|
+
:description,
|
1913
|
+
:acceptance_state,
|
1914
|
+
:accepted_at,
|
1915
|
+
:ends_at,
|
1916
|
+
:grant_distribution_scope,
|
1917
|
+
:data_set_id,
|
1918
|
+
:id,
|
1919
|
+
:arn,
|
1920
|
+
:created_at,
|
1921
|
+
:updated_at)
|
1922
|
+
SENSITIVE = []
|
1923
|
+
include Aws::Structure
|
1924
|
+
end
|
1925
|
+
|
1459
1926
|
# @!attribute [rw] data_set_id
|
1460
1927
|
# The unique identifier for a data set.
|
1461
1928
|
# @return [String]
|
@@ -2216,6 +2683,42 @@ module Aws::DataExchange
|
|
2216
2683
|
include Aws::Structure
|
2217
2684
|
end
|
2218
2685
|
|
2686
|
+
# @!attribute [rw] max_results
|
2687
|
+
# The maximum number of results to be included in the next page.
|
2688
|
+
# @return [Integer]
|
2689
|
+
#
|
2690
|
+
# @!attribute [rw] next_token
|
2691
|
+
# The pagination token used to retrieve the next page of results for
|
2692
|
+
# this operation.
|
2693
|
+
# @return [String]
|
2694
|
+
#
|
2695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataGrantsRequest AWS API Documentation
|
2696
|
+
#
|
2697
|
+
class ListDataGrantsRequest < Struct.new(
|
2698
|
+
:max_results,
|
2699
|
+
:next_token)
|
2700
|
+
SENSITIVE = []
|
2701
|
+
include Aws::Structure
|
2702
|
+
end
|
2703
|
+
|
2704
|
+
# @!attribute [rw] data_grant_summaries
|
2705
|
+
# An object that contains a list of data grant information.
|
2706
|
+
# @return [Array<Types::DataGrantSummaryEntry>]
|
2707
|
+
#
|
2708
|
+
# @!attribute [rw] next_token
|
2709
|
+
# The pagination token used to retrieve the next page of results for
|
2710
|
+
# this operation.
|
2711
|
+
# @return [String]
|
2712
|
+
#
|
2713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataGrantsResponse AWS API Documentation
|
2714
|
+
#
|
2715
|
+
class ListDataGrantsResponse < Struct.new(
|
2716
|
+
:data_grant_summaries,
|
2717
|
+
:next_token)
|
2718
|
+
SENSITIVE = []
|
2719
|
+
include Aws::Structure
|
2720
|
+
end
|
2721
|
+
|
2219
2722
|
# @!attribute [rw] data_set_id
|
2220
2723
|
# The unique identifier for a data set.
|
2221
2724
|
# @return [String]
|
@@ -2386,6 +2889,47 @@ module Aws::DataExchange
|
|
2386
2889
|
include Aws::Structure
|
2387
2890
|
end
|
2388
2891
|
|
2892
|
+
# @!attribute [rw] max_results
|
2893
|
+
# The maximum number of results to be included in the next page.
|
2894
|
+
# @return [Integer]
|
2895
|
+
#
|
2896
|
+
# @!attribute [rw] next_token
|
2897
|
+
# The pagination token used to retrieve the next page of results for
|
2898
|
+
# this operation.
|
2899
|
+
# @return [String]
|
2900
|
+
#
|
2901
|
+
# @!attribute [rw] acceptance_state
|
2902
|
+
# The acceptance state of the data grants to list.
|
2903
|
+
# @return [Array<String>]
|
2904
|
+
#
|
2905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListReceivedDataGrantsRequest AWS API Documentation
|
2906
|
+
#
|
2907
|
+
class ListReceivedDataGrantsRequest < Struct.new(
|
2908
|
+
:max_results,
|
2909
|
+
:next_token,
|
2910
|
+
:acceptance_state)
|
2911
|
+
SENSITIVE = []
|
2912
|
+
include Aws::Structure
|
2913
|
+
end
|
2914
|
+
|
2915
|
+
# @!attribute [rw] data_grant_summaries
|
2916
|
+
# An object that contains a list of received data grant information.
|
2917
|
+
# @return [Array<Types::ReceivedDataGrantSummariesEntry>]
|
2918
|
+
#
|
2919
|
+
# @!attribute [rw] next_token
|
2920
|
+
# The pagination token used to retrieve the next page of results for
|
2921
|
+
# this operation.
|
2922
|
+
# @return [String]
|
2923
|
+
#
|
2924
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListReceivedDataGrantsResponse AWS API Documentation
|
2925
|
+
#
|
2926
|
+
class ListReceivedDataGrantsResponse < Struct.new(
|
2927
|
+
:data_grant_summaries,
|
2928
|
+
:next_token)
|
2929
|
+
SENSITIVE = []
|
2930
|
+
include Aws::Structure
|
2931
|
+
end
|
2932
|
+
|
2389
2933
|
# @!attribute [rw] data_set_id
|
2390
2934
|
# The unique identifier for a data set.
|
2391
2935
|
# @return [String]
|
@@ -2488,10 +3032,79 @@ module Aws::DataExchange
|
|
2488
3032
|
# The product ID of the origin of the data set.
|
2489
3033
|
# @return [String]
|
2490
3034
|
#
|
3035
|
+
# @!attribute [rw] data_grant_id
|
3036
|
+
# The ID of the data grant.
|
3037
|
+
# @return [String]
|
3038
|
+
#
|
2491
3039
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/OriginDetails AWS API Documentation
|
2492
3040
|
#
|
2493
3041
|
class OriginDetails < Struct.new(
|
2494
|
-
:product_id
|
3042
|
+
:product_id,
|
3043
|
+
:data_grant_id)
|
3044
|
+
SENSITIVE = []
|
3045
|
+
include Aws::Structure
|
3046
|
+
end
|
3047
|
+
|
3048
|
+
# Information about a received data grant.
|
3049
|
+
#
|
3050
|
+
# @!attribute [rw] name
|
3051
|
+
# The name of the data grant.
|
3052
|
+
# @return [String]
|
3053
|
+
#
|
3054
|
+
# @!attribute [rw] sender_principal
|
3055
|
+
# The Amazon Web Services account ID of the data grant sender.
|
3056
|
+
# @return [String]
|
3057
|
+
#
|
3058
|
+
# @!attribute [rw] receiver_principal
|
3059
|
+
# The Amazon Web Services account ID of the data grant receiver.
|
3060
|
+
# @return [String]
|
3061
|
+
#
|
3062
|
+
# @!attribute [rw] acceptance_state
|
3063
|
+
# The acceptance state of the data grant.
|
3064
|
+
# @return [String]
|
3065
|
+
#
|
3066
|
+
# @!attribute [rw] accepted_at
|
3067
|
+
# The timestamp of when the data grant was accepted.
|
3068
|
+
# @return [Time]
|
3069
|
+
#
|
3070
|
+
# @!attribute [rw] ends_at
|
3071
|
+
# The timestamp of when access to the associated data set ends.
|
3072
|
+
# @return [Time]
|
3073
|
+
#
|
3074
|
+
# @!attribute [rw] data_set_id
|
3075
|
+
# The ID of the data set associated to the data grant.
|
3076
|
+
# @return [String]
|
3077
|
+
#
|
3078
|
+
# @!attribute [rw] id
|
3079
|
+
# The ID of the data grant.
|
3080
|
+
# @return [String]
|
3081
|
+
#
|
3082
|
+
# @!attribute [rw] arn
|
3083
|
+
# The Amazon Resource Name (ARN) of the data grant.
|
3084
|
+
# @return [String]
|
3085
|
+
#
|
3086
|
+
# @!attribute [rw] created_at
|
3087
|
+
# The timestamp of when the data grant was created.
|
3088
|
+
# @return [Time]
|
3089
|
+
#
|
3090
|
+
# @!attribute [rw] updated_at
|
3091
|
+
# The timestamp of when the data grant was last updated.
|
3092
|
+
# @return [Time]
|
3093
|
+
#
|
3094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ReceivedDataGrantSummariesEntry AWS API Documentation
|
3095
|
+
#
|
3096
|
+
class ReceivedDataGrantSummariesEntry < Struct.new(
|
3097
|
+
:name,
|
3098
|
+
:sender_principal,
|
3099
|
+
:receiver_principal,
|
3100
|
+
:acceptance_state,
|
3101
|
+
:accepted_at,
|
3102
|
+
:ends_at,
|
3103
|
+
:data_set_id,
|
3104
|
+
:id,
|
3105
|
+
:arn,
|
3106
|
+
:created_at,
|
3107
|
+
:updated_at)
|
2495
3108
|
SENSITIVE = []
|
2496
3109
|
include Aws::Structure
|
2497
3110
|
end
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:dataexchange)
|
15
|
+
|
14
16
|
# This module provides support for AWS Data Exchange. This module is available in the
|
15
17
|
# `aws-sdk-dataexchange` gem.
|
16
18
|
#
|
@@ -21,7 +23,7 @@ require 'aws-sigv4'
|
|
21
23
|
# structure.
|
22
24
|
#
|
23
25
|
# data_exchange = Aws::DataExchange::Client.new
|
24
|
-
# resp = data_exchange.
|
26
|
+
# resp = data_exchange.accept_data_grant(params)
|
25
27
|
#
|
26
28
|
# See {Client} for more information.
|
27
29
|
#
|
@@ -53,7 +55,7 @@ module Aws::DataExchange
|
|
53
55
|
autoload :EndpointProvider, 'aws-sdk-dataexchange/endpoint_provider'
|
54
56
|
autoload :Endpoints, 'aws-sdk-dataexchange/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.59.0'
|
57
59
|
|
58
60
|
end
|
59
61
|
|