aws-sdk-dataexchange 1.24.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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"))
@@ -573,7 +582,7 @@ module Aws::DataExchange
573
582
  ListRevisionAssetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
574
583
  ListRevisionAssetsResponse.struct_class = Types::ListRevisionAssetsResponse
575
584
 
576
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
585
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
577
586
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
578
587
 
579
588
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
@@ -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(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
659
+ RevokeRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
660
+ RevokeRevisionResponse.add_member(:revocation_comment, Shapes::ShapeRef.new(shape: __stringMin10Max512, location_name: "RevocationComment"))
661
+ RevokeRevisionResponse.add_member(:revoked, Shapes::ShapeRef.new(shape: __boolean, location_name: "Revoked"))
662
+ RevokeRevisionResponse.add_member(:revoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RevokedAt"))
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
 
@@ -663,14 +693,14 @@ module Aws::DataExchange
663
693
 
664
694
  StartJobResponse.struct_class = Types::StartJobResponse
665
695
 
666
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
696
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
667
697
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
668
698
  TagResourceRequest.struct_class = Types::TagResourceRequest
669
699
 
670
700
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
671
701
  ThrottlingException.struct_class = Types::ThrottlingException
672
702
 
673
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
703
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
674
704
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location: "querystring", location_name: "tagKeys"))
675
705
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
676
706
 
@@ -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"))
@@ -767,9 +800,9 @@ module Aws::DataExchange
767
800
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
768
801
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
769
802
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
770
804
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
771
805
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
772
- o.errors << Shapes::ShapeRef.new(shape: ConflictException)
773
806
  end)
774
807
 
775
808
  api.add_operation(:create_data_set, Seahorse::Model::Operation.new.tap do |o|
@@ -778,11 +811,11 @@ module Aws::DataExchange
778
811
  o.http_request_uri = "/v1/data-sets"
779
812
  o.input = Shapes::ShapeRef.new(shape: CreateDataSetRequest)
780
813
  o.output = Shapes::ShapeRef.new(shape: CreateDataSetResponse)
814
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
781
815
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
816
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
782
817
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
783
818
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
784
- o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
785
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
786
819
  end)
787
820
 
788
821
  api.add_operation(:create_event_action, Seahorse::Model::Operation.new.tap do |o|
@@ -791,11 +824,11 @@ module Aws::DataExchange
791
824
  o.http_request_uri = "/v1/event-actions"
792
825
  o.input = Shapes::ShapeRef.new(shape: CreateEventActionRequest)
793
826
  o.output = Shapes::ShapeRef.new(shape: CreateEventActionResponse)
827
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
794
828
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
829
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
795
830
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
796
831
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
797
- o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
798
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
799
832
  end)
800
833
 
801
834
  api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
@@ -806,9 +839,10 @@ module Aws::DataExchange
806
839
  o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
807
840
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
808
841
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
842
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
843
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
809
844
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
810
845
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
811
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
812
846
  end)
813
847
 
814
848
  api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
@@ -819,9 +853,9 @@ module Aws::DataExchange
819
853
  o.output = Shapes::ShapeRef.new(shape: CreateRevisionResponse)
820
854
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
821
855
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
856
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
822
857
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
823
858
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
824
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
825
859
  end)
826
860
 
827
861
  api.add_operation(:delete_asset, Seahorse::Model::Operation.new.tap do |o|
@@ -830,12 +864,12 @@ module Aws::DataExchange
830
864
  o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}"
831
865
  o.input = Shapes::ShapeRef.new(shape: DeleteAssetRequest)
832
866
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
833
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
834
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
835
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
836
867
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
837
868
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
838
870
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
872
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
839
873
  end)
840
874
 
841
875
  api.add_operation(:delete_data_set, Seahorse::Model::Operation.new.tap do |o|
@@ -844,12 +878,12 @@ module Aws::DataExchange
844
878
  o.http_request_uri = "/v1/data-sets/{DataSetId}"
845
879
  o.input = Shapes::ShapeRef.new(shape: DeleteDataSetRequest)
846
880
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
847
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
848
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
849
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
850
881
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
851
882
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
883
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
852
884
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
886
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
853
887
  end)
854
888
 
855
889
  api.add_operation(:delete_event_action, Seahorse::Model::Operation.new.tap do |o|
@@ -870,12 +904,12 @@ module Aws::DataExchange
870
904
  o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}"
871
905
  o.input = Shapes::ShapeRef.new(shape: DeleteRevisionRequest)
872
906
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
873
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
874
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
875
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
876
907
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
877
908
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
909
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
878
910
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
879
913
  end)
880
914
 
881
915
  api.add_operation(:get_asset, Seahorse::Model::Operation.new.tap do |o|
@@ -1031,11 +1065,25 @@ module Aws::DataExchange
1031
1065
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1032
1066
  o.name = "ListTagsForResource"
1033
1067
  o.http_method = "GET"
1034
- o.http_request_uri = "/tags/{resource-arn}"
1068
+ o.http_request_uri = "/tags/{ResourceArn}"
1035
1069
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
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: ResourceNotFoundException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
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"
@@ -1047,9 +1095,9 @@ module Aws::DataExchange
1047
1095
  o.output = Shapes::ShapeRef.new(shape: SendApiAssetResponse)
1048
1096
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1049
1097
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1050
1099
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1051
1100
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1052
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1053
1101
  end)
1054
1102
 
1055
1103
  api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
@@ -1058,18 +1106,18 @@ module Aws::DataExchange
1058
1106
  o.http_request_uri = "/v1/jobs/{JobId}"
1059
1107
  o.input = Shapes::ShapeRef.new(shape: StartJobRequest)
1060
1108
  o.output = Shapes::ShapeRef.new(shape: StartJobResponse)
1061
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1062
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1063
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1064
1109
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1065
1110
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1066
1112
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1067
1115
  end)
1068
1116
 
1069
1117
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1070
1118
  o.name = "TagResource"
1071
1119
  o.http_method = "POST"
1072
- o.http_request_uri = "/tags/{resource-arn}"
1120
+ o.http_request_uri = "/tags/{ResourceArn}"
1073
1121
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1074
1122
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1075
1123
  end)
@@ -1077,7 +1125,7 @@ module Aws::DataExchange
1077
1125
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1078
1126
  o.name = "UntagResource"
1079
1127
  o.http_method = "DELETE"
1080
- o.http_request_uri = "/tags/{resource-arn}"
1128
+ o.http_request_uri = "/tags/{ResourceArn}"
1081
1129
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1082
1130
  o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1083
1131
  end)
@@ -1088,12 +1136,12 @@ module Aws::DataExchange
1088
1136
  o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}"
1089
1137
  o.input = Shapes::ShapeRef.new(shape: UpdateAssetRequest)
1090
1138
  o.output = Shapes::ShapeRef.new(shape: UpdateAssetResponse)
1091
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1092
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1093
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1094
1139
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1095
1140
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1096
1142
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1097
1145
  end)
1098
1146
 
1099
1147
  api.add_operation(:update_data_set, Seahorse::Model::Operation.new.tap do |o|
@@ -1104,9 +1152,9 @@ module Aws::DataExchange
1104
1152
  o.output = Shapes::ShapeRef.new(shape: UpdateDataSetResponse)
1105
1153
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1106
1154
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1107
1156
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1108
1157
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1109
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1110
1158
  end)
1111
1159
 
1112
1160
  api.add_operation(:update_event_action, Seahorse::Model::Operation.new.tap do |o|
@@ -1117,9 +1165,9 @@ module Aws::DataExchange
1117
1165
  o.output = Shapes::ShapeRef.new(shape: UpdateEventActionResponse)
1118
1166
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1119
1167
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1120
1169
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1121
1170
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1122
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1123
1171
  end)
1124
1172
 
1125
1173
  api.add_operation(:update_revision, Seahorse::Model::Operation.new.tap do |o|
@@ -1128,12 +1176,12 @@ module Aws::DataExchange
1128
1176
  o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}"
1129
1177
  o.input = Shapes::ShapeRef.new(shape: UpdateRevisionRequest)
1130
1178
  o.output = Shapes::ShapeRef.new(shape: UpdateRevisionResponse)
1131
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1132
- o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1133
- o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1134
1179
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1135
1180
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1136
1182
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1183
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1137
1185
  end)
1138
1186
  end
1139
1187