aws-sdk-dataexchange 1.0.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.
@@ -0,0 +1,860 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::DataExchange
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ Arn = Shapes::StringShape.new(name: 'Arn')
16
+ AssetDestinationEntry = Shapes::StructureShape.new(name: 'AssetDestinationEntry')
17
+ AssetDetails = Shapes::StructureShape.new(name: 'AssetDetails')
18
+ AssetEntry = Shapes::StructureShape.new(name: 'AssetEntry')
19
+ AssetName = Shapes::StringShape.new(name: 'AssetName')
20
+ AssetSourceEntry = Shapes::StructureShape.new(name: 'AssetSourceEntry')
21
+ AssetType = Shapes::StringShape.new(name: 'AssetType')
22
+ CancelJobRequest = Shapes::StructureShape.new(name: 'CancelJobRequest')
23
+ Code = Shapes::StringShape.new(name: 'Code')
24
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
25
+ CreateDataSetRequest = Shapes::StructureShape.new(name: 'CreateDataSetRequest')
26
+ CreateDataSetResponse = Shapes::StructureShape.new(name: 'CreateDataSetResponse')
27
+ CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
28
+ CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
29
+ CreateRevisionRequest = Shapes::StructureShape.new(name: 'CreateRevisionRequest')
30
+ CreateRevisionResponse = Shapes::StructureShape.new(name: 'CreateRevisionResponse')
31
+ DataSetEntry = Shapes::StructureShape.new(name: 'DataSetEntry')
32
+ DeleteAssetRequest = Shapes::StructureShape.new(name: 'DeleteAssetRequest')
33
+ DeleteDataSetRequest = Shapes::StructureShape.new(name: 'DeleteDataSetRequest')
34
+ DeleteRevisionRequest = Shapes::StructureShape.new(name: 'DeleteRevisionRequest')
35
+ Description = Shapes::StringShape.new(name: 'Description')
36
+ Details = Shapes::StructureShape.new(name: 'Details')
37
+ ExportAssetToSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlRequestDetails')
38
+ ExportAssetToSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetToSignedUrlResponseDetails')
39
+ ExportAssetsToS3RequestDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3RequestDetails')
40
+ ExportAssetsToS3ResponseDetails = Shapes::StructureShape.new(name: 'ExportAssetsToS3ResponseDetails')
41
+ GetAssetRequest = Shapes::StructureShape.new(name: 'GetAssetRequest')
42
+ GetAssetResponse = Shapes::StructureShape.new(name: 'GetAssetResponse')
43
+ GetDataSetRequest = Shapes::StructureShape.new(name: 'GetDataSetRequest')
44
+ GetDataSetResponse = Shapes::StructureShape.new(name: 'GetDataSetResponse')
45
+ GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
46
+ GetJobResponse = Shapes::StructureShape.new(name: 'GetJobResponse')
47
+ GetRevisionRequest = Shapes::StructureShape.new(name: 'GetRevisionRequest')
48
+ GetRevisionResponse = Shapes::StructureShape.new(name: 'GetRevisionResponse')
49
+ Id = Shapes::StringShape.new(name: 'Id')
50
+ ImportAssetFromSignedUrlJobErrorDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlJobErrorDetails')
51
+ ImportAssetFromSignedUrlRequestDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlRequestDetails')
52
+ ImportAssetFromSignedUrlResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetFromSignedUrlResponseDetails')
53
+ ImportAssetsFromS3RequestDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3RequestDetails')
54
+ ImportAssetsFromS3ResponseDetails = Shapes::StructureShape.new(name: 'ImportAssetsFromS3ResponseDetails')
55
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
56
+ JobEntry = Shapes::StructureShape.new(name: 'JobEntry')
57
+ JobError = Shapes::StructureShape.new(name: 'JobError')
58
+ JobErrorLimitName = Shapes::StringShape.new(name: 'JobErrorLimitName')
59
+ JobErrorResourceTypes = Shapes::StringShape.new(name: 'JobErrorResourceTypes')
60
+ LimitName = Shapes::StringShape.new(name: 'LimitName')
61
+ ListDataSetRevisionsRequest = Shapes::StructureShape.new(name: 'ListDataSetRevisionsRequest')
62
+ ListDataSetRevisionsResponse = Shapes::StructureShape.new(name: 'ListDataSetRevisionsResponse')
63
+ ListDataSetsRequest = Shapes::StructureShape.new(name: 'ListDataSetsRequest')
64
+ ListDataSetsResponse = Shapes::StructureShape.new(name: 'ListDataSetsResponse')
65
+ ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
66
+ ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
67
+ ListOfAssetDestinationEntry = Shapes::ListShape.new(name: 'ListOfAssetDestinationEntry')
68
+ ListOfAssetEntry = Shapes::ListShape.new(name: 'ListOfAssetEntry')
69
+ ListOfAssetSourceEntry = Shapes::ListShape.new(name: 'ListOfAssetSourceEntry')
70
+ ListOfDataSetEntry = Shapes::ListShape.new(name: 'ListOfDataSetEntry')
71
+ ListOfJobEntry = Shapes::ListShape.new(name: 'ListOfJobEntry')
72
+ ListOfJobError = Shapes::ListShape.new(name: 'ListOfJobError')
73
+ ListOfRevisionEntry = Shapes::ListShape.new(name: 'ListOfRevisionEntry')
74
+ ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
75
+ ListRevisionAssetsRequest = Shapes::StructureShape.new(name: 'ListRevisionAssetsRequest')
76
+ ListRevisionAssetsResponse = Shapes::StructureShape.new(name: 'ListRevisionAssetsResponse')
77
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
78
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
79
+ MapOf__string = Shapes::MapShape.new(name: 'MapOf__string')
80
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
81
+ Name = Shapes::StringShape.new(name: 'Name')
82
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
83
+ Origin = Shapes::StringShape.new(name: 'Origin')
84
+ OriginDetails = Shapes::StructureShape.new(name: 'OriginDetails')
85
+ RequestDetails = Shapes::StructureShape.new(name: 'RequestDetails')
86
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
87
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
88
+ ResponseDetails = Shapes::StructureShape.new(name: 'ResponseDetails')
89
+ RevisionEntry = Shapes::StructureShape.new(name: 'RevisionEntry')
90
+ S3SnapshotAsset = Shapes::StructureShape.new(name: 'S3SnapshotAsset')
91
+ ServiceLimitExceededException = Shapes::StructureShape.new(name: 'ServiceLimitExceededException')
92
+ StartJobRequest = Shapes::StructureShape.new(name: 'StartJobRequest')
93
+ StartJobResponse = Shapes::StructureShape.new(name: 'StartJobResponse')
94
+ State = Shapes::StringShape.new(name: 'State')
95
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
96
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
97
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
98
+ Type = Shapes::StringShape.new(name: 'Type')
99
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
100
+ UpdateAssetRequest = Shapes::StructureShape.new(name: 'UpdateAssetRequest')
101
+ UpdateAssetResponse = Shapes::StructureShape.new(name: 'UpdateAssetResponse')
102
+ UpdateDataSetRequest = Shapes::StructureShape.new(name: 'UpdateDataSetRequest')
103
+ UpdateDataSetResponse = Shapes::StructureShape.new(name: 'UpdateDataSetResponse')
104
+ UpdateRevisionRequest = Shapes::StructureShape.new(name: 'UpdateRevisionRequest')
105
+ UpdateRevisionResponse = Shapes::StructureShape.new(name: 'UpdateRevisionResponse')
106
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
107
+ __boolean = Shapes::BooleanShape.new(name: '__boolean')
108
+ __double = Shapes::FloatShape.new(name: '__double')
109
+ __doubleMin0 = Shapes::FloatShape.new(name: '__doubleMin0')
110
+ __string = Shapes::StringShape.new(name: '__string')
111
+ __stringMin0Max16384 = Shapes::StringShape.new(name: '__stringMin0Max16384')
112
+ __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093 = Shapes::StringShape.new(name: '__stringMin24Max24PatternAZaZ094AZaZ092AZaZ093')
113
+
114
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
115
+ AccessDeniedException.struct_class = Types::AccessDeniedException
116
+
117
+ AssetDestinationEntry.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
118
+ AssetDestinationEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
119
+ AssetDestinationEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "Key"))
120
+ AssetDestinationEntry.struct_class = Types::AssetDestinationEntry
121
+
122
+ AssetDetails.add_member(:s3_snapshot_asset, Shapes::ShapeRef.new(shape: S3SnapshotAsset, location_name: "S3SnapshotAsset"))
123
+ AssetDetails.struct_class = Types::AssetDetails
124
+
125
+ AssetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
126
+ AssetEntry.add_member(:asset_details, Shapes::ShapeRef.new(shape: AssetDetails, required: true, location_name: "AssetDetails"))
127
+ AssetEntry.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
128
+ AssetEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
129
+ AssetEntry.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
130
+ AssetEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
131
+ AssetEntry.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "Name"))
132
+ AssetEntry.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
133
+ AssetEntry.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
134
+ AssetEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
135
+ AssetEntry.struct_class = Types::AssetEntry
136
+
137
+ AssetSourceEntry.add_member(:bucket, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Bucket"))
138
+ AssetSourceEntry.add_member(:key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Key"))
139
+ AssetSourceEntry.struct_class = Types::AssetSourceEntry
140
+
141
+ CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
142
+ CancelJobRequest.struct_class = Types::CancelJobRequest
143
+
144
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
145
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "ResourceId"))
146
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
147
+ ConflictException.struct_class = Types::ConflictException
148
+
149
+ CreateDataSetRequest.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
150
+ CreateDataSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "Description"))
151
+ CreateDataSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
152
+ CreateDataSetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
153
+ CreateDataSetRequest.struct_class = Types::CreateDataSetRequest
154
+
155
+ CreateDataSetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
156
+ CreateDataSetResponse.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
157
+ CreateDataSetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
158
+ CreateDataSetResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
159
+ CreateDataSetResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
160
+ CreateDataSetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
161
+ CreateDataSetResponse.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, location_name: "Origin"))
162
+ CreateDataSetResponse.add_member(:origin_details, Shapes::ShapeRef.new(shape: OriginDetails, location_name: "OriginDetails"))
163
+ CreateDataSetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
164
+ CreateDataSetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
165
+ CreateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
166
+ CreateDataSetResponse.struct_class = Types::CreateDataSetResponse
167
+
168
+ CreateJobRequest.add_member(:details, Shapes::ShapeRef.new(shape: RequestDetails, required: true, location_name: "Details"))
169
+ CreateJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
170
+ CreateJobRequest.struct_class = Types::CreateJobRequest
171
+
172
+ CreateJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
173
+ CreateJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
174
+ CreateJobResponse.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, location_name: "Details"))
175
+ CreateJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
176
+ CreateJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
177
+ CreateJobResponse.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
178
+ CreateJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
179
+ CreateJobResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
180
+ CreateJobResponse.struct_class = Types::CreateJobResponse
181
+
182
+ CreateRevisionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
183
+ CreateRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
184
+ CreateRevisionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
185
+ CreateRevisionRequest.struct_class = Types::CreateRevisionRequest
186
+
187
+ CreateRevisionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
188
+ CreateRevisionResponse.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
189
+ CreateRevisionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
190
+ CreateRevisionResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
191
+ CreateRevisionResponse.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
192
+ CreateRevisionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
193
+ CreateRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
194
+ CreateRevisionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
195
+ CreateRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
196
+ CreateRevisionResponse.struct_class = Types::CreateRevisionResponse
197
+
198
+ DataSetEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
199
+ DataSetEntry.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, required: true, location_name: "AssetType"))
200
+ DataSetEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
201
+ DataSetEntry.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "Description"))
202
+ DataSetEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
203
+ DataSetEntry.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
204
+ DataSetEntry.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, required: true, location_name: "Origin"))
205
+ DataSetEntry.add_member(:origin_details, Shapes::ShapeRef.new(shape: OriginDetails, location_name: "OriginDetails"))
206
+ DataSetEntry.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
207
+ DataSetEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
208
+ DataSetEntry.struct_class = Types::DataSetEntry
209
+
210
+ DeleteAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
211
+ DeleteAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
212
+ DeleteAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
213
+ DeleteAssetRequest.struct_class = Types::DeleteAssetRequest
214
+
215
+ DeleteDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
216
+ DeleteDataSetRequest.struct_class = Types::DeleteDataSetRequest
217
+
218
+ DeleteRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
219
+ DeleteRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
220
+ DeleteRevisionRequest.struct_class = Types::DeleteRevisionRequest
221
+
222
+ Details.add_member(:import_asset_from_signed_url_job_error_details, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlJobErrorDetails, location_name: "ImportAssetFromSignedUrlJobErrorDetails"))
223
+ Details.add_member(:import_assets_from_s3_job_error_details, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, location_name: "ImportAssetsFromS3JobErrorDetails"))
224
+ Details.struct_class = Types::Details
225
+
226
+ ExportAssetToSignedUrlRequestDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
227
+ ExportAssetToSignedUrlRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
228
+ ExportAssetToSignedUrlRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
229
+ ExportAssetToSignedUrlRequestDetails.struct_class = Types::ExportAssetToSignedUrlRequestDetails
230
+
231
+ ExportAssetToSignedUrlResponseDetails.add_member(:asset_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AssetId"))
232
+ ExportAssetToSignedUrlResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
233
+ ExportAssetToSignedUrlResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
234
+ ExportAssetToSignedUrlResponseDetails.add_member(:signed_url, Shapes::ShapeRef.new(shape: __string, location_name: "SignedUrl"))
235
+ ExportAssetToSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
236
+ ExportAssetToSignedUrlResponseDetails.struct_class = Types::ExportAssetToSignedUrlResponseDetails
237
+
238
+ ExportAssetsToS3RequestDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
239
+ ExportAssetsToS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
240
+ ExportAssetsToS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
241
+ ExportAssetsToS3RequestDetails.struct_class = Types::ExportAssetsToS3RequestDetails
242
+
243
+ ExportAssetsToS3ResponseDetails.add_member(:asset_destinations, Shapes::ShapeRef.new(shape: ListOfAssetDestinationEntry, required: true, location_name: "AssetDestinations"))
244
+ ExportAssetsToS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
245
+ ExportAssetsToS3ResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
246
+ ExportAssetsToS3ResponseDetails.struct_class = Types::ExportAssetsToS3ResponseDetails
247
+
248
+ GetAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
249
+ GetAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
250
+ GetAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
251
+ GetAssetRequest.struct_class = Types::GetAssetRequest
252
+
253
+ GetAssetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
254
+ GetAssetResponse.add_member(:asset_details, Shapes::ShapeRef.new(shape: AssetDetails, location_name: "AssetDetails"))
255
+ GetAssetResponse.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
256
+ GetAssetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
257
+ GetAssetResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
258
+ GetAssetResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
259
+ GetAssetResponse.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, location_name: "Name"))
260
+ GetAssetResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, location_name: "RevisionId"))
261
+ GetAssetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
262
+ GetAssetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
263
+ GetAssetResponse.struct_class = Types::GetAssetResponse
264
+
265
+ GetDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
266
+ GetDataSetRequest.struct_class = Types::GetDataSetRequest
267
+
268
+ GetDataSetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
269
+ GetDataSetResponse.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
270
+ GetDataSetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
271
+ GetDataSetResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
272
+ GetDataSetResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
273
+ GetDataSetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
274
+ GetDataSetResponse.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, location_name: "Origin"))
275
+ GetDataSetResponse.add_member(:origin_details, Shapes::ShapeRef.new(shape: OriginDetails, location_name: "OriginDetails"))
276
+ GetDataSetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
277
+ GetDataSetResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
278
+ GetDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
279
+ GetDataSetResponse.struct_class = Types::GetDataSetResponse
280
+
281
+ GetJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
282
+ GetJobRequest.struct_class = Types::GetJobRequest
283
+
284
+ GetJobResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
285
+ GetJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
286
+ GetJobResponse.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, location_name: "Details"))
287
+ GetJobResponse.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
288
+ GetJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
289
+ GetJobResponse.add_member(:state, Shapes::ShapeRef.new(shape: State, location_name: "State"))
290
+ GetJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
291
+ GetJobResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
292
+ GetJobResponse.struct_class = Types::GetJobResponse
293
+
294
+ GetRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
295
+ GetRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
296
+ GetRevisionRequest.struct_class = Types::GetRevisionRequest
297
+
298
+ GetRevisionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
299
+ GetRevisionResponse.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
300
+ GetRevisionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
301
+ GetRevisionResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
302
+ GetRevisionResponse.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
303
+ GetRevisionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
304
+ GetRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
305
+ GetRevisionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Tags"))
306
+ GetRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
307
+ GetRevisionResponse.struct_class = Types::GetRevisionResponse
308
+
309
+ ImportAssetFromSignedUrlJobErrorDetails.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "AssetName"))
310
+ ImportAssetFromSignedUrlJobErrorDetails.struct_class = Types::ImportAssetFromSignedUrlJobErrorDetails
311
+
312
+ ImportAssetFromSignedUrlRequestDetails.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "AssetName"))
313
+ ImportAssetFromSignedUrlRequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
314
+ ImportAssetFromSignedUrlRequestDetails.add_member(:md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, required: true, location_name: "Md5Hash"))
315
+ ImportAssetFromSignedUrlRequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
316
+ ImportAssetFromSignedUrlRequestDetails.struct_class = Types::ImportAssetFromSignedUrlRequestDetails
317
+
318
+ ImportAssetFromSignedUrlResponseDetails.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "AssetName"))
319
+ ImportAssetFromSignedUrlResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
320
+ ImportAssetFromSignedUrlResponseDetails.add_member(:md_5_hash, Shapes::ShapeRef.new(shape: __stringMin24Max24PatternAZaZ094AZaZ092AZaZ093, location_name: "Md5Hash"))
321
+ ImportAssetFromSignedUrlResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
322
+ ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url, Shapes::ShapeRef.new(shape: __string, location_name: "SignedUrl"))
323
+ ImportAssetFromSignedUrlResponseDetails.add_member(:signed_url_expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "SignedUrlExpiresAt"))
324
+ ImportAssetFromSignedUrlResponseDetails.struct_class = Types::ImportAssetFromSignedUrlResponseDetails
325
+
326
+ ImportAssetsFromS3RequestDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, required: true, location_name: "AssetSources"))
327
+ ImportAssetsFromS3RequestDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
328
+ ImportAssetsFromS3RequestDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
329
+ ImportAssetsFromS3RequestDetails.struct_class = Types::ImportAssetsFromS3RequestDetails
330
+
331
+ ImportAssetsFromS3ResponseDetails.add_member(:asset_sources, Shapes::ShapeRef.new(shape: ListOfAssetSourceEntry, required: true, location_name: "AssetSources"))
332
+ ImportAssetsFromS3ResponseDetails.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
333
+ ImportAssetsFromS3ResponseDetails.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "RevisionId"))
334
+ ImportAssetsFromS3ResponseDetails.struct_class = Types::ImportAssetsFromS3ResponseDetails
335
+
336
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
337
+ InternalServerException.struct_class = Types::InternalServerException
338
+
339
+ JobEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
340
+ JobEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
341
+ JobEntry.add_member(:details, Shapes::ShapeRef.new(shape: ResponseDetails, required: true, location_name: "Details"))
342
+ JobEntry.add_member(:errors, Shapes::ShapeRef.new(shape: ListOfJobError, location_name: "Errors"))
343
+ JobEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
344
+ JobEntry.add_member(:state, Shapes::ShapeRef.new(shape: State, required: true, location_name: "State"))
345
+ JobEntry.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
346
+ JobEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
347
+ JobEntry.struct_class = Types::JobEntry
348
+
349
+ JobError.add_member(:code, Shapes::ShapeRef.new(shape: Code, required: true, location_name: "Code"))
350
+ JobError.add_member(:details, Shapes::ShapeRef.new(shape: Details, location_name: "Details"))
351
+ JobError.add_member(:limit_name, Shapes::ShapeRef.new(shape: JobErrorLimitName, location_name: "LimitName"))
352
+ JobError.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
353
+ JobError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
354
+ JobError.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "ResourceId"))
355
+ JobError.add_member(:resource_type, Shapes::ShapeRef.new(shape: JobErrorResourceTypes, location_name: "ResourceType"))
356
+ JobError.struct_class = Types::JobError
357
+
358
+ ListDataSetRevisionsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
359
+ ListDataSetRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
360
+ ListDataSetRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
361
+ ListDataSetRevisionsRequest.struct_class = Types::ListDataSetRevisionsRequest
362
+
363
+ ListDataSetRevisionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
364
+ ListDataSetRevisionsResponse.add_member(:revisions, Shapes::ShapeRef.new(shape: ListOfRevisionEntry, location_name: "Revisions"))
365
+ ListDataSetRevisionsResponse.struct_class = Types::ListDataSetRevisionsResponse
366
+
367
+ ListDataSetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
368
+ ListDataSetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
369
+ ListDataSetsRequest.add_member(:origin, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "origin"))
370
+ ListDataSetsRequest.struct_class = Types::ListDataSetsRequest
371
+
372
+ ListDataSetsResponse.add_member(:data_sets, Shapes::ShapeRef.new(shape: ListOfDataSetEntry, location_name: "DataSets"))
373
+ ListDataSetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
374
+ ListDataSetsResponse.struct_class = Types::ListDataSetsResponse
375
+
376
+ ListJobsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "dataSetId"))
377
+ ListJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
378
+ ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
379
+ ListJobsRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "revisionId"))
380
+ ListJobsRequest.struct_class = Types::ListJobsRequest
381
+
382
+ ListJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: ListOfJobEntry, location_name: "Jobs"))
383
+ ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
384
+ ListJobsResponse.struct_class = Types::ListJobsResponse
385
+
386
+ ListOfAssetDestinationEntry.member = Shapes::ShapeRef.new(shape: AssetDestinationEntry)
387
+
388
+ ListOfAssetEntry.member = Shapes::ShapeRef.new(shape: AssetEntry)
389
+
390
+ ListOfAssetSourceEntry.member = Shapes::ShapeRef.new(shape: AssetSourceEntry)
391
+
392
+ ListOfDataSetEntry.member = Shapes::ShapeRef.new(shape: DataSetEntry)
393
+
394
+ ListOfJobEntry.member = Shapes::ShapeRef.new(shape: JobEntry)
395
+
396
+ ListOfJobError.member = Shapes::ShapeRef.new(shape: JobError)
397
+
398
+ ListOfRevisionEntry.member = Shapes::ShapeRef.new(shape: RevisionEntry)
399
+
400
+ ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
401
+
402
+ ListRevisionAssetsRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
403
+ ListRevisionAssetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
404
+ ListRevisionAssetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
405
+ ListRevisionAssetsRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
406
+ ListRevisionAssetsRequest.struct_class = Types::ListRevisionAssetsRequest
407
+
408
+ ListRevisionAssetsResponse.add_member(:assets, Shapes::ShapeRef.new(shape: ListOfAssetEntry, location_name: "Assets"))
409
+ ListRevisionAssetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
410
+ ListRevisionAssetsResponse.struct_class = Types::ListRevisionAssetsResponse
411
+
412
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
413
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
414
+
415
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
416
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
417
+
418
+ MapOf__string.key = Shapes::ShapeRef.new(shape: __string)
419
+ MapOf__string.value = Shapes::ShapeRef.new(shape: __string)
420
+
421
+ OriginDetails.add_member(:product_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ProductId"))
422
+ OriginDetails.struct_class = Types::OriginDetails
423
+
424
+ RequestDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlRequestDetails, location_name: "ExportAssetToSignedUrl"))
425
+ RequestDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3RequestDetails, location_name: "ExportAssetsToS3"))
426
+ RequestDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlRequestDetails, location_name: "ImportAssetFromSignedUrl"))
427
+ RequestDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3RequestDetails, location_name: "ImportAssetsFromS3"))
428
+ RequestDetails.struct_class = Types::RequestDetails
429
+
430
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
431
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "ResourceId"))
432
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
433
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
434
+
435
+ ResponseDetails.add_member(:export_asset_to_signed_url, Shapes::ShapeRef.new(shape: ExportAssetToSignedUrlResponseDetails, location_name: "ExportAssetToSignedUrl"))
436
+ ResponseDetails.add_member(:export_assets_to_s3, Shapes::ShapeRef.new(shape: ExportAssetsToS3ResponseDetails, location_name: "ExportAssetsToS3"))
437
+ ResponseDetails.add_member(:import_asset_from_signed_url, Shapes::ShapeRef.new(shape: ImportAssetFromSignedUrlResponseDetails, location_name: "ImportAssetFromSignedUrl"))
438
+ ResponseDetails.add_member(:import_assets_from_s3, Shapes::ShapeRef.new(shape: ImportAssetsFromS3ResponseDetails, location_name: "ImportAssetsFromS3"))
439
+ ResponseDetails.struct_class = Types::ResponseDetails
440
+
441
+ RevisionEntry.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn"))
442
+ RevisionEntry.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
443
+ RevisionEntry.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedAt"))
444
+ RevisionEntry.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DataSetId"))
445
+ RevisionEntry.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
446
+ RevisionEntry.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
447
+ RevisionEntry.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
448
+ RevisionEntry.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdatedAt"))
449
+ RevisionEntry.struct_class = Types::RevisionEntry
450
+
451
+ S3SnapshotAsset.add_member(:size, Shapes::ShapeRef.new(shape: __doubleMin0, required: true, location_name: "Size"))
452
+ S3SnapshotAsset.struct_class = Types::S3SnapshotAsset
453
+
454
+ ServiceLimitExceededException.add_member(:limit_name, Shapes::ShapeRef.new(shape: LimitName, location_name: "LimitName"))
455
+ ServiceLimitExceededException.add_member(:limit_value, Shapes::ShapeRef.new(shape: __double, location_name: "LimitValue"))
456
+ ServiceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
457
+ ServiceLimitExceededException.struct_class = Types::ServiceLimitExceededException
458
+
459
+ StartJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "JobId"))
460
+ StartJobRequest.struct_class = Types::StartJobRequest
461
+
462
+ StartJobResponse.struct_class = Types::StartJobResponse
463
+
464
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
465
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
466
+ TagResourceRequest.struct_class = Types::TagResourceRequest
467
+
468
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
469
+ ThrottlingException.struct_class = Types::ThrottlingException
470
+
471
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
472
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location: "querystring", location_name: "tagKeys"))
473
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
474
+
475
+ UpdateAssetRequest.add_member(:asset_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "AssetId"))
476
+ UpdateAssetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
477
+ UpdateAssetRequest.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "Name"))
478
+ UpdateAssetRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
479
+ UpdateAssetRequest.struct_class = Types::UpdateAssetRequest
480
+
481
+ UpdateAssetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
482
+ UpdateAssetResponse.add_member(:asset_details, Shapes::ShapeRef.new(shape: AssetDetails, location_name: "AssetDetails"))
483
+ UpdateAssetResponse.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
484
+ UpdateAssetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
485
+ UpdateAssetResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
486
+ UpdateAssetResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
487
+ UpdateAssetResponse.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, location_name: "Name"))
488
+ UpdateAssetResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: Id, location_name: "RevisionId"))
489
+ UpdateAssetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
490
+ UpdateAssetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
491
+ UpdateAssetResponse.struct_class = Types::UpdateAssetResponse
492
+
493
+ UpdateDataSetRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
494
+ UpdateDataSetRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
495
+ UpdateDataSetRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
496
+ UpdateDataSetRequest.struct_class = Types::UpdateDataSetRequest
497
+
498
+ UpdateDataSetResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
499
+ UpdateDataSetResponse.add_member(:asset_type, Shapes::ShapeRef.new(shape: AssetType, location_name: "AssetType"))
500
+ UpdateDataSetResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
501
+ UpdateDataSetResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
502
+ UpdateDataSetResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
503
+ UpdateDataSetResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
504
+ UpdateDataSetResponse.add_member(:origin, Shapes::ShapeRef.new(shape: Origin, location_name: "Origin"))
505
+ UpdateDataSetResponse.add_member(:origin_details, Shapes::ShapeRef.new(shape: OriginDetails, location_name: "OriginDetails"))
506
+ UpdateDataSetResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
507
+ UpdateDataSetResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
508
+ UpdateDataSetResponse.struct_class = Types::UpdateDataSetResponse
509
+
510
+ UpdateRevisionRequest.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
511
+ UpdateRevisionRequest.add_member(:data_set_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "DataSetId"))
512
+ UpdateRevisionRequest.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
513
+ UpdateRevisionRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RevisionId"))
514
+ UpdateRevisionRequest.struct_class = Types::UpdateRevisionRequest
515
+
516
+ UpdateRevisionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "Arn"))
517
+ UpdateRevisionResponse.add_member(:comment, Shapes::ShapeRef.new(shape: __stringMin0Max16384, location_name: "Comment"))
518
+ UpdateRevisionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
519
+ UpdateRevisionResponse.add_member(:data_set_id, Shapes::ShapeRef.new(shape: Id, location_name: "DataSetId"))
520
+ UpdateRevisionResponse.add_member(:finalized, Shapes::ShapeRef.new(shape: __boolean, location_name: "Finalized"))
521
+ UpdateRevisionResponse.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
522
+ UpdateRevisionResponse.add_member(:source_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourceId"))
523
+ UpdateRevisionResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
524
+ UpdateRevisionResponse.struct_class = Types::UpdateRevisionResponse
525
+
526
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Message"))
527
+ ValidationException.struct_class = Types::ValidationException
528
+
529
+
530
+ # @api private
531
+ API = Seahorse::Model::Api.new.tap do |api|
532
+
533
+ api.version = "2017-07-25"
534
+
535
+ api.metadata = {
536
+ "apiVersion" => "2017-07-25",
537
+ "endpointPrefix" => "dataexchange",
538
+ "jsonVersion" => "1.1",
539
+ "protocol" => "rest-json",
540
+ "serviceFullName" => "AWS Data Exchange",
541
+ "serviceId" => "DataExchange",
542
+ "signatureVersion" => "v4",
543
+ "signingName" => "dataexchange",
544
+ "uid" => "dataexchange-2017-07-25",
545
+ }
546
+
547
+ api.add_operation(:cancel_job, Seahorse::Model::Operation.new.tap do |o|
548
+ o.name = "CancelJob"
549
+ o.http_method = "DELETE"
550
+ o.http_request_uri = "/v1/jobs/{JobId}"
551
+ o.input = Shapes::ShapeRef.new(shape: CancelJobRequest)
552
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
553
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
554
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
555
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
556
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
558
+ end)
559
+
560
+ api.add_operation(:create_data_set, Seahorse::Model::Operation.new.tap do |o|
561
+ o.name = "CreateDataSet"
562
+ o.http_method = "POST"
563
+ o.http_request_uri = "/v1/data-sets"
564
+ o.input = Shapes::ShapeRef.new(shape: CreateDataSetRequest)
565
+ o.output = Shapes::ShapeRef.new(shape: CreateDataSetResponse)
566
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
567
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
568
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException)
570
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
571
+ end)
572
+
573
+ api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
574
+ o.name = "CreateJob"
575
+ o.http_method = "POST"
576
+ o.http_request_uri = "/v1/jobs"
577
+ o.input = Shapes::ShapeRef.new(shape: CreateJobRequest)
578
+ o.output = Shapes::ShapeRef.new(shape: CreateJobResponse)
579
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
580
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
582
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
584
+ end)
585
+
586
+ api.add_operation(:create_revision, Seahorse::Model::Operation.new.tap do |o|
587
+ o.name = "CreateRevision"
588
+ o.http_method = "POST"
589
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions"
590
+ o.input = Shapes::ShapeRef.new(shape: CreateRevisionRequest)
591
+ o.output = Shapes::ShapeRef.new(shape: CreateRevisionResponse)
592
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
593
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
594
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
595
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
596
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
597
+ end)
598
+
599
+ api.add_operation(:delete_asset, Seahorse::Model::Operation.new.tap do |o|
600
+ o.name = "DeleteAsset"
601
+ o.http_method = "DELETE"
602
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}"
603
+ o.input = Shapes::ShapeRef.new(shape: DeleteAssetRequest)
604
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
605
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
607
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
608
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
611
+ end)
612
+
613
+ api.add_operation(:delete_data_set, Seahorse::Model::Operation.new.tap do |o|
614
+ o.name = "DeleteDataSet"
615
+ o.http_method = "DELETE"
616
+ o.http_request_uri = "/v1/data-sets/{DataSetId}"
617
+ o.input = Shapes::ShapeRef.new(shape: DeleteDataSetRequest)
618
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
619
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
620
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
621
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
622
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
623
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
625
+ end)
626
+
627
+ api.add_operation(:delete_revision, Seahorse::Model::Operation.new.tap do |o|
628
+ o.name = "DeleteRevision"
629
+ o.http_method = "DELETE"
630
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}"
631
+ o.input = Shapes::ShapeRef.new(shape: DeleteRevisionRequest)
632
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
633
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
634
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
635
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
637
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
638
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
639
+ end)
640
+
641
+ api.add_operation(:get_asset, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "GetAsset"
643
+ o.http_method = "GET"
644
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}"
645
+ o.input = Shapes::ShapeRef.new(shape: GetAssetRequest)
646
+ o.output = Shapes::ShapeRef.new(shape: GetAssetResponse)
647
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
650
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
651
+ end)
652
+
653
+ api.add_operation(:get_data_set, Seahorse::Model::Operation.new.tap do |o|
654
+ o.name = "GetDataSet"
655
+ o.http_method = "GET"
656
+ o.http_request_uri = "/v1/data-sets/{DataSetId}"
657
+ o.input = Shapes::ShapeRef.new(shape: GetDataSetRequest)
658
+ o.output = Shapes::ShapeRef.new(shape: GetDataSetResponse)
659
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
660
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
661
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
662
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
663
+ end)
664
+
665
+ api.add_operation(:get_job, Seahorse::Model::Operation.new.tap do |o|
666
+ o.name = "GetJob"
667
+ o.http_method = "GET"
668
+ o.http_request_uri = "/v1/jobs/{JobId}"
669
+ o.input = Shapes::ShapeRef.new(shape: GetJobRequest)
670
+ o.output = Shapes::ShapeRef.new(shape: GetJobResponse)
671
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
674
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
675
+ end)
676
+
677
+ api.add_operation(:get_revision, Seahorse::Model::Operation.new.tap do |o|
678
+ o.name = "GetRevision"
679
+ o.http_method = "GET"
680
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}"
681
+ o.input = Shapes::ShapeRef.new(shape: GetRevisionRequest)
682
+ o.output = Shapes::ShapeRef.new(shape: GetRevisionResponse)
683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
686
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
687
+ end)
688
+
689
+ api.add_operation(:list_data_set_revisions, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "ListDataSetRevisions"
691
+ o.http_method = "GET"
692
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions"
693
+ o.input = Shapes::ShapeRef.new(shape: ListDataSetRevisionsRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: ListDataSetRevisionsResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
698
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
699
+ o[:pager] = Aws::Pager.new(
700
+ limit_key: "max_results",
701
+ tokens: {
702
+ "next_token" => "next_token"
703
+ }
704
+ )
705
+ end)
706
+
707
+ api.add_operation(:list_data_sets, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "ListDataSets"
709
+ o.http_method = "GET"
710
+ o.http_request_uri = "/v1/data-sets"
711
+ o.input = Shapes::ShapeRef.new(shape: ListDataSetsRequest)
712
+ o.output = Shapes::ShapeRef.new(shape: ListDataSetsResponse)
713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
717
+ o[:pager] = Aws::Pager.new(
718
+ limit_key: "max_results",
719
+ tokens: {
720
+ "next_token" => "next_token"
721
+ }
722
+ )
723
+ end)
724
+
725
+ api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
726
+ o.name = "ListJobs"
727
+ o.http_method = "GET"
728
+ o.http_request_uri = "/v1/jobs"
729
+ o.input = Shapes::ShapeRef.new(shape: ListJobsRequest)
730
+ o.output = Shapes::ShapeRef.new(shape: ListJobsResponse)
731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
734
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
735
+ o[:pager] = Aws::Pager.new(
736
+ limit_key: "max_results",
737
+ tokens: {
738
+ "next_token" => "next_token"
739
+ }
740
+ )
741
+ end)
742
+
743
+ api.add_operation(:list_revision_assets, Seahorse::Model::Operation.new.tap do |o|
744
+ o.name = "ListRevisionAssets"
745
+ o.http_method = "GET"
746
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets"
747
+ o.input = Shapes::ShapeRef.new(shape: ListRevisionAssetsRequest)
748
+ o.output = Shapes::ShapeRef.new(shape: ListRevisionAssetsResponse)
749
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
750
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
751
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
752
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
753
+ o[:pager] = Aws::Pager.new(
754
+ limit_key: "max_results",
755
+ tokens: {
756
+ "next_token" => "next_token"
757
+ }
758
+ )
759
+ end)
760
+
761
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
762
+ o.name = "ListTagsForResource"
763
+ o.http_method = "GET"
764
+ o.http_request_uri = "/tags/{resource-arn}"
765
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
766
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
767
+ end)
768
+
769
+ api.add_operation(:start_job, Seahorse::Model::Operation.new.tap do |o|
770
+ o.name = "StartJob"
771
+ o.http_method = "PATCH"
772
+ o.http_request_uri = "/v1/jobs/{JobId}"
773
+ o.input = Shapes::ShapeRef.new(shape: StartJobRequest)
774
+ o.output = Shapes::ShapeRef.new(shape: StartJobResponse)
775
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
776
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
777
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
780
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
781
+ end)
782
+
783
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
784
+ o.name = "TagResource"
785
+ o.http_method = "POST"
786
+ o.http_request_uri = "/tags/{resource-arn}"
787
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
788
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
789
+ end)
790
+
791
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
792
+ o.name = "UntagResource"
793
+ o.http_method = "DELETE"
794
+ o.http_request_uri = "/tags/{resource-arn}"
795
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
796
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
797
+ end)
798
+
799
+ api.add_operation(:update_asset, Seahorse::Model::Operation.new.tap do |o|
800
+ o.name = "UpdateAsset"
801
+ o.http_method = "PATCH"
802
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}"
803
+ o.input = Shapes::ShapeRef.new(shape: UpdateAssetRequest)
804
+ o.output = Shapes::ShapeRef.new(shape: UpdateAssetResponse)
805
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
806
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
807
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
808
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
811
+ end)
812
+
813
+ api.add_operation(:update_data_set, Seahorse::Model::Operation.new.tap do |o|
814
+ o.name = "UpdateDataSet"
815
+ o.http_method = "PATCH"
816
+ o.http_request_uri = "/v1/data-sets/{DataSetId}"
817
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataSetRequest)
818
+ o.output = Shapes::ShapeRef.new(shape: UpdateDataSetResponse)
819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
821
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
822
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
823
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
824
+ end)
825
+
826
+ api.add_operation(:update_revision, Seahorse::Model::Operation.new.tap do |o|
827
+ o.name = "UpdateRevision"
828
+ o.http_method = "PATCH"
829
+ o.http_request_uri = "/v1/data-sets/{DataSetId}/revisions/{RevisionId}"
830
+ o.input = Shapes::ShapeRef.new(shape: UpdateRevisionRequest)
831
+ o.output = Shapes::ShapeRef.new(shape: UpdateRevisionResponse)
832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
833
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
834
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
835
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
836
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
837
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
838
+ end)
839
+
840
+ api.add_authorizer(:create_job_authorizer, Seahorse::Model::Authorizer.new.tap do |a|
841
+ a.name = "create_job_authorizer"
842
+ a.type = "provided"
843
+ a.placement = {
844
+ :location => "header",
845
+ :name => "Authorization"
846
+ }
847
+ end)
848
+
849
+ api.add_authorizer(:start_cancel_get_job_authorizer, Seahorse::Model::Authorizer.new.tap do |a|
850
+ a.name = "start_cancel_get_job_authorizer"
851
+ a.type = "provided"
852
+ a.placement = {
853
+ :location => "header",
854
+ :name => "Authorization"
855
+ }
856
+ end)
857
+ end
858
+
859
+ end
860
+ end