aws-sdk-dataexchange 1.25.0 → 1.26.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dataexchange/client.rb +77 -1
- data/lib/aws-sdk-dataexchange/client_api.rb +48 -0
- data/lib/aws-sdk-dataexchange/types.rb +160 -7
- data/lib/aws-sdk-dataexchange.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7f0b87f7e100d517f1ffa840be2216d5b662724f64c139d22513e31f8a7dd0
|
4
|
+
data.tar.gz: 3f3c6a617491adb973ee7e61731b7064da615eb9bd08958c332f2583447bcf77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f6acb7b4f201a2cdb8d415a847532ff9815e434ccfe89e7863461a5718ad54375872826152371b708858fce61baa6a9b59ba34cbc6aa1b13f92ea7c38fc7007
|
7
|
+
data.tar.gz: 2adbe1e5ca0cae40ceaf8fd6145d64c8f55380d54563eb8349eb5ac73f21c957b51e0b10198f138fb59609f7c6d9002e0efb731a9479f3210ff144b410b199da
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.26.0 (2022-03-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This feature enables data providers to use the RevokeRevision operation to revoke subscriber access to a given revision. Subscribers are unable to interact with assets within a revoked revision.
|
8
|
+
|
4
9
|
1.25.0 (2022-02-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.26.0
|
@@ -699,6 +699,9 @@ module Aws::DataExchange
|
|
699
699
|
# * {Types::CreateRevisionResponse#source_id #source_id} => String
|
700
700
|
# * {Types::CreateRevisionResponse#tags #tags} => Hash<String,String>
|
701
701
|
# * {Types::CreateRevisionResponse#updated_at #updated_at} => Time
|
702
|
+
# * {Types::CreateRevisionResponse#revocation_comment #revocation_comment} => String
|
703
|
+
# * {Types::CreateRevisionResponse#revoked #revoked} => Boolean
|
704
|
+
# * {Types::CreateRevisionResponse#revoked_at #revoked_at} => Time
|
702
705
|
#
|
703
706
|
# @example Request syntax with placeholder values
|
704
707
|
#
|
@@ -722,6 +725,9 @@ module Aws::DataExchange
|
|
722
725
|
# resp.tags #=> Hash
|
723
726
|
# resp.tags["__string"] #=> String
|
724
727
|
# resp.updated_at #=> Time
|
728
|
+
# resp.revocation_comment #=> String
|
729
|
+
# resp.revoked #=> Boolean
|
730
|
+
# resp.revoked_at #=> Time
|
725
731
|
#
|
726
732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevision AWS API Documentation
|
727
733
|
#
|
@@ -1088,6 +1094,9 @@ module Aws::DataExchange
|
|
1088
1094
|
# * {Types::GetRevisionResponse#source_id #source_id} => String
|
1089
1095
|
# * {Types::GetRevisionResponse#tags #tags} => Hash<String,String>
|
1090
1096
|
# * {Types::GetRevisionResponse#updated_at #updated_at} => Time
|
1097
|
+
# * {Types::GetRevisionResponse#revocation_comment #revocation_comment} => String
|
1098
|
+
# * {Types::GetRevisionResponse#revoked #revoked} => Boolean
|
1099
|
+
# * {Types::GetRevisionResponse#revoked_at #revoked_at} => Time
|
1091
1100
|
#
|
1092
1101
|
# @example Request syntax with placeholder values
|
1093
1102
|
#
|
@@ -1108,6 +1117,9 @@ module Aws::DataExchange
|
|
1108
1117
|
# resp.tags #=> Hash
|
1109
1118
|
# resp.tags["__string"] #=> String
|
1110
1119
|
# resp.updated_at #=> Time
|
1120
|
+
# resp.revocation_comment #=> String
|
1121
|
+
# resp.revoked #=> Boolean
|
1122
|
+
# resp.revoked_at #=> Time
|
1111
1123
|
#
|
1112
1124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevision AWS API Documentation
|
1113
1125
|
#
|
@@ -1154,6 +1166,9 @@ module Aws::DataExchange
|
|
1154
1166
|
# resp.revisions[0].id #=> String
|
1155
1167
|
# resp.revisions[0].source_id #=> String
|
1156
1168
|
# resp.revisions[0].updated_at #=> Time
|
1169
|
+
# resp.revisions[0].revocation_comment #=> String
|
1170
|
+
# resp.revisions[0].revoked #=> Boolean
|
1171
|
+
# resp.revisions[0].revoked_at #=> Time
|
1157
1172
|
#
|
1158
1173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisions AWS API Documentation
|
1159
1174
|
#
|
@@ -1454,6 +1469,61 @@ module Aws::DataExchange
|
|
1454
1469
|
req.send_request(options)
|
1455
1470
|
end
|
1456
1471
|
|
1472
|
+
# This operation revokes subscribers' access to a revision.
|
1473
|
+
#
|
1474
|
+
# @option params [required, String] :data_set_id
|
1475
|
+
#
|
1476
|
+
# @option params [required, String] :revision_id
|
1477
|
+
#
|
1478
|
+
# @option params [required, String] :revocation_comment
|
1479
|
+
# A required comment to inform subscribers of the reason their access to
|
1480
|
+
# the revision was revoked.
|
1481
|
+
#
|
1482
|
+
# @return [Types::RevokeRevisionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1483
|
+
#
|
1484
|
+
# * {Types::RevokeRevisionResponse#arn #arn} => String
|
1485
|
+
# * {Types::RevokeRevisionResponse#comment #comment} => String
|
1486
|
+
# * {Types::RevokeRevisionResponse#created_at #created_at} => Time
|
1487
|
+
# * {Types::RevokeRevisionResponse#data_set_id #data_set_id} => String
|
1488
|
+
# * {Types::RevokeRevisionResponse#finalized #finalized} => Boolean
|
1489
|
+
# * {Types::RevokeRevisionResponse#id #id} => String
|
1490
|
+
# * {Types::RevokeRevisionResponse#revocation_comment #revocation_comment} => String
|
1491
|
+
# * {Types::RevokeRevisionResponse#revoked #revoked} => Boolean
|
1492
|
+
# * {Types::RevokeRevisionResponse#revoked_at #revoked_at} => Time
|
1493
|
+
# * {Types::RevokeRevisionResponse#source_id #source_id} => String
|
1494
|
+
# * {Types::RevokeRevisionResponse#updated_at #updated_at} => Time
|
1495
|
+
#
|
1496
|
+
# @example Request syntax with placeholder values
|
1497
|
+
#
|
1498
|
+
# resp = client.revoke_revision({
|
1499
|
+
# data_set_id: "__string", # required
|
1500
|
+
# revision_id: "__string", # required
|
1501
|
+
# revocation_comment: "__stringMin10Max512", # required
|
1502
|
+
# })
|
1503
|
+
#
|
1504
|
+
# @example Response structure
|
1505
|
+
#
|
1506
|
+
# resp.arn #=> String
|
1507
|
+
# resp.comment #=> String
|
1508
|
+
# resp.created_at #=> Time
|
1509
|
+
# resp.data_set_id #=> String
|
1510
|
+
# resp.finalized #=> Boolean
|
1511
|
+
# resp.id #=> String
|
1512
|
+
# resp.revocation_comment #=> String
|
1513
|
+
# resp.revoked #=> Boolean
|
1514
|
+
# resp.revoked_at #=> Time
|
1515
|
+
# resp.source_id #=> String
|
1516
|
+
# resp.updated_at #=> Time
|
1517
|
+
#
|
1518
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevokeRevision AWS API Documentation
|
1519
|
+
#
|
1520
|
+
# @overload revoke_revision(params = {})
|
1521
|
+
# @param [Hash] params ({})
|
1522
|
+
def revoke_revision(params = {}, options = {})
|
1523
|
+
req = build_request(:revoke_revision, params)
|
1524
|
+
req.send_request(options)
|
1525
|
+
end
|
1526
|
+
|
1457
1527
|
# This operation invokes an API Gateway API asset. The request is
|
1458
1528
|
# proxied to the provider’s API Gateway API.
|
1459
1529
|
#
|
@@ -1783,6 +1853,9 @@ module Aws::DataExchange
|
|
1783
1853
|
# * {Types::UpdateRevisionResponse#id #id} => String
|
1784
1854
|
# * {Types::UpdateRevisionResponse#source_id #source_id} => String
|
1785
1855
|
# * {Types::UpdateRevisionResponse#updated_at #updated_at} => Time
|
1856
|
+
# * {Types::UpdateRevisionResponse#revocation_comment #revocation_comment} => String
|
1857
|
+
# * {Types::UpdateRevisionResponse#revoked #revoked} => Boolean
|
1858
|
+
# * {Types::UpdateRevisionResponse#revoked_at #revoked_at} => Time
|
1786
1859
|
#
|
1787
1860
|
# @example Request syntax with placeholder values
|
1788
1861
|
#
|
@@ -1803,6 +1876,9 @@ module Aws::DataExchange
|
|
1803
1876
|
# resp.id #=> String
|
1804
1877
|
# resp.source_id #=> String
|
1805
1878
|
# resp.updated_at #=> Time
|
1879
|
+
# resp.revocation_comment #=> String
|
1880
|
+
# resp.revoked #=> Boolean
|
1881
|
+
# resp.revoked_at #=> Time
|
1806
1882
|
#
|
1807
1883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevision AWS API Documentation
|
1808
1884
|
#
|
@@ -1826,7 +1902,7 @@ module Aws::DataExchange
|
|
1826
1902
|
params: params,
|
1827
1903
|
config: config)
|
1828
1904
|
context[:gem_name] = 'aws-sdk-dataexchange'
|
1829
|
-
context[:gem_version] = '1.
|
1905
|
+
context[:gem_version] = '1.26.0'
|
1830
1906
|
Seahorse::Client::Request.new(handlers, context)
|
1831
1907
|
end
|
1832
1908
|
|
@@ -119,6 +119,8 @@ module Aws::DataExchange
|
|
119
119
|
RevisionDestinationEntry = Shapes::StructureShape.new(name: 'RevisionDestinationEntry')
|
120
120
|
RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
|
121
121
|
RevisionPublished = Shapes::StructureShape.new(name: 'RevisionPublished')
|
122
|
+
RevokeRevisionRequest = Shapes::StructureShape.new(name: 'RevokeRevisionRequest')
|
123
|
+
RevokeRevisionResponse = Shapes::StructureShape.new(name: 'RevokeRevisionResponse')
|
122
124
|
S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
|
123
125
|
SendApiAssetRequest = Shapes::StructureShape.new(name: 'SendApiAssetRequest')
|
124
126
|
SendApiAssetResponse = Shapes::StructureShape.new(name: 'SendApiAssetResponse')
|
@@ -146,6 +148,7 @@ module Aws::DataExchange
|
|
146
148
|
__doubleMin0 = Shapes::FloatShape.new(name: '__doubleMin0')
|
147
149
|
__string = Shapes::StringShape.new(name: '__string')
|
148
150
|
__stringMin0Max16384 = Shapes::StringShape.new(name: '__stringMin0Max16384')
|
151
|
+
__stringMin10Max512 = Shapes::StringShape.new(name: '__stringMin10Max512')
|
149
152
|
__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = Shapes::StringShape.new(name: '__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093')
|
150
153
|
|
151
154
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -266,6 +269,9 @@ module Aws::DataExchange
|
|
266
269
|
CreateRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
267
270
|
CreateRevisionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
268
271
|
CreateRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
272
|
+
CreateRevisionResponse.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
|
273
|
+
CreateRevisionResponse.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
|
274
|
+
CreateRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
|
269
275
|
CreateRevisionResponse.struct_class = Types::CreateRevisionResponse
|
270
276
|
|
271
277
|
DataSetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
|
@@ -419,6 +425,9 @@ module Aws::DataExchange
|
|
419
425
|
GetRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
420
426
|
GetRevisionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
|
421
427
|
GetRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
428
|
+
GetRevisionResponse.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
|
429
|
+
GetRevisionResponse.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
|
430
|
+
GetRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
|
422
431
|
GetRevisionResponse.struct_class = Types::GetRevisionResponse
|
423
432
|
|
424
433
|
ImportAssetFromApiGatewayApiRequestDetails.add_member(:api_description, Shapes::ShapeRef.new(shape: ApiDescription, location_name: "ApiDescription"))
|
@@ -627,11 +636,32 @@ module Aws::DataExchange
|
|
627
636
|
RevisionEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
628
637
|
RevisionEntry.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
629
638
|
RevisionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
|
639
|
+
RevisionEntry.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
|
640
|
+
RevisionEntry.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
|
641
|
+
RevisionEntry.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
|
630
642
|
RevisionEntry.struct_class = Types::RevisionEntry
|
631
643
|
|
632
644
|
RevisionPublished.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
|
633
645
|
RevisionPublished.struct_class = Types::RevisionPublished
|
634
646
|
|
647
|
+
RevokeRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
|
648
|
+
RevokeRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
|
649
|
+
RevokeRevisionRequest.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, required: true, location_name: "RevocationComment"))
|
650
|
+
RevokeRevisionRequest.struct_class = Types::RevokeRevisionRequest
|
651
|
+
|
652
|
+
RevokeRevisionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
|
653
|
+
RevokeRevisionResponse.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
|
654
|
+
RevokeRevisionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
|
655
|
+
RevokeRevisionResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
|
656
|
+
RevokeRevisionResponse.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
|
657
|
+
RevokeRevisionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
658
|
+
RevokeRevisionResponse.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
|
659
|
+
RevokeRevisionResponse.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
|
660
|
+
RevokeRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
|
661
|
+
RevokeRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
662
|
+
RevokeRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
663
|
+
RevokeRevisionResponse.struct_class = Types::RevokeRevisionResponse
|
664
|
+
|
635
665
|
S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
|
636
666
|
S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
|
637
667
|
|
@@ -735,6 +765,9 @@ module Aws::DataExchange
|
|
735
765
|
UpdateRevisionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
736
766
|
UpdateRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
|
737
767
|
UpdateRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
|
768
|
+
UpdateRevisionResponse.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
|
769
|
+
UpdateRevisionResponse.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
|
770
|
+
UpdateRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
|
738
771
|
UpdateRevisionResponse.struct_class = Types::UpdateRevisionResponse
|
739
772
|
|
740
773
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
|
@@ -809,6 +842,7 @@ module Aws::DataExchange
|
|
809
842
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
810
843
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
811
844
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
812
846
|
end)
|
813
847
|
|
814
848
|
api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1036,6 +1070,20 @@ module Aws::DataExchange
|
|
1036
1070
|
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
1037
1071
|
end)
|
1038
1072
|
|
1073
|
+
api.add_operation(:revoke_revision, Seahorse::Model::Operation.new.tap do |o|
|
1074
|
+
o.name = "RevokeRevision"
|
1075
|
+
o.http_method = "POST"
|
1076
|
+
o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/revoke"
|
1077
|
+
o.input = Shapes::ShapeRef.new(shape: RevokeRevisionRequest)
|
1078
|
+
o.output = Shapes::ShapeRef.new(shape: RevokeRevisionResponse)
|
1079
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1080
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1081
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1082
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1083
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1085
|
+
end)
|
1086
|
+
|
1039
1087
|
api.add_operation(:send_api_asset, Seahorse::Model::Operation.new.tap do |o|
|
1040
1088
|
o.name = "SendApiAsset"
|
1041
1089
|
o.http_method = "POST"
|
@@ -169,9 +169,9 @@ module Aws::DataExchange
|
|
169
169
|
# means of fulfilling data (Amazon Redshift datashare or Amazon API
|
170
170
|
# Gateway API). The asset can be a structured data file, an image file,
|
171
171
|
# or some other data file that can be stored as an S3 object, an Amazon
|
172
|
-
# API Gateway API, or an Amazon Redshift datashare
|
173
|
-
#
|
174
|
-
#
|
172
|
+
# API Gateway API, or an Amazon Redshift datashare. When you create an
|
173
|
+
# import job for your files, API Gateway APIs, or Amazon Redshift
|
174
|
+
# datashares, you create an asset in AWS Data Exchange.
|
175
175
|
#
|
176
176
|
# @!attribute [rw] arn
|
177
177
|
# The ARN for the asset.
|
@@ -799,6 +799,17 @@ module Aws::DataExchange
|
|
799
799
|
# format.
|
800
800
|
# @return [Time]
|
801
801
|
#
|
802
|
+
# @!attribute [rw] revocation_comment
|
803
|
+
# @return [String]
|
804
|
+
#
|
805
|
+
# @!attribute [rw] revoked
|
806
|
+
# @return [Boolean]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] revoked_at
|
809
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
810
|
+
# format.
|
811
|
+
# @return [Time]
|
812
|
+
#
|
802
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevisionResponse AWS API Documentation
|
803
814
|
#
|
804
815
|
class CreateRevisionResponse < Struct.new(
|
@@ -810,7 +821,10 @@ module Aws::DataExchange
|
|
810
821
|
:id,
|
811
822
|
:source_id,
|
812
823
|
:tags,
|
813
|
-
:updated_at
|
824
|
+
:updated_at,
|
825
|
+
:revocation_comment,
|
826
|
+
:revoked,
|
827
|
+
:revoked_at)
|
814
828
|
SENSITIVE = []
|
815
829
|
include Aws::Structure
|
816
830
|
end
|
@@ -1670,6 +1684,17 @@ module Aws::DataExchange
|
|
1670
1684
|
# format.
|
1671
1685
|
# @return [Time]
|
1672
1686
|
#
|
1687
|
+
# @!attribute [rw] revocation_comment
|
1688
|
+
# @return [String]
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] revoked
|
1691
|
+
# @return [Boolean]
|
1692
|
+
#
|
1693
|
+
# @!attribute [rw] revoked_at
|
1694
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
1695
|
+
# format.
|
1696
|
+
# @return [Time]
|
1697
|
+
#
|
1673
1698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevisionResponse AWS API Documentation
|
1674
1699
|
#
|
1675
1700
|
class GetRevisionResponse < Struct.new(
|
@@ -1681,7 +1706,10 @@ module Aws::DataExchange
|
|
1681
1706
|
:id,
|
1682
1707
|
:source_id,
|
1683
1708
|
:tags,
|
1684
|
-
:updated_at
|
1709
|
+
:updated_at,
|
1710
|
+
:revocation_comment,
|
1711
|
+
:revoked,
|
1712
|
+
:revoked_at)
|
1685
1713
|
SENSITIVE = []
|
1686
1714
|
include Aws::Structure
|
1687
1715
|
end
|
@@ -2752,6 +2780,20 @@ module Aws::DataExchange
|
|
2752
2780
|
# format.
|
2753
2781
|
# @return [Time]
|
2754
2782
|
#
|
2783
|
+
# @!attribute [rw] revocation_comment
|
2784
|
+
# A required comment to inform subscribers of the reason their access
|
2785
|
+
# to the revision was revoked.
|
2786
|
+
# @return [String]
|
2787
|
+
#
|
2788
|
+
# @!attribute [rw] revoked
|
2789
|
+
# A status indicating that subscribers' access to the revision was
|
2790
|
+
# revoked.
|
2791
|
+
# @return [Boolean]
|
2792
|
+
#
|
2793
|
+
# @!attribute [rw] revoked_at
|
2794
|
+
# The date and time that the revision was revoked, in ISO 8601 format.
|
2795
|
+
# @return [Time]
|
2796
|
+
#
|
2755
2797
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevisionEntry AWS API Documentation
|
2756
2798
|
#
|
2757
2799
|
class RevisionEntry < Struct.new(
|
@@ -2762,7 +2804,10 @@ module Aws::DataExchange
|
|
2762
2804
|
:finalized,
|
2763
2805
|
:id,
|
2764
2806
|
:source_id,
|
2765
|
-
:updated_at
|
2807
|
+
:updated_at,
|
2808
|
+
:revocation_comment,
|
2809
|
+
:revoked,
|
2810
|
+
:revoked_at)
|
2766
2811
|
SENSITIVE = []
|
2767
2812
|
include Aws::Structure
|
2768
2813
|
end
|
@@ -2788,6 +2833,100 @@ module Aws::DataExchange
|
|
2788
2833
|
include Aws::Structure
|
2789
2834
|
end
|
2790
2835
|
|
2836
|
+
# The request sent to revoke the revision.
|
2837
|
+
#
|
2838
|
+
# @note When making an API call, you may pass RevokeRevisionRequest
|
2839
|
+
# data as a hash:
|
2840
|
+
#
|
2841
|
+
# {
|
2842
|
+
# data_set_id: "__string", # required
|
2843
|
+
# revision_id: "__string", # required
|
2844
|
+
# revocation_comment: "__stringMin10Max512", # required
|
2845
|
+
# }
|
2846
|
+
#
|
2847
|
+
# @!attribute [rw] data_set_id
|
2848
|
+
# @return [String]
|
2849
|
+
#
|
2850
|
+
# @!attribute [rw] revision_id
|
2851
|
+
# @return [String]
|
2852
|
+
#
|
2853
|
+
# @!attribute [rw] revocation_comment
|
2854
|
+
# A required comment to inform subscribers of the reason their access
|
2855
|
+
# to the revision was revoked.
|
2856
|
+
# @return [String]
|
2857
|
+
#
|
2858
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevokeRevisionRequest AWS API Documentation
|
2859
|
+
#
|
2860
|
+
class RevokeRevisionRequest < Struct.new(
|
2861
|
+
:data_set_id,
|
2862
|
+
:revision_id,
|
2863
|
+
:revocation_comment)
|
2864
|
+
SENSITIVE = []
|
2865
|
+
include Aws::Structure
|
2866
|
+
end
|
2867
|
+
|
2868
|
+
# @!attribute [rw] arn
|
2869
|
+
# An Amazon Resource Name (ARN) that uniquely identifies an AWS
|
2870
|
+
# resource.
|
2871
|
+
# @return [String]
|
2872
|
+
#
|
2873
|
+
# @!attribute [rw] comment
|
2874
|
+
# @return [String]
|
2875
|
+
#
|
2876
|
+
# @!attribute [rw] created_at
|
2877
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
2878
|
+
# format.
|
2879
|
+
# @return [Time]
|
2880
|
+
#
|
2881
|
+
# @!attribute [rw] data_set_id
|
2882
|
+
# A unique identifier.
|
2883
|
+
# @return [String]
|
2884
|
+
#
|
2885
|
+
# @!attribute [rw] finalized
|
2886
|
+
# @return [Boolean]
|
2887
|
+
#
|
2888
|
+
# @!attribute [rw] id
|
2889
|
+
# A unique identifier.
|
2890
|
+
# @return [String]
|
2891
|
+
#
|
2892
|
+
# @!attribute [rw] revocation_comment
|
2893
|
+
# @return [String]
|
2894
|
+
#
|
2895
|
+
# @!attribute [rw] revoked
|
2896
|
+
# @return [Boolean]
|
2897
|
+
#
|
2898
|
+
# @!attribute [rw] revoked_at
|
2899
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
2900
|
+
# format.
|
2901
|
+
# @return [Time]
|
2902
|
+
#
|
2903
|
+
# @!attribute [rw] source_id
|
2904
|
+
# A unique identifier.
|
2905
|
+
# @return [String]
|
2906
|
+
#
|
2907
|
+
# @!attribute [rw] updated_at
|
2908
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
2909
|
+
# format.
|
2910
|
+
# @return [Time]
|
2911
|
+
#
|
2912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevokeRevisionResponse AWS API Documentation
|
2913
|
+
#
|
2914
|
+
class RevokeRevisionResponse < Struct.new(
|
2915
|
+
:arn,
|
2916
|
+
:comment,
|
2917
|
+
:created_at,
|
2918
|
+
:data_set_id,
|
2919
|
+
:finalized,
|
2920
|
+
:id,
|
2921
|
+
:revocation_comment,
|
2922
|
+
:revoked,
|
2923
|
+
:revoked_at,
|
2924
|
+
:source_id,
|
2925
|
+
:updated_at)
|
2926
|
+
SENSITIVE = []
|
2927
|
+
include Aws::Structure
|
2928
|
+
end
|
2929
|
+
|
2791
2930
|
# The S3 object that is the asset.
|
2792
2931
|
#
|
2793
2932
|
# @!attribute [rw] size
|
@@ -3335,6 +3474,17 @@ module Aws::DataExchange
|
|
3335
3474
|
# format.
|
3336
3475
|
# @return [Time]
|
3337
3476
|
#
|
3477
|
+
# @!attribute [rw] revocation_comment
|
3478
|
+
# @return [String]
|
3479
|
+
#
|
3480
|
+
# @!attribute [rw] revoked
|
3481
|
+
# @return [Boolean]
|
3482
|
+
#
|
3483
|
+
# @!attribute [rw] revoked_at
|
3484
|
+
# Dates and times in AWS Data Exchange are recorded in ISO 8601
|
3485
|
+
# format.
|
3486
|
+
# @return [Time]
|
3487
|
+
#
|
3338
3488
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevisionResponse AWS API Documentation
|
3339
3489
|
#
|
3340
3490
|
class UpdateRevisionResponse < Struct.new(
|
@@ -3345,7 +3495,10 @@ module Aws::DataExchange
|
|
3345
3495
|
:finalized,
|
3346
3496
|
:id,
|
3347
3497
|
:source_id,
|
3348
|
-
:updated_at
|
3498
|
+
:updated_at,
|
3499
|
+
:revocation_comment,
|
3500
|
+
:revoked,
|
3501
|
+
:revoked_at)
|
3349
3502
|
SENSITIVE = []
|
3350
3503
|
include Aws::Structure
|
3351
3504
|
end
|
data/lib/aws-sdk-dataexchange.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dataexchange
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|